(function(a){function C(a){this.Init(a.j(),a.dispatchEvent,a);this.Lg=a}function y(a){this.Init();this.Lg=a}function x(){this.Init({skyros:x.kg,alta:x.sf})}function g(a){this.Init(a)}function l(){this.Init({skyros:l.kg,alta:{}})}function e(a,b,c,d,e,g){this.Init(a,b,c,d,e,g)}function b(a,b,c,d,e,g){this.Init(a,b,c,d,e,g)}function h(){this.Init({skyros:h.kg,alta:h.sf})}function c(){this.Init({skyros:c.kg,alta:{}})}function d(a,b){this.Init(a,b)}function D(a){this.Init(a.j(),a.dispatchEvent,a);this.Lg=
a;this.Zt=!1}function r(){}function F(a){this.Lg=a}function t(){}a.l.D(t,a.kf);t.x7b=0;t.w7b=100;t.prototype.Init=function(b,c,d,e){t.C.Init.call(this,b,c,d);this.Uva=e;this.Uva||(this.G=this.GW(),this.G.og(this),a.A.fb()||this.G.Lt(this.FF(this.G)),this.setId("gauge1000"+Math.floor(1E9*Math.random())),this.QS=new a.Rect(b,0,0),this.QS.hc(),this.u(this.QS));this.Sva=this.pB=!1;this.cH=null};t.prototype.Pf=function(b){this.U=b;a.A.sl()||(this.U.animationOnDisplay="none",this.U.animationOnDataChange=
"none");a.A.me()&&"auto"==this.U.visualEffects&&(this.U.visualEffects="none");b.className&&(this.U.svgClassName=b.className);b.style&&(this.U.svgStyle=b.style)};t.prototype.xa=function(b,c,d){b?this.Pf(b):this.U||this.Pf(null);this.U.thresholds&&(this.U.thresholds=this.U.thresholds.sort(t.AOb));isNaN(c)||isNaN(d)||(this.Sva=0!=this.Eb&&this.Eb!=c||0!=this.Vb&&this.Vb!=d?!0:!1,this.Eb=c,this.Vb=d);d=this.IJ;this.IJ=[];c=new a.ra(this.j());this.Rb(c,0);this.Zo(c,this.Eb,this.Vb);this.INb(c,null!=b,
d,this.Eb,this.Vb);this.QS&&(this.QS.hb(this.Eb),this.QS.zb(this.Vb),this.jb().ub(this.QS,this.bY(),!0));this.Xs();this.Uva||this.U.readOnly||(c.yg("slider"),c.Td("valuemin",this.U.min),c.Td("valuemax",this.U.max),b=q.Zp(this.U.value,this),c.Td("valuenow",b),d=q.uma(this),a.A.fb()&&(this.Ma.Td("live","assertive"),b!=d&&(d=b+a.F.Ca(a.F.Pa,"ARIA_LABEL_DESC_DELIMITER")+d)),b!=d&&c.Td("label",d),this.bC=null!=this.bC?this.bC+1:0,b=this.getId()+"_"+this.bC,c.setId(b),this.j().$L(c));this.U._selectingCursor&&
this.setCursor("pointer");this.ic||this.Xr()};t.prototype.bY=function(){var b=this.U.tooltip,c=b?b.renderer:null,b=w.tc(this);if(c){var d={component:this.U._widgetConstructor,label:q.Zp(this.U.value,this),color:b};return new a.AM(this.j().fg(),c,b,d)}c=q.uma(this);return new a.Ej(null,c,b)};t.prototype.Zo=function(){};t.prototype.INb=function(b,c,d,e,g){this.Yr();var h=!1,m=this.pB||this.Sva?"none":this.B().animationOnDataChange,I=this.pB||this.Sva?"none":this.B().animationOnDisplay,l=a.ab.Et(this.B().animationDuration)/
1E3;if(I||m)e=new a.ca(0,0,e,g),g=this.j(),this.Ma||"none"===I||null==this.IJ[0]?this.Ma&&"none"!=m&&c&&null!=this.IJ[0]&&((this.ic=a.yc.IP(g,m,this.Ma,b,e,l))?h=!0:this.ic=this.Wlb(d,this.IJ,l)):(this.ic=a.yc.KH(g,I,b,e,l),this.ic||(this.ic=this.jpa(this.IJ,I,l))),!h&&this.Ma&&(this.removeChild(this.Ma),this.Ma.Ea()),this.ic&&(this.ic.play(),this.ic.Tg(this.Xx,this)),h&&(this.Mk=this.Ma),this.Ma=b};t.prototype.jpa=function(){return null};t.prototype.Wlb=function(b,c,d){for(var e=[],g=0;g<b.length;g++){var h=
c[g],m=b[g].Wf(),I=h.Wf();h.Jf(m);m=new a.zd(this.j(),h,d);m.qa.P(a.K.cg,h,h.Wf,h.Jf,I);e.push(m)}return new a.Th(this.j(),e)};t.prototype.LM=function(){return null};t.prototype.Ana=function(){this.xa();this.Lta(this.Ma)};t.prototype.Lta=function(b,c){c=q.Zp(c?c:this.U.value,this);b.Td("valuenow",c);a.A.fb()&&b.Td("label",c)};t.prototype.Xx=function(){this.Mk&&(this.removeChild(this.Mk),this.Mk.Ea(),this.Mk=null);this.jn||this.Xr();this.ic=null;this.jn=!1};t.prototype.Gea=function(a,b){this.pB=!0;
this.cH=this.U.value;this.eY(a,b)};t.prototype.eY=function(b,c){if(null!=this.cH){var d=q.tka(this.U,this.LM(b,c));d!=this.U.value&&(this.U.value=d,this.Ana(),this.dispatchEvent(a.kb.SL(this.cH,this.U.value,!1)))}};t.prototype.gva=function(b,c){this.eY(b,c);if(a.A.fb()){var d=q.Zp(this.U.value,this),e=q.uma(this);d!=e&&(e=d+a.F.Ca(a.F.Pa,"ARIA_LABEL_DESC_DELIMITER")+e,this.Ma.Td("label",e))}this.dispatchEvent(a.kb.SL(this.cH,this.U.value,!0));this.pB=!1;this.cH=null};t.prototype.hBb=function(){if(!this.U.readOnly){var b=
this.U.value;this.U.value=null!=this.U.step?q.tka(this.U,this.U.value+this.U.step):Math.min(Math.max(this.U.value+(this.U.max-this.U.min)/100,this.U.min),this.U.max);this.Ana();this.dispatchEvent(a.kb.SL(b,this.U.value,!1))}};t.prototype.aBb=function(){if(!this.U.readOnly){var b=this.U.value;this.U.value=null!=this.U.step?q.tka(this.U,this.U.value-this.U.step):Math.min(Math.max(this.U.value-(this.U.max-this.U.min)/100,this.U.min),this.U.max);this.Ana();this.dispatchEvent(a.kb.SL(b,this.U.value,!1))}};
t.prototype.GW=function(){return new D(this)};t.AOb=function(a,b){return null!=a.max&&null!=b.max?a.max-b.max:a.max?-Infinity:Infinity};t.prototype.Di=function(){return new F(this)};t.prototype.FF=function(a){return new d(a,this)};t.prototype.nn=function(){return a.F.ff(this.B(),"componentName",a.F.Pa,"GAUGE")};t.prototype.Xs=function(){if(!this.Uva){var b=q.uma(this);this.rca()?this.U.readOnly?(this.j().yg("img"),this.j().W$(a.F.Ca(a.F.Pa,"COLON_SEP_LIST",[a.F.Ca(a.F.Pa,"DATA_VISUALIZATION"),a.ta.Pl(a.ge.UL(this.nn()),
b?[b]:null)]))):(this.j().yg("application"),this.j().W$(a.F.Ca(a.F.Pa,"COLON_SEP_LIST",[a.F.Ca(a.F.Pa,"DATA_VISUALIZATION"),a.ge.UL(this.nn())]))):this.U.readOnly&&(this.yg("img"),this.Td("label",a.ta.Pl(a.ge.UL(this.nn()),b?[b]:null)))}};a.l.D(F,a.de);F.prototype.ji=function(b){if(b==a.de.tD)return this.MF(this.Lg);if(0==b.indexOf("item")){var c=b.indexOf("["),d=b.indexOf("]");if(0<c&&0<d&&(b=this.Lg.jZa(b.substring(c+1,d))))return b.Xa()}return null};F.prototype.To=function(a){for(var b=this.Lg.B(),
c=0;c<b.max;c++)if(this.Lg.jZa(c)==a)return"item["+c+"]";return null};F.prototype.getValue=function(){return this.Lg.B().value};F.prototype.oVb=function(){return q.Zp(this.getValue(),this.Lg)};a.F.LE(a.F.Wob,{});a.l.D(r,a.lb);r.sf={skin:a.f.sf,color:"#393737",metricLabel:{style:new a.f(a.lb.mn)},_statusMessageStyle:new a.f(a.lb.mn),label:{style:new a.f(a.lb.mn)},_thresholdColors:["#ed6647","#fad55c","#68c182"]};r.kg={skin:a.f.qh,min:0,max:100,center:{},color:"#313842",borderColor:null,visualEffects:"auto",
emptyText:null,animationOnDataChange:"none",animationOnDisplay:"none",animationDuration:500,readOnly:"true",metricLabel:{rendered:"auto",scaling:"auto",style:new a.f(a.lb.xv),textType:"number"},_statusMessageStyle:new a.f(a.lb.xv),label:{style:new a.f(a.lb.xv),position:"auto"},_thresholdColors:["#D62800","#FFCF21","#84AE31"],__layout:{outerGap:1,labelGap:5}};r.prototype.Init=function(b){b={skyros:a.ec.Xd(b.skyros,r.kg),alta:a.ec.Xd(b.alta,r.sf)};r.C.Init.call(this,b)};r.IC=function(b){return b.B().skin==
a.f.qh};var n={};a.l.D(n,a.l);n.ZH=function(a){var b=a.B();return b&&null!=b.value&&n.aI(a)};n.aI=function(a){a=a.B();return Number(a.min)<Number(a.max)};n.wV=function(a,b){var c=a.B(),d=null!=b?b:c.value,c=c.thresholds;if(!c)return-1;for(var e=0;e<c.length;e++)if(d<=c[e].max)return e;return c.length-1};n.P0=function(a,b){var c=a.B().thresholds;return c&&0<=b&&b<c.length?c[b]:null};n.X8b=function(a,b){var c=a.B().referenceLines;return c&&0<=b&&b<c.length?c[b]:null};a.l.D(D,a.G);D.prototype.no=function(a){if(!1===
this.Lg.B().readOnly){this.Zt=!0;this.Se();var b=this.WI(a.pageX,a.pageY);this.Lg.Gea(b.x,b.y);a.preventDefault()}else D.C.no.call(this,a)};D.prototype.Xo=function(a){this.Zt?(this.Zt=!1,a=this.WI(a.pageX,a.pageY),this.Lg.gva(a.x,a.y)):D.C.Xo.call(this,a)};D.prototype.aB=function(a){if(this.Zt){var b=this.WI(a.pageX,a.pageY);this.Lg.eY(b.x,b.y)}!this.lra()&&this.Zt||D.C.aB.call(this,a)};D.prototype.lra=function(){return!1};D.prototype.K3=function(b){if(a.TouchEvent.Zj===b.type&&!1===this.Lg.B().readOnly){this.Zt=
!0;var c=this.WI(b.touches[0].pageX,b.touches[0].pageY);this.Lg.Gea(c.x,c.y);b.preventDefault()}else a.TouchEvent.oq===b.type&&this.Zt?(c=this.WI(b.touches[0].pageX,b.touches[0].pageY),this.Lg.eY(c.x,c.y),b.preventDefault()):a.TouchEvent.po===b.type&&this.Zt&&(this.Zt=!1,c=this.WI(b.changedTouches[0].pageX,b.changedTouches[0].pageY),this.Lg.gva(c.x,c.y),b.preventDefault());this.Zt&&!this.lra()||D.C.K3.call(this,b)};D.prototype.qm=function(b){if(!this.Kb)return!1;this.Kb.ul(b);var c=b.keyCode;if(c==
a.KeyboardEvent.Jh||c==a.KeyboardEvent.ag||c==a.KeyboardEvent.hg||c==a.KeyboardEvent.Of||c==a.KeyboardEvent.Gh)c=this.Lg.j().$E(),this.GR(b,c.x,c.y,this.Lg.bY(),this.Lg);return!1};D.prototype.TF=function(a){D.C.TF.call(this,a);this.Se()};D.prototype.WI=function(a,b){var c=this.j().Sg(a,b);return this.Lg.ze(c)};D.prototype.fG=function(){};a.l.D(d,a.Kb);d.prototype.Init=function(a,b){d.C.Init.call(this,a);this.Lg=b};d.prototype.ul=function(b){var c=b.keyCode,d=a.A.ea(this.Lg.j()),e=this.Lg.B().value;
this.Lg.B().readOnly||(c!=a.KeyboardEvent.Gh||this.pB?c==a.KeyboardEvent.Jh||c==(d?a.KeyboardEvent.ag:a.KeyboardEvent.Of)?(this.Lg.hBb(),a.G.Ac(b)):c==a.KeyboardEvent.hg||c==(d?a.KeyboardEvent.Of:a.KeyboardEvent.ag)?(this.Lg.aBb(),a.G.Ac(b)):!this.pB||c!=a.KeyboardEvent.yj&&c!=a.KeyboardEvent.Gh||this.cH==e||(this.Lg.dispatchEvent(a.kb.SL(this.cH,e,!0)),c==a.KeyboardEvent.Gh?(this.pB=!1,this.cH=null):this.cH=e):(this.pB=!0,this.cH=e))};var w={};a.l.D(w,a.l);w.a8b=["#ed6647","#fad55c","#68c182"];w.W7b=
["#D62800","#FFCF21","#84AE31"];w.rwb={startAngle:202.5,angleExtent:225,anchorX:100,anchorY:103,metricLabelBounds:{x:80,y:86,width:40,height:34},indicatorLength:.85,tickLabelHeight:20,tickLabelWidth:30,radius:60,majorTickCount:6};w.swb={startAngle:202.5,angleExtent:225,anchorX:100,anchorY:103,metricLabelBounds:{x:83,y:86,width:34,height:34},indicatorLength:.85,tickLabelHeight:20,tickLabelWidth:30,radius:60,majorTickCount:6};w.uwb={startAngle:202.5,angleExtent:225,anchorX:100,anchorY:103,metricLabelBounds:{x:83,
y:86,width:34,height:34},indicatorLength:.85,tickLabelHeight:20,tickLabelWidth:30,radius:60,majorTickCount:6};w.Awb={startAngle:220.5,angleExtent:261.1,anchorX:100,anchorY:100,metricLabelBounds:{x:82,y:133,width:36,height:34},indicatorLength:.85,tickLabelHeight:20,tickLabelWidth:30,radius:61,majorTickCount:6};w.Bwb={startAngle:195.5,angleExtent:210.8,anchorX:100,anchorY:100,metricLabelBounds:{x:84,y:135,width:32,height:35},indicatorLength:.98,tickLabelHeight:20,tickLabelWidth:30,radius:63,majorTickCount:6};
w.Dwb={startAngle:207.6,angleExtent:235,anchorX:100,anchorY:95.8,metricLabelBounds:{x:83,y:125,width:34,height:40},indicatorLength:1.05,tickLabelHeight:20,tickLabelWidth:30,radius:64,majorTickCount:6};w.$yb={startAngle:220.5,angleExtent:261.1,anchorX:100,anchorY:100,metricLabelBounds:{x:80,y:82,width:40,height:40},indicatorLength:.82,tickLabelHeight:20,tickLabelWidth:30,radius:58,majorTickCount:6};w.azb={startAngle:201,angleExtent:222,anchorX:100.2,anchorY:89,metricLabelBounds:{x:80,y:70,width:41,
height:39},indicatorLength:1.23,tickLabelHeight:20,tickLabelWidth:30,radius:56,majorTickCount:6};w.czb={startAngle:211,angleExtent:242,anchorX:100,anchorY:91.445,metricLabelBounds:{x:78,y:75,width:44,height:38},indicatorLength:1.1,tickLabelHeight:20,tickLabelWidth:30,radius:58,majorTickCount:6};w.sxb={startAngle:220.5,angleExtent:261.5,metricLabelBounds:{x:80,y:82,width:40,height:40},indicatorLength:.85,tickLabelHeight:20,tickLabelWidth:30,radius:60,majorTickCount:6};w.txb={startAngle:201,angleExtent:222,
anchorX:100.2,anchorY:89,metricLabelBounds:{x:80,y:73,width:40,height:36},indicatorLength:1.23,tickLabelHeight:20,tickLabelWidth:30,radius:56,majorTickCount:6};w.vxb={startAngle:201,angleExtent:222,anchorX:100.2,anchorY:99.5,metricLabelBounds:{x:80,y:83,width:41,height:36},indicatorLength:1.1,tickLabelHeight:20,tickLabelWidth:30,radius:58,majorTickCount:6};w.Cwb={anchorX:42,anchorY:510};w.twb={anchorX:187,anchorY:388};w.bzb={anchorX:227,anchorY:425};w.uxb={anchorX:227,anchorY:425};w.tc=function(b){var c=
b.B(),d=n.wV(b),e=n.P0(b,d);return!e||b instanceof a.nq&&!(b instanceof a.nq&&"onIndicator"==c.thresholdDisplay)?c.color:w.l$(b,e,d)};w.ml=function(b){var c=b.B(),d=n.wV(b);return(d=n.P0(b,d))&&d.borderColor&&(!(b instanceof a.nq)||b instanceof a.nq&&"onIndicator"==c.thresholdDisplay)?d.borderColor:c.borderColor};w.ydb=function(b){var c=b.B(),d=n.wV(b),e=n.P0(b,d);return!e||b instanceof a.nq&&!(b instanceof a.nq&&"onIndicator"!=c.thresholdDisplay)?c.plotArea.color:w.l$(b,e,d)};w.xdb=function(b){var c=
b.B(),d=c.plotArea.borderColor;return b instanceof a.nq&&"circular"!=c.orientation&&null==d?"skyros"==c.skin?"#C6C6C6":"#D6DFE6":d};w.l$=function(a,b,c){if(b.color)return b.color;a=a.B();return a._thresholdColors[c%a._thresholdColors.length]};w.dUb=function(a){return"rectangleAlta"===a?w.uwb:"domeAlta"===a?w.swb:"circleAntique"===a?w.Awb:"rectangleAntique"===a?w.Dwb:"domeAntique"===a?w.Bwb:"circleLight"===a?w.$yb:"rectangleLight"===a?w.czb:"domeLight"===a?w.azb:"circleDark"===a?w.sxb:"rectangleDark"===
a?w.vxb:"domeDark"===a?w.txb:w.rwb};w.eUb=function(a){return"needleAntique"===a?w.Cwb:"needleLight"===a?w.bzb:"needleDark"===a?w.uxb:w.twb};w.Y0=function(a){return!!a.label.text};var q={};a.l.D(q,a.l);q.fq=function(b,c,d){var e=b.B(),g=e.emptyText;g||(g=a.F.ff(e,"labelNoData",a.F.Pa,"NO_DATA",null));n.aI(b)||(g=a.F.ff(e,"labelInvalidData",a.F.Pa,"INVALID_DATA",null));e=e._statusMessageStyle;e.O("font-size")||e.ka("font-size","13px");if(b instanceof a.nq){var h=e.O("color");e.ka("color",h?h:"#333333")}a.Ja.fq(c,
g,new a.ca(d.x,d.y,d.a,d.b),b.jb(),e)};q.Zp=function(a,b){var c=b.B();return c.metricLabel.text?c.metricLabel.text:q.$1a(a,b,c.metricLabel.converter,c.metricLabel.scaling,c.metricLabel.autoPrecision?c.metricLabel.autoPrecision:"on","percent"==c.metricLabel.textType)};q.rEa=function(a,b){var c=b.B(),d=null,e="percent"==c.tickLabel.textType;"on"==c.tickLabel.rendered&&c.tickLabel.converter&&(d=c.tickLabel.converter);var g=null;"on"==c.tickLabel.rendered&&c.tickLabel.scaling&&(g=c.tickLabel.scaling);
return q.$1a(a,b,d,g,c.tickLabel.autoPrecision?c.tickLabel.autoPrecision:"on",e)};q.$1a=function(b,c,d,e,g,h){var m=c.B(),I=m.min,l=m.max,u=l-I,n=null;isNaN(u)||(n=u/(1E3>u?100:1E3));h&&(b=q.x9(m,m.min,b,!0));c=new a.Zk(c.j(),I,l,n,e,g);b=d&&d.getAsString?c.format(b,d):d&&d.format?c.format(b,d):h?Math.round(100*b):c.format(b);return h?String(b)+"%":b};q.x9=function(a,b,c,d){a=(c-b)/(a.max-a.min);return a=d?a:Math.min(Math.max(0,a),1)};q.uma=function(b){var c=b.B(),d=n.wV(b),d=n.P0(b,d);b=q.Zp(c.value,
b);return d&&null!=d.shortDesc?d.shortDesc:null!=c.shortDesc?c.shortDesc:c.label.text?a.F.Ca(a.F.Pa,"COLON_SEP_LIST",[c.label.text,b]):b};q.yna=function(b,c,d,e,g,h,m){var I=b.B(),l=!1;if("on"==I.metricLabel.rendered||m&&"off"!=I.metricLabel.rendered){m=q.Zp(I.value,b);var l=q.Zp(I.min,b),u=q.Zp(I.max,b);b=new a.ha(b.j(),m,d.x+d.a/2,d.y+d.b/2);b.Nb(I.metricLabel.style);I=(I=I.metricLabel.style.O("font-size"))?parseInt(I):null;I||(I=q.Aka([m,l,u],b,d),b.Zf(m),b.Ph(I));"top"==h?(b.ob(d.y),b.Hq()):"middle"==
h?a.Ja.V_(b,d.y+d.b/2):"bottom"==h&&(b.ob(d.y+d.b),b.us());"center"==g?b.Cg():"left"==g?(b.Ha(d.x),b.Bi()):"right"==g&&(b.Ha(d.x+d.a),b.ii());null!=e&&b.qb(e);l=a.Ja.wd(b,d.a,d.b,c)}return l};q.zIa=function(b,c,d,e,g){var h=b.B(),m=!1;if(w.Y0(h)){var m=h.label.text,I=h.label.style,h=new a.lc(b.j(),m),l=I.clone();h.Nb(I);var u=I.O("font-size"),u=u?parseInt(u):null;u||(m=new a.ha(b.j(),m,0,0),m.Nb(I),u=m.YE(d),l.Ph("font-size",u.toString()));null!=e&&l.ka("color",e);h.Nb(l);m=a.Ja.wd(h,d.a,d.b,b);b=
a.Ja.rV(h);"top"==g?h.ob(d.y):"bottom"==g?h.ob(d.y+d.b-b):h.ob(d.y+d.b/2-b/2);h.Ha(d.x+d.a/2);h.Cg();c.u(h)}return m};q.Aka=function(a,b,c){for(var d=0,e=null,g=0,h=0;h<a.length;h++)b.Zf(a[h]),g=b.Zc().a,g>d&&(e=a[h],d=g);b.Zf(e);return b.YE(c)};q.tka=function(a,b){var c=Number(a.step);if(c&&0<c){var d=b/c;return.5>d?a.min:Math.max(Math.min(a.max,Math.ceil(d)*c),a.min)}return b};a.nD=function(){};a.l.D(a.nD,t);a.nD.newInstance=function(b,c,d,e){var g=new a.nD;g.Init(b,c,d,e);return g};a.nD.prototype.Init=
function(b,d,e,g){a.nD.C.Init.call(this,b,d,e,g);this.Wg=new c};a.nD.prototype.Pf=function(b){b.title&&(b.label=b.title);a.nD.C.Pf.call(this,this.Wg.Un(b));"auto"==this.U.animationOnDisplay&&(this.U.animationOnDisplay="zoom");"auto"==this.U.animationOnDataChange&&(this.U.animationOnDataChange="alphaFade");this.U.readOnly=!0};a.nD.prototype.Zo=function(a,b,c){H.xa(this,a,b,c)};a.l.D(c,r);c.kg={type:"circle"};var H={};a.l.D(H,a.l);H.mAb="M-42,36.6Q-50,36.6,-46.54,28.6L-4,-43.07Q0,-50,4,-43.07L46.54,28.6Q50,36.6,42,36.6Z";
H.gAb=[-50,36.6,0,-50,50,36.6];H.nAb=[-50,36.6,0,-50,50,36.6];H.lAb=[-13.05,-12.94,-50,-11.13,-21.06,11.9,-30.74,47.6,.1,27.18,31.06,47.44,21.17,11.79,50,-11.39,13.05,-13.01,-.06,-47.59];H.Rua=[-50,-11.22,-16.69,-17.94,0,-47.55,16.69,-17.94,50,-11.22,26.69,13.8,30.9,47.56,0,33.42,-30.9,47.56,-26.69,13.8];H.jAb="M0,45L21,45Q24.414,44.414,25,41L25,10L42,10Q48.5,9.1,45,4L2,-38Q0,-39,-2,-38L-45,4Q-48.5,9.1,-42,10L-25,10L-25,41Q-24.414,44.414,-21,45Z";H.eAb=[25,48,25,8,47.5,8,0,-39,-47.5,8,-25,8,-25,48];
H.kAb=[25,48,25,8,47.5,8,0,-39,-47.5,8,-25,8,-25,48];H.fAb="M -0.06059525142297417 -50.86842065108466 C -11.4496388584463 -50.86842065108466 -20.708163169810554 -39.024253028220556 -20.708163169810554 -24.413724255650386 C -20.708163169810554 -9.803195483080515 -11.4496388584463 2.040972139783591 -0.06059525142297417 2.040972139783591 C 11.328499974520241 2.040972139783591 20.586972666964613 -9.803195483080515 20.586972666964613 -24.413724255650386 C 20.586972666964613 -39.024253028220556 11.328499974520241 -50.86842065108466 -0.06059525142297417 -50.86842065108466 z M -23.93434565705865 -2.959610715450779 C -30.908061721494278 3.3998402034127153 -42.00096758564793 18.817121073473572 -38.77478509839983 33.65756051481475 C -20.651382358034887 47.30044101688934 14.372054723529814 49.13162219665128 39.298831093003386 32.85101489300273 C 40.26410489318826 16.477493533721187 32.34060070450674 4.7883891459240715 23.167918656763206 -2.959610715450779 C 11.553661702670112 21.074158341552575 -11.029615708066558 16.237465556670102 -23.93434565705865 -2.959610715450779 z ";
H.xa=function(b,c,d,e){if(n.ZH(b)){var g=b.B(),h=g.__layout.outerGap,m=g&&(0<=g.size||1>g.size)?Math.sqrt(g.size):1;e=new a.ca(h+(d-2*h)*(1-m)/2,h+(e-2*h)*(1-m)/2,(d-2*h)*m,(e-2*h)*m);H.W7(b,c,e);H.TBa(b,c,e);h=!1;d=a.R.$m(w.tc(b));w.Y0(g)&&(h="middle",m=H.e3a(b,e),"on"==g.metricLabel.rendered&&(m.y+=.6*m.b,m.b*=.4,h="top"),h=a.A.hQ()||null==g.label.style.O("color")?q.zIa(b,c,m,d,h):q.zIa(b,c,m,null,h));"on"==g.metricLabel.rendered&&(e=H.e3a(b,e),m="middle",h&&(e.b*=.55,m="bottom"),a.A.hQ()||null==
g.metricLabel.style.O("color")?q.yna(b,c,e,d,"center",m):q.yna(b,c,e,null,"center",m))}else q.fq(b,c,new a.ca(0,0,d,e))};H.W7=function(b,c,d){var e=b.j(),g=b.B(),h=g.type,m=w.tc(b),I=w.ml(b),l=d.x+d.a/2,u=d.y+d.b/2,n=Math.min(d.a,d.b)/2,z=r.IC(b);H.pc||(H.pc=new a.Cache(50));var q=Math.min(d.a/100,d.b/100);"square"==h?l=new a.Rect(e,l-n,u-n,2*n,2*n):"rectangle"==h?l=new a.Rect(e,d.x,d.y,d.a,d.b):"diamond"==h?l=new a.bj(e,[l-n,u,l,u-n,l+n,u,l,u+n]):"circle"==h?l=new a.ko(e,l,u,n):("star"==h?l=z?H.lAb:
H.Rua:"triangle"==h?l=z?H.mAb:H.gAb:"arrow"==h?l=z?H.jAb:H.eAb:"human"==h?l=H.fAb:(l=H.pc.get(h),l||(l=new a.Bb(e,h),l=a.si.t9(e,l),u=100/Math.max(l.a,l.b),l=a.M.KJa(h,-u*(l.x+l.a/2),-u*(l.y+l.b/2),u,u),H.pc.put(h,l))),(z||"triangle"!=h&&"arrow"!=h)&&"star"!=h?(l=a.M.KJa(l,d.x+d.a/2,d.y+d.b/2,q,q),l=new a.Bb(e,l)):(l=a.Cp.scale(l,q,q),l=a.Cp.translate(l,d.x+d.a/2,d.y+d.b/2),l=new a.bj(e,l)));z||"none"==g.visualEffects?l.qb(m):(e=[a.R.Tn(m,-.09,.04),a.R.Tn(m,-.04,-.05)],m=g&&0==g.rotation%90?g.rotation:
0,l.wa(new a.vd("arrow"==h||"star"==h||"triangle"==h?m-90:270,e,[1,1],[0,1])));I&&l.cc(I);l.oe(g.svgClassName);l.ka(g.svgStyle);(m=z?g.rotation+90:g.rotation)&&("arrow"==h||"triangle"==h||l instanceof a.Bb&&"human"!=h)&&(l=H.cCa(b,c,l,d));c.u(l)};H.cCa=function(b,c,d,e){var g=b.B();b=new a.ra(b.j());c.u(b);b.u(d);c=g&&0==g.rotation%90?g.rotation:0;g=new a.dc;g.rotate(Math.PI*c/180);d.Db(g);c=b.da();d=e.x+e.a/2-(c.x+c.a/2);e=e.y+e.b/2-(c.y+c.b/2);c=new a.dc;c.translate(d,e);b.Db(c);return b};H.TBa=
function(a,b,c){var d=a.B(),e=d.type;"none"!=d.visualEffects&&r.IC(a)&&("circle"==e?H.$Mb(a,b,c):"diamond"==e?H.aNb(a,b,c):"triangle"==e?H.cNb(a,b,c):"arrow"==e?H.ZMb(a,b,c):H.bNb(a,b,c))};H.bNb=function(b,c,d){var e=.04*d.a,g=.04*d.b;d=new a.ca(d.x+e,d.y+g,d.a-2*e,d.b-2*g);b=new a.Rect(b.j(),d.x,d.y,d.a,d.b);b.yb(!1);c.u(b);c=new a.vd(270,"#FFFFFF #FFFFFF #FFFFFF #FFFFFF #FFFFFF #FFFFFF #FFFFFF".split(" "),[.75,.5,.15,0,.2,.4,.2],[0,.05,.4,.6,.8,.9,1]);b.wa(c)};H.aNb=function(b,c,d){var e=.05*d.a,
g=.05*d.b,g=new a.ca(d.x+e,d.y+g,d.a-2*e,d.b-2*g);d=g.x+g.a/2;e=g.y+g.b/2;g=Math.min(g.a,g.b)/2;b=new a.bj(b.j(),[d-g,e,d,e-g,d+g,e,d,e+g]);b.yb(!1);c.u(b);c=new a.vd(270,"#FFFFFF #FFFFFF #FFFFFF #FFFFFF #FFFFFF #FFFFFF #FFFFFF".split(" "),[.75,.5,.15,0,.2,.4,.2],[0,.05,.4,.6,.8,.9,1]);b.wa(c)};H.cNb=function(b,c,d){var e=.05*d.a,g=.05*d.b,h=r.IC(b),e=new a.ca(d.x+e,d.y+g,d.a-2*e,d.b-2*g),g=H.nAb,m=Math.min(e.a/100,e.b/100),g=a.Cp.scale(g,m,m),g=a.Cp.translate(g,d.x+d.a/2,d.y+d.b/2);d=new a.bj(b.j(),
g);g=(g=b.B())&&0==g.rotation%90?g.rotation:0;h=new a.vd(h?g-90:360-g,["#FFFFFF","#FFFFFF","#FFFFFF","#FFFFFF","#FFFFFF"],[.3,.55,0,.25,.1],[0,.05,.4,.9,1]);d.wa(h);d=H.cCa(b,c,d,e);d.yb(!1);c.u(d)};H.ZMb=function(b,c,d){var e=.05*d.a,g=.05*d.b,h=r.IC(b),e=new a.ca(d.x+e,d.y+g,d.a-2*e,d.b-2*g),g=H.kAb,m=Math.min(e.a/100,e.b/100),g=a.Cp.scale(g,m,m),g=a.Cp.translate(g,d.x+d.a/2,d.y+d.b/2);d=new a.bj(b.j(),g);g=(g=b.B())&&0==g.rotation%90?g.rotation:0;h=new a.vd(h?g-90:360-g,["#FFFFFF","#FFFFFF","#FFFFFF",
"#FFFFFF","#FFFFFF"],[.3,.55,0,.25,.1],[0,.05,.4,.9,1]);d.wa(h);d=H.cCa(b,c,d,e);d.yb(!1);c.u(d)};H.$Mb=function(b,c,d){var e=.05*d.a,g=.05*d.b;d=new a.ca(d.x+e,d.y+g,d.a-2*e,d.b-2*g);var e=d.x+d.a/2,g=d.y+d.b/2,h=Math.min(d.a,d.b)/2,m=new a.ko(b.j(),e,g,h);m.yb(!1);c.u(m);var I=new a.kq(["#FFFFFF","#FFFFFF","#FFFFFF"],[0,.25,.5],[.15,.7,.95],e,g-.6*h,1.5*h,[d.x,d.y,d.a,d.b]);m.wa(I);m=.6*h;h*=.4;g-=.3*h;b=new a.ox(b.j(),e,g-h,m,h);b.yb(!1);c.u(b);c=new a.kq(["#FFFFFF","#FFFFFF","#FFFFFF"],[0,.2,
.5],[.6,.8,1],e,g,m,[d.x,d.y,d.a,d.b]);b.wa(c)};H.e3a=function(b,c){var d=b.B(),e=d.type,d=0==d.rotation%90?d.rotation:0,g=Math.min(c.a,c.b),h=c.x+c.a/2-g/2,m=c.y+c.b/2-g/2,I=g,l=g;"triangle"==e?0==d?(h+=.2*g,m+=.25*g,I-=.4*g,l-=.3*g):90==d?(h+=.05*g,m+=.2*g,I-=.3*g,l-=.4*g):180==d?(h+=.2*g,m+=.05*g,I-=.4*g,l-=.3*g):270==d&&(h+=.25*g,m+=.2*g,I-=.3*g,l-=.4*g):"arrow"==e?0==d?(h+=.2*g,m+=.2*g,I-=.4*g,l-=.4*g):90==d?(h+=.05*g,m+=.2*g,I-=.28*g,l-=.4*g):180==d?(h+=.2*g,m+=.2*g,I-=.4*g,l-=.4*g):270==d&&
(h+=.23*g,m+=.2*g,I-=.28*g,l-=.4*g):"star"==e?(h+=.25*g,m+=.25*g,I-=.5*g,l-=.4*g):"diamond"==e?(h+=.15*g,m+=.15*g,I-=.3*g,l-=.3*g):"rectangle"==e?(h+=.1*g,m+=.1*g,I-=.2*g,l-=.2*g):(h+=.15*g,m+=.15*g,I-=.3*g,l-=.3*g);return new a.ca(h,m,I,l)};a.nq=function(){};a.l.D(a.nq,t);a.nq.newInstance=function(b,c,d){var e=new a.nq;e.Init(b,c,d);return e};a.nq.prototype.Init=function(b,c,d){a.nq.C.Init.call(this,b,c,d);this.Wg=new h;this.bva=null};a.nq.prototype.Pf=function(b){b.title&&(b.label=b.title);b.plotArea&&
(b.plotArea.className&&(b.plotArea.svgClassName=b.plotArea.className),b.plotArea.style&&(b.plotArea.svgStyle=b.plotArea.style));a.nq.C.Pf.call(this,this.Wg.Un(b))};a.nq.prototype.Zo=function(a,b,c){u.xa(this,a,b,c)};a.nq.prototype.jpa=function(b,c,d){c=[];for(var e=0;e<b.length;e++){var g=b[e],h=g.Wf();"horizontal"==this.U.orientation?g.Jf([h[0],h[0],h[2],h[3]]):"vertical"==this.U.orientation?g.Jf([h[0],h[1],h[3],h[3]]):"circular"==this.U.orientation&&g.Jf([h[0],h[1],0,h[3],h[4]]);var m=new a.zd(this.j(),
g,d);m.qa.P(a.K.cg,g,g.Wf,g.Jf,h);m.qa.Pq(function(b){return a.xf.M8(b,.7)});c.push(m)}return new a.Th(this.j(),c)};a.nq.prototype.LM=function(b,c){var d=this.U,e=a.A.ea(this.j());if("horizontal"==d.orientation)return this.bva.jla(b);if("vertical"==d.orientation)return this.bva.jla(c);if("circular"==d.orientation){var g=d.angleExtent,h=Math.atan2(c-this.qy,b-this.py),e=e?180-(a.Math.s1(h)-d.startAngle):a.Math.s1(h)-(360-d.startAngle),e=(e+720)%360,h=d.min,d=d.max,h=e/g*(d-h)+h;e>g&&(h=.5<(e-g)/(360-
g)?0:d);return h}};a.l.D(h,r);h.sf={color:"#393737",metricLabel:{style:new a.f(a.lb.mn)},plotArea:{color:"#E4E8EA"}};h.kg={angleExtent:360,borderRadius:"auto",color:"#313842",indicatorSize:1,innerRadius:.7,metricLabel:{style:new a.f(a.lb.xv),position:"auto"},orientation:"horizontal",plotArea:{color:"#AAAAAA",rendered:"auto",borderRadius:"auto"},startAngle:90,thresholdDisplay:"onIndicator"};var u={};a.l.D(u,a.l);u.xa=function(b,c,d,e){if(n.ZH(b)){var g=b.B(),h=g.__layout.outerGap;d=new a.ca(h,h,d-
2*h,e-2*h);"horizontal"==g.orientation||"vertical"==g.orientation?(u.Yya(g)&&u.WMb(b,c,d),u.W7(b,c,d)):"circular"==g.orientation&&u.xMb(b,c,d)}else q.fq(b,c,new a.ca(0,0,d,e))};u.xMb=function(b,c,d){var e=b.B(),g=d.clone(),h=a.A.ea(b.j()),m=0,I=null,l=e.value,n=e.innerRadius,z=e.thresholds,r,D=null,t=a.Math.qo-a.Math.ww(e.startAngle),H=a.Math.ww(e.angleExtent),F=(t+H)%(2*Math.PI);b.py=d.a/2;b.qy=d.b/2;H!=2*Math.PI&&(I=u.SBb(b,n,t,H,F,d,h),D=b.FZb);r=r?r:Math.min(d.a,d.b);var h=.5*r*n,F=.5*r,x=e.indicatorSize;
if(x&&1<x)var y=(1-1/x)/2*(F-h),h=h+y,F=F-y;y="middle";I||(D=Math.min(d.a,d.b)*n,I=new a.ca(d.x+d.a/2-3/7*D,d.y+d.b/2-2.5/7*D,6/7*D,5/7*D));var G=!1;if(w.Y0(e)){var G="middle",C=new a.ca(I.x,I.y,I.a,I.b);"off"!=e.metricLabel.rendered&&(C.y+=.6*C.b,C.b*=.4,G="top");(G=q.zIa(b,c,C,null,G))&&"off"!=e.metricLabel.rendered&&(I.b*=.55,y="bottom")}q.yna(b,c,I,null,"center",y,!0);y=t;m*=H;I=w.xdb(b);if(z&&"off"!=e.plotArea.rendered&&"all"==e.thresholdDisplay)for(G=0;G<z.length;G++){var C=w.l$(b,z[G],G),m=
z[G].max<e.max?z[G].max:e.max,U=0==G?e.min:z[G-1].max,y=t+H*q.x9(e,e.min,U),m=q.x9(e,U,m),m=m*H,U=z[G].borderColor;u.qxa(b,c,d,y,m,h,F,C,!0,U?U:I)}else"off"!=e.plotArea.rendered&&"all"!=e.thresholdDisplay&&(z=w.ydb(b),u.qxa(b,c,d,t,H,h,F,z,!0,I));h=r*n*.5;F=.5*r;x&&1>x&&(n=(1-x)/2*(F-h),h+=n,F-=n);m=q.x9(e,e.min,l);u.qxa(b,c,d,t,m*H,h,F,w.tc(b),!1);if(n=e.referenceLines)for(r=0;r<n.length;r++)z=n[r].color?n[r].color:"black",h=n[r].lineWidth?n[r].lineWidth:2,F=n[r].lineStyle,l=n[r].value,u.rFb(b,c,
d,t+q.x9(e,e.min,l)*H,z,h,F);e.center.renderer&&u.vMb(b,e,d,g,D)};u.W7=function(c,d,e){var g=c.B(),h=a.A.ea(c.j()),m="vertical"==g.orientation,l={layout:{}};l.layout.gapRatio=0;l.timeAxisType="disabled";l.position=m?"left":"bottom";l.min=g.min;l.max=g.max;l.dataMin=g.min;l.dataMax=g.max;l.tickLabel={rendered:"off"};l=a.$f.newInstance(c.j(),l,e);c.bva=l;var I=0;0>=g.max?I=g.max:0<=g.min&&(I=g.min);var P=l.zk(I);"off"==g.plotArea.rendered||"auto"==g.plotArea.rendered&&"onIndicator"==g.thresholdDisplay||
(P=l.Zh(g.min));var n=l.Zh(g.value),n=m?Math.max(e.y,Math.min(e.y+e.b,n)):Math.max(e.x,Math.min(e.x+e.a,n)),z=g.indicatorSize,q,D,t,H,F,x,y=0,y=1>z?1:z;t=1<z?1:z;m?(I=e.x+(1-t)/2*e.a+.5,q=e.x+e.a*(1+t)/2-.5,t=P-.5,D=n+.5,H=e.x+(1-1/y)/2*e.a,F=e.x+e.a*(1+1/y)/2,x=e.y,y=e.y+e.b):(I=h?P-.5:P+.5,q=h?n+.5:n-.5,D=e.y+(1-t)/2*e.b+.5,t=e.y+e.b*(1+t)/2-.5,H=e.x,F=e.x+e.a,x=e.y+(1-1/y)/2*e.b,y=e.y+e.b*(1+1/y)/2);z=!0;n==P&&(m?D=t:I=q,z=!1);var G=w.ml(c),C=w.xdb(c),U=g.thresholds,n=m?0:270;if(U&&"off"!=g.plotArea.rendered&&
"all"==g.thresholdDisplay)for(P=U.length-1;0<=P;P--){var ga=P,f=u.WN(c,c.j(),H,F,x,y),J=new a.Jd("pacp"+c.getId());if(P==U.length-1)!m&&h?J.Re(l.Zh(g.max)+1,0,e.a+2,e.b+2,0,0):J.Re(0,0,e.a+2,e.b+2,0,0);else if(m)J.Re(0,l.Zh(g.max),e.a+2,1*(g.max-U[U.length-2-ga].max)/Math.abs(g.min-g.max)*e.b,0,0);else if(h){var Y=null==U[U.length-2-ga].max?100:U[U.length-2-ga].max;J.Re(l.Zh(g.max),0,1*(g.max-Y)/Math.abs(g.min-g.max)*e.a,e.b+2,0,0)}else J.Re(0,0,1*(U[ga].max-g.min)/Math.abs(g.min-g.max)*e.a,e.b+2,
0,0);f.we(J);if(h||m)ga=U.length-1-P;f.qb(w.l$(c,U[ga],ga));J=U[ga].borderColor;f.cc(J?J:C);u.d8a(c,d,f,w.l$(c,U[ga],ga),n)}else"off"==g.plotArea.rendered||"auto"==g.plotArea.rendered&&"onIndicator"==g.thresholdDisplay||"all"==g.thresholdDisplay||(f=m?u.WN(c,c.j(),H,F,l.Zh(g.max),l.Zh(g.min)):u.WN(c,c.j(),l.Zh(g.min),l.Zh(g.max),x,y),P=w.ydb(c),f.qb(P),f.cc(C),u.d8a(c,d,f,P,n));P=new b(c,c.j(),I,q,D,t);c.IJ.push(P);h=w.tc(c);r.IC(c)||"none"==g.visualEffects?P.qb(h):(C=[a.R.Tn(h,-.09,.04),a.R.Tn(h,
-.04,-.05)],C=new a.vd(n,C,[1,1],[0,1]),P.wa(C));G&&P.cc(G);P.oe(g.svgClassName);P.ka(g.svgStyle);z&&d.u(P);P=u.WN(c,c.j(),I,q,D,t);u.TBa(c,d,P,z,n);if(n=g.referenceLines)for(P=0;P<n.length;P++)G=n[P].color?n[P].color:"white",U=n[P].value,z=g.indicatorSize,m?(f=((1-z)/2+z)*e.a,C=e.x+(1-z)/4*e.a,z=l.Zh(U),z=new a.Oc(c.j(),C,z,C+f,z)):(f=((1-z)/2+z)*e.b,C=l.Zh(U),z=e.y+(1-z)/4*e.b,z=new a.Oc(c.j(),C,z,C,z+f)),G=new a.Da(G,1,n[P].lineWidth?n[P].lineWidth:2),n[P].lineStyle&&G.ka(a.pd.iA(n[P].lineStyle)),
z.Na(G),d.u(z),a.A.me()||"none"==g.visualEffects||(G=new a.tx(a.R.PL(0,0,0,.8),.75,3,3,50,1,2,!1,!1,!1),z.wP(G));m=g.metricLabel.position;"on"!=g.metricLabel.rendered||u.Yya(g)||w.Y0(g)?w.Y0(g)&&u.pE(c,d,e,m):u.KBa(c,d,e,h,m,{GA:I,Nt:q,hn:D,Sr:t},{GA:H,Nt:F,hn:x,Sr:y})};u.WN=function(b,c,d,e,g,h){var m=Math.min(d,e),I=Math.min(g,h);d=Math.abs(d-e);g=Math.abs(h-g);h=b.B();e="vertical"==h.orientation?d:g;b=r.IC(b)?"25%":"15%";m=a.M.PV(m,I,d,g,"auto"!=h.plotArea.borderRadius?h.plotArea.borderRadius:
h.borderRadius,e,b);return new a.Bb(c,m)};u.TBa=function(b,c,d,e,g){"none"!=b.B().visualEffects&&r.IC(b)&&(g=new a.vd(g,["#FFFFFF","#FFFFFF","#FFFFFF"],[.5,.3125,0],[0,.3,1]),d.wa(g),b.IJ.push(d),d.yb(!1),e&&c.u(d))};u.d8a=function(b,c,d,e,g){var h=b.B();d.yb(!1);c.u(d);"none"!=h.visualEffects&&(r.IC(b)?(b=[a.R.Ir(e,.1),e,a.R.Jq(e,.7)],g=new a.vd(g,b,[1,1,1],[0,.04,.73])):(b=[a.R.Tn(e,-.04,-.05),a.R.Tn(e,-.09,.04)],g=new a.vd(g,b,[1,1],[0,1])),d.wa(g),d.oe(h.plotArea.svgClassName),d.ka(h.plotArea.svgStyle))};
u.WMb=function(b,c,d){var e=b.B(),g=a.A.ea(b.j()),h="vertical"==e.orientation,m=new a.ha(b.j(),""),I=q.Zp(e.value,b),l=e.__layout.labelGap,u=e.metricLabel.style,n=u.O("color"),n=n?n:"#333333",z=null;m.Nb(u);m.qb(n);if(h&&"on"==e.metricLabel.rendered){var r=0<e.max?e.max:e.min,r=q.Zp(r,b),z=new a.ha(b.j(),r);z.Nb(u);e=new a.ca(d.x,d.y+.8*d.b,d.a,.2*d.b);h=(h=u.O("font-size"))?parseInt(h):z.YE(e);z=z.Zc();d.b-=z.b;r=z.a;m.Ph(h);m.Zf(I);m.Ha(d.x+d.a/2);m.ob(d.y+d.b);d.b-=l;m.Cg();a.Ja.wd(m,d.a,d.b,c)}else if(!h&&
"on"==e.metricLabel.rendered){h=u.O("font-size");n=q.Zp(e.min,b);z=q.Zp(e.max,b);void 0===h&&18>d.b&&(h=q.Aka([I,n,z],m,d));h=h?parseInt(h):13;m.Ph(h);var D;if(0<e.max||"off"!=e.plotArea.rendered||"auto"!=e.plotArea.rendered||"onIndicator"!=e.thresholdDisplay)r=0<e.max?e.max:e.min,r=q.Zp(r,b),z=new a.ha(b.j(),r),z.Nb(u),z.Ph(h),z=z.Zc(),z.a=Math.min(z.a,d.a),D=g?d.x+z.a:d.x+d.a,r=z.a,g&&(d.x+=z.a+l),d.a-=z.a+l;if(0>e.min&&"on"!=e.plotArea.rendered&&("auto"!=e.plotArea.rendered||"onIndicator"!=e.thresholdDisplay)){z=
q.Zp(e.min,b);n=new a.ha(b.j(),z);n.Nb(u);n.Ph(h);u=n.Zc();if(0>e.value||0>=e.max)D=g?d.x+d.a:d.x+u.a,r=u.a;g||(d.x+=u.a+l);d.a-=u.a+l}m.Zf(I);m.Ha(D);a.Ja.V_(m,d.y+d.b/2);m.ii();a.Ja.wd(m,r,d.b,c)}};u.KBa=function(b,c,d,e,g,h,m,I){var l=b.B(),n=a.A.ea(b.j()),z="vertical"==l.orientation,r="on"==l.plotArea.rendered,D="center",w="middle",t=new a.ca(Math.min(h.GA,h.Nt),Math.min(h.hn,h.Sr),Math.abs(h.Nt-h.GA),Math.abs(h.Sr-h.hn)),l=l.metricLabel.style.O("color");"center"==g?(l=l?l:a.R.$m(e),z?(t.b-=t.a,
t.y+=t.a/2):(t.a-=t.b,t.x+=t.b/2)):"insideIndicatorEdge"==g?(l=l?l:a.R.$m(e),z?(t.b-=t.a,t.y+=t.a/2,w=!r&&h.hn>h.Sr?"bottom":"top"):(t.a-=t.b,t.x+=t.b/2,D=n?!r&&h.GA<h.Nt?"right":"left":!r&&h.GA>h.Nt?"left":"right")):"outsideIndicatorEdge"==g&&(z?(t.b=Math.abs(m.hn-h.hn)-t.a,t.y=m.hn+t.a/2,w="bottom",!r&&h.hn>h.Sr&&(t.b=Math.abs(m.hn-h.hn)-t.a,t.y=h.hn+t.a/2,w="top")):n?!r&&h.GA<h.Nt?(t.a=Math.abs(m.Nt-h.Nt)-t.b,t.x=h.Nt+t.b/2,D="left"):(t.a=Math.abs(m.GA-h.Nt)-t.b,t.x=m.GA+t.b/2,D="right"):!r&&h.GA>
h.Nt?(t.a=Math.abs(m.GA-h.Nt)-t.b,t.x=m.GA+t.b/2,D="right"):(t.a=Math.abs(m.Nt-h.Nt)-t.b,t.x=h.Nt+t.b/2,D="left"));q.yna(b,c,t,l,D,w)||I||("outsideIndicatorEdge"==g?u.KBa(b,c,d,e,"insideIndicatorEdge",h,m,!0):"insideIndicatorEdge"!=g&&"center"!=g||u.KBa(b,c,d,e,"outsideIndicatorEdge",h,m,!0))};u.pE=function(b,c,d){var e=a.A.ea(b.j()),g=b.B(),h="vertical"==g.orientation,m=new a.ca(d.x,d.y,h?d.a:d.a-d.b,h?d.b-d.a:d.b),I=g.label.text;if(!u.Yya(g)&&"on"==g.metricLabel.rendered)var l=q.Zp(g.value,b),I=
a.F.Ca(a.F.Pa,"COLON_SEP_LIST",[I,l]);var n=g.label.style,l=n.clone(),z=n.O("font-size");z||(z=new a.ha(b.j(),I,0,0),z.Nb(n),z.Zf(I),z=h?z.YE(new a.ca(m.x,m.y,m.a,Number.MAX_VALUE)):z.YE(new a.ca(m.x,m.y,Number.MAX_VALUE,m.b)));I=new a.lc(b.j(),I);l.Ph("font-size",z.toString());I.Nb(l);a.Ja.wd(I,m.a,m.b,b);"center"==g.label.position||"auto"==g.label.position&&h?(a.Ja.V_(I,d.y+d.b/2),I.Ha(d.x+d.a/2),I.Cg()):(a.Ja.V_(I,d.y+d.b/2),!h&&e)?(I.Ha(d.x+d.a-m.b/2),I.ii()):h||e?h&&(I.ob(d.y+d.b-I.da().b-m.a/
2),I.Ha(d.x+d.a/2),I.Cg()):(I.Ha(d.x+m.b/2),I.Bi());c.u(I)};u.xo=function(a,b,c){return{x:Math.cos(c)*b+a.a/2+a.x,y:Math.sin(c)*b+a.b/2+a.y}};u.qxa=function(b,c,d,g,h,m,l,I,P,n){var z=b.j();a.A.ea(b.j())&&(g=Math.PI-g-h,g=0<g?g:g+2*Math.PI);P?d=new a.Bb(z,u.sab(d,g,h,m,l)):(d=new e(z,d,g,h,m,l),b.IJ.push(d));d.qb(I);(I=w.ml(b))&&!P?d.cc(I):P&&n&&d.cc(n);b=b.B();d.oe(P?b.plotArea.svgClassName:b.svgClassName);d.ka(P?b.plotArea.svgStyle:b.svgStyle);c.u(d)};u.rFb=function(b,c,d,e,g,h,m){var I=b.j(),l=
Math.min(d.a,d.b),n=.275*l,l=.5*l;a.A.ea(b.j())&&(e=Math.PI-e,e=0<e?e:e+2*Math.PI);b=u.xo(d,n,e);d=u.xo(d,l,e);I=new a.Oc(I,b.x,b.y,d.x,d.y);g=new a.Da(g,1,h);m&&g.ka(a.pd.iA(m));I.Na(g);c.u(I)};u.sab=function(b,c,d,e,g){var h,m,I;d<a.Math.qo?(h=u.xo(b,g,c),m=u.xo(b,g,c+d),I=u.xo(b,e,c+d),b=u.xo(b,e,c),g=a.M.moveTo(h.x,h.y)+a.M.arcTo(g,g,d,1,m.x,m.y)+a.M.lineTo(I.x,I.y)+a.M.arcTo(e,e,d,0,b.x,b.y)+a.M.closePath()):(h=u.xo(b,g,c),m=u.xo(b,g,c+d/2),I=u.xo(b,e,c),b=u.xo(b,e,c+d/2),g=a.M.moveTo(h.x,h.y)+
a.M.arcTo(g,g,d/2,1,m.x,m.y)+a.M.arcTo(g,g,d/2,1,h.x,h.y),0<e&&(g+=a.M.moveTo(b.x,b.y)+a.M.arcTo(e,e,d/2,0,I.x,I.y)+a.M.arcTo(e,e,d/2,0,b.x,b.y)),g+=a.M.closePath());return g};u.lbb=function(b,c){var d=1;if(c)b>=a.Math.lR&&b<Math.PI?d=2:b>=Math.PI&&b<1.5*Math.PI?d=3:b>=1.5*Math.PI&&b<a.Math.qo&&(d=4);else if(b>a.Math.lR&&b<=Math.PI)d=2;else if(b>Math.PI&&b<=1.5*Math.PI)d=3;else if(b>1.5*Math.PI&&b<a.Math.qo||0==b)d=4;return d};u.Yya=function(a){var b=a.metricLabel.position;return"auto"==b||"outsidePlotArea"==
b||("withLabel"==b||"withTitle"==b)&&!w.Y0(a)};u.SBb=function(b,c,d,e,g,h,m){var I=null,l=u.lbb(d,!0),n=u.lbb(g,!1),z=h.a,q=h.b,r=z/2,D=q/2,w;if(l==n&&e<=a.Math.lR)if(d=2*Math.min(h.a,h.b),h.a+=d/2,h.b+=d/2,w=d*c,!m&&1==l||m&&2==l)h.x-=d/2,h.y-=d/2,r=z/2-d/4+1,D=q/2-d/4+1,I=new a.ca(h.x+h.a/2-1,h.y+h.b/2-1,3/7*w-2,2.5/7*w-2);else if(!m&&2==l||m&&1==l)h.y-=d/2,r=z/2+d/4-1,D=q/2-d/4+1,I=new a.ca(h.x+h.a/2-3/7*w+1,h.y+h.b/2-1,3/7*w-2,2.5/7*w-2);else if(!m&&3==l||m&&4==l)r=z/2+d/4-1,D=q/2+d/4-1,I=new a.ca(h.x+
h.a/2-3/7*w+1,h.y+h.b/2-2.5/7*w+1,3/7*w-2,2.5/7*w-2);else{if(!m&&4==l||m&&3==l)h.x-=d/2,r=z/2-d/4+1,D=q/2+d/4-1,I=new a.ca(h.x+h.a/2-1,h.y+h.b/2-2.5/7*w+1,3/7*w-2,2.5/7*w-2)}else l%4+1==n&&e<=Math.PI?1==l||3==l?(d=Math.min(h.a,2*h.b),w=d*c,h.a>h.b&&(I=new a.ca(h.x+h.a/2-3/7*w,h.y+h.b-(h.b-d/2)/2-2.75/7*w,6/7*w,2.5/7*w),1==l?(I.y=h.y+(h.b-d/2)/2+.5/7*w,h.y-=d/2-(h.b-d/2)/2,D=q/2-d/4+1):(h.y+=(h.b-d/2)/2,D=q/2+d/4-1),h.b=d)):(d=Math.min(2*h.a,h.b),w=d*c,h.a<h.b&&(I=new a.ca(h.x+h.a-(h.a-d/2)/2-3.25/
7*w,h.y+h.b/2-2.5/7*w,3/7*w,5/7*w),!m&&4==l||m&&2==l?(I.x=h.x+(h.a-d/2)/2+.25/7*w,h.x-=d/2-(h.a-d/2)/2,r=z/2-d/4+1):(h.x+=(h.a-d/2)/2,r=z/2+d/4-1),h.a=d)):n%4+1==l&&e>Math.PI&&(1==l&&h.b>h.a?(d=Math.min(h.a/(Math.cos(d)+1)*2,h.a/(Math.sin(g-1.5*Math.PI)+1)*2,h.b),w=d*c,c=3/7*w*(2*h.a/d-1),m?(I=new a.ca(h.x+h.a-d/2-c,h.y+h.b/2-2.5/7*w,3/7*w+c,5/7*w),h.x-=d-h.a,r=-d/2+z):(I=new a.ca(h.x+d/2-3/7*w,h.y+h.b/2-2.5/7*w,3/7*w*(1+(2*h.a/d-1)),5/7*w),r=d/2),h.a=d):2==l&&h.b<h.a?(d=Math.min(h.b/(Math.cos(d-
a.Math.lR)+1)*2,h.b/(Math.sin(g)+1)*2,h.a),w=d*c,I=new a.ca(h.x+h.a/2-3/7*w,h.y+d/2-2.5/7*w,6/7*w,2.5/7*w*(1+(2*h.b/d-1))),h.b=d,D=d/2):3==l&&h.b>h.a?(d=Math.min(h.a/(Math.cos(d-Math.PI)+1)*2,h.a/(Math.sin(g-a.Math.lR)+1)*2,h.b),w=d*c,c=3/7*w*(2*h.a/d-1),m?(I=new a.ca(h.x+d/2-3/7*w,h.y+h.b/2-2.5/7*w,3/7*w*(1+(2*h.a/d-1)),5/7*w),r=d/2):(I=new a.ca(h.x+h.a-d/2-c,h.y+h.b/2-2.5/7*w,3/7*w+c,5/7*w),h.x-=d-h.a,r=-d/2+z),h.a=d):4==l&&h.b<h.a&&(d=Math.min(h.b/(Math.cos(d-1.5*Math.PI)+1)*2,h.b/(Math.sin(a.Math.qo-
g)+1)*2,h.a),w=d*c,c=2.5/7*w*(2*h.b/d-1),I=new a.ca(h.x+h.a/2-3/7*w,h.y+h.b-d/2-c,6/7*w,2.5/7*w+c),h.y-=d-h.b,h.b=d,D=-d/2+q));b.py=r;b.qy=D;b.FZb=w;return I};u.vMb=function(b,c,d,e,g){var h=new a.ca(d.x+.5*(d.a-g),d.y+.5*(d.b-g),g,g),h=h.tcb(e);d=new a.ca(d.x+.5*(d.a-g/Math.sqrt(2)),d.y+.5*(d.b-g/Math.sqrt(2)),g/Math.sqrt(2),g/Math.sqrt(2));d=d.tcb(e);if(e=c.center.renderer)if(d={outerBounds:{x:h.x,y:h.y,width:h.a,height:h.b},innerBounds:{x:d.x,y:d.y,width:d.a,height:d.b},metricLabel:q.Zp(c.value,
b),component:c._widgetConstructor},c=b.j(),h=c.Cq,(g=b.LQb)&&h.removeChild(g),d=e(d))e=c.Kka(),e.appendChild(d),b.LQb=e,h.appendChild(e),(b=c.Eia)&&b(e)};a.l.D(b,a.Bb);b.prototype.Init=function(a,c,d,e,g,h){b.C.Init.call(this,c);this.Lg=a;this.yQ(d,e,g,h)};b.prototype.yQ=function(b,c,d,e){this.Pg=b;this.Qg=c;this.lL=d;this.mL=e;var g=Math.min(b,c),h=Math.min(d,e);b=Math.abs(b-c);d=Math.abs(e-d);e=this.Lg.B();c="vertical"==e.orientation?b:d;var m=r.IC(this.Lg)?"25%":"15%",g=a.M.PV(g,h,b,d,e.borderRadius,
c,m);this.sj(g)};b.prototype.Wf=function(){return[this.Pg,this.Qg,this.lL,this.mL]};b.prototype.Jf=function(a){a&&4==a.length&&this.yQ(a[0],a[1],a[2],a[3])};a.l.D(e,a.Bb);e.prototype.Init=function(a,b,c,d,g,h){e.C.Init.call(this,a);this.wib(b,c,d,g,h)};e.prototype.wib=function(b,c,d,e,g){b&&b instanceof a.ca?this.Ue=b:b=this.Ue;this.Zg=c;this.Jg=d;this.yq=e;this.ym=g;this.sj(u.sab(b,c,d,e,g))};e.prototype.Wf=function(){return[this.Ue,this.Zg,this.Jg,this.yq,this.ym]};e.prototype.Jf=function(a){a&&
5==a.length&&this.wib(a[0],a[1],a[2],a[3],a[4])};a.Ms=function(){};a.l.D(a.Ms,t);a.Ms.newInstance=function(b,c,d){var e=new a.Ms;e.Init(b,c,d);return e};a.Ms.prototype.Init=function(b,c,d){a.Ms.C.Init.call(this,b,c,d);this.Wg=new l;this.$ua=null};a.Ms.prototype.Pf=function(b){var c=b.background,d=b.indicator;"string"===typeof c&&(b.background=w.dUb(c),b.background.images=b._backgroundImages);"string"===typeof d&&(b.indicator=w.eUb(d),b.indicator.images=b._indicatorImages);a.Ms.C.Pf.call(this,this.Wg.Un(b))};
a.Ms.prototype.Zo=function(a,b,c){z.xa(this,a,b,c)};a.Ms.prototype.Ana=function(){z.V4b(this,this.Ma,this.Eb,this.Vb);var a=this.jb();a&&a.ub(this.QS,this.bY(),!0);this.Lta(this.Ma)};a.Ms.prototype.jpa=function(b,c,d){c=[];for(var e=0;e<b.length;e++){var g=b[e],h=g.Wf(),m=z.eBb(this);g.co(m);m=new a.zd(this.j(),g,d);m.qa.P(a.K.cg,g,g.Wf,g.Jf,h);m.qa.Pq(function(b){return a.xf.M8(b,.7)});c.push(m)}return new a.Th(this.j(),c)};a.Ms.prototype.LM=function(b,c){var d=a.Math.s1(Math.atan2(c-this.$ua.y,
b-this.$ua.x));0>=d&&(d+=360);var e=a.A.ea(this.j()),g=this.B().background,h=e?180+g.startAngle:360-g.startAngle,g=g.angleExtent,m=h+g;if(e)for(m=h,h-=g;0>h;)h+=360,m+=360;d+360>=h&&d+360<=m?d+=360:d>=h&&d<=m||(d=d>m?h+360-d<d-m?h:m:h-d<d+360-m?h:m);d=(d-h)/g;e&&(d=1-d);e=this.U.min;return d*(this.U.max-e)+e};a.l.D(l,r);l.kg={background:{startAngle:180,angleExtent:180,indicatorLength:.7},metricLabel:{style:new a.f(a.lb.mn)},tickLabel:{scaling:"auto",style:new a.f(a.lb.mn)}};var z={};a.l.D(z,a.l);
z.xa=function(b,c,d,e){n.ZH(b)?(d=new a.ca(0,0,d,e),z.W7(b,c,d),z.pE(b,c,d)):q.fq(b,c,new a.ca(0,0,d,e))};z.V4b=function(b,c,d,e){b.iBb.co(z.Kya(b,b.B().value));c.removeChild(b.kBb);z.pE(b,c,new a.ca(0,0,d,e))};z.W7=function(b,c,d){var e=b.B(),h=z.kEb(b,d);c.u(h);e.background.majorTickCount&&e.background.radius&&z.mNb(b,c,d);var h=z.AEb(b,d),m=new a.ra(b.j()),l=new g(b.j());c.u(m);m.u(l);l.u(h);var I=h.da(),e=z.Kya(b,e.value);c=z.j2a(b,d);var u=z.bHb(b,I);d=z.cHb(b,d,I);I=new a.dc;I.translate(-u.x,
-u.y);I.scale(d,d);h.Db(I);l.co(e);I=new a.dc;I.translate(c.x,c.y);m.Db(I);b.IJ.push(l);b.iBb=l;b.$ua=c};z.kEb=function(b,c){var d=b.B().background,e=a.A.ea(b.j()),g=a.A.fb(),h=g?2*c.a:c.a,m=g?2*c.b:c.b,I=d.images;if(I&&0<I.length){var l,u,n,g=[];for(l=0;l<I.length;l++){var z="rtl"==I[l].dir;e&&z?g.push(I[l]):e||z||g.push(I[l])}I=0<g.length?g:I;for(l=0;l<I.length;l++){var q=I[l],z=q.src,g=q.width,q=q.height,r=z&&-1<z.search(".svg");0==l&&(u=g,n=q);if(r||g>=h&&q>=m||l==I.length-1){var h=new a.Image(b.j(),
z,0,0,g,q),D=new a.dc,m=Math.min(c.a/g,c.b/q),I=(c.a-m*g)/2;l=(c.b-m*q)/2;D.scale(m,m);D.translate(I,l);h.Db(D);r&&a.A.jF()&&(z=a.Yt.It(b.j(),z,a.l.gj(h,h.jva)))&&h.jva(z);c.x+=I;c.y+=l;c.a=m*g;c.b=m*q;isNaN(d.anchorX)||isNaN(d.anchorY)||(d._anchorX=e?c.x+c.a-c.a*d.anchorX/u:c.x+c.a*d.anchorX/u,d._anchorY=c.y+c.b*d.anchorY/n);d.metricLabelBounds&&(g={},g.width=c.a*d.metricLabelBounds.width/u,g.height=c.b*d.metricLabelBounds.height/n,g.y=c.y+c.b*d.metricLabelBounds.y/n,g.x=e?c.x+c.a-c.a*d.metricLabelBounds.x/
u-g.width:c.x+c.a*d.metricLabelBounds.x/u,d._metricLabelBounds=g);d._radius=d.radius*Math.min(c.a/u,c.b/n);d._tickLabelHeight=d.tickLabelHeight*c.b/n;d._tickLabelWidth=d.tickLabelWidth*c.a/u;return h}}}return null};z.AEb=function(b,c){var d=b.B().indicator,e=z.L2a(b,c),g=a.A.fb()?2*e:e,h,m,I=d.images;if(I&&0<I.length)for(var l=0;l<I.length;l++){var u=I[l],e=u.src,n=u.width,u=u.height,q=e&&-1<e.search(".svg");0==l&&(h=n,m=u);if(q||u>=g||l==I.length-1)return g=new a.Image(b.j(),e,0,0,n,u),q&&a.A.jF()&&
a.Yt.It(b.j(),e,a.l.gj(g,g.jva))&&(g.hb(n),g.zb(u)),isNaN(d.anchorX)||isNaN(d.anchorY)||(d._anchorX=d.anchorX*n/h,d._anchorY=d.anchorY*u/m),g}return null};z.eBb=function(b){var c=b.B().background;b=a.A.ea(b.j())?180-c.startAngle:c.startAngle;return Math.PI*(90-b)/180};z.Kya=function(b,c){var d=b.B(),e=d.background,g=d.min,d=d.max;c=Math.max(Math.min(c,d),g);g=(c-g)/(d-g);d=a.A.ea(b.j());return Math.PI*(90-((d?180-e.startAngle:e.startAngle)-g*(d?-e.angleExtent:e.angleExtent)))/180};z.j2a=function(b,
c){var d=b.B().background,e=d._anchorX,d=d._anchorY;return isNaN(e)||isNaN(d)?new a.V(c.x+c.a/2,c.y+c.b/2):new a.V(e,d)};z.L2a=function(a,b){var c=Math.min(b.a,b.b)/2;return a.B().background.indicatorLength*c};z.bHb=function(b,c){var d=b.B().indicator,e=d._anchorX,d=d._anchorY;return isNaN(e)||isNaN(d)?new a.V(c.x+c.a/2,c.y+c.b):new a.V(e,d)};z.cHb=function(a,b,c){return z.L2a(a,b)/c.b};z.pE=function(b,c,d){var e=b.B();if("on"==e.metricLabel.rendered){var g=q.Zp(e.value,b),h=q.Zp(e.min,b),m=q.Zp(e.max,
b),I=d.x+d.a/2,l=d.y+d.b/2,u=d.a,n=d.b,z=e.background._metricLabelBounds;z&&(I=z.x+z.width/2,l=z.y+z.height/2,d.a=z.width,d.b=z.height);I=new a.ha(b.j(),g,I,l);!e.metricLabel.style.O("color")&&e.background._isDark&&e.metricLabel.style.ka("color","#CCCCCC");I.Nb(e.metricLabel.style);e=(e=parseInt(e.metricLabel.style.yL()))?parseInt(e):null;e||(e=q.Aka([g,h,m],I,d),I.Zf(g),I.Ph(e));I.Cg();I.wh();a.Ja.wd(I,u,n,c)&&(b.kBb=I)}};z.mNb=function(b,c,d){var e=b.B(),g=a.A.ea(b.j());if(e.background.radius&&
e.background.majorTickCount){var h=e.background._radius,m=e.min,I=e.max,l=e.background.majorTickCount,u=12,n=new a.ca(H,w,d.a,d.b),r=e.metricLabel.style.O("font-size");e.background._tickLabelHeight&&!r&&(n.b=e.background._tickLabelHeight);e.background._tickLabelWidth&&!r&&(n.a=e.background._tickLabelWidth);if(!r)var D=new a.ha(b.j(),"",H,w),u=q.Aka([q.rEa(e.max,b),q.rEa(e.min,b)],D,n);for(r=0;r<l;r++){H=m+Math.abs(I-m)*r/(l-1);g&&(H=m+Math.abs(I-m)*(l-1-r)/(l-1));var D=q.rEa(H,b),w=z.Kya(b,H),t=z.j2a(b,
d),H=t.x+h*Math.cos(w-Math.PI/2),w=t.y+h*Math.sin(w-Math.PI/2),D=new a.ha(b.j(),D,H,w);!e.tickLabel.style.O("color")&&e.background._isDark&&e.tickLabel.style.ka("color","#CCCCCC");D.Nb(e.tickLabel.style);e.tickLabel.style.O("font-size")||D.Ph(u);D.Cg();D.wh();a.Ja.wd(D,n.a+.5,n.b+.5,c)}}};a.l.D(g,a.ra);g.prototype.co=function(b){var c=new a.dc;c.rotate(b);this.Db(c);this.dCb=b};g.prototype.Wf=function(){return[this.dCb]};g.prototype.Jf=function(a){a&&1==a.length&&this.co(a[0])};a.ir=function(){};
a.l.D(a.ir,t);a.ir.newInstance=function(b,c,d){var e=new a.ir;e.Init(b,c,d);return e};a.ir.prototype.Init=function(b,c,d){a.ir.C.Init.call(this,b,c,d);this.Wg=new x};a.ir.prototype.Pf=function(b){b.changedState&&(b.changedState.className&&(b.changedState.svgClassName=b.changedState.className),b.changedState.style&&(b.changedState.svgStyle=b.changedState.style));b.hoverState&&(b.hoverState.className&&(b.hoverState.svgClassName=b.hoverState.className),b.hoverState.style&&(b.hoverState.svgStyle=b.hoverState.style));
b.selectedState&&(b.selectedState.className&&(b.selectedState.svgClassName=b.selectedState.className),b.selectedState.style&&(b.selectedState.svgStyle=b.selectedState.style));b.unselectedState&&(b.unselectedState.className&&(b.unselectedState.svgClassName=b.unselectedState.className),b.unselectedState.style&&(b.unselectedState.svgStyle=b.unselectedState.style));a.ir.C.Pf.call(this,this.Wg.Un(b))};a.ir.prototype.Zo=function(b,c,d){var e=this.U.__layout.outerGap,g=this.U.max,h="vertical"==this.U.orientation,
l="none"!=this.U.preserveAspectRatio;this.U.selectedState.source&&l?a.Yt.It(this.j(),this.U.selectedState.source,a.l.gj(this,function(I){a.A.me()&&11==a.A.KL()&&I&&0==I.width&&0==I.height&&(I.width=1,I.height=1);I&&I.width&&I.height&&(I=I.width/I.height,this.uD=h?Math.min(c-2*e,(d-2*e)*I/g):Math.min((d-2*e)*I,(c-2*e)/g),this.HJ=this.uD/I,this.lg=h?new a.ca(e,(d-this.HJ*g)/2,c-2*e,this.HJ*g):new a.ca((c-this.uD*g)/2,e,this.uD*g,d-2*e),m.xa(this,b,c,d))})):(l?this.HJ=this.uD=h?Math.min(c-2*e,(d-2*e)/
g):Math.min(d-2*e,(c-2*e)/g):(this.uD=h?c-2*e:(c-2*e)/g,this.HJ=h?(d-2*e)/g:d-2*e),this.lg=h?new a.ca(e,(d-this.HJ*g)/2,c-2*e,this.HJ*g):new a.ca((c-this.uD*g)/2,e,this.uD*g,d-2*e),m.xa(this,b,c,d))};a.ir.prototype.bY=function(){var b=this.U.tooltip,b=b?b.renderer:null,c=w.tc(this);if(b){var d={component:this.U._widgetConstructor,label:q.Zp(this.U.value,this),color:c};return new a.AM(this.j().fg(),b,c,d)}return new y(this)};a.ir.prototype.LM=function(b,c){var d="vertical"==this.U.orientation?this.HJ:
this.uD;if(n.ZH(this)){if("vertical"==this.U.orientation)c=Math.max(Math.min(c,this.lg.y+this.lg.b),this.lg.y),e=Math.max((this.lg.y+this.lg.b-c)/d,this.U.min);else{b=Math.max(Math.min(b,this.lg.x+this.lg.a),this.lg.x);var e=0,e=a.A.ea(this.j())?Math.max((this.lg.x+this.lg.a-b)/d,this.U.min):Math.max((b-this.lg.x)/d,this.U.min)}return q.tka(this.U,e)}return null};a.ir.prototype.oBb=function(){this.kva(this.U.value,"render");this.dispatchEvent(a.kb.SL(this.U.value,this.U.value,!1))};a.ir.prototype.Gea=
function(a,b){this.eY(a,b)};a.ir.prototype.eY=function(b,c){var d=this.LM(b,c);this.kva(d,"hover");this.dispatchEvent(a.kb.SL(this.U.value,d,!1))};a.ir.prototype.gva=function(b,c){var d=this.U.value;this.U.value=this.LM(b,c);this.U.changed=!0;this.xa();this.dispatchEvent(a.kb.SL(d,this.U.value,!1));this.dispatchEvent(a.kb.SL(d,this.U.value,!0))};a.ir.prototype.kva=function(b,c,d){if(n.ZH(this)){d||(d=this.Ma);var e=a.A.ea(this.j()),g="vertical"==this.U.orientation,h=g?this.HJ:this.uD;b=Math.max(Math.min(b,
this.U.max),0);var m=0,I=b*h,l=b*h;"render"==c&&(m=b*h,I=0);if(g){if(c=d.vb(0),e=new a.Jd,e.Re(this.lg.x,this.lg.y,this.lg.a,this.lg.b-l),c.we(e),c=d.vb(1),e=new a.Jd,e.Re(this.lg.x,this.lg.y+this.lg.b-m,this.lg.a,m),c.we(e),m=d.vb(2))c=new a.Jd,c.Re(this.lg.x,this.lg.y+this.lg.b-I,this.lg.a,I),m.we(c)}else if(e){if(c=d.vb(0),e=new a.Jd,e.Re(this.lg.x,this.lg.y,this.lg.a-l,this.lg.b),c.we(e),c=d.vb(1),e=new a.Jd,e.Re(this.lg.x+this.lg.a-l,this.lg.y,m,this.lg.b),c.we(e),m=d.vb(2))c=new a.Jd,c.Re(this.lg.x+
this.lg.a-l,this.lg.y,I,this.lg.b),m.we(c)}else if(c=d.vb(0),e=new a.Jd,e.Re(this.lg.x+l,this.lg.y,this.lg.a-l,this.lg.b),c.we(e),c=d.vb(1),e=new a.Jd,e.Re(this.lg.x,this.lg.y,m,this.lg.b),c.we(e),m=d.vb(2))c=new a.Jd,c.Re(this.lg.x,this.lg.y,I,this.lg.b),m.we(c);this.Lta(d,b)}};a.ir.prototype.jZa=function(a){return this.Ma.vb(0).vb(a)};a.ir.prototype.GW=function(){return new C(this)};a.l.D(x,r);x.sf={unselectedState:{shape:"star",color:"#C4CED7",borderColor:null},selectedState:{shape:"star",color:"#F8C15A",
borderColor:null},hoverState:{shape:"star",color:"#007CC8",borderColor:null},changedState:{shape:"star",color:"#ED2C02",borderColor:null}};x.kg={min:0,max:5,orientation:"horizontal",unselectedState:{shape:"star",color:"#F2F2F2",borderColor:"#B6B6B6"},selectedState:{shape:"star",color:"#F8C15A",borderColor:"#F5A700"},hoverState:{shape:"star",color:"#66A7DA",borderColor:"#4A86C5"},changedState:{shape:"star",color:"#F8C15A",borderColor:"#959595"},preserveAspectRatio:"meet",step:1};a.l.D(y,a.Ej);y.prototype.xg=
function(a,b,c){a=this.Lg.B();b=this.Lg.jb().Zt?n.wV(this.Lg,this.Lg.LM(b,c)):n.wV(this.Lg);return(b=n.P0(this.Lg,b))&&b.shortDesc?b.shortDesc:a.shortDesc};var m={};a.l.D(m,a.l);m.xa=function(b,c,d,e){if(n.ZH(b)){d=b.B();e=n.wV(b);e=n.P0(b,e);var g=d.selectedState.color,h=d.changedState.color,l=d.selectedState.borderColor,I=d.changedState.borderColor;e&&e.color&&(h=g=e.color);e&&e.borderColor&&(I=l=e.borderColor);e={value:0,type:d.unselectedState.shape,color:d.unselectedState.color,borderColor:d.unselectedState.borderColor,
visualEffects:d.visualEffects,source:d.unselectedState.source,svgClassName:d.unselectedState.svgClassName,svgStyle:d.unselectedState.svgStyle};g={value:0,type:d.selectedState.shape,color:g,borderColor:l,visualEffects:d.visualEffects,source:d.selectedState.source,svgClassName:d.selectedState.svgClassName,svgStyle:d.selectedState.svgStyle};h={value:0,type:d.changedState.shape,color:h,borderColor:I,visualEffects:d.visualEffects,source:d.changedState.source,svgClassName:d.changedState.svgClassName,svgStyle:d.changedState.svgStyle};
I={value:0,type:d.hoverState.shape,color:d.hoverState.color,borderColor:d.hoverState.borderColor,visualEffects:d.visualEffects,source:d.hoverState.source,svgClassName:d.hoverState.svgClassName,svgStyle:d.hoverState.svgStyle};"dot"==d.unselectedState.shape&&(e.type="circle",e.visualEffects="none",e.size=.05);m.Pwa(b,c,e);m.Pwa(b,c,d.changed?h:g);d.readOnly||m.Pwa(b,c,I);b.kva(d.value,"render",c)}else q.fq(b,c,new a.ca(0,0,d,e))};m.Pwa=function(b,c,d){var e=b.j(),g=new a.ra(e);c.u(g);c=b.B();var h=
b.lg,m=b.uD;b=b.HJ;var I;d.source?(I=new a.Uf(e,m/2,b/2,m,b,null,d.source),I.joa("none")):"none"!=d.type&&(I=a.nD.newInstance(e,null,null,!0),I.xa(d,m,b));for(d=0;d<c.max;d++){var l,u;"vertical"==c.orientation?(l=h.x+h.a/2-m/2,u=h.y+h.b-(d+1)*b):(l=a.A.ea(e)?h.x+h.a-(d+1)*m:h.x+d*m,u=h.y+h.b/2-b/2);I&&(I.oe(c.svgClassName),I.ka(c.svgStyle),l=new a.kB(e,l,u,I),g.u(l))}};a.l.D(C,D);C.prototype.bB=function(a){if(!1===this.Lg.B().readOnly){var b=this.WI(a.pageX,a.pageY);this.Lg.Gea(b.x,b.y);this.Zt=!0}C.C.bB.call(this,
a)};C.prototype.jq=function(a){!1===this.Lg.B().readOnly&&(this.WI(a.pageX,a.pageY),this.Lg.oBb(),this.Zt=!1);C.C.jq.call(this,a)};C.prototype.aB=function(a){var b=this.WI(a.pageX,a.pageY);!1!==this.Lg.B().readOnly||this.Zt||this.Lg.B().value==this.Lg.LM(b.x,b.y)||(this.Zt=!0);C.C.aB.call(this,a)};C.prototype.no=function(a){D.C.no.call(this,a)};C.prototype.qm=function(a){this.Zt=!1;return C.C.qm.call(this,a)};C.prototype.lra=function(){return!0};a.ia(a,"DialGauge",a.Ms);a.ia(a,"LedGauge",a.nD);a.ia(a,
"RatingGauge",a.ir);a.ia(a,"StatusMeterGauge",a.nq);a.ia(a.Ms,"DialGauge",a.Ms);a.ia(a.Ms,"LedGauge",a.nD);a.ia(a.Ms,"RatingGauge",a.ir);a.ia(a.Ms,"StatusMeterGauge",a.nq);a.ia(t.prototype,"getAutomation",t.prototype.Di);a.ia(t.prototype,"destroy",t.prototype.Ea);a.ia(t.prototype,"render",t.prototype.xa);a.ia(F.prototype,"getDomElementForSubId",F.prototype.ji);a.ia(F.prototype,"getValue",F.prototype.getValue);a.ia(F.prototype,"getMetricLabel",F.prototype.oVb);a.yPa=H})(dvt);