/*!@license * Infragistics.Web.ClientUI infragistics.radialgauge.js 19.1.20191.172 * * Copyright (c) 2011-2019 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.dv_interactivity.js * infragistics.dv_visualdata.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.dv_interactivity","./infragistics.dv_visualdata","./infragistics.ext_ui"],factory)}else{factory(igRoot)}})(function($){$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$a7=$$t;$$0=$.ig.globalDefs.$$0;$$4=$.ig.globalDefs.$$4;$$1=$.ig.globalDefs.$$1;$$w=$.ig.globalDefs.$$w;$$r=$.ig.globalDefs.$$r;$$al=$.ig.globalDefs.$$al;$$ap=$.ig.globalDefs.$$ap;$$6=$.ig.globalDefs.$$6;$$a=$.ig.globalDefs.$$a;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["XamRadialGaugeView:b","XamRadialGauge:o","FormatRadialGaugeLabelHandler:q","AlignRadialGaugeLabelHandler:s"]);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,$aa=$.ig.util.equalsSimple,$ab=$.ig.util.tryParseInt32_1,$ac=$.ig.util.tryParseInt32_2,$ad=$.ig.util.intToString1,$ae=$.ig.util.parseInt32_1,$af=$.ig.util.parseInt32_2;$d("RadialGaugePivotShape:g",false,false,{None:0,Circle:1,CircleWithHole:2,CircleOverlay:3,CircleOverlayWithHole:4,CircleUnderlay:5,CircleUnderlayWithHole:6});$d("RadialGaugeNeedleShape:f",false,false,{None:0,Rectangle:1,Triangle:2,Needle:3,Trapezoid:4,RectangleWithBulb:5,TriangleWithBulb:6,NeedleWithBulb:7,TrapezoidWithBulb:8});$d("RadialGaugeScaleOversweepShape:e",false,false,{Auto:0,Circular:1,Fitted:2});$d("RadialGaugeBackingShape:d",false,false,{Circular:0,Fitted:1});$d("RadialGaugeDuplicateLabelOmissionStrategy:c",false,false,{OmitLast:0,OmitFirst:1,OmitNeither:2,OmitBoth:3});$c("MorphSegment:a","Object",{init:function(){$.ig.$op.init.call(this);this.f=new $$4.x($$a.$y.$type,0);this.g=new $$4.x($$a.$y.$type,0)},f:null,g:null,b:false,h:0,e:false,a:false,d:false,c:false,i:function(a){this.g.clear();var b=20;if(this.b){var c;var d;var e;if(this.f.count()==0){d={__x:0,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};e={__x:0,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}else{d=this.f.__inner[0];e=this.f.__inner[1]}var f=$.ig.GeometryUtil.prototype.l(d,e,this.h,!this.c,this.d);var g=$.ig.GeometryUtil.prototype.e(f,d);var h=$.ig.GeometryUtil.prototype.e(f,e);while(this.c&&hg){h-=Math.PI*2}var i=0;for(var j=0;j1){var k=new $$a.bh;g=k;var l=h.__inner[1];k._e={__x:d+c*l.__x,__y:e+c*l.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};k._b=f.d;k._d=f.c?1:0;k._f=new $$a.af(1,f.h*c,f.h*c);a=k._e}}else{var m=new $$a.bg;g=m;if(i>1){var n;var o=m.__points;for(var p=1;p0?$$0.$aw.parseInt(d[0]):0;if(d.length!=2){return e}c=d[1].length;var f=$$0.$aw.parseInt(d[1]);while(c-- >0){f/=10}return f+e},l:false,au:function(){this.l=true;this._h.needleBrush(function(){var $ret=new $$a.at;$ret.fill("#CED3D8");return $ret}());this._h.needleOutline(function(){var $ret=new $$a.at;$ret.fill("#B2B9C0");return $ret}());this._h.tickBrush(function(){var $ret=new $$a.at;$ret.fill("#617583");return $ret}());this._h.scaleBrush(function(){var $ret=new $$a.at;$ret.fill("#FFC73C");return $ret}());this._h.backingBrush(function(){var $ret=new $$a.at;$ret.fill("#EBEDEF");return $ret}());this._h.backingOutline(function(){var $ret=new $$a.at;$ret.fill("#B2B9C0");return $ret}());this._h.needlePivotBrush(function(){var $ret=new $$a.at;$ret.fill("#CED3D8");return $ret}());this._h.needlePivotOutline(function(){var $ret=new $$a.at;$ret.fill("#B2B9C0");return $ret}());this._h.minorTickBrush(function(){var $ret=new $$a.at;$ret.fill("rgba(100,107,114,.74)");return $ret}());this.l=false;this.an()},z:null,an:function(){var $self=this;if(this.z==null){this.z=function(a){var b=$self._h.pixelScalingRatio();var c=$self._h.actualPixelScalingRatio();if(!$.ig.util.isNaN(b)&&b!=0){return}if(window.devicePixelRatio!=window.undefined&&window.devicePixelRatio!=c){$self._h.actualPixelScalingRatio(window.devicePixelRatio)}};window.addEventListener("resize",this.z,false)}this.z(null)},m:false,a6:function(){if(!this.m){this.m=true;if(this._aa!=null){this._aa.setTimeout(this.ae.runOn(this),0)}else{window.setTimeout(this.ae.runOn(this),0)}}},ae:function(){if(this.m){this.m=false;this._h.fj()}},flush:function(){if(this.m){this.ae()}},a1:function(a,b,c){a._n=b;a._o=c},_g:null,_ab:null,_k:null,_aa:null,i:null,be:null,as:function(a){var $self=this;if(a==null){this._ab=null;this._aa=null;this._k=null;this.ag();if(this.z!=null){window.removeEventListener("resize",this.z,false);this.z=null}return}this.u=$.ig.util.isNaN(this._h.pixelScalingRatio())?this._h.actualPixelScalingRatio():this._h.pixelScalingRatio();var b=a;this._aa=b;this._h._aw.provideRenderer(this._aa);this._aa.rootWrapper().addClass("ui-radialgauge-container");var c=this.u;var d=Math.round(b.rootWrapper().width());var e=Math.round(b.rootWrapper().height());var f=d*c;var g=e*c;this._aa.rootWrapper().setStyleProperty("position","relative");var h=this._aa.createElement("canvas");h.setStyleProperty("position","absolute");this._aa.append(h);this.ad=$.ig.truncate(Math.round(f));this.ac=$.ig.truncate(Math.round(g));h.setAttribute("width",f.toString());h.setAttribute("height",g.toString());h.setStyleProperty("width",d.toString()+"px");h.setStyleProperty("height",e.toString()+"px");this._h.ia(new $$a.ae(0,0,0,d,e));this._ab=h;var i=this._aa.get2DCanvasContext(this._ab);this._k=new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,i);this.am();this.bc();this._k.ac(this.i);this.ag();this._g=new $.ig.CanvasGestureDOMEventProxy(this._aa.rootWrapper(),this._aa,false);if(this._g!=null){var j=this._g;j.onContactStarted=$.ig.Delegate.prototype.combine(j.onContactStarted,this.aj.runOn(this));var k=this._g;k.onContactMoved=$.ig.Delegate.prototype.combine(k.onContactMoved,this.ai.runOn(this));var l=this._g;l.onContactCompleted=$.ig.Delegate.prototype.combine(l.onContactCompleted,this.ah.runOn(this));this._g._ai=function(m){return $self._h.isNeedleDraggingEnabled()&&($self._h._a6||$self._h.needleContainsPoint(m))}}this.a5()},ah:function(a,b){if(this._h!=null){this._h.onMouseUp(a)}},ai:function(a,b){if(this._h!=null){this._h.onMouseMove(a,b)}},aj:function(a,b){if(this._h!=null){this._h.onMouseDown(a,false)}},ag:function(){if(this._g!=null){var a=this._g;a.onContactStarted=$.ig.Delegate.prototype.remove(a.onContactStarted,this.aj.runOn(this));var b=this._g;b.onContactMoved=$.ig.Delegate.prototype.remove(b.onContactMoved,this.ai.runOn(this));var c=this._g;c.onContactCompleted=$.ig.Delegate.prototype.remove(c.onContactCompleted,this.ah.runOn(this));this._g._ai=null;this._g.an()}},a8:function(a,b){if(b!=null){a._am=b}else{a._am=this.bf}},a9:function(){this.am();this.bc();this.a6()},bc:function(){this.i=$.ig.FontUtil.prototype.getFont(this._aa);if(this._h.font()!=null){this.i=this._h.az()}this.t=this.v(this.i);this.be=new $$a.at;this.be.__fill=this._aa.rootWrapper().getStyleProperty("color");if(this._k!=null){this._k.ac(this.i)}},af:function(){this.a5()},bf:null,a5:function(){var a=this._h.ia().width();var b=this._h.ia().height();var c=Math.round(a*this.u);var d=Math.round(b*this.u);if(this.ad!=c||this.ac!=d){this._ab.setAttribute("width",c.toString());this._ab.setAttribute("height",d.toString());this._ab.setStyleProperty("width",a.toString()+"px");this._ab.setStyleProperty("height",b.toString()+"px");this.ad=$.ig.truncate(Math.round(c));this.ac=$.ig.truncate(Math.round(d))}if(this._k.d()&&this.u!=1){this._k.z();this._k.aa(this.u,this.u)}this._k.k(this._h.ia().left(),this._h.ia().top(),this._h.ia().width(),this._h.ia().height());this._k.s(this.bp);this._k.s(this.bs);if(this.p!=null){for(var e=0;e0||this._r.f.count()>0){f=this._q.l(f,g,a,b,c);f=this._r.l(f,g,a,b,c);g.__isClosed=true;d._b.add(g)}return d},an:function(a,b,c){var d=new $$a.a7;var e={__x:NaN,__y:NaN,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var f=new $$a.a8;if(this._m.f.count()>0||this._p.f.count()>0){e=this._m.l(e,f,a,b,c);e=this._p.l(e,f,a,b,c);f.__isClosed=true;d._b.add(f)}var g=new $$a.a8;if(this._n.f.count()>0||this._o.f.count()>0){e=this._n.l(e,g,a,b,c);e=this._o.l(e,g,a,b,c);g.__isClosed=true;d._b.add(g)}return d},al:function(a,b,c){var d=new $$a.a7;var e={__x:NaN,__y:NaN,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var f=new $$a.a8;if(this._i.f.count()>0||this._l.f.count()>0){e=this._i.l(e,f,a,b,c);e=this._l.l(e,f,a,b,c);f.__isClosed=true;d._b.add(f)}var g=new $$a.a8;if(this._j.f.count()>0||this._k.f.count()>0){e=this._j.l(e,g,a,b,c);e=this._k.l(e,g,a,b,c);g.__isClosed=true;d._b.add(g)}return d},$type:new $.ig.Type("RadialGaugeNeedleFrame",$.ig.$ot)},true);$c("RadialGaugeRangeFrame:j","Object",{init:function(){$.ig.$op.init.call(this)},f:0,g:0,e:0,b:0,c:0,d:0,k:null,l:null,h:0,a:function(a,b,c,d){var e=new $$t.j;e.k=$.ig.BrushUtil.prototype.g(c.k,a,d.k,0);e.l=$.ig.BrushUtil.prototype.g(c.l,a,d.l,0);e.h=b*c.h+a*d.h;e.f=b*c.f+a*d.f;e.g=b*c.g+a*d.g;e.e=b*c.e+a*d.e;e.b=b*c.b+a*d.b;e.c=b*c.c+a*d.c;e.d=b*c.d+a*d.d;return e},m:function(a,b,c){var d=new $$a.a7;var e=new $$a.a8;var f=4;var g=1/a;var h=false;if(Math.abs(this.g-this.d)=2*Math.PI){j=true}if(i&&h&&j){var k=this.i(0,Math.PI,this.g,a,b,c,true);e.__startPoint=k._c;var l=this.i(Math.PI,0,this.g,a,b,c,true);var m=new $$a.a8;var n=this.i(0,Math.PI,this.f,a,b,c,false);m.__startPoint=n._c;var o=this.i(Math.PI,0,this.f,a,b,c,false);e.__segments.add(k._d);e.__segments.add(l._d);m.__segments.add(n._d);m.__segments.add(o._d);d._b.add(e);d._b.add(m);return d}var p=null;if(h){var q=this.i(this.e,this.b,Math.max(0,this.g),a,b,c,true);e.__startPoint=q._c;p=q._d}else{var r=this.j(this.e,this.b,this.g,this.d,a,b,c,true,f);e.__startPoint=r._c;p=r._d}var s=null;var t=new $$a.bd(1);if(i){var u=this.i(this.e,this.b,Math.max(0,this.f),a,b,c,false);s=u._d;t.c(u._c)}else{var v=this.j(this.e,this.b,this.f,this.c,a,b,c,false,f);s=v._d;t.c(v._c)}e.__segments.add(p);e.__segments.add(t);e.__segments.add(s);e.__isFilled=true;e.__isClosed=true;d._b.add(e);return d},j:function(a,b,c,d,e,f,g,h,i){var j=new $$a.bg;var k=e*c;var l=e*d;var m=Math.max(k,l);var n=m+m;var o=Math.asin(i/n)*2;var p;var q;var r;var s=l-k;var t=Math.abs(b-a);var u=j.__points;if(h){var v;for(v=a;va;w-=o){r=(w-b)/t;q=l+r*s;p={__x:f+Math.cos(w)*q,__y:g+Math.sin(w)*q,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};u.add(p)}w=a;r=(w-b)/t;q=l+r*s;p={__x:f+Math.cos(w)*q,__y:g+Math.sin(w)*q,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};u.add(p)}return new $$6.u($$a.$y.$type,$$a.$bb.$type,u.__inner[0],j)},i:function(a,b,c,d,e,f,g){var h=c*d;var i=new $$a.bh;i._d=g?1:0;i._b=b-a>Math.PI;i._f=new $$a.af(1,h,h);var j=g?b:a;var k=g?a:b;i._e={__x:e+Math.cos(j)*h,__y:f+Math.sin(j)*h,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var l={__x:e+Math.cos(k)*h,__y:f+Math.sin(k)*h,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};return new $$6.u($$a.$y.$type,$$a.$bb.$type,l,i)},$type:new $.ig.Type("RadialGaugeRangeFrame",$.ig.$ot)},true);$c("BackingFrame:k","Object",{init:function(){$.ig.$op.init.call(this)},_l:null,_m:null,_h:0,_g:0,_c:0,_f:0,_e:0,_d:0,_b:0,k:function(a,b,c){this._h=b._h+(c._h-b._h)*a;this._l=$.ig.BrushUtil.prototype.g(b._l,a,c._l,0);this._m=$.ig.BrushUtil.prototype.g(b._m,a,c._m,0);this._g=b._g+(c._g-b._g)*a;this._c=b._c+(c._c-b._c)*a;this._e=b._e+(c._e-b._e)*a;this._d=b._d+(c._d-b._d)*a;this._b=b._b+(c._b-b._b)*a;this._f=b._f+(c._f-b._f)*a},i:function(a,b,c,d){var $self=this;a.__startPoint={__x:b*this._e+c,__y:0+d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var e=function(){var $ret=new $$a.bh;$ret._e={__x:-1*b*$self._e+c,__y:0+d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};$ret._b=false;$ret._d=1;$ret._f=new $$a.af(1,b*$self._e,b*$self._e);return $ret}();var f=function(){var $ret=new $$a.bh;$ret._e={__x:b*$self._e+c,__y:0+d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};$ret._b=false;$ret._d=1;$ret._f=new $$a.af(1,b*$self._e,b*$self._e);return $ret}();a.__segments.add(e);a.__segments.add(f);a.__isClosed=true},n:function(a,b,c){var d=new $$a.a7;var e=new $$a.a8;if(this._g==this._c){this.i(e,a,b,c)}else{var f=this._e;var g=this._d;var h=this._g;var i=this._c;var j=this._f;var k=h;var l=i;h-=j;i+=j;if(i-h>2*Math.PI){this.i(e,a,b,c)}else{this.j(e,a,b,c)}}e.__isClosed=true;d._b.add(e);return d},a:function(a,b){return Math.abs(a-b)<1e-5},j:function(a,b,c,d){var e=this._e;var f=this._d;var g=this._g;var h=this._c;var i=this._f;var j=g;var k=h;g-=i;h+=i;var l=Math.sin(g);var m=Math.cos(g);var n=Math.sin(h);var o=Math.cos(h);var p=this._b;var q=b*e;var r=b*f;if(p*2>q-r){p=(q-r)/2}var s=p/(b-p);var t=Math.atan(s);var u=q-p;var v=r+p;var w=Math.sin(g-t);var x=Math.sin(g+t);var y=Math.cos(g-t);var z=Math.cos(g+t);var aa=Math.sin(h-t);var ab=Math.sin(h+t);var ac=Math.cos(h-t);var ad=Math.cos(h+t);var ae=Math.sin(j);var af=Math.sin(k);var ag=Math.cos(j);var ah=Math.cos(k);a.__startPoint={__x:m*u+c,__y:l*u+d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var ai=function(){var $ret=new $$a.bh;$ret._e={__x:z*q+c,__y:x*q+d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};$ret._b=t*2>Math.PI;$ret._d=1;$ret._f=new $$a.af(1,p,p);return $ret}();var aj=function(){var $ret=new $$a.bh;$ret._e={__x:ac*q+c,__y:aa*q+d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};$ret._b=h-t-(g+t)>Math.PI;$ret._d=1;$ret._f=new $$a.af(1,q,q);return $ret}();var ak=function(){var $ret=new $$a.bh;$ret._e={__x:o*u+c,__y:n*u+d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};$ret._b=t*2>Math.PI;$ret._d=1;$ret._f=new $$a.af(1,p,p);return $ret}();var al={__x:ah*q+c,__y:af*q+d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var am={__x:ah*r+c,__y:af*r+d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var an={__x:o*q+c,__y:n*q+d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var ao={__x:o*r+c,__y:n*r+d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var ap=an.__y;var aq=an.__x;if(al.__x-am.__x!=0){aq=c;var ar=(al.__y-am.__y)/(al.__x-am.__x);ap=ar*(c-an.__x)+an.__y}ao={__x:c,__y:ap,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};if(this.a(ao.__x,an.__x)&&this.a(ao.__y,an.__y)){ao=am}var as=$.ig.GeometryUtil.prototype.i(ao,an,{__x:c,__y:d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},r);var at={__x:ag*q+c,__y:ae*q+d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var au={__x:ag*r+c,__y:ae*r+d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var av={__x:m*q+c,__y:l*q+d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var aw={__x:m*r+c,__y:l*r+d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var ax=av.__y;var ay=av.__x;if(at.__x-au.__x!=0){ay=c;var az=(at.__y-au.__y)/(at.__x-au.__x);ax=az*(c-av.__x)+av.__y}aw={__x:ay,__y:ax,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};if(this.a(aw.__x,av.__x)&&this.a(aw.__y,av.__y)){aw=au}var a0=$.ig.GeometryUtil.prototype.i(aw,av,{__x:c,__y:d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},r);if($.ig.util.isNaN(as._c.__x)||$.ig.util.isNaN(as._c.__y)||$.ig.util.isNaN(as._d.__x)||$.ig.util.isNaN(as._d.__y)||$.ig.util.isNaN(a0._c.__x)||$.ig.util.isNaN(a0._c.__y)||$.ig.util.isNaN(a0._d.__x)||$.ig.util.isNaN(a0._d.__y)){a.__startPoint={__x:m*q+c,__y:l*q+d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};a.__segments.add(aj);var a1=function(){var $ret=new $$a.bd(1);$ret.c({__x:m*q+c,__y:l*q+d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}();a.__segments.add(a1)}else{var a2;var a3;if(Math.pow(as._c.__x-an.__x,2)+Math.pow(as._c.__y-an.__y,2)Math.PI;$ret._d=1;$ret._f=new $$a.af(1,r,r);return $ret}();a.__segments.add(a8);var a9=function(){var $ret=new $$a.bd(1);$ret.c({__x:m*u+c,__y:l*u+d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}();a.__segments.add(a9)}}},$type:new $.ig.Type("BackingFrame",$.ig.$ot)},true);$c("RadialGaugeScaleFrame:l","Object",{init:function(){$.ig.$op.init.call(this);this._k=new $$4.x($$t.$j.$type,0);this._j=new Array(0);this._i=new Array(0);this._c=new Array(0);this._e=new Array(0);this._f=new Array(0);this._d=new Array(0);this._g=new Array(0);this._h=new Array(0)},_j:null,_i:null,_c:null,_e:null,_f:null,_d:null,_g:null,_h:null,_t:0,_q:0,_l:0,_v:0,_u:0,_n:0,_m:0,_s:0,_p:0,_ac:null,_w:0,_o:0,_aa:null,_ab:null,_z:null,_r:0,_k:null,a:function(a,b,c,d){var e=Math.max(c.length,d.length); var f=Math.min(c.length,d.length);if(b.length!=e){b=new Array(e)}var g=0;if(c.length>0){g=c[c.length-1]}var h=0;if(d.length>0){h=d[d.length-1]}var i=c.length>d.length;var j=0;for(j=0;j0){g=c[c.length-1]}var h=null;if(d.length>0){h=d[d.length-1]}var i=c.length>d.length;var j=0;for(j=0;jx){var ae=w;w=x;x=ae;ae=y;y=z;z=ae}}}if(aa){var af=$.ig.GeometryUtil.prototype.i({__x:m,__y:i,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},{__x:p,__y:k,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},{__x:0,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},t);if($.ig.util.isNaN(af._c.__x)||$.ig.util.isNaN(af._c.__y)||$.ig.util.isNaN(af._d.__x)||$.ig.util.isNaN(af._d.__y)||h){aa=true}else{aa=false}}if(m>x||n=w){ag=true}if(h&&n<=x){ah=true}if($.ig.util.isNaN(o)||o>w){o=w}if(pw){ai=false}var al=o;var am=i;var an=o;var ao=i;var ap=w;var aq=x;var ar=y;var as=z;var at=w;var au=x;var av=y;var aw=z;if(ai){var ax=$.ig.GeometryUtil.prototype.i({__x:m,__y:i,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},{__x:p,__y:k,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},{__x:o,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},q);if(!$.ig.util.isNaN(ax._c.__x)&&!$.ig.util.isNaN(ax._c.__y)&&!$.ig.util.isNaN(ax._d.__x)&&!$.ig.util.isNaN(ax._d.__y)){ai=true;al=ax._c.__x;am=ax._c.__y;an=ax._d.__x;ao=ax._d.__y;if(al>an){var ay=al;al=an;an=ay;ay=am;am=ao;ao=ay}}else{ai=false}}if(ag){ai=false}if(ai&&m>=al){ag=true;aj=q;ap=al;ar=am;aq=an;as=ao}if(ai&&n<=an){ah=true;ak=q;ak=q;at=al;av=am;au=an;aw=ao}var az=m;var a0=a._a;var a1=a0.f;var a2=i;if(ag){az=ap;a0.b=true;a0.d=false;a0.c=false;a0.h=aj;o=ap;m=ap;a2=ar;i=ar;h=false}if(ah){p=au;n=au;h=false}var a3=ag||ah||h;a1.add({__x:az,__y:-1*a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a1.add({__x:az,__y:a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a0=a._d;a1=a0.f;a1.add({__x:az,__y:a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});az=al;a2=this.c(m,i,p,k,az);a1.add({__x:az,__y:a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a0=a._b;a1=a0.f;if(ai){a0.b=true;a0.d=false;a0.c=false;a0.h=q}a1.add({__x:az,__y:a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});az=an;a2=this.c(m,i,p,k,az);a1.add({__x:az,__y:a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a0=a._t;a1=a0.f;a1.add({__x:az,__y:a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});az=w;a2=this.c(m,i,p,k,az);a1.add({__x:az,__y:a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a0=a._e;a1=a0.f;if(a3){a0.b=true;a0.d=false;a0.c=false;a0.h=l}a1.add({__x:az,__y:a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});az=x;a2=this.c(m,i,p,k,az);a1.add({__x:az,__y:a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a0=a._f;a1=a0.f;a1.add({__x:az,__y:a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});az=p;a2=this.c(m,i,p,k,az);a1.add({__x:az,__y:a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a0=a._x;a1=a0.f;a1.add({__x:az,__y:a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a1.add({__x:az,__y:a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a0=a._v;a1=a0.f;a1.add({__x:az,__y:a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});az=n;a2=this.c(p,k,n,j,az);a1.add({__x:az,__y:a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a0=a._w;a1=a0.f;if(ah){az=au;a0.b=true;a0.d=false;a0.c=false;a0.h=ak}a1.add({__x:az,__y:a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a1.add({__x:az,__y:-1*a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a0=a._z;a1=a0.f;a1.add({__x:az,__y:-1*a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});az=p;a2=this.c(m,i,p,k,az);a1.add({__x:az,__y:-1*a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a0=a._y;a1=a0.f;a1.add({__x:az,__y:-1*a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a1.add({__x:az,__y:-1*a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a0=a._u;a1=a0.f;a1.add({__x:az,__y:-1*a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});az=x;a2=this.c(m,i,p,k,az);a1.add({__x:az,__y:-1*a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a0=a._h;a1=a0.f;if(a3){a0.b=true;a0.d=false;a0.c=false;a0.h=l}a1.add({__x:az,__y:-1*a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});az=w;a2=this.c(m,i,p,k,az);a1.add({__x:az,__y:-1*a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a0=a._g;a1=a0.f;a1.add({__x:az,__y:-1*a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});az=an;a2=this.c(m,i,p,k,az);a1.add({__x:az,__y:-1*a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a0=a._c;a1=a0.f;if(ai){a0.b=true;a0.d=false;a0.c=false;a0.h=q}a1.add({__x:az,__y:-1*a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});az=al;a2=this.c(m,i,p,k,az);a1.add({__x:az,__y:-1*a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a0=a._s;a1=a0.f;a1.add({__x:az,__y:-1*a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});az=m;a2=this.c(m,i,p,k,az);a1.add({__x:az,__y:-1*a2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a0=a._q;a1=a0.f;if(aa&&a3){a0.b=true;a0.c=true;a0.d=false;a0.h=t;a1.add({__x:0+t,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a1.add({__x:0-t,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})}a0=a._r;a1=a0.f;if(aa&&a3){a0.b=true;a0.c=true;a0.d=true;a0.h=t;a1.add({__x:0-t,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a1.add({__x:0+t,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})}},g:function(a){this.f(a,false,false,false,false)},k:function(a){this.f(a,true,false,false,true)},a:function(){var a=this._b;var b=this._b.a();var c=0;var d=.48;var e=NaN;var f=NaN;var g=.15;var h=.1;var i=.1;var j=.1;var k=.14;var l=.06;switch(a.b){case 3:f=.4;break;case 4:h=.06;i=.02;break;case 7:f=.4;c=-.3;e=-.2;k=.14;break;case 5:c=-.3;e=-.2;k=.14;break;case 8:i=.06;c=-.3;e=-.2;k=.14;break;case 6:c=-.3;e=-.2;k=.14;break}var m=a.m;var n=a.k;var o=a.c==1||a.c==2;if($.ig.util.isNaN(m)){m=c}if($.ig.util.isNaN(n)){n=d}var p=Math.min(m,n);var q=Math.max(m,n);m=p;n=q;var r=a.n;if($.ig.util.isNaN(r)){r=h}var s=a.l;if($.ig.util.isNaN(s)){s=i}var t=a.i;var u=a.f;if($.ig.util.isNaN(t)){t=g}if($.ig.util.isNaN(u)){u=j}var v=Math.max(t,u);var w=Math.min(t,u);t=v;u=w;var x=a.d;if($.ig.util.isNaN(x)){x=e}if(!$.ig.util.isNaN(x)){if(x0&&m<=0){x=NaN}if(x>n){x=n}}var y=a.p;if($.ig.util.isNaN(y)){y=f}if(!$.ig.util.isNaN(y)){if(y>n){y=NaN}if(y<0&&n>=0){y=NaN}if(y0){z=m}if(n<0){z=m}if(t<=0){t=0}var aa=a.e;var ab=a.q;if($.ig.util.isNaN(aa)){aa=k}if($.ig.util.isNaN(ab)){ab=l}b.i=t/2;b.f=u/2;b.d=x;b.p=y;b.m=m;b.k=n;b.g=z;b.n=r/2;b.l=s/2;b.q=ab/2;b.e=aa/2;return b},j:function(a){this.f(a,true,false,false,false)},p:function(a){a._a.k();a._d.k();a._b.k();a._t.k();a._e.k();a._f.k();a._x.k();a._v.k();a._w.k();a._z.k();a._y.k();a._u.k();a._h.k();a._g.k();a._c.k();a._s.k();a._q.k();a._r.k();a._i.k();a._l.k();a._m.k();a._p.k();a._j.k();a._k.k();a._n.k();a._o.k()},i:function(a){this.p(a);var b=0;var c=0;var d=0;var e=0;var f=0;var g=0;var h=0;var i=a._a;var j=i.f;j.add({__x:b,__y:h,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});j.add({__x:b,__y:g,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});i=a._d;j=i.f;j.add({__x:b,__y:g,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});j.add({__x:d,__y:g,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});i=a._b;j=i.f;j.add({__x:d,__y:g,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});j.add({__x:d,__y:g,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});var k=f;var l=f;i=a._t;j=i.f;j.add({__x:d,__y:g,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});j.add({__x:k,__y:g,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});i=a._e;j=i.f;j.add({__x:k,__y:g,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});j.add({__x:l,__y:g,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});i=a._f;j=i.f;j.add({__x:l,__y:g,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});j.add({__x:e,__y:g,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});i=a._x;j=i.f;j.add({__x:e,__y:g,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});j.add({__x:e,__y:g,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});i=a._v;j=i.f;j.add({__x:e,__y:g,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});j.add({__x:c,__y:g,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});i=a._w;j=i.f;j.add({__x:c,__y:g,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});j.add({__x:c,__y:h,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});i=a._z;j=i.f;j.add({__x:c,__y:h,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});j.add({__x:e,__y:h,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});i=a._y;j=i.f;j.add({__x:e,__y:h,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});j.add({__x:e,__y:h,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});i=a._u;j=i.f;j.add({__x:e,__y:h,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});j.add({__x:l,__y:h,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});i=a._h;j=i.f;j.add({__x:l,__y:h,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});j.add({__x:k,__y:h,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});i=a._g;j=i.f;j.add({__x:k,__y:h,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});j.add({__x:d,__y:h,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});i=a._c;j=i.f;j.add({__x:d,__y:h,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});j.add({__x:d,__y:h,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});i=a._s;j=i.f;j.add({__x:d,__y:h,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});j.add({__x:b,__y:h,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})},$type:new $.ig.Type("RadialGaugeNeedlePreparer",$.ig.$ot)},true);$c("RadialGaugeNeedleParameters:n","Object",{init:function(){$.ig.$op.init.call(this)},m:0,k:0,n:0,l:0,e:0,d:0,q:0,p:0,j:0,b:0,c:0,i:0,r:null,s:null,h:0,t:null,u:null,o:0,g:0,f:0,a:function(){var a=new $$t.n;a.m=this.m;a.k=this.k;a.n=this.n;a.l=this.l;a.e=this.e;a.d=this.d;a.q=this.q;a.p=this.p;a.b=this.b;a.c=this.c;a.i=this.i;a.r=this.r;a.s=this.s;a.h=this.h;a.t=this.t;a.u=this.u;a.o=this.o;a.g=this.g;a.f=this.f;return a},$type:new $.ig.Type("RadialGaugeNeedleParameters",$.ig.$ot)},true);$c("XamRadialGaugeRange:u","DependencyObject",{init:function(){$$a.$r.init.call(this)},ad:function(a,b,c){},ac:function(a,b,c){this.ad(a,b,c);if(this.propertyChanged!=null){this.propertyChanged(this,new $$0.b7(a))}},propertyChanged:null,name:function(a){if(arguments.length===1){this.h($$t.$u.nameProperty,a);return a}else{return this.c($$t.$u.nameProperty)}},brush:function(a){if(arguments.length===1){this.h($$t.$u.brushProperty,a);return a}else{return this.c($$t.$u.brushProperty)}},outline:function(a){if(arguments.length===1){this.h($$t.$u.outlineProperty,a);return a}else{return this.c($$t.$u.outlineProperty)}},startValue:function(a){if(arguments.length===1){this.h($$t.$u.startValueProperty,a);return a}else{return this.c($$t.$u.startValueProperty)}},endValue:function(a){if(arguments.length===1){this.h($$t.$u.endValueProperty,a);return a}else{return this.c($$t.$u.endValueProperty)}},innerStartExtent:function(a){if(arguments.length===1){this.h($$t.$u.innerStartExtentProperty,a);return a}else{return this.c($$t.$u.innerStartExtentProperty)}},innerEndExtent:function(a){if(arguments.length===1){this.h($$t.$u.innerEndExtentProperty,a);return a}else{return this.c($$t.$u.innerEndExtentProperty)}},outerStartExtent:function(a){if(arguments.length===1){this.h($$t.$u.outerStartExtentProperty,a);return a}else{return this.c($$t.$u.outerStartExtentProperty)}},outerEndExtent:function(a){if(arguments.length===1){this.h($$t.$u.outerEndExtentProperty,a);return a}else{return this.c($$t.$u.outerEndExtentProperty)}},strokeThickness:function(a){if(arguments.length===1){this.h($$t.$u.strokeThicknessProperty,a);return a}else{return this.c($$t.$u.strokeThicknessProperty)}},$type:new $.ig.Type("XamRadialGaugeRange",$$a.$r.$type,[$$0.$b6.$type])},true);$c("RadialGaugeRangeCollection:v","ObservableCollection$1",{init:function(){$$4.$f.init.call(this,$$t.$u.$type,0)},$type:new $.ig.Type("RadialGaugeRangeCollection",$$4.$f.$type.specialize($$t.$u.$type))},true);$c("XamRadialGauge:o","Control",{init:function(){var $self=this;this.bl=0;this.bk=100;this.ib=new $$a.af(1,NaN,NaN);this.bj=new $$4.aa($$a.$an.$type);this.bg=new $$4.x($$a.$bs.$type,0);this.bf=new $$4.x($$a.$bs.$type,0);this.be=new $$4.x($$a.$bs.$type,0);this.bo=0;this.bn=NaN;this.bm=1;$$a.$f.init.call(this);this.view(new $$t.b(this));this.view().au();this.h9=$$a.$ae.empty();this._ao=new $$t.h;this._an=new $$t.h;this._am=new $$t.h;this.ranges(new $$t.v);this._a5=true;this._aw=new $.ig.DoubleAnimator(0,1,this.transitionDuration());var a=this._aw;a.propertyChanged=$.ig.Delegate.prototype.combine(a.propertyChanged,this.fi.runOn(this));this._ab=$$t.$o.$type;this._a0=function(){var $ret=new $.ig.StackPool$1($$a.$an.$type);$ret._b=$self.view().ao.runOn($self.view());$ret._c=$self.view().ap.runOn($self.view());$ret._d=$self.view().aq.runOn($self.view());$ret._j=$self.view().bd.runOn($self.view());return $ret}();this._a3=function(){var $ret=new $.ig.StackPool$1($$a.$bs.$type);$ret._b=$self.view().ax.runOn($self.view());$ret._c=$self.view().ay.runOn($self.view());$ret._d=$self.view().az.runOn($self.view());$ret._j=$self.view().bz.runOn($self.view());return $ret}();this._a1=function(){var $ret=new $.ig.StackPool$1($$a.$bs.$type);$ret._b=$self.view().ax.runOn($self.view());$ret._c=$self.view().ay.runOn($self.view());$ret._d=$self.view().az.runOn($self.view());$ret._j=$self.view().bz.runOn($self.view());return $ret}();this._a2=function(){var $ret=new $.ig.StackPool$1($$a.$bs.$type);$ret._b=$self.view().a2.runOn($self.view());$ret._c=$self.view().a3.runOn($self.view());$ret._d=$self.view().a4.runOn($self.view());$ret._j=$self.view().b0.runOn($self.view());return $ret}();this._at=new $$t.p(this.actualMinimumValue(),this.actualMaximumValue(),this.scaleStartAngle(),this.scaleEndAngle(),this.scaleSweepDirection())},scaleValue:function(a){return this._at.h(a)},unscaleValue:function(a){return this._at.j(a)},getValueForPoint:function(a){var b=this.ia();var c=Math.min(b.width()/2,b.height()/2)*this.radiusMultiplier();var d=this.h7();var e=d.__x;var f=d.__y;var g=$.ig.GeometryUtil.prototype.e({__x:e,__y:f,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},a);if(this._at!=null&&gthis._at.g()){g-=Math.PI*2}var h=this.unscaleValue(g);return h},getPointForValue:function(a,b){var c=this.scaleValue(a);var d=Math.min(this.ia().width()/2,this.ia().height()/2)*this.radiusMultiplier()*b;var e=this.h7();var f=e.__x+Math.cos(c)*d;var g=e.__y+Math.sin(c)*d;return{__x:f,__y:g,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},hy:function(a,b){if(b!=null&&b.count()>0){return b.item(a%b.count())}else{return null}},_view:null,view:function(a){if(arguments.length===1){this._view=a;return a}else{return this._view}},fi:function(a,b){this.transitionProgress(this._aw.transitionProgress())},_aw:null,rangeBrushes:function(a){if(arguments.length===1){this.h($$t.$o.rangeBrushesProperty,a);return a}else{return this.c($$t.$o.rangeBrushesProperty)}},rangeOutlines:function(a){if(arguments.length===1){this.h($$t.$o.rangeOutlinesProperty,a);return a}else{return this.c($$t.$o.rangeOutlinesProperty)}},minimumValue:function(a){if(arguments.length===1){this.h($$t.$o.minimumValueProperty,a);return a}else{return this.c($$t.$o.minimumValueProperty)}},bl:0,actualMinimumValue:function(a){if(arguments.length===1){this.bl=a;return a}else{return this.bl}},maximumValue:function(a){if(arguments.length===1){this.h($$t.$o.maximumValueProperty,a);return a}else{return this.c($$t.$o.maximumValueProperty)}},bk:0,actualMaximumValue:function(a){if(arguments.length===1){this.bk=a;return a}else{return this.bk}},interval:function(a){if(arguments.length===1){this.h($$t.$o.intervalProperty,a);return a}else{return this.c($$t.$o.intervalProperty)}},centerX:function(a){if(arguments.length===1){this.h($$t.$o.centerXProperty,a);return a}else{return this.c($$t.$o.centerXProperty)}},centerY:function(a){if(arguments.length===1){this.h($$t.$o.centerYProperty,a);return a}else{return this.c($$t.$o.centerYProperty)}},value:function(a){if(arguments.length===1){this.h($$t.$o.valueProperty,a);return a}else{return this.c($$t.$o.valueProperty)}},scaleStartAngle:function(a){if(arguments.length===1){this.h($$t.$o.scaleStartAngleProperty,a);return a}else{return this.c($$t.$o.scaleStartAngleProperty)}},scaleEndAngle:function(a){if(arguments.length===1){this.h($$t.$o.scaleEndAngleProperty,a);return a}else{return this.c($$t.$o.scaleEndAngleProperty)}},scaleSweepDirection:function(a){if(arguments.length===1){this.h($$t.$o.scaleSweepDirectionProperty,$$a.$bi.getBox(a));return a}else{return $g(this.c($$t.$o.scaleSweepDirectionProperty))}},transitionDuration:function(a){if(arguments.length===1){this.h($$t.$o.transitionDurationProperty,a);return a}else{return $h(this.c($$t.$o.transitionDurationProperty))}},transitionEasingFunction:function(a){if(arguments.length===1){this.h($$t.$o.transitionEasingFunctionProperty,a);return a}else{return this.c($$t.$o.transitionEasingFunctionProperty)}},needleBrush:function(a){if(arguments.length===1){this.h($$t.$o.needleBrushProperty,a);return a}else{return this.c($$t.$o.needleBrushProperty)}},needleOutline:function(a){if(arguments.length===1){this.h($$t.$o.needleOutlineProperty,a);return a}else{return this.c($$t.$o.needleOutlineProperty)}},needleStartExtent:function(a){if(arguments.length===1){this.h($$t.$o.needleStartExtentProperty,a);return a}else{return this.c($$t.$o.needleStartExtentProperty)}},needleEndExtent:function(a){if(arguments.length===1){this.h($$t.$o.needleEndExtentProperty,a);return a}else{return this.c($$t.$o.needleEndExtentProperty)}},needleShape:function(a){if(arguments.length===1){this.h($$t.$o.needleShapeProperty,$$t.$f.getBox(a));return a}else{return $g(this.c($$t.$o.needleShapeProperty))}},needleStartWidthRatio:function(a){if(arguments.length===1){this.h($$t.$o.needleStartWidthRatioProperty,a);return a}else{return this.c($$t.$o.needleStartWidthRatioProperty)}},needleEndWidthRatio:function(a){if(arguments.length===1){this.h($$t.$o.needleEndWidthRatioProperty,a);return a}else{return this.c($$t.$o.needleEndWidthRatioProperty)}},needleBaseFeatureWidthRatio:function(a){if(arguments.length===1){this.h($$t.$o.needleBaseFeatureWidthRatioProperty,a);return a}else{return this.c($$t.$o.needleBaseFeatureWidthRatioProperty)}},needleBaseFeatureExtent:function(a){if(arguments.length===1){this.h($$t.$o.needleBaseFeatureExtentProperty,a);return a}else{return this.c($$t.$o.needleBaseFeatureExtentProperty)}},needlePointFeatureWidthRatio:function(a){if(arguments.length===1){this.h($$t.$o.needlePointFeatureWidthRatioProperty,a);return a}else{return this.c($$t.$o.needlePointFeatureWidthRatioProperty)}},needlePointFeatureExtent:function(a){if(arguments.length===1){this.h($$t.$o.needlePointFeatureExtentProperty,a);return a}else{return this.c($$t.$o.needlePointFeatureExtentProperty)}},needlePivotWidthRatio:function(a){if(arguments.length===1){this.h($$t.$o.needlePivotWidthRatioProperty,a);return a}else{return this.c($$t.$o.needlePivotWidthRatioProperty)}},needlePivotInnerWidthRatio:function(a){if(arguments.length===1){this.h($$t.$o.needlePivotInnerWidthRatioProperty,a);return a}else{return this.c($$t.$o.needlePivotInnerWidthRatioProperty)}},needlePivotShape:function(a){if(arguments.length===1){this.h($$t.$o.needlePivotShapeProperty,$$t.$g.getBox(a));return a}else{return $g(this.c($$t.$o.needlePivotShapeProperty))}},scaleStartExtent:function(a){if(arguments.length===1){this.h($$t.$o.scaleStartExtentProperty,a);return a}else{return this.c($$t.$o.scaleStartExtentProperty)}},needlePivotBrush:function(a){if(arguments.length===1){this.h($$t.$o.needlePivotBrushProperty,a);return a}else{return this.c($$t.$o.needlePivotBrushProperty)}},needlePivotOutline:function(a){if(arguments.length===1){this.h($$t.$o.needlePivotOutlineProperty,a);return a}else{return this.c($$t.$o.needlePivotOutlineProperty)}},needleStrokeThickness:function(a){if(arguments.length===1){this.h($$t.$o.needleStrokeThicknessProperty,a);return a}else{return this.c($$t.$o.needleStrokeThicknessProperty)}},needlePivotStrokeThickness:function(a){if(arguments.length===1){this.h($$t.$o.needlePivotStrokeThicknessProperty,a);return a}else{return this.c($$t.$o.needlePivotStrokeThicknessProperty)}},scaleEndExtent:function(a){if(arguments.length===1){this.h($$t.$o.scaleEndExtentProperty,a);return a}else{return this.c($$t.$o.scaleEndExtentProperty)}},labelExtent:function(a){if(arguments.length===1){this.h($$t.$o.labelExtentProperty,a);return a}else{return this.c($$t.$o.labelExtentProperty)}},labelInterval:function(a){if(arguments.length===1){this.h($$t.$o.labelIntervalProperty,a);return a}else{return this.c($$t.$o.labelIntervalProperty)}},tickStartExtent:function(a){if(arguments.length===1){this.h($$t.$o.tickStartExtentProperty,a);return a}else{return this.c($$t.$o.tickStartExtentProperty)}},tickEndExtent:function(a){if(arguments.length===1){this.h($$t.$o.tickEndExtentProperty,a);return a}else{return this.c($$t.$o.tickEndExtentProperty)}},tickStrokeThickness:function(a){if(arguments.length===1){this.h($$t.$o.tickStrokeThicknessProperty,a);return a}else{return this.c($$t.$o.tickStrokeThicknessProperty)}},tickBrush:function(a){if(arguments.length===1){this.h($$t.$o.tickBrushProperty,a);return a}else{return this.c($$t.$o.tickBrushProperty)}},fontBrush:function(a){if(arguments.length===1){this.h($$t.$o.fontBrushProperty,a);return a}else{return this.c($$t.$o.fontBrushProperty)}},minorTickStartExtent:function(a){if(arguments.length===1){this.h($$t.$o.minorTickStartExtentProperty,a);return a}else{return this.c($$t.$o.minorTickStartExtentProperty)}},minorTickEndExtent:function(a){if(arguments.length===1){this.h($$t.$o.minorTickEndExtentProperty,a);return a}else{return this.c($$t.$o.minorTickEndExtentProperty)}},minorTickStrokeThickness:function(a){if(arguments.length===1){this.h($$t.$o.minorTickStrokeThicknessProperty,a);return a}else{return this.c($$t.$o.minorTickStrokeThicknessProperty)}},minorTickBrush:function(a){if(arguments.length===1){this.h($$t.$o.minorTickBrushProperty,a);return a}else{return this.c($$t.$o.minorTickBrushProperty)}},minorTickCount:function(a){if(arguments.length===1){this.h($$t.$o.minorTickCountProperty,a);return a}else{return this.c($$t.$o.minorTickCountProperty)}},scaleBrush:function(a){if(arguments.length===1){this.h($$t.$o.scaleBrushProperty,a); return a}else{return this.c($$t.$o.scaleBrushProperty)}},backingBrush:function(a){if(arguments.length===1){this.h($$t.$o.backingBrushProperty,a);return a}else{return this.c($$t.$o.backingBrushProperty)}},backingOutline:function(a){if(arguments.length===1){this.h($$t.$o.backingOutlineProperty,a);return a}else{return this.c($$t.$o.backingOutlineProperty)}},backingStrokeThickness:function(a){if(arguments.length===1){this.h($$t.$o.backingStrokeThicknessProperty,a);return a}else{return this.c($$t.$o.backingStrokeThicknessProperty)}},backingOuterExtent:function(a){if(arguments.length===1){this.h($$t.$o.backingOuterExtentProperty,a);return a}else{return this.c($$t.$o.backingOuterExtentProperty)}},backingOversweep:function(a){if(arguments.length===1){this.h($$t.$o.backingOversweepProperty,a);return a}else{return this.c($$t.$o.backingOversweepProperty)}},scaleOversweep:function(a){if(arguments.length===1){this.h($$t.$o.scaleOversweepProperty,a);return a}else{return this.c($$t.$o.scaleOversweepProperty)}},scaleOversweepShape:function(a){if(arguments.length===1){this.h($$t.$o.scaleOversweepShapeProperty,$$t.$e.getBox(a));return a}else{return $g(this.c($$t.$o.scaleOversweepShapeProperty))}},backingCornerRadius:function(a){if(arguments.length===1){this.h($$t.$o.backingCornerRadiusProperty,a);return a}else{return this.c($$t.$o.backingCornerRadiusProperty)}},backingInnerExtent:function(a){if(arguments.length===1){this.h($$t.$o.backingInnerExtentProperty,a);return a}else{return this.c($$t.$o.backingInnerExtentProperty)}},backingShape:function(a){if(arguments.length===1){this.h($$t.$o.backingShapeProperty,$$t.$d.getBox(a));return a}else{return $g(this.c($$t.$o.backingShapeProperty))}},ranges:function(a){if(arguments.length===1){this.h($$t.$o.rangesProperty,a);return a}else{return this.c($$t.$o.rangesProperty)}},radiusMultiplier:function(a){if(arguments.length===1){this.h($$t.$o.radiusMultiplierProperty,a);return a}else{return this.c($$t.$o.radiusMultiplierProperty)}},duplicateLabelOmissionStrategy:function(a){if(arguments.length===1){this.h($$t.$o.duplicateLabelOmissionStrategyProperty,$$t.$c.getBox(a));return a}else{return $g(this.c($$t.$o.duplicateLabelOmissionStrategyProperty))}},_a6:false,isNeedleDraggingEnabled:function(a){if(arguments.length===1){this.h($$t.$o.isNeedleDraggingEnabledProperty,a);return a}else{return this.c($$t.$o.isNeedleDraggingEnabledProperty)}},isNeedleDraggingConstrained:function(a){if(arguments.length===1){this.h($$t.$o.isNeedleDraggingConstrainedProperty,a);return a}else{return this.c($$t.$o.isNeedleDraggingConstrainedProperty)}},font:function(a){if(arguments.length===1){this.h($$t.$o.fontProperty,a);return a}else{return this.c($$t.$o.fontProperty)}},formatLabel:null,alignLabel:null,valueChanged:null,_a5:false,_at:null,refresh:function(){this._a5=true;this.view().a6()},fr:function(a,b,c){switch(a){case"NeedleBrush":case"NeedleOutline":case"NeedlePivotBrush":case"NeedlePivotOutline":case"BackingBrush":case"BackingOutline":case"ScaleBrush":case"TickBrush":case"MinorTickBrush":this.view().ar(a,b,c);break;case"RangeBrushes":this.view().av(b,c);break;case"RangeOutlines":this.view().aw(b,c);break;case"PixelScalingRatio":if($.ig.util.isNaN($.ig.DeviceUtils.prototype.a(this.pixelScalingRatio()))){this.actualPixelScalingRatio(1)}else{this.actualPixelScalingRatio($.ig.DeviceUtils.prototype.a(this.pixelScalingRatio()))}break;case"ActualPixelScalingRatio":this.view().a0();break}switch(a){case"Value":if(this.valueChanged!=null){this.valueChanged(this,new $.ig.DoubleValueChangedEventArgs(b,c))}this._a5=true;this.view().a6();break;case"BackingBrush":case"BackingOutline":case"BackingStrokeThickness":case"BackingShape":case"BackingInnerExtent":case"BackingOuterExtent":case"BackingOversweep":case"BackingCornerRadius":this._a5=true;this.view().a6();break;case"ScaleSweepDirection":case"ScaleStartAngle":case"ScaleEndAngle":case"ScaleOversweep":case"ScaleOversweepShape":this._at=new $$t.p(this.actualMinimumValue(),this.actualMaximumValue(),this.scaleStartAngle(),this.scaleEndAngle(),this.scaleSweepDirection());this._a5=true;this.view().a6();break;case"MinimumValue":case"MaximumValue":var d=this.minimumValue();var e=this.maximumValue();if(Number.isInfinity(d)||$.ig.util.isNaN(d)){d=0}if(Number.isInfinity(e)||$.ig.util.isNaN(e)){e=100}this.actualMinimumValue(Math.min(d,e));this.actualMaximumValue(Math.max(d,e));this._at=new $$t.p(this.actualMinimumValue(),this.actualMaximumValue(),this.scaleStartAngle(),this.scaleEndAngle(),this.scaleSweepDirection());this._a5=true;this.view().a6();break;case"Interval":case"ScaleStartExtent":case"ScaleEndExtent":case"LabelExtent":case"TickStartExtent":case"TickEndExtent":case"TickBrush":case"ScaleBrush":case"LabelInterval":case"MinorTickCount":case"TickStrokeThickness":case"MinorTickStrokeThickness":case"MinorTickBrush":case"MinorTickStartExtent":case"MinorTickEndExtent":case"CenterX":case"CenterY":case"RadiusMultiplier":case"DuplicateLabelOmissionStrategy":this._at=new $$t.p(this.actualMinimumValue(),this.actualMaximumValue(),this.scaleStartAngle(),this.scaleEndAngle(),this.scaleSweepDirection());this._a5=true;this.view().a6();break;case"NeedleStartExtent":case"NeedleEndExtent":case"NeedleBrush":case"NeedleOutline":case"NeedleStartWidth":case"NeedleEndWidthRatio":case"NeedlePivotBrush":case"NeedlePivotOutline":case"NeedleStrokeThickness":case"NeedlePivotStrokeThickness":case"NeedleBaseFeatureExtent":case"NeedleBaseFeatureWidthRatio":case"NeedlePointFeatureExtent":case"NeedlePointFeatureWidthRatio":case"NeedlePivotWidthRatio":case"NeedlePivotInnerWidthRatio":case"NeedlePivotShape":case"NeedleShape":this._a5=true;this.view().a6();break;case"TransitionDuration":this._aw.intervalMilliseconds(this.transitionDuration());this.view().a6();break;case"TransitionEasingFunction":this._aw.easingFunction(this.transitionEasingFunction());break;case"TransitionProgress":if(this.transitionProgress()>=1){this._aw.stop();var f=this._an;this._an=this._ao;this._ao=f;this.ft();this.fu();this.fv();this.f0(this._an);this.f1(this._an);this.f2(this._an);this.view().af();return}this._am.e(this.transitionProgress(),this._ao,this._an);this.f0(this._am);this.f1(this._am);this.f2(this._am);this.view().af();break;case"Ranges":var g=b;var h=c;if(g!=null){var i=g;i.collectionChanged=$.ig.Delegate.prototype.remove(i.collectionChanged,this.fy.runOn(this))}if(h!=null){var j=h;j.collectionChanged=$.ig.Delegate.prototype.combine(j.collectionChanged,this.fy.runOn(this))}this._a5=true;this.view().a6();break;case"RangeOutlines":case"RangeBrushes":this._a5=true;this.view().a6();break;case"FontBrush":case"Font":this._a5=true;this.view().bc();this.view().a6();break}},styleUpdated:function(){this.view().a9()},fy:function(a,b){if(b.oldItems()!=null){var d=b.oldItems().getEnumerator();while(d.moveNext()){var c=d.current();c.propertyChanged=$.ig.Delegate.prototype.remove(c.propertyChanged,this.fx.runOn(this))}}if(b.newItems()!=null){var f=b.newItems().getEnumerator();while(f.moveNext()){var e=f.current();e.propertyChanged=$.ig.Delegate.prototype.combine(e.propertyChanged,this.fx.runOn(this))}}this._a5=true;this.view().a6()},fx:function(a,b){this._a5=true;this.view().a6()},ib:null,h9:null,ia:function(a){if(arguments.length===1){var b=this.h9;this.h9=a;if(!b.equals1(this.h9)){this.fs(b,this.h9)}return a}else{return this.h9}},fs:function(a,b){this._a5=true;this.view().a6()},a9:function(){return!$.ig.util.isNaN(this.actualMinimumValue())&&!$.ig.util.isNaN(this.actualMaximumValue())&&!$.ig.util.isNaN(this.value())&&!this.ia().isEmpty()&&this.view().n()},fj:function(){if(!this.a9()){return}if(this._a5){if(this.animating()){if(this._aw.needsFlush()){this._aw.flush()}var a=this._ao;this._ao=this._am;this._am=a}else{var b=this._ao;this._ao=this._an;this._an=b}}else if(this.animating()){this._am.e(this.transitionProgress(),this._ao,this._an);this.f0(this._am);this.f1(this._am);this.f2(this._am)}if(this._a5){this.fu();this.fv();this.ft()}if(this._a5&&this.bc()){this.f3();this._am.e(this.transitionProgress(),this._ao,this._an);this.f0(this._am);this.f1(this._am);this.f2(this._am)}else{if(this._a5){this.f0(this._an);this.f1(this._an);this.f2(this._an)}}this._a5=false;this.view().af()},f3:function(){this.bo=0;this._aw.stop();this._aw.start()},bc:function(){return this.transitionDuration()>0},f0:function(a){var b=this.ia();var c=this.view().bu();var d=a._a;var e=Math.min(b.width()/2,b.height()/2)*a._d;var f=this.h7();var g=f.__x;var h=f.__y;var i=d.n(e,g,h);c._aj=i;c.__fill=d._l;c.__stroke=d._m;c._ac=d._h},bh:null,bi:null,needleContainsPoint:function(a){if(this.bh==null){return false}return $.ig.PolygonUtil.prototype.a(this.bh,a)},needleContainsPoint1:function(a,b){if(this.bh==null){return false}return b?$.ig.PolygonUtil.prototype.a(this.bi,a):$.ig.PolygonUtil.prototype.a(this.bh,a)},f1:function(a){var b=this.ia();var c=a._b._ab;var d=a._b._aj;var e=a._b._ak;var f=a._b._ae;var g=a._b._ah;var h=a._b._ai;var i=a._b._aa;var j=this.view().bv();var k=this.view().by();var l=this.view().bw();var m=a._b;var n=Math.min(b.width()/2,b.height()/2)*a._d;var o=this.h7();var p=o.__x;var q=o.__y;var r=m.am(n,p,q);var s=c*180/Math.PI;j._aj=r;var t=new $$a.bp;t._j.add(function(){var $ret=new $$a.bm;$ret._k=p;$ret._l=q;$ret._j=s;return $ret}());j._j=t;j.__fill=d;j.__stroke=e;j._ac=f;k._aj=m.an(n,p,q);l._aj=m.al(n,p,q);k.__fill=g;k.__stroke=h;k._ac=i;l.__fill=g;l.__stroke=h;l._ac=i;var u=new $$4.x($$a.$y.$type,0);var v=Math.cos(c);var w=Math.sin(c);var x=m._af/2;var y={__x:m._ad*n,__y:x*n,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var z={__x:m._ac*n,__y:x*n,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var aa={__x:m._ac*n,__y:-x*n,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var ab={__x:m._ad*n,__y:-x*n,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};y={__x:y.__x*v-y.__y*w+p,__y:y.__y*v+y.__x*w+q,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};z={__x:z.__x*v-z.__y*w+p,__y:z.__y*v+z.__x*w+q,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};aa={__x:aa.__x*v-aa.__y*w+p,__y:aa.__y*v+aa.__x*w+q,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};ab={__x:ab.__x*v-ab.__y*w+p,__y:ab.__y*v+ab.__x*w+q,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};u.add(y);u.add(z);u.add(aa);u.add(ab);this.bh=u;x=m._af/2*n;var ac={__x:m._ad*n,__y:x,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var ad={__x:m._ac*n,__y:x,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var ae={__x:m._ac*n,__y:-x,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var af={__x:m._ad*n,__y:-x,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};ac={__x:ac.__x*v-ac.__y*w+p,__y:ac.__y*v+ac.__x*w+q,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};ad={__x:ad.__x*v-ad.__y*w+p,__y:ad.__y*v+ad.__x*w+q,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};ae={__x:ae.__x*v-ae.__y*w+p,__y:ae.__y*v+ae.__x*w+q,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};af={__x:af.__x*v-af.__y*w+p,__y:af.__y*v+af.__x*w+q,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};this.bi=new $$4.x($$a.$y.$type,0);this.bi.add(ac);this.bi.add(ad);this.bi.add(ae);this.bi.add(af)},h7:function(){var a=this.ia();var b=$.ig.util.isNaN(this.centerX())?.5:this.centerX();var c=$.ig.util.isNaN(this.centerY())?.5:this.centerY();var d=a.left()+b*a.width();var e=a.top()+c*a.height();return{__x:d,__y:e,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},c0:function(a){if(Number.isInfinity(a)){return NaN}return a},fu:function(){var a=this._an;a._d=this.radiusMultiplier();var b=this.ia();var c=this._at;var d=this.c2(this.value(),0);var e=this._at.h(d);var f=new $$t.m;var g=new $$t.n;g.b=this.needleShape();g.o=this.c0(this.needleStrokeThickness());g.t=this.needleBrush();g.u=this.needleOutline();g.m=this.c0(this.needleStartExtent());g.k=this.c0(this.needleEndExtent());g.d=this.c0(this.needleBaseFeatureExtent());g.e=this.c0(this.needleBaseFeatureWidthRatio());g.p=this.c0(this.needlePointFeatureExtent());g.q=this.c0(this.needlePointFeatureWidthRatio());g.i=this.c0(this.needlePivotWidthRatio());g.f=this.c0(this.needlePivotInnerWidthRatio());g.r=this.needlePivotBrush();g.s=this.needlePivotOutline();g.c=this.needlePivotShape();g.h=this.c0(this.needlePivotStrokeThickness());g.n=this.c0(this.needleStartWidthRatio());g.l=this.c0(this.needleEndWidthRatio());if($.ig.util.isNaN(g.o)){g.o=$$t.$o.cw}if($.ig.util.isNaN(g.h)){g.h=$$t.$o.cp}f._b=g;f.e(a._b);a._b._ab=e},_ao:null,_an:null,_am:null,bj:null,bg:null,bf:null,be:null,f2:function(a){var b=this.ia();var c=a._c;var d=c._c;var e=c._e;var f=c._g;var g=c._h;var h=c._f;var i=c._d;var j=c._l;var k=c._t;var l=c._q;var m=c._j;var n=c._i;var o=c._v;var p=c._u;var q=c._s;var r=c._p;var s=c._ab;var t=c._ac;var u=c._w;var v=c._aa;var w=c._n;var x=c._m;var y=c._o;var z=this.view().bx();var aa=c._r;k=Math.max(0,k);l=Math.max(0,l);var ab=true;if(this.scaleOversweepShape()==1||this.scaleOversweepShape()==0&&this.backingShape()==0){ab=false}var ac=Math.min(b.width()/2,b.height()/2)*a._d;var ad=this.h7();var ae=ad.__x;var af=ad.__y;var ag=q;var ah=r;q-=aa;r+=aa;var ai=false;if(r-q>=2*Math.PI){ai=true;q=0;r=Math.PI}var aj=new $$a.a7;var ak=new $$a.a8;var al=Math.cos(q);var am=Math.sin(q);var an=Math.cos(r);var ao=Math.sin(r);var ap=ae+ac*k*al;var aq=af+ac*k*am;var ar=ae+ac*l*al;var as=af+ac*l*am;var at=ae+ac*k*an;var au=af+ac*k*ao;var av=ae+ac*l*an;var aw=af+ac*l*ao;var ax=ai;if(aa!=0&&!ai&&ab){var ay=Math.cos(ag);var az=Math.sin(ag);var a0=Math.cos(ah);var a1=Math.sin(ah);var a2=ae+ac*k*ay;var a3=af+ac*k*az;var a4=ae+ac*l*ay;var a5=af+ac*l*az;var a6=ae+ac*k*a0;var a7=af+ac*k*a1;var a8=ae+ac*l*a0;var a9=af+ac*l*a1;var ba=aq;var bb=ar;if(a4-a2!=0){bb=ae;var bc=(a5-a3)/(a4-a2);ba=bc*(ae-ar)+as}var bd={__x:bb,__y:ba,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var be=$.ig.GeometryUtil.prototype.i(bd,{__x:ar,__y:as,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},{__x:ae,__y:af,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},ac*k);var bf=au;var bg=av;if(a8-a6!=0){bg=ae;var bh=(a9-a7)/(a8-a6);bf=bh*(ae-av)+aw}var bi={__x:bg,__y:bf,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var bj=$.ig.GeometryUtil.prototype.i(bi,{__x:av,__y:aw,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},{__x:ae,__y:af,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},ac*k);if($.ig.util.isNaN(be._c.__x)||$.ig.util.isNaN(be._c.__y)||$.ig.util.isNaN(be._d.__x)||$.ig.util.isNaN(be._d.__y)||$.ig.util.isNaN(bj._c.__x)||$.ig.util.isNaN(bj._c.__y)||$.ig.util.isNaN(bj._d.__x)||$.ig.util.isNaN(bj._d.__y)){ai=true;q=0;r=Math.PI}else{var bk;var bl;if(Math.pow(be._c.__x-ar,2)+Math.pow(be._c.__y-as,2)Math.PI*2){bo-=Math.PI*2}while(bp>Math.PI*2){bp-=Math.PI*2}var bq=Math.min(Math.abs(bm-bo),Math.abs(Math.PI*2-bm-bo));var br=Math.min(Math.abs(bn-bp),Math.abs(Math.PI*2-bn-bp));if(r-q+bq+br>=2*Math.PI){ai=true;q=0;r=Math.PI}else{ap=bk.__x;aq=bk.__y;at=bl.__x;au=bl.__y}}}}if(ai&&!ax){al=Math.cos(q);am=Math.sin(q);an=Math.cos(r);ao=Math.sin(r);ap=ae+ac*k*al;aq=af+ac*k*am;ar=ae+ac*l*al;as=af+ac*l*am;at=ae+ac*k*an;au=af+ac*k*ao;av=ae+ac*l*an;aw=af+ac*l*ao}if(ai){ak.__startPoint={__x:ar,__y:as,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};ak.__segments.add(function(){var $ret=new $$a.bh;$ret._e={__x:av,__y:aw,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};$ret._b=false;$ret._d=1;$ret._f=new $$a.af(1,ac*l,ac*l);return $ret}());ak.__segments.add(function(){var $ret=new $$a.bh;$ret._e={__x:ar,__y:as,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};$ret._b=false;$ret._d=1;$ret._f=new $$a.af(1,ac*l,ac*l);return $ret}());var bs=new $$a.a8;bs.__startPoint={__x:ap,__y:aq,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};bs.__segments.add(function(){var $ret=new $$a.bh;$ret._e={__x:at,__y:au,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};$ret._b=false;$ret._d=0;$ret._f=new $$a.af(1,ac*k,ac*k);return $ret}());bs.__segments.add(function(){var $ret=new $$a.bh;$ret._e={__x:ap,__y:aq,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};$ret._b=false;$ret._d=0;$ret._f=new $$a.af(1,ac*k,ac*k);return $ret}());aj._b.add(ak);aj._b.add(bs)}else{ak.__startPoint={__x:ap,__y:aq,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};ak.__segments.add(function(){var $ret=new $$a.bd(1);$ret.c({__x:ar,__y:as,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}());ak.__segments.add(function(){var $ret=new $$a.bh;$ret._e={__x:av,__y:aw,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};$ret._b=r-q>Math.PI;$ret._d=1;$ret._f=new $$a.af(1,ac*l,ac*l);return $ret}());ak.__segments.add(function(){var $ret=new $$a.bd(1);$ret.c({__x:at,__y:au,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}());ak.__segments.add(function(){var $ret=new $$a.bh;$ret._e={__x:ap,__y:aq,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};$ret._b=r-q>Math.PI;$ret._d=0;$ret._f=new $$a.af(1,ac*k,ac*k);return $ret}());aj._b.add(ak)}z._aj=aj;z.__fill=s;var bt=this._a0;bt.f(true);var bv=this.bj.getEnumerator();while(bv.moveNext()){var bu=bv.current();bt.n(bu)}this.bj.clear();var bw=c._z;for(var bx=0;bx=0;cq--){cp.n(this.bf.__inner[cq])}this.bf.clear();for(var cr=0;cr=Math.PI*2){h-=Math.PI*2}while(i>=Math.PI*2){i-=Math.PI*2}var j=Math.abs(i-h)<1e-4;var k=this.duplicateLabelOmissionStrategy()==1||this.duplicateLabelOmissionStrategy()==3;var l=this.duplicateLabelOmissionStrategy()==0||this.duplicateLabelOmissionStrategy()==3;for(var m=this.actualMinimumValue();m<=this.actualMaximumValue()||this.bd(m,this.actualMaximumValue(),e);m+=e){if(j&&this.bd(m,this.actualMinimumValue(),e)&&k){continue}if(j&&this.bd(m,this.actualMaximumValue(),e)&&l){continue}g.add(new $$6.u(Number,Number,m,c.h(m)));if(e==0){break}}var n=new $$4.x(Number,0);var o=new $$4.x(Number,0);for(var p=this.actualMinimumValue();p<=this.actualMaximumValue()||this.bd(p,this.actualMaximumValue(),d);p+=d){n.add(c.h(p));for(var q=0;qthis.actualMaximumValue()){continue}o.add(c.h(r+p))}if(d==0){break}}if(a._c._c.length!=g.count()){a._c._c=new Array(g.count());a._c._e=new Array(g.count());a._c._f=new Array(g.count());a._c._d=new Array(g.count());a._c._g=new Array(g.count());a._c._h=new Array(g.count())}if(a._c._j.length!=n.count()||a._c._i.length!=o.count()){a._c._j=new Array(n.count());a._c._i=new Array(o.count())}var s=new $$t.r;s.startAngle=this._at.i();s.endAngle=this._at.g();s.actualMinimumValue=this.actualMinimumValue();s.actualMaximumValue=this.actualMaximumValue();var t=new $$t.t;t.startAngle=s.startAngle;t.endAngle=s.endAngle;t.actualMinimumValue=s.actualMinimumValue;t.actualMaximumValue=s.actualMaximumValue;for(var u=0;ug){var j=g;g=h;h=j}var k=this._at;var l=k.i();var m=k.g();b._l=c;b._m=d;b._h=e;if(f==0){b._b=0;b._g=0;b._c=0;b._d=0;b._e=this.backingOuterExtent()}else{b._b=i;var n=this.backingOversweep()*Math.PI/180;if(n<0){n=0}if(Math.PI*2-(m-l)this.actualMaximumValue()){c=c<(d+this.actualMaximumValue())*.5?this.actualMaximumValue():this.actualMinimumValue()}break}}if(c!=this.value()){this.value(c)}},destroy:function(){this.provideContainer(null)},provideContainer:function(a){this.view().as(a)},onMouseMove:function(a,b){if(this._a6){this.fm(a,b)}},onMouseDown:function(a,b){if(this.isNeedleDraggingEnabled()&&this.needleContainsPoint1(a,b)&&!this._a6){this._a6=true}},onMouseUp:function(a){if(this._a6){this._a6=false}},containerResized:function(){this.view().at()},flush:function(){this.view().flush()},exportVisualData:function(){var a=new $$t.w;a.viewport(new $.ig.RectData(this.ia().left(),this.ia().top(),this.ia().width(),this.ia().height()));a.scaleLabels(new $$t.z);a.scaleTickmarks(new $$t.ab);a.ranges(new $$t.ae);a.needle(new $$t.ad);this.view().ak(a);return a},exportSerializedVisualData:function(){var a=this.exportVisualData();a.scaleByViewport();return a.serialize()},az:function(){return $.ig.FontUtil.prototype.toFontInfo(this.view()._aa,this.font())},bn:0,pixelScalingRatio:function(a){if(arguments.length===1){var b=this.bn;this.bn=a;this.fr("PixelScalingRatio",b,this.bn);return a}else{return this.bn}},bm:0,actualPixelScalingRatio:function(a){if(arguments.length===1){var b=this.bm;this.bm=a;this.fr("ActualPixelScalingRatio",b,this.bm);return a}else{return this.bm}},$type:new $.ig.Type("XamRadialGauge",$$a.$f.$type)},true);$c("RadialGaugeScaler:p","Object",{e:0,d:0,c:0,b:0,l:0,f:0,a:0,i:function(){return this.f},g:function(){return this.a},init:function(a,b,c,d,e){$.ig.$op.init.call(this);this.e=c;this.d=d;if($.ig.util.isNaN(this.e)||Number.isInfinity(this.e)){this.e=135}if($.ig.util.isNaN(this.d)||Number.isInfinity(this.d)){this.d=45}this.l=e;this.c=a;this.b=b;var f=$.ig.MathUtil.prototype.k(this.e);var g=$.ig.MathUtil.prototype.k(this.d);var h=$$t.$p.k(f,g,this.l);this.f=h._c;this.a=h._d},k:function(a,b,c){if(c==1&&b