if(!_.stock){_.stock=1;(function($){var K_=function(a,b){return $.xk(iia,a,b||"line")},L_=function(a,b){return $.xk(jia,a,b||"sma")},kia=function(a){a=String(a).toLowerCase();switch(a){case "first":case "open":return"first";case "last":case "close":return"last";case "max":case "high":case "maximum":case "highest":return"max";case "min":case "low":case "minimum":case "lowest":return"min";case "average":case "avg":return"average";case "weightedaverage":case "weightedavg":case "wavg":case "weights":case "weighted":return"weighted-average";
case "firstvalue":case "firstval":case "openvalue":case "openval":return"first-value";case "lastvalue":case "lastval":case "closevalue":case "closeval":case "fill":case "hoverfill":case "risingfill":case "hoverrisingfill":case "fallingfill":case "hoverfallingfill":case "stroke":case "hoverstroke":case "lowstroke":case "hoverlowstroke":case "highstroke":case "hoverhighstroke":case "risingstroke":case "hoverrisingstroke":case "fallingstroke":case "hoverfallingstroke":case "hatchfill":case "hoverhatchfill":case "risinghatchfill":case "hoverrisinghatchfill":case "fallinghatchfill":case "hoverfallinghatchfill":case "marker":case "hovermarker":return"last-value";
case "sum":case "add":return"sum";case "list":case "group":case "array":return"list";default:return"last"}},M_=function(a,b,c){var d;if($.ea(a))for(c=c?{}:[],d=0;d<a;d++)c[d]=b;else for(d in c={},a)c[d]=b;return c},N_=function(a){a=Math.floor(a);var b=1;if(a){for(var c=0;c<$.lp.length;c++){var d=$.lp[c];var e=a/d.qe;if(1<=Math.floor(1.1*e)){var f=f||d;if(.15>e-Math.floor(e)){b=Math.floor(e);break}}}f!=d&&f.Kr&&100<b&&(d=f,b=Math.round(20*a/d.qe)/20)}return{unit:d?d.ng:"millisecond",count:b}},O_=function(a,
b){switch(a){case "log":return $.Us();case "linear":return $.Ts();case "date-time":return $.Vs();default:return b?null:$.Ts()}},P_=function(a){$.L(a,this.dC,this);a.ib(this)},Q_=function(a,b){this.D=$.Tk(a);this.b=b||1;this.f=new Date(0);switch(this.D){case "year":this.j=315576E5*this.b;this.g=this.p9;this.next=this.fga;break;case "semester":this.j=315576E5*this.b/2;this.g=this.m9;this.next=this.cga;break;case "quarter":this.j=315576E5*this.b/4;this.g=this.k9;this.next=this.aga;break;case "month":this.j=
315576E5*this.b/12;this.g=this.SP;this.next=this.$fa;break;case "third-of-month":this.j=315576E5*this.b/36;this.g=this.n9;this.next=this.dga;break;case "week":this.j=6048E5*this.b;this.g=this.o9;this.next=this.ega;break;default:this.j=864E5*this.b;this.g=this.g9;this.next=this.Ufa;break;case "hour":this.j=36E5*this.b;this.g=this.h9;this.next=this.Wfa;break;case "minute":this.j=6E4*this.b;this.g=this.j9;this.next=this.Zfa;break;case "second":this.j=1E3*this.b;this.g=this.l9;this.next=this.bga;break;
case "millisecond":this.j=this.b,this.g=this.i9,this.next=this.Yfa}},R_=function(a,b,c){a.f.setTime($.Ho(a.f.getTime(),b,c?c.getTime():Date.UTC(2E3,0))-b)},lia=function(a){var b=a.getUTCDate();return 3*(12*a.getUTCFullYear()+a.getUTCMonth())+(10>=b?0:20>=b?1:2)},mia=function(a,b){var c=a.cj()-b.cj();return c?c:b.b-a.b},S_=function(){$.Yq.call(this);this.Fa("defaultGroupingSettings");this.j=!0;this.D=!1;this.b=[];this.f=500;this.g=window.NaN;this.G={unit:"millisecond",count:1};this.N=!1},oia=function(a){for(var b=
[],c=0;c<a.b.length;c++)b.push(nia(a.b[c]));return b},nia=function(a){return{unit:a.D,count:a.b}},T_=function(a,b){this.key=a;this.values=b;this.b=this.next=null;this.g=!1;this.j=pia++},U_=function(a,b){return a.key==b.key?a.j-b.j:a.key-b.key},V_=function(a){return this-a.key},qia=function(a){return this-a.key},W_=function(a,b,c,d,e){this.Zc=a;this.ga=d;this.N=new T_((0,window.isNaN)(b.au)?-1:b.au,[]);this.N.next=b.uS;this.U=b.gI;this.ka=b.lastIndex-b.Ei+1||0;this.ba=(this.g=e||null)?this.Iba:this.d9;
this.ya=this.g?this.nda:this.uda;this.ki=c;this.reset()},X_=function(){this.f=[];this.g=!0;this.b=[];this.O=!0;this.D=[];this.j=0;this.N=[];this.G=0},ria=function(a,b){return a.b.length?1<a.b.length?a.hi($.Za(Math.round(a.zf(b)),0,a.b.length-1)):a.b[0].key:window.NaN},Z_=function(a,b,c){c=Math.max(0,Math.floor(c));var d=a.b.length>c?a.b[c]:null;b=Math.max(0,Math.ceil(b));return new Y_(b,a.b.length>b?a.b[b]:null,d,Math.min(c,a.b.length-1)-Math.min(b,a.b.length))},$_=function(a){return a.b.length?a.b.length-
1:window.NaN},tia=function(a,b,c){var d,e,f,h,k=a.b.length,l={};if(k){for(h=0;h<a.N.length;h++){var m=a.N[(a.G-h-1+4)%4];if(m.yh==b&&m.Di==c)return m}var p=a.zf(b);var q=a.zf(c);m=Math.max(0,Math.ceil(p));if((0,window.isNaN)(m)||m>=k){var r=k-1;m=d=e=f=window.NaN}else if(d=Math.min(Math.floor(q),k-1),(0,window.isNaN)(d)||0>d)e=0,m=d=r=f=window.NaN;else if(m<=d){r=0<m?m-1:window.NaN;e=d<k-1?d+1:window.NaN;f=window.Infinity;h=(0,window.isNaN)(r)?m:r;for(var t=(0,window.isNaN)(e)?d:e,u=a.b[h];h<t;h++){var v=
u;u=v.next;f=Math.min(f,u.key-v.key)}(0,window.isFinite)(f)||(f=window.NaN)}else r=d,e=m,m=d=window.NaN,f=a.b[r],f=f.next.key-f.key;t=sia(a);u=$.Za(b,t[2],t[3]);v=$.Za(c,t[2],t[3]);h=a.zf(u);for(var w=a.zf(v),x,y;h<=w;h++)h<m?(x=$.Za(a.b[m].key,t[0],t[1]),y=$.Za(u,t[0],t[1]),h=m):h&&a.b[h]?(x=a.b[h].key,y=a.b[h-1].key):x=y=window.NaN,x-=y,(0,window.isNaN)(x)||0==x||(y=N_(x),l[y.unit]?(y=l[y.unit],y.count++,y.qe+=x):l[y.unit]={count:1,qe:x,ng:y.unit});w>d&&(x=$.Za(v,t[0],t[1]),y=$.Za(a.b[d].key,t[0],
t[1]),x-=y,(0,window.isNaN)(x)||0==x||(y=N_(x),l[y.unit]?(y=l[y.unit],y.count++,y.qe+=x):l[y.unit]={count:1,qe:x,ng:y.ng}))}else m=d=r=e=p=q=f=window.NaN;m={Im:l,yh:b,Di:c,mg:p,wj:q,Ei:m,au:r,lastIndex:d,uy:e,OH:f};k&&(a.N[a.G]=m,a.G=(a.G+1)%4);return m},sia=function(a){var b=a.b.length;if(b){var c=a.b[0].key;if(1==b)a=[c-1,c+1,c-1,c+1];else{var d=a.b[b-1].key;a=[c,d,c-(a.b[1].key-c)/2,d+(d-a.b[b-2].key)/2]}}else a=[window.NaN,window.NaN,window.NaN,window.NaN];return a},Y_=function(a,b,c,d){this.D=
{key:a-1,next:b};this.N=c?c.next:null;this.G=d;this.reset()},c0=function(a){this.Zc=a;this.f=a0(a.Wd());this.j=!0;this.b=uia(this.f);this.g=null;this.G=!1;this.D=[];b0(this)},b0=function(a){for(var b=a.g?a.g.g.b.length:a.f.Gb();a.D.length<b;)a.D.push({})},via=function(a,b){var c=a.f.qn(b);return c?new d0(c,a.Zc,!a.j,b,a.D[b]):null},wia=function(a,b,c,d){if(b>c){var e=b;b=c;c=e}e=a0(a.Zc.Wd(),d);if(a.G||e!=a.f||a.b.yh!=b||a.b.Di!=c)a.G=!1,a.f=e,a.j=!d,a.b=e.select(b,c),b0(a);return a},e0=function(a,
b,c){return b?(c=a.g?a.g.zf(b.key):c,new d0(b,a.Zc,!a.j,c,a.D[c]||{})):null},f0=function(a){return e0(a,a.b.sN,a.b.au)},g0=function(a){return e0(a,a.b.gI,a.b.uy)},xia=function(a,b){var c=a.b.Z1,d=a.b.lastIndex;if($.n(b))for(var e=a.j?h0(a.Zc,b):i0(a.Zc,b);c&&c!=a.b.sN&&(0,window.isNaN)(c.ej(e));)c=c.b,d--;c==a.b.sN&&(c=null);return e0(a,c,d)},yia=function(a,b,c){if("first-visible"==b){var d=a.b.uS,e=a.b.Ei;if($.n(c))for(c=a.j?h0(a.Zc,c):i0(a.Zc,c);d&&d!=a.b.gI&&(0,window.isNaN)(d.ej(c));)d=d.next,
e++;d==a.b.gI&&(d=null);a=e0(a,d,e)}else if("last-visible"==b)a=xia(a,c);else if("series-start"==b){e=a0(a.Zc.Wd());if($.n(c)){c=h0(a.Zc,c);b=0;for(var f=e.Gb();b<f&&(d=e.qn(b),(0,window.isNaN)(d.ej(c)));b++);}else d=e.qn(0);a=d?new d0(d,a.Zc,!1,0,null):null}else if("series-end"==b){d=a0(a.Zc.Wd());if($.n(c))for(c=h0(a.Zc,c),b=d.Gb();b--&&(e=d.qn(b),(0,window.isNaN)(e.ej(c))););else e=d.qn(d.Gb()-1);a=e?new d0(e,a.Zc,!1,0,null):null}else c=a0(a.Zc.Wd()),d=$.n(b)?j0(c,b,"exact"):0,a=(c=c.qn(d))?new d0(c,
a.Zc,!1,d,null):null;return a},k0=function(a,b){return a.j?h0(a.Zc,b):i0(a.Zc,b)},m0=function(a,b,c){return new W_(a.Zc,a.b,a.D,!a.j,b&&a.g?l0(a.g,!!c):null)},d0=function(a,b,c,d,e){this.hf=a;this.Zc=b;this.b=c;this.wd=d;this.ki=e},n0=function(){$.Yq.call(this);this.ga={};this.ka={};this.Ra={};this.U={};this.ya=this.g=this.f=new X_;this.O={};this.b={Im:{},yh:window.NaN,Di:window.NaN,mg:window.NaN,wj:window.NaN,Ei:window.NaN,au:window.NaN,lastIndex:window.NaN,uy:window.NaN,OH:window.NaN,oia:window.NaN,
Oca:window.NaN,nia:window.NaN,Nca:window.NaN};this.ba={Im:{},yh:window.NaN,Di:window.NaN,mg:window.NaN,wj:window.NaN,Ei:window.NaN,au:window.NaN,lastIndex:window.NaN,uy:window.NaN,OH:window.NaN,oia:window.NaN,Oca:window.NaN,nia:window.NaN,Nca:window.NaN};this.ab=this.D=this.j=this.nb=this.eb=window.NaN},o0=function(a,b,c){var d=$.oa(b).toFixed(0);c=c?a.ka:a.Ra;if(!(d in a.ga&&d in c)){a.ga[d]=b;c[d]=b;b.g=a;b=b.Uq().Wd();d=$.oa(b).toFixed(0);d in a.U||(a.U[d]=b,$.L(b,a.K4,a));a.f.g=!0;for(var e in a.O)a.O[e].g=
!0;a.B(16384,16)}},zia=function(a){if(a.J(16384)){p0(a);var b=sia(a.f);if(a.j!=b[2]||a.D!=b[3])return a.eb=b[0],a.nb=b[1],a.j=b[2],a.D=b[3],!0}return!1},Cia=function(a,b,c,d,e){zia(a);q0(a,e);q0(a,d);var f=a.j,h=a.D,k=a.J(16384);a.ab=b;b=0;var l=r0(a,f,h,s0(a),a.Ra,a.ya,a.ba,k);l&&(a.ya=l[0],a.ba=l[1],b+=2);l=a.N.Xn();Aia(e,a.ba.yh,a.ba.Di,l.unit,l.count,a.ba.Im);l=a.b.yh;var m=a.b.Di;!k||!(!c||(0,window.isNaN)(a.b.au)&&!(0,window.isNaN)(a.b.yh)||(0,window.isNaN)(a.b.uy)&&!(0,window.isNaN)(a.b.yh))||
(0,window.isNaN)(a.Ja)||(0,window.isNaN)(a.Ga)||(0,window.isNaN)(f)||(0,window.isNaN)(h)||(l=e.Fc(a.Ja),m=e.Fc(a.Ga));if((0,window.isNaN)(l)||(0,window.isNaN)(a.b.au)&&!(0,window.isNaN)(a.b.yh)&&!(0,window.isNaN)(f))l=f;if((0,window.isNaN)(m)||(0,window.isNaN)(a.b.uy)&&!(0,window.isNaN)(a.b.yh)&&!(0,window.isNaN)(h))m=h;if(!(0,window.isNaN)(l)){if(c=r0(a,l,m,a.G,a.ka,a.g,a.b,k))a.g=c[0],a.b=c[1],b+=1;Bia(a,d)}a.Ja=e.transform(a.b.yh);a.Ga=e.transform(a.b.Di);a.I(16384);return b},r0=function(a,b,c,
d,e,f,h,k){if(b>c){var l=b;b=c;c=l}1>c-b&&(c>a.j?b=c-1:c=b+1);h=b!=h.yh||c!=h.Di;var m=a.ab,p=c-b;l=tia(a.f,b,c);var q=l.lastIndex-l.Ei+1||0;l=l.OH;m=(0,window.isNaN)(d.f)?m/d.g:d.f;var r=-1;if(d.j&&0<d.b.length&&l&&(d.D||q>m)){q=0;for(r=d.b.length;q<r&&d.b[q].cj()<=l;)q++;p/=m;q=Math.max(q-1,0)||0;m=d.b.length;r=-1;for(var t=q;t<m;t++)if(d.b[t].cj()>=p){r=t;break}0>r&&q<m&&(r=m-1)}0>r?(p=null,d.G=l?N_(l):{unit:"millisecond",count:1}):(p=d.b[r],d.G=nia(p));d.N=!!p;d=p;var u;d?(l=d.D+d.b.toFixed(0),
l in a.O?u=a.O[l]:a.O[l]=u=new X_):u=a.f;a=t0(a,u,d)||k;if(h||u!=f||a){var v;f=tia(u,b,c);if(u.O)for(v in e){if(a=e[v],k=b,h=c,l=f.au,p=f.uy,q=d,m=a0(a.Zc.Wd(),q),a.G||m!=a.f||a.b.yh!=k||a.b.Di!=h)a.G=!1,a.f=m,a.j=!q,a.b=u0(m,k,h,l,p),b0(a)}else for(v in e)wia(e[v],b,c,d);return[u,f]}return null},l0=function(a,b,c,d){var e=b?a.ya:a.g;if(e.O&&!d)return null;if(c)return Z_(e,e.b.length?0:window.NaN,$_(e));a=b?a.ba:a.b;return Z_(e,a.Ei,a.lastIndex)},s0=function(a,b){a.N||(a.N=new S_,a.N.Fa("stock.scrollerGrouping"),
a.N.X(a.N.ma,!0),$.L(a.N,a.Y0,a));return $.n(b)?(a.N.K(b),a):a.N},t0=function(a,b,c){if(b.cr()){b.f.length=0;b.g=!0;for(var d in a.U){var e=a0(a.U[d],c);b.f.push(e)}b.update();return!0}return!1},p0=function(a){t0(a,a.f)},Bia=function(a,b){var c=a.tn().Xn();Aia(b,a.b.yh,a.b.Di,c.unit,c.count,a.b.Im)},q0=function(a,b){var c=a.D,d=a.eb,e=a.nb;b.ga=a.j;b.ba=c;b.g=d;b.U=e;b.ta(256)},v0=function(a){t0(a,a.g);return a.g.hi(a.b.Ei)},w0=function(a){t0(a,a.g);return a.g.hi(a.b.lastIndex)},x0=function(a){$.Uw.call(this,
a);$.T(this.ua,[["scrollOnMouseWheel",0,0]])},y0=function(a,b){$.Y.call(this);this.Fa($.hr.axis);this.b=a;this.Wa=this.Ka=this.oc=this.Da=null;this.f=!b;$.T(this.ua,[["height",4,9],["showHelperLabel",16,1],["overlapMode",16,1]])},z0=function(){$.Y.call(this);this.D=this.G=this.j=this.N=null;$.T(this.ua,[["value",4,1],["valueField",4,1],["stroke",20,1],["fallingStroke",20,1],["risingStroke",20,1]])},Dia=function(a,b,c){b=$.n(b)?b:a.ma;a.j||(a.j=new $.Du,$.L(a.j,a.rQ,a),a.g=a.j.add(null,null,0),a.g.zIndex(1),
a.j.I(4294967295));a.G||(a.G=new $.Du,$.L(a.G,a.rQ,a),a.G.I(4294967295));a.D||(a.D=new $.Du,$.L(a.D,a.rQ,a),a.D.I(4294967295));a.j.ia(!!c,b.label);a.G.ia(!!c,b.risingLabel);a.D.ia(!!c,b.fallingLabel)},A0=function(){$.Wy.call(this)},B0=function(a){$.YC.call(this);this.b=a;this.O=null},Eia=function(a){this.lc=a;this.f=[];this.b=0},C0=function(a){this.b=[];this.O=a;this.Ga=[];this.ka=0;this.ya=[];this.ga=0;this.g=-1;this.G=null},D0=function(a){a.G=null;a.Ga.length=0;a.ka=0;a.ya.length=0;a.ga=0},E0=function(a,
b,c,d,e,f,h){var k;if($.ea(c)){var l=Math.min(b.values.length,c);for(k=0;k<l;k++)c=$.N(b.values[k]),c<d[k]&&(d[k]=c),c>e[k]&&(e[k]=c)}else for(k in c)c=$.N(b.values[k]),c<d[k]&&(d[k]=c),c>e[k]&&(e[k]=c);for(k=0;k<=a.g;k++)b.f&&(c=$.N(b.f[k]),c<f[k]&&(f[k]=c),c>h[k]&&(h[k]=c))},u0=function(a,b,c,d,e){var f,h=a.b.length;if(h){for(f=0;f<a.Ga.length;f++){var k=a.Ga[(a.ka-f-1+4)%4];if(k.yh==b&&k.Di==c)return k}if((0,window.isNaN)(d))if((0,window.isNaN)(e)){var l=0;var m=h-1}else e?(l=0,m=e-1):l=m=window.NaN;
else(0,window.isNaN)(e)?d==h-1?l=m=window.NaN:(l=d+1,m=h-1):1==e-d?l=m=window.NaN:(l=d+1,m=e-1);var p=a.b[d]||null;k=a.b[l]||null;var q=a.b[m]||null;var r=a.b[e]||null}else k=q=p=r=null,l=m=d=e=window.NaN;var t=a.TS(),u=$.ea(t),v,w,x,y;if(p||k||r){var B=!p&&!r;if(B&&a.G){var G=v=a.G.SM;var C=w=a.G.QM;var I=x=a.G.fK;var P=y=a.G.eK}else{G=M_(t,window.Infinity,!0);C=M_(t,-window.Infinity,!0);I=M_(a.g+1,window.Infinity);P=M_(a.g+1,-window.Infinity);for(v=p?p.next:k;v&&v!=r;)E0(a,v,t,G,C,I,P),v=v.next;
v=$.Qc(G);w=$.Qc(C);x=$.Ja(I,0);y=$.Ja(P,0);p&&E0(a,p,t,v,w,x,y);r&&E0(a,r,t,v,w,x,y);if(u)for(f=0;f<t;f++)G[f]==Number.POSITIVE_INFINITY&&(G[f]=window.NaN),C[f]==Number.NEGATIVE_INFINITY&&(C[f]=window.NaN),v[f]==Number.POSITIVE_INFINITY&&(v[f]=window.NaN),w[f]==Number.NEGATIVE_INFINITY&&(w[f]=window.NaN);else for(f in t)G[f]==Number.POSITIVE_INFINITY&&(G[f]=window.NaN),C[f]==Number.NEGATIVE_INFINITY&&(C[f]=window.NaN),v[f]==Number.POSITIVE_INFINITY&&(v[f]=window.NaN),w[f]==Number.NEGATIVE_INFINITY&&
(w[f]=window.NaN);for(f=0;f<=a.g;f++)I[f]==Number.POSITIVE_INFINITY&&(I[f]=window.NaN),P[f]==Number.NEGATIVE_INFINITY&&(P[f]=window.NaN),x[f]==Number.POSITIVE_INFINITY&&(x[f]=window.NaN),y[f]==Number.NEGATIVE_INFINITY&&(y[f]=window.NaN);B&&(a.G={SM:$.Qc(G),QM:$.Qc(C),fK:$.Ja(I,0),eK:$.Ja(P,0)})}}else G=C=v=w=M_(t,window.NaN,!0),I=P=x=y=M_(a.g,window.NaN);k={yh:b,Di:c,au:d,Ei:l,lastIndex:m,uy:e,sN:p,uS:k,Z1:q,gI:r,SM:v,QM:w,eK:y,fK:x,r5:G,q5:C,o5:P,p5:I};h&&(a.Ga[a.ka]=k,a.ka=(a.ka+1)%4);return k},
uia=function(a){var b=a.b.length;return b?u0(a,a.b[0].key,a.b[b-1].key,window.NaN,window.NaN):u0(a,window.NaN,window.NaN,window.NaN,window.NaN)},j0=function(a,b,c){c=c||"exact";for(var d=0;d<a.ya.length;d++){var e=a.ya[(a.ga-d-1+2)%2];if(e.key==b&&e.mode==c)return e.index}d=$.Pa(a.b,V_,b);if(0>d)if(d=~d,"exact-or-next"==c)d=d<a.b.length?d:window.NaN;else if("exact-or-prev"==c)d=0<d?d-1:window.NaN;else{if("nearest"==c)return c=a.b.length,d?d<c?(a=a.b[d],b-a.b.key<a.key-b?d-1:d):c?c-1:window.NaN:c?
0:window.NaN;d=window.NaN}a.ya[a.ga]={key:b,mode:c,index:d};a.ga=(a.ga+1)%2;return d},G0=function(a,b){C0.call(this,a);this.D=b||null;this.f=F0;this.j=0},Fia=function(a,b,c,d,e,f){e=e?a.j:c.length;var h;$.n(f)?(f=$.Pa(b,V_,f),b=b[0<=f?f:~f]):b=b[0];if(b)if(f=a.b[a.b.length-1]||null,d){d.f.setTime(b.key);d.g();var k=d.next();do{for(var l=d.next(),m=!1;b&&((0,window.isNaN)(l)||b.key<l);){m=!0;for(h=0;h<e;h++){var p=c[h];p.b(b.values[p.j],b.values[p.D],b.values)}b=b.next}if(m){p=Array(e);for(h=0;h<e;h++)p[h]=
c[h].f();h=new T_(k,p);f&&(f.next=h);h.b=f;a.b.push(h);f=h}k=l}while(b)}else{do{for(h=0;h<e;h++)p=c[h],p.b(b.values[p.j],b.values[p.D],b.values);p=Array(e);for(h=0;h<e;h++)p[h]=c[h].f();h=new T_(b.key,p);f&&(f.next=h);h.b=f;a.b.push(h);f=h;b=b.next}while(b)}},H0=function(a,b,c,d,e,f){C0.call(this,a);this.f=[];this.j=this.v3;this.N=0;this.U=!1;this.nb=$.z(b)?b:$.O(b,0,!0);this.Ra=c;this.ab=$.N(d)||0;this.Ja=$.ma(e)?e.getTime():$.N(e);this.eb=f||null;this.ba=0;this.D=null},Gia=function(a,b){if($.A(b))b=
$.Ja(b,0);else if($.D(b)){var c=b;b={};for(var d in c)b[d]=c[d]}else b=null;c=$.cs(b[a.nb],a.Ra,(0,window.isNaN)(a.Ja)?null:new Date(a.Ja),a.eb);if(d=!(!b||!c))a.ab&&c.setTime(c.getTime()+36E5*a.ab),a.j(new T_(c.getTime(),b));return d},I0=function(a){a.j==a.RV&&(a.f.sort(U_),a.j=a.t3);return a.j!=a.u3},Hia=function(a,b){var c=a.b.length-1;if(0<=c){var d=a.b[c];var e=d.key}else d=null,e=window.NaN;for(var f;f=b.next();)if(!f.g){f.key==e?(a.b[c]=f,f.b=d.b):(a.b.push(f),f.b=d,e=f.key,c++);f.b&&(f.b.next=
f);d=f;var h;if($.A(f.values)){if(f=f.values.length,a.ba<f){if(a.D)for(h=a.ba;h<f;h++)a.D[h]=!0;a.ba=f}}else{if(!a.D)for(a.D={},h=0;h<a.ba;h++)a.D[h]=!0;for(h in f.values)a.D[h]=!0}}d&&(d.next=null)},J0=function(a,b,c,d,e){this.lc=a||[];this.j=b||[];d=$.N(d);e=$.N(e);(0,window.isNaN)(e)?this.next=this.gga:(this.next=this.Dba,this.D=e);a=(0,window.isNaN)(d)?0:$.Pa(this.lc,V_,d);this.f=this.lc[0>a?~a:a];c?(this.g=this.Tfa,this.b=(0,window.isNaN)(d)?0:$.Pa(this.j,V_,d),0>this.b&&(this.b=~this.b)):(this.g=
this.Vfa,this.b=(0,window.isNaN)(d)?this.j.length-1:$.Pa(this.j,qia,d),0>this.b&&(this.b=~this.b-1))},K0=function(a,b){$.od.call(this);this.Zc=a;this.wd=b;this.f={};this.b=$.fl;this.g=this.j=$.ia},L0=function(a,b,c,d){d0.call(this,a,b.Zc,c,d,{});this.j=b},M0=function(a,b){$.Yq.call(this);this.Iy=a;this.yC={};if($.D(b)){$.V(this.Iy);for(var c in b){var d=b[c];$.D(d)?this.Hd(c,d.column,d.type,d.context||d.weights):($.ea(d)||$.z(d))&&this.Hd(c,d)}this.Iy.da(!0)}},i0=function(a,b){return b in a.yC?a.yC[b].K3:
window.NaN},h0=function(a,b){return b in a.yC?a.yC[b].z4:window.NaN},N0=function(a,b){$.od.call(this);this.j=a;this.D=$.n(b)?b:window.NaN;this.clear()},O0=function(a){N0.call(this,a)},P0=function(a,b){this.g=b;N0.call(this,a)},Q0=function(a,b,c){this.G=b;this.g=c;N0.call(this,a)},R0=function(a){N0.call(this,a)},S0=function(a){N0.call(this,a)},T0=function(a){N0.call(this,a)},U0=function(a){N0.call(this,a)},V0=function(a){N0.call(this,a)},W0=function(a){N0.call(this,a)},X0=function(a){N0.call(this,
a)},Y0=function(a){N0.call(this,a)},Z0=function(a,b){N0.call(this,a,b)},Iia=function(a,b,c){if($.E(a))return new Q0(b,a,c);if($.D(a))return new P0(b,a);switch(a){case "average":return new O0(b);case "first":return new R0(b);case "first-value":return new S0(b);case "last-value":return new U0(b);case "list":return new V0(b);case "max":return new W0(b);case "min":return new X0(b);case "sum":return new Y0(b);case "weighted-average":return new Z0(b,c);default:case "last":return new T0(b)}},Jia=function(a,
b,c){$.ea(b)&&(b=b.toFixed(0));if($.D(a))return $.oa(a)+"|"+b+"|"+$.ko(c);switch(a){case "average":return"a"+b;case "first":return"f"+b;case "first-value":return"o"+b;case "last-value":return"c"+b;case "list":return"g"+b;case "max":return"x"+b;case "min":return"n"+b;case "sum":return"s"+b;case "weighted-average":return $.ea(c)&&(c=c.toFixed(0)),"w"+b+":"+String(c);default:case "last":return"l"+b}},$0=function(a,b,c,d,e){$.Yq.call(this);this.lc=new H0(this,a,b,c,d,e);this.Bu={};this.eR={};this.xz=
{};this.AF=0;this.ww=[];this.ME=[];this.px=[];this.BF=[]},a0=function(a,b){var c;if(b){var d=b.D+b.b.toFixed(0);d in a.Bu?c=a.Bu[d]:a.Bu[d]=c=new G0(a,b)}else c=a.lc;c.update();return c},Kia=function(a,b,c){for(var d in a.Bu){var e=a.Bu[d];(e.f|b)!=e.f?(e.f|=b,e=!0):e=!1;c=e||c}c&&($.Fp++,a.ta(16),$.Ip())},a1=function(a,b,c,d){$.nx.call(this,a,b,c,d);this.f=this.D=this.U=this.oa=this.ba=null;this.N=!1;this.O=null;this.VZ=!1},Lia=function(a){var b,c=a.bb();a.check(64)&&!a.Tg()&&$.K(c,$.yt)&&"none"!=
c.wz()&&(b=yia(a.oa,c.d_(),a.Se.ol));a.$B=Number(b&&b.get(a.Se.ol))||0},Mia=function(a){a.f=null;a.N=!1;b1(a,$.Zl);a.aa().reset()},b1=function(a,b){if(a.G&&a.enabled()){var c=a.aa();c.ku(a.G.hf,a.G.la());if(a.Aa.Zs){a.Rg()&&a.vf.tm(b,c.o("shapes"));var d=c.o($.K(a.vf,$.KA)?"shapes":"shapeNames");a.vf.lB(b,d);a.Se.sE(c,b)}a.check(4194304)&&a.Op(c,b,!0);b==$.Zl&&(a.G=null)}},c1=function(a,b){return"number"==typeof b?$.qs(b,a.ba||void 0):b},d1=function(){this.oa=[];this.f=(0,$.pa)(this.f,this)},e1=function(a,
b){return a.key-b.key||a.index-b.index},Nia=function(a,b,c,d){this.oa=a;this.O=b;this.G=c;this.N=d;this.reset()},Oia=function(a,b){var c,d=$.Na(a.oa,b,function(a,b){return a-b.index});if(c=0<=d){var e=a.oa[d];a.b=d;a.j=e.aG;a.D=e.items.length;a.g=0}else a.D=0,a.b=a.oa.length,a.g=0,a.j=window.NaN;return c},f1=function(a){return a.b<a.oa.length?a.oa[a.b].index:window.NaN},k1=function(a,b){$.Y.call(this);this.Ze=a;this.index=b;this.KF=new d1;this.Vl=new $.KA(this,[$.tH,Pia],!1);this.ca=new $.Yx(this,
g1,$.Zl,h1);this.ca.pa("connectorAfterInitCallback",P_);this.xa=new $.Yx(this,i1,$.Zl,h1);this.Ca=new $.Yx(this,i1,$.Zl,h1);this.Da=new $.Du;this.Da.ib(this);$.T(this.ua,j1);this.AA=[];this.Oba=$.Vl("stroke",2,!0,!0)},Qia=function(a,b,c,d){b.o("positionHash")==c&&(a.Da.Vd(b.la()).Kd().translate(0,d),b.o("shapes").path.translate(0,d),b.o("shapes").overlay.translate(0,d),b.o("offset",Number(b.o("offset"))-d))},Ria=function(a,b){var c;var d=a.Ze.mc().Va();var e=a.aa(),f=(c=Number(e.o("state"))||$.Zl)?
1==c?30:20:a.zIndex()+3E-6*e.la(),h=a.zc("type",c,e,$.Lk,!1),k=a.aY[h];var l=a.zc("position",0,e,$.Nk,!1,void 0,!0);var m=window.NaN,p=a.zc("direction",c,e,$.Mk,!1,void 0,!0),q="",r="";if("axis"!=l){q=a.zc("seriesId",0,e,$.oq,!1,void 0,!0);var t=a.Ze.Ue(q)||a.Ze.Nh(0),u;if(t&&(u=via(t.oa,f1(e)))&&!u.o("missing")){if("zero"==l){r="zero";var v=0}else r=a.zc("fieldName",0,e,$.oq,!1,void 0,!0),v=Number(u.get(r));"series-positive"==l&&0>v||"series-negative"==l&&0<v?(v=0,m=Number(u.o("zero")),(0,window.isNaN)(m)&&
(m=t.Ie(t.bb().transform(0),!1)),m=$.Za(m,a.ea.top,a.ea.top+a.ea.height),l=m==a.ea.top+a.ea.height?"axis":"zero"):(m=Number(u.o(r)),(0,window.isNaN)(m)&&!(0,window.isNaN)(v)&&(m=t.Ie(t.bb().transform(v),!1)),m=$.Za(m,a.ea.top,a.ea.top+a.ea.height));"auto"==p&&(p=0>v||!v&&"series-negative"==l?"down":"up")}}(0,window.isNaN)(m)&&(m=a.ea.top+a.ea.height,l="axis",p="up");p="down"!=p;l+="axis"==l?"":q+r+(p?"U":"D");e.o("positionHash",l);r=d.transform(e.Oh(),.5)*a.ea.width+a.ea.left;d=(b?b[l]:Number(e.o("offset")))||
0;e.o("offset",d);q=0;var w=a.Oba(a,c);!d&&w&&(q=$.M(a.zc("length",c,e,$.Qq,!0),a.ea.height),d+=q);m+=p?-d:d;t={group:a,index:e.la()};if(b){var x=a.Vl.Xc(c,null,f);u=x.path;v=x.overlay;e.o("shapes",x)}else x=e.o("shapes"),u=x.path,v=x.overlay,a.Vl.tm(c,x),a.Vl.ct(f,x),u.parent(a.P()),u.clear(),u.jc(1,0,0,1,0,0),v.parent(a.P()),v.clear(),v.jc(1,0,0,1,0,0);x=$.bc(u.stroke());r=$.R(r,x);m=$.R(m,x);u.tag=t;v.tag=t;q&&w&&(w=a.Ze.bj().rC(r,m,m-(p?-q:q),w,b?void 0:e.o("connectorPath")),w.tag=t,e.o("connectorPath",
w));x=Math.round($.M(a.zc("width",c,e,$.Qq,!1),a.ea.width));w=Math.round($.M(a.zc("height",c,e,$.Qq,!1),a.ea.height));k(u,r,m,x,w,p);a.ce(e,c,h,r,m,x,w,p,f+1E-6,!b).Kd().tag=t;(0,a.aY["flag"==h?"flag":"rect"])(v,r,m,x,w,p);d+=w;c=w+q-Number(e.o("totalHeight")||0);e.o("totalHeight",w+q);return[l,b?d:p?-c:c]},l1=function(a,b,c){for(var d=0;d<a.length;d++){var e=a[d];if($.D(e)&&(e=e[b],null!=e))return c(e)}},m1=function(a,b){$.Y.call(this);this.Fa("stock.eventMarkers");$.L(b,this.S2,this);this.f=a;this.b=
[];this.g={};this.j=[];this.ca=new $.Yx(this,g1,$.Zl,h1);this.ca.pa("connectorAfterInitCallback",P_);this.ca.Fa("defaultFontSettings","stock.eventMarkers.normal");this.xa=new $.Yx(this,i1,$.Zl,h1);$.W(this,"hovered",this.xa);this.Ca=new $.Yx(this,i1,$.Zl,h1);$.W(this,"selected",this.Ca);$.T(this.ua,j1);this.AA=[];$.eu(this,this)},n1=function(a,b,c,d){var e=4*Math.min(b,$.qo)+2*c+!d,f=a.AA[e];if(!f){f=a.f.mc().bj();if(b)if(1==b){var h=a.xa;var k=f.mb()}else h=a.Ca,k=f.selected();else h=a.ca,k=f.Sa();
d&&(h=h.Zg(),k=k.Zg());f=c?[b||d?null:a.ma,b||d?null:f.ma,h.ma,k.ma]:[b||d?null:a.Ma,b||d?null:f.Ma,h.Ma,k.Ma];a.AA[e]=f}return f},Sia=function(a){a.Bn||(a.Bn=[]);for(var b;b=a.j.pop();)b.clear(),b.parent(null),a.Bn.push(b)},o1=function(a,b,c,d,e){var f=b.aa();if(f.select(c)){c=Number(f.o("state")||0);if($.n(e)&&c!=e)return!1;if(c!=d){f.o("state",d);e=Ria(b);if(d=e[1]){e=e[0];for(c=f1(f);f.advance()&&f1(f)==c;)Qia(b,f,e,d);for(var h=b.index+1;h<a.b.length;h++)if((b=a.b[h])&&b.enabled()&&Oia(f=b.aa(),
c)){do Qia(b,f,e,d);while(f.advance()&&f1(f)==c)}}return!0}}return!1},p1=function(a){$.od.call(this);this.D=a[0];this.Zc=a[1];this.Oa={};this.f=null},q1=function(a,b,c,d){a.Oa[b]={W:null,Sj:K_(c,d),qD:!1,mapping:null,bU:!1}},s1=function(a,b,c){b=a.Oa[b];return b?$.n(c)?(c=K_(c,b.Sj),c!=b.W.Sj()&&(b.Sj=c,b.qD=!1,b.bU=!0,r1(a)),a):b.W:$.n(c)?a:null},r1=function(a){a.f||(a.f=a.Dc(a.Zc));$.V(a.D.mc());for(var b in a.Oa){var c=a.Oa[b];c.W||(c.W=a.D.te(c.Sj),c.W.ba=2,c.qD=!1);$.V(c.W);c.bU&&(c.W.Sj(c.Sj),
c.bU=!1);c.mapping||(c.mapping=a.Zc.Wd().ie(),a.In(c.mapping,a.f,b));c.qD||(c.W.data(c.mapping),$.E(c.W.name)&&c.W.name(a.Of(b)),c.qD=!0);c.W.da(!0)}a.D.mc().da(!0)},t1=function(a){for(var b in a.Oa){var c=a.Oa[b];c.qD=!1;$.qd(c.mapping);c.mapping=null}$.qd(a.f);a.f=null;r1(a)},u1=function(a){this.g=$.O(a,256,!1);this.lc=[];this.b=this.f=0},v1=function(a){return new u1(a)},w1=function(){return{nd:0,dispose:function(){}}},x1=function(a){a.nd=0},y1=function(a,b,c,d,e){if((0,window.isNaN)(c)||(0,window.isNaN)(d)||
(0,window.isNaN)(b)||(0,window.isNaN)(e))return window.NaN;var f=c-d,h=a.nd;f&&(h+=(b-d-(c-b))/f*e,a.nd=h);return h},Tia=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low")),f=$.N(a.get("volume"));c=y1(b,c,d,e,f);a.set("result",c)},Uia=function(a){a=a.Wd().Dc(a);a.Lf(w1());a.Mf(x1);a.Kf(Tia);a.bd("result");return a},z1=function(a){p1.call(this,a);q1(this,"main",a[2]);r1(this)},Via=function(a,b,c){a=$.O(a,20,!1);b=$.O(b,2,!1);c=$.O(c,30,!1);if(b>c){var d=b;b=c;c=d}return{$b:v1(a+
1),vb:a,Gw:c,nv:b,bu:window.NaN,nd:window.NaN,dispose:function(){this.$b.clear()}}},Wia=function(a){a.$b.clear();a.nd=window.NaN},Xia=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);var d=(0,window.isNaN)(c),e;d||(e=b.$b.enqueue(c));if(d||b.$b.Dg()<=b.vb)c=window.NaN;else{var f=2/(b.Gw+1);var h=2/(b.nv+1);c=b.$b.get(-1);var k=b.$b.get(0);d=b.$b.get(-2);if((0,window.isNaN)(b.nd)||(0,window.isNaN)(b.bu)){b.bu=0;for(e=1;e<=b.vb;e++)b.bu+=Math.abs(b.$b.get(e)-b.$b.get(e-1));b.bu?
(e=Math.abs(c-k)/b.bu,e=e*(h-f)+f):e=f;c=d+e*e*(c-d)}else b.bu+=Math.abs(c-d)-Math.abs(k-e),b.bu?(e=Math.abs(c-k)/b.bu,e=e*(h-f)+f):e=f,c=b.nd+e*e*(c-b.nd);b.nd=c}a.set("result",c)},Yia=function(a,b,c,d){a=a.Wd().Dc(a);a.Lf(Via(b,c,d));a.Mf(Wia);a.Kf(Xia);a.bd("result");return a},A1=function(a){p1.call(this,a);this.g=$.O(a[2],20,!1);this.b=$.O(a[3],2,!1);this.j=$.O(a[4],30,!1);q1(this,"main",a[5]);r1(this)},B1=function(a){a=$.O(a,20,!1);return{$b:v1(a),vb:a,nd:window.NaN,dispose:function(){this.$b.clear()}}},
C1=function(a){a.$b.clear();a.nd=window.NaN},Zia=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);c=D1(b,c);a.set("result",c)},$ia=function(a,b){var c=a.Wd().Dc(a);c.Lf(B1(b));c.Mf(C1);c.Kf(Zia);c.bd("result");return c},D1=function(a,b){if((0,window.isNaN)(b))return window.NaN;a.$b.enqueue(b);var c;if(a.$b.Dg()<a.vb)return window.NaN;if((0,window.isNaN)(a.nd)){for(var d=c=0;d<a.vb;d++)c+=a.$b.get(d);c/=a.vb}else c=a.$b.get(-1),c=a.nd+2/(a.vb+1)*(c-a.nd);return a.nd=c},E1=function(a){a=
$.O(a,20,!1);return{$b:v1(a),vb:a,nd:window.NaN,OF:window.NaN,dispose:function(){this.$b.clear()}}},F1=function(a){a.$b.clear();a.nd=window.NaN;a.OF=window.NaN},aja=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);c=G1(b,c);a.set("result",c)},bja=function(a,b){var c=a.Wd().Dc(a);c.Lf(E1(b));c.Mf(F1);c.Kf(aja);c.bd("result");return c},G1=function(a,b){if((0,window.isNaN)(b))return a.OF=window.NaN;var c=a.$b.enqueue(b);a.OF=c;if(a.$b.Dg()<a.vb)return window.NaN;if((0,window.isNaN)(a.nd)){for(var d=
c=0;d<a.vb;d++)c+=a.$b.get(d);c/=a.vb}else d=a.$b.get(-1),c=a.nd+(d-c)/a.vb;return a.nd=c},cja=function(a,b,c){a=$.O(a,5,!1);b=$.O(b,34,!1);c=L_(c,"sma");if("sma"==c){var d=E1;var e=G1}else d=B1,e=D1;return{mv:d(a),Fw:d(b),io:e,Hk:c,dispose:function(){this.mv.dispose();this.Fw.dispose()}}},dja=function(a){"sma"==a.Hk?(F1(a.mv),F1(a.Fw)):(C1(a.mv),C1(a.Fw))},eja=function(a,b,c){if((0,window.isNaN)(b)||(0,window.isNaN)(c))return window.NaN;c=(b+c)/2;b=a.io(a.mv,c);a=a.io(a.Fw,c);return b-a},fja=function(a,
b){var c=$.N(a.get("high")),d=$.N(a.get("low"));c=eja(b,c,d);a.set("result",c)},gja=function(a,b,c,d){a=a.Wd().Dc(a);a.Lf(cja(b,c,d));a.Mf(dja);a.Kf(fja);a.bd("result");return a},H1=function(a){p1.call(this,a);this.b=$.O(a[2],5,!1);this.g=$.O(a[3],34,!1);this.j=L_(a[4],"sma");q1(this,"main",a[5],"stick");r1(this);var b=new $.Yq;b.Fa("chart.defaultSeriesSettings.base.normal","stock.defaultPlotSettings.defaultSeriesSettings.base.normal","chart.defaultSeriesSettings.lineLike.normal","stock.defaultPlotSettings.defaultSeriesSettings.lineLike.normal",
"chart.defaultSeriesSettings.ohlc.normal","stock.defaultPlotSettings.defaultSeriesSettings.ohlc.normal");a=b.ma.risingStroke;b=b.ma.fallingStroke;this.W().risingStroke(a);this.W().fallingStroke(b);this.W().risingFill(a);this.W().fallingFill(b)},I1=function(a){a=E1($.O(a,14,!1));a.tN=window.NaN;return a},J1=function(a){F1(a);a.tN=window.NaN},K1=function(a,b,c,d){if((0,window.isNaN)(c)||(0,window.isNaN)(d)||(0,window.isNaN)(b))return window.NaN;c=G1(a,Math.max(c,a.tN)-Math.min(d,a.tN));a.tN=b;return c},
hja=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low"));c=K1(b,c,d,e);a.set("result",c)},ija=function(a,b){var c=a.Wd().Dc(a);c.Lf(I1(b));c.Mf(J1);c.Kf(hja);c.bd("result");return c},L1=function(a){p1.call(this,a);this.b=$.O(a[2],14,!1);q1(this,"main",a[3]);r1(this)},jja=function(a){a=$.O(a,20,!1);return{Oe:v1(a+1),qf:v1(a+1),vb:a,dispose:function(){this.Oe.clear();this.qf.clear()}}},kja=function(a){a.Oe.clear();a.qf.clear()},lja=function(a,b){var c=$.N(a.get("high")),
d=$.N(a.get("low")),e=(0,window.isNaN)(c)||(0,window.isNaN)(d);e||(b.Oe.enqueue(c),b.qf.enqueue(d));c=b.Oe.Dg();if(e||c<=b.vb)c=e=window.NaN;else{var f=0,h=b.Oe.get(0);for(d=1;d<c;d++){var k=b.Oe.get(d);k>=h&&(h=k,f=d)}e=100*f/b.vb;f=0;h=b.qf.get(0);for(d=1;d<c;d++)k=b.qf.get(d),k<=h&&(h=k,f=d);c=100*f/b.vb}a.set("upResult",e);a.set("downResult",c)},mja=function(a,b){var c=a.Wd().Dc(a);c.Lf(jja(b));c.Mf(kja);c.Kf(lja);c.bd("upResult");c.bd("downResult");return c},M1=function(a){p1.call(this,a);this.b=
$.O(a[2],20,!1);this.j=a[3];this.g=a[4];q1(this,"range",a[5],"range-area");r1(this);this.tQ().lowFill(function(){return $.Ml($.Il(this.sourceColor,.6),.65)});this.tQ().lowStroke(function(){return $.Ml($.Il(this.sourceColor),1)})},N1=function(a,b){var c=E1($.O(a,20,!1));c.Un=$.O(b,2,!1);c.ow=window.NaN;return c},O1=function(a){F1(a);a.ow=window.NaN},P1=function(a,b){var c=a.nd,d=G1(a,b);if((0,window.isNaN)(d))return[window.NaN,window.NaN,window.NaN];var e,f=a.$b,h=a.vb;if((0,window.isNaN)(c))for(c=
e=0;c<h;c++){var k=f.get(c)-d;e+=k*k}else e=a.OF-c,k=f.get(-1)-d,f=c-d,e=a.ow+h*f*f+f*(d+c)-2*a.OF*f+k*k-e*e;0>e&&(e=0);a.ow=e;e=Math.sqrt(e/h)*a.Un;return[d,d+e,d-e]},nja=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);c=P1(b,c);var d=c[1],e=c[2];a.set("middleResult",c[0]);a.set("upperResult",d);a.set("lowerResult",e)},oja=function(a,b,c){a=a.Wd().Dc(a);a.Lf(N1(b,c));a.Mf(O1);a.Kf(nja);a.bd("upperResult");a.bd("lowerResult");a.bd("middleResult");return a},Q1=function(a){p1.call(this,
a);this.g=$.O(a[2],20,!1);this.b=$.O(a[3],2,!1);q1(this,"middle",a[4]);q1(this,"upper",a[5]);q1(this,"lower",a[6]);q1(this,"range",a[7],"range-area");r1(this)},pja=function(a,b){var c=$.O(a,20,!1);return{$b:v1(c),vb:c,Un:$.O(b,2,!1),nd:window.NaN,ow:window.NaN,dispose:function(){this.$b.clear()}}},qja=function(a){a.$b.clear();a.nd=window.NaN;a.ow=window.NaN},rja=function(a,b){var c=b.$b,d=b.vb,e=a.get("value");e=$.n(e)?e:a.get("close");e=$.N(e);var f=(0,window.isNaN)(e),h;f||(h=c.enqueue(e));e=0;
if(f||c.Dg()<d)e=window.NaN;else{if((0,window.isNaN)(b.nd)){for(h=0;h<d;h++)e+=c.get(h);b.nd=e/d;for(h=e=0;h<d;h++)f=c.get(h)-b.nd,e+=f*f;0>e&&(e=0);b.ow=Math.sqrt(e/d);e=b.ow*b.Un}else{e=(c.get(-1)-h)/d;var k=b.nd;f=b.ow;b.nd=k+e;e=f*f*d;var l=h-k;f=c.get(-1)-b.nd;var m=k-b.nd;e=e+d*m*m+m*(b.nd+k)-2*h*m+f*f-l*l;0>e&&(e=0);f=Math.sqrt(e/d);b.ow=f;e=f*b.Un}d=b.nd+e;e=b.nd-e;e=(c.get(-1)-e)/(d-e)}a.set("result",e)},sja=function(a,b,c){a=a.Wd().Dc(a);a.Lf(pja(b,c));a.Mf(qja);a.Kf(rja);a.bd("result");
return a},R1=function(a){p1.call(this,a);this.g=$.O(a[2],20,!1);this.b=$.O(a[3],2,!1);q1(this,"main",a[4]);r1(this)},tja=function(a){O1(a)},uja=function(a,b){var c=P1(a,b);return(c[1]-c[2])/c[0]},vja=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);a.set("result",uja(b,c))},wja=function(a,b,c){a=a.Wd().Dc(a);a.Lf(N1(b,c));a.Mf(tja);a.Kf(vja);a.bd("result");return a},S1=function(a){p1.call(this,a);this.g=$.O(a[2],20,!1);this.b=$.O(a[3],2,!1);q1(this,"main",a[4]);r1(this)},xja=
function(a){return E1($.O(a,20,!1))},yja=function(a){F1(a)},zja=function(a,b,c,d){if((0,window.isNaN)(c)||(0,window.isNaN)(d)||(0,window.isNaN)(b))return window.NaN;b=(c+d+b)/3;c=G1(a,b);for(var e=d=0;e<a.vb;e++)d+=Math.abs(a.$b.get(e)-a.nd);return(b-c)/(d/a.vb*.015)},Aja=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low"));c=zja(b,c,d,e);a.set("result",c)},Bja=function(a,b){var c=a.Wd().Dc(a);c.Lf(xja(b));c.Mf(yja);c.Kf(Aja);c.bd("result");return c},T1=function(a){p1.call(this,
a);this.b=$.O(a[2],20,!1);q1(this,"main",a[3]);r1(this)},Cja=function(a,b,c){a=$.O(a,3,!1);b=$.O(b,10,!1);if(a>b){var d=a;a=b;b=d}c=L_(c,"ema");d=w1();if("sma"==c){a=E1(a);b=E1(b);var e=G1}else a=B1(a),b=B1(b),e=D1;return{NP:d,mv:a,Fw:b,io:e,Hk:c,dispose:function(){this.NP.dispose();this.mv.dispose();this.Fw.dispose()}}},Dja=function(a){x1(a.NP);"sma"==a.Hk?(F1(a.mv),F1(a.Fw)):(C1(a.mv),C1(a.Fw))},Eja=function(a,b,c,d,e){if((0,window.isNaN)(b)||(0,window.isNaN)(c)||(0,window.isNaN)(d)||(0,window.isNaN)(e))return window.NaN;
c=y1(a.NP,b,c,d,e);b=a.io(a.mv,c);a=a.io(a.Fw,c);return b-a},Fja=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low")),f=$.N(a.get("volume"));c=Eja(b,c,d,e,f);a.set("result",c)},Gja=function(a,b,c,d){a=a.Wd().Dc(a);a.Lf(Cja(b,c,d));a.Mf(Dja);a.Kf(Fja);a.bd("result");return a},U1=function(a){p1.call(this,a);this.b=$.O(a[2],3,!1);this.g=$.O(a[3],10,!1);this.j=L_(a[4],"ema");q1(this,"main",a[5]);r1(this)},Hja=function(a){a=$.O(a,20,!1);return{tD:v1(a),vu:v1(a),vb:a,vy:window.NaN,
EA:window.NaN,dispose:function(){this.tD.clear();this.vu.clear()}}},Ija=function(a){a.tD.clear();a.vu.clear();a.vy=window.NaN;a.EA=window.NaN},Jja=function(a,b,c,d,e){if((0,window.isNaN)(c)||(0,window.isNaN)(d)||(0,window.isNaN)(b)||(0,window.isNaN)(e))return window.NaN;b=a.tD.enqueue(c==d?0:(b-d-(c-b))*e/(c-d));e=a.vu.enqueue(e);if(a.tD.Dg()<a.vb)return window.NaN;if((0,window.isNaN)(a.vy))for(a.vy=0,e=a.EA=0;e<a.vb;e++)a.vy+=a.tD.get(e),a.EA+=a.vu.get(e);else a.vy+=a.tD.get(-1)-b,a.EA+=a.vu.get(-1)-
e;return a.vy/a.EA},Kja=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low")),f=$.N(a.get("volume"));c=Jja(b,c,d,e,f);a.set("result",c)},Lja=function(a,b){var c=a.Wd().Dc(a);c.Lf(Hja(b));c.Mf(Ija);c.Kf(Kja);c.bd("result");return c},V1=function(a){p1.call(this,a);this.b=$.O(a[2],20,!1);q1(this,"main",a[3]);r1(this)},Mja=function(a,b,c){a=$.O(a,14,!1);b=$.O(b,14,!1);return{Oe:v1(a+1),qf:v1(a+1),Co:v1(a+1),OP:v1(b),vb:a,BB:b,RO:$.n(c)?!!c:!0,alpha:2/(a+1),e9:2/(b+1),Zt:window.NaN,
gw:window.NaN,Au:window.NaN,eI:window.NaN,UH:window.NaN,iB:window.NaN,dispose:function(){this.Oe.clear();this.qf.clear();this.Co.clear();this.OP.clear()}}},Nja=function(a){a.Oe.clear();a.qf.clear();a.Co.clear();a.OP.clear();a.Zt=window.NaN;a.gw=window.NaN;a.Au=window.NaN},Oja=function(a,b,c,d,e,f,h,k,l){d=c-d;f-=e;0>d&&(d=0);0>f&&(f=0);d>f?f=0:d<f?d=0:f=d=0;(b=Math.max(Math.abs(c-e),Math.abs(c-b),Math.abs(e-b)))?(a.Zt+=a.alpha*(100*d/b-a.Zt),a.gw+=a.alpha*(100*f/b-a.gw)):(a.Zt-=a.alpha*a.Zt,a.gw-=
a.alpha*a.gw);a.eI=a.eI+d-h;a.UH=a.UH+f-k;a.iB=a.iB+b-l},Pja=function(a,b,c,d){if((0,window.isNaN)(c)||(0,window.isNaN)(d)||(0,window.isNaN)(b))return[window.NaN,window.NaN,window.NaN];var e=a.Oe,f=a.qf,h=a.Co,k=a.OP;e.enqueue(c);f.enqueue(d);h.enqueue(b);if(e.Dg()<a.vb+1)return[window.NaN,window.NaN,window.NaN];if((0,window.isNaN)(a.Zt))for(a.Zt=0,a.gw=0,a.eI=0,a.UH=0,a.iB=0,c=e.get(0),d=f.get(0),b=1;b<a.vb+1;b++){var l=c;var m=d;c=e.get(b);d=f.get(b);var p=h.get(b-1);Oja(a,p,c,l,d,m,0,0,0)}else c=
e.get(-1),l=e.get(-2),d=f.get(-1),m=f.get(-2),p=h.get(-2),Oja(a,p,c,l,d,m,a.eI/a.vb,a.UH/a.vb,a.iB/a.vb);a.RO?a.iB?(h=100*a.eI/a.iB,f=100*a.UH/a.iB,e=0<h+f?100*Math.abs(h-f)/(h+f):0):e=f=h=0:(h=a.Zt,f=a.gw,e=100*Math.abs(h-f)/(h+f));h=[h,f,e];e=h[0];f=h[1];h=h[2];if((0,window.isNaN)(h))return[e,f,window.NaN];k.enqueue(h);if(k.Dg()<a.BB)return[e,f,window.NaN];if((0,window.isNaN)(a.Au)){for(b=h=0;b<a.BB;b++)h+=k.get(b);h/=a.BB;a.Au=h}else k=k.get(-1),a.Au=a.RO?a.Au+(k-a.Au)/a.BB:a.Au+a.e9*(k-a.Au);
return[e,f,a.Au]},Qja=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low"));c=Pja(b,c,d,e);a.set("pdiResult",c[0]);a.set("ndiResult",c[1]);a.set("adxResult",c[2])},Rja=function(a,b,c,d){a=a.Wd().Dc(a);a.Lf(Mja(b,c,d));a.Mf(Nja);a.Kf(Qja);a.bd("pdiResult");a.bd("ndiResult");a.bd("adxResult");return a},W1=function(a){p1.call(this,a);this.b=$.O(a[2],14,!1);this.g=$.O(a[3],14,!1);this.j=$.n(a[4])?!!a[4]:!0;q1(this,"pdi",a[5]);q1(this,"ndi",a[6]);q1(this,"adx",a[7]);r1(this)},
X1=function(a){p1.call(this,a);this.b=$.O(a[2],20,!1);q1(this,"main",a[3]);r1(this)},Sja=function(a,b,c){a=$.O(a,20,!1);b=$.O(b,10,!1);c=L_(c,"ema");if("ema"==c){var d=B1;var e=D1}else d=E1,e=G1;return{vb:a,Un:b,Hk:c,ap:d(a),io:e,dispose:function(){this.ap.dispose()}}},Tja=function(a){"ema"==a.Hk?C1(a.ap):F1(a.ap)},Uja=function(a,b){if((0,window.isNaN)(b))return[window.NaN,window.NaN];var c=a.io(a.ap,b);return[c*(1+a.Un/100),c*(1-a.Un/100)]},Vja=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");
c=$.N(c);c=Uja(b,c);a.set("upperResult",c[0]);a.set("lowerResult",c[1])},Wja=function(a,b,c,d){a=a.Wd().Dc(a);a.Lf(Sja(b,c,d));a.Mf(Tja);a.Kf(Vja);a.bd("upperResult");a.bd("lowerResult");return a},Y1=function(a){p1.call(this,a);this.g=$.O(a[2],20,!1);this.j=$.O(a[3],10,!1);this.b=L_(a[4],"ema");q1(this,"upper",a[5]);q1(this,"lower",a[6]);r1(this)},Xja=function(){return{cI:v1(1),Co:v1(1),dispose:function(){this.cI.clear();this.Co.clear()}}},Yja=function(){this.cI.clear();this.Co.clear()},Zja=function(a,
b,c,d,e){if((0,window.isNaN)(b)||(0,window.isNaN)(c)||(0,window.isNaN)(d)||(0,window.isNaN)(e))return[window.NaN,window.NaN,window.NaN,window.NaN];if(a.cI.Dg()){var f=a.cI.get(0);var h=a.Co.get(0);f=(f+h)/2;b=(b+c+d+e)/4;h=Math.max(c,f,b);var k=Math.min(d,f,b)}else f=b,h=c,k=d,b=(b+c+d+e)/4;a.cI.enqueue(f);a.Co.enqueue(b);return[f,h,k,b]},$ja=function(a,b){var c=$.N(a.get("open")),d=$.N(a.get("high")),e=$.N(a.get("low")),f=$.N(a.get("close"));c=Zja(b,c,d,e,f);a.set("haOpen",c[0]);a.set("haHigh",c[1]);
a.set("haLow",c[2]);a.set("haClose",c[3])},aka=function(a){a=a.Wd().Dc(a);a.Lf(Xja());a.Mf(Yja);a.Kf($ja);a.bd("haOpen");a.bd("haHigh");a.bd("haLow");a.bd("haClose");return a},Z1=function(a){p1.call(this,a);q1(this,"main",a[2],"candlestick");r1(this)},bka=function(a,b,c){a=$.O(a,9,!1);b=$.O(b,26,!1);c=$.O(c,52,!1);var d=Math.max(a,b,c);return{rK:a,oF:b,LM:c,Oe:v1(d),qf:v1(d),HU:v1(b),IU:v1(b),dispose:function(){this.Oe.clear();this.qf.clear();this.HU.clear();this.IU.clear()}}},cka=function(a){a.Oe.clear();
a.qf.clear();a.HU.clear();a.IU.clear()},eka=function(a,b){var c=$.N(a.get("high")),d=$.N(a.get("low")),e=a.la();c=dka(b,c,d,e,a);a.set("conversionResult",c[0]);a.set("baseResult",c[1]);a.set("spanAResult",c[2]);a.set("spanBResult",c[3]);a.set("laggingResult",c[4])},gka=function(a,b,c,d){fka=a=a.Wd().Dc(a);a.Lf(bka(b,c,d));a.Mf(cka);a.Kf(eka);a.bd("conversionResult");a.bd("baseResult");a.bd("spanAResult");a.bd("spanBResult");a.bd("laggingResult");return a},dka=function(a,b,c,d,e){var f=window.NaN,
h=window.NaN,k=window.NaN,l=window.NaN,m=window.NaN,p,q=e.hf;for(p=0;p<a.oF;p++)q&&q.next?q=q.next:q=null;q&&(m=$.N((new L0(q,fka,e.b,d)).get("close")));if(!(0,window.isNaN)(b)||!(0,window.isNaN)(c)){a.Oe.enqueue(b);a.qf.enqueue(c);d=a.Oe.Dg();if(d>=a.rK){b=[];c=[];for(p=d-a.rK;p<d;p++)b.push(a.Oe.get(p)),c.push(a.qf.get(p));b=Math.max.apply(null,b);c=Math.min.apply(null,c);f=(b+c)/2}if(d>=a.oF){b=[];c=[];for(p=d-a.oF;p<d;p++)b.push(a.Oe.get(p)),c.push(a.qf.get(p));b=Math.max.apply(null,b);c=Math.min.apply(null,
c);h=(b+c)/2}if(d>=a.LM){b=[];c=[];for(p=d-a.LM;p<d;p++)b.push(a.Oe.get(p)),c.push(a.qf.get(p));b=Math.max.apply(null,b);c=Math.min.apply(null,c);k=a.HU.enqueue((f+h)/2);l=a.IU.enqueue((b+c)/2)}}return[f,h,k,l,m]},$1=function(a){p1.call(this,a);this.g=$.O(a[2],9,!1);this.b=$.O(a[3],26,!1);this.j=$.O(a[4],52,!1);q1(this,"conversion",a[5]);q1(this,"base",a[6]);q1(this,"leading",a[7],"range-area");q1(this,"lagging",a[8]);r1(this);this.e2().fill(function(){var a=this.getData("low");return this.getData("high")>=
a?{color:this.sourceColor,opacity:.2}:{color:$.Il(this.sourceColor,.7),opacity:.2}})},a2=function(a,b,c,d,e){a=$.O(a,14,!1);d=L_(d,"sma");b=$.O(b,1,!1);e=L_(e,"sma");c=$.O(c,3,!1);if("sma"==d){var f=E1;var h=G1}else f=B1,h=D1;if("sma"==e){var k=E1;var l=G1}else k=B1,l=D1;return{Oe:v1(a),qf:v1(a),kD:a,qH:d,EM:f(b),Wea:h,IF:e,GK:k(c),Yba:l,dispose:function(){this.Oe.clear();this.qf.clear();this.EM.dispose();this.GK.dispose()}}},b2=function(a){a.Oe.clear();a.qf.clear();"sma"===a.qH?F1(a.EM):C1(a.EM);
"sma"===a.IF?F1(a.GK):C1(a.GK)},c2=function(a,b,c,d){if((0,window.isNaN)(b)||(0,window.isNaN)(c)||(0,window.isNaN)(d))return[window.NaN,window.NaN];var e=a.Oe,f=a.qf;e.enqueue(c);f.enqueue(d);var h;if(e.Dg()<a.kD)b=window.NaN;else{c=Number.MAX_VALUE;d=-Number.MIN_VALUE;for(h=0;h<a.kD;h++){var k=e.get(h);var l=f.get(h);d<k&&(d=k);c>l&&(c=l)}b=100*(b-c)/(d-c)}b=a.Wea(a.EM,b);a=a.Yba(a.GK,b);return[b,a]},hka=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low"));c=c2(b,c,d,
e);d=c[1];a.set("kResult",c[0]);a.set("dResult",d)},ika=function(a,b,c,d,e,f){a=a.Wd().Dc(a);a.Lf(a2(b,c,d,e,f));a.Mf(b2);a.Kf(hka);a.bd("kResult");a.bd("dResult");return a},jka=function(a,b,c,d,e,f,h){a=$.O(a,14,!1);d=L_(d,"ema");b=$.O(b,5,!1);e=L_(e,"ema");c=$.O(c,5,!1);var k=$.N(f);f=(0,window.isNaN)(k)?-2:k;k=$.N(h);h=(0,window.isNaN)(k)?3:k;a=a2(a,b,c,d,e);a.vU=f;a.zR=h;return a},kka=function(a){b2(a)},lka=function(a,b,c,d){if((0,window.isNaN)(b)||(0,window.isNaN)(c)||(0,window.isNaN)(d))return[window.NaN,
window.NaN,window.NaN];b=c2(a,b,c,d);b.push(a.vU*b[0]+a.zR*b[1]);return b},mka=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low"));c=lka(b,c,d,e);d=c[1];e=c[2];a.set("kResult",c[0]);a.set("dResult",d);a.set("jResult",e)},nka=function(a,b,c,d,e,f,h,k){a=a.Wd().Dc(a);a.Lf(jka(b,c,d,e,f,h,k));a.Mf(kka);a.Kf(mka);a.bd("kResult");a.bd("dResult");a.bd("jResult");return a},d2=function(a){p1.call(this,a);this.j=$.O(a[2],14,!1);this.b=$.O(a[3],5,!1);this.g=$.O(a[4],5,!1);this.N=
L_(a[5],"ema");this.G=L_(a[6],"ema");var b=$.N(a[7]);this.U=(0,window.isNaN)(b)?-2:b;b=$.N(a[8]);this.O=(0,window.isNaN)(b)?3:b;q1(this,"kSeries",a[9]);q1(this,"dSeries",a[10]);q1(this,"jSeries",a[11]);r1(this)},oka=function(a,b,c,d){a=$.O(a,20,!1);b=$.O(b,10,!1);d=$.O(d,2,!1);c=L_(c,"ema");if("sma"==c){var e=E1;var f=G1}else e=B1,f=D1;return{ap:e(a),io:f,GQ:I1(b),XM:d,AH:a,EZ:b,Hk:c,dispose:function(){this.ap.dispose();this.GQ.dispose()}}},pka=function(a){"sma"==a.Hk?F1(a.ap):C1(a.ap);J1(a.GQ)},
rka=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low"));c=qka(b,c,d,e);a.set("maResult",c[0]);a.set("upperResult",c[1]);a.set("lowerResult",c[2])},ska=function(a,b,c,d,e){a=a.Wd().Dc(a);a.Lf(oka(b,c,d,e));a.Mf(pka);a.Kf(rka);a.bd("maResult");a.bd("upperResult");a.bd("lowerResult");return a},qka=function(a,b,c,d){var e=a.io(a.ap,(c+d+b)/3);b=K1(a.GQ,b,c,d);return[e,e+a.XM*b,e-a.XM*b]},e2=function(a){p1.call(this,a);this.b=$.O(a[2],20,!1);this.j=$.O(a[3],10,!1);this.g=L_(a[4],
"ema");this.G=$.O(a[5],2,!1);q1(this,"ma",a[6]);q1(this,"range",a[7],"range-area");r1(this);this.hZ().fill(function(){return $.Ml(this.sourceColor,.1)})},tka=function(a,b,c){a=$.O(a,12,!1);b=$.O(b,26,!1);if(a>b){var d=a;a=b;b=d}return{lS:B1(a),KW:B1(b),FW:B1($.O(c,9,!1)),dispose:function(){this.lS.dispose();this.KW.dispose();this.FW.dispose()}}},uka=function(a){C1(a.lS);C1(a.KW);C1(a.FW)},wka=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);c=vka(b,c);var d=c[1],e=c[2];a.set("macdResult",
c[0]);a.set("signalResult",d);a.set("histogramResult",e)},vka=function(a,b){if((0,window.isNaN)(b))return[window.NaN,window.NaN,window.NaN];var c=D1(a.lS,b);var d=D1(a.KW,b),e=D1(a.FW,c-d);if((0,window.isNaN)(e))var f=e=c=window.NaN;else f=c-d,c=c-d-e;return[f,e,c]},xka=function(a,b,c,d){a=a.Wd().Dc(a);a.Lf(tka(b,c,d));a.Mf(uka);a.Kf(wka);a.bd("macdResult");a.bd("signalResult");a.bd("histogramResult");return a},f2=function(a){p1.call(this,a);this.b=$.O(a[2],12,!1);this.j=$.O(a[3],26,!1);this.g=$.O(a[4],
9,!1);q1(this,"macd",a[5]);q1(this,"signal",a[6]);q1(this,"histogram",a[7],"column");r1(this)},yka=function(a){a=$.O(a,10,!1);return{wN:v1(a),vu:v1(a),vb:a,dispose:function(){this.wN.clear();this.vu.clear()}}},zka=function(a){a.wN.clear();a.vu.clear();a.nd=window.NaN},Aka=function(a,b,c,d,e){if((0,window.isNaN)(b)||(0,window.isNaN)(c)||(0,window.isNaN)(d)||(0,window.isNaN)(e))return window.NaN;c=a.wN.enqueue(b+c+d);d=a.vu.enqueue(e);e=a.wN;b=a.vu;if(e.Dg()<a.vb)return window.NaN;if((0,window.isNaN)(a.nd)){var f=
c=0;d=e.get(0);for(var h=1;h<a.vb;h++){var k=e.get(h);var l=k*b.get(h);k!=d&&(k>d?c+=l:f+=l,d=k)}a.DU=0;a.FD=c;a.ZH=f;e=100*c/(c+f)}else d*=c,0<a.DU?a.FD-=d:0>a.DU&&(a.ZH-=d),d=e.get(-2),k=e.get(-1),l=k*b.get(-1),k>d?a.FD+=l:k<d&&(a.ZH+=l),a.DU=e.get(0)-c,e=100*a.FD/(a.FD+a.ZH);return a.nd=e},Bka=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low")),f=$.N(a.get("volume"));c=Aka(b,c,d,e,f);a.set("result",c)},Cka=function(a,b){var c=a.Wd().Dc(a);c.Lf(yka(b));c.Mf(zka);c.Kf(Bka);
c.bd("result");return c},g2=function(a){p1.call(this,a);this.b=$.O(a[2],10,!1);q1(this,"series",a[3]);r1(this)},Dka=function(a){a=$.O(a,20,!1);return{$b:v1(a),vb:a,nd:window.NaN,dispose:function(){this.$b.clear()}}},Eka=function(a){a.$b.clear();a.nd=window.NaN},Fka=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);if((0,window.isNaN)(c))var d=window.NaN;else{d=b.vb;var e=b.$b,f=b.nd;e.enqueue(c);if(e.Dg()<d)f=window.NaN;else if((0,window.isNaN)(f)){for(c=f=0;c<d;c++)f+=e.get(c);
f/=d}else e=e.get(-1),f+=(e-f)/d;d=f;b.nd=d}a.set("result",d)},Gka=function(a,b){var c=a.Wd().Dc(a);c.Lf(Dka(b));c.Mf(Eka);c.Kf(Fka);c.bd("result");return c},h2=function(a){p1.call(this,a);this.b=$.O(a[2],20,!1);q1(this,"main",a[3]);r1(this)},Hka=function(a){a=$.O(a,14,!1);return{$b:v1(a+1),vb:a,dispose:function(){this.$b.clear()}}},Ika=function(a){a.$b.clear();a.nd=window.NaN},Jka=function(a,b){if((0,window.isNaN)(b))return window.NaN;var c=a.$b;c.enqueue(b);if(c.Dg()<a.vb+1)return window.NaN;c=
100*b/c.get(0);return a.nd=c},Kka=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);c=Jka(b,c);a.set("result",c)},Lka=function(a,b){var c=a.Wd().Dc(a);c.Lf(Hka(b));c.Mf(Ika);c.Kf(Kka);c.bd("result");return c},i2=function(a){p1.call(this,a);this.b=$.O(a[2],14,!1);q1(this,"series",a[3]);r1(this)},Mka=function(){return{wy:window.NaN,iI:window.NaN,dispose:function(){}}},Nka=function(a){a.wy=window.NaN;a.iI=window.NaN},Pka=function(a,b){var c=a.get("close");c=$.n(c)?c:a.get("value");
var d=a.get("volume");d=$.N(d);c=$.N(c);c=Oka(b,c,d);a.set("result",c)},Qka=function(a){a=a.Wd().Dc(a);a.Lf(Mka());a.Mf(Nka);a.Kf(Pka);a.bd("result");return a},Oka=function(a,b,c){if((0,window.isNaN)(b)||(0,window.isNaN)(c))return window.NaN;(0,window.isNaN)(a.wy)?(a.iI=b,a.wy=c):(b>a.iI?a.wy+=c:b<a.iI&&(a.wy-=c),a.iI=b);return a.wy},j2=function(a){p1.call(this,a);q1(this,"main",a[2]);r1(this)},Rka=function(a,b,c){a=$.O(a,12,!1);b=$.O(b,26,!1);c=$.O(c,9,!1);return{v4:a,j2:b,x4:c,EW:B1(a),KU:B1(b),
LW:B1(c),dispose:function(){this.EW.dispose();this.KU.dispose();this.LW.dispose()}}},Ska=function(a){C1(a.EW);C1(a.KU);C1(a.LW)},Tka=function(a,b){if((0,window.isNaN)(b))return[window.NaN,window.NaN,window.NaN];var c=D1(a.EW,b),d=D1(a.KU,b);c=(c-d)/d*100;d=D1(a.LW,c);return[c,d,c-d]},Uka=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);c=Tka(b,c);a.set("ppoResult",c[0]);a.set("signalResult",c[1]);a.set("histogramResult",c[2])},Vka=function(a,b,c,d){a=a.Wd().Dc(a);a.Lf(Rka(b,c,
d));a.Mf(Ska);a.Kf(Uka);a.bd("ppoResult");a.bd("signalResult");a.bd("histogramResult");return a},k2=function(a){p1.call(this,a);this.g=$.O(a[2],12,!1);this.b=$.O(a[3],26,!1);this.j=$.O(a[4],9,!1);q1(this,"ppoSeries",a[5]);q1(this,"signalSeries",a[6]);q1(this,"histogramSeries",a[7],"column");r1(this)},Wka=function(a,b,c){return{Oe:v1(2),qf:v1(2),TP:$.N(a)||.02,q9:$.N(b)||.02,AY:$.N(c)||.2,dispose:function(){this.Oe.clear();this.qf.clear()}}},Xka=function(a){a.Oe.clear();a.qf.clear();a.nd=window.NaN;
a.Hp=window.NaN;a.Fp=window.NaN;a.alpha=a.TP},Yka=function(a){a.alpha+=a.q9;a.alpha>a.AY&&(a.alpha=a.AY)},Zka=function(a){var b=a.nd+a.alpha*(a.Hp-a.nd);b>a.qf.get(-2)?b=a.qf.get(-2):!(0,window.isNaN)(a.OR)&&b>a.OR&&(b=a.OR);b>a.qf.get(-1)&&(b=a.Hp,a.Hp=window.NaN,a.Fp=window.NaN,a.AM=!1,a.alpha=a.TP);a.nd=b},$ka=function(a){var b=a.nd+a.alpha*(a.Fp-a.nd);b<a.Oe.get(-2)?b=a.Oe.get(-2):!(0,window.isNaN)(a.NR)&&b<a.NR&&(b=a.NR);b<a.Oe.get(-1)&&(b=a.Fp,a.Hp=window.NaN,a.Fp=window.NaN,a.AM=!0,a.alpha=
a.TP);a.nd=b},ala=function(a){var b=a.Oe.get(-2),c=a.qf.get(-2);(0,window.isNaN)(a.Hp)?a.Hp=b:a.Hp<b&&(a.Hp=b,Yka(a));if((0,window.isNaN)(a.Fp)||a.Fp>c)a.Fp=c},bla=function(a){var b=a.Oe.get(-2),c=a.qf.get(-2);(0,window.isNaN)(a.Fp)?a.Fp=c:a.Fp>c&&(a.Fp=c,Yka(a));if((0,window.isNaN)(a.Hp)||a.Hp<b)a.Hp=b},cla=function(a,b,c){if((0,window.isNaN)(b)||(0,window.isNaN)(c))return window.NaN;b=a.NR=a.Oe.enqueue(b);a.OR=a.qf.enqueue(c);if(2>a.Oe.Dg())return window.NaN;(0,window.isNaN)(a.nd)?(a.Hp=window.NaN,
a.Fp=window.NaN,a.AM=b<=a.Oe.get(0),a.AM?(ala(a),a.nd=a.Hp,Zka(a)):(bla(a),a.nd=a.Fp,$ka(a))):a.AM?(ala(a),Zka(a)):(bla(a),$ka(a));return a.nd},dla=function(a,b){var c=$.N(a.get("high")),d=$.N(a.get("low"));c=cla(b,c,d);a.set("result",c)},ela=function(a,b,c,d){a=a.Wd().Dc(a);a.Lf(Wka(b,c,d));a.Mf(Xka);a.Kf(dla);a.bd("result");return a},l2=function(a){p1.call(this,a);this.j=$.N(a[2])||.02;this.g=$.N(a[3])||.02;this.b=$.N(a[4])||.2;q1(this,"series",a[5],"marker");r1(this)},fla=function(a){a=$.O(a,20,
!1);return{$b:v1(a+1),vb:a,dispose:function(){this.$b.clear()}}},gla=function(a){a.$b.clear()},ila=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);c=hla(b,c);a.set("result",c)},jla=function(a,b){var c=a.Wd().Dc(a);c.Lf(fla(b));c.Mf(gla);c.Kf(ila);c.bd("result");return c},hla=function(a,b){if((0,window.isNaN)(b))return window.NaN;var c=window.NaN;a.$b.enqueue(b);if(a.$b.Dg()>=a.vb+1){c=a.$b.get(0);for(var d=0,e=1;e<a.vb+1;e++){var f=a.$b.get(e);f>c&&d++;c=f}c=d/a.vb*100}return c},
m2=function(a){p1.call(this,a);this.b=$.O(a[2],20,!1);q1(this,"main",a[3]);r1(this)},kla=function(a){a=$.O(a,20,!1);return{Oe:v1(a),qf:v1(a),vb:a,dispose:function(){this.Oe.clear();this.qf.clear()}}},lla=function(a){a.Oe.clear();a.qf.clear()},mla=function(a,b,c){if((0,window.isNaN)(b)||(0,window.isNaN)(c))return[window.NaN,window.NaN,window.NaN];var d=window.NaN,e=window.NaN,f=window.NaN;if(a.Oe.Dg()>=a.vb){d=a.Oe.get(0);f=a.qf.get(0);for(var h,k=1;k<a.vb;k++)e=a.Oe.get(k),h=a.qf.get(k),e>d&&(d=e),
h<f&&(f=h);e=(d+f)/2}a.Oe.enqueue(b);a.qf.enqueue(c);return[d,e,f]},nla=function(a,b){var c=$.N(a.get("high")),d=$.N(a.get("low"));c=mla(b,c,d);a.set("upperResult",c[0]);a.set("middleResult",c[1]);a.set("lowerResult",c[2])},ola=function(a,b){var c=a.Wd().Dc(a);c.Lf(kla(b));c.Mf(lla);c.Kf(nla);c.bd("upperResult");c.bd("middleResult");c.bd("lowerResult");return c},n2=function(a){p1.call(this,a);this.b=$.O(a[2],20,!1);q1(this,"middle",a[3]);q1(this,"range",a[4],"range-area");r1(this);this.iZ().fill(function(){return $.Ml(this.sourceColor,
.1)})},pla=function(a){return{MQ:$.O(a,0,!1),gG:window.NaN,dispose:function(){this.gG=window.NaN}}},qla=function(){this.gG=window.NaN},sla=function(a,b){var c=a.get("priceA");c=$.N(c);var d=a.get("priceB");d=$.N(d);c=rla(b,c,d,a.hf.key);a.set("result",c)},tla=function(a,b){var c=a.Wd().Dc(a);c.Lf(pla(b));c.Mf(qla);c.Kf(sla);c.bd("result");return c},rla=function(a,b,c,d){if((0,window.isNaN)(b)||(0,window.isNaN)(c))return window.NaN;(0,window.isNaN)(a.gG)&&d>=a.MQ&&(a.gG=b/c);return b/c/a.gG*100},o2=
function(a){p1.call(this,a);var b=$.cs(a[2]);this.b=b?b.getTime():0;this.g=a[2]||0;q1(this,"main",a[3]);r1(this)},ula=function(a){a=$.O(a,12,!1);return{$b:v1(a),vb:a,dispose:function(){this.$b.clear()}}},vla=function(a){a.$b.clear()},xla=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);c=wla(b,c);a.set("result",c)},yla=function(a,b){var c=a.Wd().Dc(a);c.Lf(ula(b));c.Mf(vla);c.Kf(xla);c.bd("result");return c},wla=function(a,b){if((0,window.isNaN)(b))return window.NaN;a.$b.enqueue(b);
var c=window.NaN;if(a.$b.Dg()>=a.vb){c=0;for(var d=a.vb,e=0;e<d;e++){for(var f=d-e,h=a,k=d,l=h.$b.get(e),m=1,p=0,q=0;q<k;q++){var r=h.$b.get(q);l<r?m++:l==r&&p++}c+=Math.pow(f-(m+(p-1)/2),2)}c=100*(1-6*c/(a.vb*(Math.pow(a.vb,2)-1)))}return c},p2=function(a){p1.call(this,a);this.b=$.O(a[2],12,!1);q1(this,"main",a[3]);r1(this)},zla=function(a){a=$.O(a,14,!1);return{$b:v1(a),vb:a,Ny:window.NaN,vx:window.NaN,dispose:function(){this.$b.clear()}}},Ala=function(a){a.$b.clear();a.Ny=window.NaN;a.vx=window.NaN},
Bla=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);var d=(0,window.isNaN)(c);d||b.$b.enqueue(c);if(d||b.$b.Dg()<b.vb)c=window.NaN;else{if((0,window.isNaN)(b.Ny)){var e=0,f=0;d=b.$b.get(0);for(var h=1;h<b.vb;h++)c=d,d=b.$b.get(h),d>c?e+=d-c:d<c&&(f+=c-d);b.Ny=e;b.vx=f}else d=b.$b.get(-1),c=b.$b.get(-2),e=(b.vb-1)/b.vb,b.Ny*=e,b.vx*=e,d>c?b.Ny+=d-c:d<c&&(b.vx+=c-d);c=b.vx?100-100/(1+b.Ny/b.vx):100}a.set("result",c)},Cla=function(a,b){var c=a.Wd().Dc(a);c.Lf(zla(b));c.Mf(Ala);
c.Kf(Bla);c.bd("result");return c},q2=function(a){p1.call(this,a);this.b=$.O(a[2],14,!1);q1(this,"main",a[3]);r1(this)},Dla=function(a){a=$.O(a,20,!1);return{$b:v1(a+1),vb:a,dispose:function(){this.$b.clear()}}},Ela=function(a){a.$b.clear()},Fla=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);var d=(0,window.isNaN)(c);d||b.$b.enqueue(c);d||b.$b.Dg()<=b.vb?c=window.NaN:(c=b.$b.get(0),c=100*(b.$b.get(-1)-c)/c);a.set("result",c)},Gla=function(a,b){var c=a.Wd().Dc(a);c.Lf(Dla(b));
c.Mf(Ela);c.Kf(Fla);c.bd("result");return c},r2=function(a){p1.call(this,a);this.b=$.O(a[2],20,!1);q1(this,"main",a[3]);r1(this)},s2=function(a){p1.call(this,a);this.b=$.O(a[2],20,!1);q1(this,"main",a[3]);r1(this)},t2=function(a){p1.call(this,a);this.j=$.O(a[2],14,!1);this.b=$.O(a[3],1,!1);this.g=$.O(a[4],3,!1);this.N=L_(a[5],"sma");this.G=L_(a[6],"sma");q1(this,"kSeries",a[7]);q1(this,"dSeries",a[8]);r1(this)},Hla=function(a,b,c,d){a=$.O(a,15,!1);b=$.O(b,9,!1);if("ema"===c){var e=C1;c=D1;var f=B1}else e=
F1,c=G1,f=E1;if("ema"===d){var h=C1;d=D1;var k=B1}else h=F1,d=G1,k=E1;return{vb:a,hO:b,nd:window.NaN,tS:f(a),jW:f(a),EO:f(a),GW:k(b),io:c,ffa:d,gfa:h,OU:e,dispose:function(){this.tS.dispose();this.jW.dispose();this.EO.dispose();this.GW.dispose()}}},Ila=function(a){a.nd=window.NaN;a.OU(a.tS);a.OU(a.jW);a.OU(a.EO);a.gfa(a.GW)},Kla=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);c=Jla(b,c);a.set("trix",c[0]);a.set("signal",c[1])},Lla=function(a,b,c,d,e){a=a.Wd().Dc(a);a.Lf(Hla(b,
c,d,e));a.Mf(Ila);a.Kf(Kla);a.bd("trix");a.bd("signal");return a},Jla=function(a,b){if((0,window.isNaN)(b))return[window.NaN,window.NaN];a.nd=a.EO.nd;var c=a.io(a.tS,b);c=a.io(a.jW,c);c=(a.io(a.EO,c)-a.nd)/a.nd*100;var d=a.ffa(a.GW,c);return[c,d]},u2=function(a){p1.call(this,a);this.b=$.O(a[2],15,!1);this.g=$.O(a[3],9,!1);this.G=L_(a[4],"ema");this.j=L_(a[5],"ema");q1(this,"trix",a[6]);q1(this,"signal",a[7]);r1(this)},Mla=function(){return{BK:0,AK:0,dispose:function(){}}},Nla=function(a){a.BK=0;a.AK=
0},Ola=function(a,b,c,d,e){if((0,window.isNaN)(b)||(0,window.isNaN)(c)||(0,window.isNaN)(d)||(0,window.isNaN)(e))return window.NaN;a.BK+=e;a.AK+=(b+c+d)*e/3;return a.AK/a.BK},Pla=function(a,b){var c=$.N(a.get("high")),d=$.N(a.get("low")),e=$.N(a.get("close")),f=$.N(a.get("volume"));c=Ola(b,c,d,e,f);a.set("vwapValue",c)},Qla=function(a){a=a.Wd().Dc(a);a.Lf(Mla());a.Mf(Nla);a.Kf(Pla);a.bd("vwapValue");return a},v2=function(a){p1.call(this,a);q1(this,"vwapSeries",a[2]);r1(this)},Rla=function(a,b){var c=
$.O(a,20,!1),d=L_(b,"sma");if("ema"==d){var e=B1;var f=D1}else e=E1,f=G1;return{AH:c,Hk:d,ap:e(c),io:f,dispose:function(){this.ap.dispose()}}},Sla=function(a){"ema"==a.Hk?C1(a.ap):F1(a.ap)},Tla=function(a,b){if((0,window.isNaN)(b))return[window.NaN,window.NaN];var c=a.io(a.ap,b);return[b,c]},Ula=function(a,b){var c=$.N(a.get("volume"));c=Tla(b,c);a.set("volumeResult",c[0]);a.set("maResult",c[1])},Vla=function(a,b,c){a=a.Wd().Dc(a);a.Lf(Rla(b,c));a.Mf(Sla);a.Kf(Ula);a.bd("volumeResult");a.bd("maResult");
return a},w2=function(a){p1.call(this,a);this.b=$.O(a[2],20,!1);this.g=L_(a[3],"sma");q1(this,"volumeSeries",a[4],"stick");q1(this,"maSeries",a[5]);r1(this)},Wla=function(a){a=$.O(a,10,!1);return{Co:v1(a),Oe:v1(a),qf:v1(a),vb:a,dispose:function(){this.Co.clear();this.Oe.clear();this.qf.clear()}}},Xla=function(a){a.Co.clear();a.Oe.clear();a.qf.clear();a.nd=window.NaN},Yla=function(a,b,c,d){if((0,window.isNaN)(b)||(0,window.isNaN)(c)||(0,window.isNaN)(d))return window.NaN;a.Co.enqueue(b);a.Oe.enqueue(c);
a.qf.enqueue(d);if(a.Co.Dg()<a.vb)return window.NaN;c=Number.MAX_VALUE;b=-Number.MIN_VALUE;for(d=0;d<a.vb;d++){var e=a.Oe.get(d),f=a.qf.get(d);b<e&&(b=e);c>f&&(c=f)}b=-100*(b-a.Co.get(-1))/(b-c);return a.nd=b},Zla=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low"));c=Yla(b,c,d,e);a.set("result",c)},$la=function(a,b){var c=a.Wd().Dc(a);c.Lf(Wla(b));c.Mf(Xla);c.Kf(Zla);c.bd("result");return c},x2=function(a){p1.call(this,a);this.b=$.O(a[2],10,!1);q1(this,"series",a[3]);
r1(this)},ama=function(a){function b(a){return function(b){for(var c=[this],d=0;d<arguments.length;d++)c[d+1]=arguments[d];c=new y2[a](c);this.aD.push(c);return c}}a=a.prototype;for(var c in y2){var d=$.om(c);a[d]=b(c)}},B2=function(a){$.Y.call(this);this.Fa("chart");this.Ba=a;this.Ef=this.Ka=this.sb=null;this.Oa=[];this.aD=[];this.wc=null;this.Wf=[];this.cu=[];this.ec=null;this.ag=[];this.cg=[];this.eg=[];this.Lg=[];this.Mg=[];this.Wg=[];this.Xg=[];this.yl=this.wf=this.xj=null;this.Vm={};this.J1=
this.lH=this.L1=!1;this.zj=void 0;this.Xr=(0,$.pa)(function(){this.zj=void 0;if((0,window.isNaN)(this.yL))this.Ba.hX();else{var a=this.Ba,c=this.yL,d=this.DS,e=this.cda,f=this.dda;a.O=c;a.nb=d;a.Ra=e;a.eb=f;a.Tc=this;bma(a,c,d,e,f,this)}},this);this.mja=(0,$.pa)(function(){this.v5=void 0;var a=this.eP.anchor,c=this.eP.Wn,d=this.eP.Xba;this.eP=null;var e=this.Ba,f=e.Va();d=Math.min(d,1.9);$.K(f,z2)?(f=a.lastIndex-a.Ei,c*=f,f=f*(1-d)/2,d=e.hi(a.Ei-c-f),c=e.hi(a.lastIndex-c+f)):(f=a.Vv-a.Wr,c*=f,f=f*
(1-d)/2,d=a.Wr-c-f,c=a.Vv-c+f);d==e.b.b.yh&&c==e.b.b.Di||A2(e,d,c,a,void 0)},this);this.Aw=null;this.Kp("line");$.T(this.ua,[["pointWidth",128,1,0,this.ay],["maxPointWidth",128,1,0,this.ay],["minPointLength",128,1,0,this.IA],["baseline",128,1,0,this.Cha],["weight",4,9]])},C2=function(a,b){a.sc.ra(b,["touchstart","mousedown"],a.wfa)},E2=function(a){a.Mz();var b;if(a.J(128))for(b=0;b<a.Oa.length;b++){var c=a.Oa[b];c&&(c.O=xia(c.oa))}if(a.J(133124)){c=a.lb();(b=$.jr(a,"background"))&&b.ja(c);(b=$.jr(a,
"title"))&&b.enabled()&&(b.ja(c),c=b.qd());a.ec&&a.ec.enabled()&&($.V(a.ec),a.ec.ja(c),a.ec.da(!1),c=a.ec.qd(),a.B(512));var d;a.J(2048)?d=(0,window.isNaN)(a.hM)?w0(a.Ba.b):a.hM:d=window.NaN;var e=a.Gf();"outside"==e.i("positionMode")&&(D2(a,c,d),a.ta(64,!0),c=a.Gf().qd());var f=0,h=0,k=!e.i("enabled"),l="left"==e.i("position"),m="right"==e.i("position");for(b=0;b<a.Wf.length;b++){var p=a.Wf[b];if(p){$.V(p);var q=p.width();"left"==p.i("orientation")?k||!l?(p.ja(c.left-q-f,c.top,0,c.height),f+=q):
(p.ja(c),c=p.qd()):"right"==p.i("orientation")&&(k||!m?(h+=q,p.ja(c.left,c.top,c.width+h,c.height)):(p.ja(c),c=p.qd()));p.da(!1)}}0>c.width&&(c.width=1);0>c.height&&(c.top+=c.height,c.height=-c.height);a.ec&&a.ec.enabled()&&($.V(a.ec),a.ec.ja(c.left,c.top,c.width,c.height+a.ec.height()),a.ec.da(!1),c=a.ec.qd());"inside"==e.i("positionMode")&&(D2(a,c,d),a.ta(64,!0));a.Wh=c;a.xj.uf(a.Wh);a.$g().ja(c);a.$x(!0,!0);a.I(2052)}},D2=function(a,b,c,d,e){var f=a.Gf();$.V(f);f.P(a.Wa);b&&f.ja(b);b=e?"":a.E0(f.i("titleFormat"),
c,d);null===b||$.Rv(f.title(),b);e?($.Lw(f),f.kA(null)):f.kA()||f.kA(a);f.B(1040);f.$();f.da(!1)},F2=function(a,b){return $.n(b)?(a.L1=b,a):a.L1},G2=function(a,b){return $.n(b)?(a.lH=b,a):a.lH},H2=function(a,b){return $.n(b)?(a.J1=b,a):a.J1},I2=function(a,b,c,d,e,f){var h,k,l,m=[];for(h=0;h<b.length;h++)if(l=b[h]){var p=l.F();if(k=l.scale()){var q=$.oa(k);e[q]?p.scale=(0,$.za)(d,e[q]):(e[q]=k.F(),d.push(e[q]),p.scale=d.length-1)}if(q=l.axis())k=$.oa(q),k=(0,$.za)(f,k),0>k?(k=q.scale(),"layout"in p||
(l=!1,$.K(q,$.Dy)&&(q=q.i("orientation"),l="left"==q||"right"==q),p.layout=l?"horizontal":"vertical"),"scale"in p||(q=$.oa(k),e[q]?p.scale=(0,$.za)(d,e[q]):(e[q]=k.F(),d.push(e[q]),p.scale=d.length-1))):p.axis=k;m.push(p)}m.length&&(c[a]=m)},K2=function(a,b){$.ag.call(this,b.fa());this.b=a;this.zj=void 0;this.Xr=(0,$.pa)(function(){this.zj=void 0;var a=this.b.Ba,b=this.j,e=J2(a,this.ga,b);e&&A2(a,e[0],e[1],b,void 0)},this);$.bg(this);this.ra("start",this.Z$,!1,this);this.ra("beforedrag",this.tba,
!1,this);this.ra("end",this.Y$,!1,this)},L2=function(a,b,c){this.b=this.g=this.j=this.ga=null;a1.call(this,a,a,b,c)},M2=function(){},N2=function(){},P2=function(a){$.Yq.call(this);this.Jk=1E3;this.N=6;this.b=a;this.cw=this.ws=this.cp=this.zn=this.U=this.g=this.ba=this.ga=window.NaN;this.Im={};this.Gc=!1;this.j=this.O=null;this.ad=[];this.D=this.G=null;this.ya=O2(this,null);this.ka=O2(this,null);this.Qa(cma)},O2=function(a,b){var c=a.b.tn().Xn();c={unitType:c.unit,unitCount:c.count,intervalsCount:0};
"object"==$.ka(b)&&(null!=b.unitType&&(c.unitType=$.Tk(b.unitType)),0<b.unitCount&&(c.unitCount=+b.unitCount),b.intervalsCount&&(c.intervalsCount=Math.max(0,b.intervalsCount)));return c},dma=function(a,b){return!!(a.G&&b<a.G.max||a.D&&b>a.D.min)},Aia=function(a,b,c,d,e,f){b=$.Za(b,a.ga,a.ba);c=$.Za(c,a.ga,a.ba);var h=a.b.zf(b),k=a.b.zf(c);(0,window.isNaN)(h)||(0,window.isNaN)(k)?(a.zn=window.NaN,a.cp=window.NaN):(a.zn=b,a.cp=c);a.ws=h;a.cw=k;a.ng=d;a.count=e;a.Gc=!1;a.Im=f;a.ta(512)},fma=function(a){var b=
[];if($.A(a)){for(var c=0;c<a.length;c++){var d=a[c];if($.D(d)){var e=ema(d.minor);d=ema(d.major);e&&d&&b.push({qe:$.kp(e[0],e[1]),SH:e[0],RH:e[1],CH:d[0],BH:d[1]})}}b.sort(function(a,b){return a.qe-b.qe})}return b},ema=function(a){var b=null;if($.z(a)){b=$.Tk(a,null);var c=1}else $.D(a)&&(b=$.Tk(a.unit,null),c=$.O(a.count));return b?[b,c]:null},Q2=function(a){this.na=a;this.N=!0},R2=function(a,b,c){a=a.na;a=a.b.hi(Math.ceil(a.b.zf(b.getTime())));var d=b.getTime();b.add(c);b.getTime()<=a&&(d=$.Lo(a,
c,d),b.setTime(d),b.add(c));return d},z2=function(a){P2.call(this,a)},S2=function(a){$.lB.call(this);this.Ba=a;this.Oa=[];this.aD=[];this.Yc=this.Ea=this.NA=this.PA=this.ec=this.wc=null;this.Kp("line")},T2=function(a){for(var b=0;b<a.Oa.length;b++){var c=a.Oa[b];c&&c.B(1024)}a.ec&&a.ec.B(16);a.B(1536)},gma=function(){$0.call(this)},hma=function(a,b,c,d){for(var e=(new Q_(c.unitType,c.unitCount)).cj(),f=[],h=d?1:-1,k=1;k<=c.intervalsCount;k++){var l=[b+k*h*e];d?f.push(l):$.Da(f,l,0)}a.Fr(f);return f},
U2=function(a){$.Yq.call(this);this.Fa("stock.eventMarkers");this.Ba=a;this.ca=new $.Yx(this,g1,$.Zl,h1);this.ca.pa("connectorAfterInitCallback",P_);this.ca.Fa("defaultFontSettings","stock.eventMarkers.normal");this.xa=new $.Yx(this,i1,$.Zl,h1);$.W(this,"hovered",this.xa);this.Ca=new $.Yx(this,i1,$.Zl,h1);$.W(this,"selected",this.Ca);$.T(this.ua,j1);a.ra("eventmarkermouseover",this.gZ,!1,this);a.ra("eventmarkermousemove",this.gZ,!1,this);a.ra("eventmarkermouseout",this.daa,!1,this);a.ra("eventmarkerclick",
this.caa,!1,this)},V2=function(a,b,c,d,e,f){return{type:c?"eventmarkersselect":"eventmarkershover",status:(0,$.Wa)(d,function(a){return a.group.Vq(a.index)}),eventMarker:e.Vq(f),actualTarget:e,target:a,originalEvent:b}},W2=function(a,b){$.ag.call(this,a.fa());this.yB=a;this.qX=b;this.b=null;this.g=0},X2=function(a,b){$.qf.call(this);this.j=[];this.b=[];this.Ba=b;this.g=[];this.Kc=a;this.wd=0;this.G=[];this.U=[];this.N=[];this.D={};this.O=a.path().stroke("none");this.f=0},Y2=function(a){$.Yq.call(this);
this.Aa=a;this.ub=this.Aa.La.Dd();this.ub.ee("data-name","stock-splitters-layer");this.ub.zIndex(1E5);this.j=new X2(this.ub,this.Aa);this.j.ra("dragStart",function(){this.b=!0},void 0,this);this.j.ra("dragEnd",function(){this.b=!1},void 0,this);this.b=!1},Z2=function(){$.Yq.call(this);$.T(this.ua,[["fill",0,0]])},$2=function(){$.Yq.call(this);$.T(this.ua,[["stroke",0,0]])},a3=function(){$.Yq.call(this);$.T(this.ua,[["stroke",0,1]])},b3=function(){$.Yq.call(this);this.xa=this.ca=this.Tl=null;$.T(this.ua,
[["enabled",0,1]])},c3=function(a){$.gx.call(this);this.Fa("stock");this.f=[];this.g=null;this.b=new n0;$.L(this.b,this.Zba,this);this.ka=!1;this.cb=null;this.Ja=this.Ob=!1;this.G=this.eb=this.Ra=this.nb=this.O=window.NaN;this.yl=this.wf=null;this.D=$.fl.anychart.annotations;this.ab={};this.U=null;this.Bd=(0,$.pa)(this.ica,this);this.Ud=(0,$.pa)(this.jca,this);this.Ga=window.Infinity;this.xc=-1;var b=this.Zs=!!a;a={};var c=$.tG|4194304;c|=b&&1048576;b=b?2:1;a.area={Ab:1,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG,
$.QG,$.kH,$.fH,$.YG,$.TG,$.lH,$.gH,$.mH],Ib:null,Cb:null,zb:c,yb:"value",wb:"zero"};a.candlestick={Ab:5,Fb:b,Jb:[$.cH,$.gH,$.hH,$.lH],Ib:null,Cb:null,zb:c,yb:"high",wb:"low"};a.column={Ab:6,Fb:b,Jb:[$.tH,$.TG,$.aH,$.mH,$.cH,$.gH,$.hH,$.lH],Ib:null,Cb:null,zb:c,yb:"value",wb:"zero"};a["jump-line"]={Ab:19,Fb:2,Jb:[$.RG,$.iH,$.dH,$.SG],Ib:null,Cb:null,zb:c,yb:"value",wb:"value"};a.stick={Ab:20,Fb:2,Jb:[$.RG,$.iH,$.dH,$.SG],Ib:null,Cb:null,zb:c,yb:"value",wb:"zero"};a.line={Ab:8,Fb:1,Jb:[$.RG,$.jH,$.eH,
$.ZG],Ib:null,Cb:null,zb:c,yb:"value",wb:"value"};a.marker={Ab:9,Fb:b,Jb:[$.tH,$.TG,$.aH,$.mH,$.cH,$.gH,$.hH,$.lH],Ib:null,Cb:null,zb:c,yb:"value",wb:"value"};a.ohlc={Ab:10,Fb:b,Jb:[$.dH,$.iH],Ib:null,Cb:null,zb:c,yb:"high",wb:"low"};a["range-area"]={Ab:11,Fb:1,Jb:[$.QG,$.sH,$.oH,$.TG,$.nH,$.rH,$.VG,$.UG],Ib:null,Cb:null,zb:c,yb:"high",wb:"low"};a["range-column"]={Ab:12,Fb:b,Jb:[$.tH,$.TG,$.pH,$.qH,$.VG,$.UG],Ib:null,Cb:null,zb:c,yb:"high",wb:"low"};a["range-spline-area"]={Ab:13,Fb:1,Jb:[$.QG,$.oH,
$.sH,$.TG,$.nH,$.rH,$.VG,$.UG],Ib:null,Cb:null,zb:c,yb:"high",wb:"low"};a["range-step-area"]={Ab:14,Fb:1,Jb:[$.QG,$.oH,$.sH,$.TG],Ib:null,Cb:null,zb:c,yb:"high",wb:"low"};a.spline={Ab:15,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG],Ib:null,Cb:null,zb:c,yb:"value",wb:"value"};a["spline-area"]={Ab:16,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG,$.QG,$.kH,$.fH,$.YG,$.TG,$.lH,$.gH,$.mH],Ib:null,Cb:null,zb:c,yb:"value",wb:"zero"};a["step-area"]={Ab:17,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG,$.QG,$.kH,$.fH,$.YG,$.TG,$.lH,$.gH,$.mH],Ib:null,Cb:null,
zb:c,yb:"value",wb:"zero"};a["step-line"]={Ab:18,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG],Ib:null,Cb:null,zb:c,yb:"value",wb:"value"};a.hilo={Ab:31,Fb:2,Jb:[$.RG,$.oH,$.sH],Ib:null,Cb:null,zb:c,yb:"high",wb:"low"};this.Oi=a;this.N=null;$.T(this.ua,[["plotsManualBounds",4100,9],["zoomMarqueeFill",0,0],["zoomMarqueeStroke",0,0]]);this.I(65536)},ima=function(a,b,c,d){var e=$.N(b);(0,window.isNaN)(e)?e=0:(e=b,b=c);c=a.f[e];if(!c){var f=d3(a),h=0;if(f.length)for(c=0;c<f.length;c++){var k=f[c].i("weight");k&&(h+=
k)}c=new B2(a);c.Fa("stock.defaultPlotSettings",a.B_());c.$g().parent(a.$g());c.sg(!0);c.ib(a);h&&c.pa("weight",h/f.length);a.f[e]=c;$.L(c,a.iha,a);e>a.xc&&((f=a.f[a.xc])&&G2(f,!1),G2(c,!0),a.xc=e);e<a.Ga&&((f=a.f[a.Ga])&&F2(f,!1),F2(c,!0),a.Ga=e);a.B(4100,9)}return $.n(b)?(c.ia(!!d,b),a):c},d3=function(a){for(var b=[],c=0;c<a.f.length;c++){var d=a.f[c];d&&d.enabled()&&!d.fd&&b.push(d)}return b},jma=function(a,b){for(var c=(0,$.za)(a.f,b)-1;-1<c;c--){var d=a.f[c];if(d&&d.enabled())return d}return null},
kma=function(a,b,c){if(b!==c&&null!==b&&null!==c){var d=(0,$.za)(a.f,c);a.f[(0,$.za)(a.f,b)]=c;a.f[d]=b;G2(b)?(G2(b,!1),G2(c,!0)):G2(c)&&(G2(b,!0),G2(c,!1));F2(b)?(F2(b,!1),F2(c,!0)):F2(c)&&(F2(b,!0),F2(c,!1));a.B(4100,9)}},e3=function(a,b,c){$.V(a);var d=a.Va(),e=a.KB().Va();zia(a.b)&&(q0(a.b,d),q0(a.b,e));a.b.select(b,c,e)&&(Bia(a.b,d),a.$x());a.da(!0)},f3=function(a,b,c,d,e){if($.n(d))return a.dispatchEvent({type:b,source:c,firstSelected:d,lastSelected:e,firstKey:a.b.j,lastKey:a.b.D});d=a.tn();
return a.dispatchEvent({type:b,source:c,firstSelected:a.b.b.yh,lastSelected:a.b.b.Di,firstVisible:v0(a.b),lastVisible:w0(a.b),firstKey:a.b.j,lastKey:a.b.D,dataIntervalUnit:d.Xn().unit,dataIntervalUnitCount:d.Xn().count,dataIsGrouped:d.gD()})},lma=function(a,b,c){var d=b.bb(),e=$.oa(d),f=b.vc(),h=k0(b.oa,"value"),k=c[e];if(!k)for(k=c[e]=[],e=f.Gb(),c=0;c<e+2;c++)k.push({qw:0,jp:0,iw:0,pw:0,fp:0,hw:0,JD:!1,uD:!1,ys:!1});var l=(e="percent"==d.Um())?a.Y2:a.Zia,m=k[c=0],p=f0(b.oa);if(p)if(p.o("stackedMissing",
m.ys),m.ys=p.o("missing"))var q=window.NaN;else{var r=Number(p.Rq(h));l.call(a,d,p,m,r,null,window.NaN);q=r}else q=window.NaN;for(f.reset();f.advance();){var t=m;m=k[++c];f.o("stackedMissing",m.ys);(m.ys=f.o("missing"))?(t.uD=!0,q=window.NaN):(r=Number(f.Rq(h)),l.call(a,d,f,m,r,t,q),q=r)}if(p=g0(b.oa))m=k[++c],p.o("stackedMissing",m.ys),(m.ys=p.o("missing"))||(r=Number(p.Rq(h)),l.call(a,d,p,m,r,t,q));return e},g3=function(a,b,c){a.o("missing")?(a.o("stackedPositiveZero",Number(a.o("stackedPositiveZero"))/
c.jp*100||0),a.o("stackedNegativeZero",Number(a.o("stackedNegativeZero"))/c.fp*100||0)):(0<=Number(a.o("stackedValue"))?(c=c.jp,b.Uc(100)):(c=-c.fp,b.Uc(-100)),a.o("stackedZero",Number(a.o("stackedZero"))/c*100||0),a.o("stackedValue",Number(a.o("stackedValue"))/c*100||0))},mma=function(a,b,c){var d=$.oa(b),e=a.aa();c=c[d];b.Uc(0);var f=f0(a.oa);f&&(d=c[0],g3(f,b,d));var h=1;for(e.reset();e.advance();)d=c[h++],g3(e,b,d);if(f=g0(a.oa))d=c[h],g3(f,b,d)},nma=function(a,b,c,d){var e=0,f=[],h=[],k=[],l=
0,m=!1,p=c-b;for(c=0;c<a.length;c++){var q=a[c];$.V(q);var r=$.M(q.minHeight(),d);var t=$.M(q.maxHeight(),d);var u=$.M(q.height(),d);(0,window.isNaN)(u)?(l++,(0,window.isNaN)(r)||(h[c]=r,m=!0),(0,window.isNaN)(t)||(k[c]=t,m=!0)):((0,window.isNaN)(r)||(u=Math.max(u,r)),(0,window.isNaN)(t)||(u=Math.min(u,t)),e+=u,f[c]=u)}if(m&&0<l){var v=[];q=l*l;do for(m=!1,d=Math.max(3,(p-e)/l),c=0;c<a.length;c++)if(!(c in f))if(c in v){if(v[c]==h[c]&&h[c]<d){e-=h[c];l++;delete v[c];m=!0;break}if(v[c]==k[c]&&k[c]>
d){e-=k[c];l++;delete v[c];m=!0;break}}else{if(c in h&&h[c]>d){e+=v[c]=h[c];l--;m=!0;break}if(c in k&&k[c]<d){e+=v[c]=k[c];l--;m=!0;break}}while(m&&0<l&&q--)}d=Math.max(3,(p-e)/l);for(c=0;c<a.length;c++)q=a[c],c in f?u=f[c]:v&&c in v?u=v[c]:u=d,u=Math.round(u),e=q,l=e.jx!=b,e.jx=b,l&&e.ta(2),q.QA(u),q.da(!0),b+=u},oma=function(a,b){for(var c=!1,d=0;d<a.f.length;d++){var e=a.f[d];if(e&&!e.fd){e=e.Te();for(var f=0;f<e.length;f++)if(e[f].oa==b){c=!0;break}}}if(!c&&(c=a.b,d=$.oa(b).toFixed(0),d in c.ga)){b.g=
null;delete c.ga[d];delete c.ka[d];delete c.Ra[d];e={};for(d in c.ga){f=c.ga[d].Uq().Wd();var h=$.oa(f).toFixed(0);h in e||(e[h]=f)}for(d in c.U)if(!(d in e)){$.Zq(c.U[d],c.K4,c);break}c.U=e;c.f.g=!0;for(var k in c.O)c.O[k].g=!0;c.B(16384,16)}},h3=function(a){a.Ja=!0;pma(a)},i3=function(a){a.Ja=!1;qma(a)},qma=function(a){(0,window.isNaN)(a.O)||bma(a,a.O,a.nb,a.Ra,a.eb,a.Tc)},bma=function(a,b,c,d,e,f){if(!(a.Ja||0>b||1<b)){var h=a.Va().Fc(b),k=ria(a.b.g,h);if(!(0,window.isNaN)(k)){var l;(b=f&&f.enabled()?
f.HD(k):null)&&(l=rma(b,c));for(c=0;c<a.f.length;c++)a.f[c]&&(b=a.f[c],b.fo(k,h,f,e,b==f?l:void 0,b===f));a.Ob=!0;c=a.tn();f={hoveredDate:{value:k,type:"date-time"},rawHoveredDate:{value:h,type:"date-time"},dataIntervalUnit:{value:c.Xn().unit,type:"string"},dataIntervalUnitCount:{value:c.Xn().count,type:"number"},isGrouped:{value:c.gD()}};b=a.Xa();if(dma(a.cb,h))b.Oc();else if("union"==b.i("displayMode")&&"point"!=b.i("positionMode")){l=[];a=(0,$.Wa)(a.f,function(a){return{plot:a,infoBySeries:a&&
a.enabled()?a.HD(k):null}});for(c=0;c<a.length;c++)if(a[c]&&(h=a[c].infoBySeries))for(var m=0;m<h.length;m++){var p=h[m].series;p&&l.push({series:p})}$.zw(b,l,d,e,null,!1,f)}else"single"==b.i("displayMode")&&(l&&.03>l.distance?(a=l.series,$.zw(b,[{series:a}],d,e,a,!1,f)):b.Oc())}}},rma=function(a,b){for(var c=null,d=-1,e=window.Infinity,f,h=0;h<a.length;h++){var k=a[h],l=k.series;(k=k.point)&&l&&(l=l.bb(),k=$.So(k.get("value"),k.get("close"),k.get("high")),k=$.N(k),(0,window.isNaN)(k)||(k=l.transform(k),
l=l.Uf()?b:1-b,l=Math.abs(k-l),e>l&&(e=l,f=k,d=h)))}0<=d&&(c=a[d],c.distance=e,c.pointYRatio=f);return c},pma=function(a){if(a.Ob){a.Ob=!1;for(var b=0;b<a.f.length;b++){var c=a.f[b];c&&c.hX()}a.Xa().Oc()}},j3=function(a){switch(a){case "thumb-drag":return"scroller-thumb-drag";case "selected-range-drag":return"scroller-drag";default:return"scroller-click"}},A2=function(a,b,c,d,e){f3(a,"selectedrangebeforechange",e||"plot-drag",b,c)&&(e3(a,b,c),d.Ei=a.zf(d.Wr),d.lastIndex=a.zf(d.Vv),d.ws=a.zf(d.zn),
d.cw=a.zf(d.cp),f3(a,"selectedrangechange",e||"plot-drag"))},J2=function(a,b,c){var d=a.Va();$.K(d,z2)?(d=c.lastIndex-c.Ei,d*=b,b=a.hi(c.Ei-d),c=a.hi(c.lastIndex-d)):(d=c.Vv-c.Wr,d*=b,b=c.Wr-d,c=c.Vv-d);b>c&&(d=b,b=c,c=d);return b!=a.b.b.yh||c!=a.b.b.Di?[b,c]:null},sma=function(a,b,c){a=a.Va();if($.K(a,z2)){var d=c.lastIndex-c.Ei;a=(c.ws-c.Ei)/d;c=(c.cw-c.Ei)/d}else d=c.Vv-c.Wr,a=(c.zn-c.Wr)/d,c=(c.cp-c.Wr)/d;return-$.Za(-b,a,c-1)},tma={r7:"no-overlap",sja:"allow-minor-overlap",rja:"allow-major-overlap",
x5:"allow-overlap"},iia={sB:"area",IX:"candlestick",BE:"column",Xs:"line",yu:"marker",TX:"ohlc",XX:"range-area",yP:"range-column",ZX:"range-spline-area",$X:"range-step-area",cY:"spline",dY:"spline-area",jY:"step-area",kY:"step-line",Y6:"jump-line",u8:"stick",W6:"hilo"},jia={Yma:"sma",Vka:"ema"},uma={Zka:"exact-or-prev",Xka:"exact",Yka:"exact-or-next",NEAREST:"nearest"},k3={name:"fill",Mb:"path",Sb:"fill",Tb:null,Vb:!1,Bb:!1,zIndex:0},l3={name:"stroke",Mb:"path",Sb:null,Tb:"stroke",Vb:!1,Bb:!1,zIndex:2E-6},
m3={name:"hatchFill",Mb:"path",Sb:"hatchFill",Tb:null,Vb:!1,Bb:!0,zIndex:1E-6},vma={name:"negativeHatchFill",Mb:"path",Sb:"negativeHatchFill",Tb:null,Vb:!1,Bb:!0,zIndex:1E-6},wma={name:"negative",Mb:"path",Sb:"negativeFill",Tb:"negativeStroke",Vb:!1,Bb:!1,zIndex:0},n3={name:"rising",Mb:"path",Sb:"risingFill",Tb:"risingStroke",Vb:!1,Bb:!1,zIndex:0},o3={name:"risingHatchFill",Mb:"path",Sb:"risingHatchFill",Tb:null,Vb:!1,Bb:!0,zIndex:1E-6},p3={name:"falling",Mb:"path",Sb:"fallingFill",Tb:"fallingStroke",
Vb:!1,Bb:!1,zIndex:0},q3={name:"fallingHatchFill",Mb:"path",Sb:"fallingHatchFill",Tb:null,Vb:!1,Bb:!0,zIndex:1E-6},xma={name:"highFill",Mb:"path",Sb:"highFill",Tb:null,Vb:!1,Bb:!1,zIndex:0},yma={name:"lowFill",Mb:"path",Sb:"lowFill",Tb:null,Vb:!1,Bb:!1,zIndex:0},zma={name:"highFill",Mb:"path",Sb:"highFill",Tb:null,Vb:!1,Bb:!1,zIndex:0},Ama={name:"lowFill",Mb:"path",Sb:"lowFill",Tb:null,Vb:!1,nk:!0,Bb:!1,zIndex:0},r3={name:"highHatchFill",Mb:"path",Sb:"highHatchFill",Tb:null,Vb:!1,Bb:!1,zIndex:0},
s3={name:"lowHatchFill",Mb:"path",Sb:"lowFill",Tb:null,Vb:!1,Bb:!1,zIndex:0},t3={name:"highHatchFill",Mb:"path",Sb:"highHatchFill",Tb:null,Vb:!1,Bb:!1,zIndex:0},u3={name:"lowHatchFill",Mb:"path",Sb:"lowHatchFill",Tb:null,Vb:!1,nk:!0,Bb:!1,zIndex:0},v3={name:"highStroke",Mb:"path",Sb:null,Tb:"highStroke",Vb:!1,nk:!0,Bb:!1,zIndex:2E-6},w3={name:"lowStroke",Mb:"path",Sb:null,Tb:"lowStroke",Vb:!1,Bb:!1,zIndex:2E-6},x3={name:"path",Mb:"path",Sb:"fill",Tb:"stroke",Vb:!1,Bb:!1,zIndex:0},y3={name:"fill",
Mb:"path",Sb:"fill",Tb:null,Vb:!1,nk:!0,Bb:!1,zIndex:0},z3={name:"stroke",Mb:"path",Sb:null,Tb:"stroke",Vb:!1,nk:!0,Bb:!1,zIndex:2E-6},A3={name:"hatchFill",Mb:"path",Sb:"hatchFill",Tb:null,Vb:!1,nk:!0,Bb:!0,zIndex:1E-6},Bma={name:"negativeHatchFill",Mb:"path",Sb:"negativeHatchFill",Tb:null,Vb:!1,nk:!0,Bb:!0,zIndex:1E-6},Cma={name:"negative",Mb:"path",Sb:"negativeFill",Tb:"negativeStroke",Vb:!1,nk:!0,Bb:!1,zIndex:0},B3={name:"rising",Mb:"path",Sb:"risingFill",Tb:"risingStroke",Vb:!1,nk:!0,Bb:!1,zIndex:0},
C3={name:"rising",Mb:"path",Sb:null,Tb:"risingStroke",Vb:!1,nk:!0,Bb:!1,zIndex:2E-6},D3={name:"negative",Mb:"path",Sb:null,Tb:"negativeStroke",Vb:!1,nk:!0,Bb:!1,zIndex:2E-6},E3={name:"risingHatchFill",Mb:"path",Sb:"risingHatchFill",Tb:null,Vb:!1,nk:!0,Bb:!0,zIndex:1E-6},F3={name:"falling",Mb:"path",Sb:"fallingFill",Tb:"fallingStroke",Vb:!1,nk:!0,Bb:!1,zIndex:0},G3={name:"falling",Mb:"path",Sb:null,Tb:"fallingStroke",Vb:!1,nk:!0,Bb:!1,zIndex:2E-6},H3={name:"fallingHatchFill",Mb:"path",Sb:"fallingHatchFill",
Tb:null,Vb:!1,nk:!0,Bb:!0,zIndex:1E-6},I3={name:"highStroke",Mb:"path",Sb:null,Tb:"highStroke",Vb:!1,nk:!0,Bb:!1,zIndex:2E-6},J3={name:"lowStroke",Mb:"path",Sb:null,Tb:"lowStroke",Vb:!1,nk:!0,Bb:!1,zIndex:2E-6},K3={name:"path",Mb:"path",Sb:"fill",Tb:"stroke",Vb:!1,nk:!0,Bb:!1,zIndex:0},Pia={name:"overlay",Mb:"path",Sb:!0,Tb:!0,Vb:!1,Bb:!1,zIndex:2E-6};$.g=Q_.prototype;$.g.p9=function(a){this.f.setTime(Date.UTC($.Ho(this.f.getUTCFullYear(),this.b,a?a.getUTCFullYear():2E3)-this.b,0))};$.g.m9=function(a){var b=this.b;this.b*=6;this.SP(a);this.b=b};$.g.k9=function(a){var b=this.b;this.b*=3;this.SP(a);this.b=b};$.g.SP=function(a){var b=$.Ho(this.f.getUTCMonth()+12*this.f.getUTCFullYear(),this.b,a?a.getUTCMonth()+12*a.getUTCFullYear():24E3)-this.b;a=Math.floor(b/12);b%=12;0>b&&(b+=12);this.f.setTime(Date.UTC(a,b))};
$.g.n9=function(a){a=$.Ho(lia(this.f),this.b,a?lia(a):72E3)-this.b;var b=Math.floor(a/36);a%=36;var c=Math.floor(a/3);0>c&&(c+=12);a%=3;0>a&&(a+=3);this.f.setTime(Date.UTC(b,c,1+10*a))};$.g.o9=function(a){R_(this,6048E5*this.b,a||new Date(Date.UTC(2E3,0,2)))};$.g.g9=function(a){R_(this,864E5*this.b,a)};$.g.h9=function(a){R_(this,36E5*this.b,a)};$.g.j9=function(a){R_(this,6E4*this.b,a)};$.g.l9=function(a){R_(this,1E3*this.b,a)};$.g.i9=function(a){R_(this,this.b,a)};
$.g.fga=function(){this.f.setUTCFullYear(this.f.getUTCFullYear()+this.b);return this.f.getTime()};$.g.cga=function(){var a=this.f.getUTCMonth()+6*this.b,b=this.f.getUTCFullYear()+Math.floor(a/12);a%=12;0>a&&(a+=12);this.f.setUTCFullYear(b);this.f.setUTCMonth(a);return this.f.getTime()};$.g.aga=function(){var a=this.f.getUTCMonth()+3*this.b,b=this.f.getUTCFullYear()+Math.floor(a/12);a%=12;0>a&&(a+=12);this.f.setUTCFullYear(b);this.f.setUTCMonth(a);return this.f.getTime()};
$.g.$fa=function(){var a=this.f.getUTCMonth()+this.b,b=this.f.getUTCFullYear()+Math.floor(a/12);a%=12;0>a&&(a+=12);this.f.setUTCFullYear(b);this.f.setUTCMonth(a);return this.f.getTime()};$.g.dga=function(){var a=this.f.getUTCDate();var b=3*(12*this.f.getUTCFullYear()+this.f.getUTCMonth())+(10>=a?0:20>=a?1:2)+this.b;a=Math.floor(b/36);b%=36;var c=Math.floor(b/3);0>c&&(c+=12);b%=3;0>b&&(b+=3);this.f.setTime(Date.UTC(a,c,1+10*b));return this.f.getTime()};
$.g.ega=function(){var a=this.f.getTime()+6048E5*this.b;this.f.setTime(a);return a};$.g.Ufa=function(){var a=this.f.getTime()+864E5*this.b;this.f.setTime(a);return a};$.g.Wfa=function(){var a=this.f.getTime()+36E5*this.b;this.f.setTime(a);return a};$.g.Zfa=function(){var a=this.f.getTime()+6E4*this.b;this.f.setTime(a);return a};$.g.bga=function(){var a=this.f.getTime()+1E3*this.b;this.f.setTime(a);return a};$.g.Yfa=function(){var a=this.f.getTime()+this.b;this.f.setTime(a);return a};$.g.cj=function(){return this.j};$.H(S_,$.Yq);$.g=S_.prototype;$.g.qa=2;$.g.enabled=function(a){return $.n(a)?(a=!!a,this.j!=a&&(this.j=a,this.ta(2)),this):this.j};$.g.f0=function(a){return $.n(a)?(a=!!a,this.D!=a&&(this.D=a,this.ta(2)),this):this.D};
$.g.sQ=function(a){if($.n(a)){this.b.length=0;if($.A(a)){for(var b={},c=0;c<a.length;c++){var d=a[c];if($.z(d)){var e=d;var f=1}else $.D(d)&&(e=String(d.unit),f=$.O(d.count,1,!1));if(e){d=new Q_(e,f);var h=d.D+d.b.toFixed(0);h in b||(b[h]=!0,this.b.push(d))}}$.Qa(this.b,mia)}this.ta(2);return this}return oia(this)};$.g.r2=function(a){return $.n(a)?(a=Math.max(2,$.N(a)),(0,window.isNaN)(a)||this.f==a||(this.f=a,this.g=window.NaN,this.ta(2)),this):this.f};
$.g.w2=function(a){return $.n(a)?(a=Math.max(.1,$.N(a)),(0,window.isNaN)(a)||this.g==a||(this.g=a,this.f=window.NaN,this.ta(2)),this):this.g};$.g.Xn=function(){return this.G};$.g.gD=function(){return this.N};$.g.R=function(){S_.u.R.call(this)};$.g.F=function(){var a=S_.u.F.call(this);a.enabled=this.j;a.forced=this.D;a.levels=oia(this);a.maxVisiblePoints=(0,window.isNaN)(this.f)?null:this.f;a.minPixPerPoint=(0,window.isNaN)(this.g)?null:this.g;return a};
$.g.Od=function(a){return $.da(a)||null===a?{enabled:!!a}:$.A(a)?{enabled:!0,levels:a}:null};$.g.Ce=function(a,b){var c=this.Od(b);return c?(this.enabled(c.enabled),"levels"in c&&this.sQ(c.levels),!0):!1};$.g.X=function(a,b){S_.u.X.call(this,a,b);this.enabled(a.enabled);this.f0(a.forced);this.sQ(a.levels);this.r2(a.maxVisiblePoints);this.w2(a.minPixPerPoint)};var L3=S_.prototype;L3.enabled=L3.enabled;L3.forced=L3.f0;L3.levels=L3.sQ;L3.maxVisiblePoints=L3.r2;L3.minPixPerPoint=L3.w2;
L3.getCurrentDataInterval=L3.Xn;L3.isGrouped=L3.gD;T_.prototype.f=null;var pia=0;T_.prototype.ej=function(a){var b;$.ea(a)&&0>a?this.f&&(b=this.f[~a]):b=this.values[a];return b};$.g=W_.prototype;$.g.reset=function(){this.g&&this.g.reset();this.b=this.N;this.j=this.g?this.g.g():this.N.key;this.G=!1;this.D=window.NaN;this.O=!0;return this};$.g.advance=function(){return this.ba()};$.g.current=function(){return this.b};$.g.ku=function(a,b){if($.n(a))if(this.g)for(this.reset();this.advance()&&a!=this.current(););else this.b=a,this.G=!0,$.n(b)&&(this.j=b)};$.g.get=function(a){return this.Rq(this.ga?i0(this.Zc,a):h0(this.Zc,a))};
$.g.o=function(a,b){var c=this.ki[this.la()];c||(c=this.ki[this.la()]={});return 1<arguments.length?(c[a]=b,this):c[a]};$.g.Rq=function(a){var b;this.G&&($.ea(a)&&0>a?this.b.f&&(b=this.b.f[~a]):b=this.b.values[a]);return b};$.g.Oh=function(){return this.D};$.g.la=function(){return this.ya()};$.g.Gb=function(){return this.ka};$.g.$$=function(){return this.D};$.g.uda=function(){return this.j};$.g.nda=function(){return this.g.g()};
$.g.d9=function(){if(this.b){this.j++;if((this.b=this.b.next)&&this.b!=this.U)return this.G=!0,this.D=this.b.key,!0;this.b=null;this.G=!1;this.j=this.D=window.NaN}return!1};$.g.Iba=function(){if(this.g.advance())return this.O&&(this.b=this.b.next),(this.O=!(!this.b||this.b.key!=this.g.f||this.b==this.U))?(this.G=!0,this.D=this.b.key):(this.G=!1,this.D=this.g.f),!0;this.b=null;this.D=window.NaN;return this.G=!1};var M3=W_.prototype;M3.reset=M3.reset;M3.advance=M3.advance;M3.get=M3.get;M3.getKey=M3.$$;
M3.getIndex=M3.la;M3.meta=M3.o;$.g=X_.prototype;$.g.hi=function(a){var b=this.b.length;if(2<=b&&!(0,window.isNaN)(a)){for(var c=0;c<this.D.length;c++){var d=this.D[(this.j-c-1+2)%2];if(d.index==a)return d.key}c=Math.floor(a);d=Math.ceil(a);0>=d?(c=0,d=c+1):c>=b-1&&(d=b-1,c=d-1);c==d?b=this.b[c].key:(b=this.b[c].key,d=this.b[c+1].key,b=Math.round((d-b)*(a-c)+b));this.D[this.j]={key:b,index:a};this.j=(this.j+1)%2}else 1==b?(b=this.b[0].key,b=Math.round(a+b)):b=window.NaN;return b};
$.g.zf=function(a){var b=this.b.length;if(2<=b&&!(0,window.isNaN)(a)){for(var c=0;c<this.D.length;c++){var d=this.D[(this.j-c-1+2)%2];if(d.key==a)return d.index}c=$.Pa(this.b,V_,a);0>c?(c=~c-1,0>c?c=0:c>=b-1&&(c=b-2),b=this.b[c].key,b=(a-b)/(this.b[c+1].key-b)+c):b=c;this.D[this.j]={key:a,index:b};this.j=(this.j+1)%2}else 1==b?(b=this.b[0].key,b=a-b):b=window.NaN;return b};$.g.aa=function(a,b){return Z_(this,this.zf(a),this.zf(b))};$.g.cr=function(){return this.g};
$.g.update=function(){if(this.g){this.j=this.D.length=0;this.G=this.N.length=0;if(this.f.length)if(1==this.f.length)this.b=this.f[0].b;else{var a={key:window.NaN,next:null},b=[],c=this.f[0].b,d=c.length?c[0]:null;c=this.f[1].b;var e=c.length?c[0]:null;c=a;for(var f;d&&e;){var h=d.key<=e.key,k=d.key>=e.key;f={key:h?d.key:e.key,next:null};b.push(f);c=c.next=f;h&&(d=d.next);k&&(e=e.next)}for(d=d||e;d;)f={key:d.key,next:null},b.push(f),c=c.next=f,d=d.next;for(d=2;d<this.f.length;d++){c=this.f[d].b;e=
c.length?c[0]:null;b=b.length?b[0]:null;c=a;for(h=[];b&&e;)k=b.key>=e.key,b.key<=e.key?(f=b,b=b.next):f={key:e.key,next:null},h.push(f),c=c.next=f,k&&(e=e.next);for(c.next=b;b;)h.push(b),b=b.next;for(;e;)f={key:e.key,next:null},h.push(f),c=c.next=f,e=e.next;b=h}this.b=b}else this.b=[];this.g=!1;this.O=!0;for(d=0;d<this.f.length;d++)if(this.f[d].Gb()!=this.b.length){this.O=!1;break}}};Y_.prototype.reset=function(){this.b=this.D;this.f=window.NaN;this.j=this.D.key};
Y_.prototype.advance=function(){if(this.b){this.j++;if((this.b=this.b.next)&&this.b!=this.N)return this.f=this.b.key,!0;this.b=null;this.j=this.f=window.NaN}return!1};Y_.prototype.g=function(){return this.j};Y_.prototype.Gb=function(){return this.G};$.g=c0.prototype;$.g.search=function(a,b){return via(this,j0(this.f,$.Rk(a),$.xk(uma,b,"exact")))};$.g.select=function(a,b,c,d){return wia(this,$.Rk(a),$.Rk(b),$.n(c)?new Q_(c,$.N(d)):void 0)};$.g.baa=function(a,b){var c=$.n(a)?new Q_(a,$.N(b)):void 0,d=a0(this.Zc.Wd(),c);this.f=d;this.j=!c;this.b=uia(d);b0(this);return this};$.g.aa=function(){return m0(this,!0)};$.g.Uq=function(){return this.Zc};$.g=d0.prototype;$.g.get=function(a){return this.Rq(this.b?i0(this.Zc,a):h0(this.Zc,a))};$.g.Rq=function(a){return this.hf.ej(a)};
$.g.la=function(){return this.wd};$.g.Oh=function(){return this.hf.key};$.g.o=function(a,b){return 1<arguments.length?(this.ki&&(this.ki[a]=b),this):this.ki?this.ki[a]:void 0};$.g.aaa=function(){return this.hf.key};var N3=c0.prototype;N3.search=N3.search;N3.select=N3.select;N3.selectAll=N3.baa;N3.getIterator=N3.aa;N3=d0.prototype;N3.meta=N3.o;N3.get=N3.get;N3.getKey=N3.aaa;N3.getColumn=N3.Rq;N3.getIndex=N3.la;$.H(n0,$.Yq);$.g=n0.prototype;$.g.sa=16384;$.g.qa=16;$.g.select=function(a,b,c){(0,window.isNaN)(a)&&(a=this.b.yh);(0,window.isNaN)(b)&&(b=this.b.Di);if((0,window.isNaN)(a)||(0,window.isNaN)(b))return!1;p0(this);if(a=r0(this,a,b,this.tn(),this.ka,this.g,this.b,!1))this.g=a[0],this.b=a[1],this.Ja=c.transform(this.b.yh),this.Ga=c.transform(this.b.Di);return!!a};
$.g.tn=function(a){this.G||(this.G=new S_,this.G.Fa("stock.grouping"),this.G.X(this.G.ma,!0),$.L(this.G,this.Y0,this));return $.n(a)?(this.G.K(a),this):this.G};$.g.Y0=function(){this.ta(16)};$.g.K4=function(a){if($.X(a,16)){this.f.g=!0;for(var b in this.O)this.O[b].g=!0;for(b in this.ka)this.ka[b].G=!0;this.B(16384,16)}};$.g.R=function(){$.td(this.G,this.N);this.N=this.G=null;n0.u.R.call(this)};$.g.hi=function(a){p0(this);return this.g.hi(a)};$.g.zf=function(a){p0(this);return this.g.zf(a)};
$.g.GL=function(){return this.b.OH};$.H(x0,$.Uw);var O3={};$.hq(O3,[[0,"scrollOnMouseWheel",$.uq]]);$.U(x0,O3);x0.prototype.F=function(){var a=x0.u.F.call(this);$.Hq(this,O3,a);return a};x0.prototype.X=function(a,b){x0.u.X.call(this,a,b);$.zq(this,O3,a)};$.H(y0,$.Y);var Dma=y0.prototype,Ema={};$.hq(Ema,[[0,"height",$.qq],[0,"showHelperLabel",$.uq],[0,"overlapMode",function(a,b){return $.xk(tma,a,b||"no-overlap")}]]);Dma.qQ=Ema;$.U(y0,y0.prototype.qQ);$.g=y0.prototype;$.g.sa=$.Y.prototype.sa|80;$.g.qa=$.Y.prototype.qa;$.g.background=function(a){this.Ka||(this.Ka=new $.ku,$.W(this,"background",this.Ka),$.L(this.Ka,this.gg,this));return $.n(a)?(this.Ka.K(a),this):this.Ka};$.g.gg=function(a){$.X(a,1)&&this.B(64,1)};
$.g.labels=function(a){this.Da||(this.Da=new $.Du,$.W(this,"labels",this.Da),this.Da.ib(this),$.L(this.Da,this.Zd,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Da.K(a),this):this.Da};$.g.kb=function(a){this.oc||(this.oc=new $.Du,$.W(this,"minorLabels",this.oc),this.oc.ib(this),$.L(this.oc,this.Zd,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.oc.K(a),this):this.oc};$.g.Zd=function(a){var b=0,c=0;$.X(a,1)&&(b=16,c=1);$.X(a,8)&&(b|=4,c|=8);this.B(b,c)};
$.g.Qa=function(a){this.hb||(this.hb=new $.By,this.hb.orientation("top"),this.hb.Ce(!0,!1),this.hb.ib(this),$.W(this,"ticks",this.hb),$.L(this.hb,this.fZ,this));return $.n(a)?(this.hb.K(a),this):this.hb};$.g.tb=function(a){this.Nc||(this.Nc=new $.By,this.Nc.orientation("top"),this.Nc.Ce(!0,!1),this.Nc.ib(this),$.W(this,"minorTicks",this.Nc),$.L(this.Nc,this.fZ,this));return $.n(a)?(this.Nc.K(a),this):this.Nc};$.g.fZ=function(){this.B(16,1)};
$.g.scale=function(a){return $.n(a)?(this.na!=a&&(this.na&&$.Zq(this.na,this.Vh,this),(this.na=a)&&$.L(this.na,this.Vh,this),this.B(16,1)),this):this.na};$.g.Vh=function(a){$.X(a,512)&&this.B(16,1)};$.g.orientation=function(a){return $.n(a)?this:"bottom"};$.g.lb=function(){var a=this.ja();if(!a)return new $.J(0,0,0,0);this.enabled()&&(a.top=a.top+a.height-this.i("height")+1);return a};$.g.qd=function(){var a=this.ja();if(!a)return new $.J(0,0,0,0);this.enabled()&&(a.height-=this.i("height"));return a};
$.g.xx=function(a,b){var c=this.na.jfa,d=this.na.ifa,e=this.na.Ifa,f=this.na.Hfa,h=null,k=[],l=null,m=[],p=[],q=[],r,t=[],u=[],v=[],w=[],x=this.hb&&this.hb.enabled()?$.Cy(this.hb):null,y=this.Nc&&this.Nc.enabled()?$.Cy(this.Nc):null,B=!(!this.Da||!this.Da.enabled()),G=!(!this.oc||!this.oc.enabled()),C=1,I=0;for(b.reset();b.advance();){var P=b.current;(r=B&&b.j)&&x?x.call(this.hb,this.na.HO(P),a,a,0,.5):y&&y.call(this.Nc,this.na.HO(P),a,a,0,.5);if("allow-overlap"==this.i("overlapMode"))r?(t.push(P),
v.push(C),h||(h=this.hd(P,r,a,c,e,f,0))):G&&(u.push(P),w.push(I),k.push(this.hd(P,r,a,c,e,f,0)));else{var Q=this.hd(P,r,a,c,e,f,r?C:I);if(r){if("allow-major-overlap"==this.i("overlapMode")||!l||!l.Wo(Q)){for(l=p.length;l--;)if(Q.Wo(p[l]))m.pop(),p.pop(),q.pop();else break;t.push(P);v.push(C);u.push.apply(u,m);w.push.apply(w,q);k.push.apply(k,p);l=Q;h||(h=Q)}m.length=p.length=q.length=0}else!G||l&&l.Wo(Q)||"allow-minor-overlap"!=this.i("overlapMode")&&p.length&&p[p.length-1].Wo(Q)||(m.push(P),q.push(I),
p.push(Q))}r?C++:I++}m.length&&(u.push.apply(u,m),w.push.apply(w,q),k.push.apply(k,p));$.Mu(this.labels());$.Mu(this.kb());P=b.f;if(this.i("showHelperLabel")&&!(0,window.isNaN)(P)&&(Q=this.hd(P,!0,a,c,e,f,0))&&(!h||!Q.Wo(h))){if("allow-overlap"!=this.i("overlapMode")){for(l=0;l<k.length&&Q.Wo(k[l]);l++);l&&($.Ca(k,0,l),$.Ca(u,0,l),$.Ca(w,0,l))}this.ce(P,!0,a,c,d,e,f,0)}for(l=0;l<t.length;l++)this.ce(t[l],!0,a,c,d,e,f,v[l]);for(l=0;l<u.length;l++)this.ce(u[l],!1,a,c,d,e,f,w[l])};
$.g.ce=function(a,b,c,d,e,f,h,k){b=b?this.labels():this.kb();var l=this.na.zf(a);"stock-ordinal-date-time"==this.na.Na()&&(l=Math.ceil(l));e=this.na.hi(l);l=this.na.rr(e,l);l=Math.round(c.left+l*c.width);var m=c.top;a=this.im(a,e,d,f,h);d={value:{x:l,y:m}};f=b.measure(a,d,void 0,k);(0,window.isNaN)(f.left)||(c=c.left-f.left,0<c&&(d.value.x+=c),k=b.add(a,d,k),$.Qu(k,[k.Ma,b.Ma,k.zd,b.ma]),$.K(this.b,S2)||(c=b.i("position"),c=$.Ao(c),k.Vk(0>c?"center-bottom":0<c?"center-top":"center")))};
$.g.hd=function(a,b,c,d,e,f,h){b=b?this.labels():this.kb();if(!b.enabled())return null;var k=this.na.zf(a);"stock-ordinal-date-time"==this.na.Na()&&(k=Math.ceil(k));var l=this.na.hi(k);k=this.na.rr(l,k);k=Math.round(c.left+k*c.width);var m=c.top;a=this.im(a,l,d,e,f);h=b.measure(a,{value:{x:k,y:m}},void 0,h);h.left=Math.max(h.left,c.left);return h};
$.g.im=function(a,b,c,d,e){var f=$.ks(a),h=this.b.tn();a={dataIntervalUnit:{value:h.Xn().unit,type:"string"},dataIntervalUnitCount:{value:h.Xn().count,type:"number"},dataIsGrouped:{value:h.gD(),type:"string"},majorIntervalUnit:{value:c,type:"string"},majorIntervalUnitCount:{value:e,type:"number"},minorIntervalUnit:{value:d,type:"string"},minorIntervalUnitCount:{value:e,type:"number"},value:{value:f,type:"string"},tickValue:{value:a,type:"number"},dataValue:{value:b,type:"number"},max:{value:this.na.WS(),
type:"number"},min:{value:this.na.XS(),type:"number"},scale:{value:this.na,type:""}};a=new $.rw(a);a.sm({"%AxisScaleMax":"max","%AxisScaleMin":"min"});return $.av(a)};$.g.remove=function(){this.Wa&&this.Wa.remove()};
$.g.$=function(){if(!this.Bc())return this;this.Wa||(this.Wa=$.lk(),this.f||this.Wa.td(!0));var a=$.jr(this,"background"),b=$.jr(this,"labels"),c=$.jr(this,"minorLabels"),d=$.jr(this,"ticks"),e=$.jr(this,"minorTicks");a&&$.V(a);b&&$.V(b);c&&$.V(c);if(this.J(4)){if(a){var f=this.ja().clone().round();f.top=f.top+f.height-this.i("height");f.height=this.i("height");f.width=Math.ceil($.R(f.$a(),1))-f.left;a.ja(f)}this.B(80);this.I(4)}this.J(64)&&(a&&(a.P(this.Wa),a.$()),this.I(64));this.J(16)&&(this.na&&
(a?f=a.qd():(f=this.ja(),f.top=f.top+f.height-this.i("height"),f.height=this.i("height")),b&&(b.clear(),$.Mu(b)),c&&(c.clear(),$.Mu(c)),d&&(d.length(f.height),d.P(this.Wa),d.$()),e&&(e.length(f.height),e.P(this.Wa),e.$()),d=b&&b.enabled(),e=c&&c.enabled(),(d||e)&&this.xx(f,this.na.rn()),this.bi||(this.bi=$.qk()),this.bi.shape(f),b&&(b.P(this.Wa),b.$(),(f=b.jm())&&f.clip("outside"==b.i("position")?this.bi:null)),c&&(c.P(this.Wa),c.$(),(f=c.jm())&&f.clip("outside"==c.i("position")?this.bi:null))),this.I(16));
this.J(8)&&(this.Wa.zIndex(this.zIndex()),this.I(8));this.J(2)&&(this.Wa.parent(this.P()),this.I(2));a&&a.da(!1);b&&b.da(!1);c&&c.da(!1);return this};$.g.Hb=function(){return!0};$.g.gy=function(){return!0};$.g.R=function(){$.td(this.Da,this.oc,this.hb,this.Nc,this.Ka,this.Wa,this.na);this.na=this.Wa=this.Ka=this.Nc=this.hb=this.oc=this.Da=null;y0.u.R.call(this)};
$.g.F=function(){var a=y0.u.F.call(this);$.Hq(this,this.qQ,a);a.labels=this.labels().F();a.minorLabels=this.kb().F();a.ticks=this.Qa().F();a.minorTicks=this.tb().F();a.background=this.background().F();return a};$.g.X=function(a,b){y0.u.X.call(this,a,b);$.zq(this,this.qQ,a,b);this.labels().ia(!!b,a.labels);this.kb().ia(!!b,a.minorLabels);this.Qa(a.ticks);this.tb(a.minorTicks);this.background(a.background)};var P3=y0.prototype;P3.labels=P3.labels;P3.minorLabels=P3.kb;P3.ticks=P3.Qa;P3.minorTicks=P3.tb;
P3.background=P3.background;$.H(z0,$.Y);z0.prototype.sa=$.Y.prototype.sa|208;z0.prototype.qa=$.Y.prototype.qa;var Fma=z0.prototype,Q3={};$.gq(Q3,0,"value",$.Sk);$.gq(Q3,0,"valueField",$.tq);$.gq(Q3,1,"stroke",$.Dq);$.gq(Q3,1,"risingStroke",$.Dq);$.gq(Q3,1,"fallingStroke",$.Dq);Fma.OJ=Q3;$.U(z0,z0.prototype.OJ);$.g=z0.prototype;$.g.kH=function(a){a=a.i("anchor");return"left-top"==a||"left-center"==a||"left-bottom"==a};
$.g.Vp=function(a,b,c){if(!b)return null;var d=b.scale(),e=d.Na();c=d.Fc(c);var f="number";switch(e){case "linear":case "log":var h=c;break;case "ordinal":h=String(c);f="string";break;case "stock-scatter-date-time":case "stock-ordinal-date-time":case "date-time":h=$.ks(c),f="string"}b={series:{value:a,type:""},axis:{value:b,type:""},value:{value:h,type:f},tickValue:{value:c,type:"number"},scale:{value:d,type:""}};a=$.eB(a,new $.rw,this.f);return $.av(a,$.Sc($.$u(a),b))};
$.g.label=function(a){return $.n(a)?(this.j.K(a),this):this.j};$.g.Sca=function(a){return $.n(a)?(this.D.K(a),this):this.D};$.g.Jha=function(a){return $.n(a)?(this.G.K(a),this):this.G};$.g.rQ=function(){this.B(68,1)};$.g.W=function(a){if($.n(a)){var b=a;$.ea(a)?a=this.N.Nh(a):$.z(a)&&(a=this.N.Ue(a));this.Oa!==a&&(this.ba=b,this.Oa=a,this.B(134,1));return this}return this.Oa};$.g.axis=function(a){if($.n(a)){var b=+a;$.ea(a)&&(a=this.N.ti(a));this.b!==a&&(this.U=b,this.b=a,this.B(4,1));return this}return this.b};
$.g.remove=function(){this.va.parent(null);this.B(2)};
$.g.$=function(){if(!this.Bc())return this;this.va||(this.va=$.lk());var a=this.Oa||this.N.Nh(0);if(a&&!a.fd){var b=this.i("valueField")||a.Se.ol;var c=!!(a.Se.flags&$.wG);var d=(this.f=yia(a.oa,this.i("value"),b))?this.f.get(b):null}this.I(128);if(!d)return this.remove(),this;b=this.line?this.line:this.line=$.nk().zIndex(0).parent(this.va);var e=this.i("stroke"),f=this.b||this.N.ti(0);d=f.scale().transform(d);var h=this.N.Rf();if(c){var k=this.i("risingStroke");var l=this.i("fallingStroke"),m=this.f.get("open");
this.f.get("close")>m?(e=k?k:e,k=this.G):(e=l?l:e,k=this.D)}l=$.bc(e)||1;this.J(2)&&(m=this.P(),this.va.parent(m),this.I(2));this.J(8)&&(m=this.zIndex(),this.va.zIndex(m),this.I(8));if(this.J(4)){m=h.Ua()-d*h.height;m=$.R(m,l);b.clear();b.moveTo(h.left,m).lineTo(h.$a(),m);b.clip(this.N.Rf());b.parent(this.va);if(this.g.ic("enabled")){h=m;l=this.N.Rf();var p=f.lb(),q=f.enabled();m=q?p.qb():l.$a();p=q?p.$a():l.qb();switch(f.i("orientation")){case "left":var r=(this.kH(this.g),p);break;case "right":r=
(this.kH(this.g),m)}h>=l.bc()&&h<=l.Ua()||(r=h=window.NaN);h={value:{x:r,y:h}};if((0,window.isNaN)(h.value.x))this.O=!0,this.g.clear();else{if(this.O||c)this.B(64),this.O=!1;r=this.Vp(a,f,d);this.g.lf(r);$.Mu(this.j);this.g.uc(h);this.g.Vk("left"==f.i("orientation")?"right-center":"left-center")}}else this.g.clear(),this.O=!0;this.I(4)}this.J(64)&&(this.g.ic("enabled")?(r=this.Vp(a,f,d),this.g.lf(r),$.Mu(this.j),this.g.Vk("left"==f.i("orientation")?"right-center":"left-center"),a=[],c?a.push(k.Ma,
this.j.Ma,this.g.zd,this.j.zd,k.ma,this.j.ma):a.push(this.j.Ma,this.g.zd,this.j.zd,this.j.ma),$.Qu(this.g,a)):(this.g.clear(),this.O=!0),this.I(64));this.J(16)&&(b.stroke(e),this.I(16));this.O||(this.g.P(this.va),this.g.$());this.j.I(4294967295);this.G.I(4294967295);this.D.I(4294967295);return this};
$.g.F=function(){var a=z0.u.F.call(this);$.Hq(this,this.OJ,a,"Current price indicator");if($.z(this.ba)||$.ea(this.ba))a.series=this.ba;(0,window.isNaN)(this.U)||(a.axis=this.U);a.mainLabel=this.j.F();a.risingLabel=$.lN(this.G);a.fallingLabel=$.lN(this.D);return a};$.g.X=function(a,b){b?$.yq(this.ma,this.OJ,a):$.zq(this,this.OJ,a);this.W(a.series);this.axis(a.axis);Dia(this,a,b);z0.u.X.call(this,a,b)};
$.g.R=function(){this.Oa=this.b=this.N=null;this.remove();this.line&&this.line.cd();this.j.clear();$.td(this.j,this.G,this.D);this.D=this.G=this.j=null;z0.u.R.call(this)};var R3=z0.prototype;R3.label=R3.label;R3.fallingLabel=R3.Sca;R3.risingLabel=R3.Jha;R3.axis=R3.axis;R3.series=R3.W;$.H(A0,$.Wy);$.g=A0.prototype;$.g.kg=function(a){$.X(a,2)&&this.B(80,1)};$.g.WF=function(a){var b=this.ja().round()||$.gn(0,0,0,0);a=b.Ua()-a*b.height;a=$.R(a,this.Gh().Nk());this.j.moveTo($.R(b.qb(),1)-.5,a);this.j.lineTo($.R(b.$a(),1)+.5,a)};$.g.XF=function(a){var b=this.ja().round()||$.gn(0,0,0,0);a=b.qb()+a*b.width;a=$.R(a,this.Gh().Nk());this.j.moveTo(a,$.R(b.Ua(),1)-.5);this.j.lineTo(a,$.R(b.bc(),1)+.5)};
$.g.TF=function(a,b,c){if(!(0,window.isNaN)(b)){var d=this.ja().round()||$.gn(0,0,0,0),e=this.Gh().Nk();b=d.Ua()-b*d.height;b=$.R(b,e);a=d.Ua()-a*d.height;a=$.R(a,e);c.moveTo(d.qb(),b);c.lineTo(d.$a(),b);c.lineTo(d.$a(),a);c.lineTo(d.qb(),a);c.close()}};$.g.UF=function(a,b,c){if(!(0,window.isNaN)(b)){var d=this.ja().round()||$.gn(0,0,0,0),e=this.Gh().Nk();b=d.qb()+b*d.width;b=$.R(b,e);a=d.qb()+a*d.width;a=$.R(a,e);c.moveTo(b,d.bc());c.lineTo(a,d.bc());c.lineTo(a,d.Ua());c.lineTo(b,d.Ua());c.close()}};
$.g.uj=function(){var a=this.scale(),b=window.NaN,c=$.K(a,$.Ct),d=$.K(a,P2);var e=this.i("isMinor");d?(e=a.rn().ga(!e),e=$.Ga(window.NaN,e,window.NaN)):e=c?a.Qa().get():e?a.tb().get():a.Qa().get();var f=this.Hb()?[this.WF,this.TF]:[this.XF,this.UF];this.sz();this.Gh().clear();var h=(this.ja()||$.gn(0,0,0,0)).clone().round();var k=h.Ua();var l=h.$a();k=Math.ceil($.R(k,1));l=Math.ceil($.R(l,1));h.width=l-h.left;h.height=k-h.top;this.Gh().clip(h);h=f[1];l=f[0];for(var m=1==$.bc(this.i("stroke"))%2,p=
0,q=e.length;p<q;p++){var r=e[p];$.A(r)&&(r=r[0]);k=d?p?p==q-1?1:a.HO(r):0:a.transform(r);p&&(f=$.$y(this,p-1))&&h.call(this,k,b,f,m);p?p==q-1?(this.i("drawLastLine")||c)&&l.call(this,k,m):l.call(this,k,m):this.i("drawFirstLine")&&l.call(this,k,m);b=k}c&&$.n(r)&&(k=a.Uf()?0:1,this.i("drawLastLine")&&l.call(this,k,m),(f=$.$y(this,p-1))&&h.call(this,k,b,f,m))};var S3=A0.prototype;S3.isHorizontal=S3.Hb;S3.scale=S3.scale;S3.axis=S3.axis;$.H(B0,$.YC);var T3={up:{tooltip:"Move plot up",icon:"ac ac-caret-up",fallbackSymbol:"▲",model:{type:"up"}},down:{tooltip:"Move plot down",icon:"ac ac-caret-down",fallbackSymbol:"▼",model:{type:"down"}},zoom:{tooltip:"Expand/Collapse plot",icon:"ac ac-enlarge",fallbackSymbol:"⛶",toggle:!0,model:{type:"zoom"}}},Gma={single:[T3.zoom],top:[T3.down,T3.zoom],center:[T3.up,T3.down,T3.zoom],bottom:[T3.up,T3.zoom]};$.g=B0.prototype;$.g.pc=function(){B0.u.pc.call(this);var a=this.Ta();$.Nj(a,"anychart-plot-controls")};
$.g.update=function(){if(this.df){this.Ki(!0);var a=this.b.Rf();$.uf(this.Ta(),{right:this.b.mc().padding().right()+"px",top:a.top+"px"});a=Gma[this.O];for(var b,c,d=H2(this.b),e=0;e<a.length;e++)b=a[e],c=new $.pD,$.aD(c,"anychart-button-standard"),$.nD(c,b.tooltip),$.rD(c,b.icon),c.O=b.fallbackSymbol,c.Sg=b.model,b.toggle&&(d?$.rD(c,"ac ac-dot-square-o"):$.rD(c,"ac ac-enlarge")),1!=a.length&&(e?e==a.length-1?$.oD(c,2):$.oD(c,3):$.oD(c,1)),this.fc(c,!0)}};
$.g.pg=function(){B0.u.pg.call(this);this.update();var a=$.oy(this);a.ra(this,"enter",function(){this.U=!0});a.ra(this,"leave",function(){this.U=!1;this.Oc()});a.ra(this,"action",this.X$)};
$.g.X$=function(a){var b=a.target;if($.K(b,$.pD)){var c=b.Sg.type;a=this.b;var d=a.mc();if("up"==c)b=jma(d,a),kma(d,a,b);else if("down"==c){a:{for(b=(0,$.za)(d.f,a)+1;b<d.f.length;b++)if((c=d.f[b])&&c.enabled()){b=c;break a}b=null}kma(d,a,b)}else if("zoom"==c){c=!H2(a);H2(a,c);$.V(d);for(var e=0;e<d.f.length;e++){var f=d.f[e];f!==a&&f.enabled(!c)}d.da(!0);H2(a)?$.rD(b,"ac ac-dot-square-o"):$.rD(b,"ac ac-enlarge")}this.U=!1}};$.g.show=function(){$.Pj(this.Ta(),"anychart-plot-controls-hidden")};
$.g.Oc=function(){this.U||$.Nj(this.Ta(),"anychart-plot-controls-hidden")};$.g.W$=function(){this.Fd()};$.g.Fd=function(){var a,b=this.b.mc();(b=b.container()?b.container().getStage():null)&&b.container()?a=b.container():a=null;a?B0.u.Fd.call(this,a):(a=(0,$.pa)(this.W$,this),this.b.mc().ve("chartdraw",a,!1,this))};$.g=Eia.prototype;$.g.rw=function(){Gia(this.lc,this.f);this.f.length=0};$.g.OV=function(a,b){this.f.push(b);this.b++};$.g.start=function(){this.b=this.f.length=0};$.g.Ed=$.ia;$.g.EJ=function(){this.f.length&&this.rw()};$.g=C0.prototype;$.g.update=function(){var a=this.O.AF-1;if(this.g<a)if(this.b.length){for(var b=this.O.px,c=$.K(this,G0),d=0;d<b.length;d++)if(this.g<=this.O.BF[d]){var e=b[d];e.j.call(e.b,e.b);for(var f=0,h=this.b[0];h;){h.f||(h.f=[]);for(;h.f.length<a;)h.f.push(void 0);e.g.call(e.b,new L0(h,e,c,f),e.b);h=h.next;f++}}this.g=a;D0(this)}else this.g=a};
$.g.select=function(a,b){var c=this.b.length;if(c){var d=(0,window.isNaN)(a)?0:j0(this,a,"exact-or-next");if((0,window.isNaN)(d)){var e=c-1;d=window.NaN}else{var f=(0,window.isNaN)(b)?c-1:j0(this,b,"exact-or-prev");(0,window.isNaN)(f)?(e=window.NaN,d=0):d<=f?(e=0<d?d-1:window.NaN,d=f<c-1?f+1:window.NaN):e=f}}else e=d=window.NaN;return u0(this,a,b,e,d)};$.g.search=function(a,b){return this.qn(j0(this,a,b))};
$.g.rN=function(a,b){var c,d=this.TS();if($.ea(d))for(c=0;c<d;c++)c in a||(a[c]=b++);else for(c in d)c in a||(a[c]=b++);return b};$.g.qn=function(a){return 0<=a&&a<this.b.length?this.b[a]:null};$.g.Gb=function(){return this.b.length};$.H(G0,C0);var F0=8;G0.prototype.TS=function(){return this.j};
G0.prototype.update=function(){if(0!=this.f){var a=a0(this.O).b,b=this.O.ME;if(this.f>=F0)this.g=-1,this.b.length=0,Fia(this,a,b,this.D,!1);else{if(this.f&2){this.g=-1;var c=a.length?a[0]:null;if(c){var d=this.b.length?this.b[0]:null,e=c.key;if(d&&!(d.key>=e)){for(var f=0,h;(h=d.next)&&h.key<e;)f++,d=h;if(h&&h.key==e)f++;else{for(e=c;e&&(!h||e.key<h.key);){for(c=0;c<this.j;c++){var k=b[c];k.b(e.values[k.j],e.values[k.D],e.values)}e=e.next}for(c=0;c<this.j;c++)d.values[c]=b[c].f()}0<f&&($.Ca(this.b,
0,f),this.b.length&&(this.b[0].b=null))}}else this.b.length=0}this.f&1&&(this.g=-1,d=this.D,(f=this.b[this.b.length-1])?(this.b.pop(),f.b&&(f.b.next=null),f=f.key):f=void 0,Fia(this,a,b,d,!0,f));if(this.f&4&&(a=a[0],e=this.b[0],a&&e)){d=this.j;f=b.length-1;do{for(c=e.next;a&&(!c||a.key<c.key);){for(h=d;h<=f;h++)k=b[h],k.b(a.values[k.j],a.values[k.D],a.values);a=a.next}e=e.values;for(h=d;h<=f;h++)e[h]=b[h].f();e=c}while(a)}}this.f=0;this.j=b.length;D0(this)}G0.u.update.call(this)};$.H(H0,C0);$.g=H0.prototype;
$.g.SW=function(){this.U&&$.el(101);this.U=!0};
$.g.zF=function(){this.U=!1;if(this.f.length||this.N){var a=I0(this),b=this.f.length,c=this.b.length,d=this.f[a?0:b-1];c=!b||!c||0<U_(d,this.b[c-1]);b=0;if(c&&2>this.N){c&&(b|=1);if(this.N){b|=2;d=new J0(this.b,null,!0);var e=0;for(c=d.next();c&&c.g;)e++,c=d.next();$.Ca(this.b,0,e);if(c=this.b[0])c.b=null}Hia(this,new J0(null,this.f,a))}else d=new J0(this.b,this.f,a),this.b=[],Hia(this,d),b=F0;this.f.length=0;this.j=this.v3;this.g=-1;this.N=0;D0(this);Kia(this.O,b,!0)}};
$.g.Fr=function(a,b,c){var d=!this.U;d&&this.SW();if($.z(a)){var e=new Eia(this),f=new $.Im;$.D(c)&&(f.sI(c.rowsSeparator),f.yF(c.columnsSeparator),f.$G(c.ignoreTrailingSpaces),f.YG(c.ignoreFirstRow));f.GB(a,e);!0===b&&(b=e.b)}else if($.A(a)){for(e=c=0;e<a.length;e++)Gia(this,a[e])&&c++;!0===b&&(b=c)}b=$.N(b);(0,window.isNaN)(b)||this.HN(b);d&&this.zF();return this};$.g.remove=function(a,b){for(var c=new J0(this.b,this.f,I0(this),a,b),d;d=c.next();)d.g=!0;this.N=2;this.U||this.zF();return this};
$.g.HN=function(a){a=$.O(a);for(var b=new J0(this.b,this.f,I0(this)),c=window.NaN,d;(d=b.next())&&0<a;)d.g||(d.key!=c&&a--,d.g=!0,c=d.key);this.N||(this.N=1);this.U||this.zF();return this};$.g.TS=function(){return this.D||this.ba};$.g.v3=function(a){this.f.push(a);this.j=this.t3};$.g.t3=function(a){var b=this.f.length,c=this.f[b-1];c.key<a.key?this.f.push(a):c.key>a.key?(this.j=1==b?this.u3:this.RV,this.f.push(a)):this.f[b-1]=a};
$.g.u3=function(a){var b=this.f.length,c=this.f[b-1];c.key>a.key?this.f.push(a):c.key<a.key?(this.j=this.RV,this.f.push(a)):c.key==a.key&&(this.f[b-1]=a)};$.g.RV=function(a){this.f.push(a)};$.g=J0.prototype;$.g.vD=function(){return null};$.g.Tfa=function(){var a=this.f,b=this.j[this.b];if(a){if(b){if(0>U_(a,b))return this.f=this.f.next,a;this.b++;return b}this.f=this.f.next;this.g=this.I2;return a}if(b)return this.b++,this.g=this.Rfa,b;this.next=this.vD;return null};
$.g.Vfa=function(){var a=this.f,b=this.j[this.b];if(a){if(b){if(0>U_(a,b))return this.f=this.f.next,a;this.b--;return b}this.f=this.f.next;this.g=this.I2;return a}if(b)return this.b--,this.g=this.Sfa,b;this.next=this.vD;return null};$.g.I2=function(){var a=this.f;if(a)return this.f=this.f.next,a;this.next=this.vD;return null};$.g.Rfa=function(){var a=this.j[this.b++];if(a)return a;this.next=this.vD;return null};$.g.Sfa=function(){var a=this.j[this.b--];if(a)return a;this.next=this.vD;return null};
$.g.Dba=function(){var a=this.g();return null===a||a.key>this.D?(this.next=this.vD,null):a};$.g.gga=function(){return this.g()};$.H(K0,$.od);$.g=K0.prototype;$.g.la=function(){return this.wd};$.g.ZD=function(a){this.wd=a};$.g.Wd=function(){return this.Zc.Wd()};$.g.bd=function(a,b){if(a in this.f)return $.cl(202,void 0,[a]),window.NaN;a:{var c=this.Wd();if(this.Wd()!=c)c=window.NaN;else{var d=c.ww.length;var e=d?~c.ww[0]:~c.AF;if($.z(b)){if(b in c.xz){$.cl(201,void 0,[b]);c=window.NaN;break a}c.xz[b]=e}c.BF[this.la()]=Math.max(c.BF[this.la()],~e);d?c.ww.shift():c.AF++;c=e}}return(0,window.isNaN)(c)?window.NaN:this.f[a]=c};
$.g.De=function(a){return a in this.f?this.f[a]:window.NaN};$.g.Lf=function(a){this.b=a};$.g.Mf=function(a){this.j=$.E(a)?a:$.ia};$.g.Kf=function(a){this.g=$.E(a)?a:$.ia};
$.g.R=function(){var a=this.Wd(),b=this.la();a.px.splice(b,1);var c;for(c=b;c<a.px.length;c++)a.px[c].ZD(c);a.BF.splice(b,1);b=[];for(var d in this.f)b.push(this.f[d]);if(b.length){$.Qa(a.ww);d=[];var e=Number.POSITIVE_INFINITY;for(c=0;c<b.length;c++){var f=~b[c];e=Math.min(e,f);a.ww.push(f);for(var h in a.xz)if(a.xz[h]==b[c]){d.push(h);break}}$.Qa(a.ww);for(c=a.ww.length;c--&&a.ww[c]==a.AF-1;)a.AF--,a.ww.pop();for(c=0;c<d.length;c++)delete a.xz[d[c]];e--;a.lc.g=Math.min(a.lc.g,e);for(var k in a.Bu)a.Bu[k].g=
Math.min(a.Bu[k].g,e)}$.D(this.b)&&$.E(this.b.dispose)&&this.b.dispose();delete this.b;delete this.g;delete this.j;delete this.Zc;delete this.f;K0.u.R.call(this)};$.H(L0,d0);L0.prototype.set=function(a,b){return this.g(this.j.De(a),b)};L0.prototype.g=function(a,b){var c=!(0,window.isNaN)(a);c&&(this.hf.f[~a]=b);return c};var U3=K0.prototype;U3.addOutputField=U3.bd;U3.getFieldIndex=U3.De;U3.setContext=U3.Lf;U3.setStartFunction=U3.Mf;U3.setCalculationFunction=U3.Kf;U3.dispose=U3.cd;U3=L0.prototype;
U3.set=U3.set;U3.setColumn=U3.g;$.H(M0,$.Yq);M0.prototype.wK=function(){return new c0(this)};
M0.prototype.Hd=function(a,b,c,d){if($.ea(b))var e=Math.round($.N(b));else if($.z(b))e=this.Iy.xz[b]||window.NaN,(0,window.isNaN)(e)&&(e=b);else return this;if($.ea(e)&&0>e)this.yC[a]={z4:e,K3:e};else if($.z(e)||!(0,window.isNaN)(e)){if((b=$.D(c))&&!$.E(c)&&!("reset"in c&&"considerItem"in c&&"getResult"in c))return this;var f=b?c:kia($.n(c)?c:a);b=d;"weighted-average"==f&&($.ea(d)?b=Math.round(d):$.z(d)?(b=this.Iy.xz[d]||window.NaN,(0,window.isNaN)(b)&&(b=d)):b=window.NaN,$.ea(b)&&(0,window.isNaN)(b)&&
(f="average"));$.V(this.Iy);d=this.Iy;c=e;var h=b;b=Jia(f,c,h);b in d.eR?b=d.eR[b]:(c=Iia(f,c,h),d.eR[b]=b=d.ME.length,d.ME.push(c),Kia(d,4,!1));this.yC[a]={z4:e,K3:b};this.Iy.da(!0)}return this};M0.prototype.Wd=function(){return this.Iy};var V3=M0.prototype;V3.addField=V3.Hd;V3.createSelectable=V3.wK;$.H(N0,$.od);N0.prototype.clear=function(){this.value=void 0};N0.prototype.f=function(){var a=this.value;this.clear();return a};N0.prototype.R=function(){delete this.value;N0.u.R.call(this)};$.H(O0,N0);O0.prototype.clear=function(){this.value=this.g=0};O0.prototype.b=function(a){a=$.N(a);(0,window.isNaN)(a)||(this.value+=a,this.g++)};O0.prototype.f=function(){var a=this.g?this.value/this.g:window.NaN;this.clear();return a};$.H(P0,N0);P0.prototype.clear=function(){this.g.reset()};P0.prototype.b=function(a,b,c){this.g.considerItem(a,c)};P0.prototype.f=function(){var a=this.g.getResult();this.clear();return a};P0.prototype.R=function(){delete this.g;P0.u.R.call(this)};$.H(Q0,N0);Q0.prototype.clear=function(){this.value=[];this.rows=[]};Q0.prototype.b=function(a,b,c){this.value.push(a);this.rows.push(c)};Q0.prototype.f=function(){var a=this.G.call(this.g,this.value,this.rows);this.clear();return a};Q0.prototype.R=function(){delete this.G;delete this.g;Q0.u.R.call(this)};$.H(R0,N0);R0.prototype.clear=function(){this.value=window.NaN};R0.prototype.b=function(a){(0,window.isNaN)(this.value)&&(this.value=$.N(a))};$.H(S0,N0);S0.prototype.b=function(a){$.n(this.value)||(this.value=a)};$.H(T0,N0);T0.prototype.clear=function(){this.value=window.NaN};T0.prototype.b=function(a){a=$.N(a);(0,window.isNaN)(a)||(this.value=a)};$.H(U0,N0);U0.prototype.b=function(a){$.n(a)&&(this.value=a)};$.H(V0,N0);V0.prototype.clear=function(){this.value=[]};V0.prototype.b=function(a){$.n(a)&&this.value.push(a)};$.H(W0,N0);W0.prototype.clear=function(){this.value=window.NaN};W0.prototype.b=function(a){a=$.N(a);(0,window.isNaN)(a)||this.value>=a||(this.value=a)};$.H(X0,N0);X0.prototype.clear=function(){this.value=window.NaN};X0.prototype.b=function(a){a=$.N(a);(0,window.isNaN)(a)||this.value<=a||(this.value=a)};$.H(Y0,N0);Y0.prototype.clear=function(){this.value=0};Y0.prototype.b=function(a){a=$.N(a);(0,window.isNaN)(a)||(this.value+=a)};$.H(Z0,N0);Z0.prototype.clear=function(){this.value=this.g=0};Z0.prototype.b=function(a,b){a=$.N(a);b=$.N(b)||0;(0,window.isNaN)(a)||(this.value+=a*b,this.g+=b)};Z0.prototype.f=function(){var a=this.g?this.value/this.g:window.NaN;this.clear();return a};$.H($0,$.Yq);$.g=$0.prototype;$.g.qa=16;$.g.SW=function(){this.lc.SW()};$.g.zF=function(){this.lc.zF()};$.g.Fr=function(a,b,c){this.lc.Fr(a,b,c);return this};$.g.remove=function(a,b){this.lc.remove($.Rk(a),$.Rk(b));return this};$.g.HN=function(a){this.lc.HN(a);return this};$.g.ie=function(a){a=new M0(this,a);$.sd(this,a);return a};$.g.Dc=function(a){if($.K(a,M0)){if(a.Wd()!=this)return $.cl(200),null}else a=this.ie(a);a=new K0(a,this.px.length);this.px.push(a);this.BF.push(-1);return a};
$.g.R=function(){$.V(this);delete this.lc;$.td(this.ME,this.px);this.ME.length=0;this.Bu={};this.px.length=0;this.da(!1);$0.u.R.call(this)};var W3=$0.prototype;$.F("anychart.data.table",function(a,b,c,d,e){return new $0(a,b,c,d,e)});W3.addData=W3.Fr;W3.remove=W3.remove;W3.removeFirst=W3.HN;W3.mapAs=W3.ie;W3.createComputer=W3.Dc;$.H(a1,$.nx);$.g=a1.prototype;$.g.Zr=function(){var a=this.cl();return $.K(a,z2)?this.ea.width/(a.cw-a.ws):this.Aa.GL()/(a.WS()-a.XS())*this.ea.width};$.g.Rd=function(){return null};$.g.K0=function(){};$.g.NL=function(){var a=f0(this.oa);a&&this.aa().ku(a.hf);return a};$.g.ML=function(){var a=g0(this.oa);a&&this.aa().ku(a.hf);return a};$.g.tG=function(){return this.Aa};$.g.jK=function(){return!1};
$.g.data=function(a,b,c){if($.n(a)){var d=this.tG();$.V(d);if(this.oa){var e=this.oa;this.oa=null;oma(d,e)}this.D&&($.qd(this.D),this.D=null);this.U=a;$.K(a,$0)||$.K(a,M0)||(e=new $0,a&&e.Fr(a,!1,c),this.D=a=e);$.K(a,$0)&&(a=a.ie(b),b||(a.Hd("value",1,"average"),a.Hd("size",2,"sum"),a.Hd("open",1,"first"),a.Hd("high",2,"max"),a.Hd("low",3,"min"),a.Hd("close",4,"last"),a.Hd("volume",5,"sum")),this.D||(this.D=a));$.K(a,M0)?(this.oa=a.wK(),this.A3()):this.U=null;d.da(!0);return this}return this.U};
$.g.A3=function(){o0(this.tG().b,this.oa,!0)};$.g.Qf=function(){return this.oa.aa()};$.g.f_=function(){return!0};
$.g.Ae=function(a,b,c){var d=$.VA(this),e=b?this.Qf():this.aa(),f=e.la();d.Ag(e).mj([this.Rd(f),this]);var h;a=a||this.i("color")||"blue";var k=e.Oh();b=e.get("value");var l=$.n(e.get("name"))?e.get("name"):k;e={x:{value:k,type:"date-time"},value:{value:b,type:"number"},index:{value:f,type:"number"},iterator:{value:e,type:""},autoColor:{value:a,type:""},chart:{value:this.Aa,type:""},plot:{value:this.Ze,type:""},series:{value:this,type:""},name:{value:l,type:"string"},isIntersection:{value:!!e.o("isIntersection"),
type:"string"}};c=$.n(c)&&c;(f=this.sd())&&!c&&($.n(b)&&(h=f.yq(b)),e.scaledColor={value:h,type:""},e.colorScale={value:f,type:""});e.sourceColor={value:h||a,type:""};return $.av(d,e)};
$.g.Fi=function(a){var b=$.VA(this);a=a?this.Qf():this.aa();var c=a.la();b.Ag(a).mj([this.Rd(c),this]);var d=this.ph(),e=a.Oh(),f=a.get("value"),h=$.n(a.get("name"))?a.get("name"):e;return $.av(b,{x:{value:e,type:"date-time"},value:{value:f,type:"number"},index:{value:c,type:"number"},iterator:{value:a,type:""},sourceHatchFill:{value:d,type:""},plot:{value:this.Ze,type:""},chart:{value:this.Aa,type:""},series:{value:this,type:""},name:{value:h,type:"string"}})};
$.g.cW=function(){if(!this.oa)return null;for(var a=this.ue(),b=[],c=0;c<a.length;c++){var d=k0(this.oa,a[c]);if(!$.z(d)&&(0,window.isNaN)(d))return $.el(201,void 0,[this.Sj(),a[c]]),null;b.push(d)}return b};
$.g.AG=function(a){var b=this.cW(),c=[];if(b){var d=this.bb(),e,f=b.length;for(e=0;e<f;e++){var h=b[e],k=this.oa;k=$.ea(h)&&0>h?a?k.b.p5[~h]:k.b.fK[~h]:a?k.b.r5[h]:k.b.SM[h];c.push(d.iF($.n(k)?k:window.NaN,this.$B));k=this.oa;h=$.ea(h)&&0>h?a?k.b.o5[~h]:k.b.eK[~h]:a?k.b.q5[h]:k.b.QM[h];c.push(d.iF($.n(h)?h:window.NaN,this.$B))}}return c};
$.g.DD=function(){var a=k0(this.oa,"label"),b=k0(this.oa,"minLabel"),c=k0(this.oa,"maxLabel");return $.z(a)||!(0,window.isNaN)(a)||$.z(b)||!(0,window.isNaN)(b)||$.z(c)||!(0,window.isNaN)(c)};$.g.qN=function(){var a=k0(this.oa,"marker");return $.z(a)||!(0,window.isNaN)(a)};$.g.Tg=function(){return this.check(32)&&"none"!=this.bb().Um()};$.g.HD=function(a){return this.oa.search(a,"exact")};$.g.fo=function(a,b){this.f=this.HD(a);this.N=!0;b1(this,$.Zl);this.G=this.f?this.f:this.HD(b);b1(this,$.po)};
$.g.Nj=function(){return this.Ac};$.g.Ek=function(){this.Ac&$.po||(this.Ac=$.po,this.B(2176,1))};$.g.Pd=function(){this.Ac!=$.Zl&&(this.Ac=$.Zl,this.B(2176,1));return this};$.g.Wq=function(){return this.Nj()};$.g.xk=function(){this.qu||(this.qu=new $.rw);return $.eB(this,this.qu,this.N?this.f:this.O)};$.g.gC=function(a){this.St||(this.St=new $.rw);this.St=$.eB(this,this.St,this.N?this.f:this.O);if(a){for(var b=$.$u(this.St),c=0;c<a.length;c++)$.ra(b,a[c]);$.av(this.St)}return this.St};
$.g.Em=function(a,b){var c=this.Aa.tn(),d=a1.u.Em.call(this,a,b);d.defaultDecimalDigitsCount={value:this.ba,type:"number"};d.dataIntervalUnit={value:c.Xn().unit,type:"string"};d.dataIntervalUnitCount={value:c.Xn().count,type:"number"};d.isGrouped={value:c.gD(),type:""};return d};$.g.Q0=function(){return"date-time"};
$.g.rG=function(a,b,c,d){if(!a&&this.check($.wG)){a=d.open<d.close;if(2==b)a=a?"risingStroke":"fallingStroke";else if(3==b){if(this.check(8))return null;a=a?"risingHatchFill":"fallingHatchFill"}else this.check(8)?(a=a?"risingStroke":"fallingStroke",b=2):a=a?"risingFill":"fallingFill";return $.Vl(a,b,!1)(this,$.Zl,!0)}return a1.u.rG.call(this,a,b,c,d)};
$.g.KC=function(a,b){return"rising-falling"==String(a).toLowerCase()&&this.check($.wG)?b.open<b.close?"triangle-up":"triangle-down":a1.u.KC.call(this,a,b)};
$.g.F0=function(a){if(this.check($.wG)){var b=(0,window.isNaN)(a.high)||(0,window.isNaN)(a.low)||(0,window.isNaN)(a.open)||(0,window.isNaN)(a.close);a=": (O: "+c1(this,a.open)+"; H: "+c1(this,a.high)+"; L: "+c1(this,a.low)+"; C: "+c1(this,a.close)+")"}else this.check($.Yl)?(b=(0,window.isNaN)(a.high)||(0,window.isNaN)(a.low),a=": (H: "+c1(this,a.high)+"; L: "+c1(this,a.low)+")"):(b=(0,window.isNaN)(a.value),a=": "+c1(this,a.value));return this.name()+(b?"":a)};
$.g.zY=function(a){var b=this.Na();b=Hma[b];if(null!==b)return $.n(a)?this:b;b=this.Aa.kda?this.Aa.Zs:!1;return $.n(a)?(a=!!a,$.n(this.Zs)||(this.Zs=b),this.Zs!=a&&(this.Zs=a,a=this.Aa.tv(this.Na())[1],this.mz(a,!1),this.B(5664,this.qa)),this):$.n(this.Zs)?this.Zs:b};$.g.mz=function(a,b){var c=$.Qc(a),d=!$.K(this,L2)&&this.zY();c.zb|=d&&1048576;c.Fb=d?2:1;a1.u.mz.call(this,c,b)};$.g.F=function(){return a1.u.F.call(this)};$.g.X=function(a,b){a1.u.X.call(this,a,b)};
$.g.R=function(){if(this.oa){var a=this.oa;this.oa=null;oma(this.tG(),a)}this.O=this.f=null;a1.u.R.call(this)};var X3=a1.prototype;X3.data=X3.data;X3.allowPointSettings=X3.zY;d1.prototype.getData=function(){return(0,$.Wa)(this.oa||[],function(a){return a.data})};
d1.prototype.aa=function(a,b,c,d){var e=(0,window.isNaN)(b)||(0,window.isNaN)(c);if(e){var f=0;var h=this.oa.length}else f=~$.Na(this.oa,{key:b,index:-1},e1),h=~$.Na(this.oa,{key:c,index:-window.Infinity},e1);var k;if(this.b&&this.b.LI==d&&this.b.fda==f&&this.b.Kia==h&&this.b.kha==a.Gb()){var l=this.b.data;var m=this.b.efa;var p=this.b.Ei||0;var q=this.b.count||0}else{l=[];m=[];q=0;if(d){p=window.NaN;c=f;var r=window.NaN,t=window.NaN,u=[];for(a.reset();a.advance()&&c<h;){for(var v;c<h&&(v=this.oa[c]).key<
a.f;)u.push(v),c++;if(u.length)if((0,window.isNaN)(r)&&!e)u.length=0;else{l.length||(p=c-u.length);for(k=0;k<u.length;k++)m.push(l.length);l.push({key:r,index:t,items:u,aG:c-u.length});q+=u.length;u=[]}r=a.f;t=a.g()}if(!(0,window.isNaN)(r)||e){for(;c<h;)u.push(v),c++;if(u.length){l.length||(p=c-u.length);for(k=0;k<u.length;k++)m.push(l.length);l.push({key:r,index:t,items:u,aG:c-u.length});q+=u.length}}a=a.Gb()}else{p=0;e=[];for(a.reset();a.advance();)e[a.g()]=a.f;a.reset();t=v=window.NaN;u=0;var w=
window.NaN;b=(0,window.isNaN)(b)?-window.Infinity:b;for(var x=(0,window.isNaN)(c)?window.Infinity:c,y;a.advance();){k=a.f;r=a.g();(0,window.isNaN)(w)&&(w=r);var B=(e[r]-e[t])/2;for(c=0;c<this.oa.length;c++){y=this.oa[c].key<=x&&this.oa[c].key>=b;var G=t==w&&this.oa[c].key<v+B;var C=e[r]+(e[r+1]-e[r])/2;var I=e[r]-(e[r]-e[r-1])/2;C=(0,window.isNaN)(C)?x:C;I=this.oa[c].key<=C&&this.oa[c].key>=I;y&&(G||I)&&(l.push({key:this.oa[c].key,index:I?r:t,items:[this.oa[c]],aG:u}),m.push(u),u++,q++)}v=k;t=r}if(v==
k&&t==w||(0,window.isNaN)(k))for(c=0;c<this.oa.length;c++)if(y=this.oa[c].key<=x&&this.oa[c].key>=b)l.push({key:this.oa[c].key,index:r?r:u,items:[this.oa[c]],aG:u}),m.push(u),u++,q++;a=q}this.b={fda:f,Kia:h,data:l,efa:m,Ei:p,count:q,kha:a,LI:d}}return new Nia(l,m,p,q)};d1.prototype.f=function(a,b,c){var d=$.cs(b instanceof Date||!$.D(b)?b:b.date,this.j,(0,window.isNaN)(this.g)?null:new Date(this.g),this.D);d&&a.push({index:c,key:+d,data:b,o:{}});return a};$.g=Nia.prototype;
$.g.select=function(a){var b;if(b=this.G<=a&&a<this.G+this.N){this.j=a;this.b=this.O[a-this.G];var c=this.oa[this.b];this.D=c.items.length;this.g=a-c.aG}else this.D=0,this.b=this.oa.length,this.g=0,this.j=window.NaN;return b};$.g.ku=function(a){this.select(a)};$.g.current=function(){return this.oa[this.b].items[this.g].data};$.g.reset=function(){this.j=this.G-1;this.b=-1;this.g=this.D=0;return this};
$.g.advance=function(){++this.g>=this.D&&(this.g=0,this.b++,this.D=this.b<this.oa.length?this.oa[this.b].items.length:0);this.j++;return this.g<this.D};$.g.Gb=function(){return this.N};$.g.la=function(){return this.b<this.oa.length?this.j:window.NaN};$.g.Oh=function(){return this.b<this.oa.length?this.oa[this.b].key:window.NaN};$.g.get=function(a){var b=this.oa[this.b].items[this.g].data;return $.D(b)?b[a]:void 0};$.g.Rq=function(){};
$.g.o=function(a,b){var c=this.oa[this.b].items[this.g].o;return $.n(b)?(c[a]=b,this):c[a]};$.H(k1,$.Y);var Y3={};$.hq(Y3,[$.Z.LX,$.Z.w6,$.Z.O7,$.Z.C6,$.Z.v8]);$.U(k1,Y3);var j1=[["direction",64,1],["position",64,1],["seriesId",64,1],["fieldName",64,1],["stickToLeft",64,1]],Z3=$.jq();Z3.push.apply(Z3,[$.Z.x6,$.Z.nJ,$.Z.lJ,$.Z.Q6,$.Z.tB,$.Z.DE,$.Z.L6]);var h1=Z3,Ima={};$.hq(Ima,h1);var $3=["connector"],Jma;for(Jma in Ima)$3.push(Jma);$.xq(k1,$3,"normal");var a4={};
$.T(a4,[["type",64,1],["width",64,1],["height",64,1],["fill",64,1],["stroke",64,1],["format",64,1],["fontPadding",64,1],["connector",64,1]]);$.vq(a4,64,64,1,1);var g1=a4,b4={};$.T(b4,[["type",0,0],["width",0,0],["height",0,0],["fill",0,0],["stroke",0,0],["format",0,0],["fontPadding",0,0],["connector",0,0]]);$.vq(b4,0,0,0,0);var i1=b4;$.g=k1.prototype;$.g.sa=$.Y.prototype.sa|80;$.g.qa=$.Y.prototype.qa|1;$.g.dC=function(){this.B(80,1)};
$.g.vG=function(a){var b=this.Ze.bj();return a?1==a?b.mb():b.selected():b.Sa()};$.g.data=function(a){if($.n(a)){if($.D(a)&&!$.A(a)){var b=a.dateTimePattern;var c=a.baseDate;var d=a.locale;a=a.data}$.A(a)||(a=[]);var e=this.KF;e.j=b;e.g=$.ma(c)?c.getTime():$.N(c);e.D=d||null;e.b=null;e.oa=(0,$.Fg)(a,e.f,[]);e.oa.sort(e1);this.B(64,1);return this}return this.KF.getData()};$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.mb=function(a){return $.n(a)?(this.xa.K(a),this):this.xa};
$.g.selected=function(a){return $.n(a)?(this.Ca.K(a),this):this.Ca};
$.g.$=function(){if(!this.Bc())return this;$.V(this);$.V(this.Da);this.J(4)&&(this.ea=this.ja(),this.lx=this.Ng?this.Ng.nj(this.ea):this.ea,this.B(64),this.I(4));this.J(16)&&(this.AA.length=0,this.B(64),this.I(16));this.J(64)&&(this.Nd=null,this.Vl.Wu(),this.Da.clear());if(this.J(2)){var a=this.P();$.FA(this.Vl,a);this.I(2)}if(this.J(64)){var b={};a=this.Ze.bj();var c=this.aa();for(c.reset();c.advance();){if(!c.g){b=f1(c);var d=a.g[b];d||(d=a.g[b]={});b=d}d=Ria(this,b);b[d[0]]=d[1]}this.I(72)}this.J(8)&&
this.I(8);this.ca.Zg().I(4294967295);this.Da.da(!1);this.da(!1);return this};$.g.remove=function(){this.Vl.Wu();this.B(64)};
$.g.ce=function(a,b,c,d,e,f,h,k,l,m){b=this.Qg(a,b,!1,!1);var p=a.la();a.o("symbol",l1(b,"format",$.oq).charAt(0));a=new $.rw(this.Em(a),a);$.av(a);var q=e,r=h;e={};k&&(r=-r);"flag"==c&&(d+=f/2);"pin"==c?(q+=3*r/5,e.height=Math.abs(4*r/5)):q+=r/2;e.value={x:d,y:q};m?(c=this.Da.Vd(p),c.lf(a),c.uc(e)):c=this.Da.add(a,e,p);c.zIndex(l);l=l1(b,"fontPadding",$.Qq);h=e.height||h;f=$.Ga({positionFormatter:$.Xo,anchor:"center",rotation:0,width:f-2*$.M(l,f/2),height:h-2*$.M(l,h/2)},b);$.Qu(c,f);c.P(this.P());
c.$();return c};
$.g.Ig=function(a){var b=a.type;switch(b){case "mouseout":b="eventmarkermouseout";break;case "mouseover":b="eventmarkermouseover";break;case "mousemove":b="eventmarkermousemove";break;case "mousedown":b="eventmarkermousedown";break;case "mouseup":b="eventmarkermouseup";break;case "click":case "touchstart":b="eventmarkerclick";break;case "dblclick":b="eventmarkerdblclick";break;default:return null}var c;"eventMarkerIndex"in a?c=a.eventMarkerIndex:"labelIndex"in a&&(c=a.labelIndex+this.aa().G);a.eventMarkerIndex=
c=$.N(c);return{type:b,target:this,group:this,index:c,originalEvent:a,eventMarker:this.Vq(c)}};$.g.Rg=function(){return!0};$.g.Qs=function(){return!0};$.g.Ae=function(a){a=a||this.i("fill")||"#ccc";var b=this.aa();return{index:b.la(),sourceColor:a,iterator:b,group:this,chart:this.Ze.mc(),plot:this.Ze}};$.g.ph=function(){return null};$.g.aa=function(){this.Nd||(this.Nd=this.Qf());return this.Nd};
$.g.Qf=function(a){var b=l1(this.Qg(null,0,!0,!1),"stickToLeft",$.uq),c=this.Ze.mc();a=[l0(c.b,!1,!1,!0),a?window.NaN:c.b.b.yh,a?window.NaN:c.b.b.Di];a.push(b);return this.KF.aa.apply(this.KF,a)};$.g.Fi=function(){return null};
$.g.Qg=function(a,b,c,d,e){c?c=a=null:(c=a.get("normal"),$.n(c)||!d&&!e||(e=d?"connector":e||"",c={},c[e]=a.get(e)),a=b?1==b?a.get("hovered"):a.get("selected"):null);b=Math.min(b,$.qo);e=2*b+d;d&&($.D(c)&&(c=c.connector),$.D(a)&&(a=a.connector));var f=this.AA[e];if(f)b?(f[0]=a,f[6]=c):f[0]=c;else{var h=this.Ze.bj();f=n1(h,$.Zl,!0,d);var k=n1(h,$.Zl,!1,d),l=d?this.ca.Zg():this.ca;if(b){var m=n1(h,b,!0,d);h=n1(h,b,!1,d);b=b==$.po?this.xa:this.Ca;b=d?b.Zg():b;f=$.Ga([a],b.Ma,h,[c],l.Ma,d?null:this.Ma,
k,b.ma,m,l.ma,d?null:this.ma,f)}else f=$.Ga([c],l.Ma,d?null:this.Ma,k,l.ma,d?null:this.ma,f);this.AA[e]=f}return f};$.g.zc=function(a,b,c,d,e,f,h){b=this.Qg(c,b,!!h,e,a);return l1(b,a,d)};
$.g.aY=function(){function a(a,c,d,e,f,h){e/=2;a.moveTo(c,d).lineTo(c-e,d+h,c-e,d+f,c+e,d+f,c+e,d+h).close()}return{circle:function(a,c,d,e,f,h){f/=2;a.ze(c,d+(h?-f:f),e/2,f,0,360)},rect:function(b,c,d,e,f,h){h&&(f=-f);a(b,c,d,e,f,0)},pin:function(b,c,d,e,f,h){h&&(f=-f);a(b,c,d,e,f,f/4)},flag:function(b,c,d,e,f,h){h&&(f=-f);a(b,c+e/2,d,e,f,0)}}}();$.g.MS=function(a){var b,c=this.aa();c.select(a)?b=this.Em(c):c=null;a=new $.rw(b,c);$.av(a);return a};
$.g.Em=function(a){var b=this.Ze.mc().tn().Xn();return{date:{value:a.b<a.oa.length?a.oa[a.b].items[a.g].key:window.NaN,type:"date-time"},groupedDate:{value:a.Oh(),type:"date-time"},group:{value:this,type:""},index:{value:a.la(),type:"number"},plot:{value:this.Ze,type:""},chart:{value:this.Ze.mc(),type:""},title:{value:a.get("title")||"",type:"string"},description:{value:a.get("description")||"",type:"string"},symbol:{value:a.o("symbol"),type:"string"},dataIntervalUnit:{value:b.unit,type:"string"},
dataIntervalUnitCount:{value:b.count,type:"number"}}};$.g.Vq=function(a){var b=this.Qf(!0);b.select(a)?(a=new $.rw(this.Em(b),b),$.av(a)):a=null;return a};$.g.Xa=function(a){this.gb||(this.gb=new $.iw(0),this.gb.Ye().parent(this.Ze.bj().Xa()),this.gb.zi().position("leftTop"),$.mw(this.gb,this.Ze));return $.n(a)?(this.gb.K(a),this):this.gb};
$.g.F=function(){var a=k1.u.F.call(this);$.Hq(this,Y3,a);a.normal=this.ca.F();a.hovered=this.xa.F();a.selected=this.Ca.F();a.tooltip=this.Xa().F();a.data=this.KF.getData();return a};$.g.Ce=function(a,b){return $.A(b)?(this.data(b),!0):!1};$.g.X=function(a,b){k1.u.X.call(this,a,b);$.n(a.data)&&this.data(a.data);this.ca.ia(!!b,a);this.ca.ia(!!b,a.normal);this.xa.ia(!!b,a.hovered);this.Ca.ia(!!b,a.selected);this.Xa().ia(!!b,a.tooltip);$.zq(this,Y3,a)};
$.g.R=function(){$.td(this.Vl,this.ca,this.xa,this.Ca,this.gb,this.Da);this.ca=this.xa=this.Ca=this.Vl=this.Ze=this.gb=this.Da=null;k1.u.R.call(this)};var c4=k1.prototype;c4.data=c4.data;c4.tooltip=c4.Xa;c4.getMarker=c4.Vq;c4.normal=c4.Sa;c4.hovered=c4.mb;c4.selected=c4.selected;$.H(m1,$.Y);$.U(m1,Y3);$.xq(m1,$3,"normal");$.g=m1.prototype;$.g.sa=$.Y.prototype.sa|64;$.g.dC=function(){this.B(64,1)};$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.mb=function(a){return $.n(a)?(this.xa.K(a),this):this.xa};$.g.selected=function(a){return $.n(a)?(this.Ca.K(a),this):this.Ca};
$.g.group=function(a,b){var c=$.N(a);if((0,window.isNaN)(c)){c=0;var d=a}else c=a,d=b;var e=this.b[c];e||(e=new k1(this.f,c),e.ib(this),e.Mh=10+.01*this.b.length,this.b[c]=e,$.L(e,this.S2,this),this.B(64,1));$.n(d)&&e.K(d);return e};$.g.data=function(a){var b=this.group().data(a);return $.n(a)?this:b};
$.g.$=function(){if(!this.Bc())return this;this.Wa||(this.Wa=$.lk(),$.du(this,this.Wa));var a=this.P();if(this.J(4)){this.ea=this.ja();var b=a.Ha();b=b?b.width():this.ea.width;this.Wa.clip(new $.J(0,this.ea.top,b,this.ea.height));this.B(64);this.I(4)}if(this.J(64)){this.AA.length=0;this.g={};Sia(this);for(b=0;b<this.b.length;b++){var c=this.b[b];$.V(c);c.ja(this.ea);c.P(this.Wa);c.B(64);c.$();c.da(!1)}this.ca.Zg().I(4294967295);this.I(64)}this.J(2)&&(this.Wa.parent(a),this.I(2));this.J(8)&&(this.Wa.zIndex(this.zIndex()),
this.I(8));return this};$.g.S2=function(){this.B(64,1)};$.g.rC=function(a,b,c,d,e){var f=e?e.clear():this.Bn.length?this.Bn.pop():$.nk();$.D(d)&&"keys"in d&&!$.D(d.mode)&&(d=$.Kl(d),d.mode=this.ea);f.stroke(d);f.fill(null);f.zIndex(0);e||(this.Wa.fc(f),this.j.push(f));f.moveTo(a,b).lineTo(a,c);return f};$.g.sh=function(a){var b,c=$.mo(a.domTarget);$.K(a.target,$.Du)?(c=a.target.Gi(),$.K(c,k1)&&(b=c)):$.D(c)&&!$.K(c,m1)&&(b=c.group,a.eventMarkerIndex=c.index);b&&!b.fd&&b.enabled()&&(a=b.Ig(a))&&b.dispatchEvent(a)};
$.g.Xa=function(a){this.gb||(this.gb=new $.iw(0),this.gb.Ye().parent(this.f.mc().bj().Xa()));return $.n(a)?(this.gb.K(a),this):this.gb};$.g.F=function(){var a=m1.u.F.call(this);$.Hq(this,Y3,a);a.normal=this.ca.F();a.hovered=this.xa.F();a.selected=this.Ca.F();a.tooltip=this.Xa().F();for(var b=[],c=0;c<this.b.length;c++){var d=this.b[c];b.push(d?d.F():null)}a.groups=b;return a};
$.g.X=function(a,b){m1.u.X.call(this,a,b);this.ca.ia(!!b,a);this.ca.ia(!!b,a.normal);this.xa.ia(!!b,a.hovered);this.Ca.ia(!!b,a.selected);this.Xa().ia(!!b,a.tooltip);$.zq(this,Y3,a);var c,d;if($.n(c=a.groups)){if($.td(this.b),this.b.length=0,Sia(this),$.A(c))for(d=0;d<c.length;d++){var e=c[d];null!=e&&this.group(d,e)}}else $.n(d=a.data)&&this.data(d)};$.g.R=function(){$.td(this.b,this.Wa,this.ca,this.xa,this.Ca,this.gb);delete this.b;this.ca=this.xa=this.Ca=this.Wa=this.f=this.gb=null;m1.u.R.call(this)};
var d4=m1.prototype;d4.group=d4.group;d4.data=d4.data;d4.tooltip=d4.Xa;d4.normal=d4.Sa;d4.hovered=d4.mb;d4.selected=d4.selected;$.H(p1,$.od);p1.prototype.In=function(a,b){a.Hd("value",b.De("result"))};p1.prototype.R=function(){for(var a in this.Oa){var b=this.Oa[a];b.W&&this.D.mo(b.W.id());$.qd(b.W);b.qD=!1;$.qd(b.mapping);b.mapping=null}delete this.Oa;$.qd(this.f);this.f=null;delete this.D;delete this.Zc;p1.u.R.call(this)};var Kma=p1.prototype;Kma.dispose=Kma.cd;$.g=u1.prototype;$.g.enqueue=function(a){var b=void 0;if(this.lc.length<this.g)this.lc.push(a),this.b++;else{var c=(this.f+this.b)%this.g;this.b<this.g?this.b++:(b=this.lc[c],this.f=(this.f+1)%this.lc.length);this.lc[c]=a}return b};$.g.eca=function(){if(this.b){var a=this.lc[this.f];this.f=(this.f+1)%this.lc.length;this.b--}return a};$.g.get=function(a){a=($.$a(+a,this.b)+this.f)%this.lc.length;return(0,window.isNaN)(a)?void 0:this.lc[a]};$.g.Dg=function(){return this.b};
$.g.clear=function(a){this.f=this.b=this.lc.length=0;this.g=$.O(a,this.g,!1)};var e4=u1.prototype;$.F("anychart.math.cycledQueue",v1);$.F("anychart.calculations.cycledQueue",v1);e4.enqueue=e4.enqueue;e4.dequeue=e4.eca;e4.get=e4.get;e4.getLength=e4.Dg;e4.clear=e4.clear;$.F("anychart.math.adl.initContext",w1);$.F("anychart.math.adl.startFunction",x1);$.F("anychart.math.adl.calculate",y1);$.F("anychart.math.adl.calculationFunction",Tia);$.F("anychart.math.adl.createComputer",Uia);$.H(z1,p1);z1.prototype.Dc=function(a){return Uia(a)};z1.prototype.Of=function(){return"ADL"};z1.prototype.W=function(a){return s1(this,"main",a)};var Lma=z1.prototype;Lma.series=Lma.W;$.F("anychart.math.ama.initContext",Via);$.F("anychart.math.ama.startFunction",Wia);$.F("anychart.math.ama.calculationFunction",Xia);$.F("anychart.math.ama.createComputer",Yia);$.H(A1,p1);$.g=A1.prototype;$.g.Dc=function(a){return Yia(a,this.g,this.b,this.j)};$.g.Of=function(){return"AMA("+this.g+","+this.b+","+this.j+")"};$.g.W=function(a){return s1(this,"main",a)};$.g.vb=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};$.g.nv=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};$.g.Gw=function(a){return $.n(a)?(a=$.O(a,this.j,!1),a!=this.j&&(this.j=a,t1(this)),this):this.j};var f4=A1.prototype;
f4.series=f4.W;f4.period=f4.vb;f4.fastPeriod=f4.nv;f4.slowPeriod=f4.Gw;$.F("anychart.math.ema.initContext",B1);$.F("anychart.math.ema.startFunction",C1);$.F("anychart.math.ema.calculate",D1);$.F("anychart.math.ema.calculationFunction",Zia);$.F("anychart.math.ema.createComputer",$ia);$.F("anychart.math.sma.initContext",E1);$.F("anychart.math.sma.startFunction",F1);$.F("anychart.math.sma.calculate",G1);$.F("anychart.math.sma.calculationFunction",aja);$.F("anychart.math.sma.createComputer",bja);$.F("anychart.math.ao.initContext",cja);$.F("anychart.math.ao.startFunction",dja);$.F("anychart.math.ao.calculate",eja);$.F("anychart.math.ao.calculationFunction",fja);$.F("anychart.math.ao.createComputer",gja);$.H(H1,p1);$.g=H1.prototype;$.g.Dc=function(a){return gja(a,this.b,this.g,this.j)};$.g.Of=function(){return"AO("+this.b+", "+this.g+")"};$.g.W=function(a){return s1(this,"main",a)};$.g.nv=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};$.g.Gw=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};$.g.Hk=function(a){return $.n(a)?(a=L_(a,this.j),a!=this.j&&(this.j=a,t1(this)),this):this.j};var g4=H1.prototype;
g4.series=g4.W;g4.fastPeriod=g4.nv;g4.slowPeriod=g4.Gw;g4.maType=g4.Hk;$.F("anychart.math.atr.initContext",I1);$.F("anychart.math.atr.startFunction",J1);$.F("anychart.math.atr.calculate",K1);$.F("anychart.math.atr.calculationFunction",hja);$.F("anychart.math.atr.createComputer",ija);$.H(L1,p1);L1.prototype.Dc=function(a){return ija(a,this.b)};L1.prototype.Of=function(){return"ATR("+this.b+")"};L1.prototype.W=function(a){return s1(this,"main",a)};L1.prototype.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var h4=L1.prototype;h4.series=h4.W;h4.period=h4.vb;$.F("anychart.math.aroon.initContext",jja);$.F("anychart.math.aroon.startFunction",kja);$.F("anychart.math.aroon.calculationFunction",lja);$.F("anychart.math.aroon.createComputer",mja);$.H(M1,p1);$.g=M1.prototype;$.g.Dc=function(a){return mja(a,this.b)};$.g.Of=function(a){switch(a){case "upAroon":return"Aroon up";case "downAroon":return"Aroon down";case "range":return"Aroon"}return""};$.g.In=function(a,b,c){switch(c){case "upAroon":a.Hd("value",b.De("upResult"));break;case "downAroon":a.Hd("value",b.De("downResult"));break;case "range":a.Hd("high",b.De("upResult")),a.Hd("low",b.De("downResult"))}};
$.g.Tia=function(a){null===s1(this,"upAroon")&&(q1(this,"upAroon",this.j),r1(this));return s1(this,"upAroon",a)};$.g.kca=function(a){null===s1(this,"downAroon")&&(q1(this,"downAroon",this.g),r1(this));return s1(this,"downAroon",a)};$.g.tQ=function(a){return s1(this,"range",a)};$.g.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var i4=M1.prototype;i4.period=i4.vb;i4.upSeries=i4.Tia;i4.downSeries=i4.kca;i4.rangeSeries=i4.tQ;$.F("anychart.math.bbands.initContext",N1);$.F("anychart.math.bbands.startFunction",O1);$.F("anychart.math.bbands.calculate",P1);$.F("anychart.math.bbands.calculationFunction",nja);$.F("anychart.math.bbands.createComputer",oja);$.H(Q1,p1);$.g=Q1.prototype;$.g.Dc=function(a){return oja(a,this.g,this.b)};$.g.Of=function(a){switch(a){case "upper":return"BBands U";case "lower":return"BBands L";case "middle":return"BBands M";case "range":return"BBands"}return""};$.g.In=function(a,b,c){switch(c){case "upper":a.Hd("value",b.De("upperResult"));break;case "lower":a.Hd("value",b.De("lowerResult"));break;case "middle":a.Hd("value",b.De("middleResult"));break;case "range":a.Hd("high",b.De("upperResult")),a.Hd("low",b.De("lowerResult"))}};
$.g.haa=function(a){return s1(this,"upper",a)};$.g.eaa=function(a){return s1(this,"lower",a)};$.g.faa=function(a){return s1(this,"middle",a)};$.g.gaa=function(a){return s1(this,"range",a)};$.g.vb=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};$.g.Un=function(a){return $.n(a)?(a=$.O(a,this.b,!1),this.b!=a&&(this.b=a,t1(this)),this):this.b};var j4=Q1.prototype;j4.period=j4.vb;j4.deviation=j4.Un;j4.upperSeries=j4.haa;j4.lowerSeries=j4.eaa;j4.middleSeries=j4.faa;
j4.rangeSeries=j4.gaa;$.F("anychart.math.bbandsB.initContext",pja);$.F("anychart.math.bbandsB.startFunction",qja);$.F("anychart.math.bbandsB.calculationFunction",rja);$.F("anychart.math.bbandsB.createComputer",sja);$.H(R1,p1);$.g=R1.prototype;$.g.Dc=function(a){return sja(a,this.g,this.b)};$.g.Of=function(){return"BBands %B("+this.g+","+this.b+")"};$.g.W=function(a){return s1(this,"main",a)};$.g.vb=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};$.g.Un=function(a){return $.n(a)?(a=$.O(a,this.b,!1),this.b!=a&&(this.b=a,t1(this)),this):this.b};var k4=R1.prototype;k4.period=k4.vb;k4.deviation=k4.Un;k4.series=k4.W;$.F("anychart.math.bbandsWidth.initContext",function(a,b){return N1(a,b)});$.F("anychart.math.bbandsWidth.startFunction",tja);$.F("anychart.math.bbandsWidth.calculate",uja);$.F("anychart.math.bbandsWidth.calculationFunction",vja);$.F("anychart.math.bbandsWidth.createComputer",wja);$.H(S1,p1);$.g=S1.prototype;$.g.Dc=function(a){return wja(a,this.g,this.b)};$.g.Of=function(){return"BBands Width("+this.g+","+this.b+")"};$.g.W=function(a){return s1(this,"main",a)};$.g.vb=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};$.g.Un=function(a){return $.n(a)?(a=$.O(a,this.b,!1),this.b!=a&&(this.b=a,t1(this)),this):this.b};var l4=S1.prototype;l4.period=l4.vb;l4.deviation=l4.Un;l4.series=l4.W;$.F("anychart.math.cci.initContext",xja);$.F("anychart.math.cci.startFunction",yja);$.F("anychart.math.cci.calculate",zja);$.F("anychart.math.cci.calculationFunction",Aja);$.F("anychart.math.cci.createComputer",Bja);$.H(T1,p1);T1.prototype.Dc=function(a){return Bja(a,this.b)};T1.prototype.Of=function(){return"CCI("+this.b+")"};T1.prototype.W=function(a){return s1(this,"main",a)};T1.prototype.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var m4=T1.prototype;m4.series=m4.W;m4.period=m4.vb;$.F("anychart.math.cho.initContext",Cja);$.F("anychart.math.cho.startFunction",Dja);$.F("anychart.math.cho.calculate",Eja);$.F("anychart.math.cho.calculationFunction",Fja);$.F("anychart.math.cho.createComputer",Gja);$.H(U1,p1);$.g=U1.prototype;$.g.Dc=function(a){return Gja(a,this.b,this.g,this.j)};$.g.Of=function(){return"CHO("+this.b+","+this.g+")"};$.g.W=function(a){return s1(this,"main",a)};$.g.nv=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};$.g.Gw=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};$.g.Hk=function(a){return $.n(a)?(a=L_(a,this.j),a!=this.j&&(this.j=a,t1(this)),this):this.j};var n4=U1.prototype;
n4.series=n4.W;n4.fastPeriod=n4.nv;n4.slowPeriod=n4.Gw;n4.maType=n4.Hk;$.F("anychart.math.cmf.initContext",Hja);$.F("anychart.math.cmf.startFunction",Ija);$.F("anychart.math.cmf.calculate",Jja);$.F("anychart.math.cmf.calculationFunction",Kja);$.F("anychart.math.cmf.createComputer",Lja);$.H(V1,p1);V1.prototype.Dc=function(a){return Lja(a,this.b)};V1.prototype.Of=function(){return"CMF("+this.b+")"};V1.prototype.W=function(a){return s1(this,"main",a)};V1.prototype.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var o4=V1.prototype;o4.series=o4.W;o4.period=o4.vb;$.F("anychart.math.dmi.initContext",Mja);$.F("anychart.math.dmi.startFunction",Nja);$.F("anychart.math.dmi.calculate",Pja);$.F("anychart.math.dmi.calculationFunction",Qja);$.F("anychart.math.dmi.createComputer",Rja);$.H(W1,p1);$.g=W1.prototype;$.g.Dc=function(a){return Rja(a,this.b,this.g,this.j)};$.g.Of=function(a){switch(a){case "pdi":return"+DI("+this.b+")";case "ndi":return"-DI("+this.b+")";case "adx":return"ADX("+this.g+")"}return""};$.g.In=function(a,b,c){switch(c){case "pdi":a.Hd("value",b.De("pdiResult"));break;case "ndi":a.Hd("value",b.De("ndiResult"));break;case "adx":a.Hd("value",b.De("adxResult"))}};$.g.aha=function(a){return s1(this,"pdi",a)};$.g.Qfa=function(a){return s1(this,"ndi",a)};
$.g.f9=function(a){return s1(this,"adx",a)};$.g.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};$.g.BB=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};$.g.RO=function(a){return $.n(a)?(a=!!a,a!=this.j&&(this.j=a,t1(this)),this):this.j};var p4=W1.prototype;p4.pdiSeries=p4.aha;p4.ndiSeries=p4.Qfa;p4.adxSeries=p4.f9;p4.period=p4.vb;p4.adxPeriod=p4.BB;p4.useWildersSmoothing=p4.RO;$.H(X1,p1);X1.prototype.Dc=function(a){return $ia(a,this.b)};X1.prototype.Of=function(){return"EMA("+this.b+")"};X1.prototype.W=function(a){return s1(this,"main",a)};X1.prototype.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var q4=X1.prototype;q4.series=q4.W;q4.period=q4.vb;$.F("anychart.math.env.initContext",Sja);$.F("anychart.math.env.startFunction",Tja);$.F("anychart.math.env.calculate",Uja);$.F("anychart.math.env.calculationFunction",Vja);$.F("anychart.math.env.createComputer",Wja);$.H(Y1,p1);$.g=Y1.prototype;$.g.Dc=function(a){return Wja(a,this.g,this.j,this.b)};$.g.Of=function(a){switch(a){case "upper":return"ENV upper";case "lower":return"ENV lower"}return""};$.g.In=function(a,b,c){switch(c){case "upper":a.Hd("value",b.De("upperResult"));break;case "lower":a.Hd("value",b.De("lowerResult"))}};$.g.jaa=function(a){return s1(this,"upper",a)};$.g.iaa=function(a){return s1(this,"lower",a)};
$.g.vb=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};$.g.Hk=function(a){return $.n(a)?(a=L_(a,this.b),a!=this.b&&(this.b=a,t1(this)),this):this.b};$.g.Un=function(a){return $.n(a)?(a=$.N(a),(0,window.isNaN)(a)||a==this.j||(this.j=a,t1(this)),this):this.j};var r4=Y1.prototype;r4.upperSeries=r4.jaa;r4.lowerSeries=r4.iaa;r4.period=r4.vb;r4.maType=r4.Hk;r4.deviation=r4.Un;$.F("anychart.math.ha.initContext",Xja);$.F("anychart.math.ha.startFunction",Yja);$.F("anychart.math.ha.calculate",Zja);$.F("anychart.math.ha.calculationFunction",$ja);$.F("anychart.math.ha.createComputer",aka);$.H(Z1,p1);Z1.prototype.Dc=function(a){return aka(a)};Z1.prototype.Of=function(){return"HA"};Z1.prototype.In=function(a,b){a.Hd("open",b.De("haOpen"));a.Hd("high",b.De("haHigh"));a.Hd("low",b.De("haLow"));a.Hd("close",b.De("haClose"))};Z1.prototype.W=function(a){return s1(this,"main",a)};var Mma=Z1.prototype;Mma.series=Mma.W;var fka;$.F("anychart.math.ikh.initContext",bka);$.F("anychart.math.ikh.startFunction",cka);$.F("anychart.math.ikh.calculate",dka);$.F("anychart.math.ikh.calculationFunction",eka);$.F("anychart.math.ikh.createComputer",gka);$.H($1,p1);$.g=$1.prototype;$.g.Dc=function(a){return gka(a,this.g,this.b,this.j)};$.g.Of=function(a){switch(a){case "conversion":return"Conversion Line("+this.g+")";case "base":return"Base Line("+this.b+")";case "leading":return"Leading Span("+this.j+")";case "lagging":return"Lagging Span("+this.b+")"}return""};
$.g.In=function(a,b,c){switch(c){case "conversion":a.Hd("value",b.De("conversionResult"));break;case "base":a.Hd("value",b.De("baseResult"));break;case "leading":a.Hd("high",b.De("spanAResult"));a.Hd("low",b.De("spanBResult"));break;case "lagging":a.Hd("value",b.De("laggingResult"))}};$.g.Tba=function(a){return s1(this,"conversion",a)};$.g.sba=function(a){return s1(this,"base",a)};$.g.e2=function(a){return s1(this,"leading",a)};$.g.Zea=function(a){return s1(this,"lagging",a)};
$.g.rK=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};$.g.oF=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};$.g.LM=function(a){return $.n(a)?(a=$.O(a,this.j,!1),a!=this.j&&(this.j=a,t1(this)),this):this.j};var s4=$1.prototype;s4.conversionSeries=s4.Tba;s4.baseSeries=s4.sba;s4.leadingSeries=s4.e2;s4.laggingSeries=s4.Zea;s4.conversionPeriod=s4.rK;s4.basePeriod=s4.oF;s4.leadingPeriod=s4.LM;$.F("anychart.math.stochastic.initContext",a2);$.F("anychart.math.stochastic.startFunction",b2);$.F("anychart.math.stochastic.calculate",c2);$.F("anychart.math.stochastic.calculationFunction",hka);$.F("anychart.math.stochastic.createComputer",ika);$.F("anychart.math.kdj.initContext",jka);$.F("anychart.math.kdj.startFunction",kka);$.F("anychart.math.kdj.calculate",lka);$.F("anychart.math.kdj.calculationFunction",mka);$.F("anychart.math.kdj.createComputer",nka);$.H(d2,p1);$.g=d2.prototype;$.g.Dc=function(a){return nka(a,this.j,this.b,this.g,this.N,this.G,this.U,this.O)};$.g.Of=function(a){switch(a){case "kSeries":return"%K("+this.j+(1!=this.b?", "+this.b:"")+")";case "dSeries":return"%D("+this.g+")";case "jSeries":return"%J"}return""};$.g.In=function(a,b,c){switch(c){case "kSeries":a.Hd("value",b.De("kResult"));break;case "dSeries":a.Hd("value",b.De("dResult"));break;case "jSeries":a.Hd("value",b.De("jResult"))}};
$.g.naa=function(a){return s1(this,"kSeries",a)};$.g.laa=function(a){return s1(this,"dSeries",a)};$.g.Vea=function(a){return s1(this,"jSeries",a)};$.g.kD=function(a){return $.n(a)?(a=$.O(a,this.j,!1),a!=this.j&&(this.j=a,t1(this)),this):this.j};$.g.qH=function(a){return $.n(a)?(a=L_(a,this.N),a!=this.N&&(this.N=a,t1(this)),this):this.N};$.g.maa=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};
$.g.IF=function(a){return $.n(a)?(a=L_(a,this.G),a!=this.G&&(this.G=a,t1(this)),this):this.G};$.g.kaa=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};$.g.vU=function(a){return $.n(a)?(a=$.N(a),(0,window.isNaN)(a)||a==this.U||(this.U=a,t1(this)),this):this.U};$.g.zR=function(a){return $.n(a)?(a=$.N(a),(0,window.isNaN)(a)||a==this.O||(this.O=a,t1(this)),this):this.O};var t4=d2.prototype;t4.kPeriod=t4.kD;t4.kMAType=t4.qH;t4.kMAPeriod=t4.maa;t4.dMAType=t4.IF;
t4.dPeriod=t4.kaa;t4.kMultiplier=t4.vU;t4.dMultiplier=t4.zR;t4.kSeries=t4.naa;t4.dSeries=t4.laa;t4.jSeries=t4.Vea;$.F("anychart.math.keltnerChannels.initContext",oka);$.F("anychart.math.keltnerChannels.startFunction",pka);$.F("anychart.math.keltnerChannels.calculate",qka);$.F("anychart.math.keltnerChannels.calculationFunction",rka);$.F("anychart.math.keltnerChannels.createComputer",ska);$.H(e2,p1);$.g=e2.prototype;$.g.Dc=function(a){return ska(a,this.b,this.j,this.g,this.G)};$.g.Of=function(a){switch(a){case "ma":return this.g.toUpperCase()+"("+this.b+")";case "range":return"KeltnerChannels"}return""};$.g.In=function(a,b,c){switch(c){case "ma":a.Hd("value",b.De("maResult"));break;case "range":a.Hd("high",b.De("upperResult")),a.Hd("low",b.De("lowerResult"))}};$.g.oaa=function(a){return s1(this,"ma",a)};$.g.hZ=function(a){return s1(this,"range",a)};
$.g.AH=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};$.g.Hk=function(a){return $.n(a)?(a=L_(a,this.g),a!=this.g&&(this.g=a,t1(this)),this):this.g};$.g.XM=function(a){return $.n(a)?(a=$.O(a,this.G,!1),a!=this.G&&(this.G=a,t1(this)),this):this.G};$.g.EZ=function(a){return $.n(a)?(a=$.O(a,this.j,!1),a!=this.j&&(this.j=a,t1(this)),this):this.j};var u4=e2.prototype;u4.maPeriod=u4.AH;u4.maType=u4.Hk;u4.atrPeriod=u4.EZ;u4.multiplier=u4.XM;u4.rangeSeries=u4.hZ;
u4.maSeries=u4.oaa;$.F("anychart.math.macd.initContext",tka);$.F("anychart.math.macd.startFunction",uka);$.F("anychart.math.macd.calculate",vka);$.F("anychart.math.macd.calculationFunction",wka);$.F("anychart.math.macd.createComputer",xka);$.H(f2,p1);$.g=f2.prototype;$.g.Dc=function(a){return xka(a,this.b,this.j,this.g)};$.g.Of=function(a){switch(a){case "macd":return"MACD("+this.b+","+this.j+","+this.g+")";case "signal":return"Signal";case "histogram":return"Histogram"}return""};$.g.In=function(a,b,c){switch(c){case "macd":a.Hd("value",b.De("macdResult"));break;case "signal":a.Hd("value",b.De("signalResult"));break;case "histogram":a.Hd("value",b.De("histogramResult"))}};$.g.hfa=function(a){return s1(this,"macd",a)};
$.g.qaa=function(a){return s1(this,"signal",a)};$.g.paa=function(a){return s1(this,"histogram",a)};$.g.nv=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};$.g.Gw=function(a){return $.n(a)?(a=$.O(a,this.j,!1),a!=this.j&&(this.j=a,t1(this)),this):this.j};$.g.hO=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};var v4=f2.prototype;v4.macdSeries=v4.hfa;v4.signalSeries=v4.qaa;v4.histogramSeries=v4.paa;v4.fastPeriod=v4.nv;
v4.slowPeriod=v4.Gw;v4.signalPeriod=v4.hO;$.F("anychart.math.mfi.initContext",yka);$.F("anychart.math.mfi.startFunction",zka);$.F("anychart.math.mfi.calculate",Aka);$.F("anychart.math.mfi.calculationFunction",Bka);$.F("anychart.math.mfi.createComputer",Cka);$.H(g2,p1);g2.prototype.Dc=function(a){return Cka(a,this.b)};g2.prototype.Of=function(){return"MFI("+this.b+")"};g2.prototype.W=function(a){return s1(this,"series",a)};g2.prototype.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var w4=g2.prototype;w4.period=w4.vb;w4.series=w4.W;$.F("anychart.math.mma.initContext",Dka);$.F("anychart.math.mma.startFunction",Eka);$.F("anychart.math.mma.calculationFunction",Fka);$.F("anychart.math.mma.createComputer",Gka);$.H(h2,p1);h2.prototype.Dc=function(a){return Gka(a,this.b)};h2.prototype.Of=function(){return"MMA("+this.b+")"};h2.prototype.W=function(a){return s1(this,"main",a)};h2.prototype.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var x4=h2.prototype;x4.series=x4.W;x4.period=x4.vb;$.F("anychart.math.momentum.initContext",Hka);$.F("anychart.math.momentum.startFunction",Ika);$.F("anychart.math.momentum.calculate",Jka);$.F("anychart.math.momentum.calculationFunction",Kka);$.F("anychart.math.momentum.createComputer",Lka);$.H(i2,p1);i2.prototype.Dc=function(a){return Lka(a,this.b)};i2.prototype.Of=function(){return"Momentum("+this.b+")"};i2.prototype.W=function(a){return s1(this,"series",a)};i2.prototype.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var y4=i2.prototype;y4.period=y4.vb;y4.series=y4.W;$.F("anychart.math.obv.initContext",Mka);$.F("anychart.math.obv.startFunction",Nka);$.F("anychart.math.obv.calculate",Oka);$.F("anychart.math.obv.calculationFunction",Pka);$.F("anychart.math.obv.createComputer",Qka);$.H(j2,p1);j2.prototype.Dc=function(a){return Qka(a)};j2.prototype.Of=function(){return"OBV"};j2.prototype.W=function(a){return s1(this,"main",a)};var Nma=j2.prototype;Nma.series=Nma.W;$.F("anychart.math.ppo.initContext",Rka);$.F("anychart.math.ppo.startFunction",Ska);$.F("anychart.math.ppo.calculate",Tka);$.F("anychart.math.ppo.calculationFunction",Uka);$.F("anychart.math.ppo.createComputer",Vka);$.H(k2,p1);$.g=k2.prototype;$.g.Dc=function(a){return Vka(a,this.g,this.b,this.j)};$.g.Of=function(a){switch(a){case "ppoSeries":return"PPO("+this.g+","+this.b+","+this.j+")";case "signalSeries":return"Signal";case "histogramSeries":return"PPO Histogram"}return""};$.g.In=function(a,b,c){switch(c){case "ppoSeries":a.Hd("value",b.De("ppoResult"));break;case "signalSeries":a.Hd("value",b.De("signalResult"));break;case "histogramSeries":a.Hd("value",b.De("histogramResult"))}};
$.g.lha=function(a){return s1(this,"ppoSeries",a)};$.g.saa=function(a){return s1(this,"signalSeries",a)};$.g.raa=function(a){return s1(this,"histogramSeries",a)};$.g.v4=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};$.g.j2=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};$.g.x4=function(a){return $.n(a)?(a=$.O(a,this.j,!1),a!=this.j&&(this.j=a,t1(this)),this):this.j};var z4=k2.prototype;z4.ppoSeries=z4.lha;
z4.signalSeries=z4.saa;z4.histogramSeries=z4.raa;z4.shortPeriod=z4.v4;z4.longPeriod=z4.j2;z4.smoothingPeriod=z4.x4;$.F("anychart.math.psar.initContext",Wka);$.F("anychart.math.psar.startFunction",Xka);$.F("anychart.math.psar.calculate",cla);$.F("anychart.math.psar.calculationFunction",dla);$.F("anychart.math.psar.createComputer",ela);$.H(l2,p1);$.g=l2.prototype;$.g.Dc=function(a){return ela(a,this.j,this.g,this.b)};$.g.Of=function(){return"PSAR("+this.j+", "+this.g+", "+this.b+")"};$.g.W=function(a){return s1(this,"series",a)};$.g.T8=function(a){return $.n(a)?(a=$.N(a)||this.b,a!=this.j&&(this.j=a,t1(this)),this):this.j};$.g.S8=function(a){return $.n(a)?(a=$.N(a)||this.b,a!=this.b&&(this.b=a,t1(this)),this):this.b};$.g.R8=function(a){return $.n(a)?(a=$.N(a)||this.g,a!=this.g&&(this.g=a,t1(this)),this):this.g};var A4=l2.prototype;
A4.accelerationFactorStart=A4.T8;A4.accelerationFactorMaximum=A4.S8;A4.accelerationFactorIncrement=A4.R8;A4.series=A4.W;$.F("anychart.math.psy.initContext",fla);$.F("anychart.math.psy.startFunction",gla);$.F("anychart.math.psy.calculate",hla);$.F("anychart.math.psy.calculationFunction",ila);$.F("anychart.math.psy.createComputer",jla);$.H(m2,p1);m2.prototype.Dc=function(a){return jla(a,this.b)};m2.prototype.Of=function(){return"PSY("+this.b+")"};m2.prototype.W=function(a){return s1(this,"main",a)};m2.prototype.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var B4=m2.prototype;B4.series=B4.W;B4.period=B4.vb;$.F("anychart.math.priceChannels.initContext",kla);$.F("anychart.math.priceChannels.startFunction",lla);$.F("anychart.math.priceChannels.calculate",mla);$.F("anychart.math.priceChannels.calculationFunction",nla);$.F("anychart.math.priceChannels.createComputer",ola);$.H(n2,p1);$.g=n2.prototype;$.g.Dc=function(a){return ola(a,this.b)};$.g.Of=function(a){switch(a){case "range":return"PriceChannels";case "middle":return"PriceChannels M"}return""};$.g.In=function(a,b,c){switch(c){case "range":a.Hd("high",b.De("upperResult"));a.Hd("low",b.De("lowerResult"));break;case "middle":a.Hd("value",b.De("middleResult"))}};$.g.taa=function(a){return s1(this,"middle",a)};$.g.iZ=function(a){return s1(this,"range",a)};
$.g.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var C4=n2.prototype;C4.period=C4.vb;C4.middleSeries=C4.taa;C4.rangeSeries=C4.iZ;$.F("anychart.math.rat.initContext",pla);$.F("anychart.math.rat.startFunction",qla);$.F("anychart.math.rat.calculate",rla);$.F("anychart.math.rat.calculationFunction",sla);$.F("anychart.math.rat.createComputer",tla);$.H(o2,p1);o2.prototype.Dc=function(a){return tla(a,this.b)};o2.prototype.Of=function(){return"RAT"};o2.prototype.W=function(a){return s1(this,"main",a)};o2.prototype.MQ=function(a){if($.n(a)){var b=$.cs(a);b=b?b.getTime():0;b!=this.b&&(this.b=b,this.g=a,t1(this));return this}return this.b?this.g:0};var D4=o2.prototype;D4.series=D4.W;D4.baseDate=D4.MQ;$.F("anychart.math.rci.initContext",ula);$.F("anychart.math.rci.startFunction",vla);$.F("anychart.math.rci.calculate",wla);$.F("anychart.math.rci.calculationFunction",xla);$.F("anychart.math.rci.createComputer",yla);$.H(p2,p1);p2.prototype.Dc=function(a){return yla(a,this.b)};p2.prototype.Of=function(){return"RCI("+this.b+")"};p2.prototype.W=function(a){return s1(this,"main",a)};p2.prototype.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var E4=p2.prototype;E4.series=E4.W;E4.period=E4.vb;$.F("anychart.math.rsi.initContext",zla);$.F("anychart.math.rsi.startFunction",Ala);$.F("anychart.math.rsi.calculationFunction",Bla);$.F("anychart.math.rsi.createComputer",Cla);$.H(q2,p1);q2.prototype.Dc=function(a){return Cla(a,this.b)};q2.prototype.Of=function(){return"RSI("+this.b+")"};q2.prototype.W=function(a){return s1(this,"main",a)};q2.prototype.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var F4=q2.prototype;F4.series=F4.W;F4.period=F4.vb;$.F("anychart.math.roc.initContext",Dla);$.F("anychart.math.roc.startFunction",Ela);$.F("anychart.math.roc.calculationFunction",Fla);$.F("anychart.math.roc.createComputer",Gla);$.H(r2,p1);r2.prototype.Dc=function(a){return Gla(a,this.b)};r2.prototype.Of=function(){return"RoC("+this.b+")"};r2.prototype.W=function(a){return s1(this,"main",a)};r2.prototype.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var G4=r2.prototype;G4.series=G4.W;G4.period=G4.vb;$.H(s2,p1);s2.prototype.Dc=function(a){return bja(a,this.b)};s2.prototype.Of=function(){return"SMA("+this.b+")"};s2.prototype.W=function(a){return s1(this,"main",a)};s2.prototype.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var H4=s2.prototype;H4.series=H4.W;H4.period=H4.vb;$.H(t2,p1);$.g=t2.prototype;$.g.Dc=function(a){return ika(a,this.j,this.b,this.g,this.N,this.G)};$.g.Of=function(a){switch(a){case "kSeries":return"%K("+this.j+(1!=this.b?", "+this.b:"")+")";case "dSeries":return"%D("+this.g+")"}return""};$.g.In=function(a,b,c){switch(c){case "kSeries":a.Hd("value",b.De("kResult"));break;case "dSeries":a.Hd("value",b.De("dResult"))}};$.g.xaa=function(a){return s1(this,"kSeries",a)};$.g.vaa=function(a){return s1(this,"dSeries",a)};
$.g.kD=function(a){return $.n(a)?(a=$.O(a,this.j,!1),a!=this.j&&(this.j=a,t1(this)),this):this.j};$.g.qH=function(a){return $.n(a)?(a=L_(a,this.N),a!=this.N&&(this.N=a,t1(this)),this):this.N};$.g.waa=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};$.g.IF=function(a){return $.n(a)?(a=L_(a,this.G),a!=this.G&&(this.G=a,t1(this)),this):this.G};$.g.uaa=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};var I4=t2.prototype;
I4.kPeriod=I4.kD;I4.kMAType=I4.qH;I4.kMAPeriod=I4.waa;I4.dMAType=I4.IF;I4.dPeriod=I4.uaa;I4.kSeries=I4.xaa;I4.dSeries=I4.vaa;$.F("anychart.math.trix.initContext",Hla);$.F("anychart.math.trix.startFunction",Ila);$.F("anychart.math.trix.calculate",Jla);$.F("anychart.math.trix.calculationFunction",Kla);$.F("anychart.math.trix.createComputer",Lla);$.H(u2,p1);$.g=u2.prototype;$.g.Dc=function(a){return Lla(a,this.b,this.g,this.G,this.j)};$.g.Of=function(a){switch(a){case "trix":return"TRIX("+this.b+")";case "signal":return this.j.toUpperCase()+"("+this.g+")"}return""};$.g.In=function(a,b,c){switch(c){case "trix":a.Hd("value",b.De("trix"));break;case "signal":a.Hd("value",b.De("signal"))}};$.g.Ria=function(a){return s1(this,"trix",a)};$.g.yaa=function(a){return s1(this,"signal",a)};
$.g.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};$.g.hO=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};$.g.cia=function(a){return $.n(a)?(a=L_(a,this.j),a!=this.j&&(this.j=a,t1(this)),this):this.j};$.g.Hk=function(a){return $.n(a)?(a=L_(a,this.G),a!=this.G&&(this.G=a,t1(this)),this):this.G};var J4=u2.prototype;J4.trixSeries=J4.Ria;J4.signalSeries=J4.yaa;J4.period=J4.vb;J4.signalPeriod=J4.hO;
J4.signalMaType=J4.cia;J4.maType=J4.Hk;$.F("anychart.math.vwap.initContext",Mla);$.F("anychart.math.vwap.startFunction",Nla);$.F("anychart.math.vwap.calculate",Ola);$.F("anychart.math.vwap.calculationFunction",Pla);$.F("anychart.math.vwap.createComputer",Qla);$.H(v2,p1);v2.prototype.Dc=function(a){return Qla(a)};v2.prototype.Of=function(){return"VWAP"};v2.prototype.In=function(a,b){a.Hd("value",b.De("vwapValue"))};v2.prototype.W=function(a){return s1(this,"vwapSeries",a)};var Oma=v2.prototype;Oma.series=Oma.W;$.F("anychart.math.volumeMA.initContext",Rla);$.F("anychart.math.volumeMA.startFunction",Sla);$.F("anychart.math.volumeMA.calculate",Tla);$.F("anychart.math.volumeMA.calculationFunction",Ula);$.F("anychart.math.volumeMA.createComputer",Vla);$.H(w2,p1);$.g=w2.prototype;$.g.Dc=function(a){return Vla(a,this.b,this.g)};$.g.Of=function(a){switch(a){case "volumeSeries":return"Volume";case "maSeries":return this.g.toUpperCase()+"("+this.b+")"}return""};$.g.In=function(a,b,c){switch(c){case "volumeSeries":a.Hd("value",b.De("volumeResult"));break;case "maSeries":a.Hd("value",b.De("maResult"))}};$.g.cja=function(a){return s1(this,"volumeSeries",a)};$.g.zaa=function(a){return s1(this,"maSeries",a)};
$.g.AH=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};$.g.Hk=function(a){return $.n(a)?(a=L_(a,this.g),a!=this.g&&(this.g=a,t1(this)),this):this.g};var K4=w2.prototype;K4.maPeriod=K4.AH;K4.maType=K4.Hk;K4.maSeries=K4.zaa;K4.volumeSeries=K4.cja;$.F("anychart.math.williamsR.initContext",Wla);$.F("anychart.math.williamsR.startFunction",Xla);$.F("anychart.math.williamsR.calculate",Yla);$.F("anychart.math.williamsR.calculationFunction",Zla);$.F("anychart.math.williamsR.createComputer",$la);$.H(x2,p1);x2.prototype.Dc=function(a){return $la(a,this.b)};x2.prototype.Of=function(){return"Williams %R("+this.b+")"};x2.prototype.W=function(a){return s1(this,"series",a)};x2.prototype.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var L4=x2.prototype;L4.period=L4.vb;L4.series=L4.W;var y2={};y2.adl=z1;y2.ama=A1;y2.ao=H1;y2.aroon=M1;y2.atr=L1;y2.bbands=Q1;y2["bbands-b"]=R1;y2["bbands-width"]=S1;y2.cci=T1;y2.cho=U1;y2.cmf=V1;y2.dmi=W1;y2.ema=X1;y2.env=Y1;y2.ha=Z1;y2.ikh=$1;y2.kdj=d2;y2["keltner-channels"]=e2;y2.macd=f2;y2.mfi=g2;y2.mma=h2;y2.momentum=i2;y2.obv=j2;y2.ppo=k2;y2["price-channels"]=n2;y2.psar=l2;y2.psy=m2;y2.rat=o2;y2.rci=p2;y2.roc=r2;y2.rsi=q2;y2.sma=s2;y2.stochastic=t2;y2.trix=u2;y2.vwap=v2;y2["volume-ma"]=w2;y2["williams-r"]=x2;$.H(B2,$.iu);$.uz(B2,"plot","dataarea");B2.prototype.yL=window.NaN;B2.prototype.DS=window.NaN;B2.prototype.qa=$.iu.prototype.qa|68;B2.prototype.sa=$.iu.prototype.sa|17301440;var M4={};$.hq(M4,[[0,"pointWidth",$.so],[0,"maxPointWidth",$.so],[0,"minPointLength",$.so],[0,"baseline",$.qq],[0,"weight",$.qq]]);$.U(B2,M4);$.g=B2.prototype;
$.g.Pn=function(){var a=this.Ia("chartElements")||{axes:{},grids:{}};a.series=this.Oa.length;a.axes.x=1;a.axes.y=0;a.grids.x=0;a.grids.y=0;a.grids.xMinor=0;a.grids.yMinor=0;for(var b=Math.max(this.Wf.length,this.Lg.length,this.Mg.length,this.Wg.length,this.Xg.length);b--;)this.Wf[b]&&a.axes.y++,this.Lg[b]&&a.grids.x++,this.Mg[b]&&a.grids.y++,this.Wg[b]&&a.grids.xMinor++,this.Xg[b]&&a.grids.yMinor++;this.Ia("chartElements",a)};
$.g.Ia=function(a,b){return $.n(a)?$.n(b)?(this.Vm[a.toLowerCase()]=b,this):this.Vm[a.toLowerCase()]:this.Vm};$.g.oI=function(){this.Vm={}};$.g.Eg=function(a){this.Pn();return this.Ia(a)};$.g.QB=function(a,b,c){return this.te("area",a,b,c)};$.g.XQ=function(a,b,c){return this.te("candlestick",a,b,c)};$.g.ZB=function(a,b,c){return this.te("column",a,b,c)};$.g.uU=function(a,b,c){return this.te("jump-line",a,b,c)};$.g.LI=function(a,b,c){return this.te("stick",a,b,c)};
$.g.line=function(a,b,c){return this.te("line",a,b,c)};$.g.gr=function(a,b,c){return this.te("marker",a,b,c)};$.g.rV=function(a,b,c){return this.te("ohlc",a,b,c)};$.g.TV=function(a,b,c){return this.te("range-area",a,b,c)};$.g.UV=function(a,b,c){return this.te("range-column",a,b,c)};$.g.VV=function(a,b,c){return this.te("range-spline-area",a,b,c)};$.g.WV=function(a,b,c){return this.te("range-step-area",a,b,c)};$.g.OW=function(a,b,c){return this.te("spline",a,b,c)};
$.g.PW=function(a,b,c){return this.te("spline-area",a,b,c)};$.g.XW=function(a,b,c){return this.te("step-area",a,b,c)};$.g.YW=function(a,b,c){return this.te("step-line",a,b,c)};$.g.OT=function(a,b,c){return this.te("hilo",a,b,c)};$.g.Rk=function(a){var b=[],c=this.Kp(),d=arguments.length;$.V(this);if(d)for(var e=0;e<d;e++)b.push(this.te(c,arguments[e]));else b.push(this.te(c,null));this.da(!0);return b};$.g.Qx=function(a){return $.xa(this.Oa,function(b){return b.id()==a})};$.g.Ue=function(a){return this.Nh(this.Qx(a))};
$.g.Nh=function(a){return this.Oa[a]||null};$.g.Mj=function(){return this.Oa.length};$.g.mo=function(a){return this.Cn(this.Qx(a))};$.g.Cn=function(a){var b=this.Oa[a];b&&($.Fp++,$.Ca(this.Oa,a,1),$.qd(b),this.B(34944,1),$.Ip());return this};$.g.kp=function(){if(this.Oa.length){$.Fp++;var a=this.Oa;this.Oa=[];$.td(a);this.B(34944,1);$.Ip()}return this};$.g.Te=function(){return this.Oa};
$.g.Sr=function(a){this.Bi||(this.Bi=new $.vz,$.W(this,"defaultSeriesSettings",this.Bi));return $.n(a)?(this.Bi.ma=a,this):this.Bi};$.g.BL=function(a){return a.check(32768)?31:30};$.g.te=function(a,b,c,d){var e=this.Ba.tv(a);e?(a=new a1(this.Ba,this,a,e[1]),e=(e=this.Oa[this.Oa.length-1])?e.mh()+1:0,this.Oa.push(a),a.mh(e),$.RA(a),a.data(b||null,c,d),a.clip(!0),a.sq(this.cc().nc(e)),$.UA(a,this.sf().nc(e)),a.Cw(this.oe().nc(e)),a.ib(this),$.L(a,this.uI,this),this.B(2176,1)):a=null;return a};ama(B2);
$.g=B2.prototype;$.g.Kp=function(a){return $.n(a)?(this.HR=a=K_(a),this):this.HR};$.g.mc=function(){return this.Ba};$.g.Gz=function(a){if($.n(a))return this.Ip=a,this;this.Ip||(this.Ip=$.wm("stock.defaultPlotSettings.defaultGridSettings"));return this.Ip};$.g.Hz=function(a){if($.n(a))return this.Jp=a,this;this.Jp||(this.Jp=$.wm("stock.defaultPlotSettings.defaultMinorGridSettings"));return this.Jp};
$.g.C_=function(a){if($.n(a))return this.FR=a,this;this.FR||(this.FR=$.wm("stock.defaultPlotSettings.defaultPriceIndicatorSettings"));return this.FR};$.g.ay=function(){for(var a=this.Oa.length;a--;)this.Oa[a].Yo()&&this.Oa[a].B(1024)};$.g.Cha=function(a){for(var b=0;b<this.Oa.length;b++){var c=this.Oa[b];c&&c.SD();a||c.B(1024)}};$.g.IA=function(a){for(var b=0;b<this.Oa.length;b++){var c=this.Oa[b];c&&c.SD()}a||this.ay()};
$.g.$x=function(a,b){var c,d=1024;a&&(d|=4);for(c=0;c<this.Oa.length;c++)this.Oa[c]&&this.Oa[c].B(d);this.yl&&this.yl.B(64);this.Ba.D&&this.tk().iA();for(c=0;c<this.Wf.length;c++)if(d=this.Wf[c])$.V(d),d.ho(),d.da(!1);var e=$.Ga(this.Lg,this.Mg,this.Wg,this.Xg);for(c=0;c<e.length;c++)(d=e[c])&&d.B(64);e=$.Ga(this.ag,this.cg,this.eg);for(c=0;c<e.length;c++)(d=e[c])&&d.B(20);d=16;a&&(d|=4);this.ec&&this.ec.B(d);!b&&this.ji&&this.ji.enabled()&&this.ji.B(d);for(c=0;c<this.cu.length;c++)(d=this.cu[c])&&
d.B(20);this.B(388992);$.br(this,"plot","dataarea")};$.g.Rf=function(){E2(this);return this.Wh};$.g.Sq=function(){return 32781};$.g.$u=function(a){this.fn||(this.fn=new $.wz,$.W(this,"dataArea",this.fn),$.L(this.fn,this.AR,this));return $.n(a)?(this.fn.K(a),this):this.fn};$.g.AR=function(a){$.X(a,1)&&$.br(this,"plot","dataarea",1)};
$.g.background=function(a){this.Ka||(this.Ka=new $.ku,this.Ka.enabled(!1),this.Ka.zIndex(1),$.W(this,"background",this.Ka),this.Ka.il(!0),$.L(this.Ka,this.gg,this));return $.n(a)?(this.Ka.K(a),this):this.Ka};$.g.Gf=function(a){this.ji||(this.ji=new $.Iw,$.L(this.ji,this.Bga,this),this.ji.ra("dragstart",function(){h3(this.Ba)},!1,this),this.ji.ra("dragend",function(){i3(this.Ba)},!1,this),this.ji.ib(this),$.W(this,"legend",this.ji));return $.n(a)?(this.ji.K(a),this):this.ji};
$.g.bb=function(a){if($.n(a)){if(a=$.Xs(this.wc,a,null,3,["Stock plot Y scale","scatter","linear, log"],this.Vy,this)){var b=this.wc==a;this.wc=a;this.wc.da(b);b||(this.$x(!1),this.ta(1))}return this}this.wc||(this.wc=$.Ts(),$.L(this.wc,this.Vy,this));return this.wc};$.g.Vy=function(a){for(var b=0,c=0;c<this.Oa.length;c++){var d=this.Oa[c];d&&d.enabled()&&d.bb()==this.wc&&(b|=d.B(1024))}b&&(b=1,$.X(a,4)&&(b|=4),this.B(128,b))};
$.g.ti=function(a,b){var c=$.N(a);if((0,window.isNaN)(c)){c=0;var d=a}else c=a,d=b;var e=this.Wf[c];e||(e=new $.Dy,this.Wf[c]=e,e.Fa("stock.defaultPlotSettings.defaultYAxisSettings",this.MF),e.ib(this),$.L(e,this.hja,this),this.B(260,1));return $.n(d)?(e.K(d),this):e};
$.g.l3=function(a,b){var c=$.N(a);if((0,window.isNaN)(c)){c=0;var d=a}else c=a,d=b;var e=this.cu[c];e||(e=new z0,e.Fa("stock.defaultPlotSettings.defaultPriceIndicatorSettings",this.C_()),Dia(e),this.cu[c]=e,e.zIndex(150),e.N=this,e.ib(this),$.L(e,this.qha,this),this.B(16384,1));return $.n(d)?(e.K(d),this):e};
$.g.lh=function(a){this.ec||(this.ec=new y0(this.Ba),this.ec.ib(this),this.ec.Ce(!0,!1),this.ec.zIndex(35),$.W(this,"xAxis",this.ec),$.L(this.ec,this.wX,this),this.B(516,1));return $.n(a)?(this.ec.K(a),this):this.ec};$.g.jG=function(a){return a?this.Wf[a-1]:this.ec};$.g.Rx=function(){return this.ec};$.g.Tx=function(a){return this.Wf[a]};$.g.Po=function(a){return a.ma.zIndex+.001*(this.Lg.length+this.Mg.length+this.Wg.length+this.Xg.length)};
$.g.Zm=function(a,b){var c=$.N(a);if((0,window.isNaN)(c)){c=0;var d=a}else c=a,d=b;var e=this.Lg[c];e||(e=new A0,e.Hj=this,$.Yy(e,"vertical"),e.Fa("stock.defaultPlotSettings.defaultGridSettings",this.Gz()),e.zIndex(this.Po(e)),this.Lg[c]=e,$.L(e,this.ny,this),this.B(1024,1));return $.n(d)?(e.K(d),this):e};
$.g.$m=function(a,b){var c=$.N(a);if((0,window.isNaN)(c)){c=0;var d=a}else c=a,d=b;var e=this.Mg[c];e||(e=new A0,e.Hj=this,$.Yy(e,"horizontal"),e.Fa("stock.defaultPlotSettings.defaultGridSettings",this.Gz()),e.zIndex(this.Po(e)),this.Mg[c]=e,$.L(e,this.ny,this),this.B(1024,1));return $.n(d)?(e.K(d),this):e};
$.g.xr=function(a,b){var c=$.N(a);if((0,window.isNaN)(c)){c=0;var d=a}else c=a,d=b;var e=this.Wg[c];e||(e=new A0,e.Fa("defaultMinorGridSettings","stock.defaultPlotSettings.defaultMinorGridSettings",this.Hz()),e.Hj=this,$.Yy(e,"vertical"),e.zIndex(this.Po(e)),this.Wg[c]=e,$.L(e,this.ny,this),this.B(1024,1));return $.n(d)?(e.K(d),this):e};
$.g.Ar=function(a,b){var c=$.N(a);if((0,window.isNaN)(c)){c=0;var d=a}else c=a,d=b;var e=this.Xg[c];e||(e=new A0,e.Hj=this,$.Yy(e,"horizontal"),e.Fa("defaultMinorGridSettings","stock.defaultPlotSettings.defaultMinorGridSettings",this.Hz()),e.zIndex(this.Po(e)),this.Xg[c]=e,$.L(e,this.ny,this),this.B(1024,1));return $.n(d)?(e.K(d),this):e};
$.g.title=function(a){if(!this.sb){this.sb=new $.Nv;this.sb.ib(this);var b=this.sb;$.n(!0)&&(b.Q1=!0);$.W(this,"title",this.sb);this.sb.il(!0);$.L(this.sb,this.AV,this)}return $.n(a)?(this.sb.K(a),this):this.sb};$.g.AV=function(a){var b=131072,c=0;$.X(a,1)&&(c|=1);$.X(a,8)&&(b|=4,c|=8);this.B(b,c)};$.g.LK=function(a){return $.n(a)?(this.ER=a,this):this.ER||{}};$.g.QK=function(a){return $.n(a)?(this.IR=a,this):this.IR||{}};$.g.MK=function(a){return $.n(a)?(this.GR=a,this):this.GR||{}};
$.g.Jm=function(a,b){var c=$.N(a);if((0,window.isNaN)(c)){c=0;var d=a}else c=a,d=b;var e=this.ag[c];e||(e=new $.Rz,e.Ba=this,e.Fa("stock.defaultPlotSettings.defaultLineMarkerSettings",this.LK()),$.Sz(e,"horizontal"),this.ag[c]=e,e.ib(this),C2(this,e),$.L(e,this.zA,this),this.B(262144,1));return $.n(d)?(e.K(d),this):e};
$.g.Sm=function(a,b){var c=$.N(a);if((0,window.isNaN)(c)){c=0;var d=a}else c=a,d=b;var e=this.cg[c];e||(e=new $.Uz,e.Ba=this,e.Fa("stock.defaultPlotSettings.defaultRangeMarkerSettings",this.MK()),$.Vz(e,"horizontal"),this.cg[c]=e,e.ib(this),C2(this,e),$.L(e,this.zA,this),this.B(262144,1));return $.n(d)?(e.K(d),this):e};
$.g.Xm=function(a,b){var c=$.N(a);if((0,window.isNaN)(c)){c=0;var d=a}else c=a,d=b;var e=this.eg[c];e||(e=new $.Xz,e.Ba=this,e.Fa("stock.defaultPlotSettings.defaultTextMarkerSettings",this.QK()),$.Ly(e,"horizontal"),this.eg[c]=e,e.ib(this),C2(this,e),$.L(e,this.zA,this),this.B(262144,1));return $.n(d)?(e.K(d),this):e};$.g.zA=function(a){$.X(a,4)&&this.Ba.B(32768);this.B(262144,1)};$.g.remove=function(){this.Wa&&this.Wa.remove()};
$.g.$=function(){if(!this.Bc())return this;$.V(this);var a=this.Pm().label();var b=this.Ej();a.visible()!==b&&this.Wa&&(b=this.dispatchEvent({type:"datachanged",chart:this,hasData:!b})&&b);a.visible(b);this.Mz();this.J(2)&&(this.Wa.parent(this.P()),this.I(2));this.J(8)&&(this.Wa.zIndex(this.zIndex()),this.I(8));if(this.J(4096)){var c=this.cc(),d=this.sf(),e=this.oe();for(b=0;b<this.Oa.length;b++){var f=this.Oa[b];var h=f.mh();f.sq(c.nc(h));$.UA(f,d.nc(h));f.Cw(e.nc(h))}this.$x(!1);this.I(4096)}if(this.J(256))for(b=
0;b<this.Wf.length;b++)if(f=this.Wf[b])$.V(f),f.scale()||f.scale(this.bb()),f.da(!1);this.J(512)&&this.ec&&($.V(this.ec),this.ec.scale(this.Ba.Va()),this.ec.da(!1));E2(this);if(this.J(256)){for(b=0;b<this.Wf.length;b++)if(f=this.Wf[b])$.V(f),$.Mu(f.labels()),$.Mu(f.kb()),f.P(this.Wa),f.$(),f.da(!1);this.I(256)}this.J(512)&&(this.ec&&($.V(this.ec),this.ec.P(this.Wa),this.ec.$(),this.ec.da(!1)),this.I(512));if(this.J(1024)){f=$.Ga(this.Lg,this.Mg,this.Wg,this.Xg);for(b=0;b<f.length;b++)if(c=f[b])$.V(c),
c.scale()||(c.Hb()?c.scale(this.bb()):c.scale(this.Ba.Va())),c.ja(this.Wh),c.P(this.Wa),c.$(),c.da(!1);this.I(1024)}if(this.J(131072)){if(b=$.jr(this,"title"))b.il(!1),$.V(b),b.P(this.Wa),b.$(),b.da(!1);this.I(131072)}if(this.J(262144)){f=$.Ga(this.ag,this.cg,this.eg);for(b=0;b<f.length;b++)if(c=f[b])$.V(c),c.scale()||c.ZJ(c.Hb()?this.bb():this.Ba.Va()),c.ja(this.Wh),c.P(this.Wa),c.$(),c.da(!1);this.I(262144)}if(this.J(64)){if(b=$.jr(this,"background"))b.il(!1),$.V(b),b.P(this.Wa),b.$(),b.da(!1);
this.I(64)}if(this.J(128)){c="direct"==this.bb().Iw();for(b=0;b<this.Oa.length;b++)if(f=this.Oa[c?this.Oa.length-b-1:b])$.V(f),f.ja(this.Wh),f.P(this.Wa),f.$(),f.da(!1);this.IA(!0);this.I(128)}this.J(8192)&&(this.Ba.D&&(b=this.tk(),$.V(b),b.ja(this.Wh),b.P(this.Wa),b.$(),b.da(!1)),this.I(8192));this.J(65536)&&(b=this.bj(),$.V(b),b.ja(this.Wh),b.P(this.Wa),b.Mh=200,b.$(),b.da(!1),this.I(65536));if(this.J(16384)){for(b=0;b<this.cu.length;b++)if(f=this.cu[b])$.V(f),f.ja(this.Wh),f.P(this.Wa),f.$(),f.da(!1);
this.I(16384)}this.J(16777216)&&(b=this.$g(),$.V(b),b.ja(this.Rf()),b.P(this.Wa),b.lh(this.ec),b.$(),b.da(!1),this.I(16777216));this.J(32768)&&($.V(a),a.P(this.Wa),a.ja(this.Wh),a.$(),a.da(!1),this.I(32768));$.er(this,"plot","dataarea")&&(a=this.$u(),$.V(a),a.P()||a.P(this.Wa),a.ja(this.Wh),a.da(!1),a.$(),$.dr(this,"plot","dataarea"));this.da(!1);a=this.Ba;for(f=b=0;f<a.f.length;f++)a.f[f]&&a.f[f].enabled()&&b++;a=1==b?"single":F2(this)?"top":G2(this)?"bottom":"center";this.ty||(b=this.ty=new B0(this),
b.O!=a&&(b.O=a),this.ty.Fd(),this.ty.Oc());b=this.ty;b.O!=a&&(b.O=a);this.ty.update();return this};
$.g.Mz=function(){this.Wa||(this.Wa=$.lk(),$.du(this,this.Wa),this.xj=this.Wa.rect(),this.xj.zIndex(199),this.xj.fill($.Ul),this.xj.stroke(null),this.sc.ve(this,"mousedown",this.$q),this.sc.ve(this,"touchstart",this.$q),this.sc.ra(this,"touchstart",this.uea),this.sc.ra(this,"touchend",this.tea),this.sc.ra(this,"mouseover",this.f1),this.sc.ra(this,"mousemove",this.f1),this.sc.ra(this,"mouseout",this.qea),this.sc.ra(this,"mousedown",this.pea))};
$.g.wfa=function(a){var b=a.zD;!$.n(this.$e)||"mousedown"!==a.type&&"touchstart"!==a.type||this.$e.Tj(b)};
$.g.E0=function(a,b,c){b=b||((0,window.isNaN)(this.hM)?w0(this.Ba.b):this.hM);var d;return!(0,window.isNaN)(b)&&(d=a)&&($.z(d)&&(d=$.Bu($.zu.vd(),d)),$.E(d))?(a=this.Ba.tn(),b={value:{value:b,type:"date-time"},rawValue:{value:c,type:"date-time"},hoveredDate:{value:b,type:"date-time"},dataIntervalUnit:{value:a.Xn().unit,type:"string"},dataIntervalUnitCount:{value:a.Xn().count,type:"number"},isGrouped:{value:a.gD(),type:""}},b=$.av(new $.rw(b)),d.call(b,b)):null};
$.g.Bga=function(a){var b=0,c=1;$.X(a,1)&&(b|=2048);$.X(a,8)&&(b|=4,c|=8);this.B(b,c)};$.g.bm=function(a,b){for(var c=[],d=0;d<this.Oa.length;d++){var e=this.Oa[d];if(e){var f=e.LC(b);f.sourceUid=$.oa(this);f.sourceKey=e.id();c.push(f)}}return c};$.g.ts=function(a){return"default"==a};$.g.er=function(a){a=a.si();if(a=this.Ue(a))a.enabled(!a.enabled()),a.enabled()?a.Ek():a.Pd()};$.g.bq=function(a){var b=a.si();(!a||null!=b||(0,window.isNaN)(b))&&(a=this.Ue(b))&&a.Ek()};
$.g.aq=function(a){var b=a.si();(!a||null!=b||(0,window.isNaN)(b))&&(a=this.Ue(b))&&a.Pd()};$.g.WH=function(){return!0};$.g.HD=function(a){return(0,$.Wa)(this.Oa,function(b){return{series:b,point:b&&b.enabled()&&b.HD(a)||null}})};
$.g.fo=function(a,b,c,d,e,f){if(this.Wa&&this.Wh&&this.enabled()){var h="sticky"==this.$g().i("displayMode"),k=h?a:b,l=this.Ba.Va().transform(k),m=$.bc(this.$g().i("yStroke")),p=this.Wh.left+l*this.Wh.width;p=$.R(p,m);h&&e&&(d=e.pointYRatio,e=$.Wj(this.P().Ha()),d=this.Wh.height-d*this.Wh.height+this.Wh.top+e.y);e=this.$g();h=this.lH;$.n(h)&&(e.xX=h);e=this.$g();h=this.lH;m=c!=this;c=d;e.enabled()&&(m?e.MT():$.n(c)&&(d=$.Wj(e.P().Ha()),c-=d.y,d=$.bA(e),e.xx(d,!1,p,c)),e.tC(e.ec,!0,p,c||0),d=$.aA(e),
e.xx(d,!0,p,c||0,l,h));for(l=0;l<this.Oa.length;l++)if(c=this.Oa[l])Mia(c),c.fo(k,a);this.ji&&this.ji.enabled()&&(k=dma(this.Ba.Va(),k),D2(this,null,a,b,k));this.ta(64);f&&this.ty.show()}};$.g.hX=function(){if(this.enabled()){this.hM=window.NaN;for(var a=0;a<this.Oa.length;a++){var b=this.Oa[a];b&&Mia(b)}this.$g().Oc();this.ji&&this.ji.enabled()&&D2(this,null,w0(this.Ba.b));this.ta(64);this.ty.Oc()}};$.g.MD=function(){this.$e&&this.$e.Ro&&this.$e.MD();this.Zy&&this.Ba.MD(this.Zy.anchor)};
$.g.$q=function(a){a=a.zD.Vj;this.$e=new K2(this,this.xj);this.$e.Tj(a)};$.g.uea=function(a){var b=a.Vj,c=b.dl.touches;if(c&&1<c.length&&(this.$e.Cx(b),2==c.length)){b=[];for(var d={},e=0;2>e;e++){var f=c[e];b[e+e]=void 0!==f.clientX?f.clientX:f.pageX;b[e+e+1]=void 0!==f.clientY?f.clientY:f.pageY;d[f.identifier]=!0}this.Zy={anchor:this.Ba.pG(),x:(b[0]+b[2])/2,y:(b[1]+b[3])/2,Yf:$.dn.apply(null,b),Fea:d};$.Id($.Bp,"touchmove",this.h1,{capture:!0,passive:!1},this);a.preventDefault()}};
$.g.h1=function(a){var b=a.dl.touches;if(this.Zy&&b&&1<b.length){for(var c=[],d=0;d<b.length;d++){var e=b[d];e.identifier in this.Zy.Fea&&(c[d+d]=void 0!==e.clientX?e.clientX:e.pageX,c[d+d+1]=void 0!==e.clientY?e.clientY:e.pageY)}b=(c[0]+c[2])/2;d=$.dn.apply(null,c);this.eP={anchor:this.Zy.anchor,x:b,y:(c[1]+c[3])/2,Yf:d,Wn:(b-this.Zy.x)/this.Wh.width,Xba:d/this.Zy.Yf};$.n(this.v5)||(this.v5=$.fl.requestAnimationFrame(this.mja));a.preventDefault()}};
$.g.tea=function(a){a=a.Vj.dl;var b=a.touches;1==b.length&&($.Sd($.Bp,"touchmove",this.h1,{capture:!0,passive:!1},this),b=b[0],a=new $.xd(a),a.clientX=void 0!==b.clientX?b.clientX:b.pageX,a.clientY=void 0!==b.clientY?b.clientY:b.pageY,a.screenX=b.screenX||0,a.screenY=b.screenY||0,this.Zy=null,this.$e.Tj(a))};
$.g.f1=function(a){var b=this.wf&&this.wf.ba;if(this.Wh&&!b){var c=$.Wj(this.P().Ha());b=a.clientX-c.x-this.Wh.left;c=a.clientY-c.y-this.Wh.top;0<=b&&b<=this.Wh.width&&0<=c&&c<=this.Wh.height&&(this.yL=b/this.Wh.width,this.DS=c/this.Wh.height,this.cda=a.clientX,this.dda=a.clientY,a=this.$g(),b=this.lH,$.n(b)&&(a.xX=b),$.n(this.zj)||(this.zj=$.fl.requestAnimationFrame(this.Xr)))}};$.g.qea=function(){this.DS=this.yL=window.NaN;$.n(this.zj)||(this.zj=$.fl.requestAnimationFrame(this.Xr))};
$.g.pea=function(){this.Ba.D&&this.tk().ae()};$.g.$g=function(a){this.Ef||(this.Ef=new $.$z,this.Ef.Gl=this,$.W(this,"crosshair",this.Ef),$.L(this.Ef,this.yA,this),this.B(16777216,1));return $.n(a)?(this.Ef.K(a),this):this.Ef};$.g.yA=function(){this.B(16777216,1)};
$.g.tk=function(a){this.Ba.D?this.wf||(this.wf=new this.Ba.D.PlotController(this.Ba.tk(),this),$.L(this.wf,this.VP,this),this.wf.ib(this),this.wf.K(this.ma.annotations)):$.cl(4,null,["Annotations"]);return $.n(a)?(this.wf&&this.wf.K(a),this):this.wf||null};$.g.bj=function(a){this.yl||(this.yl=new m1(this,this.Ba.bj()),$.L(this.yl,this.Qca,this),this.yl.ib(this.Ba.bj()));return $.n(a)?(this.yl.K(a),this):this.yl};$.g.Qca=function(){this.B(65536,1)};$.g.VP=function(){this.B(8192,1)};
$.g.gg=function(){this.B(64,1)};$.g.uI=function(a){var b=1,c=128;$.X(a,64)&&(c|=2048);$.X(a,4)&&(b|=4);this.B(c,b)};$.g.hja=function(a){var b=256;$.X(a,8)&&(b|=4);this.B(b,1)};$.g.qha=function(){this.B(16384,1)};$.g.wX=function(a){var b=512;$.X(a,8)&&(b|=4);this.B(b,1)};$.g.ny=function(){this.B(1024,1)};
$.g.cc=function(a){if($.K(a,$.ys))return this.Ic($.ys,a),this;if($.K(a,$.vs))return this.Ic($.vs,a),this;$.D(a)&&"range"==a.type?this.Ic($.ys):($.D(a)||null==this.Ea)&&this.Ic($.vs);return $.n(a)?(this.Ea.K(a),this):this.Ea};$.g.sf=function(a){this.Be||(this.Be=new $.xs,$.W(this,"markerPalette",this.Be),$.L(this.Be,this.If,this));return $.n(a)?(this.Be.K(a),this):this.Be};
$.g.oe=function(a){this.Yc||(this.Yc=new $.ws,$.W(this,"hatchFillPalette",this.Yc),$.L(this.Yc,this.If,this));return $.n(a)?(this.Yc.K(a),this):this.Yc};$.g.Ic=function(a,b){if($.K(this.Ea,a))b&&this.Ea.K(b);else{var c=!!this.Ea;$.qd(this.Ea);this.Ea=new a;b&&this.Ea.K(b);$.L(this.Ea,this.If,this);c&&this.B(4608,1)}};$.g.If=function(a){$.X(a,2)&&this.B(4096,1)};$.g.tK=function(){return new $.jv};$.g.nV=function(a){$.X(a,1)&&this.B(32768,1)};
$.g.Pm=function(a){this.jq||(this.jq=new $.bv(this),$.L(this.jq,this.nV,this));return $.n(a)?(this.jq.K(a),this):this.jq};$.g.yM=function(a){var b=a.oa;b=b?b.f.Gb():0;return!(!a.enabled()||!b)};$.g.Ej=function(){for(var a=0,b=this.Oa.length,c=0;c<b&&!this.yM(this.Oa[c]);c++)a++;return a==b};
$.g.R=function(){$.td(this.wf,this.sb,this.yl,this.Ka,this.ec,this.Wf,this.jq,this.Wa,this.Ef,this.Bi,this.Ip,this.Jp,this.MF,this.ji,this.Lg,this.Mg,this.Wg,this.Xg,this.Oa,this.fn,this.aD,this.cu,this.ag,this.cg,this.eg,this.Ea,this.Be,this.Yc);this.Yc=this.Be=this.Ea=this.fn=this.ji=this.MF=this.Jp=this.Ip=this.Bi=this.Ef=this.Wa=this.jq=this.ec=this.Ka=this.yl=this.sb=this.wf=null;this.aD.length=0;this.Oa.length=0;this.Wf.length=0;this.Lg.length=0;this.Mg.length=0;this.Wg.length=0;this.Xg.length=
0;this.ag.length=0;this.cg.length=0;this.eg.length=0;this.cu.length=0;B2.u.R.call(this);var a=this.Ba;$.Fa(a.f,this)&&a.B(4100,9);delete this.Ba};
$.g.F=function(){var a=B2.u.F.call(this),b={},c=[],d=[],e,f;$.Hq(this,M4,a);b[$.oa(this.bb())]=this.bb().F();c.push(b[$.oa(this.bb())]);a.yScale=c.length-1;a.defaultSeriesType=this.Kp();a.background=this.background().F();a.title=this.title().F();a.noDataLabel=this.Pm().label().F();a.dataArea=this.$u().F();d.push($.oa(this.lh()));a.xAxis=this.lh().F();a.palette=this.cc().F();a.markerPalette=this.sf().F();a.hatchFillPalette=this.oe().F();a.crosshair=this.$g().F();var h=[];for(f=0;f<this.Wf.length;f++){var k=
this.Wf[f];var l=k.F();if(e=k.scale()){var m=$.oa(e);b[m]?l.scale=(0,$.za)(c,b[m]):(b[m]=e.F(),c.push(b[m]),l.scale=c.length-1)}d.push($.oa(k));h.push(l)}h.length&&(a.yAxes=h);l=[];for(f=0;f<this.cu.length;f++)(e=this.cu[f])&&(l[f]=e.F());l.length&&(a.priceIndicators=l);I2("xGrids",this.Lg,a,c,b,d);I2("yGrids",this.Mg,a,c,b,d);I2("xMinorGrids",this.Wg,a,c,b,d);I2("yMinorGrids",this.Xg,a,c,b,d);d=[];for(f=0;f<this.Oa.length;f++){e=this.Oa[f];l=e.F();if(e=e.bb())m=$.oa(e),b[m]?l.yScale=(0,$.za)(c,b[m]):
(b[m]=e.F(),c.push(b[m]),l.yScale=c.length-1);d.push(l)}d.length&&(a.series=d);c.length&&(a.scales=c);return a};
$.g.X=function(a,b){B2.u.X.call(this,a,b);$.zq(this,M4,a,b);"defaultGridSettings"in a&&this.Gz(a.defaultGridSettings);"defaultPriceIndicatorSettings"in a&&this.C_(a.defaultPriceIndicatorSettings);"defaultLineMarkerSettings"in a&&this.LK(a.defaultLineMarkerSettings);"defaultRangeMarkerSettings"in a&&this.MK(a.defaultRangeMarkerSettings);"defaultTextMarkerSettings"in a&&this.QK(a.defaultTextMarkerSettings);"defaultMinorGridSettings"in a&&this.Hz(a.defaultMinorGridSettings);"defaultYAxisSettings"in a&&
(this.MF=a.defaultYAxisSettings);"defaultSeriesSettings"in a&&this.Sr(a.defaultSeriesSettings);this.sg(b,a);this.$u(a.dataArea);this.Kp(a.defaultSeriesType);this.cc(a.palette);this.sf(a.markerPalette);this.oe(a.hatchFillPalette);this.Pm().label(a.noDataLabel);this.background(a.background);"title"in a&&this.title().ia(!!b,a.title);this.Gf(a.legend);var c,d,e=a.priceIndicators;if($.A(e))for(c=0;c<e.length;c++)(d=e[c])&&this.l3(c,d);this.Ba.D&&this.tk(a.annotations);"crosshair"in a&&this.$g(a.crosshair);
this.Ul(a.xGrids,this.Zm);this.Ul(a.yGrids,this.$m);this.Ul(a.xMinorGrids,this.xr);this.Ul(a.yMinorGrids,this.Ar);e=a.series;if($.A(e))for(c=0;c<e.length;c++){d=e[c];var f=(d.seriesType||this.Kp()).toLowerCase();if(f=this.te(f,d.data))f.K(d),$.D(d)&&"yScale"in d&&1<d.yScale&&f.bb(this.Aw[d.yScale])}};
$.g.bE=function(a){var b,c,d=$.Kl(this.mf("scales"));if(a&&a.scales){for(c=0;c<d.length;c++)a.scales[c]&&$.ra(d[c],a.scales[c]);a.scales.length>d.length&&(d=$.Ga(d,$.Ja(a.scales,d.length)))}var e={};if($.A(d))for(b=0;b<d.length;b++){var f=d[b];$.z(f)&&(f={type:f});c=O_(f.type,!1);c.K(f);e[b]=c}else if($.D(d))for(b in d)d.hasOwnProperty(b)&&(f=d[b],$.z(f)&&(f={type:f}),c=O_(f.type,!1),c.K(f),e[b]=c);f=$.Kl(this.mf("yScale"));a&&$.n(a.yScale)&&("object"==$.ka(a.yScale)&&"object"==$.ka(f)?$.ra(f,a.yScale):
f=a.yScale);$.ea(f)?c=e[f]:$.z(f)?(c=O_(f,!0))||(c=e[f]):$.D(f)?(c=O_(f.type,!1),c.K(f)):c=null;c&&this.bb(c);this.Aw=e};$.g.sg=function(a,b){this.bE(b);this.lh();this.Ul((b||this.ma).yAxes,this.ti)};$.g.Ul=function(a,b,c){if($.A(a))for(var d=0;d<a.length;d++){var e=a[d],f=b.call(this,d);$.Jc(e)||(c?f.K(e):f.Fa(e),e=$.D(e)&&"scale"in e?e.scale:f.mf("scale"),0<e&&f.scale(this.Aw[e]))}};$.H(K2,$.ag);$.g=K2.prototype;
$.g.Z$=function(){var a=this.b.Ba,b=!a.lM()&&f3(a,"selectedrangechangestart","plot-drag");b&&(a.hc=!0,h3(a),$.uf(window.document.body,"cursor","ew-resize"));return b};$.g.Y$=function(){$.n(this.zj)&&($.fl.cancelAnimationFrame(this.zj),this.Xr(0));var a=this.b.Ba;a.hc=!1;$.uf(window.document.body,"cursor","");f3(a,"selectedrangechangefinish","plot-drag");i3(a)};$.g.tba=function(a){return!!J2(this.b.Ba,a.left/this.b.Wh.width,this.g)};$.g.MD=function(){this.b.Ba.MD(this.g)};
$.g.Hq=function(){this.g=this.b.Ba.pG();this.deltaY=this.deltaX=0};$.g.Rr=function(a){this.ga=a/this.b.Wh.width;this.j=this.g;$.n(this.zj)||(this.zj=$.fl.requestAnimationFrame(this.Xr))};$.g.oA=function(a){var b=this.b.Wh.width;return sma(this.b.Ba,a/b,this.g)*b};$.g.Yv=function(){return 0};var N4=B2.prototype;N4.crosshair=N4.$g;N4.background=N4.background;N4.title=N4.title;N4.legend=N4.Gf;N4.area=N4.QB;N4.candlestick=N4.XQ;N4.column=N4.ZB;N4.jumpLine=N4.uU;N4.stick=N4.LI;N4.line=N4.line;
N4.marker=N4.gr;N4.ohlc=N4.rV;N4.rangeArea=N4.TV;N4.rangeColumn=N4.UV;N4.rangeSplineArea=N4.VV;N4.rangeStepArea=N4.WV;N4.spline=N4.OW;N4.splineArea=N4.PW;N4.stepArea=N4.XW;N4.stepLine=N4.YW;N4.hilo=N4.OT;N4.getSeries=N4.Ue;N4.yScale=N4.bb;N4.yAxis=N4.ti;N4.xAxis=N4.lh;N4.xGrid=N4.Zm;N4.yGrid=N4.$m;N4.xMinorGrid=N4.xr;N4.yMinorGrid=N4.Ar;N4.defaultSeriesType=N4.Kp;N4.addSeries=N4.Rk;N4.getSeriesAt=N4.Nh;N4.getSeriesCount=N4.Mj;N4.removeSeries=N4.mo;N4.removeSeriesAt=N4.Cn;N4.removeAllSeries=N4.kp;
N4.palette=N4.cc;N4.markerPalette=N4.sf;N4.hatchFillPalette=N4.oe;N4.annotations=N4.tk;N4.eventMarkers=N4.bj;N4.priceIndicator=N4.l3;N4.lineMarker=N4.Jm;N4.rangeMarker=N4.Sm;N4.textMarker=N4.Xm;N4.noData=N4.Pm;N4.getStat=N4.Eg;N4.dataArea=N4.$u;$.H(L2,a1);$.g=L2.prototype;$.g.mz=function(a,b){if(null===a.Ib||a.zb&4)throw Error("Wrong config for scroller series");$.qd(this.g);$.qd(this.j);this.g=new $.sG[a.Ab](this);this.j=new (2==a.Fb?$.KA:$.LA)(this,a.Ib,!!(a.zb&524288),"secondaryShapes",a.Cb);L2.u.mz.call(this,a,b)};$.g.A3=function(){o0(this.tG().b,this.oa,!1)};$.g.NL=function(){return null};$.g.ML=function(){return null};$.g.tG=function(){return this.Aa.mc()};$.g.Qf=function(){return m0(this.oa,!0,!0)};$.g.Wq=function(){return $.Zl};
$.g.remove=function(){this.b&&this.b.remove();L2.u.remove.call(this)};$.g.rd=function(){L2.u.rd.call(this);this.g.rd(this.j)};$.g.jn=function(a,b){L2.u.jn.call(this,a,b);this.g.jn(a,b)};$.g.zl=function(){L2.u.zl.call(this);this.g.zl()};$.g.LV=function(){L2.u.LV.call(this);this.b||(this.b=$.lk());this.b.zIndex(this.zIndex());this.b.parent(this.ga);this.J(1024)&&this.j.Wu();$.FA(this.j,this.b)};$.g.OB=function(){var a=this.zIndex();this.va.zIndex(a);this.b.zIndex(a)};
$.g.R=function(){this.remove();$.td(this.g,this.j);this.j=this.g=null;L2.u.R.call(this)};M2.prototype.K=function(a){this.tb=[];this.f=[];(0,$.Qe)(a,function(a){$.ea(a)?this.f.push(a):$.D(a)&&(a.Una?this.tb:this.f).push($.N(a.value))},this);this.b=$.Ga(this.tb,this.f);$.Ka(this.b);$.Qa(this.b)};M2.prototype.reset=function(){this.g=-1};M2.prototype.advance=function(){this.g++;this.current=this.b[this.g];this.j=$.Aa(this.f,this.current);this.N=$.Aa(this.tb,this.current);return!!this.current};M2.prototype.ga=function(){return this.b.slice()};N2.prototype.K=function(a,b,c,d,e){this.start=a;this.O=e;this.end=b;this.D=c;this.G=d;this.ba=this.U=null;this.reset()};N2.prototype.reset=function(){var a=$.Lo(this.start,this.D,this.O),b=$.Lo(this.start,this.G,this.O);this.b=new $.In(new Date(a));this.f=window.NaN;this.b.getTime()<this.start&&(this.f=this.b.getTime(),this.f>this.end&&(this.f=window.NaN),this.b.add(this.D));for(this.g=new $.In(new Date(b));this.g.getTime()<this.start;)this.g.add(this.G)};
N2.prototype.advance=function(){var a=this.b.getTime(),b=this.g.getTime();this.current=Math.min(a,b);this.j=a==this.current;this.N=b==this.current;if(a=this.current<=this.end)this.j&&this.b.add(this.D),this.N&&this.g.add(this.G);return a};N2.prototype.ga=function(a){if(a){if(this.U)return this.U}else if(this.ba)return this.ba;var b=[];for(this.reset();this.advance();)(a&&this.j||!a&&this.N)&&b.push(this.current);a?this.U=b:this.ba=b;return b};$.H(P2,$.Yq);$.g=P2.prototype;$.g.qa=784;$.g.Na=function(){return"stock-scatter-date-time"};$.g.Mm=function(a){return $.n(a)?(a=$.O(a,1E3,!1),this.Jk!=a&&(this.Jk=a,this.Gc=!1,this.ta(512)),this):this.Jk};$.g.Gia=function(a){return $.n(a)?(a=$.O(a,this.N,!1),this.N!=a&&(this.N=a,this.Gc=!1,this.ta(512)),this):this.N};$.g.xs=function(a){return $.n(a)&&(a=O2(this,a),!$.Pc(this.ya,a))?(this.ya=a,this.ta(16),this):this.ya};
$.g.vs=function(a){return $.n(a)&&(a=O2(this,a),!$.Pc(this.ka,a))?(this.ka=a,this.ta(16),this):this.ka};$.g.z0=function(){return this.ga};$.g.y0=function(){return this.ba};$.g.XS=function(){return this.zn};$.g.WS=function(){return this.cp};$.g.gk=function(a){return(0,window.isNaN)($.Rk(a))};$.g.transform=function(a){return this.rr(a,window.NaN)};$.g.Fc=function(a){return Math.round(a*(this.cp-this.zn)+this.zn)};$.g.Uu=function(){return!1};$.g.rn=function(){this.ob();return this.f?this.j:this.O};
$.g.ob=function(){if(!this.Gc){this.X_();if(this.cp<=this.g||this.zn>=this.U){var a=this.zn;var b=this.cp}else a=$.Za(this.zn,this.g,this.U),b=$.Za(this.cp,this.g,this.U);var c=.25*(this.cw-this.ws+1),d=[];$.Dc(this.Im,function(a){a.count>c&&d.push(a)});var e=(0,$.Fg)(d,function(a,b){var c=$.kp(a.ng,1),d=$.kp(b.ng,1);if(c>=d){var e=a;var f=b;var h=c;c=d}else e=b,f=a,h=d;return 60<h/c?e:f},d[0]);if(e){var f=e.qe;var h=$.kp(e.ng,1);$.Dc(this.Im,function(a){a!=e&&(f+=a.count*h)})}else f=Math.abs(b-a);
for(var k=Math.abs(f)/this.N,l=this.ad.length-1,m,p=0;p<l;p++)if(k<=this.ad[p].qe){m=this.ad[p];break}m||(m=this.ad[l]);this.f?(a={fullMin:this.g,fullMax:this.U,min:a,max:b,ticksCount:this.N,scale:this},a=this.f.call(a,a),this.j.K(a)):this.O.K(a,b,$.No(m.CH,m.BH),$.No(m.SH,m.RH),this.g);this.jfa=m.CH;this.ifa=m.BH;this.Ifa=m.SH;this.Hfa=m.RH;this.Gc=!0}};$.g.X_=function(){this.O||(this.O=new N2);!this.j&&this.f&&(this.j=new M2)};$.g.rr=function(a){return($.Rk(a)-this.zn)/(this.cp-this.zn)};
$.g.HO=function(a){return this.transform(a)};$.g.Yh=function(a){$.X(a,2)&&(this.Gc=!1,this.ta(512))};$.g.Qa=function(a){if($.n(a)){if($.E(a))this.f=a,this.Gc=!1,this.ta(512);else{a=fma(a);for(var b=a.length,c=b&&b==this.ad.length,d=0;c&&d<b;d++){c=a[d];var e=this.ad[d];c=c.qe==e.qe&&c.SH==e.SH&&c.RH==e.RH&&c.CH==e.CH&&c.BH==e.BH}c||(this.ad=a,this.f=null,this.Gc=!1,this.ta(512))}return this}return this.f?this.f:(0,$.Wa)(this.ad,function(a){return{minor:{unit:a.SH,count:a.RH},major:{unit:a.CH,count:a.BH}}})};
$.g.hi=function(a){return this.b.hi(a)};$.g.zf=function(a){return this.b.zf(a)};
var cma=[{minor:{unit:"millisecond",count:1},major:{unit:"millisecond",count:5}},{minor:{unit:"millisecond",count:5},major:{unit:"millisecond",count:20}},{minor:{unit:"millisecond",count:20},major:{unit:"millisecond",count:100}},{minor:{unit:"millisecond",count:100},major:{unit:"millisecond",count:500}},{minor:{unit:"millisecond",count:500},major:{unit:"second",count:2}},{minor:{unit:"second",count:2},major:{unit:"second",count:10}},{minor:{unit:"second",count:10},major:{unit:"second",count:30}},
{minor:{unit:"second",count:30},major:{unit:"minute",count:2}},{minor:{unit:"minute",count:2},major:{unit:"minute",count:10}},{minor:{unit:"minute",count:10},major:{unit:"minute",count:30}},{minor:{unit:"minute",count:30},major:{unit:"hour",count:1}},{minor:{unit:"hour",count:1},major:{unit:"hour",count:3}},{minor:{unit:"hour",count:3},major:{unit:"hour",count:12}},{minor:{unit:"hour",count:12},major:{unit:"day",count:1}},{minor:{unit:"day",count:1},major:{unit:"week",count:1}},{minor:{unit:"day",
count:2},major:{unit:"week",count:1}},{minor:{unit:"week",count:1},major:{unit:"month",count:1}},{minor:{unit:"month",count:1},major:{unit:"quarter",count:1}},{minor:{unit:"quarter",count:1},major:{unit:"semester",count:1}},{minor:{unit:"semester",count:1},major:{unit:"year",count:1}},{minor:{unit:"year",count:1},major:{unit:"year",count:2}},{minor:{unit:"year",count:2},major:{unit:"year",count:4}},{minor:{unit:"year",count:3},major:{unit:"year",count:6}},{minor:{unit:"year",count:4},major:{unit:"year",
count:8}},{minor:{unit:"year",count:5},major:{unit:"year",count:10}},{minor:{unit:"year",count:6},major:{unit:"year",count:12}},{minor:{unit:"year",count:7},major:{unit:"year",count:14}},{minor:{unit:"year",count:8},major:{unit:"year",count:16}},{minor:{unit:"year",count:9},major:{unit:"year",count:18}},{minor:{unit:"year",count:10},major:{unit:"year",count:20}},{minor:{unit:"year",count:20},major:{unit:"year",count:40}},{minor:{unit:"year",count:25},major:{unit:"year",count:100}},{minor:{unit:"year",
count:100},major:{unit:"year",count:500}}],O4=P2.prototype;O4.ticks=O4.Qa;O4.ticksCount=O4.Gia;O4.getFullMinimum=O4.z0;O4.getFullMaximum=O4.y0;O4.getMinimum=O4.XS;O4.getMaximum=O4.WS;O4.transform=O4.transform;O4.inverseTransform=O4.Fc;O4.minimumGap=O4.xs;O4.maximumGap=O4.vs;$.H(Q2,N2);Q2.prototype.reset=function(){var a=$.Lo(this.start,this.D,this.O),b=$.Lo(this.start,this.G,this.O);this.b=new $.In(new Date(a));this.f=window.NaN;this.b.getTime()<this.start&&(this.f=R2(this,this.b,this.D),this.f>this.end&&(this.f=window.NaN));for(this.g=new $.In(new Date(b));this.g.getTime()<this.start;)this.g.add(this.G)};
Q2.prototype.advance=function(){var a=this.b.getTime(),b=R2(this,this.g,this.G);this.current=b;this.j=a<=b;(a=this.current<=this.end)&&this.j&&R2(this,this.b,this.D);return a};$.H(z2,P2);$.g=z2.prototype;$.g.Na=function(){return"stock-ordinal-date-time"};$.g.transform=function(a){return this.rr(a,this.b.zf($.Rk(a)))};$.g.Fc=function(a){return Math.round(this.b.hi(a*(this.cw-this.ws)+this.ws))};$.g.rr=function(a,b){return(b-this.ws)/(this.cw-this.ws)};$.g.HO=function(a){return this.rr(a,Math.ceil(this.b.zf($.Rk(a))))};$.g.X_=function(){this.O||(this.O=new Q2(this));!this.j&&this.f&&(this.j=new M2)};var P4=z2.prototype;P4.transform=P4.transform;P4.inverseTransform=P4.Fc;$.H(S2,$.lB);$.g=S2.prototype;$.g.qa=$.lB.prototype.qa|4;$.g.sa=$.lB.prototype.sa|1536;$.g.J4=function(){return!1};
$.g.Oi={area:{Ab:1,Fb:1,Jb:[k3,l3,m3],Ib:[y3,z3,A3],Cb:null,zb:0,yb:"value",wb:"zero"},candlestick:{Ab:5,Fb:1,Jb:[n3,o3,p3,q3],Ib:[B3,E3,F3,H3],Cb:null,zb:0,yb:"high",wb:"low"},column:{Ab:6,Fb:1,Jb:[x3,m3,wma,vma,n3,o3,p3,q3],Ib:[K3,A3,Cma,Bma,B3,E3,F3,H3],Cb:null,zb:0,yb:"value",wb:"zero"},"jump-line":{Ab:19,Fb:2,Jb:[$.RG,$.iH,$.dH,$.SG],Ib:[z3,G3,C3,D3],Cb:null,zb:0,yb:"value",wb:"value"},hilo:{Ab:31,Fb:2,Jb:[$.RG,$.oH,$.sH],Ib:[z3,J3,I3],Cb:null,zb:0,yb:"high",wb:"low"},stick:{Ab:20,Fb:2,Jb:[$.RG,
$.iH,$.dH,$.SG],Ib:[z3,G3,C3,D3],Cb:null,zb:0,yb:"value",wb:"zero"},line:{Ab:8,Fb:1,Jb:[$.RG,$.iH,$.dH,$.SG],Ib:[z3,G3,C3,D3],Cb:null,zb:0,yb:"value",wb:"value"},marker:{Ab:9,Fb:1,Jb:[x3,m3,o3,q3,vma,n3,p3,wma],Ib:[K3,A3,E3,H3,Bma,B3,F3,Cma],Cb:null,zb:0,yb:"value",wb:"value"},ohlc:{Ab:10,Fb:1,Jb:[{name:"rising",Mb:"path",Sb:null,Tb:"risingStroke",Vb:!1,Bb:!1,zIndex:0},{name:"falling",Mb:"path",Sb:null,Tb:"fallingStroke",Vb:!1,Bb:!1,zIndex:0}],Ib:[C3,G3],Cb:null,zb:0,yb:"high",wb:"low"},"range-area":{Ab:11,
Fb:1,Jb:[k3,w3,v3,m3,xma,yma,r3,s3],Ib:[y3,J3,I3,A3,zma,Ama,t3,u3],Cb:null,zb:0,yb:"high",wb:"low"},"range-column":{Ab:12,Fb:1,Jb:[x3,m3,{name:"high",Mb:"path",Sb:"highFill",Tb:"highStroke",Vb:!1,Bb:!1,zIndex:0},{name:"low",Mb:"path",Sb:"lowFill",Tb:"lowStroke",Vb:!1,Bb:!1,zIndex:0},r3,s3],Ib:[K3,A3,{name:"high",Mb:"path",Sb:"highFill",Tb:"highStroke",Vb:!1,Bb:!1,zIndex:0},{name:"low",Mb:"path",Sb:"lowFill",Tb:"lowStroke",Vb:!1,nk:!0,Bb:!1,zIndex:0},t3,u3],Cb:null,zb:0,yb:"high",wb:"low"},"range-spline-area":{Ab:13,
Fb:1,Jb:[k3,w3,v3,m3,xma,yma,r3,s3],Ib:[y3,J3,I3,A3,zma,Ama,t3,u3],Cb:null,zb:0,yb:"high",wb:"low"},"range-step-area":{Ab:14,Fb:1,Jb:[k3,v3,w3,m3],Ib:[y3,I3,J3,A3],Cb:null,zb:0,yb:"high",wb:"low"},spline:{Ab:15,Fb:1,Jb:[$.RG,$.iH,$.dH,$.SG],Ib:[z3,G3,C3,D3],Cb:null,zb:0,yb:"value",wb:"value"},"spline-area":{Ab:16,Fb:1,Jb:[k3,l3,m3],Ib:[y3,z3,A3],Cb:null,zb:0,yb:"value",wb:"zero"},"step-area":{Ab:17,Fb:1,Jb:[k3,l3,m3],Ib:[y3,z3,A3],Cb:null,zb:0,yb:"value",wb:"zero"},"step-line":{Ab:18,Fb:1,Jb:[$.RG,
$.iH,$.dH,$.SG],Ib:[z3,G3,C3,D3],Cb:null,zb:0,yb:"value",wb:"value"}};$.g.Kp=function(a){return $.n(a)?(this.HR=a=K_(a),this):this.HR};$.g.QB=function(a,b,c){return this.te("area",a,b,c)};$.g.XQ=function(a,b,c){return this.te("candlestick",a,b,c)};$.g.ZB=function(a,b,c){return this.te("column",a,b,c)};$.g.uU=function(a,b,c){return this.te("jump-line",a,b,c)};$.g.OT=function(a,b,c){return this.te("hilo",a,b,c)};$.g.LI=function(a,b,c){return this.te("stick",a,b,c)};
$.g.line=function(a,b,c){return this.te("line",a,b,c)};$.g.gr=function(a,b,c){return this.te("marker",a,b,c)};$.g.rV=function(a,b,c){return this.te("ohlc",a,b,c)};$.g.TV=function(a,b,c){return this.te("range-area",a,b,c)};$.g.UV=function(a,b,c){return this.te("range-column",a,b,c)};$.g.VV=function(a,b,c){return this.te("range-spline-area",a,b,c)};$.g.WV=function(a,b,c){return this.te("range-step-area",a,b,c)};$.g.OW=function(a,b,c){return this.te("spline",a,b,c)};
$.g.PW=function(a,b,c){return this.te("spline-area",a,b,c)};$.g.XW=function(a,b,c){return this.te("step-area",a,b,c)};$.g.YW=function(a,b,c){return this.te("step-line",a,b,c)};$.g.Rk=function(a){var b=[],c=this.Kp(),d=arguments.length;$.V(this);if(d)for(var e=0;e<d;e++)b.push(this.te(c,arguments[e]));else b.push(this.te(c,null));this.da(!0);return b};$.g.Qx=function(a){return $.xa(this.Oa,function(b){return b.id()==a})};$.g.Ue=function(a){return this.Nh(this.Qx(a))};
$.g.Nh=function(a){return this.Oa[a]||null};$.g.Mj=function(){return this.Oa.length};$.g.mo=function(a){return this.Cn(this.Qx(a))};$.g.Cn=function(a){var b=this.Oa[a];b&&($.Fp++,$.Ca(this.Oa,a,1),$.qd(b),this.B(512,1),$.Ip());return this};$.g.kp=function(){if(this.Oa.length){var a=this.Oa;$.Fp++;this.Oa=[];$.td(a);this.B(512,1);$.Ip()}return this};$.g.Te=function(){return this.Oa};
$.g.Sr=function(a){this.Bi||(this.Bi=new $.vz,this.Bi.Fa("chart.defaultSeriesSettings","stock.scroller.defaultSeriesSettings"));return $.n(a)?(this.Bi.ma=a,this):this.Bi};$.g.tv=function(a){a=K_(a);var b=this.Oi[a];b&&b.Ab in $.sG?a=[a,b]:($.cl(4,null,[a+" series"]),a=null);return a};$.g.ob=$.ia;$.g.kv=$.ia;$.g.BL=function(a){return a.check(32768)?31:30};
$.g.te=function(a,b,c,d){var e=this.tv(a);e?(a=new L2(this,a,e[1]),e=(e=this.Oa[this.Oa.length-1])?e.mh()+1:0,this.Oa.push(a),a.mh(e),a.data(b||null,c,d),$.RA(a),a.clip(!0),$.SA(a,.9),a.sq(this.cc().nc(e)),a.Cw(this.oe().nc(e)),a.ib(this),$.L(a,this.uI,this),this.B(512,1)):a=null;return a};$.g.uI=function(a){var b=1;$.X(a,4)&&(b|=4);this.B(512,b)};$.g.IA=function(){for(var a=0;a<this.Oa.length;a++){var b=this.Oa[a];b&&b.SD()}};$.g.Pv=function(){for(var a=0;a<this.Oa.length;a++)this.Oa[a].B(2116)};
ama(S2);$.g=S2.prototype;$.g.mc=function(){return this.Ba};$.g.lb=function(){return this.ea};$.g.Rf=function(){return this.lb()};$.g.Va=function(a){if($.n(a))return this.cb=a,T2(this),this;this.cb||(this.cb=new z2(this));return this.cb};$.g.PO=function(){S2.u.PO.call(this);T2(this)};$.g.GL=function(){return this.Ba.b.ba.OH};$.g.tn=function(){return this.Ba.NJ()};$.g.za=function(){return!1};
$.g.bb=function(a){if($.n(a)){if(a=$.Xs(this.wc,a,null,3,["Scroller Y scale","scatter","linear, log"],this.Vy,this)){var b=this.wc==a;this.wc=a;this.wc.da(b);if(!b){for(a=0;a<this.Oa.length;a++)(b=this.Oa[a])&&b.enabled()&&b.bb()==this.wc&&(b.B(1024),this.B(512));this.ta(1)}}return this}this.wc||(this.wc=$.Ts(),$.L(this.wc,this.Vy,this));return this.wc};
$.g.Vy=function(a){for(var b=0,c=0;c<this.Oa.length;c++){var d=this.Oa[c];d&&d.enabled()&&d.bb()==this.wc&&(b|=d.B(1024))}b&&(b=1,$.X(a,4)&&(b|=4),this.B(512,b))};$.g.lh=function(a){this.ec||(this.ec=new y0(this,!0),this.ec.ib(this),this.ec.zIndex(52),$.W(this,"xAxis",this.ec),$.L(this.ec,this.wX,this),this.B(1024,1));return $.n(a)?(this.ec.K(a),this):this.ec};$.g.wX=function(){this.B(1024,1)};$.g.Rx=function(){return this.ec};$.g.Tx=function(){return null};
$.g.$=function(){S2.u.$.call(this);if(!this.Bc())return this;this.PA||(this.PA=this.va.Dd(),this.PA.zIndex(1),this.PA.clip(this.ZM),this.NA=this.va.Dd(),this.NA.td(!0),this.NA.zIndex(51),this.NA.clip(this.MA));if(this.J(512)){for(var a=0;a<this.Oa.length;a++){var b=this.Oa[a];if(b){$.V(b);b.ja(this.ea);b.P(this.PA);var c=b,d=this.NA;$.n(d)&&c.ga!=d&&(c.ga=d,c.B(2,1));b.sq(this.cc().nc(a));b.Cw(this.oe().nc(a));b.$();b.da(!1)}}this.IA();this.I(512)}this.J(1024)&&(this.ec&&($.V(this.ec),this.ec.scale(this.Va()),
this.ec.P(this.va),this.ec.ja(this.ea),this.ec.height(this.ea.height),this.ec.$(),this.ec.da(!1)),this.I(1024));return this};$.g.cc=function(a){if($.K(a,$.ys))return this.Ic($.ys,a),this;if($.K(a,$.vs))return this.Ic($.vs,a),this;$.D(a)&&"range"==a.type?this.Ic($.ys):($.D(a)||null==this.Ea)&&this.Ic($.vs);return $.n(a)?(this.Ea.K(a),this):this.Ea};
$.g.Ic=function(a,b){this.Pv();if($.K(this.Ea,a))b&&this.Ea.K(b);else{var c=!!this.Ea;$.qd(this.Ea);this.Ea=new a;b&&this.Ea.K(b);$.L(this.Ea,this.If,this);c&&this.B(512,1)}};$.g.oe=function(a){this.Yc||(this.Yc=new $.ws,$.W(this,"hatchFillPalette",this.Yc),$.L(this.Yc,this.If,this));return $.n(a)?(this.Yc.K(a),this.Pv(),this.B(512,1),this):this.Yc};$.g.If=function(a){$.X(a,2)&&this.B(512,1)};$.g.hi=function(a){var b=this.Ba.b;p0(b);return b.ya.hi(a)};$.g.zf=function(a){var b=this.Ba.b;p0(b);return b.ya.zf(a)};
$.g.n2=function(a,b,c,d){return{type:a,startRatio:b,endRatio:c,startKey:this.Va().Fc(b),endKey:this.Va().Fc(c),source:d}};$.g.R=function(){$.td(this.Ea,this.Yc,this.PA,this.NA,this.ec,this.cb,this.wc,this.Oa,this.aD,this.Bi);this.Bi=this.wc=this.cb=this.ec=this.NA=this.PA=this.Yc=this.Ea=null;this.Oa.length=0;this.aD.length=0;delete this.Ba;S2.u.R.call(this)};$.g.F=function(){var a=S2.u.F.call(this);a.defaultSeriesType=this.Kp();a.palette=this.cc().F();a.hatchFillPalette=this.oe().F();return a};
$.g.X=function(a,b){S2.u.X.call(this,a,b);this.sg(!1,a);"xAxis"in a&&this.lh(a.xAxis);this.cc(a.palette);this.oe(a.hatchFillPalette);this.Kp(a.defaultSeriesType);"defaultSeriesSettings"in a&&this.Sr(a.defaultSeriesSettings);var c=a.series;if($.A(c))for(var d=0;d<c.length;d++){var e=c[d],f=(e.seriesType||this.Kp()).toLowerCase();if(f=this.te(f,e.data))f.K(e),$.D(e)&&"yScale"in e&&1<e.yScale&&f.bb(this.Aw[e.yScale])}};
$.g.bE=function(a){var b,c,d=$.Kl(this.mf("scales"));if(a&&a.scales){for(c=0;c<d.length;c++)a.scales[c]&&$.ra(d[c],a.scales[c]);a.scales.length>d.length&&(d=$.Ga(d,$.Ja(a.scales,d.length)))}var e={};if($.A(d))for(b=0;b<d.length;b++){c=d[b];$.z(c)&&(c={type:c});var f=O_(c.type,!1);f.K(c);e[b]=f}else if($.D(d))for(b in d)d.hasOwnProperty(b)&&(c=d[b],$.z(c)&&(c={type:c}),f=O_(c.type,!1),f.K(c),e[b]=f);c=$.Kl(this.mf("yScale"));a&&$.n(a.yScale)&&("object"==$.ka(a.yScale)&&"object"==$.ka(c)?$.ra(c,a.yScale):
c=a.yScale);$.ea(c)?f=e[c]:$.z(c)?(f=O_(c,!0))||(f=e[c]):$.D(c)?(f=O_(c.type,!1),f.K(c)):f=null;f&&this.bb(f);this.Aw=e};$.g.sg=function(a,b){this.bE(b);this.lh()};var Q4=S2.prototype;Q4.area=Q4.QB;Q4.candlestick=Q4.XQ;Q4.column=Q4.ZB;Q4.stick=Q4.LI;Q4.jumpLine=Q4.uU;Q4.hilo=Q4.OT;Q4.line=Q4.line;Q4.marker=Q4.gr;Q4.ohlc=Q4.rV;Q4.rangeArea=Q4.TV;Q4.rangeColumn=Q4.UV;Q4.rangeSplineArea=Q4.VV;Q4.rangeStepArea=Q4.WV;Q4.spline=Q4.OW;Q4.splineArea=Q4.PW;Q4.stepArea=Q4.XW;Q4.stepLine=Q4.YW;
Q4.getSeries=Q4.Ue;Q4.yScale=Q4.bb;Q4.xAxis=Q4.lh;Q4.defaultSeriesType=Q4.Kp;Q4.addSeries=Q4.Rk;Q4.getSeriesAt=Q4.Nh;Q4.getSeriesCount=Q4.Mj;Q4.removeSeries=Q4.mo;Q4.removeSeriesAt=Q4.Cn;Q4.removeAllSeries=Q4.kp;Q4.palette=Q4.cc;Q4.hatchFillPalette=Q4.oe;$.H(gma,$0);$.H(U2,$.Yq);$.U(U2,Y3);$.xq(U2,$3,"normal");$.g=U2.prototype;$.g.sa=64;$.g.qa=1;$.g.dC=function(){this.B(64,1)};$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.mb=function(a){return $.n(a)?(this.xa.K(a),this):this.xa};$.g.selected=function(a){return $.n(a)?(this.Ca.K(a),this):this.Ca};$.g.group=function(a,b){var c=$.N(a);if((0,window.isNaN)(c)){c=0;var d=a}else c=a,d=b;return this.Ba.Ze().bj().group(c,d)};
$.g.data=function(a){var b=this.Ba.Ze().bj().group().data(a);return $.n(a)?this:b};$.g.gZ=function(a){var b=a.group;if(b){var c=a.index;a=a.originalEvent;if(this.g!=b||this.j!=c)this.dispatchEvent(V2(this,a,!1,[{group:b,index:c}],b,c))&&o1(b.Ze.bj(),b,c,$.po,$.Zl)?(this.g=b,this.j=c):(this.g=null,this.j=window.NaN);$.Aw(b.Xa(),a.clientX,a.clientY,b.MS(c))}};
$.g.daa=function(a){var b=a.group;if(b){var c=a.index;this.dispatchEvent(V2(this,a.originalEvent,!1,[],b,c));o1(b.Ze.bj(),b,c,$.Zl,$.po);b.Xa().Oc(!0);this.g=null;this.j=window.NaN}};
$.g.caa=function(a){var b=a.group;if(b){var c=a.index;a=a.originalEvent;var d=this.b==b&&this.f==c;this.b&&this.dispatchEvent(V2(this,a,!0,[],this.b,this.f))&&o1(this.b.Ze.bj(),this.b,this.f,d?$.po:$.Zl,$.qo);!d&&this.dispatchEvent(V2(this,a,!0,[{group:b,index:c}],b,c))&&o1(b.Ze.bj(),b,c,$.qo)?(this.b=b,this.f=c):(this.b=null,this.f=window.NaN)}};$.g.Xa=function(a){this.gb||(this.gb=new $.iw(0),$.W(this,"tooltip",this.gb));return $.n(a)?(this.gb.K(a),this):this.gb};
$.g.F=function(){var a=U2.u.F.call(this);$.Hq(this,Y3,a);a.normal=this.ca.F();a.hovered=this.xa.F();a.selected=this.Ca.F();a.tooltip=this.Xa().F();return a};
$.g.X=function(a,b){U2.u.X.call(this,a,b);this.Xa().ia(!!b,a.tooltip);this.ca.ia(!!b,a);this.ca.ia(!!b,a.normal);this.xa.ia(!!b,a.hovered);this.Ca.ia(!!b,a.selected);$.zq(this,Y3,a);var c;if($.n(c=a.groups)){var d=this.Ba.Ze().bj();$.td(d.b);d.b.length=0;if($.A(c))for(d=0;d<c.length;d++){var e=c[d];null!=e&&this.group(d,e)}}else $.n(d=a.data)&&this.data(d)};$.g.R=function(){$.td(this.ca,this.xa,this.Ca,this.gb);this.ca=this.xa=this.Ca=this.Ba=this.gb=null;U2.u.R.call(this)};var R4=U2.prototype;
R4.group=R4.group;R4.data=R4.data;R4.tooltip=R4.Xa;R4.normal=R4.Sa;R4.hovered=R4.mb;R4.selected=R4.selected;$.H(W2,$.ag);W2.prototype.Hq=function(){this.deltaY=this.deltaX=0};W2.prototype.Rr=function(a,b){this.yB.jc(1,0,0,1,0,b);this.qX.jc(1,0,0,1,0,b)};W2.prototype.oA=function(){return 0};W2.prototype.Yv=function(a){var b=this.b.top+this.b.height,c=this.b.top,d=Number(this.yB.ee("ac-top"));a=$.Za(a,c-d,b-d);this.g=a+d;return a};$.H(X2,$.qf);$.g=X2.prototype;$.g.$q=function(a){var b=a.target,c=b.tag;b=new W2(b,this.b[c]);b.b=this.G[c];b.ra("start",this.Baa,!1,this);b.ra("drag",this.mca,!1,this);b.ra("end",this.Aaa,!1,this);this.g[c]=b;b.Tj(a.Vj)};$.g.Baa=function(){this.dispatchEvent("dragStart")};$.g.mca=function(a){a=a.f;var b=Number(a.yB.ee("ac-top")),c=a.b.left,d=a.b.left+a.b.width;this.f=a.g;this.O.fill(this.Ba.jE().qm().fill()).clear().moveTo(c,b).lineTo(d,b).lineTo(d,this.f).lineTo(c,this.f).close()};
$.g.Aaa=function(a){this.O.clear();this.dispatchEvent("dragEnd");var b=a.f;a=Number(b.yB.tag);b=b.b;var c=this.U[a];b=(this.f-b.top+c)/(b.height+c+this.N[a]);a=this.D[a];c=a.m5.i("weight");var d=a.k2.i("weight");c+=d;b*=c;c-=b;this.Ba.oz(!1);a.m5.weight(b);a.k2.weight(c);this.Ba.oz(!0)};$.g.reset=function(){for(var a=this.wd=0;a<this.j.length;a++){var b=this.j[a];b.clear();b.jc(1,0,0,1,0,0);b=this.b[a];b.clear();b.jc(1,0,0,1,0,0)}};
$.g.add=function(){var a=this.j[this.wd],b=this.b[this.wd];a||(b=this.Kc.path(),b.zIndex(0),this.b.push(b),a=this.Kc.path(),a.zIndex(1),a.stroke($.Ul,10),a.cursor("ns-resize"),this.j.push(a),a.tag=this.wd,a.ve("mousedown",this.$q,!1,this),a.ra("mousemove",this.jia,!1,this),a.ra("mouseout",this.kia,!1,this));this.wd++;b.stroke(this.Ba.jE().Sa().stroke());return{yB:a,qX:b}};$.g.jia=function(a){this.b[Number(a.target.tag)].stroke(this.Ba.jE().mb().stroke())};$.g.kia=function(a){this.b[Number(a.target.tag)].stroke(this.Ba.jE().Sa().stroke())};
$.g.R=function(){this.Kc=null;$.td(this.j,this.g,this.b);this.j.length=0;this.b.length=0;this.g.length=0;this.D=null;X2.u.R.call(this)};$.H(Y2,$.Yq);
Y2.prototype.sync=function(){this.j.reset();if(!this.Aa.i("plotsManualBounds")&&!this.b){var a=d3(this.Aa),b,c=!1;for(b=0;b<a.length;b++){var d=a[b];if(H2(d)){c=!0;break}}if(!c&&this.Aa.jE().enabled()){for(b=0;b<a.length;b++)if(d=a[b],!F2(d)){c=d.lb();var e=jma(this.Aa,d),f=e.lb(),h=this.j.add();h.yB.moveTo(c.left,c.top).lineTo(c.left+c.width,c.top).ee("ac-top",c.top);h.qX.moveTo(c.left,c.top+.5).lineTo(c.left+c.width,c.top+.5);h=this.j;h.D[h.wd-1]={m5:e,k2:d};h=d.Rf();d=e.Rf();d=f.height-d.height+
20;e=c.height-h.height+20;f&&c?(f=new $.J(f.left,f.top,f.width,f.height),$.qb(f,c)):f=null;f.top+=d;f.height-=d+e;c=this.j;h=c.wd-1;var k=c.g[h];k?k.b=f:c.G[h]=f;c.U[h]=d;c.N[h]=e}a=this.j;for(b=a.wd;b<a.j.length;b++)a.j[b].clear(),a.b[b].clear()}}};Y2.prototype.R=function(){this.Aa=null;$.td(this.ub,this.j);this.j=this.ub=null;Y2.u.R.call(this)};$.H(Z2,$.Yq);var S4={};$.hq(S4,[[1,"fill",$.Eq]]);$.U(Z2,S4);Z2.prototype.X=function(a,b){Z2.u.X.call(this,a,b);$.zq(this,S4,a,b)};Z2.prototype.F=function(){var a=Z2.u.F.call(this);$.Hq(this,S4,a,void 0,void 0,!0);return a};$.H($2,$.Yq);var T4={};$.hq(T4,[[1,"stroke",$.Dq]]);$.U($2,T4);$2.prototype.X=function(a,b){$2.u.X.call(this,a,b);$.zq(this,T4,a,b)};$2.prototype.F=function(){var a=$2.u.F.call(this);$.Hq(this,T4,a,void 0,void 0,!0);return a};$.H(a3,$.Yq);a3.prototype.qa=1;var U4={};$.hq(U4,[[1,"stroke",$.Dq]]);$.U(a3,U4);a3.prototype.X=function(a,b){a3.u.X.call(this,a,b);$.zq(this,U4,a,b)};a3.prototype.F=function(){var a=a3.u.F.call(this);$.Hq(this,U4,a,void 0,void 0,!0);return a};$.H(b3,$.Yq);$.xq(b3,["stroke"],"normal");b3.prototype.qa=1;var V4={};$.hq(V4,[[0,"enabled",$.uq]]);$.U(b3,V4);$.g=b3.prototype;$.g.qm=function(a){this.Tl||(this.Tl=new Z2,$.L(this.Tl,this.y3,this),$.W(this,"preview",this.Tl));return $.n(a)?(this.Tl.K(a),this):this.Tl};$.g.y3=function(){this.ta(1)};$.g.Sa=function(a){this.ca||(this.ca=new a3,this.ca.Fa(this.ma),$.W(this,"normal",this.ca),$.L(this.ca,this.y3,this));return $.n(a)?(this.ca.K(a),this):this.ca};
$.g.mb=function(a){this.xa||(this.xa=new $2,$.W(this,"hovered",this.xa));return $.n(a)?(this.xa.K(a),this):this.xa};$.g.Od=function(a){return $.da(a)||null===a?{enabled:!!a}:null};$.g.Ce=function(a,b){var c=this.Od(b);return c?(a?this.ma.enabled=c.enabled:this.enabled(c.enabled),!0):!1};$.g.X=function(a,b){b3.u.X.call(this,a,b);$.zq(this,V4,a,b);"normal"in a&&this.Sa().ia(!!b,a.normal);"hovered"in a&&this.mb().ia(!!b,a.hovered);"preview"in a&&this.qm().ia(!!b,a.normal)};
$.g.F=function(){var a=b3.u.F.call(this);$.Hq(this,V4,a,void 0,void 0,!0);this.ca&&(a.normal=this.ca.F());this.xa&&(a.hovered=this.xa.F());this.Tl&&(a.preview=this.Tl.F());return a};$.g.R=function(){$.td(this.ca,this.xa,this.Tl);this.Tl=this.xa=this.ca=null;b3.u.R.call(this)};var W4=b3.prototype;W4.normal=W4.Sa;W4.hovered=W4.mb;W4.preview=W4.qm;$.H(c3,$.gx);c3.prototype.qa=$.gx.prototype.qa;c3.prototype.sa=$.gx.prototype.sa|258048;var Hma={area:!1,candlestick:null,column:null,"jump-line":!0,stick:!0,line:!1,marker:null,ohlc:null,"range-area":!1,"range-column":null,"range-spline-area":!1,"range-step-area":!1,spline:!1,"spline-area":!1,"step-area":!1,"step-line":!1,hilo:!0};$.g=c3.prototype;$.g.yO=function(){return!1};$.g.Na=function(){return"stock"};
$.g.Te=function(){for(var a=[],b=0;b<this.f.length;b++){var c=this.f[b];c&&a.push.apply(a,c.Te())}return a};$.g.tv=function(a){a=K_(a);var b=this.Oi[a];b&&b.Ab in $.sG?a=[a,b]:($.cl(4,null,[a+" series"]),a=null);return a};$.g.za=function(){return!1};$.g.ob=$.ia;$.g.Gf=function(a){$.cl(51);return $.n(a)?this:null};$.g.Ze=function(a,b){return ima(this,a,b,!$.n(b))};
$.g.KB=function(a){this.g||(this.g=new S2(this),this.g.ib(this),$.W(this,"scroller",this.g),this.g.sg(!0),$.L(this.g,this.V$,this),this.sc.ra(this.g,"scrollerchangestart",this.Tha),this.sc.ra(this.g,"scrollerchange",this.Sha),this.sc.ra(this.g,"scrollerchangefinish",this.Rha),this.B(8196,1));return $.n(a)?(this.g.K(a),this):this.g};
$.g.c4=function(a,b,c,d){var e=this.b.D;var f=window.NaN;var h=$.xk($.jE,a,$.n(null)?null:"max");if("points"==h){a=Math.max(+b||0,10);var k=$.$k(c);h=-1;if("last-visible-date"==k){e=this.b;var l=w0(this.b);p0(e);e=e.f.zf(l)}else"first-visible-date"==k?(e=this.b,h=v0(this.b),p0(e),e=e.f.zf(h),h=1):"first-date"==k?(e=this.b.f.b.length?0:window.NaN,h=1):e=$_(this.b.f);a=e+h*(a-1)+h/2;l=this.b;e-=h/2;p0(l);e=l.f.hi(e);h=this.b;a=$.Za(a,this.b.f.b.length?0:window.NaN,$_(this.b.f));p0(h);f=h.f.hi(a)}else if(h&&
"unit"!=h)switch(k=new Date(e),h){case "ytd":f=Date.UTC(k.getUTCFullYear(),0);break;case "qtd":f=Date.UTC(k.getUTCFullYear(),3*Math.floor((k.getUTCMonth()+3)/3)-3,1);break;case "mtd":f=Date.UTC(k.getUTCFullYear(),k.getUTCMonth());break;case "max":f=this.b.j}else if(f=$.Tk(a,null)){a=b||1;k=$.$k(c);h=-1;"last-visible-date"==k?e=w0(this.b):"first-visible-date"==k?(e=v0(this.b),h=1):"first-date"==k&&(e=this.b.j,h=1);k=new Date(e);var m=new Date(e);if("year"==f)m.setUTCFullYear(k.getUTCFullYear()+h*a),
f=m.getTime();else if("semester"==f||"quarter"==f||"month"==f){switch(f){case "semester":l=6*a;break;case "quarter":l=3*a;break;case "month":l=a}a=k.getUTCMonth()+h*l;h=k.getUTCFullYear()+Math.floor(a/12);a%=12;0>a&&(a+=12);m.setUTCFullYear(h);m.setUTCMonth(a);f=m.getTime()}else if("third-of-month"==f)l=k.getUTCDate(),l=3*(12*k.getUTCFullYear()+k.getUTCMonth())+(10>=l?0:20>=l?1:2)+h*a,h=Math.floor(l/36),l%=36,a=Math.floor(l/3),0>a&&(a+=12),l%=3,0>l&&(l+=3),f=Date.UTC(h,a,1+10*l);else{switch(f){case "week":l=
6048E5*a;break;case "day":l=864E5*a;break;case "hour":l=36E5*a;break;case "minute":l=6E4*a;break;case "second":l=1E3*a;break;case "millisecond":l=a}f=e+h*l}}else e=$.Rk(a),f=$.Rk(b);this.B(16384);e3(this,e,f);($.da(b)&&b||$.da(c)&&c||d)&&f3(this,"selectedrangechange","select-range");return this};$.g.zda=function(){return{firstSelected:this.b.b.yh,lastSelected:this.b.b.Di,firstVisible:v0(this.b),lastVisible:w0(this.b)}};
$.g.Va=function(a){if($.n(a)){var b;$.z(a)?b=a:$.D(a)&&(b=a.type);b=String(b).toLowerCase();a="stock-scatter-date-time"==b||"scatter"==b;b=this.cb&&!$.K(this.cb,z2);var c=$.jr(this,"scroller");c&&$.Zq(c,this.yX,this);a!=b&&(a?(this.cb=new P2(this),c&&c.Va(new P2(c))):(this.cb=new z2(this),c&&c.Va(new z2(c))),$.W(this,"xScale",this.cb),this.cb.K(this.cb.ma),$.L(this.cb,this.yX,this),this.$x());return this}this.cb||(this.cb=new z2(this),$.W(this,"xScale",this.cb),this.cb.K(this.cb.ma),$.L(this.cb,this.yX,
this));return this.cb};$.g.yX=function(a){$.X(a,16)&&(this.N&&this.N.remove(),this.B(81920,1))};$.g.tn=function(a){return $.n(a)?(this.b.tn(a),this):this.b.tn()};$.g.NJ=function(a){return $.n(a)?(s0(this.b,a),this):s0(this.b)};$.g.nha=function(a){return $.n(a)?(this.ka=!!a,this):this.ka};$.g.B_=function(a){return $.n(a)?(this.Pg=!!a,this):this.Pg||{}};$.g.By=function(){this.Za().Nq()&&this.B(4,9)};$.g.GL=function(){return this.b.GL()};
$.g.yda=function(){for(var a=0,b=0;b<this.f.length;b++)this.f[b]&&a++;return a};$.g.I4=function(){return!1};$.g.kda=function(){return this.Zs};
$.g.ei=function(a){var b;this.D&&this.tk().Eu(!0);this.ya||(this.ya=new Y2(this));if(this.J(4)){if(b=$.jr(this,"scroller"))b.ja(a),a=b.qd();if(this.i("plotsManualBounds")){var c;b=0;for(var d=window.NaN,e=[],f=0;f<this.f.length;f++)if((c=this.f[f])&&c.enabled()){c.ja(a);c=c.Za();var h=!1;null!==c.top()?d=$.M(c.top(),a.height):null!==c.bottom()&&(h=!0,e.push(c),d=$.M(c.bottom(),a.height,!0));(0,window.isNaN)(d)||(e.length&&nma(e,b,d,a.height),b=d,d=window.NaN,e.length=0);h||e.push(c)}e.length&&nma(e,
b,a.height,a.height)}else{var k=this.dh=a;b=d3(this);h=0;var l=[];d=k.height;if(e=b.length){var m=d/e,p=0;for(a=0;a<e;a++){c=b[a];c.ja(k);var q=window.NaN;f=c.Za();var r=$.M(f.minHeight(),d),t=$.M(f.height(),d),u=$.M(f.maxHeight(),d);(0,window.isNaN)(r)||(q=Math.max(r,m),c.pa("weight",null));(0,window.isNaN)(t)||(q=(0,window.isNaN)(q)?t:Math.max(t,q),c.pa("weight",null));(0,window.isNaN)(u)||(q=(0,window.isNaN)(q)?Math.min(u,m):Math.min(u,q),c.pa("weight",null));(0,window.isNaN)(q)?p+=1:h+=q;l.push(q);
$.V(f);f.top(null).bottom(null).height(null).minHeight(null).maxHeight(null);f.da(!1)}f=h>d;k=0;q=[];for(a=0;a<e;a++)c=b[a],t=l[a],r=c.i("weight"),null!=r||(r=f?(0,window.isNaN)(t)?m:t:(0,window.isNaN)(t)?(d-h)/p:t),q.push(r),k+=r;for(a=h=0;a<e;a++)c=b[a],f=c.Za(),$.V(f),r=q[a],c.pa("weight",r),c=Math.round(r/k*d),l=f,m=l.jx!=h,l.jx=h,m&&l.ta(2),f.QA(c),h+=c,f.da(!0)}}this.G=window.Infinity;for(a=0;a<this.f.length;a++)(b=this.f[a])&&b.enabled()&&(E2(b),b=b.Wh.width,this.G>b&&(this.G=b));(0,window.isFinite)(this.G)||
(this.G=window.NaN);this.B(16384)}if(this.J(16384)||this.J(32768)){a=this.Va();b=this.KB().Va();d=Cia(this.b,this.G,this.hc||this.ka,a,b);this.J(65536)&&(this.N||(this.N=new gma,o0(this.b,this.N.ie().wK(),!1)),d=this.N,e=this.Va(),f=e.y0(),c=e.z0(),l=e.xs(),h=e.vs(),$.V(d),l.intervalsCount?(l=hma(d,c,l),l=l[0][0],$.ea(l)?e.G={min:l,max:c}:e.G=null):$.ea(null)?e.G={min:null,max:void 0}:e.G=null,h.intervalsCount?(l=hma(d,f,h,!0),$.ea(f)?e.D={min:f,max:l[l.length-1][0]}:e.D=null):$.ea(null)?e.D={min:null,
max:void 0}:e.D=null,d.da(!0),this.I(65536),d=Cia(this.b,this.G,this.hc||this.ka,a,b));if(d&1)for(this.$x(),a=0;a<this.f.length;a++)(b=this.f[a])&&b.MD();d&2&&(T2(this.g),this.B(8192),f3(this,"selectedrangechange","data-update"));this.I(16384)}if(this.J(32768)){a=[];for(b=0;b<this.f.length;b++)if((e=this.f[b])&&e.enabled()){h="direct"==e.bb().Iw();d=$.Ga(e.ag,e.cg,e.eg);f=e.Te();m={};p=!1;for(e=0;e<f.length;e++)l=f[h?f.length-e-1:e],Lia(l),c=l.bb(),c.Hf()&&(c.tg(),a.push(c)),l.enabled()&&(l.Tg()?
p=lma(this,l,m)||p:l.enabled()&&c.Uc.apply(c,l.AG()));if(p)for(e=0;e<f.length;e++)l=f[e],l.enabled()&&(c=l.bb(),"percent"==c.Um()&&mma(l,c,m));for(e=0;e<f.length;e++)if(l=f[e],l.enabled())for(c=l.bb(),h=0;h<d.length;h++)l=d[h],m=l.Hb()?c:this.Va(),m=l.scale()||m,l&&l.enabled()&&c==m&&"consider"==l.i("scaleRangeMode")&&c.Uc.apply(c,l.ds())}if((b=$.jr(this,"scroller"))&&b.He()){f=b.Te();m={};p=!1;for(e=0;e<f.length;e++)l=f[e],Lia(l),c=l.bb(),c.Hf()&&(c.tg(),a.push(c)),l.enabled()&&(l.Tg()?p=lma(this,
l,m)||p:l.enabled()&&c.Uc.apply(c,l.AG()));if(p)for(e=0;e<f.length;e++)l=f[e],l.enabled()&&(c=l.bb(),"percent"==c.Um()&&mma(l,c,m))}for(b=0;b<a.length;b++)a[b].Cg();this.I(32768)}this.J(8192)&&(a=this.KB(),b=this.b.b.yh,d=this.b.b.Di,b=a.Va().transform(b),b=(0,window.isNaN)(b)?0:$.Za(b,0,1),d=a.Va().transform(d),d=(0,window.isNaN)(d)?1:$.Za(d,0,1),$.nB(a,b,d),a.P(this.La).$(),this.I(8192));if(this.J(4096)){d=!1;for(a=0;a<this.f.length;a++)if(b=this.f[a])b.enabled()&&(F2(b,!d),d=!0),b.P(this.La).$();
this.I(4096)}qma(this);this.J(131072)&&this.I(131072);this.ya.sync();this.U||(this.U=new $.rx(this.P().Ha().Bl(),!1),this.U.ra("mousewheel",this.U$,!1,this));this.bj().I(4294967295);this.bj().Sa().Zg().I(4294967295)};
$.g.Zia=function(a,b,c,d,e,f){this.Y2(a,b,c,d,e,f);var h=0<=d;c.gE=c.gE||{CA:window.NaN,wA:window.NaN};b.o("shared")||b.o("shared",c.gE);c.JD?h?(b.o("stackedZeroPrev",c.qw),b.o("stackedValuePrev",c.qw+d)):(b.o("stackedZeroPrev",c.pw),b.o("stackedValuePrev",c.pw+d)):(b.o("stackedZeroPrev",window.NaN),b.o("stackedValuePrev",window.NaN));c.uD?h?(b.o("stackedZeroNext",c.iw),b.o("stackedValueNext",c.iw+d)):(b.o("stackedZeroNext",c.hw),b.o("stackedValueNext",c.hw+d)):(b.o("stackedZeroNext",window.NaN),
b.o("stackedValueNext",window.NaN));a.Uc(b.o("stackedValuePrev"));a.Uc(b.o("stackedValue"));a.Uc(b.o("stackedValueNext"));e&&(e.ys?c.JD=!0:h?c.qw+=d:c.pw+=d,(0,window.isNaN)(f)||(0<=f?e.iw+=f:e.hw+=f))};$.g.Y2=function(a,b,c,d){0<=d?(b.o("stackedZero",c.jp),c.jp+=d,b.o("stackedValue",c.jp)):(b.o("stackedZero",c.fp),c.fp+=d,b.o("stackedValue",c.fp))};$.g.iha=function(a){if(!$.X(a,64)){var b=4096;$.X(a,8)&&(b|=4);$.X(a,4)&&(b|=32768);this.B(b,1)}};
$.g.V$=function(a){var b=8192,c=1;$.X(a,8)&&(b|=32772,c|=8);$.X(a,4)&&(b|=32768);this.B(b,c)};$.g.Zba=function(a){$.X(a,16)&&this.B(16384,1)};$.g.$x=function(){for(var a=0;a<this.f.length;a++){var b=this.f[a];b&&b.$x(!1)}this.B(45056,1)};$.g.hi=function(a){return this.b.hi(a)};$.g.zf=function(a){return this.b.zf(a)};$.g.tk=function(a){this.D?this.wf||(this.wf=new this.D.ChartController(this)):$.cl(4,null,["Annotations"]);return $.n(a)?(this.wf&&this.wf.K(a),this):this.wf};
$.g.CR=function(a){return $.n(a)?(this.ab=a,this):this.ab};$.g.bj=function(a){this.yl||(this.yl=new U2(this),this.yl.ib(this),$.L(this.yl,this.Pca,this));return $.n(a)?(this.yl.K(a),this):this.yl};$.g.Pca=function(){$.V(this);for(var a=0;a<this.f.length;a++)this.f[a].bj().B(64,1);this.da(!0)};$.g.xD=$.ia;$.g.hX=function(){this.eb=this.Ra=this.nb=this.O=window.NaN;this.Tc=null;pma(this)};$.g.qR=function(){return new x0(this)};
$.g.$g=function(a){this.Ef||(this.Ef=new $.$z,this.Ef.il(!0),$.W(this,"crosshair",this.Ef),$.L(this.Ef,this.yA,this),this.B(16777216,1));return $.n(a)?(this.Ef.K(a),this):this.Ef};$.g.yA=function(){this.B(16777216,1)};$.g.OL=function(){for(var a=[],b=0;b<this.f.length;b++){var c=this.f[b];a.push(c&&c.enabled()?c.Rf():null)}return a};
$.g.Cz=function(a,b,c,d,e,f,h){a=c3.u.Cz.call(this,a,b,c,d,e,f,h);c=this.f[b];d=c.Rf();e=(a.left-d.left)/d.width;f=(a.left+a.width-d.left)/d.width;h=(a.top-d.top)/d.height;var k=(a.top+a.height-d.top)/d.height,l=this.Va(),m=c.bb();a.plot=c;a.plotIndex=b;a.plotBounds={left:d.left,top:d.top,width:d.width,height:d.height};a.leftX=l.Fc(e);a.rightX=l.Fc(f);a.maxValue=m.Fc(h);a.minValue=m.Fc(k);m.Uf()&&(b=a.minValue,a.minValue=a.maxValue,a.maxValue=b);return a};var X4={};$.gq(X4,0,"plotsManualBounds",$.uq);
$.gq(X4,1,"zoomMarqueeFill",$.Eq);$.gq(X4,1,"zoomMarqueeStroke",$.Dq);$.U(c3,X4);$.g=c3.prototype;$.g.G4=function(a,b){$.jx(this,this.Wga,null,this.Vga,this.OL(),"crosshair",a,this.i("zoomMarqueeStroke"),this.i("zoomMarqueeFill"),!b);return this};$.g.Wga=function(){h3(this);return!0};
$.g.Vga=function(a,b,c,d){if(5<Math.abs(d)){var e=this.f[a].Rf();a=this.Va();c=(b-e.left)/e.width;b=(b+d-e.left)/e.width;c>b&&(d=c,c=b,b=d);.05>b-c&&(b=(c+b)/2,c=b-.025,b+=.025);c=a.Fc(c);a=a.Fc(b);b=this.b.zf(c);d=this.b.zf(a);1>d-b&&(c=this.b.hi(Math.floor(b)),a=this.b.hi(Math.ceil(d)));(0,window.isNaN)(c)||(0,window.isNaN)(a)||c==this.b.b.yh&&a==this.b.b.Di||!f3(this,"selectedrangechangestart","marquee")||!f3(this,"selectedrangebeforechange","marquee",c,a)||(e3(this,c,a),f3(this,"selectedrangechange",
"marquee"),f3(this,"selectedrangechangefinish","marquee"))}i3(this);return!0};$.g.jE=function(a){this.j||(this.j=new b3,$.W(this,"splitters",this.j),$.L(this.j,this.lia,this));return $.n(a)?(this.j.K(a),this):this.j};$.g.lia=function(){this.B(131072,1)};
$.g.U$=function(a){var b=this.OL(),c=$.Wj(this.P().Ha()),d=a.clientX-c.x;c=a.clientY-c.y;var e,f=!1;if(b&&b.length)for(var h=0;h<b.length;h++)if((e=b[h])&&e.left<=d&&d<=e.left+e.width&&e.top<=c&&c<=e.top+e.height){f=!0;break}b=$.jr(this,"scroller");!f&&b&&b.He()&&(f=(e=b.lb())&&e.left<=d&&d<=e.left+e.width&&e.top<=c&&c<=e.top+e.height);f&&((Math.abs(a.deltaY)>Math.abs(a.deltaX)?(b=!(a.shiftKey||a.ctrlKey||a.metaKey),d=a.deltaY):(b=!1,d=a.deltaX),d=$.fb(d)*Math.min(Math.abs(d),21),c=this.Vc(),b)?!c.i("zoomOnMouseWheel")||
(h=$.K(this.Va(),z2),f=this.b.j,e=this.b.D,h?(f=this.b.zf(f),e=this.b.zf(e),b=this.b.b.mg,c=this.b.b.wj):(b=this.b.b.yh,c=this.b.b.Di),(0,window.isNaN)(b)||(0,window.isNaN)(c)||(d=.0125*d*(c-b),b-=d,c+=d,c-b>e-f?(b=f,c=e):(b<f&&(c+=f-b,b=f),c>e&&(b+=e-c,c=e)),h?(1>c-b&&(b=Math.round(b),c=b+1),b=this.b.hi(b),c=this.b.hi(c)):(d=this.b.zf(b),f=this.b.zf(c),1>f-d&&(d=Math.round(d),f=d+1,b=this.b.hi(d),c=this.b.hi(f))),b==this.b.b.yh&&c==this.b.b.Di))||(a.preventDefault(),this.Ge=b,this.me=c,$.n(this.ba)&&
($.fl.cancelAnimationFrame(this.ba),this.Bd()),$.n(this.ga)||(this.ga=$.fl.requestAnimationFrame(this.Ud))):c.i("scrollOnMouseWheel")&&(b=this.pG(),!(0,window.isNaN)(b.Ei)&&!(0,window.isNaN)(b.lastIndex)&&(d=sma(this,.025*-d,b)))&&(a.preventDefault(),this.Eh=d,this.Tf=b,$.n(this.ga)&&($.fl.cancelAnimationFrame(this.ga),this.Ud()),$.n(this.ba)||(this.ba=$.fl.requestAnimationFrame(this.Bd))))};
$.g.jca=function(){this.ga=void 0;f3(this,"selectedrangechangestart","mouse-wheel")&&f3(this,"selectedrangebeforechange","mouse-wheel",this.Ge,this.me)&&(e3(this,this.Ge,this.me),f3(this,"selectedrangechange","mouse-wheel"),f3(this,"selectedrangechangefinish","mouse-wheel"))};$.g.ica=function(){this.ba=void 0;if(f3(this,"selectedrangechangestart","mouse-wheel")){var a=this.Tf,b=J2(this,this.Eh,a);b&&A2(this,b[0],b[1],a,"mouse-wheel");f3(this,"selectedrangechangefinish","mouse-wheel")}};
var Pma={stock:{"zoom-marquee-start":{index:8,text:"Start zoom marquee",eventType:"anychart.startZoomMarquee",action:function(a){a.menuParent.G4(!1)}},"stock-specific-separator":{index:9.4}}};$.g=c3.prototype;$.g.Hw=function(a){$.Sc(a,$.Kl(Pma.stock));return a};$.g.Tha=function(a){(a=f3(this,"selectedrangechangestart",j3(a.source)))&&h3(this);return a};
$.g.Sha=function(a){a.preventDefault();var b=a.startKey,c=a.endKey;a=j3(a.source);f3(this,"selectedrangebeforechange",a,Math.min(b,c),Math.max(b,c))&&(e3(this,b,c),f3(this,"selectedrangechange",a))};$.g.Rha=function(a){a.preventDefault();f3(this,"selectedrangechangefinish",j3(a.source));i3(this)};$.g.pG=function(){var a=this.b,b=a.j,c=a.D,d=this.zf(b),e=this.zf(c);return{Wr:a.b.yh,Vv:a.b.Di,Ei:a.b.mg,lastIndex:a.b.wj,zn:b,cp:c,ws:d,cw:e}};
$.g.MD=function(a){var b=this.b,c=b.j,d=b.D,e=this.zf(c),f=this.zf(d),h=b.b.Di,k=b.b.mg,l=b.b.wj;a.Wr=b.b.yh;a.Vv=h;a.Ei=k;a.lastIndex=l;a.zn=c;a.cp=d;a.ws=e;a.cw=f};$.g.R=function(){$.td(this.f,this.g,this.b,this.wf,this.yl,this.U,this.Ef,this.j,this.ya);this.ya=this.j=this.Ef=this.U=this.yl=this.wf=this.g=this.f=null;delete this.b;delete this.ab;c3.u.R.call(this)};
$.g.F=function(){var a=c3.u.F.call(this);delete a.noDataLabel;a.grouping=this.tn().F();a.scrollerGrouping=this.NJ().F();a.xScale=this.Va().F();a.scroller=this.KB().F();a.plots=(0,$.Wa)(this.f,function(a){return a?a.F():null});a.crosshair=this.$g().F();a.eventMarkers=this.bj().F();$.Hq(this,X4,a);a.interactivity=this.Vc().F();return a};
$.g.X=function(a,b){c3.u.X.call(this,a,b);var c;"xScale"in a&&this.Va(a.xScale);this.sg(b,a);this.$g(a.crosshair);"defaultPlotSettings"in a&&this.B_(a.defaultPlotSettings);this.KB(a.scroller);this.tn(a.grouping);this.NJ(a.scrollerGrouping);"defaultAnnotationSettings"in a&&this.CR(a.defaultAnnotationSettings);(c=a.eventMarkers)&&this.bj().ia(!!b,c);c=a.selectedRange;$.D(c)&&this.c4(c.start,c.end);$.zq(this,X4,a);this.Vc(a.interactivity)};
$.g.sg=function(a,b){var c=(b||this.ma).plots;if($.A(c))for(var d=0;d<c.length;d++)ima(this,d,c[d],a)};$.g.N0=function(){var a=this.b.U,b=[],c;for(c in a)b.push(a0(a[c]));return b};$.g.HC=function(){return["_","x"]};$.g.nG=function(a,b,c,d){var e=$.ko(a);e in d?d=d[e]:(d=d[e]=c.length,c.push([a,b]));return c[d]};$.g.FV=function(a,b,c){c3.u.FV.call(this,a,b.values,c)};$.g.IC=function(a){return a.Oh()};$.g.GC=function(a,b){var c=b.oa.Uq().Wd().lc.Ra||"yyyy-MM-ddTHH:mm:ss.SSS";return $.js(a.Oh(),c)};
$.g.p0=function(a,b){switch(b){case "selected":var c=a.Qf();break;case "grouped":c=a.oa;var d=c.g?l0(c.g,!1,!0):null,e=c.f.b;if(e.length){var f=0;var h=e.length-1;var k=e[f];e=e[h]}else f=h=window.NaN,k=e=null;c=new W_(c.Zc,{yh:window.NaN,Di:window.NaN,au:window.NaN,Ei:f,lastIndex:h,uy:window.NaN,sN:null,uS:k,Z1:e,gI:null,SM:{},QM:{},eK:[],fK:[],r5:{},q5:{},p5:[],o5:[]},c.D,!c.j,d);break;default:c=m0(a.oa.Uq().wK(),!1)}return c};$.g.u1=function(){return""};
$.g.FL=function(a){a=c3.u.FL.call(this,a);a.headers.shift();a.data.sort(function(a,c){return a[0]-c[0]});(0,$.Qe)(a.data,function(a){a.shift()});return a};var Y4=c3.prototype;$.F("anychart.stock",function(a){a=new c3(a);a.sg(!0);return a});Y4.plot=Y4.Ze;Y4.crosshair=Y4.$g;Y4.scroller=Y4.KB;Y4.splitters=Y4.jE;Y4.xScale=Y4.Va;Y4.selectRange=Y4.c4;Y4.getSelectedRange=Y4.zda;Y4.getType=Y4.Na;Y4.legend=Y4.Gf;Y4.grouping=Y4.tn;Y4.scrollerGrouping=Y4.NJ;Y4.annotations=Y4.tk;Y4.eventMarkers=Y4.bj;
Y4.getPlotsCount=Y4.yda;Y4.startZoomMarquee=Y4.G4;Y4.interactivity=Y4.Vc;Y4.preserveSelectedRangeOnDataUpdate=Y4.nha;}).call(this,$)}
