/*!@license
* Infragistics.Web.ClientUI infragistics.radialmenu.js 21.2.20212.99
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
*     jquery-1.4.4.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*     infragistics.ext_core.js
*     infragistics.ext_collections.js
*     infragistics.ext_collectionsExtended.js
*     infragistics.dv_interactivity.js
*     infragistics.dv_core.js
*     infragistics.dv_jquerydom.js
*     infragistics.ext_ui.js
*/
(function(factory){if(typeof define==="function"&&define.amd){define(["./infragistics.util","./infragistics.ext_core","./infragistics.ext_collections","./infragistics.ext_collectionsExtended","./infragistics.dv_interactivity","./infragistics.dv_visualdata","./infragistics.dv_core","./infragistics.dv_jquerydom","./infragistics.ext_ui"],factory)}else{factory(igRoot)}})(function($){$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$a9=$$t;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["DeferredOperation:a","Object:b","Type:c","Boolean:d","ValueType:e","Void:f","IConvertible:g","IFormatProvider:h","Number:i","String:j","IComparable:k","Number:l","IComparable$1:m","IEquatable$1:n","Number:o","Number:p","Number:q","NumberStyles:r","Enum:s","Array:t","IList:u","ICollection:v","IEnumerable:w","IEnumerator:x","Error:y","Error:z","Number:aa","String:ab","StringComparison:ac","RegExp:ad","CultureInfo:ae","DateTimeFormat:af","Calendar:ag","Date:ah","Number:ai","DayOfWeek:aj","DateTimeKind:ak","CalendarWeekRule:al","NumberFormatInfo:am","CompareInfo:an","CompareOptions:ao","IEnumerable$1:ap","IEnumerator$1:aq","IDisposable:ar","StringSplitOptions:as","Number:at","Number:au","Number:av","Number:aw","Number:ax","Number:ay","Assembly:az","Stream:a0","SeekOrigin:a1","RuntimeTypeHandle:a2","MethodInfo:a3","MethodBase:a4","MemberInfo:a5","ParameterInfo:a6","TypeCode:a7","ConstructorInfo:a8","PropertyInfo:a9","Action:ba","MulticastDelegate:bb","IntPtr:bc","window:bd","Callback:be","WebStyle:bf","Element:bg","Node:bh","ElementAttributeCollection:bi","ElementCollection:bj","ElementNodeType:bk","document:bl","EventListener$1:bm","Event:bn","DOMTokenList:bo","EventListener:bp","IElementEventHandler:bq","ElementEventHandler:br","ElementAttribute:bs","List$1:bt","IList$1:bu","ICollection$1:bv","IArray:bw","Script:bx","IArrayList:by","Array:bz","CompareCallback:b0","Func$3:b1","Action$1:b2","Comparer$1:b3","IComparer:b4","IComparer$1:b5","DefaultComparer$1:b6","Comparison$1:b7","ReadOnlyCollection$1:b8","Predicate$1:b9","NotImplementedException:ca","TimedOperation:cb","EventHandler:cc","EventArgs:cd","LiteRect:ce","LiteRectExtensions:cf","Rect:cg","Size:ch","Point:ci","Math:cj","PathBuilder:ck","Geometry:cl","GeometryType:cm","PathMarkupParser:cn","PathMarkupToken:co","PathMarkupTokenType:cp","PathGeometry:cq","PathFigureCollection:cr","PathFigure:cs","PathSegmentCollection:ct","PathSegment:cu","PathSegmentType:cv","LineSegment:cw","BezierSegment:cx","ArcSegment:cy","SweepDirection:cz","InvalidOperationException:c0","ShapeUtilities:c1","AnnularSector:c2","Annulus:c3","Ellipse:c4","ShapeDefinition:c5","Brush:c6","Color:c7","ArgumentException:c8","CssGradientUtil:c9","GradientStop:da","LinearGradientBrush:db","Transform:dc","DependencyObject:dd","Dictionary:de","DependencyProperty:df","PropertyMetadata:dg","PropertyChangedCallback:dh","DependencyPropertyChangedEventArgs:di","DependencyPropertiesCollection:dj","UnsetValue:dk","Binding:dl","PropertyPath:dm","PolyBezierSegment:dn","PointCollection:dp","TriangleShape:dq","EllipseSector:dr","LineSegmentShape:ds","LineGeometry:dt","Func$2:du","KeyTipInfo:dv","KeyTipManager:dw","FrameworkElement:dx","UIElement:dy","Visibility:dz","Style:d0","KeyTipExtensions:d1","RadialMenuItemBaseCollection:d2","ObservableCollection$1:d3","INotifyCollectionChanged:d4","NotifyCollectionChangedEventHandler:d5","NotifyCollectionChangedEventArgs:d6","NotifyCollectionChangedAction:d7","INotifyPropertyChanged:d8","PropertyChangedEventHandler:d9","PropertyChangedEventArgs:ea","Delegate:eb","Interlocked:ec","RadialMenuItemBase:ed","Control:ee","Thickness:ef","HorizontalAlignment:eg","VerticalAlignment:eh","XamRadialMenu:ei","DataTemplate:ej","DataTemplateRenderHandler:ek","DataTemplateRenderInfo:el","DataTemplatePassInfo:em","DataTemplateMeasureHandler:en","DataTemplateMeasureInfo:eo","DataTemplatePassHandler:ep","EasingFunctionHandler:eq","Panel:er","UIElementCollection:es","RadialMenuFrame:et","RadialMenuItemPosition:eu","Dictionary$2:ev","IDictionary$2:ew","KeyValuePair$2:ex","IDictionary:ey","IEqualityComparer$1:ez","EqualityComparer$1:e0","IEqualityComparer:e1","DefaultEqualityComparer$1:e2","Thread:e3","ThreadStart:e4","RadialMenuItemFrame:e5","TextDefinition:e6","TextBlock:e7","FontInfo:e8","FontUtil:e9","DomRenderer:fa","DomWrapper:fb","DomWrapperPosition:fc","INormalizedEvent:fd","CanvasContext2D:fe","CanvasContext:ff","TextMetrics:fg","ImageData:fh","CanvasElement:fi","Gradient:fj","DomPortal:fk","RenderingContext:fl","IRenderer:fm","Rectangle:fn","Shape:fo","DoubleCollection:fp","PenLineJoin:fq","Path:fr","Polygon:fs","Polyline:ft","ContentControl:fu","Line:fv","RadialMenuItemVisualData:fw","IVisualData:fx","PrimitiveVisualData:fy","PrimitiveAppearanceData:fz","ColorData:f0","BrushAppearanceData:f1","RectData:f2","StringBuilder:f3","Environment:f4","ShapeTags:f5","PointData:f6","GetPointsSettings:f7","AppearanceHelper:f8","LinearGradientBrushAppearanceData:f9","GradientStopAppearanceData:ga","SolidBrushAppearanceData:gb","GeometryData:gc","GeometryGroup:gd","GeometryCollection:ge","FillRule:gf","RectangleGeometry:gg","EllipseGeometry:gh","EllipseGeometryData:gi","RectangleGeometryData:gj","LineGeometryData:gk","PathGeometryData:gl","PathFigureData:gm","SegmentData:gn","LineSegmentData:go","PolyLineSegment:gp","PolylineSegmentData:gq","ArcSegmentData:gr","PolyBezierSegmentData:gs","BezierSegmentData:gt","LabelAppearanceData:gu","RotateTransform:gv","TransformGroup:gw","TransformCollection:gx","RadialMenuWedgePart:gy","Stack$1:gz","ReverseArrayEnumerator$1:g0","RadialMenuItemLevel:g1","RadialMenuItem:g2","OuterRingButtonType:g3","RadialMenuChildItemPlacement:g4","RadialMenuCheckBehavior:g5","Action$2:g6","XamRadialMenuView:g7","JQueryObject:g8","JQueryPosition:g9","JQueryCallback:ha","JQueryEvent:hb","JQueryUICallback:hc","JQueryDomWrapper:hd","JQueryDomRenderer:he","JQuery:hf","JQueryDeferred:hg","JQueryPromise:hh","CssHelper:hi","EventProxy:hj","ModifierKeys:hk","Func$4:hl","MouseWheelHandler:hm","GestureHandler:hn","ZoomGestureHandler:ho","FlingGestureHandler:hp","ContactHandler:hq","TouchHandler:hr","MouseOverHandler:hs","MouseHandler:ht","KeyHandler:hu","Key:hv","CssClassChain$1:hw","Tuple$2:hx","CssProperty:hy","RadialMenuNumericGauge:hz","EventHandler$1:h0","RadialMenuNumericValueChangedEventArgs:h1","RadialMenuValueChangedEventArgs$1:h2","RadialMenuNumericGaugeFrame:h3","RadialMenuNumericGaugeVisualData:h4","RadialMenuNumericGaugeTickmarkDataList:h5","RadialMenuNumericGaugeTickmarkData:h6","PathVisualData:h7","RadialMenuNumericGaugeNeedleData:h8","PrimitiveVisualDataList:h9","ColorUtil:ia","Random:ib","InterpolationMode:ic","MathUtil:id","RadialMenuNumericItem:ie","RadialMenuItemOverlayTemplates:ig","CanvasViewRenderer:ih","CoreGeometryUtil:ii","TranslateTransform:ij","ScaleTransform:ik","RadialMenuUpdateVisualResult:il","RadialMenuUtilities:im","ColorNameCalculator:io","DoubleAnimator:ip","RadialMenuItemView:iq","TextContainer:ir","ImageElement:is","ImageManager:it","RadialMenuItemToolTipVisualData:iu","CssDpCache:iv","CssPropCacheBase$2:iw","CssPropCache$1:ix","RadialMenuPart:iy","RadialMenuDOMEventProxy:iz","DOMEventProxy:i0","BaseDOMEventProxy:i1","MouseEventArgs:i2","MSGesture:i3","Image:i4","RadialMenuColorWell:i5","RadialMenuColorItemBase:i6","RadialMenuColorChangedEventArgs:i7","RadialMenuColorItem:i8","RadialMenuVisualData:i9","RadialMenuItemVisualDataList:ja","ColorWellPreviewDataList:jb","ColorWellPreviewData:jc","RadialMenuPointerArea:jd","RadialMenuInvalidation:je","StackPool$1:jf","Func$1:jg","RadialMenuPointerAnimationInfo:jh","RadialMenuAnimation:ji","Enumerable:jj","IOrderedEnumerable$1:jk","SortedList$1:jl","ArgumentNullException:jm","BrushUtil:jn","BrushCollection:jo","Nullable:jp","ArgumentOutOfRangeException:jq","BindingExpression:jr","PropertyStep:js","AbstractEnumerable:jt","AbstractEnumerator:ju","GenericEnumerable$1:jv","GenericEnumerator$1:jw"]);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,$ag=$.ig.util.isDigit,$ah=$.ig.util.isDigit1,$ai=$.ig.util.isLetter,$aj=$.ig.util.isNumber,$ak=$.ig.util.isLetterOrDigit,$al=$.ig.util.isLower,$am=$.ig.util.toLowerCase,$an=$.ig.util.toUpperCase;$d("RadialMenuCheckBehavior:g5",false,false,{None:0,CheckBox:1,RadioButton:2,RadioButtonAllowAllUp:3});$d("RadialMenuChildItemPlacement:g4",false,false,{AsChildren:0,AsSiblingsWhenChecked:1,None:2});$d("OuterRingButtonType:g3",false,false,{None:0,ToolAreaClick:1,NavigateToChildren:2});$d("RadialMenuAnimation:ji",false,false,{None:0,ExpandCollapse:1,NavigateMenu:2,NavigateToChildColor:3,NavigateToParentColor:4});$d("RadialMenuPointerArea:jd",false,false,{None:0,OuterRingButton:1,ToolArea:2,CenterButton:3,DisabledMenu:4});$d("RadialMenuPart:iy",false,false,{Menu:0,OuterRing:1,InnerRingFocus:2,InnerRing:3});$d("RadialMenuWedgePart:gy",false,false,{OuterRing:0,ToolArea:1,ToolCheckmark:2,ToolHighlight:3,OuterRingArrow:4,ColorWellPreview:5});$d("RadialMenuInvalidation:je",false,false,{None:0,InvalidateCustomVisuals:1,RenderFrame:2,PrepareFrame:3});$d("RadialMenuUpdateVisualResult:il",true,false,{NoChange:0,UpdateShapes:1,UpdateTextElements:2});$d("CssProperty:hy",false,false,{BackgroundColor:0,BorderTopColor:1,BorderTopStyle:2,BorderTopWidth:3,BorderTopLeftRadius:4,PaddingTop:5,Color:6});$c("DeferredOperation:a","Object",{h:null,g:0,b:null,c:false,init:function(a){$.ig.$op.init.call(this);this.b=a},d:function(){return this.h!=null},e:function(){return this.c},k:function(){if(this.h==null){return}this.h=null;var a=this.c;this.c=true;try{this.b()}finally{this.c=a}},i:function(){if(this.h!=null){this.h=null;if(this==$$t.$a.a){window.clearTimeout(this.g)}else if($$t.$a.f.remove(this)&&$$t.$a.f.count()==0){$$t.$a.a.i()}}},m:function(){var $self=this;if(this.h!=null){return}if($$t.$a.a==null){$$t.$a.j()}var a={};this.h=a;if(this==$$t.$a.a){this.g=window.setTimeout(function(){$self.l(a)},0)}else{$$t.$a.f.add(this);$$t.$a.a.m()}},j:function(){if($$t.$a.a==null){$$t.$a.f=new $$t.bt($$t.$a.$type,0);$$t.$a.a=new $$t.a(function(){var a=$$t.$a.f.toArray();$$t.$a.f.clear();for(var b=0;b<a.length;b++){if(a[b]!=null){a[b].k()}}})}},l:function(a){if(a!=this.h){return}this.k()},$type:new $.ig.Type("DeferredOperation",$.ig.$ot)},true);$c("TimedOperation:cb","Object",{b:0,a:null,init:function(a,b){$.ig.$op.init.call(this);this.a=a;this.b=window.setTimeout(this.d.runOn(this),b)},c:function(){if(this.a!=null){window.clearTimeout(this.b)}this.a=null},d:function(){if(this.a!=null){var a=this.a;this.a=null;a()}},$type:new $.ig.Type("TimedOperation",$.ig.$ot)},true);$c("LiteRect:ce","ValueType",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$e.init.call(this)},x:0,y:0,width:0,height:0,init1:function(a,b,c,d,e){$$t.$e.init.call(this);this.x=b;this.y=c;this.width=d;this.height=e},$type:new $.ig.Type("LiteRect",$$t.$e.$type)},true);$c("LiteRectExtensions:cf","Object",{init:function(){$.ig.$op.init.call(this)},c:function(a){if($$t.$cf.a(a)){return $$t.$cg.empty()}return new $$t.cg(0,a.x,a.y,a.width,a.height)},b:function(a,b){return a.x==b.x&&a.y==b.y&&a.width==b.width&&a.height==b.height},a:function(a){return a.width<0},$type:new $.ig.Type("LiteRectExtensions",$.ig.$ot)},true);$c("PathBuilder:ck","Object",{h:null,g:null,i:null,init:function(){$.ig.$op.init.call(this);this.h=new $$t.cq},b:function(a,b,c){if($$t.$cf.a(a)){return}var d=c<0?0:1;var e=Math.abs(c)>Math.PI;var f=b+c;var g=a.width/2;var h=a.height/2;var i=g*h/Math.sqrt($$t.$ck.a(h*Math.cos(b))+$$t.$ck.a(g*Math.sin(b)));var j=a.x+i*Math.cos(b)+g;var k=a.y+i*Math.sin(b)+h;var l=g*h/Math.sqrt($$t.$ck.a(h*Math.cos(f))+$$t.$ck.a(g*Math.sin(f)));var m=a.x+l*Math.cos(f)+g;var n=a.y+l*Math.sin(f)+h;var o=$$t.$c1.q(a,b);var p=$$t.$c1.q(a,f);j=o.__x;k=o.__y;m=p.__x;n=p.__y;this.e({__x:j,__y:k,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},false);this.i.add(function(){var $ret=new $$t.cy;$ret._e={__x:m,__y:n,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};$ret._f=new $$t.ch(1,g,h);$ret._c=0;$ret._b=e;$ret._d=d;return $ret}())},c:function(a,b,c,d,e){var f=$$t.$c1.a(a,b,c,d);var g=f.length;if(e){for(var h=0;h<$a(g,2);h++){var i=f[g-h-1];f[g-h-1]=f[h];f[h]=i}}this.e(f[0],true);var j=new $$t.dn;for(var k=1;k<g;k++){j._b.add(f[k])}this.i.add(j)},d:function(a,b){this.e(a,false);this.i.add(function(){var $ret=new $$t.cw(1);$ret.c(b);return $ret}())},f:function(){return this.h},e:function(a,b){if(this.g==null||b){this.g=new $$t.cs;this.i=this.g.__segments;this.g.__startPoint=a;this.h._c.add(this.g)}},a:function(a){return a*a},$type:new $.ig.Type("PathBuilder",$.ig.$ot)},true);$c("ShapeDefinition:c5","Object",{init:function(){$.ig.$op.init.call(this)},c:null,_g:null,_d:null,_e:null,_b:0,_h:null,a:function(a){},f:function(a){},$type:new $.ig.Type("ShapeDefinition",$.ig.$ot)},true);$c("Ellipse:c4","ShapeDefinition",{init:function(){this.k=new $$t.ci(0);$$t.$c5.init.call(this)},k:null,i:0,j:0,a:function(a){return $$t.$c1.h($$t.$c1.j(this.k,this.i,this.j,a),0)},f:function(a){var b=new $$t.ck;var c=a/2;b.c(this.k.__x,this.k.__y,this.i-c,this.j-c,false);return b.f()},$type:new $.ig.Type("Ellipse",$$t.$c5.$type)},true);$c("Annulus:c3","Ellipse",{init:function(){$$t.$c4.init.call(this)},l:0,m:0,a:function(a){if(!$$t.$c4.a.call(this,a)){return false}return $$t.$c1.f($$t.$c1.j(this.k,this.l,this.m,a),0)},f:function(a){var b=new $$t.ck;var c=a/2;b.c(this.k.__x,this.k.__y,this.i-c,this.j-c,false);b.c(this.k.__x,this.k.__y,this.l+c,this.m+c,true);return b.f()},$type:new $.ig.Type("Annulus",$$t.$c4.$type)},true);$c("TriangleShape:dq","ShapeDefinition",{init:function(){this.i=new $$t.ci(0);this.j=new $$t.ci(0);this.k=new $$t.ci(0);$$t.$c5.init.call(this)},i:null,j:null,k:null,a:function(a){return $$t.$c1.p(this.i,this.j,this.k,a)<=0},f:function(a){var $self=this;var b=new $$t.cq;var c=new $$t.cs;c.__startPoint=this.i;c.__isClosed=true;c.__segments.add(function(){var $ret=new $$t.cw(1);$ret.c($self.j);return $ret}());c.__segments.add(function(){var $ret=new $$t.cw(1);$ret.c($self.k);return $ret}());b._c.add(c);return b},$type:new $.ig.Type("TriangleShape",$$t.$c5.$type)},true);$c("EllipseSector:dr","Ellipse",{init:function(){this.l=0;this.m=0;$$t.$c4.init.call(this)},l:0,m:0,a:function(a){return $$t.$c1.h($$t.$c1.j(this.k,this.i,this.j,a),0)&&$$t.$c1.g(this.l,this.m,this.k,this.i,this.j,a)},f:function(a){var b=$$t.$c1.k(this.m);if(b==6.283185307179586){return $$t.$c4.f.call(this,a)}var c=new $$t.ck;var d=a/2;var e=new $$t.ce(1,this.k.__x-this.i,this.k.__y-this.j,this.i*2,this.j*2);e=$$t.$c1.d(e,-d,-d);var f=$$t.$c1.q(e,this.l);var g=$$t.$c1.q(e,this.l+this.m);c.d(this.k,f);c.b(e,this.l,this.m);c.d(g,this.k);return c.f()},$type:new $.ig.Type("EllipseSector",$$t.$c4.$type)},true);$c("AnnularSector:c2","Annulus",{init:function(){$$t.$c3.init.call(this)},p:0,q:0,n:0,o:0,a:function(a){if(!$$t.$c3.a.call(this,a)){return false}return $$t.$c1.f($$t.$c1.j(this.k,this.l,this.m,a),0)&&$$t.$c1.g(this.n,this.o,this.k,this.l,this.m,a)},f:function(a){if($$t.$c1.f(this.q,6.283185307179586)){return $$t.$c3.f.call(this,a)}var b=new $$t.ck;var c=a/2;var d=new $$t.ce(1,this.k.__x-this.i,this.k.__y-this.j,this.i*2,this.j*2);var e=new $$t.ce(1,this.k.__x-this.l,this.k.__y-this.m,this.l*2,this.m*2);var f=this.q;var g=this.o;b.b(d,this.p,f);b.d($$t.$c1.q(d,this.p+f),$$t.$c1.q(e,this.n));b.b(e,this.n,g);b.d($$t.$c1.q(e,this.n+g),$$t.$c1.q(d,this.p));return b.f()},$type:new $.ig.Type("AnnularSector",$$t.$c3.$type)},true);$c("LineSegmentShape:ds","ShapeDefinition",{init:function(){this.j=new $$t.ci(0);this.i=new $$t.ci(0);$$t.$c5.init.call(this)},j:null,i:null,f:function(a){var $self=this;if(a==0){return null}return function(){var $ret=new $$t.dt;$ret._d=$self.j;$ret._c=$self.i;return $ret}()},a:function(a){var b=this._b==0?0:this._b/2;var c=function(d){return d*d};var d=Math.sqrt(c(this.j.__x-this.i.__x)+c(this.j.__y-this.i.__y));var e=Math.sqrt(c(this.j.__x-a.__x)+c(this.j.__y-a.__y));var f=Math.sqrt(c(this.i.__x-a.__x)+c(this.i.__y-a.__y));var g=Math.abs(e+f-d);return g<b},$type:new $.ig.Type("LineSegmentShape",$$t.$c5.$type)},true);$c("ShapeUtilities:c1","Object",{init:function(){$.ig.$op.init.call(this)},e:function(a,b){if(a==b){return true}return Math.abs(a-b)<1e-6},b:function(a,b,c,d,e,f,g){if(b<0){b=0}if(c<0){c=0}if(d<0){d=0}if(e<0){e=0}var h=new $$t.c2;var i=a.x+a.width/2;var j=a.y+a.height/2;h.k={__x:i,__y:j,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};h.i=b;h.j=c;h.l=d;h.m=e;var k=new $$t.ce(1,i-b,j-c,b*2,c*2);h.p=$$t.$c1.n(a,f,k);h.q=$$t.$c1.n(a,g,k)-h.p;var l=new $$t.ce(1,i-d,j-e,d*2,e*2);h.n=$$t.$c1.n(a,g,l);h.o=$$t.$c1.n(a,f,l)-h.n;if(g>f&&$$t.$c1.h(h.q,0)){h.q=h.q+6.283185307179586;h.o=h.o-6.283185307179586}return h},c:function(a){var b=a.width/2*$$t.$c1.m;var c=a.height/2*$$t.$c1.m;var d=a.x+a.width/2;var e=a.y+a.height/2;return new $$t.ce(1,d-b,e-c,b*2,c*2)},a:function(a,b,c,d){var e=.5522847498307936;var f=c*e;var g=d*e;return[{__x:a,__y:b-d,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},{__x:a+f,__y:b-d,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},{__x:a+c,__y:b-g,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},{__x:a+c,__y:b,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},{__x:a+c,__y:b+g,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},{__x:a+f,__y:b+d,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},{__x:a,__y:b+d,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},{__x:a-f,__y:b+d,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},{__x:a-c,__y:b+g,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},{__x:a-c,__y:b,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},{__x:a-c,__y:b-g,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},{__x:a-f,__y:b-d,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},{__x:a,__y:b-d,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}]},q:function(a,b){var c=a.width/2;var d=a.height/2;var e=c*Math.cos(b);var f=d*Math.sin(b);return{__x:e+c+a.x,__y:f+d+a.y,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},i:function(a,b){a=$$t.$c1.k(a);b=$$t.$c1.k(b);var c=Math.abs(a-b);return Math.min(6.283185307179586-c,c)},f:function(a,b){return a>=b||$$t.$c1.e(a,b)},j:function(a,b,c,d){var e=d.__x-a.__x;var f=d.__y-a.__y;var g=e*e/(b*b)+f*f/(c*c);return g-1},p:function(a,b,c,d){var e=d;var f=(b.__x-a.__x)*(c.__y-a.__y)-(c.__x-a.__x)*(b.__y-a.__y);var g=Math.sign(((b.__x-e.__x)*(c.__y-e.__y)-(c.__x-e.__x)*(b.__y-e.__y))/f);var h=Math.sign(((c.__x-e.__x)*(a.__y-e.__y)-(a.__x-e.__x)*(c.__y-e.__y))/f);var i=Math.sign(((a.__x-e.__x)*(b.__y-e.__y)-(b.__x-e.__x)*(a.__y-e.__y))/f);if(g==h&&h==i){return-1}if(g==0||h==0||i==0){return 0}return 1},d:function(a,b,c){if(!$$t.$cf.a(a)){a=new $$t.ce(1,a.x,a.y,a.width,a.height);a.x-=b;a.y-=c;a.width=a.width+b*2;a.height=a.height+c*2}return a},g:function(a,b,c,d,e,f){var g=$$t.$c1.l(c,d,e,f);g=$$t.$c1.k(g);var h=a+b;if(h<a){var i=a;a=h;h=i}if(a<-Math.PI){return g<h||g>a+6.283185307179586}else if(h>Math.PI){return g>a||g<h+6.283185307179586}return a<=g&&g<=h},h:function(a,b){return a<=b||$$t.$c1.e(a,b)},k:function(a){a%=6.283185307179586;if(a>Math.PI){a-=6.283185307179586}else if(a<-Math.PI){a+=6.283185307179586}return a},l:function(a,b,c,d){return Math.atan2((d.__y-a.__y)*(b/c),d.__x-a.__x)},n:function(a,b,c){var d=$$t.$c1.q(a,b);var e=c.width/2;var f=c.height/2;return $$t.$c1.l({__x:c.x+e,__y:c.y+f,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},e,f,d)},$type:new $.ig.Type("ShapeUtilities",$.ig.$ot)},true);$c("KeyTipInfo:dv","Object",{init:function(){this.e=null;this.b="\0";$.ig.$op.init.call(this)},e:null,b:"\0",h:null,f:null,_g:null,_a:null,_d:null,_c:null,$type:new $.ig.Type("KeyTipInfo",$.ig.$ot)},true);$c("KeyTipManager:dw","Object",{h:null,t:null,d:null,f:null,init:function(a){$.ig.$op.init.call(this);this.t=a;this.d=new $$t.bt($$t.$dv.$type,0)},a:function(){return this.d.count()>0},e:function(){return this.d},c:function(a){var b=false;for(var c=0;c<a.length;c++){var d=a.charAt(c);if(!$$t.$dw.b(d)){continue}var e=this.h+d;var f=e.toLocaleUpperCase(this.f);var g=false;var i=this.d.getEnumerator();while(i.moveNext()){var h=i.current();if(f==h.f){this.h=null;h._a(h);return true}else if(h.f.startsWith(f)){b=g=true;break}}if(g){this.h=e}}return b},p:function(){this.k();var a=new $$t.bt($$t.$dv.$type,0);var c=this.d.getEnumerator();while(c.moveNext()){var b=c.current();if(String.isNullOrEmpty(b.f)){a.add(b)}}this.n(a);this.l(a);this.m(a);this.o(a);this.q();this.s()},r:function(){this.d.clear();this.h=null},g:function(a,b){return a.f.compareTo(b.f)},i:function(a){if(a<0){return null}var b=a;if(b<=9){return $z(b,this.f)}var c=19;if(b<c){return"0"+$z(c-b,this.f)}b-=c;if(b>25){return null}var d=String.fromCharCode("A".charCodeAt(0)+b);return"0"+d},j:function(a){var b=a.e;var c=String.empty();if(String.isNullOrEmpty(b)){return c}for(var d=0;d<b.length;d++){var e=b.charAt(d);if(c.length==2){break}if($$t.$dw.b(e)){c+=e}}return c},k:function(){var a=$$t.$ae.currentCulture();this.f=a},l:function(a){for(var b=0;b<a.count();b++){var c=a.__inner[b];var d=c._g;if(String.isNullOrEmpty(d)){continue}var e=this.j(c);var f=String.empty();for(var g=0,h=d.length;g<h;g++){var i=d.charAt(g);if($$t.$dw.b(i)==false){continue}var j=(e+i).toLocaleUpperCase(this.f);if(f.length==0){f=j}var k=false;var m=this.d.getEnumerator();while(m.moveNext()){var l=m.current();if(l.f==null){continue}if(l.f.startsWith(j)){k=true;break}}if(k==false){c.f=j;break}}if(String.isNullOrEmpty(c.f)){if(f.length==0){c.f=e}else{c.f=f}}if(!String.isNullOrEmpty(c.f)){a.removeAt(b);b--}}},n:function(a){for(var b=a.count()-1;b>=0;b--){var c=a.__inner[b];if(!String.isNullOrEmpty(c.h)){c.f=c.h;a.removeAt(b)}}},m:function(a){var b=1;for(var c=0;c<a.count();c++){var d=null;do{d=this.i(b++);if(d==null){return}var f=this.d.getEnumerator();while(f.moveNext()){var e=f.current();if(e.f==d){d=null;break}}if(d!=null){a.__inner[c].f=d;a.removeAt(c);c--;break}}while(true)}},o:function(a){for(var b=0;b<a.count();b++){var c=a.__inner[b];c.f=this.j(c);if(String.isNullOrEmpty(c.f)){var d=c.b;if($$t.$dw.b(d)){c.f=d}}if(!String.isNullOrEmpty(c.f)){a.removeAt(b);b--}}},b:function(a){return true},q:function(){for(var a=this.d.count()-1;a>=0;a--){var b=this.d.__inner[a];if(String.isNullOrEmpty(b.f)){this.d.removeAt(a)}}},s:function(){var a=new $$t.bt($$t.$dv.$type,1,this.d);var b=0;var c;do{c=false;a.sort2(this.g.runOn(this));var d=null;for(var e=b;e<a.count()-1;e++){var f=a.__inner[e];var g=a.__inner[e+1];if(f.f==g.f){if(d==null){d=new $$t.bt($$t.$dv.$type,0)}else{d.clear()}d.add(f);d.add(g);for(e+=2;e<a.count();e++){var h=a.__inner[e];if(h.f!=f.f){break}d.add(h)}var i=$.ig.truncate(Math.floor(Math.log10(d.count()-1)))+1;for(var j=0;j<d.count();j++){var k=d.__inner[j];var l=$z(j+1,this.f).padLeft(i,"0");if(l.length>i){l=l.substr(l.length-i)}k.f=String.concat(k.f,l)}c=true;break}else if(g.f.startsWith(f.f)){f.f=String.concat(f.f,f.f=="0"?"0":"1");c=true;break}else{b=e+1}}}while(c)},$type:new $.ig.Type("KeyTipManager",$.ig.$ot)},true);$c("KeyTipExtensions:d1","Object",{init:function(){$.ig.$op.init.call(this)},b:function(a,b){return a.toUpperCase()},a:function(a,b){return a.toString()},$type:new $.ig.Type("KeyTipExtensions",$.ig.$ot)},true);$c("XamRadialMenu:ei","Control",{fa:null,e8:null,e7:null,e9:null,e6:null,go:null,gp:null,gn:null,gm:null,ah:null,bf:null,bg:null,bi:null,aj:0,bk:null,bh:null,az:null,bj:null,a0:null,am:0,ak:null,gj:null,a4:false,a3:false,a5:false,cc:null,a2:null,ap:null,ar:null,aq:null,al:null,ag:null,a1:null,bl:null,staticInit:function(){},init:function(){var $self=this;this.aj=3;this.bo=1;this.ax=new $$t.ce(1,0,0,0,0);$$t.$ee.init.call(this);this.bl=new $$t.d2(function(a,b){a.cg(b?$self:null)});this.fa=new $$t.er;this.e9=new $$t.er;this.e7=new $$t.er;this.e8=new $$t.er;this.e6=new $$t.er;this.fa._s=100;this.e9._s=200;this.e7._s=300;this.e8._s=400;this.e6._s=500;this.ag=new $$t.dw(this);this.bf=new $$t.ev($$t.$gy.$type,$$t.$bt.$type.specialize($$t.$fr.$type),0);this.bg=new $$t.ev($$t.$gy.$type,$$t.$jf.$type.specialize($$t.$fr.$type),0);this.bi=new $$t.bt($$t.$jh.$type,0);this.ah=new $$t.et;this.bk=new $$t.gz($$t.$g1.$type);var a=new $$t.g7(this);this.bh=new $$t.bt($$t.$fr.$type,0);this.az=function(){var $ret=new $$t.jf($$t.$fr.$type);$ret._b=a.bf.runOn(a);$ret._c=a.bg.runOn(a);$ret._j=function(){return a.b5()};$ret._d=function(b){a.as(b)};return $ret}();this.bj=new $$t.bt($$t.$e7.$type,0);this.a0=function(){var $ret=new $$t.jf($$t.$e7.$type);$ret._b=a.a1.runOn(a);$ret._c=a.a2.runOn(a);$ret._j=a.bz.runOn(a);$ret._d=a.a3.runOn(a);return $ret}();this._ao=a;this.go=a.b6(0);this.gp=a.b6(1);this.gn=a.b6(3);this.gm=a.b6(2);a.ba();this.bk.push(new $$t.g1(this,null,null,a.y(),null));a.br()},centerButtonContentWidth:function(a){if(arguments.length===1){this.h($$t.$ei.centerButtonContentWidthProperty,a);return a}else{return this.c($$t.$ei.centerButtonContentWidthProperty)}},centerButtonContentHeight:function(a){if(arguments.length===1){this.h($$t.$ei.centerButtonContentHeightProperty,a);return a}else{return this.c($$t.$ei.centerButtonContentHeightProperty)}},centerButtonClosedFill:function(a){if(arguments.length===1){this.h($$t.$ei.centerButtonClosedFillProperty,a);return a}else{return this.c($$t.$ei.centerButtonClosedFillProperty)}},centerButtonClosedStroke:function(a){if(arguments.length===1){this.h($$t.$ei.centerButtonClosedStrokeProperty,a);return a}else{return this.c($$t.$ei.centerButtonClosedStrokeProperty)}},centerButtonFill:function(a){if(arguments.length===1){this.h($$t.$ei.centerButtonFillProperty,a);return a}else{return this.c($$t.$ei.centerButtonFillProperty)}},centerButtonHotTrackFill:function(a){if(arguments.length===1){this.h($$t.$ei.centerButtonHotTrackFillProperty,a);return a}else{return this.c($$t.$ei.centerButtonHotTrackFillProperty)}},centerButtonHotTrackStroke:function(a){if(arguments.length===1){this.h($$t.$ei.centerButtonHotTrackStrokeProperty,a);return a}else{return this.c($$t.$ei.centerButtonHotTrackStrokeProperty)}},centerButtonContent:function(a){if(arguments.length===1){this.h($$t.$ei.centerButtonContentProperty,a);return a}else{return this.c($$t.$ei.centerButtonContentProperty)}},centerButtonKeyTip:function(a){if(arguments.length===1){this.h($$t.$ei.centerButtonKeyTipProperty,a);return a}else{return this.c($$t.$ei.centerButtonKeyTipProperty)}},centerButtonStroke:function(a){if(arguments.length===1){this.h($$t.$ei.centerButtonStrokeProperty,a);return a}else{return this.c($$t.$ei.centerButtonStrokeProperty)}},centerButtonStrokeThickness:function(a){if(arguments.length===1){this.h($$t.$ei.centerButtonStrokeThicknessProperty,a);return a}else{return this.c($$t.$ei.centerButtonStrokeThicknessProperty)}},currentOpenMenuItem:function(a){if(arguments.length===1){this.h($$t.$ei.currentOpenMenuItemProperty,a);return a}else{return this.c($$t.$ei.currentOpenMenuItemProperty)}},font:function(a){if(arguments.length===1){this.h($$t.$ei.fontProperty,a);return a}else{return this.c($$t.$ei.fontProperty)}},isOpen:function(a){if(arguments.length===1){this.h($$t.$ei.isOpenProperty,a);return a}else{return this.c($$t.$ei.isOpenProperty)}},items:function(){return this.bl},keyTipTemplate:function(a){if(arguments.length===1){this.h($$t.$ei.keyTipTemplateProperty,a);return a}else{return this.c($$t.$ei.keyTipTemplateProperty)}},menuBackground:function(a){if(arguments.length===1){this.h($$t.$ei.menuBackgroundProperty,a);return a}else{return this.c($$t.$ei.menuBackgroundProperty)}},menuItemOpenCloseAnimationDuration:function(a){if(arguments.length===1){this.h($$t.$ei.menuItemOpenCloseAnimationDurationProperty,a);return a}else{return $h(this.c($$t.$ei.menuItemOpenCloseAnimationDurationProperty))}},menuItemOpenCloseAnimationEasingFunction:function(a){if(arguments.length===1){this.h($$t.$ei.menuItemOpenCloseAnimationEasingFunctionProperty,a);return a}else{return this.c($$t.$ei.menuItemOpenCloseAnimationEasingFunctionProperty)}},menuOpenCloseAnimationDuration:function(a){if(arguments.length===1){this.h($$t.$ei.menuOpenCloseAnimationDurationProperty,a);return a}else{return $h(this.c($$t.$ei.menuOpenCloseAnimationDurationProperty))}},menuOpenCloseAnimationEasingFunction:function(a){if(arguments.length===1){this.h($$t.$ei.menuOpenCloseAnimationEasingFunctionProperty,a);return a}else{return this.c($$t.$ei.menuOpenCloseAnimationEasingFunctionProperty)}},minWedgeCount:function(a){if(arguments.length===1){this.h($$t.$ei.minWedgeCountProperty,a);return a}else{return $h(this.c($$t.$ei.minWedgeCountProperty))}},outerRingFill:function(a){if(arguments.length===1){this.h($$t.$ei.outerRingFillProperty,a);return a}else{return this.c($$t.$ei.outerRingFillProperty)}},outerRingThickness:function(a){if(arguments.length===1){this.h($$t.$ei.outerRingThicknessProperty,a);return a}else{return this.c($$t.$ei.outerRingThicknessProperty)}},outerRingStroke:function(a){if(arguments.length===1){this.h($$t.$ei.outerRingStrokeProperty,a);return a}else{return this.c($$t.$ei.outerRingStrokeProperty)}},outerRingStrokeThickness:function(a){if(arguments.length===1){this.h($$t.$ei.outerRingStrokeThicknessProperty,a);return a}else{return this.c($$t.$ei.outerRingStrokeThicknessProperty)}},rotationInDegrees:function(a){if(arguments.length===1){this.h($$t.$ei.rotationInDegreesProperty,a);return a}else{return this.c($$t.$ei.rotationInDegreesProperty)}},rotationAsPercentageOfWedge:function(a){if(arguments.length===1){this.h($$t.$ei.rotationAsPercentageOfWedgeProperty,a);return a}else{return this.c($$t.$ei.rotationAsPercentageOfWedgeProperty)}},wedgePaddingInDegrees:function(a){if(arguments.length===1){this.h($$t.$ei.wedgePaddingInDegreesProperty,a);return a}else{return this.c($$t.$ei.wedgePaddingInDegreesProperty)}},pixelScalingRatio:function(a){if(arguments.length===1){this.h($$t.$ei.pixelScalingRatioProperty,a);return a}else{return this.c($$t.$ei.pixelScalingRatioProperty)}},bo:0,bp:function(a){if(arguments.length===1){var b=this.bo;this.bo=a;this.eb("ActualPixelScalingRatio",b,this.bo);
return a}else{return this.bo}},a6:function(){return true},fb:function(){return this.e6},ai:function(){return this.ah},fc:function(){return this.e7},a9:function(){return this.bk.peek().z()!=null},fd:function(){return this.e8},fe:function(){return this.e9},b8:function(){return this.bk.count()},ff:function(){return this.fa},_ao:null,ax:null,ay:function(a){if(arguments.length===1){var b=this.ax;this.ax=a;if(!$$t.$cf.b(b,this.ax)){this.ed(b,this.ax)}return a}else{return this.ax}},ed:function(a,b){this.dq(3)},a7:function(){return this.ag.a()},be:function(){return this.am==3&&!this.a7()&&this._ao.s()},aw:function(a,b){return this._ao.k(a,b)},exportVisualData:function(){var $self=this;var a=this.ah;var b=new $$t.i9;b.menuArea(new $$t.h7(1,"MenuArea",this.go));b.outerRing(new $$t.h7(1,"OuterRing",this.gp));b.innerRing(new $$t.h7(1,"InnerRing",this.gn));b.innerRingFocus(new $$t.h7(1,"InnerRingFocus",this.gm));b.itemOpacity(this.e8.__opacity);b.outerPathOpacity(this.fa.__opacity);b.viewport($$t.$cf.c(this.ay()));var c;var d=new $$t.ev($$t.$ed.$type,$$t.$fw.$type,0);b.items(new $$t.ja);var f=a.ah().getEnumerator();while(f.moveNext()){var e=f.current();var g=e.item().ak();g.type(e.item().getType().typeName());g.name(e.item().name());d.item(e.item(),g);if(function(){var h=a.p().tryGetValue(e,c);c=h.p1;return h.ret}()){c.e(function(h){return $self.aw(h,null)},g,function(h){for(var i=0,j=$self.bh.count();i<j;i++){if($self.bh.__inner[i].dataContext()==h){return $self.bh.__inner[i]}}return null},function(h){for(var i=0,j=$self.bj.count();i<j;i++){if($self.bj.__inner[i].dataContext()==h){return $self.bj.__inner[i]}}return null})}b.items().add(g)}this.di(0,a,d);this.di(4,a,d);this.di(1,a,d);this.di(2,a,d);this.di(3,a,d);var h;if(function(){var i=$self.bf.tryGetValue(5,h);h=i.p1;return i.ret}()){b.colorWellPreviews(new $$t.jb);var i;var k=h.getEnumerator();while(k.moveNext()){var j=k.current();var l=$b($$t.$c5.$type,j.dataContext());if(function(){var m=a.q().tryGetValue(l,i);i=m.p1;return m.ret}()){var m=$b($$t.$i5.$type,l.c);var n=new $$t.jc;n.type(m.getType().typeName());n.name(m.name());n.colorValue($$t.$f0.a_1(m.color()));n.previewPath(new $$t.h7(1,"ColorWellPreview",j));b.colorWellPreviews().add(n)}}}this._ao.at(b);return b},di:function(a,b,c){var $self=this;var d;if(!function(){var e=$self.bf.tryGetValue(a,d);d=e.p1;return e.ret}()){return}var e;var f;var h=d.getEnumerator();while(h.moveNext()){var g=h.current();var i=$b($$t.$c5.$type,g.dataContext());if(i!=null){if(function(){var j=b.q().tryGetValue(i,e);e=j.p1;return j.ret}()){if(function(){var j=c.tryGetValue(e,f);f=j.p1;return j.ret}()){var j=new $$t.h7(1,$$t.$gy.$getName(a),g);switch(a){case 0:f.outerRingPath(j);break;case 4:f.outerRingArrowPath(j);break;case 1:f.toolAreaPath(j);break;case 2:f.checkmarkPath(j);break;case 3:f.highlightPath(j);break}}}}}},provideContainer:function(a){this._ao.a8(a)},containerResized:function(){this._ao.a0();this._ao.bj();this._ao.a9(true)},destroy:function(){this._ao.a8(null)},styleUpdated:function(){this._ao.bv()},flush:function(){this._ao.au()},dg:function(){this.dq(3)},dh:function(){var $self=this;var a=this.ag.e();a.clear();a.add(function(){var $ret=new $$t.dv;$ret.h=$self.centerButtonKeyTip();$ret._a=function(b){$self.eg()};$ret._c=$self.gl.runOn($self);return $ret}());if(this.isOpen()){var b=this.bk.peek();var c=b.h(null,true);while(c!=null){var d=c.item();var e=d.a2(c);var f=null;if(e!=null){a.addRange(e)}else if(this.a8(d)){f=function(g){$self.ds(g._d.item())}}else if(d.isEnabled()){f=function(g){$self.ei(g._d.item())}}if(f!=null){var g=$b($$t.$g2.$type,d);a.add(function(){var $ret=new $$t.dv;$ret.h=g!=null?g.keyTip():null;$ret._a=f;$ret._d=c;$ret._c=$self.gk.runOn($self);return $ret}())}c=b.h(d,true)}}this.ag.p();this.e5();this._ao.ay();this._ao.bt(a)},dk:function(){if(this.a7()){this.ag.r();this._ao.ax();this.e5();if($$t.$ci.l_op_Inequality(this.gj,null)){var a=this.gj;this.gj=null;this.d8(a)}}},bb:function(a){var b;if(this.isOpen()){b=this.ah.i()}else{b=this.ah.h()}return b.a(a)},dw:function(a){if(this.bk.peek().z()==a){this.du()}},dy:function(){{switch(this.am){case 0:case 4:if(!this.a9()){this.eo(null,3,true,false)}break;case 3:this.e5();this.ey();break}}},d1:function(a){if(a!=null){this.dk();this._ao.bq();if(this.isOpen()){this._ao.bu(a)}if(this.a1==null){this.a1=new $$t.cb(this.dz.runOn(this),1e3)}}},bc:function(a){if(this.ag.a()){return this.ag.c(a)}return false},bd:function(a,b){if(this.a7()){switch(a){case 17:case 15:case 14:case 16:case 13:case 12:case 2:this.dk();this.eo(null,3,false,false);break}}switch(a){case 8:if(this.bk.count()>1){this.du()}else{this.dk();this._ao.bq()}break;case 9:case 3:if(!this.a9()){this.eh(this.am,this.ak,false)}break;case 2:if(!this.a9()){this.el(b)}break;case 15:case 17:if(!this.a9()){this.dr(this.ak,a==15)}break;case 14:if(this.isOpen()){this.eo(null,3,false,false);this.eg()}break;case 16:if(this.ak!=null&&this.a8(this.ak)){this.ds(this.ak)}break;default:if(this._ao.r(a)){if(this.a7()){this.dk();this._ao.bq()}else if(!this.a9()){this.dh()}break}return false}return true},d4:function(){this.dk();this.e5();this.eo(null,0,false,false)},d6:function(a){if(this.ap!=null&&this.a7()&&this._ao.s()){this.gj=a;return}this.d8(a)},d5:function(a,b){this.d8(a);this.cc=b;if(this.ak!=null&&this.am==2){this.ak._aw=true}this.a5=this.am==3;this.eq()},dv:function(a,b){this.ek(a,b,true)},d9:function(a,b){this.ek(a,b,false)},d8:function(a){if(this.a9()){return}if($$t.$ci.l_op_Inequality(this.gj,null)&&a.__x==this.gj.__x&&a.__y==this.gj.__y&&this._ao.s()){return}this.dk();this.gj=a;var b=this.db(a,!this.a5);var c=b._c;this.eo(c,b._d,false,false);if(c!=null&&c._av){var d=this.ah._am;var e=$$t.$c1.l(d,this.ah._j.width/2,this.ah._j.height/2,a);var f=this.ah.c(c);c.cd(e,this.ah._j,f,a)}},d7:function(){this.gj=null;this.eo(null,0,false,false)},ep:function(a){this.isOpen(a)},e3:function(){var a=this.aj;this.aj=0;var b=a==2||a==3||this._ao.v();if(a==3){if(this.bi.count()>0){this.bi.clear();this.ev();this.ey()}var c=this.bk.peek();var d=0;var e=1;if(this.ap!=null){d=1;e=this.ap.transitionProgress()}else if(this.ar!=null){e=this.ar.transitionProgress();var f=this.bk.peek();var g=this.al;if(g!=null&&g.f()==f&&$b($$t.$i5.$type,g.d())!==null){d=4}else if(g!=null&&f.f()==g&&$b($$t.$i5.$type,f.d())!==null){d=3}else{d=2}}this.ef(this.ah,c,d,e,this.al)}else{var h=this.ah.r();var i=this.ah.p();var k=h.getEnumerator();while(k.moveNext()){var j=k.current();var l;if(function(){var m=i.tryGetValue(j,l);l=m.p1;return m.ret}()){var m=j.item().al(j,this.ah,l);if(m!=0){if(a==0){a=1}if((m&2)!=0){this.e2(l.b())}}}}h.clear()}if(b){if(a==1){this.dl(this.ah);this.dm(this.ah)}else{this.en(this.ah)}this._ao.ar()}},dc:function(a,b){var c=a.item();var d=$b($$t.$i5.$type,c)!==null?3:2;var e=c.c9();var f=b.b();var g=$$t.$c1.b(b._j,f.l-2,f.m-2,f.l-(2+d),f.m-(2+d),a.e+.008726646259971648,a.d-.008726646259971648);g._d=e;b.ag().add(g);b.q().item(g,c)},gk:function(a,b){var c=$b($$t.$eu.$type,b._d);var d=c.e+(c.d-c.e)/2;var e=$$t.$c1.q(this.ah._j,d);return{__x:e.__x-a.width()/2,__y:e.__y-a.height()/2,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},gl:function(a,b){var c=this._ao.b9();var d=this.ah._am;return{__x:d.__x-a.width()/2,__y:d.__y-c.height()/2-a.height(),$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},gq:function(a){if(Number.isInfinity(a.width())||Number.isInfinity(a.height())){var b=100;var c=this._ao.b9();var d=$$t.$c1.c(new $$t.ce(1,0,0,c.width(),c.height()));if(Number.isInfinity(a.width())){a.width((this.outerRingThickness()+5+b+5)*2+d.width)}if(Number.isInfinity(a.height())){a.height((this.outerRingThickness()+5+b+5)*2+d.height)}}return a},dd:function(){if(this.a1!=null){this.a1.c();this.a1=null}},a8:function(a){return a.ag()==2},b6:function(a,b){for(var c=0,d=this.bi.count();c<d;c++){var e=this.bi.__inner[c];if(e.item()==a&&e.d()==b){return c}}return-1},db:function(a,b){var $self=this;var c=null;var d=0;var e=false;if(this.ah.h().a(a)){if(!this.a3||!b){d=3}}else if(this.cc!=null||this.isOpen()){var f=this.isOpen()&&this.ah.b().a(a);var g=null;if(this.cc!=null&&!f){var h=this.ah._am;var i=Math.abs(a.__x-h.__x);var j=Math.abs(a.__y-h.__y);var k=Math.sqrt(i*i+j*j);var l=$$t.$c1.l(h,this.ah._j.width/2,this.ah._j.height/2,a);var m=$$t.$c1.q(this.ah._j,l);i=Math.abs(m.__x-h.__x);j=Math.abs(m.__y-h.__y);var n=Math.sqrt(i*i+j*j);e=k>n*3;var o=this.ah._k;var p=$$t.$c1.l(h,o.width/2,o.height/2,a);a=$$t.$c1.q(o,p)}if(f){var q=this.ah.ad();for(var r=0,s=q.count();r<s;r++){if(q.__inner[r].a(a)){d=1;g=q.__inner[r];break}}}else if(e){d=4}else{var t=this.ah.ae();for(var u=0,v=t.count();u<v;u++){if(t.__inner[u].a(a)){d=2;g=t.__inner[u];break}}}if(g!=null){if(!function(){var w=$self.ah.q().tryGetValue(g,c);c=w.p1;return w.ret}()){d=0}else if(!c.isEnabled()){if(d==2||!this.a8(c)){c=null;d=0}}else if(d==1&&!this.a8(c)){d=2}}}return new $$t.hx($$t.$ed.$type,$$t.$jd.$type,c,d)},dl:function(a){var b=this.bh;var c=this.az;c.f(true);for(var d=b.count()-1;d>=0;d--){c.n(b.__inner[d])}b.clear();var f=a.p().getEnumerator();while(f.moveNext()){var e=f.current();var g=e.key().item().isEnabled()?1:.3;var i=e.value().a().getEnumerator();while(i.moveNext()){var h=i.current();var j=c.a();j.__opacity=g;$$t.$ei.dn(h,j);b.add(j)}}c.f(false)},dm:function(a){var b=this.bj;var c=this.a0;c.f(true);for(var d=b.count()-1;d>=0;d--){c.n(b.__inner[d])}b.clear();var f=a.p().getEnumerator();while(f.moveNext()){var e=f.current();var g=e.key().item().isEnabled()?1:.3;var i=e.value().b().getEnumerator();while(i.moveNext()){var h=i.current();var j=c.a();j.__opacity=g;j.ak(h.b);j.dataContext(h);j._am=h.d;var k=h.f;j._n=k.x();j._o=k.y();b.add(j)}}c.f(false)},dn:function(a,b){b.__fill=a._d;b.__stroke=a._b==0?$$t.$im.t:a._e;b._ac=a._b;b._j=a._h;if(a._g==null){a._g=a.f(a._b)}b._ak=a._g;b.dataContext(a)},dp:function(a,b,c){var $self=this;var d;var e;if(!function(){var f=$self.bf.tryGetValue(a,d);d=f.p1;return f.ret}()){this.bf.item(a,d=new $$t.bt($$t.$fr.$type,0))}if(!function(){var f=$self.bg.tryGetValue(a,e);e=f.p1;return f.ret}()){this.bg.item(a,e=function(){var $ret=new $$t.jf($$t.$fr.$type);$ret._b=$self._ao.bf.runOn($self._ao);$ret._c=$self._ao.bg.runOn($self._ao);$ret._j=function(){return $self._ao.b7(a)};$ret._d=function(f){$self._ao.bi(a,f)};return $ret}())}e.f(true);for(var f=d.count()-1;f>=0;f--){e.n(d.__inner[f])}d.clear();var h=b.getEnumerator();while(h.moveNext()){var g=h.current();var i=e.a();var j;var k=1;if(c!=null&&function(){var l=c.tryGetValue(g,j);j=l.p1;return l.ret}()&&!j.isEnabled()){k=.3}i.__opacity=k;$$t.$ei.dn(g,i);d.add(i)}e.f(false)},dq:function(a){if(a>this.aj){this.aj=a}this._ao.br()},dz:function(){this._ao.ay();this.a1=null},dt:function(a){var b=$b($$t.$ed.$type,a);if(b==null&&a!=null){var c=this.bk.peek().d();if(c!=null&&a==c.bd()){b=c}else{var e=this._ao.y().getEnumerator();while(e.moveNext()){var d=e.current();b=d.ah(a);if(b!=null){break}}}}this.ds(b)},ds:function(a){var b=this.bk.peek();var c=b.d();if(c==a){return}while($b($$t.$g2.$type,a)!==null){var d=a;var e=d.dx()==0;if(e){break}a=d.parentItem()}if(c==a){this.e4();return}this.ew();if(a==null||c!=null&&!c.at(a)){while(this.bk.count()>1){var f=this.bk.pop();f.ae();f.d().cb();var g=this.bk.peek();if(g.d()==a||g.d()!=null&&g.d().at(a)){break}}}if(a!=null){var h=this.bk.peek().d();var i=new $$t.gz($$t.$ed.$type);var j=a;while(j!=h){i.push(j);j=j.parentItem()}var l=i.getEnumerator();while(l.moveNext()){var k=l.current();if(k.__visibility==1){break}var m=$b($$t.$g2.$type,k);if(m!=null&&m.dx()==1){continue}if(!this.a8(k)){break}if(!k.az()){break}var n=this.bk.peek();var o=k.as();var p=o?k.bb():null;var q=o?new Array(0):k.a3();var r=new $$t.g1(this,k,n,q,p);this.bk.push(r);if(n!=b){n.ai(0)}n.c(k);k.cc();if(o){break}}}this.al=b;this._ao.bb();this.es();this.dq(3);if(b.z()!=null){this._ao.aw(b.z())}var s=this.bk.peek();if(s.z()!=null){this.dk();this.eo(null,0,false,false);this._ao.bs(s.z())}else if(this._ao.s()&&!this.a7()&&s.f()==b){var t=b.g(s.d());if(t!=null){s.ai(0);var u=t.e+(t.d-t.e)/2;var v=1.7976931348623157e308;var w=null;var y=s.l().getEnumerator();while(y.moveNext()){var x=y.current();var z=x.e+(x.d-x.e)/2;var aa=Math.abs(z-u);if(aa<v&&(x.item().isEnabled()||this.a8(x.item()))){v=aa;w=x}}if(w!=null){this.eo(w.item(),w.item().isEnabled()?2:1,false,false)}else{this.eo(null,3,false,false)}}}this.e4();if(!$$t.$im.e(this.ar)){if(this.a7()){this.dh()}}},du:function(){if(this.bk.count()>1){this.ds($$t.$jj.ad($$t.$g1.$type,$$t.$jj.r($$t.$g1.$type,this.bk,1)).d())}},dx:function(a,b){if(!$$t.$im.e(this.ap)){this.eu()}this.dq(3)},onInitialized:function(){if(this.a4){return}this.a4=true;if(this.currentOpenMenuItem()!=null){this.dt(this.currentOpenMenuItem())}},d3:function(a,b){var c=this.aq.transitionProgress();this.ej(c)},ej:function(a){var b=this.bi;for(var c=b.count()-1;c>=0;c--){var d=b.__inner[c];var e=$$t.$im.g(d.f()+a,0,1);var f=d.item();switch(d.d()){case 0:case 4:break;case 3:{var g=$$t.$jn.k(this.centerButtonHotTrackFill(),e,this.isOpen()?this.centerButtonFill():this.centerButtonClosedFill(),0);var h=$$t.$jn.k(this.centerButtonHotTrackStroke(),e,this.isOpen()?this.centerButtonStroke():this.centerButtonClosedStroke(),0);this.ez(this.ah.g(),g);this.e0(this.ah.g(),h);this.e0(this.ah.h(),h);this._ao.a7();break}case 1:{var i=this.ah.l(f,0);var j=i!=null?this.ah.l(f,4):null;if(i!=null){i._d=$$t.$jn.k(f.dn(),e,f.dj(),0);i._e=$$t.$jn.k(f.ds(),e,f.du(),0)}if(j!=null){j._d=$$t.$jn.k(f.dq(),e,f.dl(),0)}break}case 2:{var k=this.ah.l(f,3);if(null!=k){k._d=$$t.$jn.k(f.c9(),e,null,0)}var l=this.ah.l(f,1);if(null!=l){l._d=$$t.$jn.k(f.dd(),e,f.db(),0);l._e=$$t.$jn.k(f.df(),e,f.dh(),0)}break}}}this.dq(2)},ea:function(a,b){if(!$$t.$im.e(this.ar)){this.ew()}this.dq(3)},eb:function(a,b,c){if(b==c){return}if(b==null){var d=$$t.$df.h(a,$$t.$ei.$type);if(d!=null&&$$t.$jp.getUnderlyingType(d.propertyType())==null&&d.l()!=null&&d.l().b()==c){return}}this._ao.bc(a,b,c);var e=false;switch(a){case"CenterButtonKeyTip":e=false;break;case"CurrentOpenMenuItem":if(this.a4){this.dt(c)}break;case"MenuOpenCloseAnimationDuration":case"MenuOpenCloseAnimationEasingFunction":case"MenuItemOpenCloseAnimationDuration":case $$t.$ei.cz:case"KeyTipTemplate":break;case"MenuBackground":this.ez(this.ah.i(),c);e=true;break;case"CenterButtonHotTrackFill":case"CenterButtonHotTrackStroke":case"CenterButtonFill":case"CenterButtonStroke":case"CenterButtonClosedFill":case"CenterButtonClosedStroke":this.ey();break;case"CenterButtonStrokeThickness":this.e1(this.ah.g(),c);this.e5();break;case"OuterRingFill":this.ez(this.ah.b(),c);break;case"OuterRingStrokeThickness":this.e1(this.ah.b(),c);break;case"OuterRingStroke":this.e0(this.ah.b(),c);break;case"CenterButtonContentHeight":case"CenterButtonContentWidth":case"CenterButtonContent":case"OuterRingThickness":case"RotationAsPercentageOfWedge":case"RotationInDegrees":case"MinWedgeCount":case"WedgePaddingInDegrees":{e=true;break}case"IsOpen":{e=true;this.eu();this.ew();var f=c==true;var g=this.fa.__opacity;var h=f?1:0;var i=f?h-g:g-h;if(f){this._ao.a5()}if(i!=0){var j=this.menuOpenCloseAnimationDuration();if(j>0&&this.a6()){this.ap=new $$t.ip(g,h,$.ig.truncate(Math.ceil(i*j)));this.ap.easingFunction(this.menuOpenCloseAnimationEasingFunction());var k=this.ap;k.propertyChanged=$.ig.Delegate.prototype.combine(k.propertyChanged,this.dx.runOn(this));this.ap.start();this.ap.flush()}else if(this.a7()){this.dh();if(!f){this._ao.a4()}}}this.ey();var l=f?this.opened:this.closed;if(null!=l){l(this,$$t.$cd.empty)}break}case"PixelScalingRatio":if($.ig.util.isNaN(this.pixelScalingRatio())||this.pixelScalingRatio()<=0){this.bp(1)}else{this.bp(this.pixelScalingRatio())}e=true;break;case"ActualPixelScalingRatio":this._ao.bj();break;default:break}if(e){this.dq(3)}var m=this.propertyChanged;if(null!=m){switch(a){case"IsOpen":case"CurrentOpenMenuItem":m(this,new $$t.ea(a));break}}},d2:function(a,b,c){if(a!=this.bk.peek()){}var d=this.aj;if(b!=null){switch(c){case"ToolTipResolved":if(b==this.ak){this.dd();this._ao.bu(b)}break;case"InvalidateCustomVisuals":if(this.ai().m(b)){d=1}else{d=3}break;case"IsEnabled":d=2;break;default:d=3;break}}else{d=3}if(d!=this.aj){this.dq(d)}},ec:function(a){this.dq(2)},ee:function(){if(!this.isOpen()){this.a3=true;this.ep(true)}},dr:function(a,b){if(!this.isOpen()){return}if(a!=null&&a.a0(b,false)){return}var c=this.bk.peek();var d=c.h(a,b);if(d!=null){var e=d.item();do{if(e.isEnabled()){this.eo(e,2,false,false);e.a0(b,true);break}else if(this.a8(e)){this.eo(e,1,false,false);break}else{var f=c.h(e,b);if(f!=null){e=f.item()}else{this.eo(null,3,false,false);break}}}while(e!=d.item())}else{this.eo(null,3,false,false)}},ef:function(a,b,c,d,e){var f=this.ay();if($$t.$cf.a(f)){return}var g=b;if(e!=null&&c!=0&&c!=1&&d<.5){b=e}var h={__x:f.x+f.width/2,__y:f.y+f.height/2,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var i=Math.max(this.outerRingThickness(),0);var j=c==1;var k=j?(1-d)*-1:0;var l=j?(1-d)*i:0;var m=d<=.5?d:1-d;var n=!j?m*i:0;var o=f.width/2-l;var p=f.height/2-l;i-=l;var q=Math.min(i,o);var r=Math.min(i,p);var s=this._ao.b9();var t=$$t.$c1.c(new $$t.ce(1,0,0,s.width(),s.height()));var u=Math.min(t.width/2,o-q);var v=Math.min(t.height/2,p-r);var w=o-q-n;var x=p-r-n;a._am=h;var y=!j?1-m*2*.6:1;a._aj=y;a._j=f;a.ak=o-q;a.al=p-r;a.r().clear();var z=a.i();z.k=h;z.i=o;z.j=p;z._g=null;var aa=a.b();aa.k=h;aa.i=o;aa.j=p;aa.l=w;aa.m=x;aa._g=null;var ab=a.g();ab.k=h;ab.i=u;ab.j=v;ab._g=null;var ac=a.h();ac.k=h;ac.i=ab.i+5;ac.j=ab.j+5;ac._g=null;var ad=b.l();var ae=a.q();ae.clear();var af=a.ah();af.clear();af.addRange(ad);b.ai(k);a._ai=k*b.r();var ag=a.ad();ag.clear();var ah=a.ac();ah.clear();var ai=a.ae();ai.clear();var aj=a.ag();aj.clear();var ak=a.af();ak.clear();var al=a.ab();al.clear();var am=a.p();am.clear();var an=Math.max(w-1,0)*y;var ao=Math.max(x-1,0)*y;var ap=Math.min(ac.i+5,an)*y;var aq=Math.min(ac.j+5,ao)*y;var ar=Math.max(an-2,0)*y;var as=Math.max(ao-2,0)*y;var at=(an-(an-ap)*.56)*y;var au=(ao-(ao-aq)*.56)*y;var av=Math.max(at-8,ac.i);var aw=Math.max(au-8,ac.j);var ax=Math.min(ac.i+8,av);var ay=Math.min(ac.j+8,aw);var az=new $$t.ce(1,h.__x-an,h.__y-ao,an*2,ao*2);var a0=new $$t.ce(1,h.__x-ap,h.__y-aq,ap*2,aq*2);var a1=a0.height+(az.height-a0.height)*.6;var a2=a0.width+(az.width-a0.width)*.6;var a3=new $$t.ce(1,h.__x-a2/2,h.__y-a1/2,a2,a1);var a4=aa.i-n*2;var a5=aa.j-n*2;var a6=aa.l;var a7=aa.m;var a8=(a4+a6)/2;var a9=(a5+a7)/2;var ba=new $$t.ce(1,h.__x-a8,h.__y-a9,a8*2,a9*2);a._k=a3;var bc=ad.getEnumerator();while(bc.moveNext()){var bb=bc.current();var bd=bb.item();var be=bb.e;var bf=bb.d;var bg=bd.aj(bb,a);if(bg!=null){am.add(bb,bg);this.e2(bg.b())}var bh=$b($$t.$i5.$type,bd);var bi=be;var bj=bf;if(bh==null){bi+=.008726646259971648;bj-=.008726646259971648}else{bh.fk()}var bk=be+(bf-be)/2;var bl=$$t.$c1.n(f,bk,a3);if($.ig.util.isNaN(bl)){bl=bk}bb.h=$$t.$c1.q(a3,bl-a._ai);bb.c=bl;var bm=$$t.$c1.b(f,a4,a5,a6,a7,bi,bj);ag.add(bm);ae.item(bm,bd);var bn=this.cc==null&&bd==this.ak&&this.am==1;var bo=this.a8(bd);if(bo||bh!=null){var bp=null;if(bo){var bq=$$t.$c1.n(f,bk,ba);var br=$$t.$c1.q(ba,bq);var bs=new $$t.ch(1,5.5,11);bp=function(){var $ret=new $$t.dq;$ret.j={__x:bs.width(),__y:bs.height()/2,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};$ret.k={__x:0,__y:bs.height(),$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};return $ret}();var bt=new $$t.gw;bt._j.add(function(){var $ret=new $$t.gv;$ret._j=bk*180/Math.PI;$ret._k=bs.width()/2;$ret._l=bs.height()/2;return $ret}());bt._j.add(function(){var $ret=new $$t.ij;$ret._j=br.__x-bs.width()/2;$ret._k=br.__y-bs.height()/2;return $ret}());bp._h=bt;ah.add(bp);ae.item(bp,bd)}if(bn){if(bp!=null){bp._d=bd.dq()}bm._d=bd.dn();bm._e=bd.ds()}else{if(bp!=null){bp._d=bd.dl()}bm._d=bd.dj();bm._e=bd.du()}bm._b=bd.a8()}var bu;if(bh!=null){bu=$$t.$c1.b(f,ar,as,at,au,be,bf)}else{bu=$$t.$c1.b(f,an,ao,ap,aq,be,bf)}var bv=bd==this.ak&&this.am==2;bu._d=bv?bd.dd():bd.db();bu._e=bv?bd.df():bd.dh();bu._b=bd.a6();ai.add(bu);ae.item(bu,bd);if(bd.ar()){var bw=bh!=null?3:1;var bx=bd.c6();var by=$$t.$c1.b(f,aa.l-2,aa.m-2,aa.l-(2+bw),aa.m-(2+bw),bi,bj);by._d=bx;ak.add(by);ae.item(by,bd)}if(bv){this.dc(bb,a)}}var bz=b.f();if(bz!=null){bz.ai(0);var b1=bz.l().getEnumerator();while(b1.moveNext()){var b0=b1.current();var b2=$b($$t.$i5.$type,b0.item());if(b2!=null){b2.fk();var b3=$$t.$c1.b(f,av,aw,ax,ay,b0.e,b0.d);b3._d=b2.db();b3._e=b2.dh();b3._b=b2.a6();b3.c=b2;al.add(b3);ae.item(b3,b2)}}}},eg:function(){if(this.bk.count()>1){this.du()}else{this.ep(!this.isOpen())}},eh:function(a,b,c){if(a==3){if(!c){this.eg()}}else if(b!=null){if(a==1&&this.a8(b)){this.ds(b)}else if(b.isEnabled()){this.ei(b)}}},ei:function(a){if(a!=null){a.ca()}},ek:function(a,b,c){this.et();if(this.cc==null){return}var d=this.a3;this.cc=null;this.a3=false;this.dq(3);var e=this.am;var f=this.ak;var g=this.db(a,true);if(f!=null&&e==2){f._aw=false}var h=c||this.isOpen()||g._c!=null||f==null||e!=2;this.eo(g._c,g._d,true,!h);if(!c){if(this.isOpen()&&e==0&&g._d==0){var j=this.ah.ab().getEnumerator();while(j.moveNext()){var i=j.current();if(i.a(a)){e=3;break}}}this.eh(e,f,d)}if(!h&&this.a1==null&&this.am==g._d&&this.ak==g._c){this._ao.ay()}},el:function(a){if(!this.isOpen()){return}this.dk();var b=this.ak;var c=this.am;var d=(a&4)==4;var e=this.bk.peek();var f=e.g(b);if(b!=null&&c==2){if(b.a1(!d)){return}}do{switch(c){case 2:if(d){f=e.h(b,false)}c=1;break;case 1:if(!d){f=e.h(b,true)}c=2;break;case 3:case 4:case 0:f=e.h(null,!d);c=d?1:2;break}if(f==null){b=null;c=3;break}b=f.item();if(c==2&&b.isEnabled()){break}if(c==1&&this.a8(b)){break}}while(b!=null);this.eo(b,c,false,false);if(this.ak!=null&&this.am==2){this.ak.ay(!d)}},en:function(a){var b=this.isOpen()?1:0;var c=b;var d=null;if(this.ap!=null){c=b=$$t.$im.g(this.ap.transitionProgress(),0,1)}else if(this.ar!=null){c=$$t.$im.g(this.ar.transitionProgress(),0,1);c=c<=.5?1-c*2:1-(1-c)*2;var e=a._aj;d=function(){var $ret=new $$t.ik;$ret._l=e;$ret._m=e;$ret._j=a._am.__x;$ret._k=a._am.__y;return $ret}()}this.fa.__opacity=b;this.e7.__opacity=(this.am==4?.3:1)*c;this.e8.__opacity=this.e7.__opacity;if(!$$t.$c1.e(a._ai,0)){var f=function(){var $ret=new $$t.gv;$ret._j=a._ai*180/Math.PI;$ret._k=a._j.width/2;$ret._l=a._j.height/2;return $ret}();if(d==null){d=f}else{var g=new $$t.gw;g._j.add(f);g._j.add(d);d=g}}this.e8._j=d;this.e7._j=this.e8._j;this.e9.__opacity=this.e7.__opacity;$$t.$ei.dn(a.i(),this.go);$$t.$ei.dn(a.b(),this.gp);$$t.$ei.dn(a.g(),this.gn);$$t.$ei.dn(a.h(),this.gm);this.dp(0,a.ad(),null);this.dp(4,a.ac(),null);this.dp(1,a.ae(),a.q());this.dp(5,a.ab(),a.q());this.dp(2,a.af(),a.q());this.dp(3,a.ag(),a.q());this.dl(a);this.dm(a);var h=this._ao;h.be(a.ah());this.e6.__opacity=this.a3?.3:1;h.bk(a._am)},eo:function(a,b,c,d){if(b==0||b==4){if(this._ao.s()&&!this.a9()){b=3}}if(b!=this.am||a!=this.ak){var e=this.ak;var f=this.am;var g=f==3;this.ak=a;this.am=b;if(b==3&&this.cc!=null&&!this.isOpen()){this.eq()}else if(g){this.et()}switch(f){case 3:case 1:case 2:{this.ev();this.bi.add(new $$t.jh(e,f));this.er();break}}var h=b!=0?this.b6(a,b):-1;if(h>=0){this.bi.removeAt(h)}if(g){this.e5()}if(c!=true){this.dk()}switch(b){case 4:this.ev();break;case 3:this.e5();this.ey();break;case 1:{var i=this.ah.l(a,0);var j=this.ah.l(a,4);if(i!=null){i._d=a.dn();i._e=a.ds()}if(j!=null){j._d=a.dq()}break}case 2:{var k=this.ah.l(a,3);if(k==null){var l=this.ah.c(a);if(l!=null){this.dc(l,this.ah)}}if(null!=k){k._d=a.c9()}var m=this.ah.l(a,1);if(null!=m){m._d=a.dd();m._e=a.df()}}break}if(this.cc!=null&&this.isOpen()){this.a3=true;if(g&&this.a5&&a!=null&&this.a8(a)){this.ds(a)}}if(g&&this.isOpen()){this.a5=false}if(e!=null&&f==2){e._av=false;e._aw=false}if(a!=null&&b==2){a._av=true;if(this.cc!=null){a._aw=true}}this.dd();if(a!=null&&!this.a7()){this._ao.bu(a)}else if(d!=true){this._ao.ay()}this.dq(2)}},eq:function(){if(this.isOpen()==false&&this.cc!=null&&this.am==3){this.et();this.a2=new $$t.cb(this.ee.runOn(this),2e3)}},er:function(){if(!this.a6()){if(this.bi.count()>0){this.ej(1);this.bi.clear()}return}if(this.aq==null){this.aq=new $$t.ip(0,1,250);var a=this.aq;a.propertyChanged=$.ig.Delegate.prototype.combine(a.propertyChanged,this.d3.runOn(this))}this.aq.start();this.aq.flush()},es:function(){this.ew();var a=this.menuItemOpenCloseAnimationDuration();if(a>0&&this.a6()){this.ar=new $$t.ip(0,1,a);this.ar.easingFunction(this.menuItemOpenCloseAnimationEasingFunction());var b=this.ar;b.propertyChanged=$.ig.Delegate.prototype.combine(b.propertyChanged,this.ea.runOn(this));this.ar.start();this.ar.flush()}},et:function(){if(null!=this.a2){this.a2.c();this.a2=null}},eu:function(){if(this.ap!=null){var a=this.ap;a.propertyChanged=$.ig.Delegate.prototype.remove(a.propertyChanged,this.dx.runOn(this));this.ap.stop();this.ap=null;if(!this.isOpen()){this._ao.a4()}if(this.a7()){this.dh()}}},ev:function(){if(this.aq!=null){var a=this.aq.transitionProgress();for(var b=this.bi.count()-1;b>=0;b--){var c=this.bi.__inner[b];c.f(c.f()+a);if(c.f()>=1){this.bi.removeAt(b)}}this.aq.stop()}},ew:function(){if(this.ar!=null){this.al=null;var a=this.ar;a.propertyChanged=$.ig.Delegate.prototype.remove(a.propertyChanged,this.ea.runOn(this));this.ar.stop();this.ar=null;var b=this.bk.peek();b.c(null);if(this.a7()){this.dh()}}},ey:function(){var a=this.am==3&&!this.a7()&&!this.be();var b=null;var c=null;if(a){b=this.centerButtonHotTrackFill();c=this.centerButtonHotTrackStroke()}else if(!this.isOpen()){b=this.centerButtonClosedFill();c=this.centerButtonClosedStroke()}else{b=this.centerButtonFill();c=this.centerButtonStroke()}this.ez(this.ah.g(),b);this.e0(this.ah.g(),c);this.e0(this.ah.h(),c);this._ao.a7()},ez:function(a,b){a._d=b;this.ec(a)},e0:function(a,b){a._e=b;this.ec(a)},e1:function(a,b){a._b=b;a._g=null;this.dq(2)},e2:function(a){var b=this._ao.by();var d=a.getEnumerator();while(d.moveNext()){var c=d.current();b.ak(c.b);var e=this._ao.ca(b);var f=c.e;c.f=$$t.$cf.c($$t.$im.c(c.e,e,c.c,c.g))}},e4:function(){var a=this.bk.peek().d();var b=null;if(a!=null){b=a.bd()}this.currentOpenMenuItem(b)},e5:function(){this.e1(this.ah.h(),this.be()?this.ah.g()._b:0)},closed:null,opened:null,propertyChanged:null,$type:new $.ig.Type("XamRadialMenu",$$t.$ee.$type)},true);$c("RadialMenuItemBase:ed","Control",{_dataItem:null,staticInit:function(){},init:function(){var $self=this;this._dataItem=null;this.ap=true;$$t.$ee.init.call(this);this.g($$t.$ed.c2,function(){var $ret=new $$t.dl(0);$ret.f(new $$t.dm("Visibility"));$ret.d($self);return $ret}())},autoRotateChildren:function(a){if(arguments.length===1){this.h($$t.$ed.autoRotateChildrenProperty,a);return a}else{return this.c($$t.$ed.autoRotateChildrenProperty)}},checkedHighlightBrush:function(a){if(arguments.length===1){this.h($$t.$ed.checkedHighlightBrushProperty,a);return a}else{return this.c($$t.$ed.checkedHighlightBrushProperty)}},c6:function(){return this.be($$t.$ed.checkedHighlightBrushProperty)},foreground:function(a){if(arguments.length===1){this.h($$t.$ed.foregroundProperty,a);return a}else{return this.c($$t.$ed.foregroundProperty)}},highlightBrush:function(a){if(arguments.length===1){this.h($$t.$ed.highlightBrushProperty,a);return a}else{return this.c($$t.$ed.highlightBrushProperty)}},c9:function(){return this.be($$t.$ed.highlightBrushProperty)},innerAreaFill:function(a){if(arguments.length===1){this.h($$t.$ed.innerAreaFillProperty,a);return a}else{return this.c($$t.$ed.innerAreaFillProperty)}},db:function(){return this.be($$t.$ed.innerAreaFillProperty)},innerAreaHotTrackFill:function(a){if(arguments.length===1){this.h($$t.$ed.innerAreaHotTrackFillProperty,a);return a}else{return this.c($$t.$ed.innerAreaHotTrackFillProperty)}},innerAreaHotTrackStroke:function(a){if(arguments.length===1){this.h($$t.$ed.innerAreaHotTrackStrokeProperty,a);return a}else{return this.c($$t.$ed.innerAreaHotTrackStrokeProperty)}},innerAreaStroke:function(a){if(arguments.length===1){this.h($$t.$ed.innerAreaStrokeProperty,a);return a}else{return this.c($$t.$ed.innerAreaStrokeProperty)}},dh:function(){return this.be($$t.$ed.innerAreaStrokeProperty)},innerAreaStrokeThickness:function(a){if(arguments.length===1){this.h($$t.$ed.innerAreaStrokeThicknessProperty,a);return a}else{return this.c($$t.$ed.innerAreaStrokeThicknessProperty)}},a6:function(){return this.be($$t.$ed.innerAreaStrokeThicknessProperty)},ap:false,isEnabled:function(a){if(arguments.length===1){if(a!=this.ap){this.ap=a;this.ce("IsEnabled",!a,a)}return a}else{return this.ap}},isToolTipEnabled:function(a){if(arguments.length===1){this.h($$t.$ed.isToolTipEnabledProperty,a);return a}else{return this.c($$t.$ed.isToolTipEnabledProperty)}},menu:function(){return this.c($$t.$ed.menuProperty)},outerRingButtonHotTrackFill:function(a){if(arguments.length===1){this.h($$t.$ed.outerRingButtonHotTrackFillProperty,a);return a}else{return this.c($$t.$ed.outerRingButtonHotTrackFillProperty)}},dn:function(){return this.be($$t.$ed.outerRingButtonHotTrackFillProperty)},outerRingButtonHotTrackForeground:function(a){if(arguments.length===1){this.h($$t.$ed.outerRingButtonHotTrackForegroundProperty,a);return a}else{return this.c($$t.$ed.outerRingButtonHotTrackForegroundProperty)}},dq:function(){return this.be($$t.$ed.outerRingButtonHotTrackForegroundProperty)},outerRingButtonHotTrackStroke:function(a){if(arguments.length===1){this.h($$t.$ed.outerRingButtonHotTrackStrokeProperty,a);return a}else{return this.c($$t.$ed.outerRingButtonHotTrackStrokeProperty)}},ds:function(){return this.be($$t.$ed.outerRingButtonHotTrackStrokeProperty)},outerRingButtonFill:function(a){if(arguments.length===1){this.h($$t.$ed.outerRingButtonFillProperty,a);return a}else{return this.c($$t.$ed.outerRingButtonFillProperty)}},dj:function(){return this.be($$t.$ed.outerRingButtonFillProperty)},outerRingButtonForeground:function(a){if(arguments.length===1){this.h($$t.$ed.outerRingButtonForegroundProperty,a);return a}else{return this.c($$t.$ed.outerRingButtonForegroundProperty)}},dl:function(){return this.be($$t.$ed.outerRingButtonForegroundProperty)},outerRingButtonStroke:function(a){if(arguments.length===1){this.h($$t.$ed.outerRingButtonStrokeProperty,a);return a}else{return this.c($$t.$ed.outerRingButtonStrokeProperty)}},du:function(){return this.be($$t.$ed.outerRingButtonStrokeProperty)},outerRingButtonStrokeThickness:function(a){if(arguments.length===1){this.h($$t.$ed.outerRingButtonStrokeThicknessProperty,a);return a}else{return this.c($$t.$ed.outerRingButtonStrokeThicknessProperty)}},a8:function(){return this.be($$t.$ed.outerRingButtonStrokeThicknessProperty)},parentItem:function(a){if(arguments.length===1){this.h($$t.$ed.parentItemProperty,a);return a}else{return this.c($$t.$ed.parentItemProperty)}},toolTip:function(a){if(arguments.length===1){this.h($$t.$ed.toolTipProperty,a);return a}else{return this.c($$t.$ed.toolTipProperty)}},wedgeIndex:function(a){if(arguments.length===1){this.h($$t.$ed.wedgeIndexProperty,a);return a}else{return $h(this.c($$t.$ed.wedgeIndexProperty))}},wedgeSpan:function(a){if(arguments.length===1){this.h($$t.$ed.wedgeSpanProperty,a);return a}else{return $h(this.c($$t.$ed.wedgeSpanProperty))}},bb:function(){return null},bd:function(){var a=this._dataItem;if(a==null){a=this}return a},ar:function(){return false},as:function(){return false},dd:function(){var a=this.be($$t.$ed.innerAreaHotTrackFillProperty);if(a==null){a=this.db()}return a},df:function(){var a=this.be($$t.$ed.innerAreaHotTrackStrokeProperty);if(a==null){a=this.dh()}return a},_av:false,_aw:false,a3:function(){return null},ag:function(){return 0},bg:function(){var a=this.toolTip();if(a!=null){return a}return null},a4:function(a,b){return NaN},aj:function(a,b){return null},ak:function(){return new $$t.fw},a2:function(a){return null},be:function(a){var b=this.e(a);if(b==$$t.$df.c){if(this.menu()!=null){
b=this.menu()._ao.ao(a)}else{b=this.c(a)}}return b},ah:function(a){if(a!=null&&a==this.bd()){return this}return null},at:function(a){while(a!=null){a=a.parentItem();if(a==this){return true}}return false},ay:function(a){return false},ca:function(){if(this.menu()!=null){this.menu().d1(this)}},cb:function(){var a=this.closed;if(null!=a){a(this,$$t.$cd.empty)}},cc:function(){var a=this.opened;if(null!=a){a(this,$$t.$cd.empty)}},az:function(){return true},cd:function(a,b,c,d){},cf:function(a,b,c){if(b==c){return}this.ce(a,b,c)},ce:function(a,b,c){var d=this.propertyChanged;if(null!=d){d(this,new $$t.ea(a))}},a0:function(a,b){return false},a1:function(a){return false},cg:function(a){this.h($$t.$ed.menuProperty,a)},al:function(a,b,c){return 0},closed:null,opened:null,propertyChanged:null,$type:new $.ig.Type("RadialMenuItemBase",$$t.$ee.$type,[$$t.$d8.$type])},true);$c("RadialMenuItemBaseCollection:d2","ObservableCollection$1",{ae:null,init:function(a){$$t.$d3.init.call(this,$$t.$ed.$type,0);this.ae=a},n:function(a){this.ae(a,true);$$t.$d3.n.call(this,a)},p:function(){var b=this.getEnumerator();while(b.moveNext()){var a=b.current();this.ae(a,false)}$$t.$d3.p.call(this)},r:function(a,b){this.ae(b,true);$$t.$d3.r.call(this,a,b)},u:function(a){var b=this.__inner[a];this.ae(b,false);$$t.$d3.u.call(this,a)},x:function(a,b){var c=this.__inner[a];this.ae(c,false);this.ae(b,true);$$t.$d3.x.call(this,a,b)},$type:new $.ig.Type("RadialMenuItemBaseCollection",$$t.$d3.$type.specialize($$t.$ed.$type))},true);$c("CssClassChain$1:hw","Object",{$t:null,f:null,c:null,e:null,d:null,init:function($t,a){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$.ig.$op.init.call(this);this.f=a;this.e=new $$t.bt($$t.$hw.$type.specialize(this.$t),0);this.d=new $$t.ev(this.$t,$$t.$hx.$type.specialize($$t.$hy.$type,String),0)},a:function(a){var b=new $$t.hw(this.$t,a);b.c=this;this.e.add(b);return b},b:function(a,b,c){this.d.item(a,new $$t.hx($$t.$hy.$type,String,b,c));return this},$type:new $.ig.Type("CssClassChain$1",$.ig.$ot)},true);$c("RadialMenuNumericGauge:hz","RadialMenuItemBase",{d2:null,d3:0,dz:false,fc:null,dy:false,dw:null,staticInit:function(){},init:function(){this.d3=NaN;$$t.$ed.init.call(this);this.dw=new $$t.a(this.el.runOn(this));this.d2=new $$t.bt(Number,0);this.pendingValue(this.value(NaN))},aj:function(a,b){this.eq();var c=this.d2.count();if(c==0){return null}var d=this.d0();var e=2;var f=4;var g=34;var h=new $$t.h3;var i=a.e;var j=a.d-a.e;var k=j/(d?c:c-1);var l=b._j;var m=b.g();var n=b.h();var o=b._am;var p=Math.min(b.ak,n.i+6);var q=Math.min(b.al,n.j+6);var r=Math.max(b.ak-g,p);var s=Math.max(b.al-g,q);var t=Math.max(r-e,p);var u=Math.max(s-e,q);var v=new $$t.ce(1,o.__x-r,o.__y-s,r*2,s*2);var w=$$t.$c1.d(v,f,f);var x=this.value();var y=!$.ig.util.isNaN(x);var z=y&&x>this.d2.__inner[0]&&x<this.d2.__inner[c-1];var aa=Math.max(t-1,m.i);var ab=Math.max(u-1,m.j);var ac=Math.min(Math.max(m.i-m._b/2,0),aa);var ad=Math.min(Math.max(m.j-m._b/2,0),ab);var ae=new $$t.ce(1,o.__x-aa,o.__y-ab,aa*2,ab*2);var af=new $$t.ce(1,o.__x-ac,o.__y-ad,ac*2,ad*2);var ag=Math.max(b.ak-g/2,p);var ah=Math.max(b.al-g/2,q);var ai=new $$t.ce(1,o.__x-ag,o.__y-ah,ag*2,ah*2);var aj=this.e4();var ak=this.fa();var al=this.e8();var am=ak;var an=ak;h.j=af;h.k=ae;for(var ao=0;ao<c;ao++){var ap=this.d2.__inner[ao];if(z&&ap==x){z=false}if(d||ao<c-1){var aq=$$t.$c1.b(l,r,s,t,u,i,i+k);var ar=new $$t.db;var as=$$t.$c1.q(l,i);var at=$$t.$c1.q(l,i+k);var au=as.__x>at.__x?1:0;var av=as.__y>at.__y?1:0;var aw=as.__x<at.__x?1:0;var ax=as.__y<at.__y?1:0;am=an;an=$$t.$ia.u(ak,(ao+1)/c,al,0);var ay=function(){var $ret=new $$t.da;$ret.color(am);$ret._offset=0;return $ret}();var az=function(){var $ret=new $$t.da;$ret.color(an);$ret._offset=1;return $ret}();ar._startX=au;ar._startY=av;ar._endX=aw;ar._endY=ax;ar._gradientStops=[ay,az];aq._d=ar;h.a().add(aq)}var a0=i;if(d){a0+=k}var a1=$$t.$hz.dx(l,v,w,aj,a0);h.a().add(a1);var a2=$$t.$hz.dv(l,ai,ap,a0);a2.a=a1;h.b().add(a2);i+=k}var a3=y?this.d4(a,x):0;var a4=h.i();if(y){if(z){var a5=$$t.$hz.dx(l,v,w,aj,a3);a5.c=a4;h.a().add(a5);var a6=$$t.$hz.dv(l,ai,x,a3);a6.a=a4;h.b().add(a6)}a4.j=$$t.$c1.q(ae,$$t.$c1.n(l,a3,ae));a4.i=$$t.$c1.q(af,$$t.$c1.n(l,a3,af));a4._b=1;a4._e=this.e6()}var a7=this.foreground();var a9=h.b().getEnumerator();while(a9.moveNext()){var a8=a9.current();a8.d=a7}this.al(a,b,h);return h},ak:function(){return new $$t.h4},a2:function(a){var $self=this;var b=new $$t.bt($$t.$dv.$type,0);this.eq();var c=this.value();var d=$.ig.util.isNaN(c);var e=function(f){var g=f._d;$self.value(g._c);var h=$self.menu();if(h!=null){h.d1($self)}};var g=this.d2.getEnumerator();while(g.moveNext()){var f=g.current();if(!d){if(f==c){d=true}else if(f>c){d=true;b.add(function(){var $ret=new $$t.dv;$ret._a=e;$ret._c=$self.fd.runOn($self);$ret._d=new $$t.hx(Number,$$t.$eu.$type,c,a);return $ret}())}}b.add(function(){var $ret=new $$t.dv;$ret._a=e;$ret._c=$self.fd.runOn($self);$ret._d=new $$t.hx(Number,$$t.$eu.$type,f,a);return $ret}())}return b},be:function(a){if(a.propertyType()==$$t.$c6.$type&&$$t.$df.h(a.name(),$$t.$ed.$type)!=null){return this.c(a)}return $$t.$ed.be.call(this,a)},av:function(a){if(arguments.length===1){if(a!=this.av()){$$t.$ed._av=a;if(a){this.dw.i();this.eo(this.value(),false)}else{this.dw.m()}}return a}else{return $$t.$ed._av}},aw:function(a){if(arguments.length===1){if(a!=$$t.$ed._aw){$$t.$ed._aw=a;this.ce("InvalidateCustomVisuals",null,null)}return a}else{return $$t.$ed._aw}},ay:function(a){this.eq();if(this.d2.count()==0){return false}this.eo(this.d2.__inner[a?0:this.d2.count()-1],false);return true},ca:function(){if(!$.ig.util.isNaN(this.pendingValue())){if(this.av()){this.dz=true}this.ep(this.pendingValue());var a=$b($$t.$ie.$type,this.parentItem());if(null!=a&&!$.ig.util.isNaN(this.value())){a.ff(this.value())}}$$t.$ed.ca.call(this)},cd:function(a,b,c,d){$$t.$ed.cd.call(this,a,b,c,d);var e=this.d8(a,c);var f=this.dz;if(this.dz){if($$t.$ci.l_op_Equality(this.fc,null)){this.dz=false}else if(!$$t.$c1.e(e,this.pendingValue())){this.dz=false}else if(Math.abs(d.__x-this.fc.__x)>16||Math.abs(d.__y-this.fc.__y)>16){this.dz=false}}this.d3=a;if(this.dz==false||$$t.$ci.l_op_Equality(this.fc,null)){this.fc=d}this.eo(e,true);this.ce("InvalidateCustomVisuals",null,null);if(f&&this.dz==false){this.ce("ToolTipResolved",null,null)}},ce:function(a,b,c){switch(a){case"PendingValueNeedleBrush":this.ce("InvalidateCustomVisuals",null,null);break;case"PendingValue":this.ce("ToolTipResolved",null,null);this.ce("InvalidateCustomVisuals",null,null);break;case"ValueNeedleBrush":case"TickBrush":case"Value":case"ReserveFirstSlice":case"TrackStartColor":case"TrackEndColor":this.ce("DirtyCustomVisuals",null,null);break;case"Ticks":this.dy=false;this.ce("DirtyCustomVisuals",null,null);break}$$t.$ed.ce.call(this,a,b,c)},a0:function(a,b){var c=this.pendingValue();if($.ig.util.isNaN(c)){return this.ay(a)}var d=c;this.eq();if(this.d2.count()>0){d=d+this.smallIncrement()*(a?1:-1);var e=this.d2.count()-1;if(d<this.d2.__inner[0]){if(b){d=this.d2.__inner[e]}else{return false}}else if(d>this.d2.__inner[e]){if(b){d=this.d2.__inner[0]}else{return false}}this.eo(d,false);return true}return false},a1:function(a){var b=this.pendingValue();if($.ig.util.isNaN(b)){this.ay(a);return true}var c=b;this.eq();var d=a?0:this.d2.count()-1;var e=a?this.d2.count():-1;var f=a?1:-1;for(var g=d;g!=e;g+=f){if(a&&this.d2.__inner[g]<=c){continue}else if(!a&&this.d2.__inner[g]>=c){continue}this.eo(this.d2.__inner[g],false);return true}return false},bg:function(){var a=$$t.$ed.bg.call(this);if(a!=null){return a}var b=this.pendingValue();if($.ig.util.isNaN(b)){b=this.value()}if(!$.ig.util.isNaN(b)){return b}return null},al:function(a,b,c){var d=$$t.$ed.al.call(this,a,b,c);var e=$b($$t.$h3.$type,c);if(e==null){return d}var f=b._j;var g=this.value();var h=e.k;var i=e.j;var j=this.pendingValue();var k=e.h();if(!$.ig.util.isNaN(j)){var l=!$.ig.util.isNaN(this.d3)?this.d8(this.d3,a):NaN;var m=!$.ig.util.isNaN(l)&&l==j?this.d3:this.d4(a,j);k.j=$$t.$c1.q(h,$$t.$c1.n(f,m,h));k.i=$$t.$c1.q(i,$$t.$c1.n(f,m,i));k._b=1;if(this.aw()){k._e=this.e6()}else if(this.dz&&!$.ig.util.isNaN(g)){k._e=$$t.$im.t}else{k._e=this.e2()}}else{k._b=0}if(this.aw()&&k._b>0){e.i()._e=$$t.$im.t}else if(e.i()._e==$$t.$im.t){e.i()._e=this.e6()}k._g=null;return 1},pendingValue:function(a){if(arguments.length===1){this.h($$t.$hz.pendingValueProperty,a);return a}else{return this.c($$t.$hz.pendingValueProperty)}},pendingValueNeedleBrush:function(a){if(arguments.length===1){this.h($$t.$hz.pendingValueNeedleBrushProperty,a);return a}else{return this.c($$t.$hz.pendingValueNeedleBrushProperty)}},e2:function(){return this.be($$t.$hz.pendingValueNeedleBrushProperty)},reserveFirstSlice:function(a){if(arguments.length===1){this.h($$t.$hz.reserveFirstSliceProperty,a);return a}else{return this.c($$t.$hz.reserveFirstSliceProperty)}},smallIncrement:function(a){if(arguments.length===1){this.h($$t.$hz.smallIncrementProperty,a);return a}else{return this.c($$t.$hz.smallIncrementProperty)}},tickBrush:function(a){if(arguments.length===1){this.h($$t.$hz.tickBrushProperty,a);return a}else{return this.c($$t.$hz.tickBrushProperty)}},e4:function(){return this.be($$t.$hz.tickBrushProperty)},ticks:function(a){if(arguments.length===1){this.h($$t.$hz.ticksProperty,a);return a}else{return this.c($$t.$hz.ticksProperty)}},trackStartColor:function(a){if(arguments.length===1){this.h($$t.$hz.trackStartColorProperty,a);return a}else{return this.c($$t.$hz.trackStartColorProperty)}},fa:function(){return this.be($$t.$hz.trackStartColorProperty)},trackEndColor:function(a){if(arguments.length===1){this.h($$t.$hz.trackEndColorProperty,a);return a}else{return this.c($$t.$hz.trackEndColorProperty)}},e8:function(){return this.be($$t.$hz.trackEndColorProperty)},value:function(a){if(arguments.length===1){this.h($$t.$hz.valueProperty,a);return a}else{return this.c($$t.$hz.valueProperty)}},valueNeedleBrush:function(a){if(arguments.length===1){this.h($$t.$hz.valueNeedleBrushProperty,a);return a}else{return this.c($$t.$hz.valueNeedleBrushProperty)}},e6:function(){return this.be($$t.$hz.valueNeedleBrushProperty)},d0:function(){return this.reserveFirstSlice()},d4:function(a,b){this.eq();var c=this.d0();var d=(a.d-a.e)/(c?this.d2.count():this.d2.count()-1);var e=a.e;if(c){e+=d}for(var f=1,g=this.d2.count();f<g;f++){var h=this.d2.__inner[f];if(b<h){var i=this.d2.__inner[f-1];var j=(b-i)/(h-i);e+=d*j;break}e+=d}return e},fd:function(a,b){var c=b._d;var d=c._d;var e=c._c;var f=this.d4(d,e);var g=$$t.$c1.q(this.menu().ai()._j,f);return{__x:g.__x-a.width()/2,__y:g.__y-a.height()/2,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},el:function(){if(!this.av()){this.eo(NaN,false)}},dx:function(a,b,c,d,e){var f=function(){var $ret=new $$t.ds;$ret.j=$$t.$c1.q(b,$$t.$c1.n(a,e,b));$ret.i=$$t.$c1.q(c,$$t.$c1.n(a,e,c));return $ret}();f._b=1;f._e=d;return f},dv:function(a,b,c,d){var e=new $$t.e6;e.c=1;e.g=1;e.b=c.toString();e.e=$$t.$c1.q(b,$$t.$c1.n(a,d,b));return e},em:function(a,b){switch(b.propertyName()){case"Count":this.dy=false;break}},en:function(){this.dy=true;this.d2.clear();var a=this.ticks();if(null!=a){this.d2.addRange(a)}this.d2.sort()},eo:function(a,b){if(b!=true){this.d3=NaN;this.fc=null;this.dz=false}if(a==this.pendingValue()){return}this.pendingValue(a)},ep:function(a){this.value(a)},eq:function(){if(!this.dy){this.en()}},d8:function(a,b){this.eq();var c=this.d2.count();if(b==null||c==0){return NaN}var d;if(c==1){d=this.d2.__inner[0]}else{var e=this.d0();var f=(b.d-b.e)/(e?c:c-1);var g=b.e;if(g<-Math.PI){g+=6.283185307179586}if(a<g){a+=6.283185307179586}if(e){g+=f}if(a<g){d=this.d2.__inner[0]}else{d=this.d2.__inner[c-1];for(var h=0;h<c-1;h++){if(a<g+f){var i=1-(g+f-a)/f;var j=this.d2.__inner[h];var k=this.d2.__inner[h+1];var l=(k-j)*i+j;var m=l%this.smallIncrement();l-=m;if(Math.abs(m)>this.smallIncrement()/2){l+=this.smallIncrement()}d=l;break}g+=f}}}return d},pendingValueChanged:null,valueChanged:null,$type:new $.ig.Type("RadialMenuNumericGauge",$$t.$ed.$type)},true);$c("XamRadialMenuView:g7","Object",{n:false,al:0,ak:0,p:false,_i:null,ah:null,m:null,ag:null,j:null,f:null,x:null,e:null,g:null,a:null,ap:null,b3:null,aj:null,b8:null,o:false,l:null,b0:null,staticInit:function(){var a=new $$t.hw($$t.$df.$type,"ui-radialmenu");a.b($$t.$ei.fontProperty,0,"12px segoe ui,tahoma,arial,sans-serif").a("ui-radialmenu-backing").b($$t.$ei.menuBackgroundProperty,0,"#FFFFFF").c.a("ui-radialmenu-outerring").b($$t.$ei.outerRingFillProperty,0,"#F1DAEA").b($$t.$ei.outerRingStrokeProperty,1,"transparent").b($$t.$ei.outerRingStrokeThicknessProperty,3,"0.0").c.a("ui-radialmenu-centerbutton").b($$t.$ei.centerButtonFillProperty,0,"#FFFFFF").b($$t.$ei.centerButtonStrokeProperty,1,"#80397B").b($$t.$ei.centerButtonStrokeThicknessProperty,3,"1.0").a("ui-radialmenu-centerbutton-hover").b($$t.$ei.centerButtonHotTrackFillProperty,0,"#EFEFEF").b($$t.$ei.centerButtonHotTrackStrokeProperty,1,"#80397B").c.a("ui-radialmenu-centerbutton-closed").b($$t.$ei.centerButtonClosedFillProperty,0,"#FFFFFF").b($$t.$ei.centerButtonClosedStrokeProperty,1,"#80397B");$$t.$g7.c=a;a=new $$t.hw($$t.$df.$type,null);a.a("ui-radialmenu-item").b($$t.$ed.foregroundProperty,6,"black").a("ui-radialmenu-item-inner").b($$t.$ed.innerAreaFillProperty,0,"transparent").b($$t.$ed.innerAreaStrokeProperty,1,"transparent").b($$t.$ed.innerAreaStrokeThicknessProperty,3,"1.0").a("ui-radialmenu-item-inner-hover").b($$t.$ed.innerAreaHotTrackFillProperty,0,"transparent").b($$t.$ed.innerAreaHotTrackStrokeProperty,1,"transparent").c.c.a("ui-radialmenu-item-outer").b($$t.$ed.outerRingButtonFillProperty,0,"#80397B").b($$t.$ed.outerRingButtonStrokeProperty,1,"transparent").b($$t.$ed.outerRingButtonForegroundProperty,6,"white").b($$t.$ed.outerRingButtonStrokeThicknessProperty,3,"1.0").a("ui-radialmenu-item-outer-hover").b($$t.$ed.outerRingButtonHotTrackFillProperty,0,"#444444").b($$t.$ed.outerRingButtonHotTrackForegroundProperty,6,"white").b($$t.$ed.outerRingButtonHotTrackStrokeProperty,1,"transparent").c.c.a("ui-radialmenu-item-checkarc").b($$t.$ed.checkedHighlightBrushProperty,0,"#A674A2").c.a("ui-radialmenu-item-hoverarc").b($$t.$ed.highlightBrushProperty,0,"#80397B").c.c.a("ui-radialmenu-gauge").a("ui-radialmenu-gauge-pendingneedle").b($$t.$hz.pendingValueNeedleBrushProperty,0,"#D6A9CE").c.a("ui-radialmenu-gauge-valueneedle").b($$t.$hz.valueNeedleBrushProperty,0,"#A26497").c.a("ui-radialmenu-gauge-tick").b($$t.$hz.tickBrushProperty,0,"#AE5A9D").c.a("ui-radialmenu-gauge-track-start").b($$t.$hz.trackStartColorProperty,6,"rgba(200,142,188,0)").c.a("ui-radialmenu-gauge-track-end").b($$t.$hz.trackEndColorProperty,6,"#C88EBC");$$t.$g7.b=a;var b=new $$t.hw($$t.$hy.$type,"ui-radialmenu-tooltip");b.b(1,1,"").b(3,3,"").b(4,4,"").b(2,2,"").b(0,0,"").b(6,6,"").b(5,5,"");$$t.$g7.d=b},init:function(a){this.n=false;this.al=-1;this.ak=-1;this.p=false;this.b8=new $$t.ch;this.l=new $$t.ce(1,0,0,0,0);this.b0=new $$t.ci(0);this.w=new $$t.ev($$t.$ed.$type,$$t.$iq.$type,0);this.z=new $$t.bt($$t.$iq.$type,0);this.h=new $$t.iu;this.aa=NaN;this.ab=1;$.ig.$op.init.call(this);this._i=a;this.x=new $$t.ev(String,$$t.$d.$type,0);this.f=new $$t.iv($$t.$g7.c);this.e=new $$t.iv($$t.$g7.b);this.g=new $$t.ix($$t.$hy.$type,$$t.$g7.d);$$t.$g7.am++;this.ap="RadialMenuWindow"+$$t.$g7.am},aq:function(){if(this.p){this.p=false;this._i.e3()}},au:function(){if(this.p){this.aq()}},ba:function(){this.b3=this.b4();this._i.fb()._ab.add(this.b3);this.az();this.bw();this.a0()},a0:function(){var a=this._i.pixelScalingRatio();var b=this._i.bp();if(!$.ig.util.isNaN(a)&&a!=0){return}if(window.devicePixelRatio!=window.undefined&&window.devicePixelRatio!=b){this._i.bp(window.devicePixelRatio)}},br:function(){if(!this.p){this.p=true;window.setTimeout(this.aq.runOn(this),0)}},ar:function(){this.bl()},bg:function(a){a.__visibility=1},bf:function(a){a.__visibility=0},b5:function(){var a=new $$t.fr;this._i.fc()._ab.add(a);return a},as:function(a){var b=$b($$t.$er.$type,a._x);if(b!=null){b._ab.remove(a)}},b7:function(a){var b=new $$t.fr;var c=0;switch(a){case 0:c=200;break;case 4:c=300;break;case 1:c=500;break;case 5:c=600;break;case 2:c=700;break;case 3:c=800;break}this.o=false;b._s=c;this._i.fe()._ab.add(b);return b},bi:function(a,b){var c=$b($$t.$er.$type,b._x);if(c!=null){c._ab.remove(b)}},b6:function(a){var b=new $$t.fr;var c=this._i.ff();var d=0;switch(a){default:case 0:d=0;break;case 1:d=100;break;case 3:d=900;c=this._i.fb();break;case 2:d=1e3;c=this._i.fb();break}b._s=d;c._ab.add(b);return b},bh:function(a,b){var c=$b($$t.$er.$type,b._x);if(c!=null){c._ab.remove(b)}},a2:function(a){a.__visibility=1},a1:function(a){a.__visibility=0},bz:function(){var a=new $$t.e7;this._i.fc()._ab.add(a);return a},a3:function(a){var b=$b($$t.$er.$type,a._x);if(b!=null){b._ab.remove(a)}},b4:function(){var a=new $$t.fr;a._ac=3;a._m=20;a._l=14;var b=new $$t.cq;var c=new $$t.cs;c.__startPoint={__x:8.5,__y:0,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};c.__segments.add(new $$t.cw(0,{__x:2,__y:6.5,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}));c.__segments.add(new $$t.cw(0,{__x:8.5,__y:13,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}));b._c.add(c);var d=new $$t.cs;d.__startPoint={__x:2,__y:6.5,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};d.__segments.add(new $$t.cw(0,{__x:20,__y:6.5,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}));b._c.add(d);a._ak=b;a._j=new $$t.ij;return a},v:function(){return true},bb:function(){this.az()},w:null,z:null,be:function(a){var $self=this;this.z.clear();for(var b=0,c=a.count();b<c;b++){var d=a.__inner[b];var e=d.item();var f;if(!function(){var g=$self.w.tryGetValue(e,f);f=g.p1;return g.ret}()){f=new $$t.iq(e,this)}else{this.w.remove(e)}f.c=d;this.z.add(f)}var h=this.w.values().getEnumerator();while(h.moveNext()){var g=h.current();g.h()}this.w.clear();var j=this.z.getEnumerator();while(j.moveNext()){var i=j.current();var k=i.item();this.w.item(k,i)}},y:function(){return this._i.items()},bk:function(a){var b=this.b3._j;b._j=a.__x-this.b3._m/2;b._k=a.__y-this.b3._l/2},b9:function(){var a=new $$t.ch(1,this._i.centerButtonContentWidth(),this._i.centerButtonContentHeight());if($.ig.util.isNaN(a.width())){if(!this.b8.isEmpty()){a.width(Math.max(28,this.b8.width()))}else{a.width(28)}}if($.ig.util.isNaN(a.height())){if(!this.b8.isEmpty()){a.height(Math.max(28,this.b8.height()))}else{a.height(28)}}return a},bc:function(a,b,c){var $self=this;if(!this.n){var d=$$t.$df.h(a,$$t.$ei.$type);if(null!=d){if(this.f.c().containsKey(d)){var e=this._i.e(d)!=$$t.$df.c;this.x.item(a,e);if(!e){this.n=true;var f;if(function(){var g=$self.f.c().tryGetValue(d,f);f=g.p1;return g.ret}()){this._i.h(d,f)}this.n=false}}}}switch(a){case"CenterButtonContent":if(this.aj!=null){this._i.fb()._ab.remove1(this.aj);this.aj=null;this.b8=$$t.$ch.empty()}if(!String.isNullOrEmpty(c)){this.aj=$$t.$it.a.d(c,this.a6.runOn(this))}this.az();break;case"CenterButtonContentHeight":case"CenterButtonContentWidth":this.az();break}},a6:function(a){var img_=a;this.b8=new $$t.ch(1,img_.width,img_.height);this._i.dg()},az:function(){var a=this.b3;if(this._i.b8()<2){a.__visibility=1}else{a.__visibility=0}},q:false,af:null,t:function(a){if(arguments.length===1){if(a!=this.q){this.q=a;if(!a&&this.af!=null){var b=this.af;this.af=null;var c=$(b);var d=new $$t.hd(c[0],c);this.a.bg(d,this.ap)}else if(a&&this.af==null){this.af=window;var e=$(this.af);var f=new $$t.hd(e[0],e);this.a.as(f,this.ap)}}return a}else{return this.q}},a8:function(a){var $self=this;var b=this.ag;var c=a==null?null:a;this.g.f(this.e.f(this.f.f(this.ag=c)));var d=function(e){$self._i.d6($self.b1(e))};var e=function(f){if(!$self.q){$self._i.d7()}};var f=function(g,h,i){$self._i.d8($self.b1(g))};var g=function(h){if(!$self.t()){$self.t(true);$self._i.d5($self.b1(h),$self)}};var h=function(i){if($self.t()){$self.t(false);$self._i.d9($self.b1(i),$self)}};if(this.a!=null){this.t(false);this.a.au();var i=this.a;i.onMouseEnter=$.ig.Delegate.prototype.remove(i.onMouseEnter,d);var j=this.a;j.onMouseLeave=$.ig.Delegate.prototype.remove(j.onMouseLeave,e);var k=this.a;k.onMouseOver=$.ig.Delegate.prototype.remove(k.onMouseOver,f);var l=this.a;l.onMouseDown=$.ig.Delegate.prototype.remove(l.onMouseDown,g);var m=this.a;m.onMouseUp=$.ig.Delegate.prototype.remove(m.onMouseUp,h)}if(c==null){return}var n=this.ag.createElement("canvas");n.setStyleProperty("position","absolute");this.ag.append(n);this.a=new $$t.iz(n,this.ag);this.a._an=this.u.runOn(this);var o=this.a;o.onMouseEnter=$.ig.Delegate.prototype.combine(o.onMouseEnter,d);var p=this.a;p.onMouseLeave=$.ig.Delegate.prototype.combine(p.onMouseLeave,e);var q=this.a;q.onMouseOver=$.ig.Delegate.prototype.combine(q.onMouseOver,f);var r=this.a;r.onMouseDown=$.ig.Delegate.prototype.combine(r.onMouseDown,g);var s=this.a;s.onMouseUp=$.ig.Delegate.prototype.combine(s.onMouseUp,h);this.ah=n;this.a9(false);this.a._bk=$$t.$cf.c(this._i.ay());var t=this.ag.get2DCanvasContext(this.ah);this.m=new $$t.fl(new $$t.ih,t);this.av();this.bx();if(this._i.isOpen()){this.a5()}else{this.a4()}this.bl()},a9:function(a){if(this.ag==null||this.ah==null){return}var b=Math.round(this.ag.rootWrapper().width());var c=Math.round(this.ag.rootWrapper().height());var d=Math.round(b*this.ab);var e=Math.round(c*this.ab);this.ag.rootWrapper().setStyleProperty("position","relative");this.ag.rootWrapper().setStyleProperty("visibility","hidden");this.al=$.ig.truncate(b);this.ak=$.ig.truncate(c);this.ah.setAttribute("width",d.toString());this.ah.setAttribute("height",e.toString());this.ah.setStyleProperty("width",b.toString());this.ah.setStyleProperty("height",c.toString());this.ah.setStyleProperty("visibility","visible");this._i.ay(new $$t.ce(1,0,0,b,c));if(a){this.bl()}},a5:function(){this.l=this._i.ay();this.b0=this._i.ai().g().k;this.bd()},a4:function(){var a=this._i.ai().g();var b=this._i.centerButtonStrokeThickness()+1;this.b0=a.k;this.l=new $$t.ce(1,Math.floor(this.b0.__x-a.i)-b,Math.floor(this.b0.__y-a.j)-b,Math.ceil((a.i+b)*2),Math.ceil((a.j+b)*2));this.bd()},bd:function(){var a=this._i.ay();var b=this.l;var c=b.width*this.ab;var d=b.height*this.ab;if(this.ah!=null){this.ah.setAttribute("width",c.toString());this.ah.setAttribute("height",d.toString());this.ah.setStyleProperty("width",b.width.toString());this.ah.setStyleProperty("height",b.height.toString());this.ah.setStyleProperty("left",b.x.toString()+"px");this.ah.setStyleProperty("top",b.y.toString()+"px")}this.a._bk=new $$t.cg(0,0,0,b.width,b.height);this.bl()},bl:function(){var a=this._i;var b=this.l;var c=a.ai().g();var d=c.k;if((d.__x!=this.b0.__x||d.__y!=this.b0.__y)&&!a.isOpen()){this.a4()}var e=this.m;if(e.d()&&this.ab!=1){e.z();e.aa(this.ab,this.ab)}e.k(0,0,b.width,b.height);if(b.x!=0||b.y!=0){e.z();var f=new $$t.ij;f._j=-b.x;f._k=-b.y;e.j(f)}this.bn(e,a.ff(),true,null,null);if(!this.o){this.o=true;a.fe()._ab.sort2(this.an.runOn(this))}this.bn(e,a.fe(),true,null,null);this.bn(e,a.fc(),false,$$t.$im.s($$t.$c7.u(255,0,0,0)),null);this.bn(e,a.fd(),false,null,this.bo.runOn(this));this.bn(e,a.fb(),false,null,this.bm.runOn(this));if(b.x!=0||b.y!=0){e.y()}if(e.d()&&this.ab!=1){e.y()}},bo:function(a,b){var d=this.z.getEnumerator();while(d.moveNext()){var c=d.current();c.i(a,this.aa,b.__opacity)}},bm:function(a,b){if(this.aj!=null&&$$t.$ch.l_op_Inequality_Lifted($m($$t.$ch.$type,this.b8),$m($$t.$ch.$type,null))&&this.b3.__visibility==1){var c=this._i.ai()._am;var d=this.b8.width();var e=this.b8.height();if(d>0&&e>0){a.m(this.aj,1,c.__x-d/2,c.__y-e/2,d,e)}}},bn:function(a,b,c,d,e){if(b.__opacity>0){if(b._j!=null){a.z();a.j(b._j)}if(b.__opacity<1){a.ad(b.__opacity)}var g=b._ab.getEnumerator();while(g.moveNext()){var f=g.current();if(c||$b($$t.$fr.$type,f)!==null){this.bp(a,f)}else if($b($$t.$i4.$type,f)!==null){var h=f;a.m(h,h.__opacity,h._n,h._o,h._m,h.height())}else if($b($$t.$e7.$type,f)!==null){var i=f;if(i._am==null){i._am=d}a.w(i)}}if(null!=e){e(a,b)}if(b.__opacity<1){a.ad(1)}if(b._j!=null){a.y()}}},bp:function(a,b){if(b._j!=null){a.z();a.j(b._j)}a.s(b);if(b._j!=null){a.y()}},bw:function(){if(this.f.c()==null){return}this.n=true;var b=this.f.c().getEnumerator();while(b.moveNext()){var a=b.current();if(!this.x.item(a.key().name())){this._i.h(a.key(),a.value())}}this.n=false},av:function(){this.f.j();this.e.j();this.g.j();this.bw()},bv:function(){this.av();this.bx();this._i.dg()},k:function(a,b){return $$t.$e9.getFontInfo(this.ag,a,b)},bx:function(){this.j=$$t.$e9.toFontInfo(this.ag,this._i.font());if(this.j==null&&this.ag!=null){this.j=$$t.$e9.getFont(this.ag)}this.aa=this.ac(this.j);if(this.m!=null&&this.j!=null){this.m.ac(this.j)}},ai:null,bu:function(a){if(!a.isToolTipEnabled()){this.ay();return}var b=this.ai;if(b==null){this.ai=b=this.ag.createElement("div");this.ai.addClass("ui-radialmenu-tooltip");this.ai.addClass("ui-corner-all");b.setStyleProperty("position","absolute");b.setStyleProperty("visibility","visible");b.setStyleProperty("white-space","nowrap");b.setStyleProperty("z-index","10000");this.ag.append(b)}b.removeChildren();var c=a.bg();if(c!=null){var d=this.ag.createElement("span");d.setText(c.toString());b.append(d)}this.h.toolTipText(c==null?String.empty():c.toString());this.h.itemName(a.name());this.h.itemType(a.getType().typeName());var e=this.g.c();var f=$b($$t.$i5.$type,a);var h=e.getEnumerator();while(h.moveNext()){var g=h.current();if(String.isNullOrEmpty(g.value())){var i=null;var j=null;switch(g.key()){case 0:i="background-color";j=f==null?"white":f.dj().__fill;break;case 5:i="padding";j="8px 11px";break;case 6:i="color";j=f==null?"#666666":f.dl().__fill;break;case 1:i="border-color";j="#808080";break;case 3:i="border-width";j="2px";break;case 4:i="border-radius";j="0";break;case 2:i="border-style";j="solid";break}if(i!=null){this.ai.setStyleProperty(i,j)}}}var k=this.b2(b);b.setStyleProperty("top",k.__y.toString()+"px");b.setStyleProperty("left",k.__x.toString()+"px")},h:null,b2:function(a){var container_=this.ag.rootWrapper().getNativeElement();var clientRect_=container_.getBoundingClientRect();var b=new $$t.ce(1,clientRect_.left,clientRect_.top,clientRect_.width,clientRect_.height);var c=new $$t.ce(1,b.x,b.y,b.width,b.height);var docEle_=document.documentElement;var d=new $$t.ce(1,0,0,docEle_.clientWidth,docEle_.clientHeight);if(!this._i.isOpen()){var e=this.b9();b=new $$t.ce(1,b.x+b.width/2-e.width()/2,b.y+b.height/2-e.height()/2,e.width(),e.height());b=$$t.$c1.d(b,this._i.outerRingThickness(),this._i.outerRingThickness())}b=$$t.$c1.d(b,6,6);var f=a.outerWidth();var g=a.outerHeight();var h,i;if(b.y-d.y>=g){i=b.y-c.y-g;h=(b.width-f)/2+b.x-c.x}else if(b.x+b.width+f<=d.x+d.width){h=b.x+b.width-c.x;i=(b.height-g)/2+b.y-c.y}else if(b.x-f>=d.x){h=b.x-c.x-f;i=(b.height-g)/2+b.y-c.y}else{i=b.y+b.height-c.y;h=(b.width-f)/2+b.x-c.x}this.h.relativeLeft(h-c.x);this.h.relativeTop(i-c.y);this.h.width(c.width);this.h.height(c.height);return{__x:h,__y:i,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},ay:function(){if(this.ai!=null){var a=this.ai;this.ai=null;a.remove()}},bq:function(){},s:function(){return false},ax:function(){},bt:function(a){},r:function(a){return false},ca:function(a){if($.ig.util.isNaN(this.aa)){this.aa=this.ac(null)}var b=this.ad(a);var c=this.aa;return new $$t.ch(1,b,c)},aa:0,ac:function(a){return $$t.$e9.getCurrentFontHeight(this.ag,a)},ab:0,ad:function(a){var b=$b($$t.$e7.$type,a);if(b!=null&&b.ak()!=null){return this.m.e(b)+0}return 0},bs:function(a){},aw:function(a){},a7:function(){this.b3.__stroke=this._i.ai().g()._e},ao:function(a){var b=this.e.c();var c;var d=b.tryGetValue(a,c);c=d.p1;return c},by:function(){return new $$t.e7},an:function(a,b){var c=a._s;var d=b._s;if(c<d){return-1}else if(c>d){return 1}else{return 0}},at:function(a){if(this.ai!=null){a.itemToolTip(this.h)}},u:function(a){var b=this._i;if(this.t()){return true}return b.bb(this.b1(a))},b1:function(a){if(this.l.x!=0||this.l.y!=0){a={__x:a.__x+this.l.x,__y:a.__y+this.l.y,$type:$$t.$ci.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}return a},bj:function(){this.ab=this._i.bp()},$type:new $.ig.Type("XamRadialMenuView",$.ig.$ot)},true);$c("RadialMenuDOMEventProxy:iz","DOMEventProxy",{d5:null,init:function(a,b){this.d5=null;$$t.$i0.init.call(this,a,b,false)},d6:function(){if(this.d5==null){$$t.$iz.d4++;this.d5=".DOMProxyRadialMenu"+$$t.$iz.d4.toString()}return this.d5},d7:function(a){a.preventDefault()},dg:function(a,b,c){if(a==this._b3){c.add(this._b3.listen("contextmenu",this.d7.runOn(this)))}$$t.$i0.dg.call(this,a,b,c)},$type:new $.ig.Type("RadialMenuDOMEventProxy",$$t.$i0.$type)},true);$c("TextContainer:ir","Object",{f:null,a:null,b:null,i:0,init:function(){$.ig.$op.init.call(this)},_j:null,g:function(a){if(arguments.length===1){if(this.f!=a){this.f=a;this.a=null;this.b=null}return a}else{return this.f}},h:function(a,b,c,d){var e=a.g();var f=this.c();if(f!=null){var g=this.e(e.measureText.runOn(e));var h=c;e.fillStyle=this._j.__fill;e.textBaseline="top";for(var i=0,j=f.length;i<j;i++){switch(this.i){case 0:case 3:c=h;break;case 2:c=h-this.b[i];break;case 1:c=h-this.b[i]/2;break}e.fillText(f[i],c,d);d+=b}}},e:function(a){var b=0;var c=this.b;if(c==null){var d=this.c();if(d!=null){this.b=c=new Array(d.length);for(var e=0,f=c.length;e<f;e++){c[e]=a(d[e]).width}}}if(c!=null){for(var g=0,h=c.length;g<h;g++){b+=c[g]}}return b},d:function(a){var b=0;var c=this.c();if(c!=null){b+=c.length*a}return b},c:function(){if(this.a==null){if(this.f!=null){this.a=this.f.split("\n")}}return this.a},$type:new $.ig.Type("TextContainer",$.ig.$ot)},true);$c("ImageManager:it","Object",{c:null,b:null,init:function(){$.ig.$op.init.call(this);this.c=new $$t.ev(String,$$t.$is.$type,0);this.b=new $$t.ev($$t.$is.$type,$$t.$bt.$type.specialize($$t.$b2.$type.specialize($$t.$is.$type)),0)},d:function(a,b){var $self=this;var c;if(!function(){var d=$self.c.tryGetValue(a,c);c=d.p1;return d.ret}()){var d=$("<img />");c=d[0];c.src=a;if(!c.complete){var self_=this;var ele_=d;ele_.bind("load readystatechange",function(e){if(this.complete||this.readyState=="complete"&&e.type=="readystatechange"){self_.downloadCompleted(this)}})}}if(b!=null){if(c.complete){window.setTimeout(function(){b(c)},0)}else{var e;if(!function(){var f=$self.b.tryGetValue(c,e);e=f.p1;return f.ret}()){this.b.item(c,e=new $$t.bt($$t.$b2.$type.specialize($$t.$is.$type),0))}e.add(b)}}return c},downloadCompleted:function(a){var $self=this;if(a.complete){var b=$(a);b.unbind("load readystatechange");var c;if(function(){var d=$self.b.tryGetValue(a,c);c=d.p1;return d.ret}()){this.b.remove(a);for(var d=0,e=c.count();d<e;d++){c.__inner[d](a)}}}},$type:new $.ig.Type("ImageManager",$.ig.$ot)},true);$c("RadialMenuItemOverlayTemplates:ig","Object",{init:function(){$.ig.$op.init.call(this)},staticInit:function(){var a=new $$t.ej;a.measure($$t.$ig.a);a.render($$t.$ig.c);$$t.$ig.e=a;var b=new $$t.ej;b.measure($$t.$ig.a);b.render($$t.$ig.b);$$t.$ig.d=b},a:function(a){if(a.width<20){a.width=20}if(a.height<20){a.height=20}},b:function(a){var b=a.data;var c=b.iconOverlayValue();if($$t.$c7.e($m($$t.$c7.$type,c),$m($$t.$c7.$type,null))&&c.l()>0){var d=new $$t.fl(new $$t.ih,a.context);var e=new $$t.fr;var f=new $$t.gg;f._e=new $$t.cg(0,a.xPosition,a.yPosition+a.availableHeight-5,a.availableWidth,5);e._ak=f;var g=new $$t.c6;g.color(c);e.__fill=g;d.s(e)}},c:function(a){var b=a.data;var c=b.iconOverlayValue();if(c!=null){var d=new $$t.fl(new $$t.ih,a.context);var e=new $$t.e7;e.ak(c.toString());e._am=b.be($$t.$ed.foregroundProperty);var f=b.menu()._ao.ca(e);e._n=a.xPosition+a.availableWidth-f.width()+8;
e._o=a.yPosition-8;d.w(e)}},$type:new $.ig.Type("RadialMenuItemOverlayTemplates",$.ig.$ot)},true);$c("RadialMenuItemView:iq","Object",{a:null,d:null,g:null,q:null,e:null,p:null,init:function(a,b){$.ig.$op.init.call(this);this.a=a;this.e=b;if($b($$t.$g2.$type,a)!==null){this.d=new $$t.ir;this.d.i=1;this.d._j=a.be($$t.$ed.foregroundProperty);this.m();this.n();this.o()}this.f=a.isEnabled();a.propertyChanged=$.ig.Delegate.prototype.combine(a.propertyChanged,this.l.runOn(this))},item:function(){return this.a},c:null,f:false,h:function(){var a=this.a;a.propertyChanged=$.ig.Delegate.prototype.remove(a.propertyChanged,this.l.runOn(this))},i:function(a,b,c){var d=this.c.h;var e,f,g;e=f=g=0;if(this.d!=null&&!String.isNullOrEmpty(this.d.g())){e=this.d.d(b)}var h=this.r(a);if($$t.$ch.l_op_Inequality_Lifted($m($$t.$ch.$type,h),$m($$t.$ch.$type,null))){g=h.height()}if($$t.$cg.l_op_Inequality(this.q,null)){f=this.q.height()}var i=e+Math.max(g,f);var j=(g-f)/2;var k=c*(this.f?1:.3);var l=a.g();if(k<1){l.globalAlpha=k}if(f>0){var m=this.q.width();a.n(this.g,1,this.q.x(),this.q.y(),m,f,d.__x-m/2,d.__y-i/2+Math.max(j,0),m,f)}if(g>0){this.j(a,d.__x-h.width()/2,d.__y-i/2-Math.min(j,0),h.width(),h.height())}if(e>0){this.d.h(a,b,d.__x,d.__y-i/2+Math.max(g,f))}if(k<1){l.globalAlpha=1}},j:function(a,b,c,d,e){var f=new $$t.el;f.context=a.g();f.data=this.a;f.xPosition=b;f.yPosition=c;f.availableWidth=d;f.availableHeight=e;this.p.render()(f)},r:function(a){if(this.p!=null){var b=new $$t.eo;b.context=a.g();b.data=this.a;if($$t.$cg.l_op_Inequality(this.q,null)){b.width=this.q.width();b.height=this.q.height()}if(this.p.measure()!=null){this.p.measure()(b)}return new $$t.ch(1,b.width,b.height)}return $$t.$ch.empty()},k:function(a){if(a==this.g){var img_=a;this.q=new $$t.cg(0,0,0,img_.width,img_.height);this.e._i.dg()}},l:function(a,b){switch(b.propertyName()){case"Foreground":if(this.d!=null){this.d._j=this.a.be($$t.$ed.foregroundProperty);this.e.br()}break;case"IsEnabled":this.f=this.a.isEnabled();this.e.br();break;case"Header":this.m();break;case"IconUri":this.n();break;case"IconOverlay":this.o();break;case"IconOverlayValue":this.e.br();break}},m:function(){var a=null;var b=$b($$t.$g2.$type,this.item());if(b!=null){var c=b.header();if(c!=null){a=c.toString()}}this.d.g(a);this.e.br()},n:function(){var a=this.a.iconUri();if(String.isNullOrEmpty(a)){this.g=null}else{this.g=$$t.$it.a.d(a,this.k.runOn(this))}this.e.br()},o:function(){if($b($$t.$g2.$type,this.a)!==null){var a=this.a;if(a.iconOverlay()!=null){this.p=a.iconOverlay()}else{this.p=null}this.e.br()}},$type:new $.ig.Type("RadialMenuItemView",$.ig.$ot)},true);$c("CssPropCacheBase$2:iw","Object",{$tProp:null,$tValue:null,b:null,e:null,a:null,d:null,init:function($tProp,$tValue,a,b){this.$tProp=$tProp;this.$tValue=$tValue;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tProp,this.$tValue)}$.ig.$op.init.call(this);this.a=a;this.d=b},f:function(a){if(arguments.length===1){this.e=a;this.b=null;return a}else{return this.e}},c:function(){if(this.b==null){this.j()}return this.b},j:function(){if(this.e!=null){this.e.startCSSQuery();var a=new $$t.ev(this.$tProp,String,0);this.i(this.a,a);var b=new $$t.ev(this.$tProp,this.$tValue,0);this.h(this.a,b,a);this.b=b;this.e.endCSSQuery()}},h:function(a,b,c){var e=a.d.getEnumerator();while(e.moveNext()){var d=e.current();var f=d.key();var g=this.g(a.f,d.value()._c);if(g==null||g.length==0||g==c.item(f)){g=d.value()._d}var h=this.d(f,g);b.item(f,h)}for(var i=0,j=a.e.count();i<j;i++){this.h(a.e.__inner[i],b,c)}},g:function(a,b){var c=null;var d=null;{switch(b){case 0:c="background-color";break;case 1:c="border-top-color";break;case 2:c="border-top-style";break;case 3:c="border-top-width";break;case 4:c="border-top-left-radius";break;case 6:c="color";break;case 5:c="padding-top";break;default:return null}if(c!=null){d=this.e.getCssDefaultPropertyValue(a,c)}}return d},i:function(a,b){var d=a.d.getEnumerator();while(d.moveNext()){var c=d.current();b.item(c.key(),this.g(a.f,c.value()._c))}for(var e=0,f=a.e.count();e<f;e++){this.i(a.e.__inner[e],b)}},$type:new $.ig.Type("CssPropCacheBase$2",$.ig.$ot)},true);$c("CssPropCache$1:ix","CssPropCacheBase$2",{$tPropertyId:null,init:function($tPropertyId,a){var $self=this;this.$tPropertyId=$tPropertyId;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tPropertyId)}$$t.$iw.init.call(this,this.$tPropertyId,String,a,function(){return $$t.$ix.k.apply(null,[$self.$tPropertyId].concat(Array.prototype.slice.call(arguments)))})},k:function($tPropertyId,a,b){return b},$type:new $.ig.Type("CssPropCache$1",$$t.$iw.$type.specialize(0,String))},true);$c("CssDpCache:iv","CssPropCacheBase$2",{init:function(a){$$t.$iw.init.call(this,$$t.$df.$type,$.ig.$op.$type,a,$$t.$iv.k)},k:function(a,b){var c=null;if(b!=null){var propType_=a.propertyType();if(propType_==$$t.$c6.$type){var d=new $$t.c6;d.__fill=b;c=d}else if(propType_===Number){c=parseInt(b,10)}else if(propType_==$$t.$c7.$type){var e=new $$t.c7;e.colorString(b);c=e}}return c},$type:new $.ig.Type("CssDpCache",$$t.$iw.$type.specialize($$t.$df.$type,$.ig.$op.$type))},true);$c("BindingExpression:jr","Object",{a:null,c:null,d:null,init:function(a,b,c,d){$.ig.$op.init.call(this);this.c=c;this.d=d;var e=b.split(".");this.a=new Array(e.length);for(var f=0;f<e.length;f++){this.a[f]=new $$t.js(e[f]);if(f>0){this.a[f-1].childStep(this.a[f])}}var g=this.a[this.a.length-1];g.propertyChanged=$.ig.Delegate.prototype.combine(g.propertyChanged,this.b.runOn(this));this.a[0].source(a)},b:function(a,b){if(b.propertyName()=="Value"){var c=this.a[this.a.length-1].value();if(c==$$t.$df.c){this.c.f(this.d)}else{this.c.h(this.d,c)}}},$type:new $.ig.Type("BindingExpression",$.ig.$ot)},true);$c("PropertyStep:js","Object",{g:null,c:null,d:null,a:null,init:function(a){$.ig.$op.init.call(this);this.g=a},childStep:function(a){if(arguments.length===1){if(this.a!=a){if(this.a!=null){this.a.source(null)}this.a=a;if(this.a!=null){this.a.source(this.value())}}return a}else{return this.a}},source:function(a){if(arguments.length===1){if(this.c!=a){if($b($$t.$d8.$type,this.c)!==null){var b=this.c;b.propertyChanged=$.ig.Delegate.prototype.remove(b.propertyChanged,this.i.runOn(this))}this.c=a;if($b($$t.$d8.$type,a)!==null){var c=a;c.propertyChanged=$.ig.Delegate.prototype.combine(c.propertyChanged,this.i.runOn(this))}this.h("Source");this.j()}return a}else{return this.c}},value:function(a){if(arguments.length===1){if(this.d!=a){this.d=a;if(this.a!=null){this.a.source(a)}this.h("Value")}return a}else{return this.d}},h:function(a){var b=this.propertyChanged;if(null!=b){b(this,new $$t.ea(a))}},i:function(a,b){if(String.isNullOrEmpty(b.propertyName())||b.propertyName()==this.g||b.propertyName().length==this.g.length&&b.propertyName().toLowerCase()==this.g.toLowerCase()){this.j()}},j:function(){if(this.c==null){this.value($$t.$df.c)}else if(String.isNullOrEmpty(this.g)){this.value(this.c)}else{var src_=this.c;var path_=this.g;this.value(src_[path_]())}},propertyChanged:null,$type:new $.ig.Type("PropertyStep",$.ig.$ot,[$$t.$d8.$type])},true);$c("RadialMenuValueChangedEventArgs$1:h2","EventArgs",{$t:null,c:null,b:null,init:function($t,a,b){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$$t.$cd.init.call(this);this.c=a;this.b=b},oldValue:function(){return this.c},newValue:function(){return this.b},$type:new $.ig.Type("RadialMenuValueChangedEventArgs$1",$$t.$cd.$type)},true);$c("RadialMenuNumericValueChangedEventArgs:h1","RadialMenuValueChangedEventArgs$1",{init:function(a,b){$$t.$h2.init.call(this,Number,a,b)},$type:new $.ig.Type("RadialMenuNumericValueChangedEventArgs",$$t.$h2.$type.specialize(Number))},true);$c("RadialMenuColorChangedEventArgs:i7","RadialMenuValueChangedEventArgs$1",{init:function(a,b){$$t.$h2.init.call(this,$$t.$c7.$type,a,b)},$type:new $.ig.Type("RadialMenuColorChangedEventArgs",$$t.$h2.$type.specialize($$t.$c7.$type))},true);$c("RadialMenuItem:g2","RadialMenuItemBase",{d6:null,staticInit:function(){},init:function(){var $self=this;$$t.$ed.init.call(this);this.d6=new $$t.d2(function(a,b){a.cg(b?$self.menu():null);a.parentItem(b?$self:null)});var a=this.d6;a.propertyChanged=$.ig.Delegate.prototype.combine(a.propertyChanged,this.et.runOn(this))},a4:function(a,b){var c=this.recentItem();if(null!=c){var e=b.getEnumerator();while(e.moveNext()){var d=e.current();var f=d.item();if(f.parentItem()==this&&this.d8(f)==c){var g=d.e+(d.d-d.e)/2;var h=a.e+(a.d-a.e)/2;return h-g}}}return $$t.$ed.a4.call(this,a,b)},ar:function(){return this.isChecked()},ah:function(a){var b=$$t.$ed.ah.call(this,a);if(null==b){var d=this.items().getEnumerator();while(d.moveNext()){var c=d.current();b=c.ah(a);if(b!=null){break}}}return b},a3:function(){return this.d6},ca:function(){var a=this.checkBehavior();if(a!=0){var b=!this.isChecked();if(b||a!=2){this.ex(b)}}var c=$b($$t.$g2.$type,this.parentItem());if(null!=c&&c.autoUpdateRecentItem()){var d=c.d8(this);c.recentItem(d)}this.es($$t.$cd.empty);$$t.$ed.ca.call(this)},ce:function(a,b,c){switch(a){case"IsChecked":if(true==c){this.ey();this.er($$t.$cd.empty)}else{this.ev($$t.$cd.empty)}this.ce("DisplayAsChecked",b,c);break;case"RecentItem":this.recentItemContainer(this.dz(c));break}$$t.$ed.ce.call(this,a,b,c)},ag:function(){var a=$$t.$ed.ag.call(this);if(a==0&&this.items().count()>0&&this.dx()==0){a=2}return a},cg:function(a){$$t.$ed.cg.call(this,a);var c=this.a3().getEnumerator();while(c.moveNext()){var b=c.current();if(b!=null){b.cg(a)}}},bg:function(){var a=$$t.$ed.bg.call(this);if(a!=null){return a}var b=this.header();if(b!=null&&!($b($$t.$dy.$type,b)!==null)){return b}return null},autoUpdateRecentItem:function(a){if(arguments.length===1){this.h($$t.$g2.autoUpdateRecentItemProperty,a);return a}else{return this.c($$t.$g2.autoUpdateRecentItemProperty)}},childItemPlacement:function(a){if(arguments.length===1){this.h($$t.$g2.childItemPlacementProperty,$$t.$g4.getBox(a));return a}else{return $g(this.c($$t.$g2.childItemPlacementProperty))}},checkBehavior:function(a){if(arguments.length===1){this.h($$t.$g2.checkBehaviorProperty,$$t.$g5.getBox(a));return a}else{return $g(this.c($$t.$g2.checkBehaviorProperty))}},isChecked:function(a){if(arguments.length===1){this.h($$t.$g2.isCheckedProperty,a);return a}else{return this.c($$t.$g2.isCheckedProperty)}},groupName:function(a){if(arguments.length===1){this.h($$t.$g2.groupNameProperty,a);return a}else{return this.c($$t.$g2.groupNameProperty)}},header:function(a){if(arguments.length===1){this.h($$t.$g2.headerProperty,a);return a}else{return this.c($$t.$g2.headerProperty)}},iconUri:function(a){if(arguments.length===1){this.h($$t.$g2.iconUriProperty,a);return a}else{return this.c($$t.$g2.iconUriProperty)}},iconOverlay:function(a){if(arguments.length===1){this.h($$t.$g2.iconOverlayProperty,a);return a}else{return this.c($$t.$g2.iconOverlayProperty)}},iconOverlayValue:function(a){if(arguments.length===1){this.h($$t.$g2.iconOverlayValueProperty,a);return a}else{return this.c($$t.$g2.iconOverlayValueProperty)}},items:function(){return this.d6},keyTip:function(a){if(arguments.length===1){this.h($$t.$g2.keyTipProperty,a);return a}else{return this.c($$t.$g2.keyTipProperty)}},recentItem:function(a){if(arguments.length===1){this.h($$t.$g2.recentItemProperty,a);return a}else{return this.c($$t.$g2.recentItemProperty)}},eu:function(a,b){var c=a;c.cf("RecentItemContainer",b.oldValue(),b.newValue())},recentItemContainer:function(a){if(arguments.length===1){this.h($$t.$g2.recentItemContainerProperty,a);return a}else{return this.c($$t.$g2.recentItemContainerProperty)}},dx:function(){if(this.as()){return 0}return this.childItemPlacement()},dy:function(){return new $$t.g2},dz:function(a){var c=this.items().getEnumerator();while(c.moveNext()){var b=c.current();if(b._dataItem==a){return b}}return null},d8:function(a){return a._dataItem},et:function(a,b){switch(b.propertyName()){case"Count":this.ce("OuterRingButtonType",null,null);break}},ew:function(a){this.iconOverlayValue(a)},ex:function(a){this.isChecked(a)},ey:function(){var a=null;if(this.parentItem()!=null){a=this.parentItem().a3()}else if(this.menu()!=null){var b=this.menu()._ao.y();if(b!=null&&b.contains(this)){a=b}}if(a!=null){switch(this.checkBehavior()){case 2:case 3:var c=this.groupName();if(c==null){c=""}var d=new $$t.bt($$t.$g2.$type,0);var f=a.getEnumerator();while(f.moveNext()){var e=f.current();var g=$b($$t.$g2.$type,e);if(g!=null&&g!=this&&g.isChecked()){var h=g.groupName();if(h==null){h=""}if(c==h){d.add(g)}}}var j=d.getEnumerator();while(j.moveNext()){var i=j.current();i.ex(false)}break}}},er:function(a){var b=this.checked;if(null!=b){b(this,a)}},checked:null,es:function(a){var b=this.click;if(null!=b){b(this,a)}},click:null,ev:function(a){var b=this.unchecked;if(null!=b){b(this,a)}},unchecked:null,$type:new $.ig.Type("RadialMenuItem",$$t.$ed.$type)},true);$c("RadialMenuColorItemBase:i6","RadialMenuItem",{init:function(){$$t.$g2.init.call(this)},a4:function(a,b){var c=this.color();var e=b.getEnumerator();while(e.moveNext()){var d=e.current();var f=$b($$t.$i6.$type,d.item());if(f!=null&&$$t.$im.d(f.color(),c)){var g=d.e+(d.d-d.e)/2;var h=a.e+(a.d-a.e)/2;return h-g}}return $$t.$g2.a4.call(this,a,b)},dy:function(){return new $$t.i5},ce:function(a,b,c){if(a=="Color"){this.computedColorName($$t.$im.b().f(this.color()));this.ew(c);var d=b!=null&&c!=null&&!$$t.$im.d(b,c);if(d){var e=this.colorChanged;if(null!=e){e(this,new $$t.i7(b,c))}}}$$t.$g2.ce.call(this,a,b,c)},color:function(a){if(arguments.length===1){this.h($$t.$i6.colorProperty,a);return a}else{return this.c($$t.$i6.colorProperty)}},computedColorName:function(a){if(arguments.length===1){this.h($$t.$i6.computedColorNameProperty,a);return a}else{return this.c($$t.$i6.computedColorNameProperty)}},fg:function(a){this.color(a)},colorChanged:null,$type:new $.ig.Type("RadialMenuColorItemBase",$$t.$g2.$type)},true);$c("RadialMenuColorItem:i8","RadialMenuColorItemBase",{staticInit:function(){},init:function(){$$t.$i6.init.call(this);this.iconOverlay($$t.$ig.d)},fl:function(a){var b=this.colorWellClick;if(null!=b){b(this,a)}},colorWellClick:null,$type:new $.ig.Type("RadialMenuColorItem",$$t.$i6.$type)},true);$c("RadialMenuColorWell:i5","RadialMenuColorItemBase",{staticInit:function(){},init:function(){$$t.$i6.init.call(this)},ar:function(){var a=this.parentItem();while($b($$t.$i6.$type,a)!==null){var b=$b($$t.$i8.$type,a);if(b!=null){return $$t.$im.d(b.color(),this.color())}a=a.parentItem()}return $$t.$i6.ar.call(this)},ca:function(){var a=this.parentItem();var b=this.ar();while($b($$t.$i6.$type,a)!==null){var c=$b($$t.$i6.$type,a);c.fg(this.color());if($b($$t.$i8.$type,c)!==null){var d=c;d.fl($$t.$cd.empty)}a=a.parentItem()}if(b!=this.ar()){this.ce("DisplayAsChecked",b,!b)}$$t.$i6.ca.call(this)},ce:function(a,b,c){if(a=="Color"){var d=c;this.innerAreaHotTrackFill(this.innerAreaFill(this.outerRingButtonFill($$t.$im.s(d))));this.outerRingButtonForeground($$t.$im.s($$t.$im.w(d)));var e=$$t.$ia.a(d);var f=$$t.$im.u(d,e[3]<.5?+60:-80);this.highlightBrush(this.outerRingButtonHotTrackFill($$t.$im.s(f)));this.outerRingButtonHotTrackForeground($$t.$im.s($$t.$im.w(f)));var g=$$t.$im.u(d,e[3]<.5?+30:-40);this.checkedHighlightBrush($$t.$im.s(g));this.fk()}$$t.$i6.ce.call(this,a,b,c)},ag:function(){var a=$$t.$i6.ag.call(this);if(a==0){a=1}return a},bg:function(){var a=$$t.$i6.bg.call(this);if(a==null){return this.computedColorName()}return a},fk:function(){var a=this.menu();var b=$$t.$c7.u(255,255,255,255);var c=a!=null?a.menuBackground():null;if(c!=null){b=c.color()}this.fl(b)},fl:function(a){var b=$$t.$im.f(this.color());var c=$$t.$im.f(a);if(Math.abs(c-b)<.1){this.outerRingButtonStroke(this.innerAreaStroke(this.checkedHighlightBrush()))}else{this.outerRingButtonStroke(this.innerAreaStroke(null))}this.outerRingButtonHotTrackStroke(this.innerAreaHotTrackStroke(this.outerRingButtonStroke()))},$type:new $.ig.Type("RadialMenuColorWell",$$t.$i6.$type)},true);$c("RadialMenuItemFrame:e5","Object",{c:null,d:null,init:function(){$.ig.$op.init.call(this);this.c=new $$t.bt($$t.$c5.$type,0);this.d=new $$t.bt($$t.$e6.$type,0)},a:function(){return this.c},b:function(){return this.d},e:function(a,b,c,d){},$type:new $.ig.Type("RadialMenuItemFrame",$.ig.$ot)},true);$c("RadialMenuNumericGaugeFrame:h3","RadialMenuItemFrame",{f:null,g:null,k:null,j:null,init:function(){this.k=new $$t.ce;this.j=new $$t.ce;$$t.$e5.init.call(this);this.g=new $$t.ds;this.a().add(this.g);this.f=new $$t.ds;this.a().add(this.f)},e:function(a,b,c,d){var e;var f;var g=$b($$t.$h4.$type,b);if(this.i()!=null){g.valueNeedle(new $$t.h8);g.valueNeedle().needlePath(new $$t.h7(1,"ValueNeedle",c(this.i())));var i=this.b().getEnumerator();while(i.moveNext()){var h=i.current();if(h.a==this.i()){e=d(h);f=a(e);g.valueNeedle().label($$t.$f8.c(e,f));break}}}if(this.h()!=null&&this.h()._b>0){g.editValueNeedle(new $$t.h8);g.editValueNeedle().label(null);g.editValueNeedle().needlePath(new $$t.h7(1,"EditValueNeedle",c(this.h())))}g.tickmarks(new $$t.h5);var k=this.b().getEnumerator();while(k.moveNext()){var j=k.current();var l=$b($$t.$c5.$type,j.a);if(l==this.i()){continue}var m=new $$t.h6;e=d(j);f=a(e);m.label($$t.$f8.c(e,f));m.tickPath(new $$t.h7(1,"tickmark",c(l)));g.tickmarks().add(m)}g.trackArcs(new $$t.h9);var o=this.a().getEnumerator();while(o.moveNext()){var n=o.current();if(n==this.g||n==this.f){continue}if(n.c==this.g){g.valueTickLine(new $$t.h7(1,"valueTickLine",c(n)))}else if($b($$t.$c2.$type,n)!==null){g.trackArcs().add(new $$t.h7(1,"trackArc",c(n)))}}},h:function(){return this.f},i:function(){return this.g},$type:new $.ig.Type("RadialMenuNumericGaugeFrame",$$t.$e5.$type)},true);$c("RadialMenuNumericItem:ie","RadialMenuItem",{staticInit:function(){},init:function(){$$t.$g2.init.call(this);this.iconOverlay($$t.$ig.e);this.value(NaN)},a4:function(a,b){var c=$$t.$g2.a4.call(this,a,b);if($.ig.util.isNaN(c)){var e=b.getEnumerator();while(e.moveNext()){var d=e.current();var f=$b($$t.$hz.$type,d.item());if(f!=null){var g=f.pendingValue();if($.ig.util.isNaN(g)){g=f.value()}if(!$.ig.util.isNaN(g)){var h=a.e+(a.d-a.e)/2;var i=f.d4(d,g);c=h-i}}}}return c},ce:function(a,b,c){if(a=="Value"){this.ew(c)}$$t.$g2.ce.call(this,a,b,c)},value:function(a){if(arguments.length===1){this.h($$t.$ie.valueProperty,a);return a}else{return this.c($$t.$ie.valueProperty)}},ff:function(a){this.value(a)},valueChanged:null,$type:new $.ig.Type("RadialMenuNumericItem",$$t.$g2.$type)},true);$c("RadialMenuFrame:et","Object",{f:null,a:null,e:null,d:null,w:null,t:null,x:null,y:null,z:null,v:null,aa:null,o:null,n:null,u:null,init:function(){this._j=new $$t.ce;this._k=new $$t.ce;$.ig.$op.init.call(this);this.f=new $$t.c4;this.a=new $$t.c3;this.w=new $$t.bt($$t.$c2.$type,0);this.x=new $$t.bt($$t.$c2.$type,0);this.y=new $$t.bt($$t.$c2.$type,0);this.z=new $$t.bt($$t.$c2.$type,0);this.t=new $$t.bt($$t.$c2.$type,0);this.d=new $$t.c4;this.e=new $$t.c4;this.aa=new $$t.bt($$t.$eu.$type,0);this.v=new $$t.bt($$t.$dq.$type,0);this.n=new $$t.ev($$t.$eu.$type,$$t.$e5.$type,0);this.o=new $$t.ev($$t.$c5.$type,$$t.$ed.$type,0);this.u=new $$t.bt($$t.$eu.$type,0)},i:function(){return this.f},b:function(){return this.a},g:function(){return this.d},h:function(){return this.e},ad:function(){return this.w},ab:function(){return this.t},ae:function(){return this.x},af:function(){return this.y},ag:function(){return this.z},ah:function(){return this.aa},ac:function(){return this.v},_am:null,q:function(){return this.o},p:function(){return this.n},r:function(){return this.u},_j:null,_k:null,ak:0,al:0,_ai:0,_aj:0,c:function(a){var c=this.aa.getEnumerator();while(c.moveNext()){var b=c.current();if(b.item()==a){return b}}return null},l:function(a,b){var $self=this;var c=this.s(b);var d;var f=c.getEnumerator();while(f.moveNext()){var e=f.current();if(function(){var g=$self.o.tryGetValue(e,d);d=g.p1;return g.ret}()&&d==a){return e}}return null},s:function(a){var b;switch(a){case 2:b=this.y;break;case 3:b=this.z;break;case 1:b=this.x;break;case 5:b=this.t;break;case 4:b=this.v;break;case 0:b=this.w;break;default:return null}return b},m:function(a){var c=this.n.keys().getEnumerator();while(c.moveNext()){var b=c.current();if(b.item()==a){if(this.u.contains(b)){return true}this.u.add(b);return true}}return false},$type:new $.ig.Type("RadialMenuFrame",$.ig.$ot)},true);$c("TextDefinition:e6","Object",{init:function(){$.ig.$op.init.call(this)},b:null,d:null,c:0,g:0,e:null,a:null,f:null,$type:new $.ig.Type("TextDefinition",$.ig.$ot)},true);$c("RadialMenuItemLevel:g1","Object",{i:null,b:null,n:null,m:null,e:null,t:0,o:0,a:null,k:null,j:false,p:0,y:null,init:function(a,b,c,d,e){this.o=NaN;$.ig.$op.init.call(this);this.i=a;this.b=b;this.e=c;this.k=d;this.m=new $$t.bt($$t.$ed.$type,0);this.y=e;this.ac(this.k,true)},z:function(){return this.y},c:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},l:function(){if(this.n==null){this.ab()}return this.n},d:function(){return this.b},f:function(){return this.e},s:function(){return this.p},x:function(){if(this.n==null){this.ab()}return this.t},ae:function(){this.j=true;this.ac(this.k,false);this.ah()},g:function(a){var b=this.v(a);return b<0?null:this.l().item(b)},v:function(a){if(a!=null){var b=this.l();for(var c=0,d=b.count();c<d;c++){if(b.item(c).item()==a){return c}}}return-1},w:function(a){var b=this.l();var c=1.7976931348623157e308;var d=-1;a=$$t.$c1.k(a);for(var e=0,f=b.count();e<f;e++){var g=b.item(e);var h=g.e;var i=g.d;while(h<-Math.PI){h+=6.283185307179586;i+=6.283185307179586}while(i>Math.PI){h-=6.283185307179586;i-=6.283185307179586}if(h<=a&&i>=a){return e}var j=h+(i-h)/2;j=$$t.$c1.k(j);var k=Math.abs(j-a);if(k<c){c=k;d=e}}return d},h:function(a,b){var c=this.l();var d;if(a==null){d=this.w(this.s())}else{d=this.v(a);if(d>=0&&b){d=d==c.count()?0:d+1}}if(!b){d=d==0?c.count()-1:d-1}if(d<0){return null}if(d==c.count()){d=0}var e=c.item(d);if(a!=null){if(e==this.h(null,b)){return null}}return e},q:function(a,b){var c=0;var d=(c+this.i.rotationInDegrees())*Math.PI/180;d+=(this.i.rotationAsPercentageOfWedge()+a)*b;d=$$t.$c1.k(d);return d},r:function(){var a=Math.max(this.x(),this.i.minWedgeCount());return 6.283185307179586/a},ai:function(a){var b=this.l();var c=this.i.wedgePaddingInDegrees()*Math.PI/180;var d=c/2;var e=this.r();var f=this.q(a,e);this.p=f;var h=b.getEnumerator();while(h.moveNext()){var g=h.current();var i=f+g.f*e+d;var j=i+e*g.g-c;if(j<i){var k=(j-i)/2;i+=k;j=i}g.e=i;g.d=j}if($.ig.util.isNaN(this.o)){if(this.b!=null&&this.b.autoRotateChildren()){var l=this.e.g(this.b);if(l!=null){this.o=this.b.a4(l,b)}}if($.ig.util.isNaN(this.o)){this.o=0}}if(!$.ig.util.isNaN(this.o)&&this.o!=0){var n=b.getEnumerator();while(n.moveNext()){var m=n.current();m.e=m.e+this.o;m.d=m.d+this.o}}},aa:function(a,b){var c=!this.j;var e=a.getEnumerator();while(e.moveNext()){var d=e.current();if(c){d.propertyChanged=$.ig.Delegate.prototype.combine(d.propertyChanged,this.ad.runOn(this))}if(d.__visibility==1){this.m.add(d);continue}var f=d.wedgeSpan();var g=d.wedgeIndex();b.add(new $$t.eu(d,g,f))}var i=a.getEnumerator();while(i.moveNext()){var h=i.current();var j=$b($$t.$g2.$type,h);if(j!=null&&j.ar()&&j.dx()==1){if(c){this.ac(j.a3(),true)}this.aa(j.a3(),b)}}},ab:function(){this.m.clear();var a=new $$t.bt($$t.$eu.$type,0);this.n=a;this.aa(this.k,a);a.sort2($$t.$g1.u);var b=new $$t.bt($$t.$d.$type,0);var c=0;var d=0;var f=a.getEnumerator();while(f.moveNext()){var e=f.current();if(e.f<0){d++;e.f=b.count();for(var g=c,h=b.count();g<h;g++){if(!b.__inner[g]){if(g+e.g>=h){break}var i=true;for(var j=1;j<e.g;j++){if(b.__inner[g+j]){g+=j;i=false;break}}if(!i){continue}e.f=g;if(g==c){c=g+e.g}break}else if(g==c){c=g+1}}}for(var k=e.f,l=k+e.g;k<l;k++){while(k>=b.count()){b.add(false)}if(!b.__inner[k]){b.__inner[k]=true}}e.e=0;e.d=0}if(d>0&&d!=a.count()){a.sort2($$t.$g1.u)}this.t=b.count()},u:function(a,b){if(a.f>=0){if(b.f<0){return-1}if(a.f==b.f){return 0}else if(a.f<b.f){return-1}else{return 1}}return b.f<0?0:1},ac:function(a,b){var c=$b($$t.$d4.$type,a);if(null!=c){if(b){c.collectionChanged=$.ig.Delegate.prototype.combine(c.collectionChanged,this.af.runOn(this))}else{c.collectionChanged=$.ig.Delegate.prototype.remove(c.collectionChanged,this.af.runOn(this))}}},ad:function(a,b){var c=false;var d=$b($$t.$g2.$type,a);switch(b.propertyName()){case"CheckedHighlightBrush":case"OuterRingButtonFill":case"OuterRingButtonForeground":case"OuterRingButtonStroke":case"OuterRingButtonStrokeThickness":case"InnerAreaFill":case"InnerAreaStroke":case"InnerAreaStrokeThickness":case"IsEnabled":case"ToolTipResolved":case"DirtyCustomVisuals":case"InvalidateCustomVisuals":c=true;break;case"DisplayAsChecked":c=true;if(d!=null&&d.dx()==1){this.ag()}break;case"ChildItemPlacement":case"OuterRingButtonType":case"WedgeIndex":case"WedgeSpan":case"VisibilityProxy":c=true;this.ag();break}if(c){this.i.d2(this,$b($$t.$ed.$type,a),b.propertyName())}},af:function(a,b){this.ag();this.i.d2(this,null,null)},ag:function(){if(this.n!=null){this.ah();this.m.clear();this.n=null}},ah:function(){if(this.n!=null){var b=this.n.getEnumerator();while(b.moveNext()){var a=b.current();var c=a.item();c.propertyChanged=$.ig.Delegate.prototype.remove(c.propertyChanged,this.ad.runOn(this));this.ac(a.item().a3(),false)}var e=this.m.getEnumerator();while(e.moveNext()){var d=e.current();d.propertyChanged=$.ig.Delegate.prototype.remove(d.propertyChanged,this.ad.runOn(this))}}},$type:new $.ig.Type("RadialMenuItemLevel",$.ig.$ot)},true);$c("RadialMenuItemPosition:eu","Object",{a:null,init:function(a,b,c){$.ig.$op.init.call(this);this.a=a;this.f=b;this.g=c},item:function(){return this.a},f:0,g:0,c:0,h:null,e:0,d:0,$type:new $.ig.Type("RadialMenuItemPosition",$.ig.$ot)},true);$c("RadialMenuPointerAnimationInfo:jh","Object",{a:null,c:0,e:0,init:function(a,b){$.ig.$op.init.call(this);this.a=a;this.c=b},item:function(){return this.a},d:function(){return this.c},f:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},$type:new $.ig.Type("RadialMenuPointerAnimationInfo",$.ig.$ot)},true);$c("ColorNameCalculator:io","Object",{b:null,a:null,init:function(){$.ig.$op.init.call(this);this.b=new $$t.ev($$t.$c7.$type,String,0);this.a=new $$t.ev($$t.$c7.$type,String,0)},g:function(a,b){this.b.item(a,b)},f:function(a){var $self=this;var b;if(!function(){var c=$self.a.tryGetValue(a,b);b=c.p1;return c.ret}()){this.a.item(a,b=this.e(a))}return b},e:function(a){var b=1.7976931348623157e308;var c=null;var e=this.b.getEnumerator();while(e.moveNext()){var d=e.current();var f=$$t.$io.c(d.key(),a);if(f<b){b=f;c=d.value()}}return c},c:function(a,b){var c;var d;var e;var f=$$t.$io.h(a,c,d,e);c=f.p1;d=f.p2;e=f.p3;var g;var h;var i;var j=$$t.$io.h(b,g,h,i);g=j.p1;h=j.p2;i=j.p3;return Math.pow(c-g,2)+Math.pow(d-h,2)+Math.pow(e-i,2)},h:function(a,b,c,d){var e=a.o()/255;var f=a.n()/255;var g=a.m()/255;var h=e*.412453+f*.35758+g*.180423;var i=e*.212671+f*.71516+g*.072169;var j=e*.019334+f*.119193+g*.950227;var k=$$t.$io.d(h/.95047);var l=$$t.$io.d(i/1);var m=$$t.$io.d(j/1.08883);b=116*l-16;c=500*(k-l);d=200*(l-m);return{p1:b,p2:c,p3:d}},d:function(a){if(a>.008856){return Math.pow(a,1/3)}else{return 7.787*a+16/116}},$type:new $.ig.Type("ColorNameCalculator",$.ig.$ot)},true);$c("RadialMenuUtilities:im","Object",{init:function(){$.ig.$op.init.call(this)},g:function(a,b,c){if(a<b){return b}else if(a>c){return c}return a},staticInit:function(){var a=new $$t.io;var b=a.g.runOn(a);b($$t.$c7.u(255,240,248,255),"Alice Blue");b($$t.$c7.u(255,250,235,215),"Antique White");b($$t.$c7.u(255,0,255,255),"Aqua");b($$t.$c7.u(255,127,255,212),"Aquamarine");b($$t.$c7.u(255,240,255,255),"Azure");b($$t.$c7.u(255,245,245,220),"Beige");b($$t.$c7.u(255,255,228,196),"Bisque");b($$t.$c7.u(255,0,0,0),"Black");b($$t.$c7.u(255,255,235,205),"Blanched Almond");b($$t.$c7.u(255,0,0,255),"Blue");b($$t.$c7.u(255,138,43,226),"Blue Violet");b($$t.$c7.u(255,165,42,42),"Brown");b($$t.$c7.u(255,222,184,135),"Burly Wood");b($$t.$c7.u(255,95,158,160),"Cadet Blue");b($$t.$c7.u(255,127,255,0),"Chartreuse");b($$t.$c7.u(255,210,105,30),"Chocolate");b($$t.$c7.u(255,255,127,80),"Coral");b($$t.$c7.u(255,100,149,237),"Cornflower Blue");b($$t.$c7.u(255,255,248,220),"Cornsilk");b($$t.$c7.u(255,220,20,60),"Crimson");b($$t.$c7.u(255,0,255,255),"Cyan");b($$t.$c7.u(255,0,0,139),"Dark Blue");b($$t.$c7.u(255,0,139,139),"Dark Cyan");b($$t.$c7.u(255,184,134,11),"Dark Goldenrod");b($$t.$c7.u(255,169,169,169),"Dark Gray");b($$t.$c7.u(255,0,100,0),"Dark Green");b($$t.$c7.u(255,189,183,107),"Dark Khaki");b($$t.$c7.u(255,139,0,139),"Dark Magenta");b($$t.$c7.u(255,85,107,47),"Dark Olive Green");b($$t.$c7.u(255,255,140,0),"Dark Orange");b($$t.$c7.u(255,153,50,204),"Dark Orchid");b($$t.$c7.u(255,139,0,0),"Dark Red");b($$t.$c7.u(255,233,150,122),"Dark Salmon");b($$t.$c7.u(255,143,188,143),"Dark Sea Green");b($$t.$c7.u(255,72,61,139),"Dark Slate Blue");b($$t.$c7.u(255,47,79,79),"Dark Slate Gray");b($$t.$c7.u(255,0,206,209),"Dark Turquoise");b($$t.$c7.u(255,148,0,211),"Dark Violet");b($$t.$c7.u(255,255,20,147),"Deep Pink");b($$t.$c7.u(255,0,191,255),"Deep Sky Blue");b($$t.$c7.u(255,105,105,105),"Dim Gray");b($$t.$c7.u(255,30,144,255),"Dodger Blue");b($$t.$c7.u(255,178,34,34),"Firebrick");b($$t.$c7.u(255,255,250,240),"Floral White");b($$t.$c7.u(255,34,139,34),"Forest Green");b($$t.$c7.u(255,255,0,255),"Fuchsia");b($$t.$c7.u(255,220,220,220),"Gainsboro");b($$t.$c7.u(255,248,248,255),"Ghost White");b($$t.$c7.u(255,255,215,0),"Gold");b($$t.$c7.u(255,218,165,32),"Goldenrod");b($$t.$c7.u(255,128,128,128),"Gray");b($$t.$c7.u(255,0,128,0),"Green");b($$t.$c7.u(255,173,255,47),"Green Yellow");b($$t.$c7.u(255,240,255,240),"Honeydew");b($$t.$c7.u(255,255,105,180),"Hot Pink");b($$t.$c7.u(255,205,92,92),"Indian Red");b($$t.$c7.u(255,75,0,130),"Indigo");b($$t.$c7.u(255,255,255,240),"Ivory");b($$t.$c7.u(255,240,230,140),"Khaki");b($$t.$c7.u(255,230,230,250),"Lavender");b($$t.$c7.u(255,255,240,245),"Lavender Blush");b($$t.$c7.u(255,124,252,0),"Lawn Green");b($$t.$c7.u(255,255,250,205),"Lemon Chiffon");b($$t.$c7.u(255,173,216,230),"Light Blue");b($$t.$c7.u(255,240,128,128),"Light Coral");b($$t.$c7.u(255,224,255,255),"Light Cyan");b($$t.$c7.u(255,250,250,210),"Light Goldenrod Yellow");b($$t.$c7.u(255,211,211,211),"Light Gray");b($$t.$c7.u(255,144,238,144),"Light Green");b($$t.$c7.u(255,255,182,193),"Light Pink");b($$t.$c7.u(255,255,160,122),"Light Salmon");b($$t.$c7.u(255,32,178,170),"Light Sea Green");b($$t.$c7.u(255,135,206,250),"Light Sky Blue");b($$t.$c7.u(255,119,136,153),"Light Slate Gray");b($$t.$c7.u(255,176,196,222),"Light Steel Blue");b($$t.$c7.u(255,255,255,224),"Light Yellow");b($$t.$c7.u(255,0,255,0),"Lime");b($$t.$c7.u(255,50,205,50),"Lime Green");b($$t.$c7.u(255,250,240,230),"Linen");b($$t.$c7.u(255,255,0,255),"Magenta");b($$t.$c7.u(255,128,0,0),"Maroon");b($$t.$c7.u(255,102,205,170),"Medium Aquamarine");b($$t.$c7.u(255,0,0,205),"Medium Blue");b($$t.$c7.u(255,186,85,211),"Medium Orchid");b($$t.$c7.u(255,147,112,219),"Medium Purple");b($$t.$c7.u(255,60,179,113),"Medium Sea Green");b($$t.$c7.u(255,123,104,238),"Medium Slate Blue");b($$t.$c7.u(255,0,250,154),"Medium Spring Green");b($$t.$c7.u(255,72,209,204),"Medium Turquoise");b($$t.$c7.u(255,199,21,133),"Medium Violet Red");b($$t.$c7.u(255,25,25,112),"Midnight Blue");b($$t.$c7.u(255,245,255,250),"Mint Cream");b($$t.$c7.u(255,255,228,225),"Misty Rose");b($$t.$c7.u(255,255,228,181),"Moccasin");b($$t.$c7.u(255,255,222,173),"Navajo White");b($$t.$c7.u(255,0,0,128),"Navy");b($$t.$c7.u(255,253,245,230),"Old Lace");b($$t.$c7.u(255,128,128,0),"Olive");b($$t.$c7.u(255,107,142,35),"Olive Drab");b($$t.$c7.u(255,255,165,0),"Orange");b($$t.$c7.u(255,255,69,0),"Orange Red");b($$t.$c7.u(255,218,112,214),"Orchid");b($$t.$c7.u(255,238,232,170),"Pale Goldenrod");b($$t.$c7.u(255,152,251,152),"Pale Green");b($$t.$c7.u(255,175,238,238),"Pale Turquoise");b($$t.$c7.u(255,219,112,147),"Pale Violet Red");b($$t.$c7.u(255,255,239,213),"Papaya Whip");b($$t.$c7.u(255,255,218,185),"Peach Puff");
b($$t.$c7.u(255,205,133,63),"Peru");b($$t.$c7.u(255,255,192,203),"Pink");b($$t.$c7.u(255,221,160,221),"Plum");b($$t.$c7.u(255,176,224,230),"Powder Blue");b($$t.$c7.u(255,128,0,128),"Purple");b($$t.$c7.u(255,255,0,0),"Red");b($$t.$c7.u(255,188,143,143),"Rosy Brown");b($$t.$c7.u(255,65,105,225),"Royal Blue");b($$t.$c7.u(255,139,69,19),"Saddle Brown");b($$t.$c7.u(255,250,128,114),"Salmon");b($$t.$c7.u(255,244,164,96),"Sandy Brown");b($$t.$c7.u(255,46,139,87),"Sea Green");b($$t.$c7.u(255,255,245,238),"Sea Shell");b($$t.$c7.u(255,160,82,45),"Sienna");b($$t.$c7.u(255,192,192,192),"Silver");b($$t.$c7.u(255,135,206,235),"Sky Blue");b($$t.$c7.u(255,106,90,205),"Slate Blue");b($$t.$c7.u(255,112,128,144),"Slate Gray");b($$t.$c7.u(255,255,250,250),"Snow");b($$t.$c7.u(255,0,255,127),"Spring Green");b($$t.$c7.u(255,70,130,180),"Steel Blue");b($$t.$c7.u(255,210,180,140),"Tan");b($$t.$c7.u(255,0,128,128),"Teal");b($$t.$c7.u(255,216,191,216),"Thistle");b($$t.$c7.u(255,255,99,71),"Tomato");b($$t.$c7.u(255,64,224,208),"Turquoise");b($$t.$c7.u(255,238,130,238),"Violet");b($$t.$c7.u(255,245,222,179),"Wheat");b($$t.$c7.u(255,255,255,255),"White");b($$t.$c7.u(255,245,245,245),"White Smoke");b($$t.$c7.u(255,255,255,0),"Yellow");b($$t.$c7.u(255,154,205,50),"Yellow Green");$$t.$im.a=a},u:function(a,b){return $$t.$c7.u(a.l(),Math.min(Math.max(a.o()+b,0),255),Math.min(Math.max(a.n()+b,0),255),Math.min(Math.max(a.m()+b,0),255))},x:function(a,b){var c=$$t.$im.f(a);var d=-1;var e=$$t.$im.y;for(var g=0;g<b.length;g++){var f=b[g];var h=$$t.$im.f(f);var i=h>c?(h+.05)/(c+.05):(c+.05)/(h+.05);if(i>d){d=i;e=f}}return e},w:function(a){var b=$$t.$im.f(a);var c=1.05/(b+.05);var d=(b+.05)/.05;return d>c?$$t.$im.v:$$t.$im.z},c:function(a,b,c,d){var e=new $$t.ce(1,0,0,b.width(),b.height());switch(c){case 0:case 3:e.x=a.__x;break;case 2:e.x=a.__x-b.width();break;case 1:e.x=a.__x-b.width()/2;break}switch(d){case 0:case 3:e.y=a.__y;break;case 2:e.y=a.__y-b.height();break;case 1:e.y=a.__y-b.height()/2;break}return e},f:function(a){var b=2.2;var c=Math.pow(a.o()/255,b)*.2126+Math.pow(a.n()/255,b)*.7152+Math.pow(a.m()/255,b)*.0722;return c},b:function(){return $$t.$im.a},s:function(a){return function(){var $ret=new $$t.c6;$ret.fill(a.colorString());return $ret}()},d:function(a,b){return a.l()==b.l()&&a.o()==b.o()&&a.n()==b.n()&&a.m()==b.m()},e:function(a){return a!=null&&a.animationActive()&&a.getElapsedMilliseconds()<a.intervalMilliseconds()},$type:new $.ig.Type("RadialMenuUtilities",$.ig.$ot)},true);$c("RadialMenuVisualData:i9","Object",{init:function(){$.ig.$op.init.call(this)},_viewport:null,viewport:function(a){if(arguments.length===1){this._viewport=a;return a}else{return this._viewport}},_menuArea:null,menuArea:function(a){if(arguments.length===1){this._menuArea=a;return a}else{return this._menuArea}},_outerRing:null,outerRing:function(a){if(arguments.length===1){this._outerRing=a;return a}else{return this._outerRing}},_innerRing:null,innerRing:function(a){if(arguments.length===1){this._innerRing=a;return a}else{return this._innerRing}},_innerRingFocus:null,innerRingFocus:function(a){if(arguments.length===1){this._innerRingFocus=a;return a}else{return this._innerRingFocus}},_items:null,items:function(a){if(arguments.length===1){this._items=a;return a}else{return this._items}},_colorWellPreviews:null,colorWellPreviews:function(a){if(arguments.length===1){this._colorWellPreviews=a;return a}else{return this._colorWellPreviews}},_itemOpacity:0,itemOpacity:function(a){if(arguments.length===1){this._itemOpacity=a;return a}else{return this._itemOpacity}},_outerPathOpacity:0,outerPathOpacity:function(a){if(arguments.length===1){this._outerPathOpacity=a;return a}else{return this._outerPathOpacity}},_itemToolTip:null,itemToolTip:function(a){if(arguments.length===1){this._itemToolTip=a;return a}else{return this._itemToolTip}},serialize:function(){var a=new $$t.f3(0);a.u("{");var b=false;a.u("viewPort: { left: "+this.viewport().left()+", top: "+this.viewport().top()+", width: "+this.viewport().width()+", height: "+this.viewport().height()+"}");a.u(", itemOpacity: "+this.itemOpacity());a.u(", outerPathOpacity: "+this.outerPathOpacity());b=true;b=$$t.$f8.serializeItem(a,"menuArea",this.menuArea(),!b)||b;b=$$t.$f8.serializeItem(a,"outerRing",this.outerRing(),!b)||b;b=$$t.$f8.serializeItem(a,"innerRing",this.innerRing(),!b)||b;b=$$t.$f8.serializeItem(a,"innerRingFocus",this.innerRingFocus(),!b)||b;b=$$t.$f8.serializeItems(a,"items",this.items(),!b)||b;b=$$t.$f8.serializeItems(a,"colorWellPreviews",this.colorWellPreviews(),!b)||b;a.u("}");return a.toString()},$type:new $.ig.Type("RadialMenuVisualData",$.ig.$ot,[$$t.$fx.$type])},true);$c("RadialMenuItemVisualData:fw","Object",{init:function(){$.ig.$op.init.call(this)},_outerRingPath:null,outerRingPath:function(a){if(arguments.length===1){this._outerRingPath=a;return a}else{return this._outerRingPath}},_outerRingArrowPath:null,outerRingArrowPath:function(a){if(arguments.length===1){this._outerRingArrowPath=a;return a}else{return this._outerRingArrowPath}},_toolAreaPath:null,toolAreaPath:function(a){if(arguments.length===1){this._toolAreaPath=a;return a}else{return this._toolAreaPath}},_checkmarkPath:null,checkmarkPath:function(a){if(arguments.length===1){this._checkmarkPath=a;return a}else{return this._checkmarkPath}},_highlightPath:null,highlightPath:function(a){if(arguments.length===1){this._highlightPath=a;return a}else{return this._highlightPath}},_type:null,type:function(a){if(arguments.length===1){this._type=a;return a}else{return this._type}},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},serialize:function(){var a=new $$t.f3(0);a.u("{");this.f(a,false);a.u("}");return a.toString()},f:function(a,b){if(b){a.u(", ")}a.u("name: '"+this.name()+"'");a.u(", type: '"+this.type()+"'");b=true;b=$$t.$f8.serializeItem(a,"outerRingPath",this.outerRingPath(),!b)||b;b=$$t.$f8.serializeItem(a,"outerRingArrowPath",this.outerRingArrowPath(),!b)||b;b=$$t.$f8.serializeItem(a,"toolAreaPath",this.toolAreaPath(),!b)||b;b=$$t.$f8.serializeItem(a,"checkmarkPath",this.checkmarkPath(),!b)||b;b=$$t.$f8.serializeItem(a,"highlightPath",this.highlightPath(),!b)||b;return b},$type:new $.ig.Type("RadialMenuItemVisualData",$.ig.$ot,[$$t.$fx.$type])},true);$c("RadialMenuItemVisualDataList:ja","List$1",{init:function(){$$t.$bt.init.call(this,$$t.$fw.$type,0)},$type:new $.ig.Type("RadialMenuItemVisualDataList",$$t.$bt.$type.specialize($$t.$fw.$type))},true);$c("RadialMenuItemToolTipVisualData:iu","Object",{init:function(){$.ig.$op.init.call(this)},_itemType:null,itemType:function(a){if(arguments.length===1){this._itemType=a;return a}else{return this._itemType}},_itemName:null,itemName:function(a){if(arguments.length===1){this._itemName=a;return a}else{return this._itemName}},_toolTipText:null,toolTipText:function(a){if(arguments.length===1){this._toolTipText=a;return a}else{return this._toolTipText}},_relativeTop:0,relativeTop:function(a){if(arguments.length===1){this._relativeTop=a;return a}else{return this._relativeTop}},_relativeLeft:0,relativeLeft:function(a){if(arguments.length===1){this._relativeLeft=a;return a}else{return this._relativeLeft}},_width:0,width:function(a){if(arguments.length===1){this._width=a;return a}else{return this._width}},_height:0,height:function(a){if(arguments.length===1){this._height=a;return a}else{return this._height}},serialize:function(){var a=new $$t.f3(0);a.u("{");a.u("itemName: '"+this.itemName()+"'");a.u(", itemType: '"+this.itemType()+"'");a.u(", toolTipText: '"+this.toolTipText()+"'");a.u(", relativeTop: "+this.relativeTop());a.u(", relativeLeft: "+this.relativeLeft());a.u(", width: "+this.width());a.u(", height: "+this.height());a.u("}");a.u("}");return a.toString()},$type:new $.ig.Type("RadialMenuItemToolTipVisualData",$.ig.$ot,[$$t.$fx.$type])},true);$c("RadialMenuNumericGaugeVisualData:h4","RadialMenuItemVisualData",{init:function(){$$t.$fw.init.call(this)},_tickmarks:null,tickmarks:function(a){if(arguments.length===1){this._tickmarks=a;return a}else{return this._tickmarks}},_valueNeedle:null,valueNeedle:function(a){if(arguments.length===1){this._valueNeedle=a;return a}else{return this._valueNeedle}},_editValueNeedle:null,editValueNeedle:function(a){if(arguments.length===1){this._editValueNeedle=a;return a}else{return this._editValueNeedle}},_valueTickLine:null,valueTickLine:function(a){if(arguments.length===1){this._valueTickLine=a;return a}else{return this._valueTickLine}},_trackArcs:null,trackArcs:function(a){if(arguments.length===1){this._trackArcs=a;return a}else{return this._trackArcs}},f:function(a,b){b=$$t.$fw.f.call(this,a,b)||b;b=$$t.$f8.serializeItem(a,"valueNeedle",this.valueNeedle(),!b)||b;b=$$t.$f8.serializeItem(a,"valueTickLine",this.valueTickLine(),!b)||b;b=$$t.$f8.serializeItem(a,"editValueNeedle",this.editValueNeedle(),!b)||b;b=$$t.$f8.serializeItems(a,"tickmarks",this.tickmarks(),!b)||b;b=$$t.$f8.serializeItems(a,"trackArcs",this.trackArcs(),!b)||b;return b},$type:new $.ig.Type("RadialMenuNumericGaugeVisualData",$$t.$fw.$type)},true);$c("RadialMenuNumericGaugeTickmarkData:h6","Object",{init:function(){$.ig.$op.init.call(this)},_tickPath:null,tickPath:function(a){if(arguments.length===1){this._tickPath=a;return a}else{return this._tickPath}},_label:null,label:function(a){if(arguments.length===1){this._label=a;return a}else{return this._label}},_labelLeft:0,labelLeft:function(a){if(arguments.length===1){this._labelLeft=a;return a}else{return this._labelLeft}},_labelTop:0,labelTop:function(a){if(arguments.length===1){this._labelTop=a;return a}else{return this._labelTop}},_labelWidth:0,labelWidth:function(a){if(arguments.length===1){this._labelWidth=a;return a}else{return this._labelWidth}},_labelHeight:0,labelHeight:function(a){if(arguments.length===1){this._labelHeight=a;return a}else{return this._labelHeight}},serialize:function(){var a=new $$t.f3(0);a.u("{");a.u("labelLeft: "+this.labelLeft());a.u(", labelTop: "+this.labelTop());a.u(", labelWidth: "+this.labelWidth());a.u(", labelHeight: "+this.labelHeight());$$t.$f8.serializeItem(a,"tickPath",this.tickPath(),false);$$t.$f8.serializeItem(a,"label",this.label(),false);a.u("}");return a.toString()},$type:new $.ig.Type("RadialMenuNumericGaugeTickmarkData",$.ig.$ot,[$$t.$fx.$type])},true);$c("RadialMenuNumericGaugeTickmarkDataList:h5","List$1",{init:function(){$$t.$bt.init.call(this,$$t.$h6.$type,0)},$type:new $.ig.Type("RadialMenuNumericGaugeTickmarkDataList",$$t.$bt.$type.specialize($$t.$h6.$type))},true);$c("RadialMenuNumericGaugeNeedleData:h8","Object",{init:function(){$.ig.$op.init.call(this)},_needlePath:null,needlePath:function(a){if(arguments.length===1){this._needlePath=a;return a}else{return this._needlePath}},_label:null,label:function(a){if(arguments.length===1){this._label=a;return a}else{return this._label}},serialize:function(){if(this.label()==null){if(this.needlePath()==null){return"{}"}return"{ needlePath: "+this.needlePath().serialize()+"}"}else if(this.needlePath()==null){return"{ label: "+this.label().serialize()+"}"}else{return"{ needlePath: "+this.needlePath().serialize()+", label: "+this.label().serialize()+"}"}},$type:new $.ig.Type("RadialMenuNumericGaugeNeedleData",$.ig.$ot,[$$t.$fx.$type])},true);$c("ColorWellPreviewData:jc","Object",{init:function(){$.ig.$op.init.call(this)},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},_type:null,type:function(a){if(arguments.length===1){this._type=a;return a}else{return this._type}},_colorValue:null,colorValue:function(a){if(arguments.length===1){this._colorValue=a;return a}else{return this._colorValue}},_previewPath:null,previewPath:function(a){if(arguments.length===1){this._previewPath=a;return a}else{return this._previewPath}},serialize:function(){var a=new $$t.f3(0);a.u("{");a.u("name: '"+this.name()+"'");a.u(", type: '"+this.type()+"'");a.u(", colorValue: "+(this.colorValue()!=null?this.colorValue().serialize():"null"));$$t.$f8.serializeItem(a,"previewPath",this.previewPath(),false);a.u("}");return a.toString()},$type:new $.ig.Type("ColorWellPreviewData",$.ig.$ot,[$$t.$fx.$type])},true);$c("ColorWellPreviewDataList:jb","List$1",{init:function(){$$t.$bt.init.call(this,$$t.$jc.$type,0)},$type:new $.ig.Type("ColorWellPreviewDataList",$$t.$bt.$type.specialize($$t.$jc.$type))},true);$$t.$a.f=null;$$t.$a.a=null;$$t.$c1.m=Math.sqrt(2);$$t.$ei.cz="MenuItemOpenCloseAnimationEasingFunction";$$t.$ei.centerButtonContentWidthProperty=$$t.$df.i("CenterButtonContentWidth",Number,$$t.$ei.$type,new $$t.dg(2,28,function(a,b){a.eb("CenterButtonContentWidth",b.oldValue(),b.newValue())}));$$t.$ei.centerButtonContentHeightProperty=$$t.$df.i("CenterButtonContentHeight",Number,$$t.$ei.$type,new $$t.dg(2,28,function(a,b){a.eb("CenterButtonContentHeight",b.oldValue(),b.newValue())}));$$t.$ei.centerButtonClosedFillProperty=$$t.$df.i("CenterButtonClosedFill",$$t.$c6.$type,$$t.$ei.$type,new $$t.dg(2,null,function(a,b){a.eb("CenterButtonClosedFill",b.oldValue(),b.newValue())}));$$t.$ei.centerButtonClosedStrokeProperty=$$t.$df.i("CenterButtonClosedStroke",$$t.$c6.$type,$$t.$ei.$type,new $$t.dg(2,null,function(a,b){a.eb("CenterButtonClosedStroke",b.oldValue(),b.newValue())}));$$t.$ei.centerButtonFillProperty=$$t.$df.i("CenterButtonFill",$$t.$c6.$type,$$t.$ei.$type,new $$t.dg(2,null,function(a,b){a.eb("CenterButtonFill",b.oldValue(),b.newValue())}));$$t.$ei.centerButtonHotTrackFillProperty=$$t.$df.i("CenterButtonHotTrackFill",$$t.$c6.$type,$$t.$ei.$type,new $$t.dg(2,null,function(a,b){a.eb("CenterButtonHotTrackFill",b.oldValue(),b.newValue())}));$$t.$ei.centerButtonHotTrackStrokeProperty=$$t.$df.i("CenterButtonHotTrackStroke",$$t.$c6.$type,$$t.$ei.$type,new $$t.dg(2,null,function(a,b){a.eb("CenterButtonHotTrackStroke",b.oldValue(),b.newValue())}));$$t.$ei.centerButtonContentProperty=$$t.$df.i("CenterButtonContent",$.ig.$op.$type,$$t.$ei.$type,new $$t.dg(2,null,function(a,b){a.eb("CenterButtonContent",b.oldValue(),b.newValue())}));$$t.$ei.centerButtonKeyTipProperty=$$t.$df.i("CenterButtonKeyTip",String,$$t.$ei.$type,new $$t.dg(2,"0",function(a,b){a.eb("CenterButtonKeyTip",b.oldValue(),b.newValue())}));$$t.$ei.centerButtonStrokeProperty=$$t.$df.i("CenterButtonStroke",$$t.$c6.$type,$$t.$ei.$type,new $$t.dg(2,null,function(a,b){a.eb("CenterButtonStroke",b.oldValue(),b.newValue())}));$$t.$ei.centerButtonStrokeThicknessProperty=$$t.$df.i("CenterButtonStrokeThickness",Number,$$t.$ei.$type,new $$t.dg(2,0,function(a,b){a.eb("CenterButtonStrokeThickness",b.oldValue(),b.newValue())}));$$t.$ei.currentOpenMenuItemProperty=$$t.$df.i("CurrentOpenMenuItem",$.ig.$op.$type,$$t.$ei.$type,new $$t.dg(2,null,function(a,b){a.eb("CurrentOpenMenuItem",b.oldValue(),b.newValue())}));$$t.$ei.fontProperty=$$t.$df.i("Font",String,$$t.$ei.$type,new $$t.dg(2,null,function(a,b){a.eb("Font",b.oldValue(),b.newValue())}));$$t.$ei.isOpenProperty=$$t.$df.i("IsOpen",$$t.$d.$type,$$t.$ei.$type,new $$t.dg(2,false,function(a,b){a.eb("IsOpen",b.oldValue(),b.newValue())}));$$t.$ei.keyTipTemplateProperty=$$t.$df.i("KeyTipTemplate",$$t.$ej.$type,$$t.$ei.$type,new $$t.dg(2,null,function(a,b){a.eb("KeyTipTemplate",b.oldValue(),b.newValue())}));$$t.$ei.menuBackgroundProperty=$$t.$df.i("MenuBackground",$$t.$c6.$type,$$t.$ei.$type,new $$t.dg(2,null,function(a,b){a.eb("MenuBackground",b.oldValue(),b.newValue())}));$$t.$ei.menuItemOpenCloseAnimationDurationProperty=$$t.$df.i("MenuItemOpenCloseAnimationDuration",$$t.$l.$type,$$t.$ei.$type,new $$t.dg(2,250,function(a,b){a.eb("MenuItemOpenCloseAnimationDuration",b.oldValue(),b.newValue())}));$$t.$ei.menuItemOpenCloseAnimationEasingFunctionProperty=$$t.$df.i($$t.$ei.cz,$$t.$du.$type.specialize(Number,Number),$$t.$ei.$type,new $$t.dg(2,null,function(a,b){a.eb($$t.$ei.cz,b.oldValue(),b.newValue())}));$$t.$ei.menuOpenCloseAnimationDurationProperty=$$t.$df.i("MenuOpenCloseAnimationDuration",$$t.$l.$type,$$t.$ei.$type,new $$t.dg(2,250,function(a,b){a.eb("MenuOpenCloseAnimationDuration",b.oldValue(),b.newValue())}));$$t.$ei.menuOpenCloseAnimationEasingFunctionProperty=$$t.$df.i("MenuOpenCloseAnimationEasingFunction",$$t.$du.$type.specialize(Number,Number),$$t.$ei.$type,new $$t.dg(2,null,function(a,b){a.eb("MenuOpenCloseAnimationEasingFunction",b.oldValue(),b.newValue())}));$$t.$ei.minWedgeCountProperty=$$t.$df.i("MinWedgeCount",$$t.$l.$type,$$t.$ei.$type,new $$t.dg(2,8,function(a,b){a.eb("MinWedgeCount",b.oldValue(),b.newValue())}));$$t.$ei.outerRingFillProperty=$$t.$df.i("OuterRingFill",$$t.$c6.$type,$$t.$ei.$type,new $$t.dg(2,null,function(a,b){a.eb("OuterRingFill",b.oldValue(),b.newValue())}));$$t.$ei.outerRingThicknessProperty=$$t.$df.i("OuterRingThickness",Number,$$t.$ei.$type,new $$t.dg(2,26,function(a,b){a.eb("OuterRingThickness",b.oldValue(),b.newValue())}));$$t.$ei.outerRingStrokeProperty=$$t.$df.i("OuterRingStroke",$$t.$c6.$type,$$t.$ei.$type,new $$t.dg(2,null,function(a,b){a.eb("OuterRingStroke",b.oldValue(),b.newValue())}));$$t.$ei.outerRingStrokeThicknessProperty=$$t.$df.i("OuterRingStrokeThickness",Number,$$t.$ei.$type,new $$t.dg(2,0,function(a,b){a.eb("OuterRingStrokeThickness",b.oldValue(),b.newValue())}));$$t.$ei.rotationInDegreesProperty=$$t.$df.i("RotationInDegrees",Number,$$t.$ei.$type,new $$t.dg(2,(-90),function(a,b){a.eb("RotationInDegrees",b.oldValue(),b.newValue())}));$$t.$ei.rotationAsPercentageOfWedgeProperty=$$t.$df.i("RotationAsPercentageOfWedge",Number,$$t.$ei.$type,new $$t.dg(2,(-.5),function(a,b){a.eb("RotationAsPercentageOfWedge",b.oldValue(),b.newValue())}));$$t.$ei.wedgePaddingInDegreesProperty=$$t.$df.i("WedgePaddingInDegrees",Number,$$t.$ei.$type,new $$t.dg(2,0,function(a,b){a.eb("WedgePaddingInDegrees",b.oldValue(),b.newValue())}));$$t.$ei.pixelScalingRatioProperty=$$t.$df.i("PixelScalingRatio",Number,$$t.$ei.$type,new $$t.dg(2,NaN,function(a,b){a.eb("PixelScalingRatio",b.oldValue(),b.newValue())}));if($$t.$ei.staticInit&&!$$t.$ei.xamRadialMenuStaticInitCalled){$$t.$ei.staticInit();$$t.$ei.xamRadialMenuStaticInitCalled=true}$$t.$ed.autoRotateChildrenProperty=$$t.$df.i("AutoRotateChildren",$$t.$d.$type,$$t.$ed.$type,new $$t.dg(2,true,function(a,b){a.cf("AutoRotateChildren",b.oldValue(),b.newValue())}));$$t.$ed.checkedHighlightBrushProperty=$$t.$df.i("CheckedHighlightBrush",$$t.$c6.$type,$$t.$ed.$type,new $$t.dg(2,null,function(a,b){a.cf("CheckedHighlightBrush",b.oldValue(),b.newValue())}));$$t.$ed.foregroundProperty=$$t.$df.i("Foreground",$$t.$c6.$type,$$t.$ed.$type,new $$t.dg(2,null,function(a,b){a.ce("Foreground",b.oldValue(),b.newValue())}));$$t.$ed.highlightBrushProperty=$$t.$df.i("HighlightBrush",$$t.$c6.$type,$$t.$ed.$type,new $$t.dg(2,null,function(a,b){a.cf("HighlightBrush",b.oldValue(),b.newValue())}));$$t.$ed.innerAreaFillProperty=$$t.$df.i("InnerAreaFill",$$t.$c6.$type,$$t.$ed.$type,new $$t.dg(2,null,function(a,b){a.cf("InnerAreaFill",b.oldValue(),b.newValue())}));$$t.$ed.innerAreaHotTrackFillProperty=$$t.$df.i("InnerAreaHotTrackFill",$$t.$c6.$type,$$t.$ed.$type,new $$t.dg(2,null,function(a,b){a.cf("InnerAreaHotTrackFill",b.oldValue(),b.newValue())}));$$t.$ed.innerAreaHotTrackStrokeProperty=$$t.$df.i("InnerAreaHotTrackStroke",$$t.$c6.$type,$$t.$ed.$type,new $$t.dg(2,null,function(a,b){a.cf("InnerAreaHotTrackStroke",b.oldValue(),b.newValue())}));$$t.$ed.innerAreaStrokeProperty=$$t.$df.i("InnerAreaStroke",$$t.$c6.$type,$$t.$ed.$type,new $$t.dg(2,null,function(a,b){a.cf("InnerAreaStroke",b.oldValue(),b.newValue())}));$$t.$ed.innerAreaStrokeThicknessProperty=$$t.$df.i("InnerAreaStrokeThickness",Number,$$t.$ed.$type,new $$t.dg(2,1,function(a,b){a.cf("InnerAreaStrokeThickness",b.oldValue(),b.newValue())}));$$t.$ed.isEnabledProperty=$$t.$df.i("IsEnabled",$$t.$d.$type,$$t.$ed.$type,new $$t.dg(2,true,function(a,b){a.cf("IsEnabled",b.oldValue(),b.newValue())}));$$t.$ed.isToolTipEnabledProperty=$$t.$df.i("IsToolTipEnabled",$$t.$d.$type,$$t.$ed.$type,new $$t.dg(2,true,function(a,b){a.cf("IsToolTipEnabled",b.oldValue(),b.newValue())}));$$t.$ed.menuProperty=$$t.$df.i("Menu",$$t.$ei.$type,$$t.$ed.$type,new $$t.dg(2,null,function(a,b){a.cf("Menu",b.oldValue(),b.newValue())}));$$t.$ed.outerRingButtonHotTrackFillProperty=$$t.$df.i("OuterRingButtonHotTrackFill",$$t.$c6.$type,$$t.$ed.$type,new $$t.dg(2,null,function(a,b){a.cf("OuterRingButtonHotTrackFill",b.oldValue(),b.newValue())}));$$t.$ed.outerRingButtonHotTrackForegroundProperty=$$t.$df.i("OuterRingButtonHotTrackForeground",$$t.$c6.$type,$$t.$ed.$type,new $$t.dg(2,null,function(a,b){a.cf("OuterRingButtonHotTrackForeground",b.oldValue(),b.newValue())}));$$t.$ed.outerRingButtonHotTrackStrokeProperty=$$t.$df.i("OuterRingButtonHotTrackStroke",$$t.$c6.$type,$$t.$ed.$type,new $$t.dg(2,null,function(a,b){a.cf("OuterRingButtonHotTrackStroke",b.oldValue(),b.newValue())}));$$t.$ed.outerRingButtonFillProperty=$$t.$df.i("OuterRingButtonFill",$$t.$c6.$type,$$t.$ed.$type,new $$t.dg(2,null,function(a,b){a.cf("OuterRingButtonFill",b.oldValue(),b.newValue())}));$$t.$ed.outerRingButtonForegroundProperty=$$t.$df.i("OuterRingButtonForeground",$$t.$c6.$type,$$t.$ed.$type,new $$t.dg(2,null,function(a,b){a.cf("OuterRingButtonForeground",b.oldValue(),b.newValue())}));$$t.$ed.outerRingButtonStrokeProperty=$$t.$df.i("OuterRingButtonStroke",$$t.$c6.$type,$$t.$ed.$type,new $$t.dg(2,null,function(a,b){a.cf("OuterRingButtonStroke",b.oldValue(),b.newValue())}));$$t.$ed.outerRingButtonStrokeThicknessProperty=$$t.$df.i("OuterRingButtonStrokeThickness",Number,$$t.$ed.$type,new $$t.dg(2,1,function(a,b){a.cf("OuterRingButtonStrokeThickness",b.oldValue(),b.newValue())}));$$t.$ed.parentItemProperty=$$t.$df.i("ParentItem",$$t.$ed.$type,$$t.$ed.$type,new $$t.dg(2,null,function(a,b){a.cf("ParentItem",b.oldValue(),b.newValue())}));$$t.$ed.toolTipProperty=$$t.$df.i("ToolTip",$.ig.$op.$type,$$t.$ed.$type,new $$t.dg(2,null,function(a,b){a.cf("ToolTipResolved",null,null)}));$$t.$ed.wedgeIndexProperty=$$t.$df.i("WedgeIndex",$$t.$l.$type,$$t.$ed.$type,new $$t.dg(2,(-1),function(a,b){a.cf("WedgeIndex",b.oldValue(),b.newValue())}));$$t.$ed.wedgeSpanProperty=$$t.$df.i("WedgeSpan",$$t.$l.$type,$$t.$ed.$type,new $$t.dg(2,1,function(a,b){if($h(b.newValue())<=0){throw new $$t.jq(1,"WedgeSpan")}a.cf("WedgeSpan",b.oldValue(),b.newValue())}));$$t.$ed.c2=$$t.$df.i("VisibilityProxy",$$t.$dz.$type,$$t.$ed.$type,new $$t.dg(2,$$t.$dz.getBox(0),function(a,b){a.cf("VisibilityProxy",b.oldValue(),b.newValue())}));if($$t.$ed.staticInit&&!$$t.$ed.radialMenuItemBaseStaticInitCalled){$$t.$ed.staticInit();$$t.$ed.radialMenuItemBaseStaticInitCalled=true}$$t.$hz.pendingValueProperty=$$t.$df.i("PendingValue",Number,$$t.$hz.$type,new $$t.dg(2,NaN,function(a,b){var c=a;c.cf("PendingValue",b.oldValue(),b.newValue());var d=c.pendingValueChanged;if(null!=d){d(c,new $$t.h1(b.oldValue(),b.newValue()))}}));$$t.$hz.pendingValueNeedleBrushProperty=$$t.$df.i("PendingValueNeedleBrush",$$t.$c6.$type,$$t.$hz.$type,new $$t.dg(2,null,function(a,b){a.cf("PendingValueNeedleBrush",b.oldValue(),b.newValue())}));$$t.$hz.reserveFirstSliceProperty=$$t.$df.i("ReserveFirstSlice",$$t.$d.$type,$$t.$hz.$type,new $$t.dg(2,true,function(a,b){a.cf("ReserveFirstSlice",b.oldValue(),b.newValue())}));$$t.$hz.smallIncrementProperty=$$t.$df.i("SmallIncrement",Number,$$t.$hz.$type,new $$t.dg(2,1,function(a,b){a.cf("SmallIncrement",b.oldValue(),b.newValue())}));$$t.$hz.tickBrushProperty=$$t.$df.i("TickBrush",$$t.$c6.$type,$$t.$hz.$type,new $$t.dg(2,null,function(a,b){a.cf("TickBrush",b.oldValue(),b.newValue())}));$$t.$hz.ticksProperty=$$t.$df.i("Ticks",$$t.$fp.$type,$$t.$hz.$type,new $$t.dg(2,null,function(a,b){a.cf("Ticks",b.oldValue(),b.newValue())}));$$t.$hz.trackStartColorProperty=$$t.$df.i("TrackStartColor",$$t.$c7.$type,$$t.$hz.$type,new $$t.dg(2,$$t.$c7.u(0,0,0,0),function(a,b){a.cf("TrackStartColor",b.oldValue(),b.newValue())}));$$t.$hz.trackEndColorProperty=$$t.$df.i("TrackEndColor",$$t.$c7.$type,$$t.$hz.$type,new $$t.dg(2,$$t.$c7.u(255,0,0,0),function(a,b){a.cf("TrackEndColor",b.oldValue(),b.newValue())}));$$t.$hz.valueProperty=$$t.$df.i("Value",Number,$$t.$hz.$type,new $$t.dg(2,NaN,function(a,b){var c=a;c.cf("Value",b.oldValue(),b.newValue());var d=c.valueChanged;if(null!=d){d(c,new $$t.h1(b.oldValue(),b.newValue()))}}));$$t.$hz.valueNeedleBrushProperty=$$t.$df.i("ValueNeedleBrush",$$t.$c6.$type,$$t.$hz.$type,new $$t.dg(2,null,function(a,b){a.cf("ValueNeedleBrush",b.oldValue(),b.newValue())}));if($$t.$hz.staticInit&&!$$t.$hz.radialMenuNumericGaugeStaticInitCalled){$$t.$hz.staticInit();$$t.$hz.radialMenuNumericGaugeStaticInitCalled=true}$$t.$g7.c=null;$$t.$g7.b=null;$$t.$g7.d=null;$$t.$g7.am=0;if($$t.$g7.staticInit&&!$$t.$g7.xamRadialMenuViewStaticInitCalled){$$t.$g7.staticInit();$$t.$g7.xamRadialMenuViewStaticInitCalled=true}$$t.$iz.d4=0;$$t.$it.a=new $$t.it;$$t.$ig.e=null;$$t.$ig.d=null;if($$t.$ig.staticInit&&!$$t.$ig.radialMenuItemOverlayTemplatesStaticInitCalled){$$t.$ig.staticInit();$$t.$ig.radialMenuItemOverlayTemplatesStaticInitCalled=true}$$t.$g2.autoUpdateRecentItemProperty=$$t.$df.i("AutoUpdateRecentItem",$$t.$d.$type,$$t.$g2.$type,new $$t.dg(2,true,function(a,b){a.cf("AutoUpdateRecentItem",b.oldValue(),b.newValue())}));$$t.$g2.childItemPlacementProperty=$$t.$df.i("ChildItemPlacement",$$t.$g4.$type,$$t.$g2.$type,new $$t.dg(2,$$t.$g4.getBox(0),function(a,b){a.cf("ChildItemPlacement",b.oldValue(),b.newValue())}));$$t.$g2.checkBehaviorProperty=$$t.$df.i("CheckBehavior",$$t.$g5.$type,$$t.$g2.$type,new $$t.dg(2,$$t.$g5.getBox(0),function(a,b){a.cf("CheckBehavior",b.oldValue(),b.newValue())}));$$t.$g2.isCheckedProperty=$$t.$df.i("IsChecked",$$t.$d.$type,$$t.$g2.$type,new $$t.dg(2,false,function(a,b){a.cf("IsChecked",b.oldValue(),b.newValue())}));$$t.$g2.groupNameProperty=$$t.$df.i("GroupName",String,$$t.$g2.$type,new $$t.dg(2,null,function(a,b){a.cf("GroupName",b.oldValue(),b.newValue())}));$$t.$g2.headerProperty=$$t.$df.i("Header",$.ig.$op.$type,$$t.$g2.$type,new $$t.dg(2,null,function(a,b){a.cf("Header",b.oldValue(),b.newValue())}));$$t.$g2.iconUriProperty=$$t.$df.i("IconUri",String,$$t.$g2.$type,new $$t.dg(2,null,function(a,b){a.ce("IconUri",b.oldValue(),b.newValue())}));$$t.$g2.iconOverlayProperty=$$t.$df.i("IconOverlay",$$t.$ej.$type,$$t.$g2.$type,new $$t.dg(2,null,function(a,b){a.cf("IconOverlay",b.oldValue(),b.newValue())}));$$t.$g2.iconOverlayValueProperty=$$t.$df.i("IconOverlayValue",$.ig.$op.$type,$$t.$g2.$type,new $$t.dg(2,null,function(a,b){a.cf("IconOverlayValue",b.oldValue(),b.newValue())}));$$t.$g2.keyTipProperty=$$t.$df.i("KeyTip",String,$$t.$g2.$type,new $$t.dg(2,null,function(a,b){a.cf("KeyTip",b.oldValue(),b.newValue())}));$$t.$g2.recentItemProperty=$$t.$df.i("RecentItem",$.ig.$op.$type,$$t.$g2.$type,new $$t.dg(2,null,function(a,b){a.cf("RecentItem",b.oldValue(),b.newValue())}));$$t.$g2.recentItemContainerProperty=$$t.$df.i("RecentItemContainer",$.ig.$op.$type,$$t.$g2.$type,new $$t.dg(2,null,$$t.$g2.eu));if($$t.$g2.staticInit&&!$$t.$g2.radialMenuItemStaticInitCalled){$$t.$g2.staticInit();$$t.$g2.radialMenuItemStaticInitCalled=true}$$t.$i6.colorProperty=$$t.$df.i("Color",$$t.$c7.$type,$$t.$i6.$type,new $$t.dg(2,$$t.$c7.u(0,0,0,0),function(a,b){a.cf("Color",b.oldValue(),b.newValue())}));$$t.$i6.computedColorNameProperty=$$t.$df.i("ComputedColorName",String,$$t.$i6.$type,new $$t.dg(2,null,function(a,b){a.cf("ComputedColorName",b.oldValue(),b.newValue())}));if($$t.$i8.staticInit&&!$$t.$i8.radialMenuColorItemStaticInitCalled){$$t.$i8.staticInit();$$t.$i8.radialMenuColorItemStaticInitCalled=true}if($$t.$i5.staticInit&&!$$t.$i5.radialMenuColorWellStaticInitCalled){$$t.$i5.staticInit();$$t.$i5.radialMenuColorWellStaticInitCalled=true}$$t.$ie.valueProperty=$$t.$df.i("Value",Number,$$t.$ie.$type,new $$t.dg(2,NaN,function(a,b){var c=a;c.cf("Value",b.oldValue(),b.newValue());var d=c.valueChanged;if(null!=d){d(c,new $$t.h1(b.oldValue(),b.newValue()))}}));if($$t.$ie.staticInit&&!$$t.$ie.radialMenuNumericItemStaticInitCalled){$$t.$ie.staticInit();$$t.$ie.radialMenuNumericItemStaticInitCalled=true}$$t.$im.y=function(){var $ret=new $$t.c7;$ret.colorString("transparent");return $ret}();$$t.$im.v=function(){var $ret=new $$t.c7;$ret.colorString("black");return $ret}();$$t.$im.z=function(){var $ret=new $$t.c7;$ret.colorString("white");return $ret}();$$t.$im.t=function(){var $ret=new $$t.c6;$ret.color($$t.$im.y);return $ret}();$$t.$im.a=null;if($$t.$im.staticInit&&!$$t.$im.radialMenuUtilitiesStaticInitCalled){$$t.$im.staticInit();$$t.$im.radialMenuUtilitiesStaticInitCalled=true}});