/*!@license
* Infragistics.Web.ClientUI infragistics.datachart_interactivity.js 21.2.20212.99
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
*     jquery-1.4.4.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*     infragistics.ext_core.js
*     infragistics.ext_collections.js
*     infragistics.dv_core.js
*     infragistics.dv_geometry.js
*     infragistics.datachart_core.js
*     infragistics.ext_ui.js
*/
(function(factory){if(typeof define==="function"&&define.amd){define(["./infragistics.util","./infragistics.ext_core","./infragistics.ext_collections","./infragistics.dv_core","./infragistics.dv_geometry","./infragistics.datachart_core","./infragistics.ext_ui"],factory)}else{factory(igRoot)}})(function($){$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$am=$$t;var $$0=$.ig.globalDefs.$$0;var $$4=$.ig.globalDefs.$$4;var $$1=$.ig.globalDefs.$$1;var $$w=$.ig.globalDefs.$$w;var $$r=$.ig.globalDefs.$$r;var $$j=$.ig.globalDefs.$$j;var $$6=$.ig.globalDefs.$$6;var $$a=$.ig.globalDefs.$$a;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine([]);var $a=$.ig.intDivide,$b=$.ig.util.cast,$c=$.ig.util.defType,$d=$.ig.util.defEnum,$e=$.ig.util.getBoxIfEnum,$f=$.ig.util.getDefaultValue,$g=$.ig.util.getEnumValue,$h=$.ig.util.getValue,$i=$.ig.util.intSToU,$j=$.ig.util.nullableEquals,$k=$.ig.util.nullableIsNull,$l=$.ig.util.nullableNotEquals,$m=$.ig.util.toNullable,$n=$.ig.util.toString$1,$o=$.ig.util.u32BitwiseAnd,$p=$.ig.util.u32BitwiseOr,$q=$.ig.util.u32BitwiseXor,$r=$.ig.util.u32LS,$s=$.ig.util.unwrapNullable,$t=$.ig.util.wrapNullable,$u=String.fromCharCode,$v=$.ig.util.castObjTo$t,$w=$.ig.util.compareSimple,$x=$.ig.util.tryParseNumber,$y=$.ig.util.tryParseNumber1,$z=$.ig.util.numberToString,$0=$.ig.util.numberToString1,$1=$.ig.util.parseNumber,$2=$.ig.util.compare,$3=$.ig.util.replace,$4=$.ig.util.stringFormat,$5=$.ig.util.stringFormat1,$6=$.ig.util.stringFormat2,$7=$.ig.util.stringCompare1,$8=$.ig.util.stringCompare2,$9=$.ig.util.stringCompare3;$c("HighlightingManager:a","Object",{init:function(){this.e=new $$4.h($.ig.HighlightingInfo.prototype.$type,$.ig.HighlightingInfo.prototype.$type,2,new $$t.c);this.i=new $$4.x($.ig.HighlightingInfo.prototype.$type,0);this.h=new $$4.h($.ig.HighlightingInfo.prototype.$type,$.ig.HighlightingInfo.prototype.$type,2,new $$t.c);this.j=new $$4.x($.ig.HighlightingInfo.prototype.$type,0);this.b=false;this.c=false;this.o=0;this.l=new $$4.x($.ig.HighlightingInfo.prototype.$type,0);this.m=0;this.f=new $$4.h($.ig.Series.prototype.$type,$$0.$aq.$type,0);this.g=new $$4.h($.ig.Series.prototype.$type,$$t.$b.$type,0);this.k=new $$4.x($.ig.Series.prototype.$type,0);$.ig.$op.init.call(this);this.highlightingBehavior(1);this.dirtySeries(new $$4.x($.ig.Series.prototype.$type,0));this.dismissHighlightDelay(200)},_highlightingBehavior:0,highlightingBehavior:function(a){if(arguments.length===1){this._highlightingBehavior=a;return a}else{return this._highlightingBehavior}},d:function(){return this.highlightingBehavior()==1},_executionContext:null,executionContext:function(a){if(arguments.length===1){this._executionContext=a;return a}else{return this._executionContext}},_ensureAnimator:null,ensureAnimator:function(a){if(arguments.length===1){this._ensureAnimator=a;return a}else{return this._ensureAnimator}},e:null,i:null,startHighlight:function(a){if(a==null){return}this.a(a);this.inProgress(true);if(!this.e.containsKey(a)){a.state($.ig.HighlightingState.prototype.inward);this.e.item(a,a);this.i.add(a)}else{a=this.e.item(a)}if(a.state()==$.ig.HighlightingState.prototype.outward){a.state($.ig.HighlightingState.prototype.inward)}},a:function(a){var b=null;if(this.h.containsKey(a)){a=this.h.item(a);this.h.remove(a);this.j.remove(a);b=a}var c=this.l;for(var d=0;d<this.j.count();d++){var e=this.j.__inner[d];if(e.isFullRange()&&a.isFullRange()&&a.series()==e.series()){if(b==null){this.h.remove(e);this.j.remove(e);var f=this.e.item(e);this.e.remove(f);this.i.remove(f);f.startIndex(a.startIndex());f.endIndex(a.endIndex());f.isExclusive(a.isExclusive());this.e.item(f,f);this.i.add(f);b=f}else{c.add(e)}}if(this.d()&&e.series()!=a.series()){c.add(e)}if(e.series()==a.series()&&e.isMarker()==a.isMarker()&&!e.isFullRange()&&(e.startIndex()!=a.startIndex()||e.endIndex()!=a.endIndex())){c.add(e)}}for(var g=0;g<c.count();g++){this.j.remove(c.__inner[g]);this.h.remove(c.__inner[g]);this.q(c.__inner[g])}c.clear();if(b!=null){return b}return a},endHighlight:function(a){if(a==null){return}if(!this.e.containsKey(a)){return}else{a=this.e.item(a)}this.r(a)},h:null,j:null,b:false,c:false,o:0,_dismissHighlightDelay:0,dismissHighlightDelay:function(a){if(arguments.length===1){this._dismissHighlightDelay=a;return a}else{return this._dismissHighlightDelay}},r:function(a){if(this.h.containsKey(a)){var b=this.h.item(a)}else{this.h.add(a,a);this.j.add(a);a._i=this.executionContext().getCurrentRelativeTime()}this.b=true;if(!this.c){this.c=true;this.executionContext().executeDelayed(this.p.runOn(this),this.dismissHighlightDelay())}},l:null,p:function(){this.c=false;if(!this.b){return}var a=this.l;var b=0;var c=this.executionContext().getCurrentRelativeTime();for(var d=0;d<this.j.count();d++){var e=this.j.__inner[d];if(c-e._i>=this.dismissHighlightDelay()){a.add(e)}else{b=Math.max(b,this.dismissHighlightDelay()-(c-e._i))}}for(var f=0;f<a.count();f++){this.j.remove(a.__inner[f]);this.h.remove(a.__inner[f]);this.q(a.__inner[f])}if(a.count()>0){if(this.ensureAnimator()!=null){this.ensureAnimator()()}}a.clear();if(b>0){this.b=true;this.c=true;this.executionContext().executeDelayed(this.p.runOn(this),b)}},q:function(a){if(a.state()==$.ig.HighlightingState.prototype.inward){a.state($.ig.HighlightingState.prototype.outward)}if(a.state()==2){a.state($.ig.HighlightingState.prototype.outward);a.progress(1)}},clear:function(){this.j.clear();this.h.clear();this.b=false;this.i.clear();this.e.clear();this.maxHighlightingProgress(0);this.sumHighlightingProgress(0);this.maxMarkerHighlightingProgress(0);this.sumMarkerHighlightingProgress(0);this.totalHighlightingProgress(0)},getHighlightingInfo:function(a,b,c,d,e){for(var f=0;f<this.i.count();f++){var g=this.i.__inner[f];var h=g.startIndex();var i=g.endIndex();if((c>=h&&d<=i||g.isFullRange())&&g.isMarker()==e&&a==g.series()&&(g.state()==$.ig.HighlightingState.prototype.inward||g.state()==2)){return g}}for(var j=0;j<this.i.count();j++){var k=this.i.__inner[j];var l=k.startIndex();var m=k.endIndex();if((c>=l&&d<=m||k.isFullRange())&&k.isMarker()==e&&a==k.series()&&k.state()==$.ig.HighlightingState.prototype.outward){return k}}return null},m:0,_dirtySeries:null,dirtySeries:function(a){if(arguments.length===1){this._dirtySeries=a;return a}else{return this._dirtySeries}},_allDirty:false,allDirty:function(a){if(arguments.length===1){this._allDirty=a;return a}else{return this._allDirty}},f:null,g:null,k:null,tick:function(a){this.f.clear();this.dirtySeries().clear();this.g.clear();this.allDirty(false);var b=0;if(this.m>a){b=1-this.m+a}else{b=a-this.m}this.m=a;var c=false;var d=new $$4.x($.ig.HighlightingInfo.prototype.$type,0);this.maxHighlightingProgress(0);this.sumHighlightingProgress(0);this.maxMarkerHighlightingProgress(0);this.sumMarkerHighlightingProgress(0);this.totalHighlightingProgress(0);var e=false;var f=false;var g=false;var h=0;var i=0;var j=0;var k=0;var l=0;var m=0;for(var n=0;n<this.i.count();n++){var o=this.i.__inner[n];if(o.state()==$.ig.HighlightingState.prototype.inward){if(o.isMarker()){e=true;j=j+Math.min(1-o.progress(),b)}else{if(!this.d()&&!o.isFullRange()){g=true;l=l+Math.min(1-o.progress(),b)}else{f=true;h=h+Math.min(1-o.progress(),b)}}}if(o.state()==$.ig.HighlightingState.prototype.outward){if(o.isMarker()){k=k+Math.min(o.progress(),b)}else{if(!this.d()&&!o.isFullRange()){m=m+Math.min(o.progress(),b)}else{i=i+Math.min(o.progress(),b)}}}}var p=1;var q=1;var r=1;if(f&&i>h){var s=i-h;p=h/i}if(e&&k>j){var t=k-j;q=j/k}if(g&&m>l){var u=m-l;r=l/m}else{r=p}var v;for(var w=0;w<this.i.count();w++){var x=this.i.__inner[w];v=b;if(x.state()==$.ig.HighlightingState.prototype.outward){v=Math.min(v,x.progress());if(x.isMarker()){v=v*q}else{if(x.isFullRange()){v=v*p}else{v=v*r}}x.progress(x.progress()-v)}else{x.progress(x.progress()+v)}if(x.state()==2){x.progress(1)}if(x.progress()>1){x.progress(1)}if(x.progress()<0){x.progress(0)}if(x.isMarker()){this.maxMarkerHighlightingProgress(Math.max(x.progress(),this.maxMarkerHighlightingProgress()));this.sumMarkerHighlightingProgress(this.sumMarkerHighlightingProgress()+x.progress())}else{this.maxHighlightingProgress(Math.max(x.progress(),this.maxHighlightingProgress()));this.sumHighlightingProgress(this.sumHighlightingProgress()+x.progress())}if(x.state()!=$.ig.HighlightingState.prototype.outward&&x.progress()!=1){c=true}if(x.state()==$.ig.HighlightingState.prototype.outward&&x.progress()!=0){c=true}if(x.progress()==1&&x.state()==$.ig.HighlightingState.prototype.inward){x.state(2)}if(x.progress()==0&&x.state()==$.ig.HighlightingState.prototype.outward){d.add(x)}if(this.isCrossSeriesHighlight(x.series())){this.allDirty(true)}else{if(!this.f.containsKey(x.series())){this.f.add(x.series(),true);this.dirtySeries().add(x.series())}}}var z=d.getEnumerator();while(z.moveNext()){var y=z.current();this.e.remove(y);this.i.remove(y)}if(this.e.count()==0){this.inProgress(false);this.maxHighlightingProgress(0);this.sumHighlightingProgress(0);this.maxMarkerHighlightingProgress(0);this.sumMarkerHighlightingProgress(0);this.totalHighlightingProgress(0)}this.k.clear();for(var aa=0;aa<this.i.count();aa++){var ab=this.i.__inner[aa];var ac=null;if(this.g.containsKey(ab.series())){ac=this.g.item(ab.series())}else{ac=new $$t.b;ac.b=0;ac.e=0;ac.a=ab.series();ac.c=0;ac.d=0;this.g.add(ab.series(),ac);this.k.add(ab.series())}if(ab.isMarker()){ac.c+=ab.progress()}else{if(ab.isFullRange()){if(ab.isExclusive()){ac.d+=ab.progress()}else{ac.e+=ab.progress()}}else{ac.b+=ab.progress()}}}if(this.d()){this.totalHighlightingProgress(Math.max(this.sumHighlightingProgress(),this.sumMarkerHighlightingProgress()))}else{var ad=0;var ae=0;var af=0;var ag=0;var ah=0;var ai=0;var aj=0;for(var ak=0;ak<this.k.count();ak++){var al=this.g.item(this.k.__inner[ak]);if(al.b>0){ai++}if(al.c>0){aj++}if(al.e>0){af++}ad+=al.b;ae+=al.e;ah+=al.d;ag+=al.c}if(ai>0){ad=ad/ai}if(aj>0){ag=ag/aj}if(this.highlightingBehavior()==3){if(af>0){ae=ae/af}}this.totalHighlightingProgress(Math.max(ah,Math.max(ad,Math.max(ae,ag))))}if(!c){this.m=0}return c},isCrossSeriesHighlight:function(a){if(a.actualHighlightingMode()==5||a.actualHighlightingMode()==4){return true}return false},_inProgress:false,inProgress:function(a){if(arguments.length===1){this._inProgress=a;return a}else{return this._inProgress}},_maxHighlightingProgress:0,maxHighlightingProgress:function(a){if(arguments.length===1){this._maxHighlightingProgress=a;return a}else{return this._maxHighlightingProgress}},_sumHighlightingProgress:0,sumHighlightingProgress:function(a){if(arguments.length===1){this._sumHighlightingProgress=a;return a}else{return this._sumHighlightingProgress}},_maxMarkerHighlightingProgress:0,maxMarkerHighlightingProgress:function(a){if(arguments.length===1){this._maxMarkerHighlightingProgress=a;return a}else{return this._maxMarkerHighlightingProgress}},_sumMarkerHighlightingProgress:0,sumMarkerHighlightingProgress:function(a){if(arguments.length===1){this._sumMarkerHighlightingProgress=a;return a}else{return this._sumMarkerHighlightingProgress}},_totalHighlightingProgress:0,totalHighlightingProgress:function(a){if(arguments.length===1){this._totalHighlightingProgress=a;return a}else{return this._totalHighlightingProgress}},$type:new $.ig.Type("HighlightingManager",$.ig.$ot,[$.ig.IHighlightingManager.prototype.$type])},true);$c("HighlightingData:b","Object",{init:function(){$.ig.$op.init.call(this)},a:null,c:0,e:0,d:0,b:0,$type:new $.ig.Type("HighlightingData",$.ig.$ot)},true);$c("HighlightingInfoComparer:c","Object",{init:function(){$.ig.$op.init.call(this)},equalsC:function(a,b){if(a==null&&b!=null){return false}if(a!=null&&b==null){return false}return a.isMarker()==b.isMarker()&&a.startIndex()==b.startIndex()&&a.endIndex()==b.endIndex()&&a.series()==b.series()},getHashCodeC:function(a){var b=23;b=b*31+(a.isMarker()?1:0);b=b*31+a.startIndex();b=b*31+a.endIndex();b=b*31+(a.series()!=null?a.series().getHashCode():0);return b},$type:new $.ig.Type("HighlightingInfoComparer",$.ig.$ot,[$$0.$by.$type.specialize($.ig.HighlightingInfo.prototype.$type)])},true);$c("SeriesViewerInteractionManager:d","Object",{init:function(){this.i=false;this.j=false;this.f=null;this.h=false;$.ig.$op.init.call(this);this._ak=$$a.$ae.empty();this._aj=$$a.$ae.empty()},highlightingManager:function(){if(this.b==null){this.b=new $$t.a}return this.b},scrollbarManager:function(){if(this.e==null){this.e=new $$t.j}return this.e},simulateHover:function(a,b){var c=null;var d=null;var e=null;e=a._cm.e();var f;var g=function(){var h=a._cm.f(b,false,f,false);f=h.p2;return h.ret}();if(g!=e){if(e.a5().mouseIsOver()){e.a5().onMouseLeave(e,b,null,null,false)}}c=f;if(a!=null){a.n2(b)}if(g!=null&&!g.a5().mouseIsOver()){g.a5().onMouseEnter(g,b,c,d,false)}},getResolvedHitTestmode:function(a){if(a.contentHitTestMode()!=0){return a.contentHitTestMode()}var b=1;var c=false;var d=false;for(var e=0;e<a.series().count();e++){var f=a.series().__inner[e];if(f.isStacked()){f.k1(function(g){if(g.actualHitTestMode()==2){c=true}if(g.actualHitTestMode()==1){d=true}return true})}else{if(f.actualHitTestMode()==2){c=true}if(f.actualHitTestMode()==1){d=true}}}if(d){b=1}if(c){b=2}if(c&&d){b=3}return b},renderCrosshairs:function(a){var b=a.crosshairPoint();var c=b;var d=a._cm;var e=a.dh();var f=a.dk();var g=a.et();var h=a.e1();if(!e){c={__x:NaN,__y:NaN,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}if(c.__x<0||c.__x>1||c.__y<0||c.__y>1){c={__x:NaN,__y:NaN,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}for(var i=0;i<a.series().count();i++){var j=a.series().__inner[i];j.moveCursorPoint(c)}a.lh(c);var k=a.cd()==0&&!a._d2&&(a._dr||f)&&!g&&!h;var l=a.viewportRect();if(k&&!$.ig.util.isNaN(b.__x)&&!l.isEmpty()){var m=l.width()*(b.__x-a.actualWindowRect().left())/a.actualWindowRect().width();d.eo(l.left()+m,l.top(),l.left()+m,l.bottom());d.ed();d.ei(m)}else{d.cl()}if(k&&!$.ig.util.isNaN(b.__y)&&!l.isEmpty()){var n=l.height()*(b.__y-a.actualWindowRect().top())/a.actualWindowRect().height();d.eh(l.left(),l.top()+n,l.right(),l.top()+n);d.d9()}else{d.cg()}},onStateChanged:function(a){switch(a.cd()){case 0:a._cm.d5();this.renderCrosshairs(a);a._cm.cd();break;case 1:a._cm.d7();a._cm.ck();this.renderCrosshairs(a);a._cm.cc();break;case 2:a._cm.d7();a._cm.ck();this.renderCrosshairs(a);a._cm.ce();break}},onDragDelta:function(a,b){if(b.__x>=0&&b.__y>=0&&b.__x<=a.viewportRect().width()&&b.__y<=a.viewportRect().height()){this.ae(a,b)}else{a.k4()}},ae:function(a,b){var c=a._cm;var d=a.viewportRect();if(a._d3||a._d2){return}if(a.dk()&&a._dr){var e=d.height()>d.width();c.bv(e);var g=a.series().getEnumerator();while(g.moveNext()){var f=g.current();if(f.isStacked()){f.k1(function(h){if(h.__visibility==0){h.md(b,c.addToInfoBox.runOn(c))}return true})}else{if(f.__visibility==0){f.md(b,c.addToInfoBox.runOn(c))}}}c.ea()}},ad:function(a,b){if(a._dr||a._d0){a.dk(true);a.mz();this._aj=new $$a.ae(0,b.__x,b.__y,0,0);this._al=new $$a.ae(0,b.__x,b.__y,0,0);a.cd(0);a.kv(a.ru(b))}},onPlotAreaHold:function(a,b){this.ad(a,b);this.ae(a,b);this.renderCrosshairs(a)},onDragStarted:function(a,b,c){if(!a.dk()){this.ag(a,b,c)}},onDragCompleted:function(a,b){this._ak=$$a.$ae.empty();a.k4()},t:0,u:0,ai:null,q:0,r:0,p:0,s:0,i:false,_aj:null,_al:null,onZoomStart:function(a){if(this.j){this.scrollbarManager().onScrollbarDragCancel();this.j=false}var b=a._cm;this.s=1;this.ac(a);a.cd(0);this.i=true;a.et(true);a.m0()},ac:function(a){var b=a._cm;a.dk(false);b.cj();b.cf();b.ch();a.kv({__x:NaN,__y:NaN,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});b.cg();b.cl();b.ck()},onPinchStarted:function(a,b){this.onZoomStart(a)},onZoomStarted:function(a,b,c,d,e){this.t=b.__x;this.u=b.__y;this.q=c;this.r=d;this.p=e;this.ai=a.actualWindowRect();this.onZoomStart(a)},onPinchDelta:function(a,b){var c=a._cm;c.cg();c.cl();if(c.useDeltaZoom()){this.y(a,b)}else{this.aa(a,b);this.s=b}},onZoomDelta:function(a,b,c,d,e){var f=a._cm;f.cg();f.cl();this.q=this.q*c;this.r=this.r*d;this.p=this.p*e;if(a.d9()){this.q=this.p;this.r=this.p}var g=a.actualWindowRect();var h=a.viewportRect();var i=b.__x-this.t;var j=b.__y-this.u;this.t=b.__x;this.u=b.__y;var k=g.width();var l=g.height();var m=this.ai.width()/this.q;var n=this.ai.height()/this.r;if(m>1){m=1}if(n>1){n=1}var o={__x:b.__x,__y:b.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var p={__x:(o.__x-h.left())/h.width()*g.width()+g.left(),__y:(o.__y-h.top())/h.height()*g.height()+g.top(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var q=new $$a.ae(0,g.left(),g.top(),m,n);var r={__x:(p.__x-q.left())/q.width()*h.width()+h.left(),__y:(p.__y-q.top())/q.height()*h.height()+h.top(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var s=r.__x-o.__x-i;var t=r.__y-o.__y-j;var u=s/h.width()*q.width();var v=t/h.height()*q.height();q=new $$a.ae(0,q.left()+u,q.top()+v,q.width(),q.height());g=q;a.oi(g,true)},onManipulationStarted:function(a,b){this._aj=new $$a.ae(0,b.__x,b.__y,0,0);this._al=new $$a.ae(0,b.__x,b.__y,0,0)},z:function(a,b,c){var d=a.actualWindowRect().width();var e=a.actualWindowRect().height();var f=a.actualWindowRect().left()+d/2;var g=a.actualWindowRect().top()+e/2;d=d/b;e=e/b;var h=f-d/2;var i=g-e/2;a.oi(new $$a.ae(0,h,i,d,e),true)},onPinchCompleted:function(a,b){var c=a._cm;if(c.useDeltaZoom()){this.y(a,b)}else{this.aa(a,b)}this._aj=$$a.$ae.empty();a.et(false)},onGestureCompleted:function(a,b){a.et(false);this._aj=$$a.$ae.empty();a.k4()},onManipulationCancelled:function(a,b){a.cancelManipulation()},onZoomCompleted:function(a,b,c,d,e){a.et(false);this._aj=$$a.$ae.empty();a.k4()},y:function(a,b){var c=a.windowRect();var d=1/b;var e={__x:c.x()+c.width()/2,__y:c.y()+c.height()/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var f={__x:c.x()-e.__x,__y:c.y()-e.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var g=new $$a.ae(0,f.__x*d+e.__x,f.__y*d+e.__y,c.width()*d,c.height()*d);a.oi(g,true)},aa:function(a,b){var c=a.viewportRect();var d=a.windowRect();var e=b-this.s;if(e!=0){var f=.03;var g=e<0?1+f:1-f;var h={__x:d.x()+d.width()/2,__y:d.y()+d.height()/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var i={__x:d.x()-h.__x,__y:d.y()-h.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var j=new $$a.ae(0,i.__x*g+h.__x,i.__y*g+h.__y,d.width()*g,d.height()*g);a.oi(j,true)}},j:false,onContactStarted:function(a,b,c){if(!a.et()){this.i=false}var d=false;if(a.dl()){if(this.scrollbarManager().shouldHandleInteraction(b,c)){this.j=true;d=true;this.ac(a);a._cm.dr();return}}this.ag(a,b,c);a.mk(b,c)},ag:function(a,b,c){var d;var e=a._cm;var f=a.cb(c);if(e.currentModifiers()==0){switch(f){case 1:d=a.isZoomingEnabled()?f:0;break;default:d=f;break}}else{if(e.currentModifiers()==a.dragModifier()){d=1}else if(e.currentModifiers()==a.panModifier()){d=2}else{d=0}}switch(d){case 1:case 2:a._cm.ca();a._cm.dr();break}a.cd(d);switch(a.cd()){case 1:a.kv({__x:NaN,__y:NaN,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});this._aj=new $$a.ae(0,b.__x,b.__y,0,0);this._al=new $$a.ae(0,b.__x,b.__y,0,0);this._ak=new $$a.ae(0,b.__x,b.__y,0,0);e.d8();e.eg(this._aj);a.m5($$a.$ae.empty(),true);break;case 2:this._aj=new $$a.ae(0,b.__x,b.__y,0,0);this._ak=new $$a.ae(0,b.__x,b.__y,0,0);break}this._am=a.actualWindowRect();a._sh=a.actualWindowRect()},onZoomPanInteractionStarting:function(a){a.startTiledZoomingIfNecessary();a._cm.onZoomPanInteractionStarting()},onZoomPanInteractionEnding:function(a){a.endTiledZoomingIfRunning();a._cm.onZoomPanInteractionEnding()},_l:false,startTiledZoomIfNecessary:function(a){if(a._dg&&!this._l){this._l=true;this.af(a)}},endTiledZoomIfRunning:function(a){if(this._l){this.ab(a);this._l=false}},clearTileZoomCache:function(a){if(this.f==null){return}this.g().ab()},g:function(){return this.f},f:null,af:function(a){if(this.f==null){this.f=new $.ig.TileZoomManager(a,true,a.g5());this.f._h=!a.preferHigherResolutionTiles()}a._dz=true;a.m4();this.f.al();a._cm.br();a._cm.bs()},ab:function(a){if(this.f==null){return}a._dz=false;a._cm.onTileZoomEnding();this.f.ah();a.nn();a._cm.by()},deferredClearOfTileZoomCache:function(a){a.clearTileZoomCache();a.np()},b:null,e:null,_ak:null,n:function(a){return a.cd()==2},o:function(a,b){return a.windowResponse()==1||b||a._dg},m:function(a){return a.cd()==1},onContactMoved:function(a,b,c){var d=a._cm;if(this.j){a.a6().onScrollbarDrag(b,c);return}if(this._aj.isEmpty()&&c){this.ag(a,b,c)}var e=2;if(c){e=10}var f=false;var g=new $$a.ae(2,{__x:this._aj.x(),__y:this._aj.y(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},b);var h=new $$a.ae(0,0,0,0,0);if(!this._ak.isEmpty()){h=new $$a.ae(2,{__x:this._ak.x(),__y:this._ak.y(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},b)}if(h.width()>e&&h.height()>e){f=true}if(!a.et()){if(f){this.i=false}}if(!a.et()&&(a.dk()||!c)){a.kv(a.ru(b))}if(this.m(a)){if(f){var i=a.se(g);a.m5(i,true)}else{a.m5($$a.$ae.empty(),true)}a.lt();d.eg(g)}var j=a.viewportRect();var k=a.actualWindowRect();if(this.n(a)){var l=j;var m=k.left()+k.width()*(this._aj.x()-b.__x)/l.width();var n=k.top()+k.height()*(this._aj.y()-b.__y)/l.height();var o=new $$a.ae(0,m,n,k.width(),k.height());if(this.o(a,c)){if(h.width()!=0||h.height()!=0){a.m0()}a.m5($$a.$ae.empty(),true);var p=a.actualWindowRect();a.oi(o,true);var q=a.actualWindowRect();if(p.equals1(q)&&a._cm._k.ac()){a._cm._k.at()}this._aj=new $$a.ae(3,b,new $$a.af(1,0,0));this._al=new $$a.ae(3,b,new $$a.af(1,0,0))}else{a.m5(o,true)}}this._al=new $$a.ae(3,b,new $$a.af(1,0,0));d.bu(b)},onContactCompleted:function(a,b,c,d){var e=a._cm;var f=2;if(c){f=10}var g=a.viewportRect();var h=a.actualWindowRect();if(!d){if(this.j){this.scrollbarManager().onScrollbarDragComplete(b,c);this.j=false;e.bw();return}}if(!this.i){var i=false;var j=new $$a.ae(2,{__x:this._aj.x(),__y:this._aj.y(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},b);if(j.width()>f&&j.height()>f){i=true}if(a.cd()==1){a.ls();e.cf();if(i){a.oi(a.se(j),true)}}if(a.cd()==2){var k=g;var l=h.left()+h.width()*(this._aj.x()-b.__x)/k.width();var m=h.top()+h.height()*(this._aj.y()-b.__y)/k.height();a.oi(new $$a.ae(0,l,m,h.width(),h.height()),true)}}var n=false;var o=new $$a.ae(2,{__x:this._ak.x(),__y:this._ak.y(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},b);if(o.width()>f||o.height()>f){n=true}if(n){a.e1(true)}a.cd(0);a.m5($$a.$ae.empty(),true);e.bw();a.e1(false);e.cg();e.cl();if(c){e.ck();e.cg();e.cl();e.ch()}a.k4();a.mz();a.ml(b,c,d)},onPreferHigherResolutionTilesChanged:function(a){if(this.g()!=null){this.g()._h=!a.preferHigherResolutionTiles()}},_am:null,onKeyDown:function(a,b){var c=a._cm;var d=a.actualWindowRect();if(a.cd()==2&&b==8){c.bt();a.cd(0);a.mz();a.m5($$a.$ae.empty(),true);if(a.windowResponse()==1){a.oi(this._am,true)}return true}if(a.cd()==1&&b==8){c.bt();a.cd(0);a.mz();c.cf();a.m5($$a.$ae.empty(),true);return true}var e=$$a.$ae.empty();var f=false;switch(b){case 13:f=true;e=new $$a.ae(0,0,0,1,1);break;case 11:f=true;e=new $$a.ae(0,d.left()-.1*d.width(),d.top()-.1*d.height(),1.2*d.width(),1.2*d.height());break;case 10:f=true;e=new $$a.ae(0,d.left()+.1*d.width(),d.top()+.1*d.height(),.8*d.width(),.8*d.height());break;case 14:f=true;e=new $$a.ae(0,d.left()-.1*d.width(),d.top(),d.width(),d.height());e.x(e.x()-Math.min(e.left(),0));break;case 16:f=true;e=new $$a.ae(0,d.left()+.1*d.width(),d.top(),d.width(),d.height());e.x(e.x()-Math.max(e.right()-1,0));break;case 15:f=true;e=new $$a.ae(0,d.left(),d.top()-.1*d.height(),d.width(),d.height());e.y(e.y()-Math.min(e.top(),0));break;case 17:f=true;e=new $$a.ae(0,d.left(),d.top()+.1*d.height(),d.width(),d.height());e.y(e.y()-Math.max(e.bottom()-1,0));break}if(!e.isEmpty()&&$$a.$ae.l_op_Inequality(e,d)){a.oi(e,true)}return f},onMouseWheel:function(a,b,c){var d=a._cm;var e=a.actualWindowRect();var f=e.left()+e.width()*b.__x/a.viewportRect().width();var g=e.top()+e.height()*b.__y/a.viewportRect().height();var h=1-$.ig.MathUtil.prototype.b(c,-.5,.5);var i=Math.max(0,f-h*(f-e.left()));var j=Math.min(1,g+h*(e.bottom()-g));var k=Math.min(1,f+h*(e.right()-f));var l=Math.max(0,g-h*(g-e.top()));a.m0();this.x(a,1e3);a.oi(new $$a.ae(0,i,l,k-i,j-l),true);return a.isZoomingEnabled()},x:function(a,b){a._cm.bz(b)},onDoubleTap:function(a,b){var c=a.actualWindowRect();var d=c.left()+c.width()*b.__x/a.viewportRect().width();var e=c.top()+c.height()*b.__y/a.viewportRect().height();var f=.7;var g=Math.max(0,d-f*(d-c.left()));var h=Math.min(1,e+f*(c.bottom()-e));var i=Math.min(1,d+f*(c.right()-d));var j=Math.max(0,e-f*(e-c.top()));a.oi(new $$a.ae(0,g,j,i-g,h-j),true)},clearVisibleTiles:function(a){this.g().ac()},getHitSeries:function(a,b,c,d,e,f,g){var h=true;var i=false;var j=false;var k=a;if(k.actualContentHitTestMode()==1){h=false;i=true}if(k.actualContentHitTestMode()==3||k.actualContentHitTestMode()==4){i=true}if(k.actualContentHitTestMode()==4){j=true}var l=$.ig.truncate(Math.round(d.__x));var m=$.ig.truncate(Math.round(d.__y));f=null;var n=-1;if(h&&c!=null){var o=l;var p=m;if(a.actualPixelScalingRatio()!=1){o=$.ig.truncate(Math.round(d.__x*a.actualPixelScalingRatio()));p=$.ig.truncate(Math.round(d.__y*a.actualPixelScalingRatio()))}var q=c.a(o,p);if(q==null||q.length==0){f=null;return{ret:null,p5:f}}if((q[0]>0||q[1]>0||q[2]>0)&&q[3]==255){var num2_=q[2];if(num2_%4!=0){num2_=num2_+(4-num2_%4)}var num1_=q[1];if(num1_%4!=0){num1_=num1_+(4-num1_%4)}var num0_=q[0];if(num0_%4!=0){num0_=num0_+(4-num0_%4)}var num_=0;num_=num2_>>2;num_=num_<<6;num_=num_|num1_>>2;num_=num_<<6;num_=num_|num0_>>2;n=$.ig.truncate(Math.floor($a(num_,1e3)));n--}}var r=null;var s=-1;if(n>=0){var t=false;var u=0;var w=b.getEnumerator();while(w.moveNext()){var v=w.current();if(!v.mouseOverEnabled()){continue}if(t){break}if(v.isStacked()){v.k1(function(x){if(x._uniqueIndex==n){r=x;s=u;t=true;return false}return true})}else if(v._uniqueIndex==n){r=v;s=u;break}u++}}var x=null;if(i){var y=false;for(var z=b.count()-1;z>=0;z--){var aa=b.__inner[z];if(!aa.mouseOverEnabled()){continue}var ab=aa.view();if(!aa.e5(ab.bu(),ab.bv(),ab)){continue}if(!y&&z<s&&h&&!j){if(r!=null){x=r;y=true;break}}if(aa!=null&&aa.actualHitTestMode()==1){if(aa.testHit(d,g)){x=aa;break}}}if(h&&!y){if(r!=null){x=r;y=true}}}else{x=r}if(x!=null){var ac=x.getHitDataContext({__x:l,__y:m,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},g);if(ac!=null){f=ac}return{ret:x,p5:f}}return{ret:null,p5:f}},shouldInteract:function(a,b){if($$a.$y.l_op_Equality(b,null)){return false}var c=b.__x;var d=b.__y;if(this.j){return true}if(c>=a.viewportRect().left()&&d>=a.viewportRect().top()&&c<=a.viewportRect().left()+a.viewportRect().width()&&d<=a.viewportRect().top()+a.viewportRect().height()){var e=a.cf();if(e!=null&&e.viewShouldInteract(b)){return false}return true}return false},c:function(a){if(a!=null){return a.bf()}else{return null}},onImmediateModeMouseOver:function(a,b,c,d,e,f){var $self=this;if(!f&&a.actualMobileMode()){this.ah(a,false)}var g=new $$a.ar;g.position(d);if(a.cd()==2||a.cd()==1||a.et()||a.cf()!=null&&a.cf().isPinching()){if(this._d!=null){this._d.a5().onMouseLeave(this._d,g.position(),this._a,g,f);this._d=null}return}var h=null;var i=function(){var j=$self.getHitSeries(a,b,c,d,!e,h,f);h=j.p5;return j.ret}();this._a=h;var j=this.c(i);if(i!=null){var k=false;var l=false;if(this._d!=i){l=true}if(this._d==null||l){k=true}if(k){if(l){if(this._d!=null){j=this.c(this._d);this._d.a5().onMouseLeave(this._d,g.position(),h,g,f);if(j!=null){j.a5().onMouseLeave(j,g.position(),h,g,f)}}}this._d=i;i.ll(g.position(),h,g,f);if(j!=null){j.ll(g.position(),h,g,f)}}else{this._d=i;i.a5().onMouseMove(i,g.position(),h,g,f);if(j!=null){j.a5().onMouseMove(j,g.position(),h,g,f)}}}else{if(this._d!=null){j=this.c(this._d);this._d.a5().onMouseLeave(this._d,g.position(),h,g,f);if(j!=null){j.a5().onMouseLeave(j,g.position(),h,g,f)}this._d=null}for(var m=0;m<a.series().count();m++){var n=a.series().__inner[m];if(n.a5().isMouseLeaveDeferred()){j=this.c(n);n.a5().onMouseLeave(n,g.position(),n.a5().lastHoverItem(),g,f);if(j!=null){j.a5().onMouseLeave(j,g.position(),n.a5().lastHoverItem(),g,f)}}}}},onImmediateModeMouseLeave:function(a,b){if(this._d!=null){var c=this.c(this._d);var d=new $$a.ar;d.position(b);this._d.a5().onMouseLeave(this._d,d.position(),null,d,false);if(c!=null){c.a5().onMouseLeave(c,d.position(),null,d,false)}this._d=null}a.mf(b,a.cd()!=0||a.el())},onImmediateModeMouseDown:function(a,b,c){if(this._d!=null){var d=new $$a.as;d.position(c);if(b._ak){this._d.a5().onRightButtonDown(this._d,d.position(),this._a,d)}else{this._d.a5().onLeftButtonDown(this._d,d.position(),this._a,d)}}},onImmediateModeMouseUp:function(a,b,c){var d;var e=this._d!=null?this._d:function(){var f=a._cm.f(c,false,d,false);d=f.p2;return f.ret}();if(e!=null){var f=new $$a.as;f.position(c);if(b._ak){e.a5().onRightButtonUp(e,f.position(),this._a,f)}else{e.a5().onMouseLeftButtonUp(e,f.position(),this._a,f)}}},onImmediateModeContactStarted:function(a,b,c){if(!c&&a.mobileMode()){this.ah(a,false)}if(c&&!a.mobileMode()){this.ah(a,true)}a.lx(b,c)},ah:function(a,b){if(a!=null){if(!this.k()){a.actualMobileMode(b)}}},onMobileModeChanged:function(a,b){this.h=true},_d:null,_a:null,h:false,k:function(){return this.h},$type:new $.ig.Type("SeriesViewerInteractionManager",$.ig.$ot,[$.ig.ISeriesViewerInteractionManager.prototype.$type])},true);$c("AnchoredCategorySeriesInteractionManager:e","Object",{init:function(){$.ig.$op.init.call(this)},getItem:function(a,b,c,d,e,f,g,h){if(!g){return h(b)}if(e==null||e.isSorting()||f==null||d==null||$.ig.util.isNaN(b.__x)||$.ig.util.isNaN(b.__y)){return h(b)}if(c<=1){return h(b)}var i=$.ig.truncate(Math.round(a.getExactItemIndex(b)));if(i<0||i>=a.ci().count()){return h(b)}var j=$a(i,c);var k=c*j;var l=Math.min(k+c,d.count()-1);var m=a.pg(a.view());var n=new $.ig.ScalerParams(0,a.seriesViewer().windowRect(),a.seriesViewer().viewportRect(),f.isInverted(),a.seriesViewer().effectiveViewport());var o=m.top();var p=m.bottom();var q=o+(p-o)*b.__y;var r=f.getUnscaledValue(q,n);var s=1.7976931348623157e308;var t=k;for(var u=k;u<=l;u++){var v=Math.abs(d.item(u)-r);if(v<s){s=v;t=u}}return a.ci().item(t)},scrollIntoView:function(a,b,c,d,e,f){var g=a.view().bv();g=g.copy();var h=a.view().bu();var i=new $$a.ae(0,0,0,1,1);var j=!g.isEmpty()&&!h.isEmpty()&&a.ci()!=null?a.ci().indexOf(f):-1;var k=a.pi(a.view());var l=new $.ig.ScalerParams(0,i,i,c.isInverted(),k);var m=new $.ig.ScalerParams(0,i,i,d.isInverted(),k);m._b=a.f4();var n=c!=null?c.getScaledValue(j,l):NaN;n+=e;var o=d!=null&&b!=null&&j<b.count()?d.getScaledValue(b.item(j),m):NaN;if(!$.ig.util.isNaN(n)){if(n<g.left()+.1*g.width()){n=n+.4*g.width();g.x(n-.5*g.width())}if(n>g.right()-.1*g.width()){n=n-.4*g.width();g.x(n-.5*g.width())}}if(!$.ig.util.isNaN(o)){if(o<g.top()+.1*g.height()){o=o+.4*g.height();g.y(o-.5*g.height())}if(o>g.bottom()-.1*g.height()){o=o-.4*g.height();g.y(o-.5*g.height())}}if(a.syncLink()!=null){a.syncLink().au(a.seriesViewer(),g,true)}return j>=0},getDefaultTooltipTemplate:function(a,b){var c="<div class='ui-chart-default-tooltip-content'>";var d=null;d=a.ar();if(d.isDateTime()){var e=d;c+="<span>${item."+e.dateTimeMemberPath()+"}</span><br/>"}else if(d!=null&&d.label()!=null){c+="<span>${item."+d.label().toString()+"}</span><br/>";
}c+="<span";var f=a.a5().getDefaultTooltipTemplateLabelColorString(a);if(!String.isNullOrEmpty(f)){c+=" style='color:"+f+"'"}c+=">${series.title}: </span><span class='ui-priority-primary'>"+"${item."+b+"}</span></div>";return c},getColumnShapeBoundingBox:function(a,b,c,d,e,f,g,h){if(c==null||d==null){return $$a.$ae.empty()}var i=a.fromWorldPosition(b);var j=a.view().bv();var k=a.view().bu();var l=a.getEffectiveViewport1(a.view());var m=new $.ig.ScalerParams(0,j,k,d.isInverted(),l);m._b=a.f4();var n=a.aj(a.ar(),e.f,f,g,b,true);if(n==null){return $$a.$ae.empty()}var o=n[0];var p=n[1];var q=Math.abs(i.__x-o[0]);var r=Math.abs(i.__x-p[0]);var s=d.getScaledValue(d.referenceValue(),m);var t=c.ky(j,k,l);if(q<r){var u=o[0]-.5*t;var v=h(o);var w=s;return new $$a.ae(0,u,Math.min(v,w),t,Math.max(v,w)-Math.min(v,w))}else{var x=p[0]-.5*t;var y=h(p);var z=s;return new $$a.ae(0,x,Math.min(y,z),t,Math.max(y,z)-Math.min(y,z))}},$type:new $.ig.Type("AnchoredCategorySeriesInteractionManager",$.ig.$ot,[$.ig.IAnchoredCategorySeriesInteractionManager.prototype.$type])},true);$c("CategorySeriesInteractionManager:f","Object",{init:function(){$.ig.$op.init.call(this)},getExactItemIndex:function(a,b){var c=a.view().bv();var d=a.view().bu();var e=a.ar();var f=a.getEffectiveViewport1(a.view());var g=a.pg(a.view());var h=-1;if(e!=null&&!c.isEmpty()&&!d.isEmpty()){var i=new $.ig.ScalerParams(0,c,d,e.isInverted(),f);var j=e.getUnscaledValue(g.left(),i);var k=e.getUnscaledValue(g.right(),i);var l=(b.__x-c.left())/c.width();var m=j+l*(k-j);if(e.categoryMode()!=0){m-=.5}h=m}return h},getItem:function(a,b){var c=0;if(a.d5()){c=a.g5(b);if(c==-1){return null}}else if(b.__x==1&&a.ci()!=null){c=a.ci().count()-1}else{c=a.getItemIndex(b)}return c>=0&&a.ci()!=null&&c<a.ci().count()?a.ci().item(c):null},getItemIndexSorted:function(a,b){var c=a.view().bv();var d=a.view().bu();var e=a.getEffectiveViewport1(a.view());if(c.isEmpty()||d.isEmpty()){return-1}if($.ig.util.isNaN(b.__x)){return-1}var f=a.ar();if(f==null){return-1}var g=$b($.ig.ISortingAxis.prototype.$type,f);var h=a.pg(a.view());var i=new $.ig.ScalerParams(0,c,d,f.isInverted(),e);var j=0;if(f.isPiecewise()){var k=(b.__x-c.left())/c.width();var l=k*h.width()+h.left();j=f.getUnscaledValue(l,i)}else{var m=f.getUnscaledValue(h.left(),i);var n=f.getUnscaledValue(h.right(),i);var o=(b.__x-c.left())/c.width();j=m+(n-m)*o}var p=g.getIndexClosestToUnscaledValue(j);return p},getSortingCategoryBucketIndex:function(a,b,c){var d=a.view().bu();var e=a.view().bv();var f=a.ar();var g=0;if(f.isVertical()){var h=(c.__y-e.top())/e.height();g=h*d.height()+d.top()}else{var i=(c.__x-e.left())/e.width();g=i*d.width()+d.left()}if(f.isInverted()){var j=b.count();var k=0;for(k=j-1;k>=0;k--){var l=b.__inner[k];var m=null;if(k>0){m=b.__inner[k-1]}if(l[0]<=g&&m==null||m[0]>=g){if(m!=null){if(Math.abs(l[0]-g)<Math.abs(m[0]-g)){return k}else{return k-1}}else{return k}}}return k}else{var n=b.count();var o=0;for(o=0;o<n;o++){var p=b.__inner[o];var q=null;if(o<n-1){q=b.__inner[o+1]}if(p[0]<=g&&q==null||q[0]>=g){if(q!=null){if(Math.abs(p[0]-g)<Math.abs(q[0]-g)){return o}else{return o+1}}else{return o}}}return o}},getSpecificHighlightingInfo:function(a,b,c,d,e,f,g,h){if(a.ci()==null){return null}if(e==0){return null}var i=a.ci().count();var j=a.ar();var k=-1;var l=-1;if(j.isSorting()){var m=this.getSortingCategoryBucketIndex(a,b,g);k=m;l=m}else{var n=a.getItemIndex(g);k=$.ig.truncate(Math.floor($a(n,e)))*e;l=k+(e-1)}if(h!=null&&h.startIndex()==k&&h.endIndex()==l){return h}var o=new $.ig.HighlightingInfo;o.series(a);o.startIndex(k);o.endIndex(l);return o},getSpecificMarkerHighlightingInfo:function(a,b,c,d,e,f,g,h){if(a.ci()==null){return null}if(d==0){return null}if(e==null||e.count()==0){return null}var i=a.ci().count();var j=a.ar();var k=-1;var l=-1;var m=-1;if(j.isSorting()){var n=this.getSortingCategoryBucketIndex(a,e,g);m=n;k=n;l=n}else{var o=a.getItemIndex(g);m=$.ig.truncate(Math.floor($a(o,d)))-c;k=m;l=m}if(h!=null&&h.startIndex()==k&&h.endIndex()==l){return h}var p=b;var q=p.count();if(p==null){return null}if(q==0){return null}for(var r=0;r<q;r++){if(p.__inner[r]._al==m){var s=new $.ig.HighlightingInfo;s.series(a);s.startIndex(p.__inner[r]._al);s.endIndex(p.__inner[r]._al);s.isMarker(true);return s}}var t=a.fromWorldPosition(g);var u=p.__inner[0]._al;if(a.isVertical()){var v=e.__inner[p.__inner[0]._al][0];var w=(t.__y-v)*(t.__y-v);var x;for(var y=0;y<q;y++){v=e.__inner[p.__inner[y]._al][0];x=(t.__y-v)*(t.__y-v);if(x<=w){w=x;u=p.__inner[y]._al}}}else{var z=e.__inner[p.__inner[0]._al][0];var aa=(t.__x-z)*(t.__x-z);var ab;for(var ac=0;ac<q;ac++){z=e.__inner[p.__inner[ac]._al][0];ab=(t.__x-z)*(t.__x-z);if(ab<=aa){aa=ab;u=p.__inner[ac]._al}}}var ad=new $.ig.HighlightingInfo;ad.series(a);ad.isMarker(true);ad.startIndex(u);ad.endIndex(ad.startIndex());if(h!=null&&h.startIndex()==ad.startIndex()&&h.endIndex()==ad.endIndex()){return h}return ad},$type:new $.ig.Type("CategorySeriesInteractionManager",$.ig.$ot,[$.ig.ICategorySeriesInteractionManager.prototype.$type])},true);$c("HorizontalAnchoredCategorySeriesInteractionManager:g","Object",{init:function(){$.ig.$op.init.call(this)},getHighStrokeSegments:function(a,b,c,d,e){var f=a.aj(a.ar(),b,c,d,a.toWorldPosition(e),true);if(f==null){return null}var g=f[0];var h=f[1];var i=new Array(1);var j=new Array(2);j[0]={__x:g[0],__y:g[2],$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};j[1]={__x:h[0],__y:h[2],$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};i[0]=j;return i},getLowStrokeSegments:function(a,b,c,d,e){var f=a.aj(a.ar(),b,c,d,a.toWorldPosition(e),true);if(f==null){return null}var g=f[0];var h=f[1];var i=new Array(1);var j=new Array(2);j[0]={__x:g[0],__y:g[1],$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};j[1]={__x:h[0],__y:h[1],$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};i[0]=j;return i},getSeriesValueMarkerBoundingBox:function(a,b,c,d){if(b==null||b.count()==0){return $$a.$ae.empty()}var e=a.fromWorldPosition(c);var f=-1;var g=a.ar();var h=g.isInverted();var i=a.view().bu().right()*2;if(h){f=$.ig.ArrayUtil.prototype.c($$a.$y.$type,b,function(j){return i-e.__x<i-j.__x?-1:i-e.__x>i-j.__x?1:0})}else{f=$.ig.ArrayUtil.prototype.c($$a.$y.$type,b,function(j){return e.__x<j.__x?-1:e.__x>j.__x?1:0})}if(f<0){f=~f}if(f<0){f=0}if(f>b.count()-1){f=b.count()-1}var j=f;var k=f;if(j>0){j--}if(k<b.count()-1){k++}var l=b.__inner[j].__x;var m=b.__inner[f].__x;var n=b.__inner[k].__x;var o=Math.abs(l-e.__x);var p=Math.abs(m-e.__x);var q=Math.abs(n-e.__x);var r=d(j);var s=d(f);var t=d(k);var u=r.containsPoint(e);var v=s.containsPoint(e);var w=t.containsPoint(e);if(p<=o&&p<=q){if(!h&&w){return t}if(h&&u){return r}return s}if(o<=p&&o<=q){if(!h&&v){return s}return d(j)}if(q<=p&&q<=o){if(h&&v){return s}return d(k)}return $$a.$ae.empty()},testAreaOver:function(a,b,c,d,e){if($.ig.util.isNaN(d.__x)||$.ig.util.isNaN(d.__y)){return false}var f=0;if(b!=null){f=b.scaleValue(b.referenceValue())}if(c.__y>=f&&c.__y<=d.__y||c.__y<=f&&c.__y>=d.__y){return true}return false},$type:new $.ig.Type("HorizontalAnchoredCategorySeriesInteractionManager",$.ig.$ot,[$.ig.IHorizontalAnchoredCategorySeriesInteractionManager.prototype.$type])},true);$c("InteractivityFactoryManager:h","Object",{init:function(){$.ig.$op.init.call(this)},register:function(){if(!$$t.$h.a){$.ig.DVContainer.prototype.instance().registerFactory($.ig.ISeriesInteractionManager.prototype.$type,function(){return new $$t.i});$.ig.DVContainer.prototype.instance().registerFactory($.ig.ICategorySeriesInteractionManager.prototype.$type,function(){return new $$t.f});$.ig.DVContainer.prototype.instance().registerFactory($.ig.IAnchoredCategorySeriesInteractionManager.prototype.$type,function(){return new $$t.e});$.ig.DVContainer.prototype.instance().registerFactory($.ig.IHorizontalAnchoredCategorySeriesInteractionManager.prototype.$type,function(){return new $$t.g});$.ig.DVContainer.prototype.instance().registerFactory($.ig.IVerticalAnchoredCategorySeriesInteractionManager.prototype.$type,function(){return new $$t.k});$.ig.DVContainer.prototype.instance().registerFactory($.ig.ISeriesViewerInteractionManager.prototype.$type,function(){return new $$t.d});$$t.$h.a=true}},$type:new $.ig.Type("InteractivityFactoryManager",$.ig.$ot)},true);$c("SeriesInteractionManager:i","Object",{init:function(){this.e=true;this.f=false;this.__toolTipObject=null;this.p=null;this.k=new $$4.h(String,$.ig.SeriesView.prototype.$type,0);$.ig.$op.init.call(this)},getDistanceToIndexHelper:function(a,b,c,d,e,f,g,h){if(d==null){return Number.POSITIVE_INFINITY}if(c<0||c>g-1){return Number.POSITIVE_INFINITY}var i;var j=NaN;var k=NaN;var l=NaN;var m=NaN;if(d.isSorting()){var n=d;i=h(b);var o=$.ig.truncate(Math.floor(i));var p=$.ig.truncate(Math.ceil(i));m=i-o;if(o>=0&&o<g){var q=n.getUnscaledValueAt(n.sortedIndices().__inner[o]);j=d.getScaledValue(q,e)+f}else{j=NaN}if(p>=0&&p<g){var r=n.getUnscaledValueAt(n.sortedIndices().__inner[p]);k=d.getScaledValue(r,e)+f}else{k=NaN}if($.ig.util.isNaN(j)&&!$.ig.util.isNaN(k)){j=k}if($.ig.util.isNaN(k)&&!$.ig.util.isNaN(j)){k=j}if(c>=0&&c<g){var s=n.getUnscaledValueAt(n.sortedIndices().__inner[c]);l=d.getScaledValue(s,e)+f}}else{i=a.getExactItemIndex(b);var t=$.ig.truncate(Math.floor(i));var u=$.ig.truncate(Math.ceil(i));m=i-t;if(t>=0&&t<g){j=d.getScaledValue(t,e)+f}else{j=NaN}if(u>=0&&u<g){k=d.getScaledValue(u,e)+f}else{k=NaN}if($.ig.util.isNaN(j)&&!$.ig.util.isNaN(k)){j=k}if($.ig.util.isNaN(k)&&!$.ig.util.isNaN(j)){k=j}if(c>=0&&c<g){l=d.getScaledValue(c,e)+f}}var v=j+m*(k-j);return Math.abs(l-v)},getInterpolatedSeriesValue:function(a,b,c,d,e,f,g,h,i){var j=NaN;if(d>=0&&d<c.count()){j=c.item(d)}var k=NaN;if(e>=0&&e<c.count()){k=c.item(e)}if(g==0){return k}if(f==c.count()-1){return j}if($.ig.util.isNaN(k)&&h!=0&&b<=.5&&!i){return j}if($.ig.util.isNaN(j)&&h!=0&&b>=.5&&!i){return k}return j*(1-b)+k*b},getMatchingBuckets:function(a,b,c,d,e,f,g){if(b==null){return null}var h=-1;var i=-1;if(b.isSorting()){var j=a.fromWorldPosition(f);var k=-1;var l=b.isInverted();var m=a.view().bu().right()*2;k=$$t.$i.n(c,j,l,m);if(k<0){k=~k;k--}if(k<0){k=0}if(k>c.count()-1){k=c.count()-1}var n=k;var o=k+1;if(o>c.count()-1){o=c.count()-1}h=n;i=o}else{var p=a.getPreviousOrExactIndex(f,g);var q=a.getNextOrExactIndex(f,g);var r=$.ig.truncate(Math.floor(p/d));var s=$.ig.truncate(Math.floor(q/d));h=r-e;i=s-e;if(i==h){i++}}if(h<0){h=0}if(h>c.count()-1){h=c.count()-1}if(i<0){i=0}if(i>c.count()-1){i=c.count()-1}if(h<0||i<0){return null}var t=c.__inner[h];var u=c.__inner[i];var v=new Array(2);v[0]=t;v[1]=u;return v},n:function(a,b,c,d){var e=0;var f=a.count()-1;while(e<=f){var g=e+(f-e>>1);var h;var i=a.item(g);if(c){h=d-b.__x<d-i[0]?-1:d-b.__x>d-i[0]?1:0}else{h=b.__x<i[0]?-1:b.__x>i[0]?1:0}if(h<0){f=g-1}else if(h>0){e=g+1}else{return g}}return~e},getPreviousOrExactIndexHelper:function(a,b,c,d,e,f){if(d==null){return-1}var g=d.isSorting();var h=a.e4();var i=null;if(g){i=d}var j=-1;var k=-1;var l=-1;if(g){j=e(b);if($.ig.util.isNaN(j)){return-1}k=$.ig.truncate(Math.floor(j));l=$.ig.truncate(Math.ceil(j))}else{j=a.getExactItemIndex(b);if($.ig.util.isNaN(j)){return-1}k=$.ig.truncate(Math.floor(j));l=$.ig.truncate(Math.ceil(j))}if(f==null){return-1}if(k<0||k>f.count()-1){return-1}if(!c){return k}var m=NaN;if(g&&!h){if(k<i.sortedIndices().count()&&i.sortedIndices().__inner[k]<f.count()){m=f.item(i.sortedIndices().__inner[k])}}else{m=f.item(k)}while($.ig.util.isNaN(m)){k--;if(k<0||k>f.count()-1){return-1}if(g&&!h){m=f.item(i.sortedIndices().__inner[k])}else{m=f.item(k)}}return k},getSeriesValueHelper:function(a,b,c,d,e,f,g,h,i){if(b==null){return NaN}var j=a.e4();var k=a.ha(c,i,d,g,b);var l=a.g8(c,i,d,g,b);var m=a.fw(c,k,d,e,f);var n=a.fw(c,l,d,e,f);var o=k;var p=l;var q=d.isSorting();if(q&&!j){var r=d;if(k>=0&&k<r.sortedIndices().count()){k=r.sortedIndices().__inner[k]}if(l>=0&&k<r.sortedIndices().count()){l=r.sortedIndices().__inner[l]}}var s=m/(n+m);if(m==0){s=0}if(n==0){s=1}if(!h){if(n<=m){if(l>=0&&l<b.count()){return b.item(l)}}else{if(k>=0&&k<b.count()){return b.item(k)}}return NaN}return a.f2(s,b,k,l,o,p,f,q)},testHighLowStrokeOver:function(a,b,c){var d=a.ai(b);var e=a.ah(b);if(d==null){return false}for(var f=0;f<d.length;f++){var g=d[f];if(g==null||g.length!=2){continue}if($.ig.GeometryUtil.prototype.a(b,g[0],g[1],a.actualThickness()/2+a.f1(c))){return true}if(e!=null&&f<e.length){var h=e[f];if(h==null||h.length!=2){continue}if($.ig.GeometryUtil.prototype.a(b,h[0],h[1],a.actualThickness()/2+a.f1(c))){return true}if($.ig.GeometryUtil.prototype.a(b,g[0],h[0],a.actualThickness()/2+a.f1(c))){return true}if($.ig.GeometryUtil.prototype.a(b,g[1],h[1],a.actualThickness()/2+a.f1(c))){return true}var i=new Array(5);i[0]=h[0];i[1]=h[1];i[2]=g[1];i[3]=g[0];i[4]=h[0];if($.ig.PolygonUtil.prototype.b(i,b)){return true}}}return false},testNearStroke:function(a,b,c,d){if(d==null){return false}for(var e=0;e<d._c.count();e++){var f=d._c.__inner[e];for(var g=0;g<f.__segments.count();g++){var h=f.__segments.__inner[g];if($.ig.GeometryUtil.prototype.b(b,f.__startPoint,h.__points,a.f1(c))){return true}}}return false},testOverPoly:function(a,b,c){if(c==null){return false}if(c._c.count()>0){var d=c._c.__inner[0];if(d.__segments.count()>0){var e=d.__segments.__inner[0];if($.ig.PolygonUtil.prototype.b(e.__points,b)){return true}}}return false},getNextOrExactIndexHelper:function(a,b,c,d,e,f){var g=a.e4();var h=d.isSorting();var i=null;if(h){i=d}var j=-1;var k=-1;var l=-1;if(h){j=e(b);if($.ig.util.isNaN(j)){return-1}k=$.ig.truncate(Math.floor(j));l=$.ig.truncate(Math.ceil(j))}else{j=a.getExactItemIndex(b);if($.ig.util.isNaN(j)){return-1}k=$.ig.truncate(Math.floor(j));l=$.ig.truncate(Math.ceil(j))}if(f==null){return-1}if(l<0||l>f.count()-1){return-1}if(!c){return l}var m=NaN;if(h&&!g){if(l<i.sortedIndices().count()&&i.sortedIndices().__inner[l]<f.count()){m=f.item(i.sortedIndices().__inner[l])}}else{m=f.item(l)}while($.ig.util.isNaN(m)){l++;if(l<0||l>f.count()-1){return-1}if(h&&!g){m=f.item(i.sortedIndices().__inner[l])}else{m=f.item(l)}}return l},getExactUnsortedItemIndexHelper:function(a,b,c){var d=a.view().bv();var e=a.view().bu();if(d.isEmpty()||e.isEmpty()||c==null){return-1}var f=a.getEffectiveViewport1(a.view());var g=null;if(c.isSorting()){g=c}var h=new $.ig.ScalerParams(0,d,e,c.isInverted(),f);if(a.seriesViewer()==null){return-1}h.c=a.getEffectiveViewport1(a.view());var i=a.pg(a.view());var j=0;if(c.isVertical()){var k=c.getUnscaledValue(i.top(),h);var l=c.getUnscaledValue(i.bottom(),h);var m=(b.__y-d.top())/d.height();j=k+(l-k)*m}else{if(c.isCategoryDateTime()){var n=c.getUnscaledValue(i.left(),h);var o=c.getUnscaledValue(i.right(),h);var p=(b.__x-d.left())/d.width();j=n+(o-n)*p}else{var q=a.fromWorldPosition(b);j=c.getUnscaledValue(q.__x,h)}}if(c.isDateTime()){}var r=g.getExactUnsortedIndexClosestToUnscaledValue(j);return r},testShapesOver:function(a,b,c){var d=a.getSeriesValueBoundingBoxFromSeriesPixel(b);if(d.isEmpty()){return false}var e=$.ig.RectUtil.prototype.r(d,a.f1(c));return e.containsPoint(b)},getSeriesValuePositionHelper:function(a,b,c,d,e,f,g,h,i,j){if(f==null||g==null||a.view()==null||a.view().bv().isEmpty()||a.view().bu().isEmpty()){return{__x:NaN,__y:NaN,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}var k=a.getEffectiveViewport1(a.view());var l=new $.ig.ScalerParams(0,a.view().bv(),a.view().bu(),f.isInverted(),k);if(f.isVertical()){l._b=a.f4()}l.c=a.getEffectiveViewport1(a.view());var m=a.view();var n=a.pg(m);var o;if(g.isVertical()){o=b.__y;o=n.top()+n.height()*(o-m.bv().top())/m.bv().height()}else{o=b.__x;o=n.left()+n.width()*(o-m.bv().left())/m.bv().width()}if(!c&&g!=null){var p;var q;if(i!=null){p=i(b,d)}else{p=a.getPreviousOrExactIndex(b,d)}if(j!=null){q=j(b,d)}else{q=a.getNextOrExactIndex(b,d)}if(p==-1&&q==-1){return{__x:NaN,__y:NaN,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}var r=new $.ig.ScalerParams(0,m.bv(),m.bu(),g.isInverted(),k);r.c=a.seriesViewer().effectiveViewport();var s=a.fw(b,p,g,r,e);var t=a.fw(b,q,g,r,e);var u=q;var v=p;if(g.isSorting()){var w=g;if(u>=0&&u<w.sortedIndices().count()){u=w.getUnscaledValueAt(w.sortedIndices().__inner[$.ig.truncate(u)])}if(v>=0&&v<w.sortedIndices().count()){v=w.getUnscaledValueAt(w.sortedIndices().__inner[$.ig.truncate(v)])}}if(t+s!=0){var x=t/(s+t);if(Math.abs(x-.5)<1e-7){t=s}}if(t<=s){o=g.getScaledValue(u,r)+e}else{o=g.getScaledValue(v,r)+e}}else{if(g.isCategory()&&!g.isDateTime()&&g.categoryMode()!=0){var y=.5*g.getCategorySize(m.bv(),m.bu(),a.getEffectiveViewport1(m));if(a.isVertical()){y=y*-1}if(g.isInverted()){y=y*-1}o-=y;o+=e}}var z;if(h!=null){z=h(b,c,d)}else{z=a.getSeriesValue(b,c,d)}var aa=f.getScaledValue(z,l);if(g.isVertical()){return{__x:aa,__y:o,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}else{return{__x:o,__y:aa,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}},_a:null,_b:null,clearHighlights:function(){this._a=null;this._b=null},modifyHighlights:function(a,b,c,d,e,f,g,h,i){if(d){return}if(a.seriesViewer().ej()&&!f){return}if(a.actualHighlightingMode()==1){return}if(a.seriesViewer()==null){return}var j=a.seriesViewer().bo();var k=j==2||j==3||j==4;var l=j==2||j==4;if(!g){if(k){e=false}}if(a.cz()&&a.c2()||g){l=false}if(j==2){h=false}if(j==3){h=true}var m=null;var n=null;var o=a.seriesViewer().a3();var p=a.seriesViewer()._cn;var q=f&&g||f&&!k||i||l&&!h;var r=!q&&(g||e||k&&!l||k&&l&&h);var s=f&&(!k||g)||i||!a.c2()&&k&&l&&!h;var t=!s&&(e||k&&a.c2()||!a.c2()&&k&&!l||!a.c2()&&k&&l&&h);if(q&&this._a!=null){m=this._a}else{m=a.av(b,c,g);if(this._a!=null&&this._a!=m){if(a.seriesViewer()!=null){o.endHighlight(this._a)}}this._a=m}if(a.hasMarkers()){if(s&&this._b!=null){n=this._b}else{n=a.aw(b,c,g);if(this._b!=null&&this._b!=n){o.endHighlight(this._b)}this._b=n}}if(q){o.endHighlight(m)}else{if(r){if(m!=null&&m.isFullRange()){m.isExclusive(g||!k)}o.startHighlight(m)}}if(s){if(n!=null){o.endHighlight(n)}}else{if(t){if(n!=null){o.startHighlight(n)}}}this.q(a)},q:function(a){if(a.seriesViewer()!=null){var b=a.seriesViewer()._cn;if(!b.animationActive()&&b.intervalMilliseconds()>0){b.start()}if(b.intervalMilliseconds()==0){a.seriesViewer().oa(1)}}},applyHighlightingOpacity:function(a,b,c,d,e,f,g){if(a.actualHighlightingMode()==3||a.actualHighlightingMode()==2){return c}else if(a.actualHighlightingMode()==5||a.actualHighlightingMode()==4){var h=0;if(b!=null){h=b.progress()}if(h>1){h=1}if(d>1){d=1}if(e>1){e=1}h=h-Math.max(d,e);c=f+(1+h)*(1-f);return c}else{return c}},applyHighlightingColor:function(a,b,c){if(a.actualHighlightingMode()==3||a.actualHighlightingMode()==2){var d=0;if(b!=null){d=b.progress()}var e=d;e=e*.5;return this.s(c,e)}else if(a.actualHighlightingMode()==5||a.actualHighlightingMode()==4){return c}else{return c}},s:function(a,b){if(a==null){return a}if(b==0){return a}return $.ig.BrushUtil.prototype.l(a,b)},onMouseEnter:function(a,b,c,d,e){var f=a.view();f.am();this.mouseIsOver(true);var g=a.hq(c,b);this.lastHoverItem(g);if(!e&&a.seriesViewer()!=null&&!a._as._c){this.updateToolTip(a,b,g,d)}this.c=false;if(a.el()&&g==null){this.c=true}if(a.seriesViewer()!=null&&!this.c){if(a.el()){this.d=true}this.modifyHighlights(a,g,a.toWorldPosition(b),e,true,false,false,a==a.seriesViewer()._bk,false);a.seriesViewer().mn(a,g,d)}},simulateHover:function(a,b){var c=null;var d=null;var e;var f=function(){var g=a.seriesViewer()._cm.f(b,false,e,false);e=g.p2;return g.ret}();if(f!=a){if(this.mouseIsOver()){this.onMouseLeave(a,b,null,null,false)}if(a.seriesViewer()!=null){a.seriesViewer().n2(b)}return}c=e;if(a.seriesViewer()!=null){a.seriesViewer().n2(b)}if(!this.mouseIsOver()){this.onMouseEnter(a,b,c,d,false)}this.onMouseMove(a,b,c,d,false)},onMouseMove:function(a,b,c,d,e){this.mouseIsOver(true);var f=a.hq(c,b);if(!e){this.updateToolTip(a,b,f,d)}if(f!=null){this.lastHoverItem(f)}if(a.seriesViewer()!=null&&f!=null&&this.c){this.c=false;this.d=true;this.modifyHighlights(a,f,a.toWorldPosition(b),e,true,false,false,a==a.seriesViewer()._bk,false);a.seriesViewer().mn(a,f,d)}if(a.seriesViewer()!=null&&(!a.el()||f!=null)&&!this.c){this.modifyHighlights(a,f,a.toWorldPosition(b),e,true,false,false,a==a.seriesViewer()._bk,false);a.seriesViewer().mr(a,f,d)}if(f==null&&!this.c&&a.el()){this.modifyHighlights(a,f,a.toWorldPosition(b),e,false,true,false,a==a.seriesViewer()._bk,false);a.seriesViewer().mo(a,this.lastHoverItem(),d);this.d=false;this.c=true}},onMouseLeave:function(a,b,c,d,e){a.view().an();this.mouseIsOver(false);var f=this.lastHoverItem();a.view().ap();if(a.seriesViewer()!=null&&(this.d||!a.el())){this.d=false;this.c=false;this.modifyHighlights(a,f,a.toWorldPosition(b),e,false,true,false,a==a.seriesViewer()._bk,false);a.seriesViewer().mo(a,f,d)}},onLeftButtonDown:function(a,b,c,d){this._i=true;if(a.seriesViewer()!=null){a.seriesViewer().mp(a,a.hq(c,b),d)}},onMouseLeftButtonUp:function(a,b,c,d){this._i=false;if(a.seriesViewer()!=null){a.seriesViewer().mq(a,a.hq(c,b),d)}},onLostMouseCapture:function(a,b,c,d){if(a.view()._s){return}if(this._i){this.onMouseLeftButtonUp(a,b,c,d)}if(this.mouseIsOver()){this.onMouseLeave(a,b,c,d,false)}},onRightButtonDown:function(a,b,c,d){if(a.seriesViewer()!=null){a.seriesViewer().ms(a,a.hq(c,b),d)}},onRightButtonUp:function(a,b,c,d){if(a.seriesViewer()!=null){a.seriesViewer().mt(a,a.hq(c,b),d)}},_lastHoverItem:null,lastHoverItem:function(a){if(arguments.length===1){this._lastHoverItem=a;return a}else{return this._lastHoverItem}},_mouseIsOver:false,mouseIsOver:function(a){if(arguments.length===1){this._mouseIsOver=a;return a}else{return this._mouseIsOver}},_i:false,c:false,isMouseEnterDeferred:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},d:false,isMouseLeaveDeferred:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},e:false,f:false,updateToolTip:function(a,b,c,d){var e=false;if(a.seriesViewer()!=null){e=a.seriesViewer()._d3}if(e){return}if(a.seriesViewer()==null||a.seriesViewer().dragCrosshairActivated()){return}this._j=true;this._t=b;this._o=c;a.view()._d.item(c);a.view()._d.itemLabel(a.hm(c));var f=a.seriesViewer().getContainerOffsets();var pos_={__x:b.__x+15+f.__x,__y:b.__y+15+f.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var context_=a.view()._d;var g=false;if(this.__toolTipObject!=null){if(this.f||g){this.f=false;this.__toolTipObject.remove();this.__toolTipObject.setStyleProperty("position","absolute");this.__toolTipObject.addClass(a.seriesViewer().tooltipStyle());a.seriesViewer().addTooltipToView(this.__toolTipObject);this.__toolTipObject.hide()}if(this.e){a.seriesViewer().addTooltipToView(this.__toolTipObject);this.e=false}context_.hideOthers=true;if(this.__toolTipObject.updateToolTip&&!this.__toolTipObject.updateToolTip(context_)){a.view().ap()}var h=window.pageXOffset;var i=window.pageYOffset;var j=document.documentElement.clientWidth;var k=document.documentElement.clientHeight;var l=this.__toolTipObject.outerWidthWithMargin();var m=this.__toolTipObject.outerHeightWithMargin();var n=pos_.__x;var o=pos_.__y;var p=5;var q=30;if(l+n-h+p>j){pos_.__x-=q;pos_.__x-=l}if(m+o-i+p>k){pos_.__y-=q;pos_.__y-=m}this.__toolTipObject.setOffset(pos_.__x,pos_.__y)}},showToolTip:function(a,b,c){this._j=true;var d={__x:b.__x+a.view().bu().left(),__y:b.__y+a.view().bu().top(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var e=a.hq(null,d);if(a.view()._d!=null){a.view()._d.series(a);a.view()._d.item(e)}var tooltip_=this.__toolTipObject;var context_=a.view()._d;var f=false;if(context_!=null){context_.hideOthers=false}if((!this.f||f)&&tooltip_!=null){this.f=true;tooltip_.remove();tooltip_.setStyleProperty("position","relative");tooltip_.setStyleProperty("top","");tooltip_.setStyleProperty("left","");tooltip_.removeClass(a.seriesViewer().tooltipStyle())}if(this.__toolTipObject!=null){if(tooltip_.updateToolTip){tooltip_.updateToolTip(context_)}}if(tooltip_!=null){c(tooltip_)}},getDefaultTooltipTemplate:function(a){var b="<div class='ui-chart-default-tooltip-content'><span";var c=this.getDefaultTooltipTemplateLabelColorString(a);if(!String.isNullOrEmpty(c)){b+=" style='color:"+c+"'"}b+=">"+a.title()+"</span></div>";return b},h:function(a,b){var c=a!=null&&$$a.$ax.e($m($$a.$ax.$type,a.color()),$m($$a.$ax.$type,null));c=c&&a.color().l()>0;c=c&&$$a.$ax.d(a.color(),b);return!c},getDefaultTooltipTemplateLabelColorString:function(a){var b=new $$a.ax;var c=a!=null&&a.seriesViewer()!=null&&a.seriesViewer()._cm!=null&&a.seriesViewer()._cm._j!=null?a.seriesViewer()._cm._j._ae:null;c.startCSSQuery();b.colorString(c.getCssDefaultPropertyValue("ui-chart-pointer-tooltip","background-color"));c.endCSSQuery();if(!this.h(a.actualOutline(),b)){return a.actualOutline().__fill}if(!this.h(a.actualBrush(),b)){return a.actualBrush().__fill}return null},hideTooltip:function(a){if(this.__toolTipObject!=null&&this._j){this._j=false;var context_=a.view()._d;if(this.__toolTipObject.hideToolTip){this.__toolTipObject.hideToolTip(context_)}}},__toolTipObject:null,p:null,updateToolTipValue:function(a,b){var c=this.__toolTipObject;this.p=null;this.__toolTipObject=null;if(typeof b==="string"){this.p=b}else{this.__toolTipObject=b;if(this.__toolTipObject!=null){this.__toolTipObject.setStyleProperty("position","absolute");this.__toolTipObject.setStyleProperty("top","0px");this.__toolTipObject.setStyleProperty("left","0px");this.__toolTipObject.setStyleProperty("z-index","10000");this.__toolTipObject.setStyleProperty("pointer-events","none");var d=a.actualOutline()!=null&&$$a.$ax.e($m($$a.$ax.$type,a.actualOutline().color()),$m($$a.$ax.$type,null))&&a.actualOutline().color().l()>0;if(d){this.__toolTipObject.setStyleProperty("border-color",a.actualOutline().__fill)}}else{if(!this.e&&c!=null){a.seriesViewer().nt(c);this.e=true}}}},_t:null,_o:null,_j:false,removeToolTipFromCurrentParent:function(a){},k:null,alternateViews:function(){return this.k},ensureAlternateView:function(a,b,c,d,e){var $self=this;var f;if(!function(){var g=$self.k.tryGetValue(d,f);f=g.p1;return g.ret}()){f=a.bw();f.isThumbnailView(true);f.isAlternateView(true);if(a.seriesViewer()!=null){f._a=a.seriesViewer()._ak;a.seriesViewer()._ak.l(f)}f.onInit();f.alternateViewIdentifier(d);this.k.item(d,f)}f._v=e;f.bu(b);f._bt=c},removeAlternateView:function(a,b,c){var $self=this;var d;var e=c;if(e==null){e=a.seriesViewer()}if(function(){var f=$self.k.tryGetValue(b,d);d=f.p1;return f.ret}()){if(e!=null){d._a=null;e._ak.r(d)}this.k.remove(b)}},removeAllAlternateViews:function(a,b){var c=new $$4.x(String,0);var e=this.k.keys().getEnumerator();while(e.moveNext()){var d=e.current();c.add(d)}for(var f=0;f<c.count();f++){this.removeAlternateView(a,c.__inner[f],b)}},$type:new $.ig.Type("SeriesInteractionManager",$.ig.$ot,[$.ig.ISeriesInteractionManager.prototype.$type])},true);$c("SeriesViewerScrollbarManager:j","Object",{init:function(){this.i=false;this.x=$$t.$j.av;this.as=$$t.$j.a7;this.aa=$$t.$j.aw;this.af=$$t.$j.a0;this.ae=$$t.$j.az;this.h=true;this.an=$$t.$j.a3;this.w=$$t.$j.au;this.aj=$$t.$j.a1;this.ar=$$t.$j.a6;this.aq=$$t.$j.a5;this.m=true;this.bk=$$t.$j.bo;this.bm=$$t.$j.bq;this.bl=$$t.$j.bp;this.bn=$$t.$j.br;this.ao=$$t.$j.a4;this.ac=$$t.$j.ay;this.am=$$t.$j.a2;this.z=$$t.$j.ax;this.bv=$$a.$ae.empty();this.by=$$a.$ae.empty();this.g=false;this.b1=new $$a.b1;this.l=false;this.b2=new $$a.b1;this.f=false;this.a8=1e3;this.e=false;this.v=0;this.t=0;this.bu=new $$a.y(0);this.j=false;this.k=false;this.bs={__x:NaN,__y:NaN,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};this.u=10;$.ig.$op.init.call(this);this._b=0;this._c=0;this._a=1;this._d=2},i:false,isActive:function(){return this.i},_executionContext:null,executionContext:function(a){if(arguments.length===1){this._executionContext=a;return a}else{return this._executionContext}},_animator:null,animator:function(a){if(arguments.length===1){this._animator=a;return a}else{return this._animator}},_owner:null,owner:function(a){if(arguments.length===1){this._owner=a;return a}else{return this._owner}},_b:0,_c:0,_a:0,_d:0,onHorizontalScrollbarModeChanged:function(a){var b=this._b;this._b=a;switch(a){case 0:if(b!=0){this.hideHorizontalScrollbar()}this.i=false;break;case 1:this.i=true;break;case 2:this.i=true;break;case 3:this.i=true;break}},onVerticalScrollbarModeChanged:function(a){var b=this._c;this._c=a;switch(a){case 0:if(b!=0){this.hideVerticalScrollbar()}this.i=false;break;case 1:this.i=true;break;case 2:this.i=true;break;case 3:this.i=true;break}},hideVerticalScrollbar:function(){this.b2.__visibility=1},hideHorizontalScrollbar:function(){this.b1.__visibility=1},updateScrollbars:function(a,b,c,d,e){if(c.isEmpty()||e.isEmpty()){this.hideHorizontalScrollbar();this.hideVerticalScrollbar();return}if(b.equals1(c)&&d.equals1(e)){return}this.bc();this.bi(a,c,e);if(this._b==1||this._b==2||this._c==1||this._c==2){this.bb()}},bc:function(){this.v=0;if(this.animator().animationActive()){this.animator().stop()}this._s=$$0.$s.now()},x:0,as:0,aa:0,af:0,ae:0,h:false,an:0,w:0,aj:0,ar:0,aq:0,m:false,bk:null,bm:null,bl:null,bn:null,ao:0,ac:0,am:0,z:0,updateBarDimensions:function(a,b,c,d,e,f,g,h,i,j,k,l,m){var n=false;var o=$.ig.util.isNaN(b)?$$t.$j.av:b;var p=$.ig.util.isNaN(c)?$$t.$j.au:c;var q=$.ig.util.isNaN(d)?$$t.$j.aw:d;var r=$.ig.util.isNaN(f)?$$t.$j.a0:f;var s=$.ig.util.isNaN(g)?$$t.$j.az:g;var t=e;var u=$.ig.util.isNaN(h)?$$t.$j.a7:h;var v=$.ig.util.isNaN(i)?$$t.$j.a1:i;var w=$.ig.util.isNaN(j)?$$t.$j.a3:j;var x=$.ig.util.isNaN(l)?$$t.$j.a6:l;var y=$.ig.util.isNaN(m)?$$t.$j.a5:m;var z=k;if(o!=this.x){this.x=o;n=true}if(p!=this.w){this.w=p;n=true}if(q!=this.aa){this.aa=q;n=true}if(r!=this.af){this.af=r;n=true}if(s!=this.ae){this.ae=s;n=true}if(t!=this.h){this.h=t;n=true}if(u!=this.as){this.as=u;n=true}if(v!=this.aj){this.aj=v;n=true}if(w!=this.an){this.an=w;n=true}if(x!=this.ar){this.ar=x;n=true}if(y!=this.aq){this.aq=y;n=true}if(z!=this.m){this.m=z;n=true}if(n){this.bi(a,this.bv,this.by)}},updateBarAppearance:function(a,b,c,d,e,f,g,h,i){var j=false;var k=b==null?$$t.$j.bo:b;var l=d==null?$$t.$j.bp:d;var m=c==null?$$t.$j.bq:c;var n=e==null?$$t.$j.br:e;var o=$.ig.util.isNaN(f)?$$t.$j.ay:f;var p=$.ig.util.isNaN(g)?$$t.$j.a4:g;if(k!=this.bk){this.bk=k;j=true}if(m!=this.bm){this.bm=m;j=true}if(l!=this.bl){this.bl=l;j=true}if(n!=this.bn){this.bn=n;j=true}if(p!=this.ao){this.ao=p;j=true}if(p!=this.ao){this.ao=p;j=true}if(j){this.bi(a,this.bv,this.by)}},bv:null,by:null,ah:0,at:0,ap:0,ai:0,ak:0,y:0,ab:0,ag:0,al:0,ad:0,g:false,b1:null,l:false,b2:null,bw:null,bx:null,updateVerticalScrollbarPosition:function(a){switch(a){case 0:case 2:this._d=2;break;case 1:this._d=1;break}this.bi(this.owner(),this.bv,this.by)},updateHorizontalScrollbarPosition:function(a){switch(a){case 0:case 1:this._a=1;break;case 2:this._a=2;break}this.bi(this.owner(),this.bv,this.by)},bi:function(a,b,c){this.bv=b;this.by=c;if(b.isEmpty()||c.isEmpty()){this.hideHorizontalScrollbar();this.hideVerticalScrollbar();return}var d=c;var e=c;d=this.bz(a,d);if(d.isEmpty()){this.hideHorizontalScrollbar();this.hideVerticalScrollbar();return}this.bw=d;e=this.b0(a,e);if(e.isEmpty()){this.hideHorizontalScrollbar();this.hideVerticalScrollbar();return}this.bx=e;var f=b.top()*e.height()+e.top();var g=b.bottom()*e.height()+e.top();var h=b.left()*d.width()+d.left();var i=b.right()*d.width()+d.left();var j=g-f;var k=i-h;var l=Math.max(j,this.aj*2);var m=Math.max(k,this.w*2);var n=0;var o=0;if(m>k){n=(m-k)/2;h-=n;i+=n;k=m}this.ah=n;if(l>j){o=(l-j)/2;f-=o;g+=o;j=l}this.at=o;
this.ap=f;this.ai=g;this.ak=j;this.y=h;this.ab=i;this.ag=k;if(this._d==2){this.al=e.right()-(this.as+this.an)}else{this.al=e.left()+this.an}if(this._a==1){this.ad=d.bottom()-(this.x+this.aa)}else{this.ad=d.top()+this.aa}this.bj(a)},bz:function(a,b){var c=0;var d=0;if(this.h){switch(this._a){case 1:case 2:if(this._c!=0){if(this._d==2){d=this.as+this.an+1}if(this._d==1){c=this.as+this.an+1}}break}}var e=b.width()-(c+d);if(e<=0){return $$a.$ae.empty()}return new $$a.ae(0,b.left()+c,b.top(),e,b.height())},b0:function(a,b){var c=0;var d=0;if(this.m){switch(this._d){case 1:case 2:if(this._b!=0){if(this._a==1){d=this.x+this.aa+1}if(this._a==2){c=this.x+this.aa+1}}break}}var e=b.height()-(c+d);if(e<=0){return $$a.$ae.empty()}return new $$a.ae(0,b.left(),b.top()+c,b.width(),e)},_s:new Date,bj:function(a){if(a==null){return}var b=1;var c=1;if(this._b==1){b=this.z-this.z*this.v}else{b=this.z}if(this._c==1){c=this.am-this.am*this.v}else{c=this.am}var d=this.ad;var e=this.x;if(this._b==2){if(this.v!=0){if(this._a==1){d=this.ad+(this.x+this.aa-3)*this.v;e=this.x-(this.x-3)*this.v}if(this._a==2){d=this.ad;e=this.x-(this.x-3)*this.v}}}var f=this.al;var g=this.as;if(this._c==2){if(this.v!=0){if(this._d==2){f=this.al+(this.as+this.an-3)*this.v;g=this.as-(this.as-3)*this.v}if(this._d==1){f=this.al;g=this.as-(this.as-3)*this.v}}}var h=this.b1;h.__visibility=this._b!=0?0:1;h.width(this.ag);h.height(e);h._ac=this.ac;h.__fill=this.bk;h.__stroke=this.bl;h.am(this.w);h.an(this.w);h.__opacity=b;var i=this.b2;i.__visibility=this._c!=0?0:1;i.width(g);i.height(this.ak);i._ac=this.ao;i.__fill=this.bm;i.__stroke=this.bn;i.am(this.aj);i.an(this.aj);i.__opacity=c;h._n=this.y;h._o=d;i._n=f;i._o=this.ap;if(!this.g){this.g=true;a._cm.b6(h)}if(!this.l){this.l=true;a._cm.b9(i)}a._cm.ensureScrollbarsRendered()},f:false,a8:0,bb:function(){if(!this.f){this.f=true;this.executionContext().executeDelayed(this.ba.runOn(this),this.a8)}},ba:function(){if($$0.$s.now()-this._s>$.ig.util.timeSpanFromMilliseconds(300)){this.f=false;this.bh()}else{this.executionContext().executeDelayed(this.ba.runOn(this),$.ig.truncate($.ig.util.timeSpanTotalMilliseconds($$0.$s.now()-this._s)))}},e:false,v:0,t:0,bh:function(){if(this.q(this.bs)||this.r(this.bs)){return}if(!this.e){this.e=true;var a=this.animator();a.propertyChanged=$.ig.Delegate.prototype.combine(a.propertyChanged,this.a9.runOn(this))}if(this.v!=1){this.t=this.v;this.animator().stop();this.animator().start()}},a9:function(a,b){this.v=(1-this.t)*this.animator().transitionProgress();this.bj(this.owner())},bu:null,j:false,k:false,shouldHandleInteraction:function(a,b){var c={__x:a.__x+this.by.left(),__y:a.__y+this.by.top(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};if(this._b!=0){if(this.o(c,b)){this.j=true;this.k=true;this.bu={__x:c.__x,__y:c.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};this.bt={__x:c.__x,__y:c.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};return true}}if(this._c!=0){if(this.p(c,b)){this.j=true;this.k=false;this.bu={__x:c.__x,__y:c.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};this.bt={__x:c.__x,__y:c.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};return true}}return false},bs:null,onCrosshairMoved:function(a){this.bs={__x:a.__x,__y:a.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};if(this.q(a)||this.r(a)){this.bc();this.bj(this.owner())}else{this.bb()}},u:0,p:function(a,b){if(this._c==0){return false}var c=this.u;if(!b){c=0}var d=Math.abs(a.__x-this.al)<c||Math.abs(a.__y-(this.al+this.as))<c||a.__x>=this.al&&a.__x<=this.al+this.as;var e=Math.abs(a.__y-this.ap)<c||Math.abs(a.__y-(this.ap+this.ak))<c||a.__y>=this.ap&&a.__y<=this.ap+this.ak;return d&&e},o:function(a,b){if(this._b==0){return false}var c=this.u;if(!b){c=0}var d=Math.abs(a.__x-this.y)<c||Math.abs(a.__y-(this.y+this.ag))<c||a.__x>=this.y&&a.__x<=this.y+this.ag;var e=Math.abs(a.__y-this.ad)<c||Math.abs(a.__y-(this.ad+this.x))<c||a.__y>=this.ad&&a.__y<=this.ad+this.x;return e&&d},r:function(a){if(this._c==0){return false}var b=Math.abs(a.__x-this.al)<this.u||Math.abs(a.__y-(this.al+this.as))<this.u||a.__x>=this.al&&a.__x<=this.al+this.as;return b},q:function(a){if(this._b==0){return false}var b=Math.abs(a.__y-this.ad)<this.u||Math.abs(a.__y-(this.ad+this.x))<this.u||a.__y>=this.ad&&a.__y<=this.ad+this.x;return b},bt:null,onScrollbarDrag:function(a,b){var c={__x:a.__x+this.by.left(),__y:a.__y+this.by.top(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var d=c.__x-this.bt.__x;var e=c.__y-this.bt.__y;this.bt={__x:c.__x,__y:c.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};if(this.k){this.bf(d)}else{this.bg(e)}},bg:function(a){var b=this.bx;var c=this.at*2;var d=b.height()-c;var e=a/d;var f=this.owner().actualWindowRect();var g=new $$a.ae(0,f.left(),f.top()+e,f.width(),f.height());this.owner().windowRect(g)},bf:function(a){var b=this.bw;var c=this.ah*2;var d=b.width()-c;var e=a/d;var f=this.owner().actualWindowRect();var g=new $$a.ae(0,f.left()+e,f.top(),f.width(),f.height());this.owner().windowRect(g)},onScrollbarDragComplete:function(a,b){this.j=false},onScrollbarDragCancel:function(){this.j=false},$type:new $.ig.Type("SeriesViewerScrollbarManager",$.ig.$ot,[$.ig.ISeriesViewerScrollbarManager.prototype.$type])},true);$c("VerticalAnchoredCategorySeriesInteractionManager:k","Object",{init:function(){$.ig.$op.init.call(this)},getExactItemIndex:function(a,b){var c=a.seriesViewer()!=null?a.seriesViewer().actualWindowRect():$$a.$ae.empty();var d=a.view().bu();var e=a.pg(a.view());var f=a.getEffectiveViewport1(a.view());var g=a.ar();var h=-1;if(g!=null&&!c.isEmpty()&&!d.isEmpty()){var i=new $.ig.ScalerParams(0,c,d,g.isInverted(),f);var j=g.getUnscaledValue(e.top(),i);var k=g.getUnscaledValue(e.bottom(),i);var l=(b.__y-c.top())/c.height();var m=j+l*(k-j);if(g.categoryMode()!=0){m-=.5}h=m}return h},getSeriesValueMarkerBoundingBox:function(a,b,c,d){if(b==null||b.count()==0){return $$a.$ae.empty()}var e=a.fromWorldPosition(c);var f=-1;var g=a.ar().isInverted();var h=a.view().bu().bottom()*2;if(g){f=$.ig.ArrayUtil.prototype.c($$a.$y.$type,b,function(i){return h-e.__y<h-i.__y?-1:h-e.__y>h-i.__y?1:0})}else{f=$.ig.ArrayUtil.prototype.c($$a.$y.$type,b,function(i){return e.__y<i.__y?-1:e.__y>i.__y?1:0})}if(f<0){f=~f}if(f<0){f=0}if(f>b.count()-1){f=b.count()-1}var i=f;var j=f;if(i>0){i--}if(j<b.count()-1){j++}var k=b.__inner[i].__y;var l=b.__inner[f].__y;var m=b.__inner[j].__y;var n=Math.abs(k-e.__y);var o=Math.abs(l-e.__y);var p=Math.abs(m-e.__y);var q=d(i);var r=d(f);var s=d(j);var t=q.containsPoint(e);var u=r.containsPoint(e);var v=s.containsPoint(e);if(o<=n&&o<=p){if(!g&&v){return s}if(g&&t){return q}return r}if(n<=o&&n<=p){if(!g&&u){return r}return d(i)}if(p<=o&&p<=n){if(g&&u){return r}return d(j)}return $$a.$ae.empty()},$type:new $.ig.Type("VerticalAnchoredCategorySeriesInteractionManager",$.ig.$ot,[$.ig.IVerticalAnchoredCategorySeriesInteractionManager.prototype.$type])},true);$$t.$h.a=false;$$t.$j.av=$.ig.DeviceUtils.prototype.g(8);$$t.$j.a7=$.ig.DeviceUtils.prototype.g(8);$$t.$j.aw=$.ig.DeviceUtils.prototype.g(1);$$t.$j.a0=$.ig.DeviceUtils.prototype.g(0);$$t.$j.az=$.ig.DeviceUtils.prototype.g(0);$$t.$j.a3=$.ig.DeviceUtils.prototype.g(1);$$t.$j.au=$.ig.DeviceUtils.prototype.g(4);$$t.$j.a1=$.ig.DeviceUtils.prototype.g(4);$$t.$j.a6=$.ig.DeviceUtils.prototype.g(0);$$t.$j.a5=$.ig.DeviceUtils.prototype.g(0);$$t.$j.bo=$.ig.BrushUtil.prototype.g(255,120,120,120);$$t.$j.bq=$.ig.BrushUtil.prototype.g(255,120,120,120);$$t.$j.bp=$.ig.BrushUtil.prototype.g(255,120,120,120);$$t.$j.br=$.ig.BrushUtil.prototype.g(255,120,120,120);$$t.$j.a4=$.ig.DeviceUtils.prototype.g(1);$$t.$j.ay=$.ig.DeviceUtils.prototype.g(1);$$t.$j.a2=$.ig.DeviceUtils.prototype.g(.9);$$t.$j.ax=$.ig.DeviceUtils.prototype.g(.9)});