/*!@license
* Infragistics.Web.ClientUI infragistics.chart_sparkline.js 13.1.20131.2523
*
* Copyright (c) 2011-2014 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
*     jquery-1.4.4.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*/
$.ig=$.ig||{};$.ig.util.bulkDefine(["AbstractEnumerable","AbstractEnumerator","IEnumerable$1","ICollection$1","IList$1","IArrayList","List$1","Collection$1","IDictionary$2","Dictionary$2","GenericEnumerable$1","IEnumerator$1","GenericEnumerator$1","INotifyCollectionChanged","NotifyCollectionChangedEventHandler","NotifyCollectionChangedEventArgs","NotifyCollectionChangedAction","KeyValuePair$2","LinkedList$1","LinkedListNode$1","ObservableCollection$1","Queue$1","ReadOnlyCollection$1","ReadOnlyObservableCollection$1","NameValueCollection","Stack$1","IComparer$1","Expression","MemberExpression","ParameterExpression","LambdaExpression","MethodCallExpression","IOrderedEnumerable$1","Queryable","Enumerable","SortedList$1","IGrouping$2","IArray","DependencyObject","Test","IQueryable","IQueryable$1","IQueryProvider","Activator","AggregateException","ArgumentException","ArgumentNullException","ArgumentOutOfRangeException","AsyncCompletedEventArgs","AsyncCompletedEventHandler","ListSortDirection","Convert","Environment","InvalidOperationException","Debug","IEquatable$1","BinaryReader","ICredentials","NetworkCredential","UploadStringCompletedEventHandler","UploadStringCompletedEventArgs","WebClient","WebHeaderCollection","FaultCode","FaultException","FaultException$1","FaultReason","StringBuilder","BinaryFileDownloader","NotImplementedException","Random","Encoding","UTF8Encoding","Task","Task$1","TaskCompletionSource$1","TaskFactory","TaskStatus","Tuple$2","Uri","JavaScriptSerializer","UIElement","UIElementCollection","FrameworkElement","Control","ContentControl","Panel","Canvas","Image","TextBlock","DataTemplate","DataTemplatePassInfo","DataTemplateMeasureInfo","DataTemplateRenderInfo","DataTemplateRenderHandler","DataTemplateMeasureHandler","DataTemplatePassHandler","Binding","DependencyProperty","UnsetValue","DependencyPropertiesCollection","DependencyPropertyChangedEventArgs","Key","ModifierKeys","MouseEventArgs","MouseButtonEventArgs","Brush","Color","DoubleCollection","FillRule","GeometryType","Geometry","GeometryCollection","GeometryGroup","LineGeometry","RectangleGeometry","EllipseGeometry","PathGeometry","PathFigure","PathFigureCollection","PathSegmentType","PathSegment","PathSegmentCollection","LineSegment","BezierSegment","PolyBezierSegment","PolyLineSegment","ArcSegment","SweepDirection","HorizontalAlignment","PenLineCap","Stretch","Transform","RotateTransform","TranslateTransform","TransformGroup","TransformCollection","VerticalAlignment","Point","PointCollection","PropertyChangedCallback","CoerceValueCallback","PropertyMetadata","PropertyPath","Rect","Shape","Line","Path","Polygon","Polyline","Rectangle","Size","Style","StyleTypedPropertyAttribute","TemplatePartAttribute","TemplateVisualStateAttribute","Visibility","XObject","XAttribute","XNode","XContainer","XDocument","XElement","XmlUtils","XName","XNamespace","Object","MulticastDelegate","Action","Action$1","Action$2","Action$3","Action$4","Action$5","Action$6","Action$7","Action$8","IEqualityComparer$1","IEnumerable","ICollection","IDictionary","IList","Array","Array","Comparison$1","Attribute","BrowsableAttribute","EventArgs","CancelEventArgs","DesignTimeVisibleAttribute","EditorBrowsableAttribute","ValueType","Enum","EditorBrowsableState","ISupportInitialize","ITypeDescriptorContext","TypeConverter","TypeConverterAttribute","WinMDTypeAttribute","WinMDPropertyToObjectTypeAttribute","Error","IFormatProvider","NotSupportedException","ObsoleteAttribute","MemberInfo","MethodBase","ConstructorInfo","IComparable","Date","Number","SuppressMessageAttribute","EventHandler$1","PlaceholderSystemCollectionsObjectModel","PlaceholderSystemCollectionsSpecialized","PlaceholderSystemWindows","PlaceholderSystemWindowsControls","PlaceholderSystemWindowsData","PlaceholderSystemWindowsInput","PlaceholderSystemWindowsMarkup","PlaceholderSystemWindowsMediaImaging","PlaceholderSystemWindowsShapes","PlaceholderSystemWindowsControlsPrimitives","PlaceholderSystemWindowsAutomation","PlaceholderSystemWindowsAutomationPeers","PlaceholderSystemText","PlaceholderSystemGlobalization","PlaceholderSystemWindowsDocuments","PlaceholderSystemWindowsInk","PlaceholderSystemWindowsMediaAnimation","PlaceholderSystemWindowsMediaEffects","PlaceholderSystemWindowsThreading","PlaceholderInfragisticsControlerChartsAutomationPeers","FlagsAttribute","Func$1","Func$2","Func$3","Func$4","Func$5","Func$6","Func$7","Func$8","Func$9","Math","XMLHttpRequest","Nullable$1","Number","ParamArrayAttribute","Array","AttributeTargets","AttributeUsageAttribute","Boolean","Number","String","Array","CompareCallback","Dictionary","DictionaryEntry","IEnumerator","INotifyPropertyChanged","PropertyChangedEventArgs","PropertyChangedEventHandler","CultureInfo","Delegate","Number","IDisposable","Number","Number","Number","IntPtr","ReflectionUtil","AssemblyTitleAttribute","AssemblyCompanyAttribute","AssemblyConfigurationAttribute","AssemblyCopyrightAttribute","AssemblyCultureAttribute","AssemblyDescriptionAttribute","AssemblyFileVersionAttribute","AssemblyProductAttribute","AssemblyTrademarkAttribute","AssemblyVersionAttribute","DefaultMemberAttribute","MethodInfo","ParameterInfo","PropertyInfo","RuntimeFieldHandle","RuntimeTypeHandle","ClientScriptAttribute","ClientNameAttribute","DontObfuscateAttribute","EmitIgnoreTypeAttribute","ExtensionAttribute","GlobalMemberAttribute","IgnoreAttribute","InlineItemAccessAttribute","InlinePropertyAttribute","InternalsVisibleToAttribute","KeepOriginalNameAttribute","LiteralStringAttribute","NativeMethodAttribute","NativePropertyAttribute","NativeTypeAttribute","RuntimeHelpers","WeakAttribute","WidgetAttribute","MainWidgetAttribute","SuppressWidgetMemberAttribute","SuppressWidgetMemberCopyAttribute","WidgetDefaultStringAttribute","WidgetDefaultNumberAttribute","WidgetDefaultBooleanAttribute","MvcEnumSetStringEnumAttribute","WidgetModuleAttribute","WidgetModuleParentAttribute","WidgetIgnoreDependsAttribute","ComVisibleAttribute","GuidAttribute","OutAttribute","DataContractAttribute","DataMemberAttribute","WaitHandle","EventWaitHandle","Monitor","TypeCode","TargetFrameworkAttribute","Number","Script","Single","String","ManualResetEvent","Thread","Date","Type","Number","Number","Number","UIntPtr","XmlAttributeAttribute","XmlElementAttribute","XmlEnumAttribute","XmlIgnoreAttribute","XmlRootAttribute","XmlTypeAttribute","XmlNode","XmlAttribute","XmlDocument","XmlDocumentParser","XmlLinkedNode","XmlElement","Void","XmlNodeList","XmlNamedNodeMap","XmlNodeType","XmlSchemaForm","Element","CanvasElement","console","DivElement","Document","ElementAttribute","ElementAttributeCollection","ElementCollection","ElementEventHandler","ElementNodeType","EventListener","IElementEventHandler","ImageElement","CanvasContext","CanvasContext2D","ImageData","Gradient","TextMetrics","MSGesture","WebStyle","window","Callback","JQuery","JQueryDeferred","JQueryEvent","JQueryObject","JQueryCallback","JQueryUICallback","JQueryPosition","JQueryPromise"]);$.ig.util.defType("ModifierKeys","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("ModifierKeys",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Key","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("Key",$.ig.Object.prototype.$type)},true);$.ig.util.defType("IOrderedEnumerable$1","Object",{$type:new $.ig.Type("IOrderedEnumerable$1",null,[$.ig.IEnumerable$1.prototype.$type.specialize(0),$.ig.IEnumerable.prototype.$type])},true);$.ig.util.defType("Enumerable","Object",{init:function(){$.ig.Object.prototype.init.call(this)},where$1:function($tSource,b){var $self=this;var $iter=function(){return function($tSource,b){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$d=this.$this.getEnumerator();this.$state=7;break;case 2:this.$c=this.$d.current();this.$state=3;break;case 3:if(b(this.$c)){this.$state=4}else{this.$state=6}break;case 4:this.$current=this.$c;this.$state=5;return true;case 5:this.$state=6;break;case 6:this.$state=7;break;case 7:if(this.$d.moveNext()){this.$state=2}else{this.$state=8}break;case 8:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tSource,b)};return new $.ig.GenericEnumerable$1($tSource,$iter)},where$11111:function($tSource,b){var $self=this;var $iter=function(){return function($tSource,b){return{$state:0,$this:$self,$current:null,$c:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=0;this.$state=1;break;case 1:this.$e=this.$this.getEnumerator();this.$state=7;break;case 2:this.$d=this.$e.current();this.$state=3;break;case 3:if(b(this.$d,this.$c)){this.$state=4}else{this.$state=6}break;case 4:this.$current=this.$d;this.$state=5;return true;case 5:this.$state=6;break;case 6:this.$c++;this.$state=7;break;case 7:if(this.$e.moveNext()){this.$state=2}else{this.$state=8}break;case 8:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tSource,b)};return new $.ig.GenericEnumerable$1($tSource,$iter)},select$2:function($tSource,$tResult,b){var $self=this;var $iter=function(){return function($tSource,$tResult,b){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$d=this.$this.getEnumerator();this.$state=4;break;case 2:this.$c=this.$d.current();this.$current=b(this.$c);this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$d.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tSource,$tResult,b)};return new $.ig.GenericEnumerable$1($tResult,$iter)},selectMany$2:function($tSource,$tResult,b){var $self=this;var $iter=function(){return function($tSource,$tResult,b){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$d=this.$this.getEnumerator();this.$state=8;break;case 2:this.$c=this.$d.current();this.$state=3;break;case 3:this.$f=b(this.$c).getEnumerator();this.$state=6;break;case 4:this.$e=this.$f.current();this.$current=this.$e;this.$state=5;return true;case 5:this.$state=6;break;case 6:if(this.$f.moveNext()){this.$state=4}else{this.$state=7}break;case 7:this.$state=8;break;case 8:if(this.$d.moveNext()){this.$state=2}else{this.$state=9}break;case 9:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tSource,$tResult,b)};return new $.ig.GenericEnumerable$1($tResult,$iter)},ofType$1:function($tResult){var $self=this;var $iter=function(){return function($tResult){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$c=this.$this.getEnumerator();this.$state=7;break;case 2:this.$b=this.$c.current();this.$state=3;break;case 3:if($.ig.util.cast($tResult,this.$b)!==null){this.$state=4}else{this.$state=6}break;case 4:this.$current=this.$b;this.$state=5;return true;case 5:this.$state=6;break;case 6:this.$state=7;break;case 7:if(this.$c.moveNext()){this.$state=2}else{this.$state=8}break;case 8:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tResult)};return new $.ig.GenericEnumerable$1($tResult,$iter)},last$1:function($tSource){var b=$.ig.util.cast($.ig.IList$1.prototype.$type.specialize($tSource),this);if(b!=null){return b.item(b.count()-1)}var c=null;var e=this.getEnumerator();while(e.moveNext()){var d=e.current();c=d}return c},first$1:function($tSource){var c=this.getEnumerator();while(c.moveNext()){var b=c.current();return b}return null},firstOrDefault$1:function($tSource){var c=this.getEnumerator();while(c.moveNext()){var b=c.current();return b}return null},orderBy$2:function($tSource,$tKey,b){var $self=this;var c=new $.ig.SortedList$1($tSource,this);c.t(function(d,e){var f=d;var g=e;var h=b(f);var i=b(g);if($.ig.util.cast($.ig.IComparable.prototype.$type,h)!==null){return $.ig.util.cast($.ig.IComparable.prototype.$type,h).compareTo(i)}else{return h.toString().compareTo(i.toString())}});return c},orderByDescending$2:function($tSource,$tKey,b){var $self=this;var c=new $.ig.SortedList$1($tSource,this);c.t(function(d,e){var f=e;var g=d;var h=b(f);var i=b(g);if($.ig.util.cast($.ig.IComparable.prototype.$type,h)!==null){return $.ig.util.cast($.ig.IComparable.prototype.$type,h).compareTo(i)}else{return h.toString().compareTo(i.toString())}});return c},toList$1:function($tSource){var b=new $.ig.List$1($tSource,1,this);return b},a:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$c=a;this.$state=5;break;case 2:this.$current=this.$c;this.$state=3;return true;case 3:this.$state=4;break;case 4:this.$c++;this.$state=5;break;case 5:if(this.$c<b){this.$state=2}else{this.$state=6}break;case 6:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1($.ig.Number.prototype.$type,$iter)},concat$1:function($tSource,b){var $self=this;var $iter=function(){return function($tSource,b){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$d=this.$this.getEnumerator();this.$state=4;break;case 2:this.$c=this.$d.current();this.$current=this.$c;this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$d.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=6;break;case 6:this.$f=b.getEnumerator();this.$state=9;break;case 7:this.$e=this.$f.current();this.$current=this.$e;this.$state=8;return true;case 8:this.$state=9;break;case 9:if(this.$f.moveNext()){this.$state=7}else{this.$state=10}break;case 10:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tSource,b)};return new $.ig.GenericEnumerable$1($tSource,$iter)},max:function(){var b=true;var c=0;var e=this.getEnumerator();while(e.moveNext()){var d=e.current();if(b){b=false;c=d}else{c=Math.max(c,d)}}return c},max$111:function($tSource,b){return this.select$2($tSource,$.ig.Number.prototype.$type,b).max()},min:function(){var b=true;var c=0;var e=this.getEnumerator();while(e.moveNext()){var d=e.current();if(b){b=false;c=d}else{c=Math.min(c,d)}}return c},min$111:function($tSource,b){return this.select$2($tSource,$.ig.Number.prototype.$type,b).max()},count$1:function($tSource){var b=0;var d=this.getEnumerator();while(d.moveNext()){var c=d.current();b++}return b},reverse$1:function($tSource){var $self=this;var $iter=function(){return function($tSource){return{$state:0,$this:$self,$current:null,$b:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$b=new $.ig.List$1($tSource,1,this.$this);this.$state=1;break;case 1:this.$c=this.$b.count()-1;this.$state=5;break;case 2:this.$current=this.$b.__inner[this.$c];this.$state=3;return true;case 3:this.$state=4;break;case 4:this.$c--;this.$state=5;break;case 5:if(this.$c>0){this.$state=2}else{this.$state=6}break;case 6:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tSource)};return new $.ig.GenericEnumerable$1($tSource,$iter)},cast$1:function($tResult){if(this==null){throw new $.ig.ArgumentNullException("source")}var b=$.ig.util.cast($.ig.IEnumerable$1.prototype.$type.specialize($tResult),this);if(b!=null){return b}var c=new $.ig.List$1($tResult,0);var e=this.getEnumerator();while(e.moveNext()){var d=e.current();if($.ig.util.cast($tResult,d)!==null){c.add(d)}else{c.add(null)}}return c},take$1:function($tSource,b){var $self=this;var $iter=function(){return function($tSource,b){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$d=this.$this.getEnumerator();this.$state=9;break;case 2:this.$c=this.$d.current();this.$state=3;break;case 3:if(b>0){this.$state=4}else{this.$state=6}break;case 4:b--;this.$current=this.$c;this.$state=5;return true;case 5:this.$state=8;break;case 6:this.$state=-2;return false;case 7:this.$state=8;break;case 8:this.$state=9;break;case 9:if(this.$d.moveNext()){this.$state=2}else{this.$state=10}break;case 10:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tSource,b)};return new $.ig.GenericEnumerable$1($tSource,$iter)},skip$1:function($tSource,b){var $self=this;var $iter=function(){return function($tSource,b){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$d=this.$this.getEnumerator();this.$state=8;break;case 2:this.$c=this.$d.current();this.$state=3;break;case 3:if(b<=0){this.$state=4}else{this.$state=6}break;case 4:this.$current=this.$c;this.$state=5;return true;case 5:this.$state=7;break;case 6:b--;this.$state=7;break;case 7:this.$state=8;break;case 8:if(this.$d.moveNext()){this.$state=2}else{this.$state=9}break;case 9:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tSource,b)};return new $.ig.GenericEnumerable$1($tSource,$iter)},any$1:function($tSource){var c=this.getEnumerator();while(c.moveNext()){var b=c.current();return true}return false},contains$1:function($tSource,value_){var b=this.getEnumerator();while(b.moveNext()){var item_=b.current();if(item_===value_){return true}}return false},union$1:function($tSource,b){return null},toArray$1:function($tSource){var b=new $.ig.List$1($tSource,1,this);return b.asArrayList()},elementAt$1:function($tSource,b){var c=$.ig.util.cast($.ig.IList$1.prototype.$type.specialize($tSource),this);if(c!=null){return c.item(b)}return this.skip$1($tSource,b).first$1($tSource)},$type:new $.ig.Type("Enumerable",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SortedList$1","List$1",{$tElement:null,init:function($tElement,a){this.$tElement=$tElement;this.$type=this.$type.specialize(this.$tElement);$.ig.List$1.prototype.init1.call(this,this.$tElement,1,a)},getEnumerator:function(){return $.ig.List$1.prototype.getEnumerator.call(this)},$type:new $.ig.Type("SortedList$1",$.ig.List$1.prototype.$type.specialize(0),[$.ig.IOrderedEnumerable$1.prototype.$type.specialize(0)])},true);$.ig.util.defType("ArgumentException","Error",{init:function(initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.Error.prototype.init1.call(this,1,a+" is invalid.")},init1:function(initNumber,a,b){$.ig.Error.prototype.init1.call(this,1,a)},$type:new $.ig.Type("ArgumentException",$.ig.Error.prototype.$type)},true);$.ig.util.defType("ArgumentNullException","Error",{init:function(a){$.ig.Error.prototype.init1.call(this,1,a+" cannot be null.")},$type:new $.ig.Type("ArgumentNullException",$.ig.Error.prototype.$type)},true);$.ig.util.defType("MouseEventArgs","EventArgs",{init:function(){$.ig.EventArgs.prototype.init.call(this)},_position:null,position:function(a){if(arguments.length===1){this._position=a;return a}else{return this._position}},_originalSource:null,originalSource:function(a){if(arguments.length===1){this._originalSource=a;return a}else{return this._originalSource}},getPosition:function(a){return this.position()},$type:new $.ig.Type("MouseEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.ModifierKeys.prototype.none=0;$.ig.ModifierKeys.prototype.alt=1;$.ig.ModifierKeys.prototype.control=2;$.ig.ModifierKeys.prototype.shift=4;$.ig.ModifierKeys.prototype.windows=8;$.ig.ModifierKeys.prototype.apple=8;$.ig.Key.prototype.none=0;$.ig.Key.prototype.back=1;$.ig.Key.prototype.tab=2;$.ig.Key.prototype.enter=3;$.ig.Key.prototype.shift=4;$.ig.Key.prototype.ctrl=5;$.ig.Key.prototype.alt=6;$.ig.Key.prototype.capsLock=7;$.ig.Key.prototype.escape=8;$.ig.Key.prototype.space=9;$.ig.Key.prototype.pageUp=10;$.ig.Key.prototype.pageDown=11;$.ig.Key.prototype.end=12;$.ig.Key.prototype.home=13;$.ig.Key.prototype.left=14;$.ig.Key.prototype.up=15;$.ig.Key.prototype.right=16;$.ig.Key.prototype.down=17;$.ig.Key.prototype.insert=18;$.ig.Key.prototype.del=19;$.ig.Key.prototype.d0=20;$.ig.Key.prototype.d1=21;$.ig.Key.prototype.d2=22;$.ig.Key.prototype.d3=23;$.ig.Key.prototype.d4=24;$.ig.Key.prototype.d5=25;$.ig.Key.prototype.d6=26;$.ig.Key.prototype.d7=27;$.ig.Key.prototype.d8=28;$.ig.Key.prototype.d9=29;$.ig.Key.prototype.a=30;$.ig.Key.prototype.b=31;$.ig.Key.prototype.c=32;$.ig.Key.prototype.d=33;$.ig.Key.prototype.e=34;$.ig.Key.prototype.f=35;$.ig.Key.prototype.g=36;$.ig.Key.prototype.h=37;$.ig.Key.prototype.i=38;$.ig.Key.prototype.j=39;$.ig.Key.prototype.k=40;$.ig.Key.prototype.l=41;$.ig.Key.prototype.m=42;$.ig.Key.prototype.n=43;$.ig.Key.prototype.o=44;$.ig.Key.prototype.p=45;$.ig.Key.prototype.q=46;$.ig.Key.prototype.r=47;$.ig.Key.prototype.s=48;$.ig.Key.prototype.t=49;$.ig.Key.prototype.u=50;$.ig.Key.prototype.v=51;$.ig.Key.prototype.w=52;$.ig.Key.prototype.x=53;$.ig.Key.prototype.y=54;$.ig.Key.prototype.z=55;$.ig.Key.prototype.f1=56;$.ig.Key.prototype.f2=57;$.ig.Key.prototype.f3=58;$.ig.Key.prototype.f4=59;$.ig.Key.prototype.f5=60;$.ig.Key.prototype.f6=61;$.ig.Key.prototype.f7=62;$.ig.Key.prototype.f8=63;$.ig.Key.prototype.f9=64;$.ig.Key.prototype.f10=65;$.ig.Key.prototype.f11=66;$.ig.Key.prototype.f12=67;$.ig.Key.prototype.numPad0=68;$.ig.Key.prototype.numPad1=69;$.ig.Key.prototype.numPad2=70;$.ig.Key.prototype.numPad3=71;$.ig.Key.prototype.numPad4=72;$.ig.Key.prototype.numPad5=73;$.ig.Key.prototype.numPad6=74;$.ig.Key.prototype.numPad7=75;$.ig.Key.prototype.numPad8=76;$.ig.Key.prototype.numPad9=77;$.ig.Key.prototype.multiply=78;$.ig.Key.prototype.add=79;$.ig.Key.prototype.subtract=80;$.ig.Key.prototype.decimal=81;$.ig.Key.prototype.divide=82;$.ig.Key.prototype.unknown=255;$.ig.util.extCopy($.ig.Queryable,[[[$.ig.AbstractEnumerable,$.ig.IEnumerable$1,$.ig.ICollection$1,$.ig.IList$1,$.ig.List$1,$.ig.IDictionary$2,$.ig.Dictionary$2,$.ig.GenericEnumerable$1,$.ig.ReadOnlyCollection$1,$.ig.Stack$1,$.ig.IOrderedEnumerable$1,$.ig.SortedList$1,$.ig.IGrouping$2,$.ig.ICollection,$.ig.IList,$.ig.Array,$.ig.Dictionary,$.ig.XmlNodeList,$.ig.XmlNamedNodeMap],["asQueryable"]]]);$.ig.util.extCopy($.ig.Enumerable,[[[$.ig.ICollection$1,$.ig.IList$1,$.ig.List$1,$.ig.IDictionary$2,$.ig.Dictionary$2,$.ig.GenericEnumerable$1,$.ig.ReadOnlyCollection$1,$.ig.Stack$1,$.ig.IOrderedEnumerable$1,$.ig.SortedList$1,$.ig.IGrouping$2,$.ig.IEnumerable$1],["where$1","where$11111","select$2","selectMany$2","last$1","first$1","firstOrDefault$1","orderBy$2","orderByDescending$2","toList$1","concat$1","max","max$111","min","min$111","count$1","reverse$1","take$1","skip$1","any$1","contains$1","union$1","toArray$1","elementAt$1"]],[[$.ig.AbstractEnumerable,$.ig.IEnumerable$1,$.ig.ICollection$1,$.ig.IList$1,$.ig.List$1,$.ig.IDictionary$2,$.ig.Dictionary$2,$.ig.GenericEnumerable$1,$.ig.ReadOnlyCollection$1,$.ig.Stack$1,$.ig.IOrderedEnumerable$1,$.ig.SortedList$1,$.ig.IGrouping$2,$.ig.ICollection,$.ig.IList,$.ig.Array,$.ig.Dictionary,$.ig.XmlNodeList,$.ig.XmlNamedNodeMap],["ofType$1","cast$1"]]]);$.ig=$.ig||{};$.ig.util.bulkDefine(["BrushCollection","EventProxy","DOMEventProxy","TrendCalculators","TrendLineType","UnknownValuePlotting","ErrorBarCalculatorReference","ErrorBarCalculatorType","IErrorBarCalculator","ErrorMessageDisplayingEventArgs","MouseWheelHandler","GestureHandler","TouchHandler","ContactHandler","MouseHandler","MouseOverHandler","KeyHandler","IFastItemColumnInternal","IFastItemColumnPropertyName","IFastItemColumn$1","FastItemColumn","FastItemDateTimeColumn","FastItemObjectColumn","FastItemIntColumn","FastItemsSource","ColumnReference","FastItemsSourceEventAction","FastItemsSourceEventArgs","FastReflectionHelper","IRenderer","RectChangedEventArgs","RectChangedEventHandler","CanvasRenderScheduler","CanvasViewRenderer","GradientDirection","RenderingContext","DependencyObjectNotifier","InteractionState","IOverviewPlusDetailControl","ISchedulableRender","NavigationSettings","OverviewPlusDetailPaneMode","PropertyChangedEventArgs$1","XamOverviewPlusDetailPane","XamOverviewPlusDetailPaneView","XamOverviewPlusDetailPaneViewManager","XamMultiScaleTileSource","MapTileSource","BingMapsTileSource","CloudMadeTileSource","OpenStreetMapTileSource","ArrayUtil","BrushUtil","Clipper","EdgeClipper","LeftClipper","BottomClipper","RightClipper","TopClipper","InterpolationMode","ColorUtil","FontUtil","DoubleAnimator","Extensions","Flattener","SpiralTodo","GeometryUtil","InterpolationUtil","Numeric","LeastSquaresFit","MathUtil","PathFigureUtil","PointCollectionUtil","PolygonUtil","PolySimplification","RearrangedList$1","RectUtil","ISmartPlaceable","SmartPlaceableWrapper$1","SmartPosition","SmartPlacer","StackPool$1","PrimitiveVisualDataList","LabelAppearanceData","PrimitiveAppearanceData","GetPointsSettings","PrimitiveVisualData","RectangleVisualData","ShapeTags","LineVisualData","PolyLineVisualData","PolygonVisualData","PathVisualData","GeometryData","PathGeometryData","LineGeometryData","RectangleGeometryData","EllipseGeometryData","PathFigureData","SegmentData","LineSegmentData","PolylineSegmentData","PolyBezierSegmentData","ArcSegmentData","AppearanceHelper","Tile","WriteableBitmap","IMapRenderDeferralHandler","XamMultiScaleImage","Pair$2","IEasingFunction","XamMultiScaleImageView","AbstractEnumerable","AbstractEnumerator","IEnumerable$1","ICollection$1","IList$1","IArrayList","List$1","Collection$1","IDictionary$2","Dictionary$2","GenericEnumerable$1","IEnumerator$1","GenericEnumerator$1","INotifyCollectionChanged","NotifyCollectionChangedEventHandler","NotifyCollectionChangedEventArgs","NotifyCollectionChangedAction","KeyValuePair$2","LinkedList$1","LinkedListNode$1","ObservableCollection$1","Queue$1","ReadOnlyCollection$1","ReadOnlyObservableCollection$1","NameValueCollection","Stack$1","IComparer$1","Expression","MemberExpression","ParameterExpression","LambdaExpression","MethodCallExpression","IOrderedEnumerable$1","Queryable","Enumerable","SortedList$1","IGrouping$2","IArray","DependencyObject","Test","IQueryable","IQueryable$1","IQueryProvider","Activator","AggregateException","ArgumentException","ArgumentNullException","ArgumentOutOfRangeException","AsyncCompletedEventArgs","AsyncCompletedEventHandler","ListSortDirection","Convert","Environment","InvalidOperationException","Debug","IEquatable$1","BinaryReader","ICredentials","NetworkCredential","UploadStringCompletedEventHandler","UploadStringCompletedEventArgs","WebClient","WebHeaderCollection","FaultCode","FaultException","FaultException$1","FaultReason","StringBuilder","BinaryFileDownloader","NotImplementedException","Random","Encoding","UTF8Encoding","Task","Task$1","TaskCompletionSource$1","TaskFactory","TaskStatus","Tuple$2","Uri","JavaScriptSerializer","UIElement","UIElementCollection","FrameworkElement","Control","ContentControl","Panel","Canvas","Image","TextBlock","DataTemplate","DataTemplatePassInfo","DataTemplateMeasureInfo","DataTemplateRenderInfo","DataTemplateRenderHandler","DataTemplateMeasureHandler","DataTemplatePassHandler","Binding","DependencyProperty","UnsetValue","DependencyPropertiesCollection","DependencyPropertyChangedEventArgs","Key","ModifierKeys","MouseEventArgs","MouseButtonEventArgs","Brush","Color","DoubleCollection","FillRule","GeometryType","Geometry","GeometryCollection","GeometryGroup","LineGeometry","RectangleGeometry","EllipseGeometry","PathGeometry","PathFigure","PathFigureCollection","PathSegmentType","PathSegment","PathSegmentCollection","LineSegment","BezierSegment","PolyBezierSegment","PolyLineSegment","ArcSegment","SweepDirection","HorizontalAlignment","PenLineCap","Stretch","Transform","RotateTransform","TranslateTransform","TransformGroup","TransformCollection","VerticalAlignment","Point","PointCollection","PropertyChangedCallback","CoerceValueCallback","PropertyMetadata","PropertyPath","Rect","Shape","Line","Path","Polygon","Polyline","Rectangle","Size","Style","StyleTypedPropertyAttribute","TemplatePartAttribute","TemplateVisualStateAttribute","Visibility","XObject","XAttribute","XNode","XContainer","XDocument","XElement","XmlUtils","XName","XNamespace","Object","MulticastDelegate","Action","Action$1","Action$2","Action$3","Action$4","Action$5","Action$6","Action$7","Action$8","IEqualityComparer$1","IEnumerable","ICollection","IDictionary","IList","Array","Array","Comparison$1","Attribute","BrowsableAttribute","EventArgs","CancelEventArgs","DesignTimeVisibleAttribute","EditorBrowsableAttribute","ValueType","Enum","EditorBrowsableState","ISupportInitialize","ITypeDescriptorContext","TypeConverter","TypeConverterAttribute","WinMDTypeAttribute","WinMDPropertyToObjectTypeAttribute","Error","IFormatProvider","NotSupportedException","ObsoleteAttribute","MemberInfo","MethodBase","ConstructorInfo","IComparable","Date","Number","SuppressMessageAttribute","EventHandler$1","PlaceholderSystemCollectionsObjectModel","PlaceholderSystemCollectionsSpecialized","PlaceholderSystemWindows","PlaceholderSystemWindowsControls","PlaceholderSystemWindowsData","PlaceholderSystemWindowsInput","PlaceholderSystemWindowsMarkup","PlaceholderSystemWindowsMediaImaging","PlaceholderSystemWindowsShapes","PlaceholderSystemWindowsControlsPrimitives","PlaceholderSystemWindowsAutomation","PlaceholderSystemWindowsAutomationPeers","PlaceholderSystemText","PlaceholderSystemGlobalization","PlaceholderSystemWindowsDocuments","PlaceholderSystemWindowsInk","PlaceholderSystemWindowsMediaAnimation","PlaceholderSystemWindowsMediaEffects","PlaceholderSystemWindowsThreading","PlaceholderInfragisticsControlerChartsAutomationPeers","FlagsAttribute","Func$1","Func$2","Func$3","Func$4","Func$5","Func$6","Func$7","Func$8","Func$9","Math","XMLHttpRequest","Nullable$1","Number","ParamArrayAttribute","Array","AttributeTargets","AttributeUsageAttribute","Boolean","Number","String","Array","CompareCallback","Dictionary","DictionaryEntry","IEnumerator","INotifyPropertyChanged","PropertyChangedEventArgs","PropertyChangedEventHandler","CultureInfo","Delegate","Number","IDisposable","Number","Number","Number","IntPtr","ReflectionUtil","AssemblyTitleAttribute","AssemblyCompanyAttribute","AssemblyConfigurationAttribute","AssemblyCopyrightAttribute","AssemblyCultureAttribute","AssemblyDescriptionAttribute","AssemblyFileVersionAttribute","AssemblyProductAttribute","AssemblyTrademarkAttribute","AssemblyVersionAttribute","DefaultMemberAttribute","MethodInfo","ParameterInfo","PropertyInfo","RuntimeFieldHandle","RuntimeTypeHandle","ClientScriptAttribute","ClientNameAttribute","DontObfuscateAttribute","EmitIgnoreTypeAttribute","ExtensionAttribute","GlobalMemberAttribute","IgnoreAttribute","InlineItemAccessAttribute","InlinePropertyAttribute","InternalsVisibleToAttribute","KeepOriginalNameAttribute","LiteralStringAttribute","NativeMethodAttribute","NativePropertyAttribute","NativeTypeAttribute","RuntimeHelpers","WeakAttribute","WidgetAttribute","MainWidgetAttribute","SuppressWidgetMemberAttribute","SuppressWidgetMemberCopyAttribute","WidgetDefaultStringAttribute","WidgetDefaultNumberAttribute","WidgetDefaultBooleanAttribute","MvcEnumSetStringEnumAttribute","WidgetModuleAttribute","WidgetModuleParentAttribute","WidgetIgnoreDependsAttribute","ComVisibleAttribute","GuidAttribute","OutAttribute","DataContractAttribute","DataMemberAttribute","WaitHandle","EventWaitHandle","Monitor","TypeCode","TargetFrameworkAttribute","Number","Script","Single","String","ManualResetEvent","Thread","Date","Type","Number","Number","Number","UIntPtr","XmlAttributeAttribute","XmlElementAttribute","XmlEnumAttribute","XmlIgnoreAttribute","XmlRootAttribute","XmlTypeAttribute","XmlNode","XmlAttribute","XmlDocument","XmlDocumentParser","XmlLinkedNode","XmlElement","Void","XmlNodeList","XmlNamedNodeMap","XmlNodeType","XmlSchemaForm","Element","CanvasElement","console","DivElement","Document","ElementAttribute","ElementAttributeCollection","ElementCollection","ElementEventHandler","ElementNodeType","EventListener","IElementEventHandler","ImageElement","CanvasContext","CanvasContext2D","ImageData","Gradient","TextMetrics","MSGesture","WebStyle","window","Callback","JQuery","JQueryDeferred","JQueryEvent","JQueryObject","JQueryCallback","JQueryUICallback","JQueryPosition","JQueryPromise"]);
$.ig.util.defType("FastItemsSourceEventAction","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("FastItemsSourceEventAction",$.ig.Object.prototype.$type)},true);$.ig.util.defType("UnknownValuePlotting","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("UnknownValuePlotting",$.ig.Object.prototype.$type)},true);$.ig.util.defType("TrendLineType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("TrendLineType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("EventProxy","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.s=false},onMouseWheel:null,onPinchStarted:null,onPinchDelta:null,onGestureCompleted:null,onContactStarted:null,onDragStarted:null,onContactMoved:null,onDragDelta:null,onContactCompleted:null,onDragCompleted:null,onMouseLeave:null,onMouseOver:null,onMouseEnter:null,onMouseDown:null,onMouseUp:null,onDoubleTap:null,onHold:null,onKeyDown:null,_x:null,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},_y:null,y:function(a){if(arguments.length===1){this._y=a;return a}else{return this._y}},_z:null,z:function(a){if(arguments.length===1){this._z=a;return a}else{return this._z}},_aa:null,aa:function(a){if(arguments.length===1){this._aa=a;return a}else{return this._aa}},bk:function(){},bl:function(){},bm:function(a,b){if(this.onMouseWheel!=null&&!this.ab()){return this.onMouseWheel(a,b)}return false},bn:function(a,b){if(this.onPinchStarted!=null&&!this.ab()){this.onPinchStarted(a,b)}},bo:function(a,b){if(this.onPinchDelta!=null&&!this.ab()){this.onPinchDelta(a,b)}},bp:function(a,b){if(this.onGestureCompleted!=null&&!this.ab()){this.onGestureCompleted(a,b)}},bq:function(a,b){if(this.onContactStarted!=null&&!this.ab()){this.onContactStarted(a,b)}},br:function(a){if(this.onDragStarted!=null&&!this.ab()){this.onDragStarted(a)}},bs:function(a,b){if(this.onContactMoved!=null&&!this.ab()){this.onContactMoved(a,b)}},bt:function(a){if(this.onDragDelta!=null&&!this.ab()){this.onDragDelta(a)}},bu:function(a,b){if(this.onContactCompleted!=null&&!this.ab()){this.onContactCompleted(a,b)}},bv:function(a){if(this.onDragCompleted!=null&&!this.ab()){this.onDragCompleted(a)}},bw:function(a){if(this.onMouseLeave!=null&&!this.ab()){this.onMouseLeave(a)}},bx:function(a,b,c){if(this.onMouseOver!=null&&!this.ab()){this.onMouseOver(a,b,c)}},by:function(a){if(this.onMouseEnter!=null&&!this.ab()){this.onMouseEnter(a)}},bz:function(a){if(this.onMouseDown!=null&&!this.ab()){this.onMouseDown(a)}},b0:function(a){if(this.onMouseUp!=null&&!this.ab()){this.onMouseUp(a)}},b1:function(a){if(this.onKeyDown!=null&&!this.ab()){return this.onKeyDown(a)}return false},b2:function(a){if(this.onDoubleTap!=null&&!this.ab()){this.onDoubleTap(a)}},b3:function(a){if(this.onHold!=null&&!this.ab()){this.onHold(a)}},b4:function(){},s:null,ab:function(a){if(arguments.length===1){this.s=a;this.b7();return a}else{return this.s}},b7:function(){},$type:new $.ig.Type("EventProxy",$.ig.Object.prototype.$type)},true);$.ig.util.defType("DOMEventProxy","EventProxy",{_c0:null,c0:function(a){if(arguments.length===1){this._c0=a;return a}else{return this._c0}},bk:function(){return new $.ig.DOMEventProxy(this.c0())},c7:function(a){if(!this.ab()){a.preventDefault()}},ca:null,cb:null,cc:null,cd:null,ce:null,cf:null,_c1:null,c1:function(a){if(arguments.length===1){this._c1=a;return a}else{return this._c1}},init:function(a){var $self=this;this.ca=0;this.cb="";this.cc=false;this.cg=0;this.ch=0;this.ci=0;this.cj=0;this.ck=0;this.cl=1;this.cm=$.ig.DOMEventProxy.prototype.b8;this.cn=null;this.co=0;this.cp=0;this.cq=5;this.cr=false;this.cs=null;this.ct=false;$.ig.EventProxy.prototype.init.call(this);$.ig.DOMEventProxy.prototype.b9++;this.ca=$.ig.DOMEventProxy.prototype.b9;this.cb=".DOMProxy"+this.ca.toString();this.y($.ig.ModifierKeys.prototype.none);this.c0(a);$.ig.DOMEventProxy.prototype.cd=false;try{$.ig.DOMEventProxy.prototype.cd=window.navigator.msPointerEnabled&&MSGesture!==undefined}catch(e){}$.ig.DOMEventProxy.prototype.ce=false;try{$.ig.DOMEventProxy.prototype.ce=window.navigator.pointerEnabled}catch(e){}$.ig.DOMEventProxy.prototype.cf=this.dc();if(!$.ig.DOMEventProxy.prototype.cd){this.c0().bind("mousemove"+this.cb,this.d9.runOn(this));this.c0().bind("mouseleave"+this.cb,this.d8.runOn(this));this.c0().bind("mousedown"+this.cb,this.ea.runOn(this));this.c0().bind("mouseup"+this.cb,this.ec.runOn(this));$(window).bind("mouseup"+this.cb,this.eb.runOn(this))}this.c0().keydown(this.ed.runOn(this));if($.ig.DOMEventProxy.prototype.cd){var source_=this.c0()[0];$.ig.DOMEventProxy.prototype.da(source_);var b=this.c0()[0];var c=new MSGesture;c.target=b;this.c1(c);this.c0().bind("MSGestureStart"+this.cb,this.du.runOn(this));this.c0().bind("MSGestureChange"+this.cb,this.dv.runOn(this));this.c0().bind("MSGestureEnd"+this.cb,this.dw.runOn(this));if($.ig.DOMEventProxy.prototype.ce){this.c0().bind("pointerdown"+this.cb,this.dq.runOn(this));this.c0().bind("pointerup"+this.cb,this.dm.runOn(this));this.c0().bind("pointercancel"+this.cb,this.dp.runOn(this));this.c0().bind("pointermove"+this.cb,this.ds.runOn(this));this.c0().bind("pointerout"+this.cb,this.dt.runOn(this));this.c0().bind("lostpointercapture"+this.cb,this.dn.runOn(this))}else{this.c0().bind("MSPointerDown"+this.cb,this.dq.runOn(this));this.c0().bind("MSPointerUp"+this.cb,this.dm.runOn(this));this.c0().bind("MSPointerCancel"+this.cb,this.dp.runOn(this));this.c0().bind("MSPointerMove"+this.cb,this.ds.runOn(this));this.c0().bind("MSPointerOut"+this.cb,this.dt.runOn(this));this.c0().bind("MSLostPointerCapture"+this.cb,this.dn.runOn(this))}}this.c0().bind("DOMMouseScroll"+this.cb,this.dl.runOn(this));this.c0().bind("mousewheel"+this.cb,this.dl.runOn(this));this.c0().bind("gesturestart"+this.cb,this.du.runOn(this));this.c0().bind("gesturechange"+this.cb,this.dv.runOn(this));this.c0().bind("gestureend"+this.cb,this.dw.runOn(this));this.c0().bind("touchstart"+this.cb,this.dx.runOn(this));this.c0().bind("touchmove"+this.cb,this.d2.runOn(this));this.c0().bind("touchend"+this.cb,this.d3.runOn(this));this.aa(function(d){return true})},da:function(source_){if($.ig.DOMEventProxy.prototype.ce){source_.style.touchAction="none"}else{source_.style.msTouchAction="none"}source_.style.msUserSelect="none"},db:function(source_){if($.ig.DOMEventProxy.prototype.ce){source_.style.touchAction="auto"}else{source_.style.msTouchAction="auto"}source_.style.msUserSelect="auto"},b7:function(){$.ig.EventProxy.prototype.b7.call(this);if(!this.ab()){if($.ig.DOMEventProxy.prototype.cd){var source_=this.c0()[0];$.ig.DOMEventProxy.prototype.da(source_)}}else{if($.ig.DOMEventProxy.prototype.cd){var source_=this.c0()[0];$.ig.DOMEventProxy.prototype.db(source_)}}},dc:function(){var ver_=-1;var matchIE_=/Trident\/([\d.]+)/;if(matchIE_.exec(navigator.userAgent)!=null){ver_=parseFloat(RegExp.$1)}return ver_},cg:null,ch:null,ci:null,cj:null,ck:null,_c2:null,c2:function(a){if(arguments.length===1){this._c2=a;return a}else{return this._c2}},_c3:null,c3:function(a){if(arguments.length===1){this._c3=a;return a}else{return this._c3}},dh:function(e_){var a=$.ig.DOMEventProxy.prototype.cf>=6;var oe_=e_.originalEvent;if((typeof e_.pageX=="undefined"||a)&&oe_.clientX!=null){var od_=e_.target.ownerDocument;var ed_=od_?od_:document;var doc_=ed_.documentElement;var body_=ed_.body;var clientX_=oe_.clientX;var clientY_=oe_.clientY;var scrollLeft_=doc_&&doc_.scrollLeft||body_&&body_.scrollLeft||0;var scrollTop_=doc_&&doc_.scrollTop||body_&&body_.scrollTop||0;var clientLeft_=doc_&&doc_.clientLeft||body_&&body_.clientLeft||0;var clientTop_=doc_&&doc_.clientTop||body_&&body_.clientTop||0;e_.pageX=clientX_+(scrollLeft_-clientLeft_);e_.pageY=clientY_+(scrollTop_-clientTop_)}},di:function(a){var b=$.ig.DOMEventProxy.prototype.cf>=6;var source_=a[0];var d_=source_.ownerDocument;var doc_=d_?d_.documentElement:null;var z_=doc_?doc_.msContentZoomFactor:null;var body_=doc_.body;if(z_&&z_>1||b){var rect_=source_.getBoundingClientRect();var x_=rect_.left;var y_=rect_.top;var scrollLeft_=doc_&&doc_.scrollLeft||body_&&body_.scrollLeft||0;var scrollTop_=doc_&&doc_.scrollTop||body_&&body_.scrollTop||0;var clientLeft_=doc_&&doc_.clientLeft||body_&&body_.clientLeft||0;var clientTop_=doc_&&doc_.clientTop||body_&&body_.clientTop||0;var c=x_+scrollLeft_-clientLeft_;var d=y_+scrollTop_-clientTop_;return new $.ig.Rect(0,c,d,0,0)}else{var e=a.offset();return new $.ig.Rect(0,e.left,e.top,0,0)}},dj:function(a){$.ig.DOMEventProxy.prototype.dh(a);var b=$.ig.DOMEventProxy.prototype.di(this.c0());this.cg=a.pageX-b.left();this.ch=a.pageY-b.top();this.ci=this.cg-this.x().left();this.cj=this.ch-this.x().top();this.c2({__x:this.cg,__y:this.ch,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.c3({__x:this.ci,__y:this.cj,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},dk:function(e_){$.ig.DOMEventProxy.prototype.dh(e_);if($.ig.DOMEventProxy.prototype.cd){var a=e_.pageX;var b=e_.pageY;var c=$.ig.DOMEventProxy.prototype.di(this.c0());this.cg=a-c.left();this.ch=b-c.top()}else{this.ck=0;if(!e_.originalEvent.targetTouches||e_.originalEvent.targetTouches.length<1){return}this.ck=e_.originalEvent.targetTouches.length;var d=e_.originalEvent.targetTouches[0].pageX;var e=e_.originalEvent.targetTouches[0].pageY;var f=$.ig.DOMEventProxy.prototype.di(this.c0());this.cg=d-f.left();this.ch=e-f.top()}this.ci=this.cg-this.x().left();this.cj=this.ch-this.x().top();this.c2({__x:this.cg,__y:this.ch,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.c3({__x:this.ci,__y:this.cj,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},dl:function(e_){this.ee(e_);if(this.aa()(this.c2())){var delta_=0;if(e_.wheelDelta){delta_=e_.wheelDelta/120}if(e_.originalEvent&&e_.originalEvent.wheelDelta){delta_=e_.originalEvent.wheelDelta/120}if(e_.detail){delta_=-e_.detail/3}if(e_.originalEvent&&e_.originalEvent.detail){delta_=-e_.originalEvent.detail/3}delta_=delta_/10;var a=this.bm(this.c3(),delta_);if(a){this.c7(e_)}}},cl:null,dm:function(e_){var a=this.dr(e_);if(a){this.ck--;if(this.ck<0){this.ck=0}}if(this.ck<2&&this.cc&&a){this.cc=false;var b=e_.originalEvent.scale;this.bp(this.c3(),b)}else{if(a){this.d3(e_)}else{this.ec(e_)}}},dn:function(e_){var a=this.dr(e_);if(a){this.ck--;if(this.ck<0){this.ck=0}}if(this.ck<2&&this.cc&&a){this.cc=false;var b=e_.originalEvent.scale;this.bp(this.c3(),b)}},dp:function(e_){var a=this.dr(e_);if(a){this.ck--;if(this.ck<0){this.ck=0}}if(this.ck<2&&this.cc&&a){this.cc=false;var b=e_.originalEvent.scale;this.bp(this.c3(),b)}},dq:function(e_){var a=this.dr(e_);if(this.c1()!=null&&a){this.ck++;this.c1().addPointer(e_.originalEvent.pointerId)}var eventSource_=this.c0()[0];if($.ig.DOMEventProxy.prototype.ce){eventSource_.setPointerCapture(e_.originalEvent.pointerId)}else{eventSource_.msSetPointerCapture(e_.originalEvent.pointerId)}if(this.ck>1&&!this.cc&&a){this.cc=true;this.dk(e_);var b=e_.originalEvent.scale;this.bn(this.c3(),b)}else{if(a){this.dx(e_)}else{this.ea(e_)}}},dr:function(e_){var pointerEvent_=e_.originalEvent;var a=false;if($.ig.DOMEventProxy.prototype.ce){a=pointerEvent_.pointerType=="touch"}else{a=pointerEvent_.pointerType==pointerEvent_.MSPOINTER_TYPE_TOUCH}return a},ds:function(e_){var a=this.dr(e_);if(this.cc){return}if(a){this.d2(e_)}else{this.d9(e_)}},dt:function(e_){var a=this.dr(e_);if(this.cc){return}if(a){}else{this.d8(e_)}},du:function(e_){this.c4(true);this.ee(e_);this.dk(e_);this.dz();if(this.aa()(this.c2())){this.c7(e_);if($.ig.DOMEventProxy.prototype.cd){this.cl=1}if($.ig.DOMEventProxy.prototype.cd&&this.ck<2){return}var a=e_.originalEvent.scale;this.bn(this.c3(),a)}},dv:function(e_){this.c4(true);this.ee(e_);this.dk(e_);if(this.aa()(this.c2())){this.c7(e_);if($.ig.DOMEventProxy.prototype.cd&&this.ck<2){return}var a=e_.originalEvent.scale;this.bo(this.c3(),a)}},dw:function(e_){this.c7(e_);var a=e_.originalEvent.scale;this.c4(false);this.ee(e_);this.dk(e_);if(!$.ig.DOMEventProxy.prototype.cd||this.cc){this.bp(this.c3(),a)}},dx:function(e_){this.c4(true);this.ee(e_);this.dk(e_);if(this.aa()(this.c2())){this.c7(e_);this.bx(this.c2(),false,true);this.bz(this.c2());this.bq(this.c3(),true);this.dy()}},cm:null,cn:null,co:null,cp:null,cq:null,dy:function(){if(this.cm==$.ig.DOMEventProxy.prototype.b8){this.co=this.c2().__x;this.cp=this.c2().__y;this.cm=window.setTimeout(this.d1.runOn(this),1500)}},dz:function(){if(Math.abs(this.co-this.c2().__x)>this.cq||Math.abs(this.cp-this.c2().__y)>this.cq){this.d0()}},d0:function(){if(this.cm!=$.ig.DOMEventProxy.prototype.b8){window.clearTimeout(this.cm);this.cm=$.ig.DOMEventProxy.prototype.b8}},d1:function(){this.cm=$.ig.DOMEventProxy.prototype.b8;this.b3(this.c3())},cr:null,cs:null,d2:function(a){this.c4(true);this.ee(a);this.dk(a);this.dz();this.d5();if(this.aa()(this.c2())&&this.ck==1){this.c7(a);if(!this.cr){this.cr=true;this.cs=this.c3();this.br(this.cs)}else{this.bx(this.c2(),true,true);this.bs(this.c3(),true);this.bt(this.c3())}}},d3:function(a){this.c4(false);this.ee(a);this.dk(a);this.d0();this.c7(a);this.bx(this.c2(),false,true);this.b0(this.c2());if(this.ck==0){this.d4(this.c2())}if(this.cr&&this.ck==0){this.cr=false;this.cs=null;this.bv(this.c3())}this.bu(this.c3(),true)},d4:function(a){if(this.cn==null){this.cn=new $.ig.Rect(0,a.__x-50,a.__y-50,100,100);window.setTimeout(this.d5.runOn(this),500)}else{if(a.__x>=this.cn.x()&&a.__x<=this.cn.right()&&a.__y>=this.cn.y()&&a.__y<=this.cn.bottom()){this.d5();this.b2(a)}}},d5:function(){this.cn=null},_c4:null,c4:function(a){if(arguments.length===1){this._c4=a;return a}else{return this._c4}},d8:function(a){this.dj(a);if(this.c4()){this.c4(false);this.bw(this.c3())}},d9:function(a){this.dj(a);this.ee(a);var b=new $.ig.MouseEventArgs;b.position(this.c2());if(this.aa()(this.c2())){if(!this.c4()){this.c4(true);this.by(this.c2())}this.bx(this.c2(),true,false);this.bs(this.c3(),false)}else if(this.c4()){this.d8(a)}},ct:null,ea:function(a){this.c0().focus();this.dj(a);this.ee(a);if(this.aa()(this.c2())){this.ct=true;this.bz(this.c2());this.bq(this.c3(),false);this.c7(a)}},eb:function(a){if(this.ct){this.ec(a)}},ec:function(a){this.ee(a);this.ct=false;this.b0(this.c2());this.bu(this.c3(),false);this.c7(a)},ed:function(a){var b=$.ig.Key.prototype.a;var c=false;this.ee(a);switch(a.which){case 33:c=true;b=$.ig.Key.prototype.pageUp;break;case 34:c=true;b=$.ig.Key.prototype.pageDown;break;case 36:c=true;b=$.ig.Key.prototype.home;break;case 37:c=true;b=$.ig.Key.prototype.left;break;case 38:c=true;b=$.ig.Key.prototype.up;break;case 39:c=true;b=$.ig.Key.prototype.right;break;case 40:c=true;b=$.ig.Key.prototype.down;break}if(c&&this.aa()(this.c2())){var d=false;d=this.b1(b);if(d){this.c7(a)}}},ee:function(a){this.y($.ig.ModifierKeys.prototype.none);if(a.shiftKey){this.y(this.y()|$.ig.ModifierKeys.prototype.shift)}if(a.altKey){this.y(this.y()|$.ig.ModifierKeys.prototype.alt)}if(a.ctrlKey){this.y(this.y()|$.ig.ModifierKeys.prototype.control)}this.z(a.button==2)},b4:function(){var a=$.ig.DOMEventProxy.prototype.di(this.c0());var b=a.left();var c=a.top();return{__x:b,__y:c,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},bl:function(){if(this.c0()==null){return}this.c0().unbind(this.cb);$(window).unbind(this.cb);this.c0(null)},$type:new $.ig.Type("DOMEventProxy",$.ig.EventProxy.prototype.$type)},true);$.ig.util.defType("TrendCalculators","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:null,$d:0,$e:0,$f:0,$g:0,$h:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=new Array(b);this.$d=0;this.$state=1;break;case 1:this.$d=0;this.$state=4;break;case 2:this.$c[this.$d]=0;this.$state=3;break;case 3:this.$d++;this.$state=4;break;case 4:if(this.$d<b){this.$state=2}else{this.$state=5}break;case 5:this.$e=NaN;this.$f=NaN;this.$g=NaN;this.$h=NaN;this.$d=0;this.$state=6;break;case 6:this.$j=a.getEnumerator();this.$state=18;break;case 7:this.$i=this.$j.current();this.$state=8;break;case 8:if(!isNaN(this.$i)){this.$state=9}else{this.$state=16}break;case 9:this.$k=this.$d%b;this.$state=10;break;case 10:if(this.$d==0){this.$state=11}else{this.$state=12}break;case 11:this.$g=1;this.$h=this.$f=this.$e=this.$i;this.$state=15;break;case 12:if(this.$d<b){this.$state=13}else{this.$state=14}break;case 13:this.$g+=this.$d+1;this.$e+=this.$i;this.$f+=(this.$d+1)*this.$i;this.$h=this.$f/this.$g;this.$state=15;break;case 14:this.$f=this.$f+b*this.$i-this.$e;this.$h=this.$f/this.$g;this.$e=this.$e+this.$i-this.$c[this.$k];this.$state=15;break;case 15:this.$c[this.$k]=this.$i;++this.$d;this.$state=16;break;case 16:this.$current=this.$h;this.$state=17;return true;case 17:this.$state=18;break;case 18:if(this.$j.moveNext()){this.$state=7}else{this.$state=19}break;case 19:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},b:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:0,$d:0,$e:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=0;this.$d=NaN;this.$e=2/(1+b);this.$state=1;break;case 1:this.$g=a.getEnumerator();this.$state=11;break;case 2:this.$f=this.$g.current();this.$state=3;break;case 3:if(!isNaN(this.$f)){this.$state=4}else{this.$state=9}break;case 4:this.$state=5;break;case 5:if(this.$c<b){this.$state=6}else{this.$state=7}break;case 6:this.$d=isNaN(this.$d)?this.$f:(this.$d*this.$c+this.$f)/(this.$c+1);this.$state=8;break;case 7:this.$d=(this.$f-this.$d)*this.$e+this.$d;this.$state=8;break;case 8:++this.$c;this.$state=9;break;case 9:this.$current=this.$d;this.$state=10;return true;case 10:this.$state=11;break;case 11:if(this.$g.moveNext()){this.$state=2}else{this.$state=12}break;case 12:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},c:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:0,$d:0,$e:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=0;this.$d=NaN;this.$e=1/b;this.$state=1;break;case 1:this.$g=a.getEnumerator();this.$state=11;break;case 2:this.$f=this.$g.current();this.$state=3;break;case 3:if(!isNaN(this.$f)){this.$state=4}else{this.$state=9}break;case 4:this.$state=5;break;case 5:if(this.$c<b){this.$state=6}else{this.$state=7}break;case 6:this.$d=isNaN(this.$d)?this.$f:(this.$d*this.$c+this.$f)/(this.$c+1);this.$state=8;break;case 7:this.$d=(this.$f-this.$d)*this.$e+this.$d;this.$state=8;break;case 8:++this.$c;this.$state=9;break;case 9:this.$current=this.$d;this.$state=10;return true;case 10:this.$state=11;break;case 11:if(this.$g.moveNext()){this.$state=2}else{this.$state=12}break;case 12:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},d:function(a){var $self=this;var $iter=function(){return function(a){return{$state:0,$this:$self,$current:null,$b:0,$c:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$b=NaN;this.$c=0;this.$state=1;break;case 1:this.$e=a.getEnumerator();this.$state=7;break;case 2:this.$d=this.$e.current();this.$state=3;break;case 3:if(!isNaN(this.$d)){this.$state=4}else{this.$state=5}break;case 4:this.$b=isNaN(this.$b)?this.$d:(this.$b*this.$c+this.$d)/(this.$c+1);++this.$c;this.$state=5;break;case 5:this.$current=this.$b;this.$state=6;return true;case 6:this.$state=7;break;case 7:if(this.$e.moveNext()){this.$state=2}else{this.$state=8}break;case 8:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a)};return new $.ig.GenericEnumerable$1(Number,$iter)},e:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:null,$d:0,$e:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=new Array(b);this.$d=0;this.$state=1;break;case 1:this.$d=0;this.$state=4;break;case 2:this.$c[this.$d]=0;this.$state=3;break;case 3:this.$d++;this.$state=4;break;case 4:if(this.$d<b){this.$state=2}else{this.$state=5}break;case 5:this.$d=0;this.$e=NaN;this.$state=6;break;case 6:this.$g=a.getEnumerator();this.$state=16;break;case 7:this.$f=this.$g.current();this.$state=8;break;case 8:if(!isNaN(this.$f)){this.$state=9}else{this.$state=14}break;case 9:this.$h=this.$f/b;this.$i=this.$d%b;this.$state=10;break;case 10:if(this.$d<b){this.$state=11}else{this.$state=12}break;case 11:this.$e=isNaN(this.$e)?this.$f:(this.$e*this.$d+this.$f)/(this.$d+1);this.$state=13;break;case 12:this.$e=this.$e+this.$h-this.$c[this.$i];this.$state=13;break;case 13:this.$c[this.$i]=this.$h;++this.$d;this.$state=14;break;case 14:this.$current=this.$e;this.$state=15;return true;case 15:this.$state=16;break;case 16:if(this.$g.moveNext()){this.$state=7}else{this.$state=17}break;case 17:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},f:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:null,$d:0,$e:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=new Array(b);this.$d=0;this.$state=1;break;case 1:this.$d=0;this.$state=4;break;case 2:this.$c[this.$d]=0;this.$state=3;break;case 3:this.$d++;this.$state=4;break;case 4:if(this.$d<b){this.$state=2}else{this.$state=5}break;case 5:this.$d=0;this.$e=NaN;this.$state=6;break;case 6:this.$g=a.getEnumerator();this.$state=16;break;case 7:this.$f=this.$g.current();this.$state=8;break;case 8:if(!isNaN(this.$f)){this.$state=9}else{this.$state=14}break;case 9:this.$h=this.$f;this.$i=this.$d%b;this.$state=10;break;case 10:if(this.$d<b){this.$state=11}else{this.$state=12}break;case 11:this.$e=isNaN(this.$e)?this.$h:this.$e+this.$h;this.$state=13;break;case 12:this.$e=this.$e+this.$h-this.$c[this.$i];this.$state=13;break;case 13:this.$c[this.$i]=this.$h;++this.$d;this.$state=14;break;case 14:this.$current=this.$e;this.$state=15;return true;case 15:this.$state=16;break;case 16:if(this.$g.moveNext()){this.$state=7}else{this.$state=17}break;case 17:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},g:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:null,$d:null,$e:null,$f:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=$.ig.TrendCalculators.prototype.e(a,b).getEnumerator();this.$d=a.getEnumerator();this.$e=new Array(b);this.$f=0;this.$state=1;break;case 1:this.$f=0;this.$state=4;break;case 2:this.$e[this.$f]=0;this.$state=3;break;case 3:this.$f++;this.$state=4;break;case 4:if(this.$f<b){this.$state=2}else{this.$state=5}break;case 5:this.$f=0;this.$state=6;break;case 6:this.$state=24;break;case 7:this.$e[this.$f++%b]=this.$d.current();this.$g=0;this.$state=8;break;case 8:if(this.$f<b){this.$state=9}else{this.$state=16}break;case 9:this.$h=0;this.$state=10;break;case 10:this.$i=0;this.$state=13;break;case 11:this.$j=this.$c.current()-this.$e[this.$i];this.$g+=this.$j*this.$j;this.$h++;this.$state=12;break;case 12:this.$i++;this.$state=13;break;case 13:if(this.$i<this.$f){this.$state=11}else{this.$state=14}break;case 14:this.$current=Math.sqrt(this.$g/this.$h);this.$state=15;return true;case 15:this.$state=23;break;case 16:this.$state=17;break;case 17:this.$k=0;this.$state=20;break;case 18:this.$l=this.$c.current()-this.$e[this.$k];this.$g+=this.$l*this.$l;this.$state=19;break;case 19:++this.$k;this.$state=20;break;case 20:if(this.$k<b){this.$state=18}else{this.$state=21}break;case 21:this.$current=Math.sqrt(this.$g/b);this.$state=22;return true;case 22:this.$state=23;break;case 23:this.$state=24;break;case 24:if(this.$d.moveNext()&&this.$c.moveNext()){this.$state=7}else{this.$state=25}break;case 25:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},$type:new $.ig.Type("TrendCalculators",$.ig.Object.prototype.$type)},true);$.ig.util.defType("IFastItemColumnInternal","Object",{$type:new $.ig.Type("IFastItemColumnInternal",null)},true);$.ig.util.defType("IFastItemColumnPropertyName","Object",{$type:new $.ig.Type("IFastItemColumnPropertyName",null)},true);$.ig.util.defType("IFastItemColumn$1","Object",{$type:new $.ig.Type("IFastItemColumn$1",null,[$.ig.IList$1.prototype.$type.specialize(0),$.ig.IFastItemColumnPropertyName.prototype.$type])},true);$.ig.util.defType("FastItemColumn","Object",{a:null,init:function(a,b,c){this.a=null;this.__propertyName=null;$.ig.Object.prototype.init.call(this);this.a=c;this.propertyName(b);this.h(a)},h:function(a){if(arguments.length===1){this.b=a;this.reset();return a}else{return this.b}},b:null,__propertyName:null,propertyName:function(a){if(arguments.length===1){this.__propertyName=a;return a}else{return this.__propertyName}},minimum:function(a){if(arguments.length===1){this.c=a;return a}else{if(isNaN(this.c)&&this.i()!=null){this.c=Number.POSITIVE_INFINITY;var c=this.i().getEnumerator();while(c.moveNext()){var b=c.current();if(!isNaN(b)){this.c=Math.min(this.c,b)}}}return this.c}},c:null,maximum:function(a){if(arguments.length===1){this.d=a;return a}else{if(isNaN(this.d)&&this.i()!=null){this.d=Number.NEGATIVE_INFINITY;var c=this.i().getEnumerator();while(c.moveNext()){var b=c.current();if(!isNaN(b)){this.d=Math.max(this.d,b)}}}return this.d}},d:null,item:function(b,a){if(arguments.length===2){this.i().__inner[b]=a;return a}else{return this.i().__inner[b]}},getEnumerator:function(){return this.i().getEnumerator()},contains:function(a){return this.i().contains(a)},o:function(a,b){this.i().copyTo(a,b)},count:function(){return this.i().count()},isReadOnly:function(){return true},indexOf:function(a){return this.i().indexOf(a)},add:function(a){throw new $.ig.NotImplementedException},clear:function(){throw new $.ig.NotImplementedException},remove:function(a){throw new $.ig.NotImplementedException},insert:function(a,b){throw new $.ig.NotImplementedException},removeAt:function(a){throw new $.ig.NotImplementedException},reset:function(){this.i(null);this.minimum(NaN);this.maximum(NaN);return this.h()!=null?this.insertRange(0,this.h().g()):true},insertRange:function(a,b){var c=new Array(b);var source_=this.b.ad();var d;var e=this.minimum();var f=this.maximum();var g=isNaN(this.minimum());var h=isNaN(this.maximum());var i=0;var j;if(this.a!=null){for(var i_=a;i_<a+b;++i_){d=source_[i_][this.__propertyName];d=this.a(d);j=d==null?NaN:d;var k=j!=j;if(g||j<e){e=j;g=k}if(h||j>f){f=j;h=k}c[i]=j;i++}}else{for(var i_=a;i_<a+b;++i_){d=source_[i_][this.__propertyName];j=d==null?NaN:d;var l=j!=j;if(g||j<e){e=j;g=l}if(h||j>f){f=j;h=l}c[i]=j;i++}}this.minimum(e);this.maximum(f);if(this.i()==null){this.i(new $.ig.List$1(Number,1,c))}else{this.i().p(a,c)}return true},removeRange:function(a,b){for(var c=a;c<a+b&&!isNaN(this.minimum())&&!isNaN(this.maximum());++c){if(this.item(c)==this.minimum()){this.minimum(NaN)}if(this.item(c)==this.maximum()){this.maximum(NaN)}}this.i().q(a,b);return true},p:function(a,b){if(isNaN(a)){if(!isNaN(b)){if(!isNaN(this.minimum())){this.minimum(Math.min(b,this.minimum()))}if(!isNaN(this.maximum())){this.maximum(Math.max(b,this.maximum()))}}return}if(isNaN(b)){this.minimum(!isNaN(this.minimum())&&a==this.minimum()?NaN:this.minimum());this.maximum(!isNaN(this.maximum())&&a==this.maximum()?NaN:this.maximum());return}if(!isNaN(this.minimum())){if(a==this.minimum()&&b>this.minimum()){this.minimum(NaN)}else{this.minimum(Math.min(b,this.minimum()))}}if(!isNaN(this.maximum())){if(a==this.maximum()&&b<this.maximum()){this.maximum(NaN)}else{this.maximum(Math.max(b,this.maximum()))}}},replaceRange:function(a,b){var c=false;for(var d=0;d<b;++d){var e=this.i().__inner[a+d];var f=this.q(this.h().item(a+d));if(e!=f){this.i().__inner[a+d]=f;c=true;this.p(e,f)}}return c},e:null,q:function(a){if(a==null){return NaN}var from_=a;a=from_[this.__propertyName];if(this.a!=null){a=this.a(a)}if(a==null){return NaN}return a;if($.ig.util.cast(Number,a)!==null){return a}},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},t:function(a,b){var $self=this;var c=new $.ig.List$1($.ig.Number.prototype.$type,2,a.count());for(var d=0;d<a.count();d++){c.add(d)}c.t(function(e,f){var g=a.item(e);var h=a.item(f);return b(g,h)});return c},u:function(){var $self=this;return $.ig.FastItemColumn.prototype.t(this.i(),function(a,b){var c=a;var d=b;if(c<d){return-1}if(c>d){return 1}return 0})},asArray:function(){return this.i().asArrayList()},$type:new $.ig.Type("FastItemColumn",$.ig.Object.prototype.$type,[$.ig.IFastItemColumnInternal.prototype.$type,$.ig.IFastItemColumn$1.prototype.$type.specialize(Number)])},true);$.ig.util.defType("FastItemDateTimeColumn","Object",{a:null,init:function(a,b,c){this.__propertyName=null;this.c=false;this.d=false;$.ig.Object.prototype.init.call(this);this.a=c;this.propertyName(b);this.j(a)},j:function(a){if(arguments.length===1){this.b=a;this.reset();return a}else{return this.b}},b:null,__propertyName:null,propertyName:function(a){if(arguments.length===1){this.__propertyName=a;return a}else{return this.__propertyName}},c:null,d:null,minimum:function(a){if(arguments.length===1){this.e=a;return a}else{if(!this.c&&this.k()!=null){var c=this.k().getEnumerator();while(c.moveNext()){var b=c.current();if(b<this.e){this.e=b}}if(this.k().count()>0){this.c=true}}return this.e}},e:null,maximum:function(a){if(arguments.length===1){this.f=a;return a}else{if(!this.d&&this.k()!=null){var c=this.k().getEnumerator();while(c.moveNext()){var b=c.current();if(b>this.f){this.f=b}}if(this.k().count()>0){this.d=true}}return this.f}},f:null,item:function(b,a){if(arguments.length===2){throw new $.ig.NotImplementedException;return a}else{return this.k().__inner[b]}},getEnumerator:function(){return this.k().getEnumerator()},contains:function(a){return this.k().contains(a)},q:function(a,b){this.k().copyTo(a,b)},count:function(){return this.k().count()},isReadOnly:function(){return true},indexOf:function(a){return this.k().indexOf(a)},add:function(a){throw new $.ig.NotImplementedException},clear:function(){throw new $.ig.NotImplementedException},remove:function(a){throw new $.ig.NotImplementedException},insert:function(a,b){throw new $.ig.NotImplementedException},removeAt:function(a){throw new $.ig.NotImplementedException},reset:function(){this.k(null);this.c=false;this.d=false;return this.j()!=null?this.insertRange(0,this.j().g()):true},insertRange:function(a,b){var c=new Array(b);var source_=this.b.ad();var d;var e=this.minimum();var f=this.maximum();
var g;var h=0;if(this.a!=null){for(var i_=a;i_<a+b;++i_){d=source_[i_][this.__propertyName];d=this.a(d);g=d==null?new Date:d;if(!this.c){e=g;this.c=true}else if(g<e){e=g}if(!this.d){f=g;this.d=true}else if(g>f){f=g}c[h]=g;h++}}else{for(var i_=a;i_<a+b;++i_){d=source_[i_][this.__propertyName];g=d==null?new Date:d;if(!this.c){e=g;this.c=true}else if(g<e){e=g}if(!this.d){f=g;this.d=true}else if(g>f){f=g}c[h]=g;h++}}this.minimum(e);this.maximum(f);if(this.k()==null){this.k(new $.ig.List$1($.ig.Date.prototype.$type,1,c))}else{this.k().p(a,c)}return true},removeRange:function(a,b){for(var c=a;c<a+b;++c){if(this.item(c)==this.minimum()){this.c=false}if(this.item(c)==this.maximum()){this.d=false}}this.k().q(a,b);return true},r:function(a,b){if(a!=$.ig.Date.prototype.minValue()){if(b!=$.ig.Date.prototype.minValue()){this.minimum(b<this.minimum()?b:this.minimum());this.maximum(b>this.maximum()?b:this.maximum())}return}this.minimum(b<this.minimum()?b:this.minimum());this.maximum(b>this.maximum()?b:this.maximum())},replaceRange:function(a,b){var c=false;for(var d=0;d<b;++d){var e=this.k().__inner[a+d];var f=this.s(this.j().item(a+d));if(e!=f){this.k().__inner[a+d]=f;c=true;this.r(e,f)}}return c},g:null,s:function(a){if(a==null){return $.ig.Date.prototype.minValue()}var from_=a;a=from_[this.__propertyName];if(this.a!=null){a=this.a(a)}if(a==null){return $.ig.Date.prototype.minValue()}return a},_k:null,k:function(a){if(arguments.length===1){this._k=a;return a}else{return this._k}},v:function(){var $self=this;return $.ig.FastItemColumn.prototype.t(this.k(),function(a,b){var c=a;var d=b;if(c<d){return-1}if(c>d){return 1}return 0})},asArray:function(){return this.k().asArrayList()},$type:new $.ig.Type("FastItemDateTimeColumn",$.ig.Object.prototype.$type,[$.ig.IFastItemColumnInternal.prototype.$type,$.ig.IFastItemColumn$1.prototype.$type.specialize($.ig.Date.prototype.$type)])},true);$.ig.util.defType("FastItemObjectColumn","Object",{a:null,init:function(a,b,c){$.ig.Object.prototype.init.call(this);this.a=c;this.propertyName(b);this.h(a)},h:function(a){if(arguments.length===1){this.b=a;this.reset();return a}else{return this.b}},b:null,__propertyName:null,propertyName:function(a){if(arguments.length===1){this.__propertyName=a;return a}else{return this.__propertyName}},minimum:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},c:null,maximum:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},d:null,item:function(b,a){if(arguments.length===2){throw new $.ig.NotImplementedException;return a}else{return this.i().__inner[b]}},getEnumerator:function(){return this.i().getEnumerator()},contains:function(a){return this.i().contains1(a)},o:function(a,b){this.i().copyTo(a,b)},count:function(){return this.i().count()},isReadOnly:function(){return true},indexOf:function(a){return this.i().indexOf1(a)},add:function(a){throw new $.ig.NotImplementedException},clear:function(){throw new $.ig.NotImplementedException},remove:function(a){throw new $.ig.NotImplementedException},insert:function(a,b){throw new $.ig.NotImplementedException},removeAt:function(a){throw new $.ig.NotImplementedException},reset:function(){this.i(null);return this.h()!=null?this.insertRange(0,this.h().g()):true},insertRange:function(a,b){var $self=this;var c=function(){var $ret=new $.ig.List$1($.ig.Object.prototype.$type,0);$ret.h(b);return $ret}();for(var d=a;d<a+b;++d){var e=this.p(this.h().item(d));c.add1(e)}if(this.i()==null){this.i(c)}else{this.i().p(a,c)}return true},replaceRange:function(a,b){var c=false;for(var d=0;d<b;++d){var e=this.i().__inner[a+d];var f=this.p(this.h().item(a+d));if(e!=f){this.i().__inner[a+d]=f;c=true}}return c},removeRange:function(a,b){this.i().q(a,b);return true},e:null,p:function(a){if(a==null){return null}var from_=a;a=from_[this.__propertyName];if(this.a!=null){a=this.a(a)}return a},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},s:function(){var $self=this;return $.ig.FastItemColumn.prototype.t(this.i(),function(a,b){var c=parseFloat(a);var d=parseFloat(b);if(c<d){return-1}if(c>d){return 1}return 0})},asArray:function(){return this.i().asArrayList()},$type:new $.ig.Type("FastItemObjectColumn",$.ig.Object.prototype.$type,[$.ig.IFastItemColumnInternal.prototype.$type,$.ig.IFastItemColumn$1.prototype.$type.specialize($.ig.Object.prototype.$type)])},true);$.ig.util.defType("FastItemIntColumn","Object",{a:null,init:function(a,b,c){this.__propertyName=null;$.ig.Object.prototype.init.call(this);this.a=c;this.propertyName(b);this.h(a)},h:function(a){if(arguments.length===1){this.b=a;this.reset();return a}else{return this.b}},b:null,__propertyName:null,propertyName:function(a){if(arguments.length===1){this.__propertyName=a;return a}else{return this.__propertyName}},minimum:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},c:null,maximum:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},d:null,item:function(b,a){if(arguments.length===2){throw new $.ig.NotImplementedException;return a}else{return this.i().__inner[b]}},getEnumerator:function(){return this.i().getEnumerator()},contains:function(a){return this.i().contains(a)},o:function(a,b){this.i().copyTo(a,b)},count:function(){return this.i().count()},isReadOnly:function(){return true},indexOf:function(a){return this.i().indexOf(a)},add:function(a){throw new $.ig.NotImplementedException},clear:function(){throw new $.ig.NotImplementedException},remove:function(a){throw new $.ig.NotImplementedException},insert:function(a,b){throw new $.ig.NotImplementedException},removeAt:function(a){throw new $.ig.NotImplementedException},reset:function(){this.i(null);return this.h()!=null?this.insertRange(0,this.h().g()):true},insertRange:function(a,b){var c=new Array(b);var source_=this.b.ad();var d;var e=this.minimum();var f=this.maximum();var g=0;if(this.a!=null){for(var i_=a;i_<a+b;++i_){d=source_[i_][this.__propertyName];if(this.a!=null){d=this.a(d)}var h=d==null?0:d;c[g]=h;g++}}else{for(var i_=a;i_<a+b;++i_){d=source_[i_][this.__propertyName];var i=d==null?0:d;c[g]=i;g++}}if(this.i()==null){this.i(new $.ig.List$1($.ig.Number.prototype.$type,1,c))}else{this.i().p(a,c)}return true},replaceRange:function(a,b){var c=false;for(var d=0;d<b;++d){var e=this.i().__inner[a+d];var f=this.p(this.h().item(a+d));if(e!=f){this.i().__inner[a+d]=f;c=true}}return c},removeRange:function(a,b){this.i().q(a,b);return true},e:null,p:function(a){var from_=a;a=from_[this.__propertyName];if(this.a!=null){a=this.a(a)}if(a==null){return 0}return a},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},s:function(){var $self=this;return $.ig.FastItemColumn.prototype.t(this.i(),function(a,b){var c=a;var d=b;if(c<d){return-1}if(c>d){return 1}return 0})},asArray:function(){return this.i().asArrayList()},$type:new $.ig.Type("FastItemIntColumn",$.ig.Object.prototype.$type,[$.ig.IFastItemColumnInternal.prototype.$type,$.ig.IFastItemColumn$1.prototype.$type.specialize($.ig.Number.prototype.$type)])},true);$.ig.util.defType("FastItemsSource","Object",{init:function(){this.b=new $.ig.Dictionary$2(String,$.ig.ColumnReference.prototype.$type,0);this.d=new $.ig.List$1($.ig.Object.prototype.$type,0);this.e=null;$.ig.Object.prototype.init.call(this)},event:null,j:function(a,b,c){if(this.event!=null){this.event(this,new $.ig.FastItemsSourceEventArgs(0,a,b,c))}},k:function(a,b){if(this.event!=null){this.event(this,new $.ig.FastItemsSourceEventArgs(1,a,b))}},f:function(a){if(arguments.length===1){if(this.c==a){return}this.n();this.c=a;this.d.clear();this.e=null;this.o();var c=this.b.values().getEnumerator();while(c.moveNext()){var b=c.current();b.a.reset()}this.j($.ig.FastItemsSourceEventAction.prototype.insert,0,this.d.count());return a}else{return this.c}},n:function(){},o:function(){this.d.o(this.d.count(),this.c)},p:function(a,b){if(this.e!=null){for(var c=0;c<b.count();++c){this.e.add(b.item(c),a+c)}for(var d=a;d<this.d.count();++d){this.e.item(this.d.__inner[d],d+b.count())}}this.d.o(a,b);var f=this.b.values().getEnumerator();while(f.moveNext()){var e=f.current();e.a.insertRange(a,b.count())}this.j($.ig.FastItemsSourceEventAction.prototype.insert,a,b.count())},q:function(a,b){this.d.q(a,b.count());if(this.e!=null){var d=b.getEnumerator();while(d.moveNext()){var c=d.current();this.e.remove(c)}for(var e=a;e<this.d.count();++e){this.e.item(this.d.__inner[e],e)}}var g=this.b.values().getEnumerator();while(g.moveNext()){var f=g.current();f.a.removeRange(a,b.count())}this.j($.ig.FastItemsSourceEventAction.prototype.remove,a,b.count())},r:function(a,b,c){for(var d=0;d<c.count();++d){this.d.__inner[a+d]=c.item(d)}if(this.e!=null){var f=b.getEnumerator();while(f.moveNext()){var e=f.current();this.e.remove(e)}for(var g=0;g<c.count();++g){this.e.add(c.item(g),a+g)}}var i=this.b.values().getEnumerator();while(i.moveNext()){var h=i.current();h.a.replaceRange(a,c.count())}this.j($.ig.FastItemsSourceEventAction.prototype.replace,a,b.count())},s:function(){this.d.clear();this.e=null;this.d.o(0,this.c);var b=this.b.values().getEnumerator();while(b.moveNext()){var a=b.current();a.a.reset()}this.j($.ig.FastItemsSourceEventAction.prototype.reset,0,this.d.count())},t:function(a,b){var $self=this;var c=null;var d=this.x(a);if(d==-1){throw new $.ig.ArgumentException(0,"item")}if(function(){var $ret=$self.b.tryGetValue(b,c);c=$ret.value;return $ret.ret}()){c.a.replaceRange(d,1)}if(function(){var $ret=$self.b.tryGetValue(b+"_object",c);c=$ret.value;return $ret.ret}()){c.a.replaceRange(d,1)}this.k(d,b)},g:function(){return this.d.count()},item:function(b){return this.d.__inner[b]},getEnumerator:function(){return this.d.getEnumerator()},item1:function(b){return this.x(b)},x:function(a){var $self=this;var b;if(this.e==null&&this.d.count()>0){this.e=new $.ig.Dictionary$2($.ig.Object.prototype.$type,$.ig.Number.prototype.$type,0);var c=0;var e=this.d.getEnumerator();while(e.moveNext()){var d=e.current();if(!this.e.containsKey(d)){this.e.add(d,c++)}}}if(function(){var $ret=$self.e.tryGetValue(a,b);b=$ret.value;return $ret.ret}()){return b}else{return-1}},y:function(a,b){var $self=this;var c=null;if(a!=null){var d=null;if(!function(){var $ret=$self.b.tryGetValue(a,d);d=$ret.value;return $ret.ret}()){d=new $.ig.ColumnReference(new $.ig.FastItemDateTimeColumn(this,a,b));this.b.add(a,d)}d.c(d.c()+1);c=$.ig.util.cast($.ig.IFastItemColumn$1.prototype.$type.specialize($.ig.Date.prototype.$type),d.a)}return c},z:function(a,b){var $self=this;var c=null;var d=a+"_object";if(a!=null){var e=null;if(!function(){var $ret=$self.b.tryGetValue(d,e);e=$ret.value;return $ret.ret}()){e=new $.ig.ColumnReference(new $.ig.FastItemObjectColumn(this,a,b));this.b.add(d,e)}e.c(e.c()+1);c=$.ig.util.cast($.ig.IFastItemColumn$1.prototype.$type.specialize($.ig.Object.prototype.$type),e.a)}return c},aa:function(a,b){var $self=this;var c=null;if(a==null){a=""}var d=null;if(!function(){var $ret=$self.b.tryGetValue(a,d);d=$ret.value;return $ret.ret}()){d=new $.ig.ColumnReference(new $.ig.FastItemIntColumn(this,a,b));this.b.add(a,d)}d.c(d.c()+1);c=$.ig.util.cast($.ig.IFastItemColumn$1.prototype.$type.specialize($.ig.Number.prototype.$type),d.a);return c},ab:function(a,b){var $self=this;var c=null;if(a==null){a=""}var d=null;if(!function(){var $ret=$self.b.tryGetValue(a,d);d=$ret.value;return $ret.ret}()){d=new $.ig.ColumnReference(new $.ig.FastItemColumn(this,a,b));this.b.add(a,d)}d.c(d.c()+1);c=$.ig.util.cast($.ig.IFastItemColumn$1.prototype.$type.specialize(Number),d.a);return c},ac:function(a){var $self=this;var b=a!=null?a.propertyName():null;var c=b;if($.ig.util.cast($.ig.IFastItemColumn$1.prototype.$type.specialize($.ig.Object.prototype.$type),a)!==null){c+="_object"}if(b!=null){var d=null;if(function(){var $ret=$self.b.tryGetValue(b,d);d=$ret.value;return $ret.ret}()){d.c(d.c()-1);if(d.c()==0){this.b.remove(b)}}}},b:null,c:null,d:null,e:null,ad:function(){return this.d.asArrayList()},ae:function(a){switch(a.action()){case $.ig.NotifyCollectionChangedAction.prototype.add:this.p(a.newStartingIndex(),a.newItems());break;case $.ig.NotifyCollectionChangedAction.prototype.remove:this.q(a.oldStartingIndex(),a.oldItems());break;case $.ig.NotifyCollectionChangedAction.prototype.replace:this.r(a.newStartingIndex(),a.oldItems(),a.newItems());break;case $.ig.NotifyCollectionChangedAction.prototype.reset:this.s();break}},$type:new $.ig.Type("FastItemsSource",$.ig.Object.prototype.$type,[$.ig.IEnumerable.prototype.$type])},true);$.ig.util.defType("ColumnReference","Object",{init:function(a){$.ig.Object.prototype.init.call(this);this.a=a;this.c(0)},a:null,_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},$type:new $.ig.Type("ColumnReference",$.ig.Object.prototype.$type)},true);$.ig.util.defType("FastItemsSourceEventArgs","EventArgs",{init:function(initNumber,a,b,c){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.EventArgs.prototype.init.call(this);this.action(a);this.position(b);this.count(c);this.propertyName(null)},init1:function(initNumber,a,b){$.ig.EventArgs.prototype.init.call(this);this.action($.ig.FastItemsSourceEventAction.prototype.change);this.position(a);this.count(1);this.propertyName(b)},_action:null,action:function(a){if(arguments.length===1){this._action=a;return a}else{return this._action}},_position:null,position:function(a){if(arguments.length===1){this._position=a;return a}else{return this._position}},_count:null,count:function(a){if(arguments.length===1){this._count=a;return a}else{return this._count}},_propertyName:null,propertyName:function(a){if(arguments.length===1){this._propertyName=a;return a}else{return this._propertyName}},$type:new $.ig.Type("FastItemsSourceEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.util.defType("FastReflectionHelper","Object",{init:function(a,b){$.ig.Object.prototype.init.call(this);this.b(a);this.d(b)},__propertyName:null,d:function(a){this.__propertyName=a},_b:null,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},g:function(a){var from_=a;return from_[this.__propertyName]},c:function(){return false},$type:new $.ig.Type("FastReflectionHelper",$.ig.Object.prototype.$type)},true);$.ig.util.defType("CanvasRenderScheduler","Object",{init:function(){this.a=true;this.b=false;this.c=-1;$.ig.Object.prototype.init.call(this);this.g(new $.ig.List$1($.ig.ISchedulableRender.prototype.$type,0));this.h(new $.ig.List$1($.ig.CanvasRenderScheduler.prototype.$type,0))},a:null,_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},m:function(a){this.a=true;this.g().add(a)},n:function(a){this.a=true;this.g().remove(a)},o:function(){this.a=true;this.p()},b:null,c:null,p:function(){if(!this.b){this.b=true;this.c=window.setTimeout(this.s.runOn(this),0)}},q:function(a,b){this.p()},r:function(){if(this.c!=-1){window.clearTimeout(this.c);this.c=-1}if(this.b){this.s()}},s:function(){this.c=-1;if(this.b){this.b=false;if(this.h().count()>0){for(var a=0;a<this.h().count();a++){this.h().__inner[a].r()}}if(this.a){this.u()}this.t()}},t:function(){var a=true;for(var b=0;b<this.g().count();b++){var c=this.g().__inner[b];c.undirty(a);a=false}for(var d=0;d<this.g().count();d++){var e=this.g().__inner[d];e.postRender()}},u:function(){var $self=this;this.g().t(function(a,b){var c=a;var d=b;if(c.index()<d.index()){return-1}if(c.index()>d.index()){return 1}return 0});this.a=false},$type:new $.ig.Type("CanvasRenderScheduler",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ISchedulableRender","Object",{$type:new $.ig.Type("ISchedulableRender",null)},true);$.ig.util.defType("Numeric","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b,c,d,e){var f;var g=a.count();var h=new Array(g);if(b.__inner[0]==0){return false}var i=b.__inner[0];e.__inner[0]=d.__inner[0]/i;for(f=1;f<g;f++){h[f]=c.__inner[f-1]/i;i=b.__inner[f]-a.__inner[f]*h[f];if(i==0){return false}e.__inner[f]=(d.__inner[f]-a.__inner[f]*e.__inner[f-1])/i}for(f=g-2;f>=0;f--){e.__inner[f]-=h[f+1]*e.__inner[f+1]}return true},b:function(a,b){var c=a.getLength(0);var d=new Array(c);var e=new Array(c);var f=new Array(c);for(var g=0;g<c;g++){f[g]=0}for(var h=0;h<c;h++){var i=0;var j=0;var k=0;for(var l=0;l<c;l++){if(f[l]!=1){for(var m=0;m<c;m++){if(f[m]==0){if(Math.abs(a[l][m])>=i){i=Math.abs(a[l][m]);j=l;k=m}}}}}++f[k];if(j!=k){for(var n=0;n<c;n++){var o=a[j][n];a[j][n]=a[k][n];a[k][n]=o}var p=b[j];b[j]=b[k];b[k]=p}e[h]=j;d[h]=k;if(a[k][k]==0){return false}var q=1/a[k][k];a[k][k]=1;for(var r=0;r<c;r++){a[k][r]*=q}b[k]*=q;for(var s=0;s<c;s++){if(s!=k){var t=a[s][k];a[s][k]=0;for(var u=0;u<c;u++){a[s][u]-=a[k][u]*t}b[s]-=b[k]*t}}}for(var v=c-1;v>=0;v--){if(e[v]!=d[v]){for(var w=0;w<c;w++){var x=a[w][e[v]];a[w][e[v]]=a[w][d[v]];a[w][d[v]]=x}}}return true},c:function(a,b,c,d,e){var f=new $.ig.List$1(Number,0);for(var g=0;g<a;++g){while(g<a&&(isNaN(b(g))||isNaN(c(g)))){f.add(NaN);++g}var h=g;while(g<a&&!isNaN(b(g))&&!isNaN(c(g))){++g}--g;if(g-h>0){f.w($.ig.Numeric.prototype.d(h,g-h+1,b,c,d,e))}else{for(;h<=g;++h){f.add(NaN)}}}return f.x()},d:function(a,b,c,d,e,f){var $self=this;return $.ig.Numeric.prototype.e(b,function(g){return c(g+a)},function(h){return d(h+a)},e,f)},e:function(a,b,c,d,e){var f=new Array(a-1);var g=new Array(a);g[0]=isNaN(d)?0:-.5;f[0]=isNaN(d)?0:3/(b(1)-b(0))*((c(1)-c(0))/(b(1)-b(0))-d);for(var h=1;h<a-1;h++){var i=(b(h)-b(h-1))/(b(h+1)-b(h-1));var j=i*g[h-1]+2;g[h]=(i-1)/j;f[h]=(c(h+1)-c(h))/(b(h+1)-b(h))-(c(h)-c(h-1))/(b(h)-b(h-1));f[h]=(6*f[h]/(b(h+1)-b(h-1))-i*f[h-1])/j}var k=isNaN(e)?0:.5;var l=isNaN(e)?0:3/(b(a-1)-b(a-2))*(e-(c(a-1)-c(a-2))/(b(a-1)-b(a-2)));g[a-1]=(l-k*f[a-2])/(k*g[a-2]+1);for(var m=a-2;m>=0;m--){g[m]=g[m]*g[m+1]+f[m]}return g},f:function(a,b,c,d,e,f,g){var h=d-b;var i=(d-a)/h;var j=(a-b)/h;return i*c+j*e+((i*i*i-i)*f+(j*j*j-j)*g)*h*h/6},g:function(a,b,c,d){var e=new $.ig.PathFigureCollection;var f=0;var g=-1;var h=NaN;var i=NaN;for(var j=0;j<a;j++){h=b(j);i=c(j);if(isNaN(h)||isNaN(i)){g=j-1;if(g-f>0){e.add($.ig.Numeric.prototype.h(f,g,b,c,d))}f=j+1}}if(!isNaN(h)&&!isNaN(i)){g=a-1}if(g-f>0){e.add($.ig.Numeric.prototype.h(f,g,b,c,d))}return e},h:function(a,b,c,d,e){var $self=this;e=.5*$.ig.MathUtil.prototype.i(isNaN(e)?.5:e,0,1);var f=new $.ig.PathFigure;var g=b-a+1;if(g<2){return f}if(g==2){f.__startPoint={__x:c(a),__y:d(a),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var h=function(){var $ret=new $.ig.LineSegment(1);$ret.d({__x:c(a+1),__y:d(a+1),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}();f.__segments.add(h);return f}var i=new $.ig.PolyBezierSegment;var j=c(a);var k=d(a);var l=c(a+1);var m=d(a+1);while(l==j&&m==k&&a+1<=b){a++;l=c(a+1);m=d(a+1)}var n=l-j;var o=m-k;var p=Math.sqrt(n*n+o*o);for(var q=a+1;q<b;++q){var r=c(q);var s=d(q);if(r==j&&s==k){continue}var t=c(q+1)-c(q-1);var u=d(q+1)-d(q-1);var v=t*t+u*u;if(v<.01){t=-(d(q+1)-d(q));u=c(q+1)-c(q);v=t*t+u*u}v=Math.sqrt(v);var w=e*Math.sqrt((r-j)*(r-j)+(s-k)*(s-k));if(v>.01){i.d().add({__x:j+n*w/p,__y:k+o*w/p,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i.d().add({__x:r-t*w/v,__y:s-u*w/v,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i.d().add({__x:r,__y:s,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});j=r;k=s;n=t;o=u;p=v}}var x=b;var y=c(x);var z=d(x);var aa=c(x)-c(x-1);var ab=d(x)-d(x-1);var ac=aa*aa+ab*ab;var ad=e*Math.sqrt((y-j)*(y-j)+(z-k)*(z-k));i.d().add({__x:j+n*ad/p,__y:k+o*ad/p,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i.d().add({__x:y-aa*ad/ac,__y:z-ab*ad/ac,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i.d().add({__x:y,__y:z,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});f.__startPoint={__x:c(a),__y:d(a),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};f.__segments.add(i);return f},$type:new $.ig.Type("Numeric",$.ig.Object.prototype.$type)},true);$.ig.util.defType("LeastSquaresFit","Numeric",{i:function(){return $.ig.LeastSquaresFit.prototype.l()&&$.ig.LeastSquaresFit.prototype.o()&&$.ig.LeastSquaresFit.prototype.r()&&$.ig.LeastSquaresFit.prototype.u()&&$.ig.LeastSquaresFit.prototype.x()&&$.ig.LeastSquaresFit.prototype.aa()&&$.ig.LeastSquaresFit.prototype.ad()&&$.ig.LeastSquaresFit.prototype.ag()},init:function(){$.ig.Numeric.prototype.init.call(this)},j:function(a,b,c){var $self=this;var d=0;var e=0;var f=0;var g=0;var h=0;for(var i=0;i<a;++i){var j=b(i);var k=c(i);if(!isNaN(j)&&!isNaN(k)){d+=k;e+=j*j;f+=j;g+=j*k;++h}}if(h<2){return null}var l=(d*e-f*g)/(h*e-f*f);var m=(h*g-f*d)/(h*e-f*f);return function(){var $ret=new Array;$ret.add(l);$ret.add(m);return $ret}()},k:function(a,b){if(a.length!=2){return NaN}return a[0]+a[1]*b},l:function(){var $self=this;var a=new $.ig.Random;var b=new Array(2);for(var c=0;c<b.length;++c){b[c]=10*a.a()}var d=new $.ig.List$1(Number,0);var e=new $.ig.List$1(Number,0);for(var f=-100;f<100;++f){var g=f;var h=$.ig.LeastSquaresFit.prototype.k(b,g);if(!isNaN(h)){d.add(g);e.add(h)}}var k=$.ig.LeastSquaresFit.prototype.j(d.count(),function(i){return d.__inner[i]},function(j){return e.__inner[j]});for(var l=0;l<b.length;++l){if(Math.abs(b[l]-k[l])>1e-4){}}return true},m:function(a,b,c){var $self=this;var d=0;var e=0;var f=0;var g=0;var h=0;for(var i=0;i<a;++i){var j=b(i);var k=c(i);if(!isNaN(j)&&!isNaN(k)&&j>0){var l=Math.log(j);d+=k*l;e+=k;f+=l;g+=l*l;++h}}if(h<2){return null}var m=(h*d-e*f)/(h*g-f*f);var n=(e-m*f)/h;return function(){var $ret=new Array;$ret.add(n);$ret.add(m);return $ret}()},n:function(a,b){if(a.length!=2||b<0||Number.isInfinity(b)||isNaN(b)){return NaN}return a[0]+a[1]*Math.log(b)},o:function(){var $self=this;var a=new $.ig.Random;var b=new Array(2);for(var c=0;c<b.length;++c){b[c]=10*a.a()}var d=new $.ig.List$1(Number,0);var e=new $.ig.List$1(Number,0);for(var f=1;f<100;++f){var g=f;var h=$.ig.LeastSquaresFit.prototype.n(b,g);if(!isNaN(h)){d.add(g);e.add(h)}}var k=$.ig.LeastSquaresFit.prototype.m(d.count(),function(i){return d.__inner[i]},function(j){return e.__inner[j]});for(var l=0;l<b.length;++l){if(Math.abs(b[l]-k[l])>1e-4){}}return true},p:function(a,b,c){var $self=this;var d=0;var e=0;var f=0;var g=0;var h=0;var i=0;for(var j=0;j<a;++j){var k=b(j);var l=c(j);if(!isNaN(k)&&!isNaN(l)&&l>0){var m=Math.log(l);d+=k*k*l;e+=l*m;f+=k*l;g+=k*l*m;h+=l;++i}}if(i<2){return null}var n=(d*e-f*g)/(h*d-f*f);var o=(h*g-f*e)/(h*d-f*f);return function(){var $ret=new Array;$ret.add(Math.exp(n));$ret.add(o);return $ret}()},q:function(a,b){if(a.length!=2||b<0||Number.isInfinity(b)||isNaN(b)){return NaN}return a[0]*Math.exp(a[1]*b)},r:function(){var $self=this;var a=new $.ig.Random;var b=new Array(2);for(var c=0;c<b.length;++c){b[c]=2*a.a()}var d=new $.ig.List$1(Number,0);var e=new $.ig.List$1(Number,0);for(var f=1;f<100;++f){var g=f;var h=$.ig.LeastSquaresFit.prototype.q(b,g);if(!isNaN(h)){d.add(g);e.add(h)}}var k=$.ig.LeastSquaresFit.prototype.p(d.count(),function(i){return d.__inner[i]},function(j){return e.__inner[j]});for(var l=0;l<b.length;++l){if(Math.abs(b[l]-k[l])>1e-4){return false}}return true},s:function(a,b,c){var $self=this;var d=0;var e=0;var f=0;var g=0;var h=0;for(var i=0;i<a;++i){var j=b(i);var k=c(i);if(!isNaN(j)&&!isNaN(k)&&j>0&&k>0){var l=Math.log(b(i));var m=Math.log(c(i));d+=l*m;e+=l;f+=m;g+=l*l;++h}}if(h<2){return null}var n=(h*d-e*f)/(h*g-e*e);var o=Math.exp((f-n*e)/h);return function(){var $ret=new Array;$ret.add(o);$ret.add(n);return $ret}()},t:function(a,b){if(a.length!=2||b<0||Number.isInfinity(b)||isNaN(b)){return NaN}return a[0]*Math.pow(b,a[1])},u:function(){var $self=this;var a=new $.ig.Random;var b=new Array(2);for(var c=0;c<b.length;++c){b[c]=10*a.a()}var d=new $.ig.List$1(Number,0);var e=new $.ig.List$1(Number,0);for(var f=-100;f<100;++f){d.add(f);e.add($.ig.LeastSquaresFit.prototype.t(b,f))}var i=$.ig.LeastSquaresFit.prototype.s(d.count(),function(g){return d.__inner[g]},function(h){return e.__inner[h]});for(var j=0;j<b.length;++j){if(Math.abs(b[j]-i[j])>1e-4){return false}}return true},v:function(a,b,c){return $.ig.LeastSquaresFit.prototype.ah(a,2,b,c)},w:function(a,b){return $.ig.LeastSquaresFit.prototype.ai(a,b)},x:function(){return $.ig.LeastSquaresFit.prototype.aj(2)},y:function(a,b,c){return $.ig.LeastSquaresFit.prototype.ah(a,3,b,c)},z:function(a,b){return $.ig.LeastSquaresFit.prototype.ai(a,b)},aa:function(){return $.ig.LeastSquaresFit.prototype.aj(3)},ab:function(a,b,c){return $.ig.LeastSquaresFit.prototype.ah(a,4,b,c)},ac:function(a,b){return $.ig.LeastSquaresFit.prototype.ai(a,b)},ad:function(){return $.ig.LeastSquaresFit.prototype.aj(4)},ae:function(a,b,c){return $.ig.LeastSquaresFit.prototype.ah(a,5,b,c)},af:function(a,b){return $.ig.LeastSquaresFit.prototype.ai(a,b)},ag:function(){return $.ig.LeastSquaresFit.prototype.aj(5)},ah:function(a,b,c,d){var $self=this;var e=new Array(1+2*b);for(var f=0;f<e.length;f++){e[f]=0}var g=function(){var $ret=new Array(b+1);var $currRet=$ret;for(var $rankInit=0;$rankInit<b+1;$rankInit++){$currRet[$rankInit]=new Array(b+1)}return $ret}();var h=new Array(b+1);for(var i=0;i<h.length;i++){h[i]=0}var j=0;for(var k=0;k<a;++k){var l=1;var m=c(k);if(!isNaN(m)&&!isNaN(d(k))){for(var n=0;n<e.length;++n){e[n]+=l;l*=m;++j}}}if(j<b){return null}for(var o=0;o<=b;++o){for(var p=0;p<=b;++p){g[o][p]=e[o+p]}}for(var q=0;q<a;++q){var r=c(q);var s=d(q);if(!isNaN(r)&&!isNaN(s)){for(var t=0;t<=b;++t){h[t]+=Math.pow(r,t)*s}}}return $.ig.Numeric.prototype.b(g,h)?h:null},ai:function(a,b){if(a.length<1||Number.isInfinity(b)||isNaN(b)){return NaN}var c=0;for(var d=0;d<a.length;++d){c+=a[d]*Math.pow(b,d)}return c},aj:function(a){var $self=this;var b=new $.ig.Random;var c=new Array(a+1);for(var d=0;d<c.length;++d){c[d]=2*b.a()}var e=new $.ig.List$1(Number,0);var f=new $.ig.List$1(Number,0);for(var g=-100;g<100;++g){var h=g;var i=$.ig.LeastSquaresFit.prototype.ai(c,h);if(!isNaN(i)){e.add(h);f.add(i)}}var l=$.ig.LeastSquaresFit.prototype.ah(e.count(),a,function(j){return e.__inner[j]},function(k){return f.__inner[k]});for(var m=0;m<a;++m){if(Math.abs(c[m]-l[m])>1e-4){return false}}return true},$type:new $.ig.Type("LeastSquaresFit",$.ig.Numeric.prototype.$type)},true);$.ig.FastItemsSourceEventAction.prototype.remove=0;$.ig.FastItemsSourceEventAction.prototype.insert=1;$.ig.FastItemsSourceEventAction.prototype.replace=2;$.ig.FastItemsSourceEventAction.prototype.change=3;$.ig.FastItemsSourceEventAction.prototype.reset=4;$.ig.UnknownValuePlotting.prototype.linearInterpolate=0;$.ig.UnknownValuePlotting.prototype.dontPlot=1;$.ig.TrendLineType.prototype.none=0;$.ig.TrendLineType.prototype.linearFit=1;$.ig.TrendLineType.prototype.quadraticFit=2;$.ig.TrendLineType.prototype.cubicFit=3;$.ig.TrendLineType.prototype.quarticFit=4;$.ig.TrendLineType.prototype.quinticFit=5;$.ig.TrendLineType.prototype.logarithmicFit=6;$.ig.TrendLineType.prototype.exponentialFit=7;$.ig.TrendLineType.prototype.powerLawFit=8;$.ig.TrendLineType.prototype.simpleAverage=9;$.ig.TrendLineType.prototype.exponentialAverage=10;$.ig.TrendLineType.prototype.modifiedAverage=11;$.ig.TrendLineType.prototype.cumulativeAverage=12;$.ig.TrendLineType.prototype.weightedAverage=13;$.ig.DOMEventProxy.prototype.b9=0;$.ig.DOMEventProxy.prototype.b8=-1;$.ig.util.extCopy($.ig.ArrayUtil,[[[$.ig.IFastItemColumn$1,$.ig.FastItemColumn,$.ig.FastItemDateTimeColumn,$.ig.FastItemObjectColumn,$.ig.FastItemIntColumn,$.ig.EdgeClipper,$.ig.RearrangedList$1,$.ig.List$1,$.ig.ReadOnlyCollection$1],["shuffle$1","insertionIndex$1","insertionIndex$11111","binarySearch$1"]]]);$.ig.util.extCopy($.ig.ColorUtil,[[[$.ig.Color],["getInterpolation","getLightened","getAHSL","getAHSV"]]]);$.ig.util.extCopy($.ig.Extensions,[[[$.ig.PathGeometry],["reset"]],[[$.ig.GeometryGroup],["reset1"]],[[$.ig.FrameworkElement],["detach"]],[[$.ig.Panel],["transferChildrenTo"]],[[$.ig.Point],["isPlottable"]],[[$.ig.Rect],["isPlottable1"]]]);$.ig.util.extCopy($.ig.PathFigureUtil,[[[$.ig.PathFigureCollection],["duplicate"]],[[$.ig.PathFigure],["duplicate1"]]]);$.ig.util.extCopy($.ig.PointCollectionUtil,[[[$.ig.IFastItemColumn$1,$.ig.FastItemColumn,$.ig.FastItemDateTimeColumn,$.ig.FastItemObjectColumn,$.ig.FastItemIntColumn,$.ig.EdgeClipper,$.ig.RearrangedList$1,$.ig.List$1,$.ig.ReadOnlyCollection$1],["flattenTo","getBounds2","clipTo"]],[[$.ig.IFastItemColumn$1,$.ig.FastItemColumn,$.ig.FastItemDateTimeColumn,$.ig.FastItemObjectColumn,$.ig.FastItemIntColumn,$.ig.EdgeClipper,$.ig.RearrangedList$1,$.ig.ICollection$1,$.ig.IList$1,$.ig.List$1,$.ig.IDictionary$2,$.ig.Dictionary$2,$.ig.GenericEnumerable$1,$.ig.ReadOnlyCollection$1,$.ig.Stack$1,$.ig.IOrderedEnumerable$1,$.ig.SortedList$1,$.ig.IGrouping$2],["getBounds","getBounds11","getCentroid","toPointCollection","toPointList"]],[[$.ig.List$1],["getBounds3","getBounds41","toPointCollections"]]]);$.ig.util.extCopy($.ig.RectUtil,[[[$.ig.Rect],["getCenter","getArea","duplicate","getLeader","getDistanceSquared","getDistanceSquared11","getDistanceSquared22","contains3","intersectsWith1","intersectionArea","getInflated","inflate","inflate11","round","isNull"]]]);$.ig.util.extCopy($.ig.Enumerable,[[[$.ig.IFastItemColumn$1,$.ig.FastItemColumn,$.ig.FastItemDateTimeColumn,$.ig.FastItemObjectColumn,$.ig.FastItemIntColumn,$.ig.EdgeClipper,$.ig.RearrangedList$1],["where$1","where$11111","select$2","selectMany$2","last$1","first$1","firstOrDefault$1","orderBy$2","orderByDescending$2","toList$1","concat$1","max","max$111","min","min$111","count$1","reverse$1","take$1","skip$1","any$1","contains$1","union$1","toArray$1","elementAt$1"]],[[$.ig.IFastItemColumn$1,$.ig.FastItemColumn,$.ig.FastItemDateTimeColumn,$.ig.FastItemObjectColumn,$.ig.FastItemIntColumn,$.ig.FastItemsSource,$.ig.EdgeClipper,$.ig.RearrangedList$1],["ofType$1","cast$1"]]]);$.ig.util.extCopy($.ig.Queryable,[[[$.ig.IFastItemColumn$1,$.ig.FastItemColumn,$.ig.FastItemDateTimeColumn,$.ig.FastItemObjectColumn,$.ig.FastItemIntColumn,$.ig.FastItemsSource,$.ig.EdgeClipper,$.ig.RearrangedList$1],["asQueryable"]]]);$.ig=$.ig||{};$.ig.util.bulkDefine(["SparkFrame","SparkFramePreparer","SparklineConnector","IFastItemsSourceProvider","SparklineController","SparklineToolTipContext","SparkLayerType","SparklineDisplayType","FastItemsSourceReference","Message_Spark","RenderingMessage_Spark","AxisRenderMessage_Spark","ClearMessage_Spark","ColumnMessage_Spark","ConfigurationMessage_Spark","ContainerMessage_Spark","VisibilityMessage_Spark","BrushChangedMessage_Spark","NumberChangedMessage_Spark","ContainerResizedMessage_Spark","DataChangedMessage_Spark","InteractionMessage_Spark","MarkerMessage_Spark","MessageChannel_Spark","MessageEventHandler","MessageHandler_Spark","MessageHandlerEventHandler","MouseLeaveMessage_Spark","MouseMoveMessage_Spark","NormalRangeMessage_Spark","PolygonMessage_Spark","PropertyChangedMessage_Spark","ServiceProvider_Spark","TooltipMessage_Spark","ToooltipTemplateMessage_Spark","TrendLineMessage_Spark","ViewportChangedMessage_Spark","ContainerSizeChangedMessage_Spark","WinLossColumnMessage_Spark","XamSparkline","HorizontalAxisView","VerticalAxisView","XamSparklineView","Object","MulticastDelegate","Action","Action$1","Action$2","Action$3","Action$4","Action$5","Action$6","Action$7","Action$8","IEqualityComparer$1","IEnumerable","ICollection","IDictionary","IList","Array","Array","Comparison$1","Attribute","BrowsableAttribute","EventArgs","CancelEventArgs","DesignTimeVisibleAttribute","EditorBrowsableAttribute","ValueType","Enum","EditorBrowsableState","ISupportInitialize","ITypeDescriptorContext","TypeConverter","TypeConverterAttribute","WinMDTypeAttribute","WinMDPropertyToObjectTypeAttribute","Error","IFormatProvider","NotSupportedException","ObsoleteAttribute","MemberInfo","MethodBase","ConstructorInfo","IComparable","Date","Number","SuppressMessageAttribute","EventHandler$1","PlaceholderSystemCollectionsObjectModel","PlaceholderSystemCollectionsSpecialized","PlaceholderSystemWindows","PlaceholderSystemWindowsControls","PlaceholderSystemWindowsData","PlaceholderSystemWindowsInput","PlaceholderSystemWindowsMarkup","PlaceholderSystemWindowsMediaImaging","PlaceholderSystemWindowsShapes","PlaceholderSystemWindowsControlsPrimitives","PlaceholderSystemWindowsAutomation","PlaceholderSystemWindowsAutomationPeers","PlaceholderSystemText","PlaceholderSystemGlobalization","PlaceholderSystemWindowsDocuments","PlaceholderSystemWindowsInk","PlaceholderSystemWindowsMediaAnimation","PlaceholderSystemWindowsMediaEffects","PlaceholderSystemWindowsThreading","PlaceholderInfragisticsControlerChartsAutomationPeers","FlagsAttribute","Func$1","Func$2","Func$3","Func$4","Func$5","Func$6","Func$7","Func$8","Func$9","Math","XMLHttpRequest","Nullable$1","Number","ParamArrayAttribute","Array","AttributeTargets","AttributeUsageAttribute","Boolean","Number","String","Array","CompareCallback","Dictionary","DictionaryEntry","IEnumerator","INotifyPropertyChanged","PropertyChangedEventArgs","PropertyChangedEventHandler","CultureInfo","Delegate","Number","IDisposable","Number","Number","Number","IntPtr","ReflectionUtil","AssemblyTitleAttribute","AssemblyCompanyAttribute","AssemblyConfigurationAttribute","AssemblyCopyrightAttribute","AssemblyCultureAttribute","AssemblyDescriptionAttribute","AssemblyFileVersionAttribute","AssemblyProductAttribute","AssemblyTrademarkAttribute","AssemblyVersionAttribute","DefaultMemberAttribute","MethodInfo","ParameterInfo","PropertyInfo","RuntimeFieldHandle","RuntimeTypeHandle","ClientScriptAttribute","ClientNameAttribute","DontObfuscateAttribute","EmitIgnoreTypeAttribute","ExtensionAttribute","GlobalMemberAttribute","IgnoreAttribute","InlineItemAccessAttribute","InlinePropertyAttribute","InternalsVisibleToAttribute","KeepOriginalNameAttribute","LiteralStringAttribute","NativeMethodAttribute","NativePropertyAttribute","NativeTypeAttribute","RuntimeHelpers","WeakAttribute","WidgetAttribute","MainWidgetAttribute","SuppressWidgetMemberAttribute","SuppressWidgetMemberCopyAttribute","WidgetDefaultStringAttribute","WidgetDefaultNumberAttribute","WidgetDefaultBooleanAttribute","MvcEnumSetStringEnumAttribute","WidgetModuleAttribute","WidgetModuleParentAttribute","WidgetIgnoreDependsAttribute","ComVisibleAttribute","GuidAttribute","OutAttribute","DataContractAttribute","DataMemberAttribute","WaitHandle","EventWaitHandle","Monitor","TypeCode","TargetFrameworkAttribute","Number","Script","Single","String","ManualResetEvent","Thread","Date","Type","Number","Number","Number","UIntPtr","XmlAttributeAttribute","XmlElementAttribute","XmlEnumAttribute","XmlIgnoreAttribute","XmlRootAttribute","XmlTypeAttribute","XmlNode","XmlAttribute","XmlDocument","XmlDocumentParser","XmlLinkedNode","XmlElement","Void","XmlNodeList","XmlNamedNodeMap","XmlNodeType","XmlSchemaForm","AbstractEnumerable","AbstractEnumerator","IEnumerable$1","ICollection$1","IList$1","IArrayList","List$1","Collection$1","IDictionary$2","Dictionary$2","GenericEnumerable$1","IEnumerator$1","GenericEnumerator$1","INotifyCollectionChanged","NotifyCollectionChangedEventHandler","NotifyCollectionChangedEventArgs","NotifyCollectionChangedAction","KeyValuePair$2","LinkedList$1","LinkedListNode$1","ObservableCollection$1","Queue$1","ReadOnlyCollection$1","ReadOnlyObservableCollection$1","NameValueCollection","Stack$1","IComparer$1","Expression","MemberExpression","ParameterExpression","LambdaExpression","MethodCallExpression","IOrderedEnumerable$1","Queryable","Enumerable","SortedList$1","IGrouping$2","IArray","DependencyObject","Test","IQueryable","IQueryable$1","IQueryProvider","Activator","AggregateException","ArgumentException","ArgumentNullException","ArgumentOutOfRangeException","AsyncCompletedEventArgs","AsyncCompletedEventHandler","ListSortDirection","Convert","Environment","InvalidOperationException","Debug","IEquatable$1","BinaryReader","ICredentials","NetworkCredential","UploadStringCompletedEventHandler","UploadStringCompletedEventArgs","WebClient","WebHeaderCollection","FaultCode","FaultException","FaultException$1","FaultReason","StringBuilder","BinaryFileDownloader","NotImplementedException","Random","Encoding","UTF8Encoding","Task","Task$1","TaskCompletionSource$1","TaskFactory","TaskStatus","Tuple$2","Uri","JavaScriptSerializer","UIElement","UIElementCollection","FrameworkElement","Control","ContentControl","Panel","Canvas","Image","TextBlock","DataTemplate","DataTemplatePassInfo","DataTemplateMeasureInfo","DataTemplateRenderInfo","DataTemplateRenderHandler","DataTemplateMeasureHandler","DataTemplatePassHandler","Binding","DependencyProperty","UnsetValue","DependencyPropertiesCollection","DependencyPropertyChangedEventArgs","Key","ModifierKeys","MouseEventArgs","MouseButtonEventArgs","Brush","Color","DoubleCollection","FillRule","GeometryType","Geometry","GeometryCollection","GeometryGroup","LineGeometry","RectangleGeometry","EllipseGeometry","PathGeometry","PathFigure","PathFigureCollection","PathSegmentType","PathSegment","PathSegmentCollection","LineSegment","BezierSegment","PolyBezierSegment","PolyLineSegment","ArcSegment","SweepDirection","HorizontalAlignment","PenLineCap","Stretch","Transform","RotateTransform","TranslateTransform","TransformGroup","TransformCollection","VerticalAlignment","Point","PointCollection","PropertyChangedCallback","CoerceValueCallback","PropertyMetadata","PropertyPath","Rect","Shape","Line","Path","Polygon","Polyline","Rectangle","Size","Style","StyleTypedPropertyAttribute","TemplatePartAttribute","TemplateVisualStateAttribute","Visibility","XObject","XAttribute","XNode","XContainer","XDocument","XElement","XmlUtils","XName","XNamespace","Element","CanvasElement","console","DivElement","Document","ElementAttribute","ElementAttributeCollection","ElementCollection","ElementEventHandler","ElementNodeType","EventListener","IElementEventHandler","ImageElement","CanvasContext","CanvasContext2D","ImageData","Gradient","TextMetrics","MSGesture","WebStyle","window","Callback","JQuery","JQueryDeferred","JQueryEvent","JQueryObject","JQueryCallback","JQueryUICallback","JQueryPosition","JQueryPromise","BrushCollection","EventProxy","DOMEventProxy","TrendCalculators","TrendLineType","UnknownValuePlotting","ErrorBarCalculatorReference","ErrorBarCalculatorType","IErrorBarCalculator","ErrorMessageDisplayingEventArgs","MouseWheelHandler","GestureHandler","TouchHandler","ContactHandler","MouseHandler","MouseOverHandler","KeyHandler","IFastItemColumnInternal","IFastItemColumnPropertyName","IFastItemColumn$1","FastItemColumn","FastItemDateTimeColumn","FastItemObjectColumn","FastItemIntColumn","FastItemsSource","ColumnReference","FastItemsSourceEventAction","FastItemsSourceEventArgs","FastReflectionHelper","IRenderer","RectChangedEventArgs","RectChangedEventHandler","CanvasRenderScheduler","CanvasViewRenderer","GradientDirection","RenderingContext","DependencyObjectNotifier","InteractionState","IOverviewPlusDetailControl","ISchedulableRender","NavigationSettings","OverviewPlusDetailPaneMode","PropertyChangedEventArgs$1","XamOverviewPlusDetailPane","XamOverviewPlusDetailPaneView","XamOverviewPlusDetailPaneViewManager","XamMultiScaleTileSource","MapTileSource","BingMapsTileSource","CloudMadeTileSource","OpenStreetMapTileSource","ArrayUtil","BrushUtil","Clipper","EdgeClipper","LeftClipper","BottomClipper","RightClipper","TopClipper","InterpolationMode","ColorUtil","FontUtil","DoubleAnimator","Extensions","Flattener","SpiralTodo","GeometryUtil","InterpolationUtil","Numeric","LeastSquaresFit","MathUtil","PathFigureUtil","PointCollectionUtil","PolygonUtil","PolySimplification","RearrangedList$1","RectUtil","ISmartPlaceable","SmartPlaceableWrapper$1","SmartPosition","SmartPlacer","StackPool$1","PrimitiveVisualDataList","LabelAppearanceData","PrimitiveAppearanceData","GetPointsSettings","PrimitiveVisualData","RectangleVisualData","ShapeTags","LineVisualData","PolyLineVisualData","PolygonVisualData","PathVisualData","GeometryData","PathGeometryData","LineGeometryData","RectangleGeometryData","EllipseGeometryData","PathFigureData","SegmentData","LineSegmentData","PolylineSegmentData","PolyBezierSegmentData","ArcSegmentData","AppearanceHelper","Tile","WriteableBitmap","IMapRenderDeferralHandler","XamMultiScaleImage","Pair$2","IEasingFunction","XamMultiScaleImageView"]);
$.ig.util.defType("SparklineDisplayType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("SparklineDisplayType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SparkLayerType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("SparkLayerType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SparkFrame","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.a=new $.ig.List$1($.ig.Array.prototype.$type,0);this.b=new $.ig.List$1($.ig.Point.prototype.$type,0);this.c=new $.ig.List$1($.ig.Point.prototype.$type,0);this.d=new $.ig.List$1($.ig.Point.prototype.$type,0);this.e=new $.ig.List$1($.ig.Point.prototype.$type,0);this.f=new $.ig.List$1($.ig.Point.prototype.$type,0)},a:null,i:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},b:null,j:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},c:null,k:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},d:null,l:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},e:null,m:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},f:null,n:function(a){if(arguments.length===1){this.f=a;return a}else{return this.f}},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},$type:new $.ig.Type("SparkFrame",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SparkFramePreparer","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:null,b:null,c:null,e:function(a){var $self=this;this.a.i.bc(false);a.i().clear();a.j().clear();a.k().clear();a.l().clear();a.m().clear();a.n().clear();var b=this.a.k;var c=b.count();var d=this.a.o.width();var e=this.a.o.height();var f=Math.floor((c+1)/d);var g=Math.max(1,f);var h=0;var i=Math.ceil(1*c/g);var j=0;var k=new $.ig.List$1(Number,0);var l=this.a.r().trendLineType();var m=this.a.r().displayType();var n=this.a.r().trendLinePeriod();var o=l!=$.ig.TrendLineType.prototype.none&&n>=1;var p=null;var q=null;if(m==$.ig.SparklineDisplayType.prototype.area||m==$.ig.SparklineDisplayType.prototype.line){this.b=0}else{if(i==0){this.b=0}else{this.b=d/i/2}}if(o){var s=function(r){return r+1};var u=function(t){return b.item(t)};var w=function(v){return $self.a.af(v)};var y=function(x){return $self.a.ag(x)};switch(this.a.r().trendLineType()){case $.ig.TrendLineType.prototype.simpleAverage:p=$.ig.TrendCalculators.prototype.e(b,n);break;case $.ig.TrendLineType.prototype.exponentialAverage:p=$.ig.TrendCalculators.prototype.b(b,n);break;case $.ig.TrendLineType.prototype.modifiedAverage:p=$.ig.TrendCalculators.prototype.c(b,n);break;case $.ig.TrendLineType.prototype.cumulativeAverage:p=$.ig.TrendCalculators.prototype.d(b);break;case $.ig.TrendLineType.prototype.weightedAverage:p=$.ig.TrendCalculators.prototype.a(b,n);break;case $.ig.TrendLineType.prototype.linearFit:q=$.ig.LeastSquaresFit.prototype.j(c,s,u);break;case $.ig.TrendLineType.prototype.quadraticFit:q=$.ig.LeastSquaresFit.prototype.v(c,s,u);break;case $.ig.TrendLineType.prototype.cubicFit:q=$.ig.LeastSquaresFit.prototype.y(c,s,u);break;case $.ig.TrendLineType.prototype.quarticFit:q=$.ig.LeastSquaresFit.prototype.ab(c,s,u);break;case $.ig.TrendLineType.prototype.quinticFit:q=$.ig.LeastSquaresFit.prototype.ae(c,s,u);break;case $.ig.TrendLineType.prototype.exponentialFit:q=$.ig.LeastSquaresFit.prototype.p(c,s,u);break;case $.ig.TrendLineType.prototype.logarithmicFit:q=$.ig.LeastSquaresFit.prototype.m(c,s,u);break;case $.ig.TrendLineType.prototype.powerLawFit:q=$.ig.LeastSquaresFit.prototype.s(c,s,u);break}if(p!=null){var aa=p.getEnumerator();while(aa.moveNext()){var z=aa.current();k.add(z)}}if(q!=null){var ab=h*g;var ac=i*g;if(m==$.ig.SparklineDisplayType.prototype.area||m==$.ig.SparklineDisplayType.prototype.line){ac=ac-1}var ad=0+this.b;var ae=d-this.b;var af=0;if(this.b!=0){af=.5}for(var ag=ad;ag<=ae;ag+=2){var ah=ag/(d-1);var ai=ab+ah*(ac-ab);var aj=NaN;switch(l){case $.ig.TrendLineType.prototype.linearFit:aj=$.ig.LeastSquaresFit.prototype.k(q,ai-af);break;case $.ig.TrendLineType.prototype.quadraticFit:aj=$.ig.LeastSquaresFit.prototype.w(q,ai-af);break;case $.ig.TrendLineType.prototype.cubicFit:aj=$.ig.LeastSquaresFit.prototype.z(q,ai-af);break;case $.ig.TrendLineType.prototype.quarticFit:aj=$.ig.LeastSquaresFit.prototype.ac(q,ai-af);break;case $.ig.TrendLineType.prototype.quinticFit:aj=$.ig.LeastSquaresFit.prototype.af(q,ai-af);break;case $.ig.TrendLineType.prototype.exponentialFit:aj=$.ig.LeastSquaresFit.prototype.q(q,ai-af);break;case $.ig.TrendLineType.prototype.logarithmicFit:aj=$.ig.LeastSquaresFit.prototype.n(q,ai-af);break;case $.ig.TrendLineType.prototype.powerLawFit:aj=$.ig.LeastSquaresFit.prototype.t(q,ai-af);break}ai=w(ai);aj=y(aj);if(!isNaN(aj)&&!Number.isInfinity(aj)){a.j().add({__x:ai,__y:aj,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}}}var ak=this.a.k.minimum();var al=this.a.k.maximum();var am=this.a.r().d9();var an=this.a.r().ea();this.c=e-(j-am)/(an-am)*e;if(this.c<0){this.c=0}else if(this.c>e){this.c=e}var ao=this.c;var ap;for(var aq=h;aq<i;aq++){var ar=this.f(aq,g,c);var as=ar[1];var at=ar[2];this.g(ar,c,this.a.o,am,an);ap=ar[1];if(ar[2]<ao){ap=ar[2]}a.i().add(ar);if(!isNaN(ar[0])&&!isNaN(ar[1])){a.k().add({__x:ar[0],__y:ap,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}if(o&&p!=null){var au=aq*g;var av=e-(k.__inner[au]-ak)/(al-ak)*e;a.j().add({__x:ar[0]+this.b,__y:av,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}if(as<j){a.l().add({__x:ar[0],__y:ar[1],$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}if(ak==as){a.m().add({__x:ar[0],__y:ar[1],$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}if(al==at){a.n().add({__x:ar[0],__y:ar[2],$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}if(a.k().count()==0){a.o(a.p({__x:NaN,__y:NaN,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}))}else{a.o(a.k().__inner[0]);a.p(a.k().__inner[a.k().count()-1])}},f:function(a,b,c){var $self=this;var d=Math.min(a*b,c-1);var e=Math.min(d+b-1,c-1);var f=true;var g=0;var h=0;for(var i=d;i<=e;++i){var j=this.a.k.item(i);if(f){f=false;g=j;h=j}else{g=Math.min(g,j);h=Math.max(h,j)}}var k=function(){var $ret=new Array;$ret.add(0);$ret.add(0);$ret.add(0);return $ret}();k[0]=.5*(d+e);k[1]=g;k[2]=h;return k},g:function(a,b,c,d,e){var f=c.left();var g=c.top();var h=c.width();var i=c.height();if(this.a.r().displayType()==$.ig.SparklineDisplayType.prototype.area||this.a.r().displayType()==$.ig.SparklineDisplayType.prototype.line){b--}if(b<0){b=0}var j=b>0?a[0]/b:b==0?.5:NaN;a[0]=f+j*h;if(this.a.r().displayType()==$.ig.SparklineDisplayType.prototype.winLoss){if(a[1]>0){a[1]=g;a[2]=g}else if(a[1]<0){a[1]=g+i;a[2]=g+i}else{a[1]=g+(1-(a[1]-d)/(e-d))*i;a[2]=g+(1-(a[2]-d)/(e-d))*i}}else{a[1]=g+(1-(a[1]-d)/(e-d))*i;a[2]=g+(1-(a[2]-d)/(e-d))*i}},$type:new $.ig.Type("SparkFramePreparer",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SparklineConnector","Object",{a:null,b:null,c:null,d:null,e:null,init:function(a,b){$.ig.Object.prototype.init.call(this);this.c=b;if(a==null){return}this.a=$.ig.util.cast($.ig.XamSparkline.prototype.$type,a);this.d=this.a.ec();this.e=this.a.ed();var c=new $.ig.ServiceProvider_Spark;c.addService("ConfigurationMessages",new $.ig.MessageChannel_Spark);c.addService("RenderingMessages",new $.ig.MessageChannel_Spark);c.addService("InteractionMessages",new $.ig.MessageChannel_Spark);c.addService("Model",this.a);c.addService("View",this.c);c.addService("HorizontalAxis",this.d);c.addService("VerticalAxis",this.e);this.a.d7(c);this.c.aj(c);this.d.p(c);this.e.w(c);this.b=new $.ig.SparklineController(c);c.addService("Controller",this.b)},$type:new $.ig.Type("SparklineConnector",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SparklineController","DependencyObject",{init:function(a){var $self=this;this.m=new $.ig.SparkFramePreparer;this.n=new $.ig.SparkFrame;this.o=$.ig.Rect.prototype.empty();$.ig.DependencyObject.prototype.init.call(this);this.e=a.getService("ConfigurationMessages");this.f=a.getService("RenderingMessages");this.g=a.getService("InteractionMessages");this.p=function(b,c){$self.ap(c.action(),c.position(),c.count(),c.propertyName())};this.r(a.getService("Model"));this.i=a.getService("View");this.e.attachTarget(this.ar.runOn(this));this.g.attachTarget(this.at.runOn(this))},e:null,f:null,g:null,h:null,r:function(a){if(arguments.length===1){var b=this.h!=a;if(b){this.h=a;this.ao()}return a}else{return this.h}},i:null,s:function(){return this.r()!=null?this.r().itemsSource():null},t:function(a){if(arguments.length===1){this.c($.ig.SparklineController.prototype.j,a);return a}else{return this.b($.ig.SparklineController.prototype.j)}},k:null,l:null,m:null,n:null,u:function(){return this.r()!=null?this.r().valueMemberPath():null},v:function(){return this.r()!=null?this.r().labelMemberPath():null},o:null,w:function(){return this.r()!=null?this.r().toolTip():null},p:null,af:function(a){var b=this.k.count();if(this.r().displayType()==$.ig.SparklineDisplayType.prototype.area||this.r().displayType()==$.ig.SparklineDisplayType.prototype.line){b--}if(b<0){b=0}var c=b>0?a/b:b==0?.5:NaN;c=this.o.left()+c*this.o.width();return c},ag:function(a){var b=(a-this.r().d9())/(this.r().ea()-this.r().d9());b=1-b;b=this.o.top()+b*this.o.height();return b},ah:function(){return this.s()!=null&&this.u()!=null&&!this.o.isEmpty()&&this.o.width()>0&&this.o.height()>0&&this.r()!=null&&this.r().d9()!=this.r().ea()},ai:function(a){if(a.oldValue()!=a.newValue()){return true}return false},aj:function(a,b){var $self=this;if(this.p==null){this.p=function(c,d){$self.ap(d.action(),d.position(),d.count(),d.propertyName())}}var e=$.ig.util.cast($.ig.FastItemsSource.prototype.$type,a);if(e!=null){e.event=$.ig.Delegate.prototype.remove(e.event,this.p)}var f=$.ig.util.cast($.ig.FastItemsSource.prototype.$type,b);if(f!=null){f.event=$.ig.Delegate.prototype.combine(f.event,this.p)}},ak:function(){if(this.r()!=null){if(this.k==null){this.r().d9(this.r().ea(NaN))}else{if(isNaN(this.r().minimum())){this.r().d9(this.k.minimum())}else{this.r().d9(this.r().minimum())}if(isNaN(this.r().maximum())){this.r().ea(this.k.maximum())}else{this.r().ea(this.r().maximum())}if(this.r().d9()==this.r().ea()){if(Math.floor(this.r().d9())<this.r().d9()){this.r().d9(Math.floor(this.r().d9()))}else{this.r().d9(Math.floor(this.r().d9())-1)}if(Math.ceil(this.r().ea())>this.r().ea()){this.r().ea(Math.ceil(this.r().ea()))}else{this.r().ea(Math.ceil(this.r().ea())+1)}}}}},al:function(){if(this.t()!=null){this.t().ac(this.k);this.k=this.t().ab(this.u(),null)}else{this.k=null}},am:function(){if(this.t()!=null){this.t().ac(this.l);this.l=this.t().z(this.v(),null);this.r().eb(this.l)}else{this.r().eb(this.l=null)}},an:function(){var a=new $.ig.AxisRenderMessage_Spark;this.f.sendMessage(a)},ao:function(){this.t(this.getFastItemsSource(this.s()));this.al();this.am();this.ak();this.an()},ap:function(a,b,c,d){this.al();this.am();this.ak();this.an();this.a0()},aq:function(){var a=new $.ig.ToooltipTemplateMessage_Spark;a.template(this.w());this.f.sendMessage(a)},ar:function(a){var b=a;if($.ig.util.cast($.ig.PropertyChangedMessage_Spark.prototype.$type,b)!==null){this.au(b)}else if($.ig.util.cast($.ig.ContainerSizeChangedMessage_Spark.prototype.$type,a)!==null){this.f.sendMessage(a)}else if($.ig.util.cast($.ig.DataChangedMessage_Spark.prototype.$type,a)!==null){this.as(a)}},as:function(a){var b=this.t();if(b==null){return}switch(a.h()){case $.ig.NotifyCollectionChangedAction.prototype.replace:b.ae(new $.ig.NotifyCollectionChangedEventArgs(2,$.ig.NotifyCollectionChangedAction.prototype.replace,a.g(),a.f(),a.e()));break;case $.ig.NotifyCollectionChangedAction.prototype.add:b.ae(new $.ig.NotifyCollectionChangedEventArgs(1,$.ig.NotifyCollectionChangedAction.prototype.add,a.g(),a.e()));break;case $.ig.NotifyCollectionChangedAction.prototype.remove:b.ae(new $.ig.NotifyCollectionChangedEventArgs(1,$.ig.NotifyCollectionChangedAction.prototype.remove,a.f(),a.e()));break;case $.ig.NotifyCollectionChangedAction.prototype.reset:b.ae(new $.ig.NotifyCollectionChangedEventArgs(0,$.ig.NotifyCollectionChangedAction.prototype.reset));break}this.ao()},at:function(a){var b=a;if($.ig.util.cast($.ig.ViewportChangedMessage_Spark.prototype.$type,b)!==null){this.av(b)}else if($.ig.util.cast($.ig.MouseLeaveMessage_Spark.prototype.$type,b)!==null){this.ax(b)}else if($.ig.util.cast($.ig.MouseMoveMessage_Spark.prototype.$type,b)!==null){this.aw(b)}else if($.ig.util.cast($.ig.ContainerSizeChangedMessage_Spark.prototype.$type,b)!==null){this.f.sendMessage(a)}},au:function(a){var $self=this;switch(a.propertyName()){case $.ig.XamSparkline.prototype.b9:this.ao();break;case $.ig.XamSparkline.prototype.ca:this.ao();break;case $.ig.XamSparkline.prototype.cb:this.ao();break;case $.ig.XamSparkline.prototype.cc:this.aq();break;case $.ig.XamSparkline.prototype.b7:case $.ig.XamSparkline.prototype.b8:this.ak();this.an();break;case $.ig.XamSparkline.prototype.cn:case $.ig.XamSparkline.prototype.cm:this.an();break;case $.ig.XamSparkline.prototype.bd:case $.ig.XamSparkline.prototype.be:case $.ig.XamSparkline.prototype.bf:case $.ig.XamSparkline.prototype.bh:case $.ig.XamSparkline.prototype.bi:case $.ig.XamSparkline.prototype.bj:case $.ig.XamSparkline.prototype.bk:case $.ig.XamSparkline.prototype.bg:case $.ig.XamSparkline.prototype.bl:case $.ig.XamSparkline.prototype.bo:var b=new $.ig.BrushChangedMessage_Spark;b.c($.ig.util.cast($.ig.Brush.prototype.$type,a.newValue()));b.d(a.propertyName());this.f.sendMessage(b);break;case $.ig.XamSparkline.prototype.br:case $.ig.XamSparkline.prototype.bt:case $.ig.XamSparkline.prototype.bu:case $.ig.XamSparkline.prototype.bw:case $.ig.XamSparkline.prototype.bv:case $.ig.XamSparkline.prototype.bs:case $.ig.XamSparkline.prototype.bx:case $.ig.XamSparkline.prototype.cd:var c=new $.ig.VisibilityMessage_Spark;c.c(a.newValue());c.d(a.propertyName());this.f.sendMessage(c);this.i.bc(true);break;case $.ig.XamSparkline.prototype.by:case $.ig.XamSparkline.prototype.b0:case $.ig.XamSparkline.prototype.b1:case $.ig.XamSparkline.prototype.b2:case $.ig.XamSparkline.prototype.b3:case $.ig.XamSparkline.prototype.b4:this.i.bc(true);break;case $.ig.XamSparkline.prototype.b5:case $.ig.XamSparkline.prototype.cg:var d=new $.ig.NumberChangedMessage_Spark;d.c(a.newValue());d.d(a.propertyName());this.f.sendMessage(d);break;case $.ig.XamSparkline.prototype.bm:case $.ig.XamSparkline.prototype.bn:case $.ig.XamSparkline.prototype.bp:case $.ig.XamSparkline.prototype.bq:var e=new $.ig.ClearMessage_Spark;e.f(true);this.f.sendMessage(e);break;case"Container":var f=new $.ig.ContainerMessage_Spark;f.b(a.newValue());this.f.sendMessage(f);break}if(this.ai(a)){this.a0()}},av:function(a){this.o=new $.ig.Rect(0,a.newLeft(),a.newTop(),a.newWidth(),a.newHeight());this.a0()},aw:function(a){var b=new $.ig.ClearMessage_Spark;b.b($.ig.SparkLayerType.prototype.toolTipLayer);this.f.sendMessage(b);var c=new $.ig.TooltipMessage_Spark;c.b($.ig.SparkLayerType.prototype.toolTipLayer);c.xOffset(a.position().__x+10);c.yOffset(a.position().__y+10);if(this.k!=null&&this.k.count()>0){var d=new $.ig.SparklineToolTipContext;d.e(this.k.maximum());d.f(this.k.minimum());d.g(this.k.item(0));d.h(this.k.item(this.k.count()-1));c.context(d)}this.f.sendMessage(c)},ax:function(a){var b=new $.ig.ClearMessage_Spark;b.b($.ig.SparkLayerType.prototype.toolTipLayer);this.f.sendMessage(b)},ay:function(a){var b=new $.ig.ClearMessage_Spark;b.b(a);this.f.sendMessage(b)},az:function(){this.ay($.ig.SparkLayerType.prototype.sparkLayer);this.ay($.ig.SparkLayerType.prototype.markerLayer);this.ay($.ig.SparkLayerType.prototype.trendLayer);this.ay($.ig.SparkLayerType.prototype.rangeLayer)},a0:function(){this.az();if(!this.ah()){return}this.m.a=this;this.m.e(this.n);switch(this.r().displayType()){case $.ig.SparklineDisplayType.prototype.column:this.a1();break;case $.ig.SparklineDisplayType.prototype.winLoss:this.a2();break;case $.ig.SparklineDisplayType.prototype.line:case $.ig.SparklineDisplayType.prototype.area:this.a3();break}var a=new $.ig.NormalRangeMessage_Spark;a.i(0);a.j(this.ag(this.r().normalRangeMaximum()));a.k(this.o.width());a.l(Math.abs(this.ag(this.r().normalRangeMaximum())-this.ag(this.r().normalRangeMinimum())));this.f.sendMessage(a);var b=new $.ig.TrendLineMessage_Spark;b.points(this.n.j().x());this.f.sendMessage(b)},a1:function(){var a=new $.ig.ColumnMessage_Spark;a.o(this.n.k());a.p(this.n.l());a.s(this.n.m());a.t(this.n.n());a.q(this.n.o());a.r(this.n.p());a.w(this.n.i().count());a.v(this.m.c);a.u(this.m.b);a.x(this.r().displayType());this.f.sendMessage(a);this.a5()},a2:function(){var a=new $.ig.WinLossColumnMessage_Spark;a.o(this.n.k());a.p(this.n.l());a.s(this.n.m());a.t(this.n.n());a.q(this.n.o());a.r(this.n.p());a.w(this.n.i().count());a.v(this.m.c);a.u(this.m.b);a.x(this.r().displayType());this.f.sendMessage(a)},a3:function(){if(this.n.i().count()==0){return}var a=new $.ig.List$1($.ig.List$1.prototype.$type.specialize($.ig.Array.prototype.$type),0);var b=new $.ig.List$1($.ig.Array.prototype.$type,0);var c=true;var e=this.n.i().getEnumerator();while(e.moveNext()){var d=e.current();if(isNaN(d[1])||Number.isInfinity(d[1])){if(!c){a.add(b)}c=true;continue}if(c){b=new $.ig.List$1($.ig.Array.prototype.$type,0);c=false}b.add(d)}if(!c){a.add(b)}var f=new $.ig.PolygonMessage_Spark;f.points(new $.ig.List$1($.ig.Array.prototype.$type,0));if(this.r().unknownValuePlotting()==$.ig.UnknownValuePlotting.prototype.linearInterpolate){var g=new $.ig.List$1($.ig.Array.prototype.$type,0);var i=a.getEnumerator();while(i.moveNext()){var h=i.current();g.w(h)}var j=this.a4(g);f.points().add(j)}else{var l=a.getEnumerator();while(l.moveNext()){var k=l.current();var m=this.a4(k);f.points().add(m)}}this.f.sendMessage(f);this.a5()},a4:function(a){var b=this.m.c;var c=new $.ig.List$1($.ig.Point.prototype.$type,0);var d;var e=this.r().displayType()==$.ig.SparklineDisplayType.prototype.area;var g=a.getEnumerator();while(g.moveNext()){var f=g.current();d=f[1];if(e){if(f[2]<=b){d=f[2]}}c.add({__x:f[0],__y:d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}if(this.r().displayType()==$.ig.SparklineDisplayType.prototype.line){var h=new $.ig.List$1($.ig.Point.prototype.$type,0);var j=a.getEnumerator();while(j.moveNext()){var i=j.current();h.add({__x:i[0],__y:i[2],$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}c.w(h.reverse$1($.ig.Point.prototype.$type))}if(this.r().displayType()==$.ig.SparklineDisplayType.prototype.area){var k=c.__inner[0];var l=c.__inner[c.count()-1];c.add({__x:l.__x,__y:this.m.c,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});c.add({__x:k.__x,__y:this.m.c,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}return c.x()},a5:function(){var a=new $.ig.MarkerMessage_Spark;a.q(this.n.k());a.r(this.n.l());a.u(this.n.m());a.v(this.n.n());a.s(this.n.o());a.t(this.n.p());a.w(this.r().markerSize());a.x(this.r().firstMarkerSize());a.y(this.r().lastMarkerSize());a.z(this.r().highMarkerSize());a.aa(this.r().lowMarkerSize());a.ab(this.r().negativeMarkerSize());this.f.sendMessage(a)},getFastItemsSource:function(a){var b=null;if(this.s()!=null){var c=null;b=new $.ig.FastItemsSource;b.f(this.s());c=new $.ig.FastItemsSourceReference(b);c.b++;b=c.a}return b},releaseFastItemsSource:function(a){if(a!=null){var b=null;--b.b}return null},$type:new $.ig.Type("SparklineController",$.ig.DependencyObject.prototype.$type,[$.ig.IFastItemsSourceProvider.prototype.$type])},true);$.ig.util.defType("SparklineToolTipContext","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},$type:new $.ig.Type("SparklineToolTipContext",$.ig.Object.prototype.$type)},true);$.ig.util.defType("FastItemsSourceReference","Object",{init:function(a){$.ig.Object.prototype.init.call(this);this.a=a;this.b=0},a:null,b:null,$type:new $.ig.Type("FastItemsSourceReference",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Message_Spark","Object",{init:function(){$.ig.Object.prototype.init.call(this)},toString:function(){return this.getType().toString()},$type:new $.ig.Type("Message_Spark",$.ig.Object.prototype.$type)},true);$.ig.util.defType("RenderingMessage_Spark","Message_Spark",{init:function(){$.ig.Message_Spark.prototype.init.call(this)},_b:null,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},$type:new $.ig.Type("RenderingMessage_Spark",$.ig.Message_Spark.prototype.$type)},true);$.ig.util.defType("AxisRenderMessage_Spark","RenderingMessage_Spark",{init:function(){$.ig.RenderingMessage_Spark.prototype.init.call(this)},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},$type:new $.ig.Type("AxisRenderMessage_Spark",$.ig.RenderingMessage_Spark.prototype.$type)},true);$.ig.util.defType("ClearMessage_Spark","RenderingMessage_Spark",{init:function(){$.ig.RenderingMessage_Spark.prototype.init.call(this)},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},$type:new $.ig.Type("ClearMessage_Spark",$.ig.RenderingMessage_Spark.prototype.$type)},true);$.ig.util.defType("ColumnMessage_Spark","RenderingMessage_Spark",{init:function(){$.ig.RenderingMessage_Spark.prototype.init.call(this)},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},_u:null,u:function(a){if(arguments.length===1){this._u=a;return a}else{return this._u}},_v:null,v:function(a){if(arguments.length===1){this._v=a;return a}else{return this._v}},_w:null,w:function(a){if(arguments.length===1){this._w=a;return a}else{return this._w}},_x:null,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},$type:new $.ig.Type("ColumnMessage_Spark",$.ig.RenderingMessage_Spark.prototype.$type)},true);$.ig.util.defType("ConfigurationMessage_Spark","Message_Spark",{init:function(){$.ig.Message_Spark.prototype.init.call(this)},$type:new $.ig.Type("ConfigurationMessage_Spark",$.ig.Message_Spark.prototype.$type)},true);$.ig.util.defType("ContainerMessage_Spark","Message_Spark",{init:function(){$.ig.Message_Spark.prototype.init.call(this)},_b:null,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},$type:new $.ig.Type("ContainerMessage_Spark",$.ig.Message_Spark.prototype.$type)},true);$.ig.util.defType("VisibilityMessage_Spark","Message_Spark",{init:function(){$.ig.Message_Spark.prototype.init.call(this)},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},$type:new $.ig.Type("VisibilityMessage_Spark",$.ig.Message_Spark.prototype.$type)},true);$.ig.util.defType("BrushChangedMessage_Spark","Message_Spark",{init:function(){$.ig.Message_Spark.prototype.init.call(this)},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},$type:new $.ig.Type("BrushChangedMessage_Spark",$.ig.Message_Spark.prototype.$type)},true);$.ig.util.defType("NumberChangedMessage_Spark","Message_Spark",{init:function(){$.ig.Message_Spark.prototype.init.call(this)},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},$type:new $.ig.Type("NumberChangedMessage_Spark",$.ig.Message_Spark.prototype.$type)},true);$.ig.util.defType("ContainerResizedMessage_Spark","Message_Spark",{init:function(){$.ig.Message_Spark.prototype.init.call(this)},_k:null,k:function(a){if(arguments.length===1){this._k=a;return a}else{return this._k}},_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},_n:null,n:function(a){if(arguments.length===1){this._n=a;return a}else{return this._n}},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},$type:new $.ig.Type("ContainerResizedMessage_Spark",$.ig.Message_Spark.prototype.$type)},true);$.ig.util.defType("DataChangedMessage_Spark","Message_Spark",{init:function(){$.ig.Message_Spark.prototype.init.call(this)},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},$type:new $.ig.Type("DataChangedMessage_Spark",$.ig.Message_Spark.prototype.$type)},true);$.ig.util.defType("InteractionMessage_Spark","Message_Spark",{init:function(){$.ig.Message_Spark.prototype.init.call(this)},$type:new $.ig.Type("InteractionMessage_Spark",$.ig.Message_Spark.prototype.$type)},true);$.ig.util.defType("MarkerMessage_Spark","RenderingMessage_Spark",{init:function(){$.ig.RenderingMessage_Spark.prototype.init.call(this)},_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},_u:null,u:function(a){if(arguments.length===1){this._u=a;return a}else{return this._u}},_v:null,v:function(a){if(arguments.length===1){this._v=a;return a}else{return this._v}},_w:null,w:function(a){if(arguments.length===1){this._w=a;return a}else{return this._w}},_x:null,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},_y:null,y:function(a){if(arguments.length===1){this._y=a;return a}else{return this._y}},_z:null,z:function(a){if(arguments.length===1){this._z=a;return a}else{return this._z}},_aa:null,aa:function(a){if(arguments.length===1){this._aa=a;return a}else{return this._aa}},_ab:null,ab:function(a){if(arguments.length===1){this._ab=a;return a}else{return this._ab}},$type:new $.ig.Type("MarkerMessage_Spark",$.ig.RenderingMessage_Spark.prototype.$type)},true);$.ig.util.defType("MessageChannel_Spark","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.a=new $.ig.Array},a:null,sendMessage:function(a){if(this.messageSent!=null){this.messageSent(a)}else{this.a.push(a)}},attachTarget:function(a){this.messageSent=$.ig.Delegate.prototype.combine(this.messageSent,a);while(this.a.length>0){var b=this.a.shift();this.messageSent(b)}},messageSent:null,detachTarget:function(a){this.messageSent=$.ig.Delegate.prototype.remove(this.messageSent,a)},c:null,connectTo:function(a){this.c=a;this.attachTarget(this.sendToNext.runOn(this))},detachFromNext:function(){if(this.c==null){return}this.detachTarget(this.sendToNext.runOn(this));this.c=null},sendToNext:function(a){if(this.c!=null){this.c.sendMessage(a)}},toString:function(){return"MessageQueue"},$type:new $.ig.Type("MessageChannel_Spark",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MouseLeaveMessage_Spark","InteractionMessage_Spark",{init:function(){$.ig.InteractionMessage_Spark.prototype.init.call(this)},$type:new $.ig.Type("MouseLeaveMessage_Spark",$.ig.InteractionMessage_Spark.prototype.$type)},true);$.ig.util.defType("MouseMoveMessage_Spark","InteractionMessage_Spark",{init:function(){$.ig.InteractionMessage_Spark.prototype.init.call(this)},a:null,position:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},$type:new $.ig.Type("MouseMoveMessage_Spark",$.ig.InteractionMessage_Spark.prototype.$type)},true);$.ig.util.defType("NormalRangeMessage_Spark","RenderingMessage_Spark",{init:function(){$.ig.RenderingMessage_Spark.prototype.init.call(this)},e:null,i:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},f:null,j:function(a){if(arguments.length===1){this.f=a;return a}else{return this.f}},g:null,k:function(a){if(arguments.length===1){this.g=a;return a}else{return this.g}},h:null,l:function(a){if(arguments.length===1){this.h=a;return a}else{return this.h}},$type:new $.ig.Type("NormalRangeMessage_Spark",$.ig.RenderingMessage_Spark.prototype.$type)},true);$.ig.util.defType("PolygonMessage_Spark","RenderingMessage_Spark",{init:function(){$.ig.RenderingMessage_Spark.prototype.init.call(this)},e:null,points:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},$type:new $.ig.Type("PolygonMessage_Spark",$.ig.RenderingMessage_Spark.prototype.$type)},true);$.ig.util.defType("PropertyChangedMessage_Spark","ConfigurationMessage_Spark",{init:function(){$.ig.ConfigurationMessage_Spark.prototype.init.call(this)},a:null,propertyName:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},b:null,oldValue:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},c:null,newValue:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},toString:function(){var a="null";var b="null";if(this.oldValue()!=null){a=this.oldValue().toString()}if(this.newValue()!=null){b=this.newValue().toString()}return"PropertyChangedMessage["+this.propertyName().toString()+", "+a+", "+b+"]"},$type:new $.ig.Type("PropertyChangedMessage_Spark",$.ig.ConfigurationMessage_Spark.prototype.$type)},true);$.ig.util.defType("ServiceProvider_Spark","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.a=new $.ig.Dictionary(0)},a:null,addService:function(a,b){this.a.item(a,b)
},getService:function(a){return this.a.item(a)},$type:new $.ig.Type("ServiceProvider_Spark",$.ig.Object.prototype.$type)},true);$.ig.util.defType("TooltipMessage_Spark","RenderingMessage_Spark",{init:function(){$.ig.RenderingMessage_Spark.prototype.init.call(this)},e:null,xOffset:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},f:null,yOffset:function(a){if(arguments.length===1){this.f=a;return a}else{return this.f}},g:null,context:function(a){if(arguments.length===1){this.g=a;return a}else{return this.g}},$type:new $.ig.Type("TooltipMessage_Spark",$.ig.RenderingMessage_Spark.prototype.$type)},true);$.ig.util.defType("ToooltipTemplateMessage_Spark","RenderingMessage_Spark",{init:function(){$.ig.RenderingMessage_Spark.prototype.init.call(this)},e:null,template:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},$type:new $.ig.Type("ToooltipTemplateMessage_Spark",$.ig.RenderingMessage_Spark.prototype.$type)},true);$.ig.util.defType("TrendLineMessage_Spark","RenderingMessage_Spark",{init:function(){$.ig.RenderingMessage_Spark.prototype.init.call(this)},e:null,points:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},$type:new $.ig.Type("TrendLineMessage_Spark",$.ig.RenderingMessage_Spark.prototype.$type)},true);$.ig.util.defType("ViewportChangedMessage_Spark","InteractionMessage_Spark",{init:function(){$.ig.InteractionMessage_Spark.prototype.init.call(this)},a:null,newTop:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},b:null,newLeft:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},c:null,newWidth:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},d:null,newHeight:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},toString:function(){return"ViewportChangedMessage["+this.newTop().toString()+", "+this.newLeft().toString()+", "+this.newWidth().toString()+", "+this.newHeight().toString()+"]"},$type:new $.ig.Type("ViewportChangedMessage_Spark",$.ig.InteractionMessage_Spark.prototype.$type)},true);$.ig.util.defType("ContainerSizeChangedMessage_Spark","InteractionMessage_Spark",{init:function(){$.ig.InteractionMessage_Spark.prototype.init.call(this)},$type:new $.ig.Type("ContainerSizeChangedMessage_Spark",$.ig.InteractionMessage_Spark.prototype.$type)},true);$.ig.util.defType("WinLossColumnMessage_Spark","RenderingMessage_Spark",{init:function(){$.ig.RenderingMessage_Spark.prototype.init.call(this)},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},_u:null,u:function(a){if(arguments.length===1){this._u=a;return a}else{return this._u}},_v:null,v:function(a){if(arguments.length===1){this._v=a;return a}else{return this._v}},_w:null,w:function(a){if(arguments.length===1){this._w=a;return a}else{return this._w}},_x:null,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},$type:new $.ig.Type("WinLossColumnMessage_Spark",$.ig.RenderingMessage_Spark.prototype.$type)},true);$.ig.util.defType("XamSparkline","Control",{init:function(){this.cr=new $.ig.MessageChannel_Spark;this.cs=NaN;this.ct=NaN;$.ig.Control.prototype.init.call(this);this.a3($.ig.XamSparkline.prototype.$type);this.ed(new $.ig.VerticalAxisView(this));this.ec(new $.ig.HorizontalAxisView(this));this.cp=new $.ig.SparklineConnector(this,new $.ig.XamSparklineView)},cp:null,brush:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.brushProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.brushProperty)}},negativeBrush:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.negativeBrushProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.negativeBrushProperty)}},markerBrush:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.markerBrushProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.markerBrushProperty)}},negativeMarkerBrush:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.negativeMarkerBrushProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.negativeMarkerBrushProperty)}},firstMarkerBrush:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.firstMarkerBrushProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.firstMarkerBrushProperty)}},lastMarkerBrush:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.lastMarkerBrushProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.lastMarkerBrushProperty)}},highMarkerBrush:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.highMarkerBrushProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.highMarkerBrushProperty)}},lowMarkerBrush:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.lowMarkerBrushProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.lowMarkerBrushProperty)}},trendLineBrush:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.trendLineBrushProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.trendLineBrushProperty)}},horizontalAxisBrush:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.horizontalAxisBrushProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.horizontalAxisBrushProperty)}},verticalAxisBrush:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.verticalAxisBrushProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.verticalAxisBrushProperty)}},normalRangeFill:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.normalRangeFillProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.normalRangeFillProperty)}},horizontalAxisVisibility:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.horizontalAxisVisibilityProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.horizontalAxisVisibilityProperty)}},verticalAxisVisibility:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.verticalAxisVisibilityProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.verticalAxisVisibilityProperty)}},markerVisibility:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.markerVisibilityProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.markerVisibilityProperty)}},negativeMarkerVisibility:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.negativeMarkerVisibilityProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.negativeMarkerVisibilityProperty)}},firstMarkerVisibility:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.firstMarkerVisibilityProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.firstMarkerVisibilityProperty)}},lastMarkerVisibility:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.lastMarkerVisibilityProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.lastMarkerVisibilityProperty)}},lowMarkerVisibility:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.lowMarkerVisibilityProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.lowMarkerVisibilityProperty)}},highMarkerVisibility:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.highMarkerVisibilityProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.highMarkerVisibilityProperty)}},normalRangeVisibility:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.normalRangeVisibilityProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.normalRangeVisibilityProperty)}},markerSize:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.markerSizeProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.markerSizeProperty)}},firstMarkerSize:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.firstMarkerSizeProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.firstMarkerSizeProperty)}},lastMarkerSize:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.lastMarkerSizeProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.lastMarkerSizeProperty)}},highMarkerSize:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.highMarkerSizeProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.highMarkerSizeProperty)}},lowMarkerSize:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.lowMarkerSizeProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.lowMarkerSizeProperty)}},negativeMarkerSize:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.negativeMarkerSizeProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.negativeMarkerSizeProperty)}},lineThickness:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.lineThicknessProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.lineThicknessProperty)}},minimum:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.minimumProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.minimumProperty)}},maximum:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.maximumProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.maximumProperty)}},itemsSource:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.itemsSourceProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.itemsSourceProperty)}},valueMemberPath:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.valueMemberPathProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.valueMemberPathProperty)}},labelMemberPath:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.labelMemberPathProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.labelMemberPathProperty)}},toolTip:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.toolTipProperty,a);this.toolTipVisibility(a==null||a.toString().length==0?$.ig.Visibility.prototype.collapsed:$.ig.Visibility.prototype.visible);return a}else{return this.b($.ig.XamSparkline.prototype.toolTipProperty)}},toolTipVisibility:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.toolTipVisibilityProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.toolTipVisibilityProperty)}},trendLineType:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.trendLineTypeProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.trendLineTypeProperty)}},trendLinePeriod:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.trendLinePeriodProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.trendLinePeriodProperty)}},trendLineThickness:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.trendLineThicknessProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.trendLineThicknessProperty)}},normalRangeMinimum:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.normalRangeMinimumProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.normalRangeMinimumProperty)}},normalRangeMaximum:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.normalRangeMaximumProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.normalRangeMaximumProperty)}},displayType:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.displayTypeProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.displayTypeProperty)}},unknownValuePlotting:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.unknownValuePlottingProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.unknownValuePlottingProperty)}},verticalAxisLabel:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.verticalAxisLabelProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.verticalAxisLabelProperty)}},horizontalAxisLabel:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.horizontalAxisLabelProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.horizontalAxisLabelProperty)}},formatLabel:function(a){if(arguments.length===1){this.c($.ig.XamSparkline.prototype.formatLabelProperty,a);return a}else{return this.b($.ig.XamSparkline.prototype.formatLabelProperty)}},cq:null,d7:function(a){if(arguments.length===1){var b=this.cq;this.cq=a;this.es(b,this.cq);return a}else{return this.cq}},cr:null,d8:function(a){if(arguments.length===1){this.cr=a;return a}else{return this.cr}},cs:null,d9:function(a){if(arguments.length===1){this.cs=a;return a}else{return this.cs}},ct:null,ea:function(a){if(arguments.length===1){this.ct=a;return a}else{return this.ct}},_eb:null,eb:function(a){if(arguments.length===1){this._eb=a;return a}else{return this._eb}},_ec:null,ec:function(a){if(arguments.length===1){this._ec=a;return a}else{return this._ec}},_ed:null,ed:function(a){if(arguments.length===1){this._ed=a;return a}else{return this._ed}},es:function(a,b){if(a!=null){this.d8().detachFromNext()}if(b!=null){this.d8().connectTo(b.getService("ConfigurationMessages"))}},et:function(a,b,c){var $self=this;this.d8().sendMessage(function(){var $ret=new $.ig.PropertyChangedMessage_Spark;$ret.propertyName(a);$ret.oldValue(b);$ret.newValue(c);return $ret}())},provideContainer:function(a){var $self=this;this.d8().sendMessage(function(){var $ret=new $.ig.PropertyChangedMessage_Spark;$ret.propertyName("Container");$ret.newValue(a);return $ret}())},notifyResized:function(){this.d8().sendMessage(new $.ig.ContainerSizeChangedMessage_Spark)},notifySetItem:function(source_,a,b,c){var $self=this;if(source_.dataView&&source_.dataSource){source_=source_.dataView()}if(source_!=this.itemsSource()){return}this.d8().sendMessage(function(){var $ret=new $.ig.DataChangedMessage_Spark;$ret.h($.ig.NotifyCollectionChangedAction.prototype.replace);$ret.f(b);$ret.g(c);$ret.e(a);return $ret}())},notifyClearItems:function(source_){var $self=this;if(source_.dataView&&source_.dataSource){source_=source_.dataView()}if(source_!=this.itemsSource()){return}this.d8().sendMessage(function(){var $ret=new $.ig.DataChangedMessage_Spark;$ret.h($.ig.NotifyCollectionChangedAction.prototype.reset);return $ret}())},notifyInsertItem:function(source_,a,b){var $self=this;if(source_.dataView&&source_.dataSource){source_=source_.dataView()}if(source_!=this.itemsSource()){return}this.d8().sendMessage(function(){var $ret=new $.ig.DataChangedMessage_Spark;$ret.h($.ig.NotifyCollectionChangedAction.prototype.add);$ret.g(b);$ret.e(a);return $ret}())},notifyRemoveItem:function(source_,a,b){var $self=this;if(source_.dataView&&source_.dataSource){source_=source_.dataView()}if(source_!=this.itemsSource()){return}this.d8().sendMessage(function(){var $ret=new $.ig.DataChangedMessage_Spark;$ret.h($.ig.NotifyCollectionChangedAction.prototype.remove);$ret.f(b);$ret.e(a);return $ret}())},$type:new $.ig.Type("XamSparkline",$.ig.Control.prototype.$type)},true);$.ig.util.defType("HorizontalAxisView","Object",{a:null,b:null,c:null,d:null,e:null,f:null,g:null,h:null,i:null,j:null,k:null,init:function(a){var $self=this;this.i=-1;this.j=["border-top-width","border-top-color","color","font"];this.k=false;this.m=new $.ig.Dictionary$2($.ig.Type.prototype.$type,$.ig.MessageEventHandler.prototype.$type,0);$.ig.Object.prototype.init.call(this);this.q().item($.ig.AxisRenderMessage_Spark.prototype.$type,function(b){return $self.ah($.ig.util.cast($.ig.AxisRenderMessage_Spark.prototype.$type,b))});this.q().item($.ig.ContainerResizedMessage_Spark.prototype.$type,function(c){return $self.af($.ig.util.cast($.ig.ContainerResizedMessage_Spark.prototype.$type,c))});this.q().item($.ig.ViewportChangedMessage_Spark.prototype.$type,function(d){return $self.ag($.ig.util.cast($.ig.ViewportChangedMessage_Spark.prototype.$type,d))});this.a=a},t:function(){if(!this.k){this.k=true;this.h.ba("ui-sparkline-axis-x",this.j)}return this.j},u:function(){var a=this.i;if(a>=0){return a}var b=this.t()[0];if(b!=null){a=$.ig.Number.prototype.parseInt(b)}this.i=a=a<1?1:a;return a},l:null,p:function(a){if(arguments.length===1){var b=this.l;this.l=a;this.h=a.getService("View");this.ae(b,this.l);return a}else{return this.l}},m:null,q:function(a){if(arguments.length===1){this.m=a;return a}else{return this.m}},n:null,r:function(a){if(arguments.length===1){this.n=a;return a}else{return this.n}},o:null,s:function(a){if(arguments.length===1){this.o=a;return a}else{return this.o}},ad:function(a){var $self=this;var b;if(function(){var $ret=$self.q().tryGetValue(a.getType(),b);b=$ret.value;return $ret.ret}()){b(a)}},ae:function(a,b){if(a!=null){this.r().detachTarget(this.ad.runOn(this))}if(b!=null){this.r(b.getService("RenderingMessages"));this.s(b.getService("InteractionMessages"));this.r().attachTarget(this.ad.runOn(this))}},af:function(a){this.b=a.q();this.c=a.s();this.d=this.t()[3];if(this.d==null){this.d=$.ig.FontUtil.prototype.b(a.q())}this.c.y(this.d);this.e=$.ig.FontUtil.prototype.a(this.d);if(this.a!=null&&this.a.horizontalAxisVisibility()!=$.ig.Visibility.prototype.collapsed){a.l(a.l()-this.e);a.n(this.u())}},ag:function(a){this.f=this.b.width();this.g=this.e+this.u()},ah:function(a){this.ai(a.f())},ai:function(a){var b=!a||this.a==null||this.a.eb()==null||this.a.eb().count()==0?null:this.c;if(b==null){return}var c=this.u(),d=c/2;var e=this.aj(this.a.eb().item(0)).toString();var f=new $.ig.TextBlock;f.a3(e);f.w(2);var g=new $.ig.TextBlock;g.a3(e=this.aj(this.a.eb().item(this.a.eb().count()-1)).toString());g.v(f.v(c));b.u(0,0,this.f,this.g);if(this.d!=null){b.y(this.d)}g.w(this.f-b.z(e)-4);var h=this.a.horizontalAxisBrush();var i=h==null?null:h.__fill;var j=h==null?null:h.color();h=new $.ig.Brush;if(j==null){h.__fill=this.j[2]==null?"#000000":this.j[2]}else{h.color(j)}f.a4(g.a4(h));b.i(f);b.i(g);if(c<.5){return}h=new $.ig.Brush;if(i==null){i=this.j[1]}h.__fill=i==null?"#000000":i;var k=new $.ig.Line;k.bo(0);k.bp(this.b.width());k.bq(d);k.br(d);k.__stroke=h;k.a5(c);b.o(k)},aj:function(dataItem_){if(this.a.formatLabel()!=null){return this.a.formatLabel()(dataItem_)}var label_=this.a.horizontalAxisLabel();if(dataItem_==null){dataItem_=""}if(label_!=null&&label_!=""){dataItem_=label_.replace("{0}",dataItem_.toString())}return dataItem_},$type:new $.ig.Type("HorizontalAxisView",$.ig.Object.prototype.$type)},true);$.ig.util.defType("VerticalAxisView","Object",{a:null,b:null,c:null,d:null,e:null,f:null,g:null,h:null,i:null,j:null,k:null,l:null,m:null,n:null,o:null,p:null,q:null,r:null,init:function(a){var $self=this;this.e=-1;this.f=-1;this.p=-1;this.q=["border-top-width","border-top-color","color","font","text-align"];this.r=false;this.t=new $.ig.Dictionary$2($.ig.Type.prototype.$type,$.ig.MessageEventHandler.prototype.$type,0);$.ig.Object.prototype.init.call(this);this.x().item($.ig.AxisRenderMessage_Spark.prototype.$type,function(b){return $self.ao($.ig.util.cast($.ig.AxisRenderMessage_Spark.prototype.$type,b))});this.x().item($.ig.ContainerResizedMessage_Spark.prototype.$type,function(c){return $self.am($.ig.util.cast($.ig.ContainerResizedMessage_Spark.prototype.$type,c))});this.x().item($.ig.ViewportChangedMessage_Spark.prototype.$type,function(d){return $self.an($.ig.util.cast($.ig.ViewportChangedMessage_Spark.prototype.$type,d))});this.g=a},aa:function(){if(!this.r){this.r=true;this.o.ba("ui-sparkline-axis-y",this.q)}return this.q},ab:function(){var a=this.p;if(a>=0){return a}var b=this.aa()[0];if(b!=null){a=$.ig.Number.prototype.parseInt(b)}this.p=a=a<1?1:a;return a},s:null,w:function(a){if(arguments.length===1){var b=this.s;this.s=a;this.o=a.getService("View");this.al(b,this.s);return a}else{return this.s}},t:null,x:function(a){if(arguments.length===1){this.t=a;return a}else{return this.t}},u:null,y:function(a){if(arguments.length===1){this.u=a;return a}else{return this.u}},v:null,z:function(a){if(arguments.length===1){this.v=a;return a}else{return this.v}},ak:function(a){var $self=this;var b;if(function(){var $ret=$self.x().tryGetValue(a.getType(),b);b=$ret.value;return $ret.ret}()){b(a)}},al:function(a,b){if(a!=null){this.y().detachTarget(this.ak.runOn(this))}if(b!=null){this.y(b.getService("RenderingMessages"));this.z(b.getService("InteractionMessages"));this.y().attachTarget(this.ak.runOn(this))}},am:function(a){this.h=a.r();this.i=a.t();this.j=this.aa()[3];if(this.j==null){this.j=$.ig.FontUtil.prototype.b(a.r())}this.i.y(this.j);this.k=$.ig.FontUtil.prototype.a(this.j);if(this.g!=null&&this.g.verticalAxisVisibility()!=$.ig.Visibility.prototype.collapsed){this.ap(false);a.k(a.k()-this.l);a.m(this.ab())}},an:function(a){this.m=this.l+this.ab();this.n=this.h.height()},ao:function(a){if(this.ap(a.f())){var b=new $.ig.ClearMessage_Spark;b.f(true);this.y().sendMessage(b)}},ap:function(a){if(this.g==null||this.g.itemsSource()==null){return false}var b=false;var c=this.i;if(c!=null&&this.j!=null){c.y(this.j)}if(!a){this.c=new $.ig.TextBlock;this.d=new $.ig.TextBlock;this.c.a3(this.a=this.aq(this.g.d9()).toString());this.d.a3(this.b=this.aq(this.g.ea()).toString());if(c!=null){this.e=c.z(this.a)+3;if(this.e>this.l){b=true;this.l=this.e}this.f=c.z(this.b)+3;if(this.f>this.l){b=true;this.l=this.f}}if(!b){var d=Math.max(this.e,this.f);if(d<this.l){this.l=d;b=true}}if(b){this.m=this.l}}else if(c!=null){var e=this.g.verticalAxisBrush();var f=e==null?null:e.__fill;var g=this.aa()[4];var h=1;if(g=="left"){h=0}else if(g=="center"){h=.5}this.d.v(2);this.d.w((this.l-this.f)*h+1);this.c.w((this.l-this.e)*h+1);this.c.v(this.n-this.k-2);c.u(0,0,this.m,this.n);var i=e==null?null:e.color();e=new $.ig.Brush;if(i==null){e.__fill=this.q[2]==null?"#000000":this.q[2]}else{e.color(i)}this.c.a4(this.d.a4(e));c.i(this.c);c.i(this.d);var j=this.ab(),k=j/2;if(j<.5){return b}e=new $.ig.Brush;if(f==null){f=this.q[1]}e.__fill=f==null?"#000000":f;var l=new $.ig.Line;l.bo(this.m-k);l.bp(this.m-k);l.bq(0);l.br(this.n);l.__stroke=e;l.a5(j);c.o(l)}return b},aq:function(dataItem_){if(this.g.formatLabel()!=null){return this.g.formatLabel()(dataItem_)}var label_=this.g.verticalAxisLabel();if(dataItem_==null){dataItem_=""}if(label_!=null&&label_!=""){dataItem_=label_.replace("{0}",dataItem_.toString())}return dataItem_},$type:new $.ig.Type("VerticalAxisView",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XamSparklineView","Object",{c:null,d:null,e:null,f:null,g:null,h:null,i:null,j:null,k:null,l:null,m:null,n:null,o:null,p:null,init:function(){var $self=this;this.o=new Array(6);this.p=-1;this.q=new $.ig.Path;this.r=new $.ig.Path;this.s=new $.ig.Path;this.t=new $.ig.Path;this.u=new $.ig.Path;this.v=new $.ig.Path;this.w=new $.ig.Path;this.x=new $.ig.Path;this.y=new $.ig.Path;this.z=new $.ig.Path;this.ad=new $.ig.Dictionary$2($.ig.Type.prototype.$type,$.ig.MessageEventHandler.prototype.$type,0);this.af=false;this.ag=null;this.ah=false;$.ig.Object.prototype.init.call(this);var a=this.am();a.item($.ig.ClearMessage_Spark.prototype.$type,function(b){return $self.be($.ig.util.cast($.ig.ClearMessage_Spark.prototype.$type,b))});a.item($.ig.PolygonMessage_Spark.prototype.$type,function(c){return $self.bl($.ig.util.cast($.ig.PolygonMessage_Spark.prototype.$type,c))});a.item($.ig.ColumnMessage_Spark.prototype.$type,function(d){return $self.bn($.ig.util.cast($.ig.ColumnMessage_Spark.prototype.$type,d))});a.item($.ig.WinLossColumnMessage_Spark.prototype.$type,function(e){return $self.bq($.ig.util.cast($.ig.WinLossColumnMessage_Spark.prototype.$type,e))});a.item($.ig.MarkerMessage_Spark.prototype.$type,function(f){return $self.bh($.ig.util.cast($.ig.MarkerMessage_Spark.prototype.$type,f))});a.item($.ig.NormalRangeMessage_Spark.prototype.$type,function(g){return $self.br($.ig.util.cast($.ig.NormalRangeMessage_Spark.prototype.$type,g))});a.item($.ig.TrendLineMessage_Spark.prototype.$type,function(h){return $self.bs($.ig.util.cast($.ig.TrendLineMessage_Spark.prototype.$type,h))});a.item($.ig.TooltipMessage_Spark.prototype.$type,function(i){return $self.bu($.ig.util.cast($.ig.TooltipMessage_Spark.prototype.$type,i))});a.item($.ig.ToooltipTemplateMessage_Spark.prototype.$type,function(j){return $self.bt($.ig.util.cast($.ig.ToooltipTemplateMessage_Spark.prototype.$type,j))});a.item($.ig.ContainerMessage_Spark.prototype.$type,function(k){return $self.a7($.ig.util.cast($.ig.ContainerMessage_Spark.prototype.$type,k))});a.item($.ig.BrushChangedMessage_Spark.prototype.$type,function(l){return $self.a3($.ig.util.cast($.ig.BrushChangedMessage_Spark.prototype.$type,l))});a.item($.ig.ContainerResizedMessage_Spark.prototype.$type,function(m){return $self.bb()});a.item($.ig.VisibilityMessage_Spark.prototype.$type,function(n){return $self.a5($.ig.util.cast($.ig.VisibilityMessage_Spark.prototype.$type,n))});a.item($.ig.NumberChangedMessage_Spark.prototype.$type,function(o){return $self.a6($.ig.util.cast($.ig.NumberChangedMessage_Spark.prototype.$type,o))});a.item($.ig.ContainerSizeChangedMessage_Spark.prototype.$type,function(p){return $self.bb()});this.ao(new $.ig.CanvasRenderScheduler);this.ao().m(this)},q:null,r:null,s:null,t:null,u:null,v:null,w:null,x:null,y:null,z:null,aa:null,aj:function(a){if(arguments.length===1){var b=this.aa;this.aa=a;this.ax(b,this.aa);this.ae=null;return a}else{return this.aa}},ab:null,ak:function(a){if(arguments.length===1){this.ab=a;return a}else{return this.ab}},ac:null,al:function(a){if(arguments.length===1){this.ac=a;return a}else{return this.ac}},ad:null,am:function(a){if(arguments.length===1){this.ad=a;return a}else{return this.ad}},ax:function(a,b){if(a!=null){this.al().detachTarget(this.az.runOn(this));this.ak(null)}if(b!=null){this.al(b.getService("RenderingMessages"));this.ak(b.getService("InteractionMessages"));this.al().attachTarget(this.az.runOn(this));this.ay(this.ak())}},ay:function(a){this.ak(a)},az:function(a){var $self=this;var b;if(function(){var $ret=$self.am().tryGetValue(a.getType(),b);b=$ret.value;return $ret.ret}()){b(a)}},ae:null,an:function(){if(this.ae==null){this.ae=this.aj().getService("Controller")}return this.ae},a1:function(a,b,c){var d=new $.ig.MouseMoveMessage_Spark;d.position(a);this.ak().sendMessage(d)},a2:function(a){var b=new $.ig.MouseLeaveMessage_Spark;this.ak().sendMessage(b)},a3:function(a){this.a4(a.d(),a.c(),null,-1,-1)},a4:function(a,b,c,d,e){var $self=this;var f=null;var g=true,h=true;switch(a){case"sparkpath":case $.ig.XamSparkline.prototype.bd:f=this.q;break;case"negativesparkpath":case $.ig.XamSparkline.prototype.be:f=this.r;break;case"markers":case $.ig.XamSparkline.prototype.bf:f=this.u;break;case"firstmarker":case $.ig.XamSparkline.prototype.bh:f=this.y;break;case"lastmarker":case $.ig.XamSparkline.prototype.bi:f=this.z;break;case"highmarker":case $.ig.XamSparkline.prototype.bj:f=this.x;break;case"lowmarker":case $.ig.XamSparkline.prototype.bk:f=this.w;break;case"negativemarkers":case $.ig.XamSparkline.prototype.bg:f=this.v;break;case"trendline":case $.ig.XamSparkline.prototype.bl:f=this.s;h=false;break;case"range":case $.ig.XamSparkline.prototype.bo:f=this.t;g=false;break}if(f==null){return}if(b==null&&c!=null){b=new $.ig.Brush;b.__fill=c}if(b!=null){if(h&&(c==null||f.__fill==null)){f.__fill=b}if(g&&(c==null||f.__stroke==null)){f.__stroke=b}}if(d>0&&d<1){f.__opacity=d}if(e>0&&(c==null||f.a5()<=0)){f.a5(e)}this.by()},a5:function(a){var $self=this;switch(a.d()){case $.ig.XamSparkline.prototype.br:this.u.__visibility=a.c();break;case $.ig.XamSparkline.prototype.bt:this.y.__visibility=a.c();break;case $.ig.XamSparkline.prototype.bu:this.z.__visibility=a.c();break;case $.ig.XamSparkline.prototype.bw:this.x.__visibility=a.c();break;case $.ig.XamSparkline.prototype.bv:this.w.__visibility=a.c();break;case $.ig.XamSparkline.prototype.bs:this.v.__visibility=a.c();break;case $.ig.XamSparkline.prototype.bx:this.t.__visibility=a.c();break;case $.ig.XamSparkline.prototype.cd:this.n=a.c()==$.ig.Visibility.prototype.visible;break}this.by()},a6:function(a){var b=a.c();if(b<=0){return}switch(a.d()){case $.ig.XamSparkline.prototype.b5:this.q.a5(this.r.a5(b));break;case $.ig.XamSparkline.prototype.cg:this.s.a5(b);break}this.by()},a7:function(a){if(a.b()==null){if(this.m!=null){this.m.bl()}this.e=this.f=this.g=this.h=null;return}var b=a.b();this.e=$(b);this.e.css("position","relative");this.f=$("<canvas style='position:absolute' />");this.g=$("<canvas style='position:absolute' />");this.h=$("<canvas style='position:absolute' />");if(this.i==null){this.i=$("<span style='position:absolute;display:none' />")}this.e.append(this.i);this.e.append(this.f);this.e.append(this.g);this.e.append(this.h);this.j=new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,this.f[0].getContext("2d"));this.k=new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,this.g[0].getContext("2d"));this.l=new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,this.h[0].getContext("2d"));this.m=new $.ig.DOMEventProxy(this.f);this.m.onMouseLeave=$.ig.Delegate.prototype.combine(this.m.onMouseLeave,this.a2.runOn(this));this.m.onMouseOver=$.ig.Delegate.prototype.combine(this.m.onMouseOver,this.a1.runOn(this));this.a8();this.bb()},a8:function(){var a=["sparkpath","negativesparkpath","trendline","markers","firstmarker","lastmarker","highmarker","lowmarker","negativemarkers","range"];var b=["#B1BFC9","#798995","#2070a0","#4F606C","#374650","#162C3B","#162C3B","#162C3B","#862C3B","#a0a0a0"];for(var c=0;c<10;c++){var d=a[c];var e=["background-color","opacity","border-top-width"];this.ba("ui-sparkline-"+d,e);var f=$.ig.XamSparklineView.prototype.a9(e[2],c<3?c<2?2:1.5:-1);if(c>2&&c<9){this.o[c-3]=f}this.a4(d,null,e[0]==null?b[c]:e[0],$.ig.XamSparklineView.prototype.a9(e[1],-1),c<3?f:-1)}},a9:function(v_,a){var d_=v_==null||v_.length<1?null:parseFloat(v_);return d_==null||d_.toString()=="NaN"?a:d_},ba:function(a,b){var c=this.i;if(c==null){c=this.i=$("<span style='position:absolute;display:none' />");$("body").append(this.i)}var d=b.length,e=d;var f=new Array(e);while(e-->0){f[e]=b[e]=="font"?null:c.css(b[e])}c.addClass(a);while(d-->0){var g=b[d];g=g=="font"?$.ig.FontUtil.prototype.b(c):c.css(g);b[d]=g==null||g.length==0||g=="null"||g=="transparent"||g==f[d]?null:g}c.removeClass(a);return b},af:null,bb:function(){if(this.e==null||this.af){return}this.af=true;var a=this.e.width(),b=this.e.height();var c=this.f,d=this.g,e=this.h;var f=new $.ig.ContainerResizedMessage_Spark;f.k(a);f.l(b);f.s(this.k);f.q(d);f.o(this.e);f.p(c);f.t(this.l);f.r(e);f.m(0);f.n(0);this.al().sendMessage(f);var g=f.n(),h=f.m(),i=f.k()-h,j=f.l()-g;var k=i.toString(),l=(a-i).toString(),m=j.toString(),n=(b-j).toString();c.css("width",k);c.css("height",m);c.attr("width",k);c.attr("height",m);c.css("marginLeft",l+"px");k=(i+h).toString();d.css("width",k+"px");d.css("height",n+"px");d.attr("width",k);d.attr("height",n);d.css("marginTop",m+"px");d.css("marginLeft",(a-i-h).toString()+"px");e.attr("width",l);e.attr("height",m);e.css("width",l);e.css("height",m);this.c=new $.ig.Rect(0,0,0,i,j);this.m.x(this.c);this.bd();var o=new $.ig.ViewportChangedMessage_Spark;o.newLeft(this.c.left());o.newTop(this.c.top());o.newHeight(this.c.height());o.newWidth(this.c.width());this.al().sendMessage(o);this.af=false},bc:function(a){if(a){this.p=-1}else if(this.p<0){this.bd()}},bd:function(){var a=this.c.width();var b=this.c.height();var c=this.bf(true);var d=new $.ig.Rect(0,c,c,a-c*2,b-c*2);var e=new $.ig.ViewportChangedMessage_Spark;e.newLeft(d.left());e.newTop(d.top());e.newHeight(d.height());
e.newWidth(d.width());this.d=d;this.ak().sendMessage(e)},be:function(a){if(this.c==null){return}switch(a.b()){case $.ig.SparkLayerType.prototype.markerLayer:this.u.bn(null);this.y.bn(null);this.z.bn(null);this.x.bn(null);this.w.bn(null);this.v.bn(null);break;case $.ig.SparkLayerType.prototype.rangeLayer:this.t.bn(null);break;case $.ig.SparkLayerType.prototype.sparkLayer:this.q.bn(null);this.r.bn(null);break;case $.ig.SparkLayerType.prototype.toolTipLayer:this.bv(null);break;case $.ig.SparkLayerType.prototype.trendLayer:this.s.bn(null);break}if(a.f()){this.bb()}if(this.j!=null&&a.b()!=$.ig.SparkLayerType.prototype.toolTipLayer){this.j.u(this.c.left(),this.c.top(),this.c.width(),this.c.height())}},bf:function(a){if(a){this.p=-1}var b=this.p;if(b>=0){return b}b=0;var c=this.an().r();if(c.markerVisibility()==$.ig.Visibility.prototype.visible){b=this.bg(b,c.markerSize(),0)}if(c.firstMarkerVisibility()==$.ig.Visibility.prototype.visible){b=this.bg(b,c.firstMarkerSize(),1)}if(c.lastMarkerVisibility()==$.ig.Visibility.prototype.visible){b=this.bg(b,c.lastMarkerSize(),2)}if(c.highMarkerVisibility()==$.ig.Visibility.prototype.visible){b=this.bg(b,c.highMarkerSize(),3)}if(c.lowMarkerVisibility()==$.ig.Visibility.prototype.visible){b=this.bg(b,c.lowMarkerSize(),4)}if(c.negativeMarkerVisibility()==$.ig.Visibility.prototype.visible){b=this.bg(b,c.negativeMarkerSize(),5)}this.p=b;return b},bg:function(a,b,c){if(b>=0){return b>a?b:a}return this.o[c]>a?this.o[c]:a},bh:function(a){this.bj(this.u,a.q(),a.w(),0);this.bj(this.v,a.r(),a.ab(),5);this.bj(this.w,a.u(),a.aa(),4);this.bj(this.x,a.v(),a.z(),3);this.bi(this.y,a.s(),a.x(),1);this.bi(this.z,a.t(),a.y(),2);this.by()},bi:function(a,b,c,d){var $self=this;var e=function(){var $ret=new $.ig.List$1($.ig.Point.prototype.$type,0);$ret.add(b);return $ret}();this.bj(a,e,c,d)},bj:function(a,b,c,d){if(c<0){c=this.o[d]}a.bn(this.bk(b,c<.1?3:c));if(this.an().r().displayType()!=$.ig.SparklineDisplayType.prototype.winLoss){var e=new $.ig.TranslateTransform;e.g(this.an().m.b);a.f(e)}else{a.f(null)}},bk:function(a,b){var c=new $.ig.GeometryGroup;c.f($.ig.FillRule.prototype.nonzero);var d=this.c.width();var e=this.c.height();var g=a.getEnumerator();while(g.moveNext()){var f=g.current();if(f.__x<0||f.__y<0||f.__x>d||f.__y>e){continue}var h=new $.ig.EllipseGeometry;h.g(b);h.h(b);h.f(f);c.e().add(h)}return c},bl:function(a){var b=new $.ig.PathGeometry;var c=this.an().r().displayType()==$.ig.SparklineDisplayType.prototype.area;var e=a.points().getEnumerator();while(e.moveNext()){var d=e.current();var f=d.length;if(f==0){continue}var g=new $.ig.PathFigure;g.__isClosed=g.__isFilled=c;g.__startPoint=d[0];for(var h=1;h<f;h++){var i=new $.ig.LineSegment(1);i.d(d[h]);g.__segments.add(i)}b.d().add(g)}this.q.bn(b);this.by()},bm:function(a,b){var c=$.ig.util.cast($.ig.WinLossColumnMessage_Spark.prototype.$type,b);var d=$.ig.util.cast($.ig.ColumnMessage_Spark.prototype.$type,b);var e=new $.ig.GeometryGroup;var f=c!=null?c.u():d.u();var g=c!=null?c.v():d.v();var h=f*.1;var j=a.getEnumerator();while(j.moveNext()){var i=j.current();var k=f*2-h*2;var l=Math.abs(g-i.__y);var m=i.__x+h;var n=i.__y>g?g:i.__y;var o=new $.ig.RectangleGeometry;o.f(new $.ig.Rect(0,m,n,k,l));e.e().add(o)}return e},bn:function(a){this.bp(this.q,a.o(),a);this.bp(this.r,a.p(),a);this.by()},bo:function(a,b,c){var $self=this;var d=function(){var $ret=new $.ig.List$1($.ig.Point.prototype.$type,0);$ret.add(b);return $ret}();this.bp(a,d,c)},bp:function(a,b,c){a.bn(this.bm(b,c))},bq:function(a){this.bp(this.q,a.o(),a);this.bp(this.r,a.p(),a);this.by()},br:function(a){var b=new $.ig.RectangleGeometry;b.f(new $.ig.Rect(0,a.i(),a.j(),a.k(),a.l()));this.t.bn(b);this.by()},bs:function(a){if(a.points().length==0){return}var b=new $.ig.PathGeometry;var c=new $.ig.PathFigure;c.__isClosed=c.__isFilled=false;c.__startPoint=a.points()[0];var d=a.points().length;for(var e=1;e<d;e++){var f=new $.ig.LineSegment(1);f.d(a.points()[e]);c.__segments.add(f)}b.d().add(c);this.s.bn(b);this.by()},ag:null,bt:function(a){this.ag=a.template().toString()},bu:function(a){if(!this.n){this.bv(null);return}var b=Math.round(a.xOffset()-10);var c=Math.round(a.yOffset()-10);var d=this.j.x(b,c);if(d[3]>0){this.bv(a)}else{this.bv(null)}},bv:function(a){var x_=0,y_=0;var v_=null,t_=null,i_=this.e;i_=i_?i_.data("igSparkline"):null;if(i_!=null){if(a!=null){t_=this.ag;x_=a.xOffset()+6;y_=a.yOffset()+6;var b=a.context();var f_=b.g(),l_=b.h(),o_=b.f(),h_=b.e();v_={First:f_,Last:l_,Low:o_,High:h_}}i_._fireTooltip(t_,v_,x_,y_)}},_ao:null,ao:function(a){if(arguments.length===1){this._ao=a;return a}else{return this._ao}},ah:null,isDirty:function(a){if(arguments.length===1){this.ah=a;return a}else{return this.ah}},by:function(){if(!this.isDirty()){this.isDirty(true);this.ao().q(this.j,null)}},undirty:function(a){this.ah=false;this.bz()},index:function(){return 10},bz:function(){var a=this.j;a.g(this.q);a.g(this.r);a.g(this.u);a.g(this.y);a.g(this.z);a.g(this.x);a.g(this.w);a.g(this.v);a.g(this.t);a.g(this.s);var b=new $.ig.AxisRenderMessage_Spark;b.f(true);this.al().sendMessage(b);this.postRender()},postRender:function(){},$type:new $.ig.Type("XamSparklineView",$.ig.Object.prototype.$type,[$.ig.ISchedulableRender.prototype.$type])},true);$.ig.SparklineDisplayType.prototype.line=0;$.ig.SparklineDisplayType.prototype.area=1;$.ig.SparklineDisplayType.prototype.column=2;$.ig.SparklineDisplayType.prototype.winLoss=3;$.ig.SparkLayerType.prototype.sparkLayer=1;$.ig.SparkLayerType.prototype.markerLayer=2;$.ig.SparkLayerType.prototype.toolTipLayer=4;$.ig.SparkLayerType.prototype.rangeLayer=8;$.ig.SparkLayerType.prototype.trendLayer=16;$.ig.SparklineController.prototype.j=$.ig.DependencyProperty.prototype.l("FastItemsSource",$.ig.FastItemsSource.prototype.$type,$.ig.SparklineController.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.SparklineController.prototype.$type,a).aj(b.f(),b.e())}));$.ig.XamSparkline.prototype.bd="Brush";$.ig.XamSparkline.prototype.be="NegativeBrush";$.ig.XamSparkline.prototype.bf="MarkerBrush";$.ig.XamSparkline.prototype.bg="NegativeMarkerBrush";$.ig.XamSparkline.prototype.bh="FirstMarkerBrush";$.ig.XamSparkline.prototype.bi="LastMarkerBrush";$.ig.XamSparkline.prototype.bj="HighMarkerBrush";$.ig.XamSparkline.prototype.bk="LowMarkerBrush";$.ig.XamSparkline.prototype.bl="TrendLineBrush";$.ig.XamSparkline.prototype.bm="HorizontalAxisBrush";$.ig.XamSparkline.prototype.bn="VerticalAxisBrush";$.ig.XamSparkline.prototype.bo="NormalRangeFill";$.ig.XamSparkline.prototype.bp="HorizontalAxisVisibility";$.ig.XamSparkline.prototype.bq="VerticalAxisVisibility";$.ig.XamSparkline.prototype.br="MarkerVisibility";$.ig.XamSparkline.prototype.bs="NegativeMarkerVisibility";$.ig.XamSparkline.prototype.bt="FirstMarkerVisibility";$.ig.XamSparkline.prototype.bu="LastMarkerVisibility";$.ig.XamSparkline.prototype.bv="LowMarkerVisibility";$.ig.XamSparkline.prototype.bw="HighMarkerVisibility";$.ig.XamSparkline.prototype.bx="NormalRangeVisibility";$.ig.XamSparkline.prototype.by="MarkerSize";$.ig.XamSparkline.prototype.bz=-1;$.ig.XamSparkline.prototype.b0="FirstMarkerSize";$.ig.XamSparkline.prototype.b1="LastMarkerSize";$.ig.XamSparkline.prototype.b2="HighMarkerSize";$.ig.XamSparkline.prototype.b3="LowMarkerSize";$.ig.XamSparkline.prototype.b4="NegativeMarkerSize";$.ig.XamSparkline.prototype.b5="LineThickness";$.ig.XamSparkline.prototype.b6=-1;$.ig.XamSparkline.prototype.b7="Minimum";$.ig.XamSparkline.prototype.b8="Maximum";$.ig.XamSparkline.prototype.b9="ItemsSource";$.ig.XamSparkline.prototype.ca="ValueMemberPath";$.ig.XamSparkline.prototype.cb="LabelMemberPath";$.ig.XamSparkline.prototype.cc="ToolTip";$.ig.XamSparkline.prototype.cd="ToolTipVisibility";$.ig.XamSparkline.prototype.ce="TrendLineType";$.ig.XamSparkline.prototype.cf="TrendLinePeriod";$.ig.XamSparkline.prototype.cg="TrendLineThickness";$.ig.XamSparkline.prototype.ch=-1;$.ig.XamSparkline.prototype.ci="NormalRangeMinimum";$.ig.XamSparkline.prototype.cj="NormalRangeMaximum";$.ig.XamSparkline.prototype.ck="DisplayType";$.ig.XamSparkline.prototype.cl="UnknownValuePlotting";$.ig.XamSparkline.prototype.cm="VerticalAxisLabel";$.ig.XamSparkline.prototype.cn="HorizontalAxisLabel";$.ig.XamSparkline.prototype.co="FormatLabel";$.ig.XamSparkline.prototype.brushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bd,$.ig.Brush.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bd,b.f(),b.e())}));$.ig.XamSparkline.prototype.negativeBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.be,$.ig.Brush.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.be,b.f(),b.e())}));$.ig.XamSparkline.prototype.markerBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bf,$.ig.Brush.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bf,b.f(),b.e())}));$.ig.XamSparkline.prototype.negativeMarkerBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bg,$.ig.Brush.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bg,b.f(),b.e())}));$.ig.XamSparkline.prototype.firstMarkerBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bh,$.ig.Brush.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bh,b.f(),b.e())}));$.ig.XamSparkline.prototype.lastMarkerBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bi,$.ig.Brush.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bi,b.f(),b.e())}));$.ig.XamSparkline.prototype.highMarkerBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bj,$.ig.Brush.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bj,b.f(),b.e())}));$.ig.XamSparkline.prototype.lowMarkerBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bk,$.ig.Brush.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bk,b.f(),b.e())}));$.ig.XamSparkline.prototype.trendLineBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bl,$.ig.Brush.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bl,b.f(),b.e())}));$.ig.XamSparkline.prototype.horizontalAxisBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bm,$.ig.Brush.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bm,b.f(),b.e())}));$.ig.XamSparkline.prototype.verticalAxisBrushProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bn,$.ig.Brush.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bn,b.f(),b.e())}));$.ig.XamSparkline.prototype.normalRangeFillProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bo,$.ig.Brush.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bo,b.f(),b.e())}));$.ig.XamSparkline.prototype.horizontalAxisVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bp,$.ig.Visibility.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.collapsed,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bp,b.f(),b.e())}));$.ig.XamSparkline.prototype.verticalAxisVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bq,$.ig.Visibility.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.collapsed,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bq,b.f(),b.e())}));$.ig.XamSparkline.prototype.markerVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.br,$.ig.Visibility.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.collapsed,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.br,b.f(),b.e())}));$.ig.XamSparkline.prototype.negativeMarkerVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bs,$.ig.Visibility.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.collapsed,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bs,b.f(),b.e())}));$.ig.XamSparkline.prototype.firstMarkerVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bt,$.ig.Visibility.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.collapsed,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bt,b.f(),b.e())}));$.ig.XamSparkline.prototype.lastMarkerVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bu,$.ig.Visibility.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.collapsed,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bu,b.f(),b.e())}));$.ig.XamSparkline.prototype.lowMarkerVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bv,$.ig.Visibility.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.collapsed,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bv,b.f(),b.e())}));$.ig.XamSparkline.prototype.highMarkerVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bw,$.ig.Visibility.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.collapsed,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bw,b.f(),b.e())}));$.ig.XamSparkline.prototype.normalRangeVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.bx,$.ig.Visibility.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.collapsed,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.bx,b.f(),b.e())}));$.ig.XamSparkline.prototype.markerSizeProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.by,Number,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.XamSparkline.prototype.bz,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.by,b.f(),b.e())}));$.ig.XamSparkline.prototype.firstMarkerSizeProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.b0,Number,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.XamSparkline.prototype.bz,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.b0,b.f(),b.e())}));$.ig.XamSparkline.prototype.lastMarkerSizeProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.b1,Number,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.XamSparkline.prototype.bz,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.b1,b.f(),b.e())}));$.ig.XamSparkline.prototype.highMarkerSizeProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.b2,Number,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.XamSparkline.prototype.bz,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.b2,b.f(),b.e())}));$.ig.XamSparkline.prototype.lowMarkerSizeProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.b3,Number,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.XamSparkline.prototype.bz,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.b3,b.f(),b.e())}));$.ig.XamSparkline.prototype.negativeMarkerSizeProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.b4,Number,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.XamSparkline.prototype.bz,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.b4,b.f(),b.e())}));$.ig.XamSparkline.prototype.lineThicknessProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.b5,Number,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.XamSparkline.prototype.b6,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.b5,b.f(),b.e())}));$.ig.XamSparkline.prototype.minimumProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.b7,Number,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.b7,b.f(),b.e())}));$.ig.XamSparkline.prototype.maximumProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.b8,Number,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,NaN,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.b8,b.f(),b.e())}));$.ig.XamSparkline.prototype.itemsSourceProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.b9,$.ig.IEnumerable.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.b9,b.f(),b.e())}));$.ig.XamSparkline.prototype.valueMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.ca,String,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.ca,b.f(),b.e())}));$.ig.XamSparkline.prototype.labelMemberPathProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.cb,String,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.cb,b.f(),b.e())}));$.ig.XamSparkline.prototype.toolTipProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.cc,$.ig.Object.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,null,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.cc,b.f(),b.e())}));$.ig.XamSparkline.prototype.toolTipVisibilityProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.cd,$.ig.Visibility.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.Visibility.prototype.collapsed,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.cd,b.f(),b.e())}));$.ig.XamSparkline.prototype.trendLineTypeProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.ce,$.ig.TrendLineType.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.TrendLineType.prototype.none,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.ce,b.f(),b.e())}));$.ig.XamSparkline.prototype.trendLinePeriodProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.cf,$.ig.Number.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,7,function(a,b){$.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.cf,b.f(),b.e())}));$.ig.XamSparkline.prototype.trendLineThicknessProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.cg,Number,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.XamSparkline.prototype.ch,function(a,b){$.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.cg,b.f(),b.e())}));$.ig.XamSparkline.prototype.normalRangeMinimumProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.ci,Number,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.ci,b.f(),b.e())}));$.ig.XamSparkline.prototype.normalRangeMaximumProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.cj,Number,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.cj,b.f(),b.e())}));$.ig.XamSparkline.prototype.displayTypeProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.ck,$.ig.SparklineDisplayType.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.SparklineDisplayType.prototype.line,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.ck,b.f(),b.e())}));$.ig.XamSparkline.prototype.unknownValuePlottingProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.cl,$.ig.UnknownValuePlotting.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,$.ig.UnknownValuePlotting.prototype.dontPlot,function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.cl,b.f(),b.e())}));$.ig.XamSparkline.prototype.verticalAxisLabelProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.cm,$.ig.Object.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,"{0}",function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.cm,b.f(),b.e())}));$.ig.XamSparkline.prototype.horizontalAxisLabelProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.cn,$.ig.Object.prototype.$type,$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(1,"{0}",function(a,b){return $.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.cn,b.f(),b.e())}));$.ig.XamSparkline.prototype.formatLabelProperty=$.ig.DependencyProperty.prototype.l($.ig.XamSparkline.prototype.co,$.ig.Func$2.prototype.$type.specialize($.ig.Object.prototype.$type,String),$.ig.XamSparkline.prototype.$type,new $.ig.PropertyMetadata(0,function(a,b){$.ig.util.cast($.ig.XamSparkline.prototype.$type,a).et($.ig.XamSparkline.prototype.co,b.f(),b.e())}));$.ig.XamSparklineView.prototype.a=100;$.ig.XamSparklineView.prototype.b=50;