/*!@license
* Infragistics.Web.ClientUI infragistics.funnelchart.js 21.2.20212.99
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
*     jquery-1.4.4.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*     infragistics.ext_core.js
*     infragistics.ext_collections.js
*     infragistics.dv_core.js
*     infragistics.dv_interactivity.js
*     infragistics.dv_visualdata.js
*     infragistics.ext_ui.js
*/
(function(factory){if(typeof define==="function"&&define.amd){define(["./infragistics.util","./infragistics.ext_core","./infragistics.ext_collections","./infragistics.dv_core","./infragistics.dv_interactivity","./infragistics.dv_visualdata","./infragistics.ext_ui"],factory)}else{factory(igRoot)}})(function($){$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$o=$$t;var $$0=$.ig.globalDefs.$$0;var $$4=$.ig.globalDefs.$$4;var $$1=$.ig.globalDefs.$$1;var $$w=$.ig.globalDefs.$$w;var $$al=$.ig.globalDefs.$$al;var $$ap=$.ig.globalDefs.$$ap;var $$6=$.ig.globalDefs.$$6;var $$a=$.ig.globalDefs.$$a;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["XamFunnelView:b","IItemProvider:g","IFunnelLabelSizeDecider:h","IOuterLabelWidthDecider:i","SliceInfoComparison:m","SliceInfoUnaryComparison:n","XamFunnelController:q","FunnelSliceClickedEventHandler:s","FunnelSliceEventHandler:u","XamFunnelChart:v","XamFunnelConnector:w","MessageEventHandler:ap","MessageHandlerEventHandler:ar","BezierPointComparison:bc","IntColumnComparison:bj"]);var $a=$.ig.intDivide,$b=$.ig.util.cast,$c=$.ig.util.defType,$d=$.ig.util.defEnum,$e=$.ig.util.getBoxIfEnum,$f=$.ig.util.getDefaultValue,$g=$.ig.util.getEnumValue,$h=$.ig.util.getValue,$i=$.ig.util.intSToU,$j=$.ig.util.nullableEquals,$k=$.ig.util.nullableIsNull,$l=$.ig.util.nullableNotEquals,$m=$.ig.util.toNullable,$n=$.ig.util.toString$1,$o=$.ig.util.u32BitwiseAnd,$p=$.ig.util.u32BitwiseOr,$q=$.ig.util.u32BitwiseXor,$r=$.ig.util.u32LS,$s=$.ig.util.unwrapNullable,$t=$.ig.util.wrapNullable,$u=String.fromCharCode,$v=$.ig.util.castObjTo$t,$w=$.ig.util.compare,$x=$.ig.util.replace,$y=$.ig.util.stringFormat,$z=$.ig.util.stringFormat1,$0=$.ig.util.stringFormat2,$1=$.ig.util.stringCompare1,$2=$.ig.util.stringCompare2,$3=$.ig.util.stringCompare3,$4=$.ig.util.compareSimple,$5=$.ig.util.tryParseNumber,$6=$.ig.util.tryParseNumber1,$7=$.ig.util.numberToString,$8=$.ig.util.numberToString1,$9=$.ig.util.parseNumber,$aa=$.ig.util.equalsSimple,$ab=$.ig.util.tryParseInt32_1,$ac=$.ig.util.tryParseInt32_2,$ad=$.ig.util.intToString1,$ae=$.ig.util.parseInt32_1,$af=$.ig.util.parseInt32_2;$d("MouseButtonAction:av",false,false,{Up:0,Down:1});$d("MouseButtonType:au",false,false,{Left:0,Right:1});$d("SliceMouseMessageType:af",false,false,{Exited:0,Entered:1,Hovered:2});$d("ItemsSourceAction:bk",false,false,{Remove:0,Insert:1,Replace:2,Change:3,Reset:4});$d("OuterLabelAlignment:j",false,false,{Left:0,Right:1});$d("FunnelSliceDisplay:f",false,false,{Uniform:0,Weighted:1});$c("FunnelSliceDataContext:a","DataContext",{init:function(){$.ig.DataContext.prototype.init.call(this)},_itemOutline:null,itemOutline:function(a){if(arguments.length===1){this._itemOutline=a;return a}else{return this._itemOutline}},flatten:function(){var ret_=$.ig.DataContext.prototype.flatten.call(this);var itemOutline_=this.itemOutline();ret_.itemOutline=itemOutline_;return ret_},$type:new $.ig.Type("FunnelSliceDataContext",$.ig.DataContext.prototype.$type)},true);$c("IOuterLabelWidthDecider:i","Object",{$type:new $.ig.Type("IOuterLabelWidthDecider",null)},true);$c("IFunnelLabelSizeDecider:h","Object",{$type:new $.ig.Type("IFunnelLabelSizeDecider",null)},true);$c("XamFunnelView:b","Object",{g:null,h:null,i:function(a){if(arguments.length===1){var b=this.h;this.h=a;this.a1(b,this.h);return a}else{return this.h}},f:null,am:function(a){this.f.i(new $$t.aw)},an:function(a,b,c){var d=new $$t.ax;d.c(a);this.f.i(d)},al:function(a){var b=new $$t.at;b.h(a);b.c(1);b.e(this.j._ak?1:0);b._f=this.j._bh;this.f.i(b)},ao:function(a){var b=new $$t.at;b.h(a);b.c(0);b.e(this.j._ak?1:0);b._f=this.j._bh;this.f.i(b)},bg:null,ad:null,ae:null,ah:null,ai:null,ag:null,af:null,o:null,q:null,r:null,p:null,j:null,be:null,bf:null,k:null,l:null,x:0,y:0,z:0,ap:function(a){var b=this.bg;if($$a.$ae.l_op_Equality(b,null)){return}var c=b.left(),d=b.top(),e=b.width(),f=b.height();this.aq(this.q,c,d,e,f);this.aq(this.o,c,d,e,f);this.aq(this.p,c,d,e,f);this.aq(this.r,c,d,e,f)},aq:function(a,b,c,d,e){if(a!=null){if(a.d()&&this.t!=1){a.z();a.aa(this.t,this.t)}a.k(b,c,d,e);if(a.d()&&this.t!=1){a.y()}}},u:0,v:0,ba:function(a){var b=a.m();var c=a.e();if(c=="LeftPanel"){this.u=b}if(c=="RightPanel"){this.v=b}},a6:function(a){var b=a.g();var c=this.q;if(c.d()&&this.t!=1){c.z();c.aa(this.t,this.t)}var d=new $$a.bz;var e=new $$a.z(0);for(var f=0;f<b.au().count();f++){var g=b.au().__inner[f];e.add({__x:g.__x+this.u+b.aq().__x,__y:g.__y+b.aq().__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})}d._ak=e;d._ac=a.h;d.__opacity=b.p();d.__fill=b.ad();d.__stroke=a.h<1?b.ad():b.ag();if(b.a0()!=null){c.i(d,b.a0());b.ad(d.__fill);b.ag(d.__stroke);b._q=d._ac;b.p(d.__opacity)}c.t(d);b._q=d._ac;if(b.i()){var h=new $$a.an;if(this.bf==null){this.bf=new $$a.at;this.bf.__fill=this.ak("ui-funnel-slice","color",-1)}h._am=this.bf;c.ac(this.m());var i=b.v().toString();var j=c.f(i);var k=this.ab();h.ak(i);h._o=b.an().__y+b.aq().__y-k/2;h._n=b.an().__x+this.u+b.aq().__x-j/2;b.ax(new $$a.ae(0,h._n,h._o,j,k));b.a2(h.__visibility);c.w(h)}if(c.d()&&this.t!=1){c.y()}},a5:function(a){var b=0;if(this.v>0){b=this.bg.width()-this.v}var c=a;var d=this.p;if(d.d()&&this.t!=1){d.z();d.aa(this.t,this.t)}var e=new $$a.an;e.ak(c.j().toString());d.ac(this.n());if(this.be==null){this.be=new $$a.at;this.be.__fill=this.ad.rootWrapper().getStyleProperty("color")}e._am=this.be;var f=this.ac();var g=c.l().__y-f/2;var h=d.f(e.ak());e._n=b;e._o=g;c._f.b().ay(new $$a.ae(0,b,g,h,f));d.w(e);if(d.d()&&this.t!=1){d.y()}},onDetachedFromUI:function(){if(this.j!=null){this.j.bg(this.ae,"")}},onAttachedToUI:function(a){this.initializeScalingRatio(a);if(this.j!=null){this.j.as(this.ae,"")}},aj:null,bc:function(a){this.aj=a.g()},bb:function(a){this.at(a)},ar:function(a){this.at(null)},at:function(a){var x_=0,y_=0;var t_=null,v_=null,i_=this.ad;{if(a!=null){t_=this.aj;x_=a.i().__x+6;y_=a.i().__y+6;v_=a.g().item()}var ren_=this.ad;var dc_=null;if(a!=null){dc_=a.g()}ren_.fireTooltip(t_,v_,x_,y_)}},a3:function(a){var b=a;var c=b.g();switch(c){case"Container":this.ay(b.d());break;case"TextStyle":this.l=$.ig.FontUtil.prototype.toFontInfo(this.ad,b.d().toString());break;case"OuterLabelTextStyle":this.k=$.ig.FontUtil.prototype.toFontInfo(this.ad,b.d().toString());break;case"ActualPixelScalingRatio":if($.ig.util.isNaN(this.w)||this.w==0){this.t=b.d()}break;case"OuterLabelTextColor":this.be=$b($$a.$at.$type,b.d());break;case"LabelTextColor":this.bf=$b($$a.$at.$type,b.d());break}},queueWork:function(a){if(this.ad!=null){this.ad.setTimeout(a,0)}else{window.setTimeout(a,0)}},ay:function(a){if(a==null){if(this.j!=null){this.j.au()}this.ad=null;this.ae=this.ah=this.ag=this.ai=null;this.o=this.q=this.p=this.r=null;this.j=null;return}var b=a;var c=this.ad=b;c.rootWrapper().setStyleProperty("position","relative");for(var d=0;d<4;d++){var e=this.ad.createElement("canvas");e.setStyleProperty("position","absolute");c.append(e);var f=new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,this.ad.get2DCanvasContext(e));if(d==0){this.ae=e;this.o=f}if(d==1){this.ah=e;this.q=f}if(d==2){this.ag=e;this.p=f}if(d==3){this.ai=e;this.r=f}}this.af=this.ad.createElement("span");this.af.setStyleProperty("position","absolute");this.af.setStyleProperty("display","none");c.append(this.af);this.j=new $.ig.DOMEventProxy(this.ai,this.ad,false);var g=this.j;g.onMouseOver=$.ig.Delegate.prototype.combine(g.onMouseOver,this.an.runOn(this));var h=this.j;h.onMouseLeave=$.ig.Delegate.prototype.combine(h.onMouseLeave,this.am.runOn(this));var i=this.j;i.onMouseDown=$.ig.Delegate.prototype.combine(i.onMouseDown,this.al.runOn(this));var j=this.j;j.onMouseUp=$.ig.Delegate.prototype.combine(j.onMouseUp,this.ao.runOn(this));this.as()},aa:function(){var a=this.ak("ui-funnel-slice","border-top-width",-1);return a==null?-1:$$0.$aw.parseInt(a)},m:function(){var a=this.l;if(a==null){this.l=$.ig.FontUtil.prototype.getFontForClass(this.ad,"ui-funnel-slice");a=this.l}return a},n:function(){var a=this.k;if(a==null){this.k=a=$.ig.FontUtil.prototype.getFont(this.ad)}return a},ab:function(){var a=this.z;if(a<0){var b=this.l;a=$.ig.FontUtil.prototype.getCurrentFontHeight(this.ad,b);this.z=a}return a},ac:function(){var a=this.y;if(a<0){var b=this.k;a=$.ig.FontUtil.prototype.getCurrentFontHeight(this.ad,b);this.y=a}return a},c:null,e:null,t:0,w:0,d:function(a){if(this.c!=null){return a?this.c:this.e}var b=$.ig.BrushUtil.prototype.e("chart",this.ad,this.c,this.e,null);this.c=b.p2;this.e=b.p3;return a?this.c:this.e},ak:function(a,b,c){var d=this.af;if(d==null){return null}d.addClass(a);var e=d.getStyleProperty(b);if(e==null||e.length==0||e=="null"||e=="transparent"){e=null}if(c>=0){var f=new $$a.at;if(e!=null&&e.length!=$x(e,"(0, 0, 0, 0","").length){e=null}f.__fill=e==null?$$t.$b.a[c%$$t.$b.a.length]:e;this.c.item(c,f);var g=null;if(e!=null){g=d.getStyleProperty("border-top-color");if(g==null||g.length==0||g=="null"||g=="transparent"){g=e}}f=new $$a.at;f.__fill=g==null?$$t.$b.b[c%$$t.$b.b.length]:g;this.e.item(c,f)}d.removeClass(a);return e},a7:function(a,b,c){var d=new $$t.ay;d.g(a);d.e(b);d.d(c);this.f.i(d)},init:function(){var $self=this;this.x=-1;this.y=-1;this.z=-1;this.u=0;this.v=0;this.aj=null;this.t=1;this.w=NaN;$.ig.$op.init.call(this);this.t=1;this.w=NaN;this.f=new $$t.ao;this.a9();this.a8();var a=this.g=new $$t.aq;a.b($$t.$ah.$type,this.ap.runOn(this));a.b($$t.$ab.$type,this.a6.runOn(this));a.b($$t.$aa.$type,this.a5.runOn(this));a.b($$t.$a1.$type,this.ba.runOn(this));a.b($$t.$a4.$type,this.bc.runOn(this));a.b($$t.$a3.$type,this.bb.runOn(this));a.b($$t.$ai.$type,this.ar.runOn(this));a.b($$t.$ay.$type,this.a3.runOn(this));a.b($$t.$a6.$type,function(b){$self.as()});this.as()},initializeScalingRatio:function(a){var b=a.pixelScalingRatio();var c=a.bn();if(!$.ig.util.isNaN(b)&&b!=0){return}if(window.devicePixelRatio!=window.undefined&&window.devicePixelRatio!=c){a.bn(window.devicePixelRatio)}},aw:function(a){this.g.c(a)},a1:function(a,b){if(a!=null){var c=$b($$t.$ao.$type,a.b("RenderingMessages"));if(c!=null){c.h(this.aw.runOn(this))}this.f.g()}if(b!=null){var d=$b($$t.$ao.$type,b.b("RenderingMessages"));if(d!=null){d.e(this.aw.runOn(this))}var e=$b($$t.$ao.$type,b.b("InteractionMessages"));this.f.f(e)}},bd:function(a,b,c,d,e){a.setAttribute("width",b.toString());a.setAttribute("height",c.toString());a.setStyleProperty("width",d.toString()+"px");a.setStyleProperty("height",e.toString()+"px")},as:function(){if(this.ad==null){return}var a=this.ad.rootWrapper().width();var b=this.ad.rootWrapper().height();this.bg=new $$a.ae(0,0,0,a,b);if(this.j!=null){this.j._bk=this.bg}this.bd(this.ae,a*this.t,b*this.t,a,b);this.bd(this.ah,a*this.t,b*this.t,a,b);this.bd(this.ag,a*this.t,b*this.t,a,b);this.bd(this.ai,a*this.t,b*this.t,a,b);var c=new $$t.a5;c.e(a);c.d(b);this.f.i(c)},onResize:function(){this.as()},a9:function(){var a=new $$t.a7;a.g("OuterLabelWidthDecider");a.e(null);a.d($b($$t.$i.$type,this));this.f.i(a)},a8:function(){var a=new $$t.a7;a.g("FunnelLabelSizeDecider");a.e(null);a.d($b($$t.$h.$type,this));this.f.i(a)},decideWidth:function(a){var b=a==null?null:a._a;if(b==null){return 0}var c=0;this.p.ac(this.n());var e=b.getEnumerator();while(e.moveNext()){var d=e.current();if(d!=null){c=Math.max(this.p.f(d.toString()),c)}}return c},decideLabelSize:function(a,b){var c=0;if(a.b().i()){this.p.ac(this.m());c=this.p.f(a.b().v().toString())}return new $$a.af(1,c,b?this.ab():this.ac())},s:function(a,f_){if(f_==null){return true}var b=a._a;var c_=this.ad;c_=c_?c_.data("igFunnelChart"):null;if(b==null||c_==null){return false}var i_=b.count();var c=new Array(i_);while(i_-- >0){var v_=b.item(i_);c[i_]=f_(v_,i_,c_)}a.b(c);return true},au:function(){},preRender:function(){},$type:new $.ig.Type("XamFunnelView",$.ig.$ot,[$$t.$i.$type,$$t.$h.$type])},true);$c("FunnelLegendTemplates:c","Object",{init:function(){$.ig.$op.init.call(this)},c:function(a){var b=a.data;var c=b.series();var d=c.legendItemBadgeTemplate();var e=b.itemLabel();if(e==null){e="Funnel Item"}$.ig.LegendItemHelper.prototype.c(a.context,a.xPosition,a.yPosition,a.availableWidth,a.availableHeight,a.data,e.toString(),d,a.passInfo)},b:function(a){var b=a.data;var c=a.context;if(b.itemBrush()!=null){b.actualItemBrush(b.itemBrush())}var d=new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,c);var e=b.thickness();if($.ig.util.isNaN(e)){e=1}var f=new $$a.b1;f.width(a.availableWidth-e*2-2);f.height(a.availableHeight-e*2);f._n=e+1;f._o=e;f._ac=e;f.__fill=b.actualItemBrush();f.__stroke=b.outline();d.v(f)},a:function(a){},d:function(a){},$type:new $.ig.Type("FunnelLegendTemplates",$.ig.$ot)},true);$c("FunnelDataContext:d","Object",{init:function(){$.ig.$op.init.call(this)},c:null,item:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},a:0,b:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},$type:new $.ig.Type("FunnelDataContext",$.ig.$ot)},true);$c("FunnelFrame:e","Object",{init:function(){$.ig.$op.init.call(this);this.b(new $$t.l)},c:false,f:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},e:false,h:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},d:false,g:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},a:null,b:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},i:0,j:function(a){if(arguments.length===1){this.i=a;return a}else{return this.i}},k:function(a,b,c,d){var e=1-d;a.f(c.f());a.g(c.g());a.h(c.h());a.j(b.j()*e+c.j()*d);var f=b.b().count();var g=c.b().count();var h=Math.max(f,g);if(a.b().count()<h){a.b().insertRange(a.b().count(),new Array(h-a.b().count()))}if(a.b().count()>h){a.b().removeRange(h,a.b().count()-h)}for(var i=0;i<Math.min(f,g);++i){a.b().__inner[i]=$$t.$o.c(a.b().__inner[i],b.b().__inner[i],c.b().__inner[i],d,e)}if(f<g){var j=f>0?b.b().__inner[f-1]:new $$t.o;for(var k=f;k<g;++k){a.b().__inner[k]=$$t.$o.c(a.b().__inner[k],j,c.b().__inner[k],d,e)}}if(f>g){var l=g>0?c.b().__inner[g-1]:new $$t.o;for(var m=g;m<f;++m){a.b().__inner[m]=$$t.$o.c(a.b().__inner[m],b.b().__inner[m],l,d,e)}}},$type:new $.ig.Type("FunnelFrame",$.ig.$ot)},true);$c("IItemProvider:g","Object",{$type:new $.ig.Type("IItemProvider",null)},true);$c("SliceAppearance:k","Object",{init:function(){this.av=$$a.$ae.empty();this.aw=$$a.$ae.empty();this.m=1;$.ig.$op.init.call(this);this.ai={__x:0,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};this.aj={__x:0,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};this.al={__x:0,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};this.am={__x:0,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};this.ak={__x:0,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},l:0,o:function(a){if(arguments.length===1){this.l=a;this.y();return a}else{return this.l}},k:0,n:function(a){if(arguments.length===1){this.k=a;this.y();return a}else{return this.k}},ak:null,aq:function(a){if(arguments.length===1){this.ak=a;return a}else{return this.ak}},al:null,ar:function(a){if(arguments.length===1){this.al=a;this.y();return a}else{return this.al}},a:null,c:function(a){if(arguments.length===1){this.a=a;this.y();return a}else{return this.a}},b:null,e:function(a){if(arguments.length===1){this.b=a;this.y();return a}else{return this.b}},at:null,au:function(a){if(arguments.length===1){this.at=a;return a}else{return this.at}},y:function(){},x:function(){var a=new $$a.z(0);if(this.e()!=null){var c=this.e().getEnumerator();while(c.moveNext()){var b=c.current();a.add(b)}}else{a.add(this.ar());a.add(this.as())}if(this.c()!=null){var e=this.c().getEnumerator();while(e.moveNext()){var d=e.current();a.add(d)}if(this.e()!=null&&this.e().count()>0){a.add(this.e().__inner[0])}}else{a.add(this.ap());a.add(this.ao());a.add(this.ar())}var f=0,g=Math.min($a(a.count(),2),5);if(g>1){var h=a.__inner[0];var i=0,j=h.__x,k=h.__y;while(++f<g&&i<2){h=a.__inner[f];i=Math.abs(h.__x-j)+Math.abs(h.__y-k);if(i>1){a.add({__x:h.__x,__y:h.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})}}}this.au(a)},am:null,as:function(a){if(arguments.length===1){this.am=a;this.y();return a}else{return this.am}},aj:null,ap:function(a){if(arguments.length===1){this.aj=a;this.y();return a}else{return this.aj}},ai:null,ao:function(a){if(arguments.length===1){this.ai=a;this.y();return a}else{return this.ai}},az:null,a0:function(a){if(arguments.length===1){this.az=a;return a}else{return this.az}},z:null,ad:function(a){if(arguments.length===1){this.z=a;return a}else{return this.z}},ac:null,ag:function(a){if(arguments.length===1){this.ac=a;return a}else{return this.ac}},t:null,v:function(a){if(arguments.length===1){this.t=a;return a}else{return this.t}},ah:null,an:function(a){if(arguments.length===1){this.ah=a;return a}else{return this.ah}},g:false,i:function(a){if(arguments.length===1){this.g=a;return a}else{return this.g&&this.t!=null}},u:null,item:function(a){if(arguments.length===1){this.u=a;return a}else{return this.u}},r:0,s:function(a){if(arguments.length===1){this.r=a;return a}else{return this.r}},av:null,ax:function(a){if(arguments.length===1){this.av=a;return a}else{return this.av}},aw:null,ay:function(a){if(arguments.length===1){this.aw=a;return a}else{return this.aw}},aa:null,ae:function(a){if(arguments.length===1){this.aa=a;return a}else{return this.aa}},ab:null,af:function(a){if(arguments.length===1){this.ab=a;return a}else{return this.ab}},a1:0,a2:function(a){if(arguments.length===1){this.a1=a;return a}else{return this.a1}},h:false,j:function(a){if(arguments.length===1){this.h=a;return a}else{return this.h}},_q:0,m:0,p:function(a){if(arguments.length===1){this.m=a;return a}else{return this.m}},f:function(a,b,c,d,e){if(a==null){a=new $$t.k}a.ad(c.ad());a.i(c.i());a.v(c.v());if(b.i()&&c.i()){a.an({__x:b.an().__x*e+c.an().__x*d,__y:b.an().__y*e+c.an().__y*d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})}else if(c.i()){a.an({__x:c.an().__x*d,__y:c.an().__y*d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})}a.ao({__x:b.ao().__x*e+c.ao().__x*d,__y:b.ao().__y*e+c.ao().__y*d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a.ap({__x:b.ap().__x*e+c.ap().__x*d,__y:b.ap().__y*e+c.ap().__y*d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a.ar({__x:b.ar().__x*e+c.ar().__x*d,__y:b.ar().__y*e+c.ar().__y*d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a.as({__x:b.as().__x*e+c.as().__x*d,__y:b.as().__y*e+c.as().__y*d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a.aq({__x:b.aq().__x*e+c.aq().__x*d,__y:b.aq().__y*e+c.aq().__y*d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});if(c.c()!=null){var f=b.c();if(f==null){f=new $$t.y;f.add(b.ar());f.add(b.ao())}a.c($$t.$k.d(a.c(),f,c.c(),d,e))}else{a.c(null)}if(c.e()!=null){var g=b.e();if(g==null){g=new $$t.y;g.add(b.ap());g.add(b.as())}a.e($$t.$k.d(a.e(),g,c.e(),d,e))}else{a.e(null)}a.ag(c.ag());a.a0(c.a0());a.item(c.item());a.s(c.s());a.x();return a},d:function(a,b,c,d,e){if(a==null){a=new $$t.y}if(b==null){b=new $$t.y}var f=b.count();var g=c.count();var h=Math.max(f,g);if(a.count()<h){a.insertRange(a.count(),new Array(h-a.count()))}if(a.count()>h){a.removeRange(h,a.count()-h)}for(var i=0;i<Math.min(f,g);++i){a.__inner[i]={__x:b.__inner[i].__x*e+c.__inner[i].__x*d,__y:b.__inner[i].__y*e+c.__inner[i].__y*d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}if(f<g){var j=f>0?b.__inner[f-1]:{__x:0,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};for(var k=f;k<g;++k){a.__inner[k]={__x:j.__x*e+c.__inner[k].__x*d,__y:j.__y*e+c.__inner[k].__y*d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}}if(f>g){var l=g>0?c.__inner[g-1]:{__x:0,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};for(var m=g;m<f;++m){a.__inner[m]={__x:b.__inner[m].__x*e+l.__x*d,__y:b.__inner[m].__y*e+l.__y*d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}}return a},$type:new $.ig.Type("SliceAppearance",$.ig.$ot)},true);$c("SliceInfo:o","Object",{init:function(){$.ig.$op.init.call(this);this.b(new $$t.k);this.n({__x:0,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})},k:null,l:function(a){if(arguments.length===1){this.k=a;return a}else{return this.k}},m:null,n:function(a){if(arguments.length===1){this.m=a;return a}else{return this.m}},i:0,j:function(a){if(arguments.length===1){this.i=a;return a}else{return this.i}},f:false,h:function(a){if(arguments.length===1){this.f=a;return a}else{return this.f}},a:null,b:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},e:false,g:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},c:function(a,b,c,d,e){if(a==null){a=new $$t.o}a.g(c.g());a.h(c.h());a.j(c.j());a.l(c.l());a.n({__x:b.n().__x*e+c.n().__x*d,__y:b.n().__y*e+c.n().__y*d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});a.b($$t.$k.f(a.b(),b.b(),c.b(),d,e));return a},d:function(){var a=new $$t.a8;a.appearance(new $.ig.PrimitiveAppearanceData);a.appearance().fill($.ig.AppearanceHelper.prototype.b(this.b().ad()));a.appearance().stroke($.ig.AppearanceHelper.prototype.b(this.b().ag()));a.appearance().opacity(this.b().p());a.appearance().canvasLeft(this.b().aq().__x);a.appearance().canvasTop(this.b().aq().__y);a.height(this.b().ao().__y-this.b().ar().__y);a.upperWidth(this.b().as().__x-this.b().ar().__x);a.lowerWidth(this.b().ap().__x-this.b().ao().__x);a.isSelected(this.b().j());a.top(this.b().o());a.bottom(this.b().n());a.index(this.j());a.height(this.b().n()-this.b().o());a.sliceBorderBrush($.ig.AppearanceHelper.prototype.a(this.b().ag()));if(this.b().v()==null){a.innerLabel(String.empty())}else{a.innerLabel(this.b().v().toString())}if(this.l()==null){a.outerLabel(String.empty())}else{a.outerLabel(this.l().toString())}a.upperLeft($.ig.PointData.prototype.b(this.b().ar()));a.upperRight($.ig.PointData.prototype.b(this.b().as()));a.lowerLeft($.ig.PointData.prototype.b(this.b().ao()));a.lowerRight($.ig.PointData.prototype.b(this.b().ap()));var b=new Array(this.b().au().count());for(var c=0;c<this.b().au().count();c++){b[c]=new $.ig.PointData(this.b().au().__inner[c].__x,this.b().au().__inner[c].__y)}a.slicePoints(b);a.innerLabelPosition($.ig.PointData.prototype.b(this.a.an()));a.outerLabelPosition($.ig.PointData.prototype.b(this.m));a.outerLabelBounds($.ig.RectData.prototype.b(this.b().ay()));a.innerLabelBounds($.ig.RectData.prototype.b(this.b().ax()));a.isVisibile(this.b().a2()==0);a.innerLabelAppearance(new $.ig.LabelAppearanceData);a.innerLabelAppearance().labelBrush($.ig.AppearanceHelper.prototype.b(this.b().ae()));a.innerLabelAppearance().text(a.innerLabel());a.innerLabelAppearance().visibility(this.b().i());a.outerLabelAppearance(new $.ig.LabelAppearanceData);a.outerLabelAppearance().labelBrush($.ig.AppearanceHelper.prototype.b(this.b().af()));a.outerLabelAppearance().text(a.outerLabel());a.outerLabelAppearance().visibility(this.g());return a},$type:new $.ig.Type("SliceInfo",$.ig.$ot)},true);$c("SliceInfoList:l","List$1",{init:function(){$$4.$x.init.call(this,$$t.$o.$type,0)},indexSort:function(){this.sort2(function(a,b){if(a.j()<b.j()){return-1}if(a.j()>b.j()){return 1}return 0})},sortByY:function(){this.sort2(function(a,b){if(a.b().aq().__y<b.b().aq().__y){return-1}if(a.b().aq().__y>b.b().aq().__y){return 1}return 0})},getByYValue:function(a){this.sortByY();var b=this.ac(function(c){if(a<c.b().ar().__y+c.b().aq().__y){return-1}if(a>c.b().ao().__y+c.b().aq().__y){return 1}else{return 0}});if(b>=0){b=this.__inner[b].j()}else{b=-1}this.indexSort();if(b>=0){return b}return-1},ac:function(a){var b=0;var c=this.count()-1;while(b<=c){var d=b+(c-b>>1);var e=a(this.__inner[d]);if(e<0){c=d-1}else if(e>0){b=d+1}else{return d}}return~b},$type:new $.ig.Type("SliceInfoList",$$4.$x.$type.specialize($$t.$o.$type))},true);$c("SliceSelectionManager:p","Object",{init:function(){this.e=new $$4.h($$0.$aw.$type,$.ig.$op.$type,0);$.ig.$op.init.call(this)},e:null,k:function(a,b){if(this.e.containsKey(a)){this.e.remove(a)}else{this.e.item(a,b)}},c:function(a){return this.e.containsKey(a)},b:function(){return this.e.count()>0},d:function(a){return!this.c(a)&&this.b()},g:function(a,b){switch(a.c()){case 3:break;case 1:this.j(a.g(),a.f());break;case 0:this.h(a.g(),a.f());break;case 2:for(var c=0;c<a.f();c++){if(this.e.containsKey(c)){this.e.item(c,b._a.item(c))}}break;case 4:this.f();break}},h:function(a,b){var c=new $$4.x($$0.$aw.$type,0);var d=new $$4.x($.ig.$op.$type,0);var f=this.e.keys().getEnumerator();while(f.moveNext()){var e=f.current();if(e>=a){c.add(e);d.add1(this.e.item(e))}}var g=0;var i=c.getEnumerator();while(i.moveNext()){var h=i.current();this.e.remove(h);if(h-b>a){this.e.item(h-b,d.__inner[g])}g++}},j:function(a,b){var c=new $$4.x($$0.$aw.$type,0);var d=new $$4.x($.ig.$op.$type,0);var f=this.e.keys().getEnumerator();while(f.moveNext()){var e=f.current();if(e>=a){c.add(e);d.add1(this.e.item(e))}}var g=0;var i=c.getEnumerator();while(i.moveNext()){var h=i.current();this.e.remove(h);this.e.item(h+b,d.__inner[g]);g++}},f:function(){this.e.clear()},a:function(){var a=new Array(this.e.count());var b=0;var d=this.e.keys().getEnumerator();while(d.moveNext()){var c=d.current();a[b]=c;b++}return a},i:function(a,b){this.f();for(var d=0;d<a.length;d++){var c=a[d];this.k(c,b._a.item(c))}},$type:new $.ig.Type("SliceSelectionManager",$.ig.$ot)},true);$c("XamFunnelController:q","Object",{bp:null,_ag:null,at:null,cf:null,cg:null,cb:null,cc:null,bb:false,bg:false,init:function(){var $self=this;this.bb=false;this.bg=false;this.br=-1;this.ay=false;$.ig.$op.init.call(this);this.av(new $.ig.DoubleAnimator(0,1,2e3));var a=this.av();a.propertyChanged=$.ig.Delegate.prototype.combine(a.propertyChanged,this.cz.runOn(this));this.k(new $$t.e);this.j(new $$t.e);this.h(new $$t.e);this.ai(new $$t.p);this.am(new $$t.bf);this.ar(new $$t.bh);this.as(new $$t.bh);this.y(new $$t.ao);this.x(new $$t.ao);this.aa(new $$t.aq);this.aa().b($$t.$ay.$type,this.de.runOn(this));this.aa().b($$t.$ak.$type,this.cv.runOn(this));this.aa().b($$t.$a5.$type,this.dl.runOn(this));this.aa().b($$t.$a7.$type,this.dm.runOn(this));this.aa().b($$t.$ax.$type,this.c5.runOn(this));this.aa().b($$t.$at.$type,this.c3.runOn(this));this.aa().b($$t.$aw.$type,this.c4.runOn(this));this.aa().b($$t.$ag.$type,this.dk.runOn(this));this.aa().b($$t.$z.$type,this.c1.runOn(this));this.aa().b($$t.$a6.$type,function(b){$self.y().i(b)});this.bp=function(b,c){$self.bj(true);$self.df()}},cz:function(a,b){this.b2(this.av().transitionProgress());if(this.b2()==1){this.a9(false);this.cw(this.h())}if(this.a9()){var c=1-this.b2();$$t.$e.k(this.j(),this.k(),this.h(),this.b2());this.cw(this.j())}},au:null,av:function(a){if(arguments.length===1){this.au=a;return a}else{return this.au}},aj:null,ak:function(a){if(arguments.length===1){this.aj=a;return a}else{return this.aj}},z:null,aa:function(a){if(arguments.length===1){this.z=a;return a}else{return this.z}},al:null,am:function(a){if(arguments.length===1){this.al=a;return a}else{return this.al}},ao:null,ar:function(a){if(arguments.length===1){this.ao=a;return a}else{if(!this.bb&&this.at!=null){this.bb=this.at.s(this.ao,this.cb)}return this.ao}},ap:null,as:function(a){if(arguments.length===1){this.ap=a;return a}else{if(!this.bg&&this.at!=null){this.bg=this.at.s(this.ap,this.cc)}return this.ap}},cl:null,cq:function(a){if(arguments.length===1){this.cl=a;return a}else{return this.cl}},ci:null,cn:function(a){if(arguments.length===1){this.ci=a;return a}else{return this.ci}},ch:null,cm:function(a){if(arguments.length===1){this.ch=a;return a}else{return this.ch}},a4:false,bj:function(a){if(arguments.length===1){this.a4=a;return a}else{return this.a4}},bv:0,b4:function(a){if(arguments.length===1){this.bv=a;return a}else{return this.bv}},bu:0,b3:function(a){if(arguments.length===1){this.bu=a;return a}else{return this.bu}},w:null,y:function(a){if(arguments.length===1){this.w=a;return a}else{return this.w}},v:null,x:function(a){if(arguments.length===1){this.v=a;return a}else{return this.v}},t:null,u:function(a){if(arguments.length===1){this.t=a;return a}else{return this.t}},p:null,q:function(a){if(arguments.length===1){this.p=a;return a}else{return this.p}},a0:false,bc:function(a){if(arguments.length===1){this.a0=a;return a}else{return this.a0}},a3:false,bh:function(a){if(arguments.length===1){this.a3=a;return a}else{return this.a3}},bt:0,b2:function(a){if(arguments.length===1){this.bt=a;return a}else{return this.bt}},a2:false,be:function(a){if(arguments.length===1){this.a2=a;return a}else{return this.a2}},bq:0,bw:function(a){if(arguments.length===1){this.bq=a;return a}else{return this.bq}},a:null,c:function(a){if(arguments.length===1){this.a=a;return a}else{if((this.a==null||this.a.count()<1)&&this.at!=null){this.a=this.at.d(true)}return this.a}},b:null,d:function(a){if(arguments.length===1){this.b=a;return a}else{if((this.b==null||this.b.count()<1)&&this.at!=null){this.b=this.at.d(false)}return this.b}},ad:0,ae:function(a){if(arguments.length===1){this.ad=a;return a}else{return this.ad}},m:0,n:function(a){if(arguments.length===1){this.m=a;return a}else{return this.m}},ax:false,a9:function(a){if(arguments.length===1){this.ax=a;return a}else{return this.ax}},bs:0,b1:function(a){if(arguments.length===1){this.bs=a;return a}else{return this.bs}},a5:false,bm:function(a){if(arguments.length===1){this.a5=a;return a}else{return this.a5}},dv:null,dy:function(a){if(arguments.length===1){this.dv=a;return a}else{return this.dv}},du:null,dx:function(a){if(arguments.length===1){this.du=a;return a}else{return this.du}},aw:false,a8:function(a){if(arguments.length===1){this.aw=a;return a}else{return this.aw}},b5:0,b9:function(a){if(arguments.length===1){this.b5=a;return a}else{return this.b5}},b6:0,ca:function(a){if(arguments.length===1){this.b6=a;return a}else{return this.b6}},r:null,s:function(a){if(arguments.length===1){this.r=a;return a}else{return this.r}},ab:null,ac:function(a){if(arguments.length===1){var b=this.ab;this.ab=a;this.c7(b,this.ab);return a}else{return this.ab}},ah:null,ai:function(a){if(arguments.length===1){this.ah=a;return a}else{return this.ah}},g:null,k:function(a){if(arguments.length===1){this.g=a;return a}else{return this.g}},e:null,h: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}},d0:null,d3:function(a){if(arguments.length===1){this.d0=a;return a}else{return this.d0}},d1:null,d4:function(a){if(arguments.length===1){this.d1=a;return a}else{return this.d1}},a7:false,bo:function(a){if(arguments.length===1){this.a7=a;return a}else{return this.a7}},a1:false,bd:function(a){if(arguments.length===1){this.a1=a;return a}else{return this.a1}},a6:false,bn:function(a){if(arguments.length===1){this.a6=a;return a}else{return this.a6}},az:false,ba:function(a){if(arguments.length===1){this.az=a;return a}else{return this.az}},
ck:null,cp:function(a){if(arguments.length===1){this.ck=a;return a}else{return this.ck}},cj:null,co:function(a){if(arguments.length===1){this.cj=a;return a}else{return this.cj}},br:0,bz:function(){var a=this.br;if(a<0&&this.at!=null){this.br=this.at.aa();a=this.br}return a<0?1:a},c7:function(a,b){if(a!=null){var c=$b($$t.$ao.$type,a.b("ConfigurationMessages"));if(c!=null){c.h(this.c2.runOn(this))}c=$b($$t.$ao.$type,a.b("InteractionMessages"));if(c!=null){c.h(this.c2.runOn(this))}this.y().g();this.x().g()}if(b!=null){var d=$b($$t.$ao.$type,b.b("ConfigurationMessages"));if(d!=null){d.e(this.c2.runOn(this))}d=$b($$t.$ao.$type,b.b("InteractionMessages"));if(d!=null){d.e(this.c2.runOn(this))}var e=$b($$t.$ao.$type,b.b("RenderingMessages"));this.y().f(e);var f=$b($$t.$ao.$type,b.b("ModelUpdateMessages"));this.x().f(f)}this.bj(true)},c2:function(a){this.aa().c(a);var b=$b($$t.$az.$type,a);if(b!=null){this.bj(b.c())}this.df()},bl:function(){return this.b3()>=0&&this.b4()>=0},bf:function(){return this.am()!=null&&this.am()._a!=null&&this.am()._a.count()>0&&this.u()!=null&&this.q()!=null&&this.c()!=null&&this.c().count()>0&&this.d()!=null&&this.d().count()>0&&this.bl()},df:function(){if(!this.bj()){return}if(!this.bf()){this.cu();return}this.bj(false);var a=this.u().decideWidth(this.aq());if(a>this.b4()){a=0}if(!this.bh()){a=0}var b=this.b4()-a;var c=a>0;var d=this.bc();var e=b>=0;if(e||c){this.dc(e,c,d,b,a)}},cu:function(){if(this.bk()&&this.b2()>0){this.av().stop()}this.dh("LeftLabels");this.dh("RightLabels");this.dh("SliceArea");this.ct();this.h().b().clear();this.j().b().clear();this.k().b().clear()},ct:function(){var a=new $$t.al;this.y().i(a)},dc:function(a,b,c,d,e){if(this.a9()){var f=this.k();this.k(this.j());this.j(f)}else{var g=this.k();this.k(this.h());this.h(g)}this.dd(this.h(),a,b,c,d,e);this.av().stop();this.b2(0);if(this.bk()){$$t.$e.k(this.j(),this.k(),this.h(),this.b2());this.cw(this.j());this.a9(true);this.av().start()}else{this.cw(this.h())}},b0:function(a){if($.ig.util.isNaN(a)){return 0}return Math.abs(a)},ay:false,dd:function(a,b,c,d,e,f){var g=e/2;this.ay=this.bm();if(this.ay){this.c0(e,g)}else{this.ak(null)}var h=this.n()==1;var i=this.an();var j=0;var l=i.values().getEnumerator();while(l.moveNext()){var k=l.current();j+=this.b0(this.am()._a.item(k))}if(j==0){h=false}var m=this.b3()/i.values().count();var n=0;var o=0;o=this.bz()/2;a.j(f);a.f(d);a.h(c);a.g(this.ae()==0);a.b(new $$t.l);var p=0;var r=i.values().getEnumerator();while(r.moveNext()){var q=r.current();var s;if(h){s=this.b0(this.am()._a.item(q))/j*this.b3()}else{s=m}var t=this.by(e,n+o);var u=n+s;var v=this.by(e,u-o);var w=t/2;var x=v/2;var y=new $$t.o;var z=y.b();z.o(n);z.n(u);var aa=new $$a.ae(4);var ab=new $$a.ae(4);var ac=0;if(x>w){ac=g-x}else{ac=g-w}var ad=n;z.ad(this.ds(q));z.ag(this.dt(q));z.a0(this.d2(q));z.j(this.ai().c(q));if(b){y.h(true);z.ar({__x:g-w-ac+o,__y:n-ad+o,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});z.as({__x:g+w-ac-o,__y:n-ad+o,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});z.ao({__x:g-x-ac+o,__y:u-ad-o,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});z.ap({__x:g+x-ac-o,__y:u-ad-o,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});if(this.ay){this.cr(z,n+o,u-o,g,ac-o,ad)}z.x()}if(d){z.i(true);z.an({__x:g-ac,__y:(n+u)/2-ad,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});z.v(this.cd(q));var ae=this.q().decideLabelSize(y,true);if(ae.width()>e){z.i(false)}if(ae.height()>s){z.i(false)}aa.height(ae.height());aa.width(ae.width());aa.x(z.an().__x);aa.y(z.an().__y);z.ax(aa)}else{z.i(false);z.v(this.cd(q))}if(d||b){z.aq({__x:ac,__y:ad,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});z.item(this.am()._a.item(q));z.s(q)}if(c){y.g(true);y.n({__x:0,__y:(n+u)/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});y.l(this.ce(q));var af=this.q().decideLabelSize(y,false);if(af.height()>s){y.g(false)}ab.height(af.height());ab.width(af.width());aa.x(y.n().__x);aa.y(y.n().__y);z.ay(ab)}else{y.g(false);y.l(this.ce(q))}y.j(q);a.b().add(y);n+=s;p++}if(this.ar()!=null&&this.ar()._a!=null&&this.ar()._a.count()>0||this.as()!=null&&this.as()._a!=null&&this.as()._a.count()>0){this.dg(a)}a.b().indexSort()},cr:function(a,b,c,d,e,f){var g=this.ak().b(b);var h=this.ak().b(c);var i=new $$t.y;var j=new $$t.y;var k=g.b;var l=h.b;for(var m=k;m<=l;m++){i.add({__x:this.ak()._e.__inner[m].c.__x-e,__y:this.ak()._e.__inner[m].c.__y-f,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})}e+=this.bz();for(var n=l;n>=k;n--){var o=this.ak()._e.__inner[n].c;j.add({__x:d+d-o.__x-e,__y:o.__y-f,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})}a.c(i);a.e(j)},bi:function(a,b){if(a.__x!=b.__x||a.__y!=b.__y){return true}return false},c0:function(a,b){var c;var d;var e=0,f=this.b3();e=this.bz()/2;f-=e;if(this.bd()){c={__x:b-a*this.bw()/2,__y:e,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};d={__x:b-a/2,__y:f,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}else{c={__x:b-a/2,__y:e,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};d={__x:b-a*this.bw()/2,__y:f,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}var g=this.dy().__y<this.dx().__y?this.dy():this.dx();var h=this.dx().__y>this.dy().__y?this.dx():this.dy();if(g.__y<0){g.__y=0}if(h.__y>1){h.__y=1}if(this.bd()){var i=h.__x;h.__x=g.__x;g.__x=i;i=g.__y;g.__y=1-h.__y;h.__y=1-i}var j={__x:a*g.__x,__y:this.b3()*g.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var k={__x:a*h.__x,__y:this.b3()*h.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};if(this.ak()==null||this.bi(c,this.ak().q())||this.bi(j,this.ak().r())||this.bi(k,this.ak().s())||this.bi(d,this.ak().t())){this.ak(new $$t.bb(c,j,k,d,2,b))}if(this.ak()==null){this.ay=false}else{this.ay=this.ak()._d}},ce:function(a){var b=this.as();var c=b==null?null:b._a;return c==null||a>=c.count()?null:c.item(a)},cd:function(a){var b=this.ar();var c=b==null?null:b._a;return c==null||a>=c.count()?null:c.item(a)},d2:function(a){if(this.ai().c(a)){return this.d3()}if(this.ai().d(a)&&this.bo()){return this.d4()}return null},dt:function(a){return this.d().item(a%this.d().count())},ds:function(a){return this.c().item(a%this.c().count())},by:function(a,b){var c=a*this.bw();if(this.ay){var d=this.ak().b(b).c.__x;return(a/2-d)*2}else{if(this.bd()){return a-(a-c)*((this.b3()-b)/this.b3())}else{return a-(a-c)*(b/this.b3())}}},an:function(){var $self=this;var a=new $$t.bi;a.populate(this.am()._a.count());a.sort(function(b,c){if($self.am()._a.item(b)<$self.am()._a.item(c)){return $self.bd()?-1:1}if($self.am()._a.item(b)>$self.am()._a.item(c)){return $self.bd()?1:-1}return 0});return a},cw:function(a){this.cx(a)},cy:function(){if(this._l!=null){this.cx(this._l)}},_l:null,cx:function(a){this.dh("LeftLabels");this.dh("RightLabels");this.dh("SliceArea");if(a.g()){this.di("LeftPanel",a.j());this.di("RightPanel",0)}else{this.di("LeftPanel",0);this.di("RightPanel",a.j())}this._ag=a.b();var c=a.b().getEnumerator();while(c.moveNext()){var b=c.current();if(b.h()){var d=new $$t.ab;d.e("SliceArea");d.g(b.b());d.h=this.bz();this.y().i(d)}}var f=a.b().getEnumerator();while(f.moveNext()){var e=f.current();if(e.g()){var g=new $$t.aa;if(a.g()){g.e("LeftLabels")}else{g.e("RightLabels")}g.j(e.l());g.l(e.n());g.h(a.j());g._f=e;this.y().i(g)}}var h=new $$t.al;this.y().i(h)},di:function(a,b){var c=new $$t.a1;c.e(a);c.i(true);c.m(b);this.y().i(c)},bk:function(){return this.b1()>0},dh:function(a){var b=new $$t.ah;b.e(a);this.y().i(b)},aq:function(){return this.as()},cv:function(a){this.bj(true)},b7:function(a){return $$6.$g.toInt32(a)},de:function(a){var b=a;var c=b.d();switch(b.g()){case"TextStyle":this.cp(c!=null?c.toString():"");var d=new $$t.ay;d.g(b.g());d.e(b.e());d.d(c);this.y().i(d);this.bj(true);break;case"OuterLabelTextStyle":this.co(c!=null?c.toString():"");var e=new $$t.ay;e.g(b.g());e.e(b.e());e.d(c);this.y().i(e);this.bj(true);break;case"ValueColumn":this.am().b(c);this.bj(true);break;case"InnerLabelColumn":this.bb=false;this.cf=c;this.ar().b(c);this.bj(true);break;case"InnerLabelVisibility":this.bc(c);this.bj(true);break;case"OuterLabelVisibility":this.bh(c);this.bj(true);break;case"OuterLabelColumn":this.bg=false;this.cg=c;this.as().b(c);this.bj(true);break;case"ValueMemberPath":this.cq($b(String,c));break;case"OuterLabelMemberPath":this.cn($b(String,c));break;case"InnerLabelMemberPath":this.cm($b(String,c));break;case"BottomEdgeWidth":this.bw(c);if(this.bw()>1){this.bw(1)}if(this.bw()<.001){this.bw(.001)}this.bj(true);break;case"Brushes":if(b.e()!=null){var f=b.e();f.collectionChanged=$.ig.Delegate.prototype.remove(f.collectionChanged,this.bp)}if(c!=null){var g=c;g.collectionChanged=$.ig.Delegate.prototype.combine(g.collectionChanged,this.bp)}this.c($b($.ig.BrushCollection.prototype.$type,c));this.bj(true);break;case"Outlines":this.d($b($.ig.BrushCollection.prototype.$type,c));this.bj(true);break;case"OuterLabelAlignment":this.ae($g(c));this.bj(true);break;case"FunnelSliceDisplay":this.n($g(c));this.bj(true);break;case"FormatInnerLabel":this.ar().b(this.cf);this.bb=false;this.cb=c;this.bj(true);break;case"FormatOuterLabel":this.as().b(this.cg);this.cc=c;this.bg=false;this.bj(true);break;case"IsInverted":this.bd(c);this.bj(true);break;case"TransitionDuration":this.av().intervalMilliseconds(this.b7(c));this.b1(this.av().intervalMilliseconds());break;case"AllowSliceSelection":this.a8(c);break;case"SelectedSliceStyle":this.d3(c);this.bj(true);break;case"UnselectedSliceStyle":this.d4(c);this.bj(true);break;case"UseUnselectedStyle":this.bo(c);this.bj(true);break;case"UseBezierCurve":this.bm(c);this.bj(true);break;case"UpperBezierControlPoint":this.dy(c);this.bj(true);break;case"LowerBezierControlPoint":this.dx(c);this.bj(true);break;case"ItemProvider":this.s(c);break;case"ToolTip":var h=new $$t.a4;if(c!=null){this.ba(true)}else{this.ba(false);var i=new $$t.ai;this.y().i(i)}h.g(c);this.y().i(h);break;case"Legend":this.c6(c);this.bj(true);break;case"LegendItemTemplate":this.dr(c);this.bj(true);break;case"LegendItemBadgeTemplate":this.dq(c);this.bj(true);break;case"UseOuterLabelsForLegend":this.bn(c);this.bj(true);break;case"OutlineThickness":this.br=c;this.bj(true);this.y().i(b);break;case"Container":case"PixelScalingRatio":case"ActualPixelScalingRatio":case"OuterLabelTextColor":case"LabelTextColor":if(b.g()=="Container"){var j=b.d();this.av().provideRenderer(j)}var k=new $$t.ay;k.g(b.g());k.e(b.e());k.d(c);this.y().i(k);break}},_o:null,dp:null,dr:function(a){if(arguments.length===1){this.dp=a;return a}else{return this.dp}},dn:null,dq:function(a){if(arguments.length===1){this.dn=a;return a}else{return this.dn}},_dz:null,c6:function(a){if(this._o!=null){this._o.clearLegendItemsForSeries(this.ac().b("Model"))}this._o=a},dg:function(a){var $self=this;var b=new $$4.x($$a.$c.$type,0);var d=a.b().getEnumerator();while(d.moveNext()){var c=d.current();var e=new $$a.g;var f="";if(c.b().v()!=null){if(this.bn()&&c.l()!=null){f=c.l().toString()}else{f=c.b().v().toString()}}else if(c.l()!=null){f=c.l().toString()}var g=null;var h=null;if(g==null&&c.b().ad()!=null){g=c.b().ad()}if(h==null&&c.b().ag()!=null){h=c.b().ag()}var i=null;if(this.s()!=null){i=this.s().getItem(c.b().s())}e.content(function(){var $ret=new $$t.a;$ret.series($self.ac().b("Model"));$ret.item(i);$ret.itemBrush(g);$ret.itemLabel(f);$ret.thickness($self.bz());$ret.outline(h);$ret.itemOutline(h);return $ret}());e._ah=this.dr();b.add(e)}if(this._o!=null){if(this._o.isItemwise()){var j=this._o;j.createItemwiseLegendItems(b,this.ac().b("Model"))}}},dm:function(a){var b=a;switch(b.g()){case"OuterLabelWidthDecider":this.u($b($$t.$i.$type,b.d()));this.bj(true);break;case"FunnelLabelSizeDecider":this.q($b($$t.$h.$type,b.d()));this.bj(true);break}},dl:function(a){var b=a;this.b4(b.e());this.b3(b.d());this.bj(true)},c3:function(a){var b=a;if(b.e()==1){return}if(b.c()==1){this.ca(this.b9())}else if(b.c()==0){var c=this.ca();this.ca(-1);if(b._f==0){}else if(b._f!=2){return}if(c==this.b9()){this.c8(c)}}},c8:function(a){if(a<0||a>this.am()._a.count()-1){return}if(this.a8()){this.ai().k(a,this.am()._a.item(a));var b=this.ai().a();var c=new $$t.ac;c.c(b);this.x().i(c);this.bj(true)}var d=new $$t.ad;d.c(a);d.item(this.am()._a.item(a));d._f=this._dz;this.x().i(d)},da:function(a){if(this.am()!=null&&a>=0&&a<this.am()._a.count()){var b=new $$t.ae;b.e(a);b.item(this.am()._a.item(a));b.c(0);b._h=this._dz;this.x().i(b)}},db:function(a){if(this.am()!=null&&a>=0&&a<this.am()._a.count()){var b=new $$t.ae;b.e(a);b.item(this.am()._a.item(a));b.c(2);b._h=this._dz;this.x().i(b)}},c9:function(a){if(this.am()!=null&&a>=0&&a<this.am()._a.count()){var b=new $$t.ae;b.e(a);b.item(this.am()._a.item(a));b.c(1);b._h=this._dz;this.x().i(b)}},c5:function(a){var b=a;var c=this.b9();this.b9(this.b8(b.c()));if(c!=this.b9()){if(c!=-1){this.da(c)}if(this.b9()!=-1){this.c9(this.b9())}}else{if(this.b9()!=-1){this.db(this.b9())}}if(this.ba()){this.dj(b.c())}},c4:function(a){var b=this.b9();this.b9(-1);if(b!=-1){this.da(b)}var c=new $$t.ai;this.y().i(c)},dj:function(a){var b=new $$t.d;if(this.s()!=null&&this.b9()>=0&&this.b9()<this.s().count()){b.item(this.s().getItem(this.b9()))}b.b(this.b9());if(b.b()<0){var c=new $$t.ai;this.y().i(c);return}var d=new $$t.a3;d.g(b);d.i(this.dw(a,b));this.y().i(d)},dw:function(a,b){var c={__x:a.__x+10,__y:a.__y+10,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};return c},b8:function(a){if(!this.bf()){return-1}var b=a.__y;var c=a.__x;var d=this.i();if(d.g()){c-=d.j()}var e=this.af(b);if(e==null){return-1}var f=this.bx();var g=this.by(f,b);var h=g/2;var i=f/2;var j=new $$a.ae(0,e.b().ar().__x,e.b().ar().__y,Math.max(e.b().ap().__x-e.b().ar().__x,0),Math.max(e.b().ap().__y-e.b().ar().__y,0));if(c>=i-h&&c<=i+h){this._dz=j;return e.j()}else{return-1}},bx:function(){var a=this.i();return this.b4()-a.j()},af:function(a){var b=this.i();var c=b.b().getByYValue(a);if(c>=0&&c<b.b().count()){return b.b().__inner[c]}return null},i:function(){var a=null;if(this.a9()){a=this.j()}else{a=this.h()}return a},dk:function(a){var b=a;this.ai().i(b.c(),this.am());this.bj(true)},c1:function(a){this.cs(a)},cs:function(a){var b=this.i();if(a._c==-1){this.bj(true)}else{var c=b.b().__inner[a._c];if(a._b){if(a._d.width()>b.j()){this.bj(true)}if(a._d.height()!=a._e.height()){this.bj(true)}if(a._d.height()>c.b().ap().__y-c.b().as().__y){this.bj(true)}}else{if(a._d.height()>c.b().ap().__y-c.b().as().__y){this.bj(true)}}}},$type:new $.ig.Type("XamFunnelController",$.ig.$ot)},true);$c("FunnelSliceClickedEventArgs:r","EventArgs",{init:function(){$$0.$w.init.call(this)},b:0,index:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},f:null,bounds:function(a){if(arguments.length===1){this.f=a;return a}else{return this.f}},d:null,item:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},$type:new $.ig.Type("FunnelSliceClickedEventArgs",$$0.$w.$type)},true);$c("FunnelSliceEventArgs:t","EventArgs",{init:function(){$$0.$w.init.call(this)},b:0,index:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},f:null,bounds:function(a){if(arguments.length===1){this.f=a;return a}else{return this.f}},d:null,item:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},$type:new $.ig.Type("FunnelSliceEventArgs",$$0.$w.$type)},true);$c("XamFunnelChart:v","Control",{init:function(){var $self=this;this.bk=new $$4.f($.ig.$op.$type,0);this.bh=new $$4.h($.ig.$op.$type,$.ig.$op.$type,0);this.bz=null;this.bm=NaN;this.bl=1;$$a.$f.init.call(this);this.bl=1;this.bm=NaN;var a=this.bk;a.collectionChanged=$.ig.Delegate.prototype.combine(a.collectionChanged,this.ds.runOn(this));this.ar(new $$t.aq);this.ar().b($$t.$ad.$type,this.dw.runOn(this));this.ar().b($$t.$ae.$type,this.dx.runOn(this));this.ar().b($$t.$ac.$type,this.dt.runOn(this));this._ap=new $$t.ao;this.bt=function(b,c){$self.db(c.action(),c.position(),c.count(),c.propertyName())};this.du();this._ab=$$t.$v.$type;this._ax=new $$t.w(new $$t.b,this);this.legendItemTemplate(function(){var $ret=new $$a.k;$ret.render($$t.$c.c);$ret.measure($$t.$c.a);return $ret}());this.legendItemBadgeTemplate(function(){var $ret=new $$a.k;$ret.render($$t.$c.b);$ret.measure($$t.$c.d);return $ret}())},destroy:function(){this.provideContainer(null)},aq:null,ar:function(a){if(arguments.length===1){this.aq=a;return a}else{return this.aq}},du:function(){this.dp("BottomEdgeWidth",0,this.bottomEdgeWidth());this.dp("InnerLabelVisibility",$$a.$aj.getBox(this.innerLabelVisibility()),$$a.$aj.getBox(this.innerLabelVisibility()));this.dp("OuterLabelAlignment",$$t.$j.getBox(this.outerLabelAlignment()),$$t.$j.getBox(this.outerLabelAlignment()));this.dp("FunnelSliceDisplay",$$t.$f.getBox(this.funnelSliceDisplay()),$$t.$f.getBox(this.funnelSliceDisplay()));this.dp("UpperBezierControlPoint",this.upperBezierControlPoint(),this.upperBezierControlPoint());this.dp("LowerBezierControlPoint",this.lowerBezierControlPoint(),this.lowerBezierControlPoint());this.dv()},dv:function(){var a=new $$t.ay;a.g("ItemProvider");a.e(null);a.d(this);this._ap.i(a)},as:null,at:function(a){if(arguments.length===1){var b=this.as;this.as=a;this.dq(b,this.as);return a}else{return this.as}},_ap:null,_ax:null,dq:function(a,b){if(a!=null){var c=$b($$t.$ao.$type,a.b("ModelUpdateMessages"));if(c!=null){c.h(this.df.runOn(this))}this._ap.g()}if(b!=null){var d=$b($$t.$ao.$type,b.b("ModelUpdateMessages"));if(d!=null){d.e(this.df.runOn(this))}var e=$b($$t.$ao.$type,b.b("ConfigurationMessages"));this._ap.f(e)}},df:function(a){this.ar().c(a)},itemsSource:function(a){if(arguments.length===1){this.h($$t.$v.itemsSourceProperty,a);return a}else{return this.c($$t.$v.itemsSourceProperty)}},az:function(a){if(arguments.length===1){this.h($$t.$v.d2,a);return a}else{return this.c($$t.$v.d2)}},bt:null,db:function(a,b,c,d){var e=function(){var $ret=new $$t.ak;$ret.g(b);$ret.f(c);$ret.i(d);return $ret}();switch(a){case 3:e.c(3);break;case 1:e.c(1);break;case 0:e.c(0);break;case 2:e.c(2);break;case 4:e.c(4);break}this.dp("ValueColumn",this.a7(),this.a7());this.dp("InnerLabelColumn",this.a3(),this.a3());this.dp("OuterLabelColumn",this.a4(),this.a4());this._ap.i(e)},valueMemberPath:function(a){if(arguments.length===1){this.h($$t.$v.valueMemberPathProperty,a);return a}else{return this.c($$t.$v.valueMemberPathProperty)}},a7:function(a){if(arguments.length===1){if(this.a2!=a){var b=this.a2;this.a2=a;this.dp("ValueColumn",b,this.a2)}return a}else{return this.a2}},a2:null,brushes:function(a){if(arguments.length===1){this.h($$t.$v.brushesProperty,a);return a}else{return this.c($$t.$v.brushesProperty)}},outlines:function(a){if(arguments.length===1){this.h($$t.$v.outlinesProperty,a);return a}else{return this.c($$t.$v.outlinesProperty)}},bottomEdgeWidth:function(a){if(arguments.length===1){this.h($$t.$v.bottomEdgeWidthProperty,a);return a}else{return this.c($$t.$v.bottomEdgeWidthProperty)}},innerLabelMemberPath:function(a){if(arguments.length===1){this.h($$t.$v.innerLabelMemberPathProperty,a);return a}else{return this.c($$t.$v.innerLabelMemberPathProperty)}},a3:function(a){if(arguments.length===1){if(this.a0!=a){var b=this.a0;this.a0=a;this.dp("InnerLabelColumn",b,this.a3())}return a}else{return this.a0}},a0:null,outerLabelMemberPath:function(a){if(arguments.length===1){this.h($$t.$v.outerLabelMemberPathProperty,a);return a}else{return this.c($$t.$v.outerLabelMemberPathProperty)}},a4:function(a){if(arguments.length===1){if(this.a1!=a){var b=this.a1;this.a1=a;this.dp("OuterLabelColumn",b,this.a4())}return a}else{return this.a1}},a1:null,innerLabelVisibility:function(a){if(arguments.length===1){this.h($$t.$v.innerLabelVisibilityProperty,$$a.$aj.getBox(a));return a}else{return $g(this.c($$t.$v.innerLabelVisibilityProperty))}},outerLabelVisibility:function(a){if(arguments.length===1){this.h($$t.$v.outerLabelVisibilityProperty,$$a.$aj.getBox(a));return a}else{return $g(this.c($$t.$v.outerLabelVisibilityProperty))}},outerLabelAlignment:function(a){if(arguments.length===1){this.h($$t.$v.outerLabelAlignmentProperty,$$t.$j.getBox(a));return a}else{return $g(this.c($$t.$v.outerLabelAlignmentProperty))}},funnelSliceDisplay:function(a){if(arguments.length===1){this.h($$t.$v.funnelSliceDisplayProperty,$$t.$f.getBox(a));return a}else{return $g(this.c($$t.$v.funnelSliceDisplayProperty))}},bu:null,formatInnerLabel:function(a){if(arguments.length===1){var b=this.bu;this.bu=a;this.dp("FormatInnerLabel",b,a);return a}else{return this.bu}},bv:null,formatOuterLabel:function(a){if(arguments.length===1){var b=this.bv;this.bv=a;this.dp("FormatOuterLabel",b,a);return a}else{return this.bv}},transitionDuration:function(a){if(arguments.length===1){this.h($$t.$v.transitionDurationProperty,a);return a}else{return $h(this.c($$t.$v.transitionDurationProperty))}},isInverted:function(a){if(arguments.length===1){this.h($$t.$v.isInvertedProperty,a);return a}else{return this.c($$t.$v.isInvertedProperty)}},upperBezierControlPoint:function(a){if(arguments.length===1){this.h($$t.$v.upperBezierControlPointProperty,a);return a}else{return this.c($$t.$v.upperBezierControlPointProperty)}},lowerBezierControlPoint:function(a){if(arguments.length===1){this.h($$t.$v.lowerBezierControlPointProperty,a);return a}else{return this.c($$t.$v.lowerBezierControlPointProperty)}},useBezierCurve:function(a){if(arguments.length===1){this.h($$t.$v.useBezierCurveProperty,a);return a}else{return this.c($$t.$v.useBezierCurveProperty)}},allowSliceSelection:function(a){if(arguments.length===1){this.h($$t.$v.allowSliceSelectionProperty,a);return a}else{return this.c($$t.$v.allowSliceSelectionProperty)}},useUnselectedStyle:function(a){if(arguments.length===1){this.h($$t.$v.useUnselectedStyleProperty,a);return a}else{return this.c($$t.$v.useUnselectedStyleProperty)}},selectedSliceStyle:function(a){if(arguments.length===1){this.h($$t.$v.selectedSliceStyleProperty,a);return a}else{return this.c($$t.$v.selectedSliceStyleProperty)}},unselectedSliceStyle:function(a){if(arguments.length===1){this.h($$t.$v.unselectedSliceStyleProperty,a);return a}else{return this.c($$t.$v.unselectedSliceStyleProperty)}},toolTip:function(a){if(arguments.length===1){this.h($$t.$v.toolTipProperty,a);return a}else{return this.c($$t.$v.toolTipProperty)}},bk:null,bh:null,selectedItems:function(){return this.bk},legend:function(a){if(arguments.length===1){this.h($$t.$v.legendProperty,a);return a}else{return this.c($$t.$v.legendProperty)}},legendItemTemplate:function(a){if(arguments.length===1){this.h($$t.$v.legendItemTemplateProperty,a);return a}else{return this.c($$t.$v.legendItemTemplateProperty)}},legendItemBadgeTemplate:function(a){if(arguments.length===1){this.h($$t.$v.legendItemBadgeTemplateProperty,a);return a}else{return this.c($$t.$v.legendItemBadgeTemplateProperty)}},useOuterLabelsForLegend:function(a){if(arguments.length===1){this.h($$t.$v.useOuterLabelsForLegendProperty,a);return a}else{return this.c($$t.$v.useOuterLabelsForLegendProperty)}},b2:null,textStyle:function(a){if(arguments.length===1){var b=this.b2;this.b2=a;this.dp("TextStyle",b,a);return a}else{return this.b2}},b1:null,outerLabelTextStyle:function(a){if(arguments.length===1){var b=this.b1;this.b1=a;this.dp("OuterLabelTextStyle",b,a);return a}else{return this.b1}},outlineThickness:function(a){if(arguments.length===1){this.h($$t.$v.outlineThicknessProperty,a);return a}else{return this.c($$t.$v.outlineThicknessProperty)}},onDetachedFromUI:function(){this._ax.e().onDetachedFromUI()},onAttachedToUI:function(){this._ax.e().onAttachedToUI(this)},dp:function(a,b,c){if(this.ba(a,b,c)||this.a9(a,b,c)||this.bc(a,b,c)||this.bb(a,b,c)){return}if(a=="PixelScalingRatio"){if($.ig.util.isNaN($.ig.DeviceUtils.prototype.a(this.pixelScalingRatio()))){this.bn(1)}else{this.bn($.ig.DeviceUtils.prototype.a(this.pixelScalingRatio()))}}this._ap.i(function(){var $ret=new $$t.ay;$ret.g(a);$ret.e(b);$ret.d(c);return $ret}())},a9:function(a,b,c){if(a=="Brushes"||a=="Outlines"){this._ap.i(function(){var $ret=new $$t.ay;$ret.g(a);$ret.e(b==null?null:b);$ret.d(c==null?null:c);return $ret}());return true}return false},ba:function(a,b,c){var $self=this;if(a=="ItemsSource"){if(b!=null){this.az(null)}if(c!=null){this.selectedItems().clear();this.az(function(){var $ret=new $.ig.FastItemsSource;$ret.itemsSource($self.itemsSource());return $ret}())}return true}else if(a=="FastItemsSource"){if(b!=null){var d=b;d.event=$.ig.Delegate.prototype.remove(d.event,this.bt)}if(c!=null){var e=c;e.event=$.ig.Delegate.prototype.combine(e.event,this.bt)}this.dd(a,b,c);return true}else if(a=="ValueMemberPath"||a=="InnerLabelMemberPath"||a=="OuterLabelMemberPath"){this.dd(a,b,c);return false}return false},a5:function(a,b){return a.registerColumn(b,null,false)},a6:function(a,b){return a.registerColumnObject(b,null,false)},dd:function(a,b,c){if(this.az()==null){var d=$b($.ig.FastItemsSource.prototype.$type,b);if(d!=null){if(this.a7()!=null){d.deregisterColumn(this.a7())}if(this.a3()!=null){d.deregisterColumn(this.a3())}if(this.a4()!=null){d.deregisterColumn(this.a4())}this.a7(null);this.a3(null);this.a4(null)}return}if(b!=null&&typeof b==="string"){switch(a){case"ValueMemberPath":this.az().deregisterColumn(this.a7());this.a7(null);break;case"InnerLabelMemberPath":this.az().deregisterColumn(this.a3());this.a3(null);break;case"OuterLabelMemberPath":this.az().deregisterColumn(this.a4());this.a4(null);break}}if(c!=null&&$b($.ig.FastItemsSource.prototype.$type,c)!==null){if(this.valueMemberPath()!=null){this.a7(this.a5(c,this.valueMemberPath()))}if(this.innerLabelMemberPath()!=null){this.a3(this.a6(c,this.innerLabelMemberPath()))}if(this.outerLabelMemberPath()!=null){this.a4(this.a6(c,this.outerLabelMemberPath()))}}if(c!=null&&typeof c==="string"){switch(a){case"ValueMemberPath":this.a7(this.a5(this.az(),this.valueMemberPath()));break;case"InnerLabelMemberPath":this.a3(this.a6(this.az(),this.innerLabelMemberPath()));break;case"OuterLabelMemberPath":this.a4(this.a6(this.az(),this.outerLabelMemberPath()));break}}},bc:function(a,b,c){if(a=="InnerLabelVisibility"||a=="OuterLabelVisibility"){var d=$g(b)==0;var e=$g(c)==0;this._ap.i(function(){var $ret=new $$t.ay;$ret.g(a);$ret.d(e);$ret.e(d);return $ret}());return true}return false},bb:function(a,b,c){if(a=="TransitionDuration"){var d=new $$t.ay;d.g(a);if(b!=null){d.e(b)}if(c!=null){d.d(c)}this._ap.i(d);return true}return false},dw:function(a){var b=a;if(this.sliceClicked!=null){var c=new $$t.r;c.index(b.c());c.bounds(b._f);if(this.az().count()>b.c()&&b.c()>=0){c.item(this.az().item(b.c()))}this.sliceClicked(this,c)}},dx:function(a){var b=a;switch(b.c()){case 1:{if(this.sliceEnter!=null){var c=new $$t.t;c.index(b.e());c.bounds(b._h);if(this.az().count()>b.e()&&b.e()>=0){c.item(this.az().item(b.e()))}this.sliceEnter(this,c)}break}case 0:{if(this.sliceLeave!=null){var d=new $$t.t;d.index(b.e());d.bounds(b._h);if(this.az().count()>b.e()&&b.e()>=0){d.item(this.az().item(b.e()))}this.sliceLeave(this,d)}break}case 2:{if(this.sliceHover!=null){var e=new $$t.t;e.index(b.e());e.bounds(b._h);if(this.az().count()>b.e()&&b.e()>=0){e.item(this.az().item(b.e()))}this.sliceHover(this,e)}break}}},sliceClicked:null,sliceEnter:null,sliceLeave:null,sliceHover:null,dt:function(a){},ds:function(a,b){},de:function(a,b,c,d){var e=new $$4.x($.ig.$op.$type,0);var g=a.getEnumerator();while(g.moveNext()){var f=g.current();if(!d.containsKey(f)){e.add1(f)}}var i=e.getEnumerator();while(i.moveNext()){var h=i.current();a.remove(h);b.remove(h)}var k=c.getEnumerator();while(k.moveNext()){var j=k.current();if(!b.containsKey(j)){a.add(j);b.add(j,j)}}},getItem:function(a){return this.az().item(a)},count:function(){return this.az()!=null?this.az().count():0},bz:null,provideContainer:function(a){var b=this.bz;this.bz=a;this.dp("Container",b,this.bz)},notifyResized:function(){this._ax.g();this._ap.i(new $$t.a6)},notifySetItem:function(source_,a,b,c){this.dh(source_,new $$4.ae(2,2,c,b,a))},notifyClearItems:function(source_){this.dh(source_,new $$4.ae(0,4))},notifyInsertItem:function(source_,a,b){this.dh(source_,new $$4.ae(1,0,b,a))},notifyRemoveItem:function(source_,a,b){this.dh(source_,new $$4.ae(1,1,b,a))},dh:function(s_,a){if(s_.dataView&&s_.dataSource){s_=s_.dataView()}if(s_==this.itemsSource()){var b=this.az();if(b!=null){b.handleCollectionChanged(a)}}},ay:function(){var a=this._ax;return a==null?null:a.c()},av:function(){var a=this.ay();return a==null?null:a.ai()},selectedIndexes:function(a){if(arguments.length===1){var b=this.av();if(b==null){return}var c=this.ay();b.f();var d=a==null?0:a.length;while(d-- >0){b.k(a[d],c.am()._a.item(a[d]))}c.bj(true);c.df();return a}else{var a=this.av();return a==null?null:a.a()}},toggleSelection:function(a){var b=this.av();if(b==null){return}var c=this.ay();var d=c.am()._a.item(a);if(d!=null){c.ai().k(a,d);c.bj(true);c.df()}},exportVisualData:function(){var a=new $$t.ba;var b=this._ax.c()._ag;if(b!=null){for(var c=0;c<b.count();c++){var d=b.__inner[c].d();a.slices().add(d)}}a.opacity(this.__opacity);a.isInverted(this.isInverted());a.selectedItems(this.selectedItems());a.name(this.name());a.viewport(new $.ig.RectData(0,0,this._ax.c().b4(),this._ax.c().b3()));return a},exportSerializedVisualData:function(){var a=this.exportVisualData();a.scaleByViewport();return a.serialize()},resolveLegendIndex:function(){return-1},forSubItems:function(a){},bm:0,pixelScalingRatio:function(a){if(arguments.length===1){if($.ig.util.isNaN(a)||a==0){return}var b=this.bm;this.bm=a;this.dp("PixelScalingRatio",b,this.bm);return a}else{return this.bm}},bl:0,bn:function(a){if(arguments.length===1){var b=this.bl;this.bl=a;if(this.bl!=b){this.dp("ActualPixelScalingRatio",b,this.bl)}return a}else{return this.bl}},container:function(){return this},isStacked:function(){return false},isVertical:function(){return false},isUsableInLegend:function(){return true},hasSubItems:function(){return false},hasMarkers:function(){return false},eq:null,outerLabelTextColor:function(a){if(arguments.length===1){var b=this.outerLabelTextColor();if(a!=b){this.eq=a;this.dp("OuterLabelTextColor",b,this.outerLabelTextColor())}return a}else{return this.eq}},er:null,textColor:function(a){if(arguments.length===1){var b=this.textColor();if(a!=b){this.er=a;this.dp("LabelTextColor",b,this.textColor())}return a}else{return this.er}},$type:new $.ig.Type("XamFunnelChart",$$a.$f.$type,[$$t.$g.$type,$.ig.ILegendOwner.prototype.$type,$.ig.ILegendTemplateProvider.prototype.$type,$.ig.ILegendSeries.prototype.$type])},true);$c("XamFunnelConnector:w","Object",{d:null,b:null,e:function(){return this.d},c:function(){return this.b},a:null,g:function(){this.c().at.initializeScalingRatio(this.a)},init:function(a,b){$.ig.$op.init.call(this);var c=new $$t.a0;c.c("ConfigurationMessages",new $$t.ao);c.c("RenderingMessages",new $$t.ao);c.c("InteractionMessages",new $$t.ao);c.c("ModelUpdateMessages",new $$t.ao);a.initializeScalingRatio(b);var d=new $$t.q;d.at=a;d.ac(c);a.i(c);this.b=d;this.d=a;b.at(c);this.a=b;c.c("Model",this.a)},h:function(a){this.d=a;var b=this.b.ac();this.b.ac(null);this.b.ac(b);this.d.i(b)},f:function(){if(this.d!=null){this.d.i(null)}},$type:new $.ig.Type("XamFunnelConnector",$.ig.$ot)
},true);$c("XamFunnelSlice:x","ContentControl",{init:function(){$$a.$g.init.call(this);this._ab=$$t.$x.$type;this.g($$t.$x.ar,new $$a.ao(1,"Fill"));this.g($$t.$x.as,new $$a.ao(1,"Outline"))},_ax:null,_ai:null,aj:function(a){if(arguments.length===1){this.h($$t.$x.aw,a);return a}else{return this.c($$t.$x.aw)}},a0:function(a){if(arguments.length===1){this.h($$t.$x.at,a);return a}else{return this.c($$t.$x.at)}},a1:function(a){if(arguments.length===1){this.h($$t.$x.av,a);return a}else{return this.c($$t.$x.av)}},ay:function(a){if(arguments.length===1){this.h($$t.$x.ar,a);return a}else{return this.c($$t.$x.ar)}},az:function(a){if(arguments.length===1){this.h($$t.$x.as,a);return a}else{return this.c($$t.$x.as)}},a2:function(a){if(arguments.length===1){this.h($$t.$x.au,$$a.$aj.getBox(a));return a}else{return $g(this.c($$t.$x.au))}},aq:function(a,b,c){var d;switch(a){case"Fill":d=new $$a.ao(1,"Fill");if(c!=null){d.d(this)}this.g($$t.$x.ar,d);break;case"Outline":d=new $$a.ao(1,"Outline");if(c!=null){d.d(this)}this.g($$t.$x.as,d);break}},$type:new $.ig.Type("XamFunnelSlice",$$a.$g.$type)},true);$c("PointList:y","List$1",{init:function(){$$4.$x.init.call(this,$$a.$y.$type,0)},$type:new $.ig.Type("PointList",$$4.$x.$type.specialize($$a.$y.$type))},true);$c("Bezier:bb","Object",{h:0,j:function(){return this.h},m:null,q:function(){return this.m},n:null,r:function(){return this.n},o:null,s:function(){return this.o},p:null,t:function(){return this.p},i:0,init:function(a,b,c,d,e,f){this.i=1.7976931348623157e308;this.g=new $$4.aa($$t.$bd.$type);$.ig.$op.init.call(this);this.m=a;this.n=b;this.o=c;this.p=d;this.h=e;this.i=f;this._d=this.c()},_d:false,_e:null,_f:null,a:function(a){var b=1-a;var c=b*b;var d=c*b;var e=a*a;var f=e*a;var g={__x:d*this.m.__x+3*c*a*this.n.__x+3*b*e*this.o.__x+f*this.p.__x,__y:d*this.m.__y+3*c*a*this.n.__y+3*b*e*this.o.__y+f*this.p.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var h=new $$t.be;h.c=g;h.a=a;return h},g:null,c:function(){this._e=new $$4.x($$t.$be.$type,0);this._f=new $$4.x($$t.$be.$type,0);var a=new $$t.bd;a.b=0;a.a=1;this.g.clear();this.g.push(a);var b=0;while(this.g.count()>0){var c=this.g.pop();var d=this.a(c.b);var e=this.a(c.a);var f=(e.c.__x-d.c.__x)*(e.c.__x-d.c.__x)+(e.c.__y-d.c.__y)*(e.c.__y-d.c.__y);if(f<this.h){d.b=b++;e.b=b++;this._e.add(d);this._e.add(e);if(d.c.__x>this.i||e.c.__x>this.i){return false}}else{var g=(c.b+c.a)/2;var h=new $$t.bd;h.b=c.b;h.a=g;var i=new $$t.bd;i.b=g;i.a=c.a;this.g.push(i);this.g.push(h)}}var k=this._e.getEnumerator();while(k.moveNext()){var j=k.current();this._f.add(j)}this.l();return true},l:function(){this._f.sort2(function(a,b){return a.c.__y.compareTo(b.c.__y)})},b:function(a){var b=this.k(function(c){if(a<c.c.__y){return-1}if(a>c.c.__y){return 1}return 0});if(b<0){b=~b}if(b<0){b=0}if(b>this._f.count()-1){b=this._f.count()-1}var c=100000001;var d=1e8;var e=100000002;d=Math.abs(this._f.__inner[b].c.__y-a);if(b-1>=0){c=Math.abs(this._f.__inner[b-1].c.__y-a)}if(b+1<this._f.count()){e=Math.abs(this._f.__inner[b+1].c.__y-a)}if(d<=c&&d<=e){return this._f.__inner[b]}if(c<=d&&c<=e&&b-1>0){return this._f.__inner[b-1]}if(e<=c&&e<=d&&b+1<this._f.count()){return this._f.__inner[b+1]}return this._f.__inner[b]},k:function(a){var b=0;var c=this._f.count()-1;while(b<=c){var d=b+(c-b>>1);var e=a(this._f.__inner[d]);if(e<0){c=d-1}else if(e>0){b=d+1}else{return d}}return~b},$type:new $.ig.Type("Bezier",$.ig.$ot)},true);$c("BezierOp:bd","Object",{init:function(){$.ig.$op.init.call(this)},b:0,a:0,$type:new $.ig.Type("BezierOp",$.ig.$ot)},true);$c("BezierPoint:be","Object",{init:function(){$.ig.$op.init.call(this)},c:null,a:0,b:0,$type:new $.ig.Type("BezierPoint",$.ig.$ot)},true);$c("DoubleColumn:bf","Object",{init:function(){$.ig.$op.init.call(this)},_a:null,b:function(a){this._a=a},$type:new $.ig.Type("DoubleColumn",$.ig.$ot)},true);$c("StringColumn:bg","Object",{init:function(){$.ig.$op.init.call(this)},_a:null,b:function(a){this._a=a},$type:new $.ig.Type("StringColumn",$.ig.$ot)},true);$c("ObjectColumn:bh","Object",{init:function(){$.ig.$op.init.call(this)},_a:null,b:function(a){this._a=a},$type:new $.ig.Type("ObjectColumn",$.ig.$ot)},true);$c("IntColumn:bi","Object",{init:function(){$.ig.$op.init.call(this);this.values(new $$4.x($$0.$aw.$type,0))},populate:function(a){for(var b=0;b<a;b++){this.values().add(b)}},_values:null,values:function(a){if(arguments.length===1){this._values=a;return a}else{return this._values}},sort:function(a){this.values().sort2(function(b,c){return a(b,c)})},getEnumerator:function(){return this.values().getEnumerator()},$type:new $.ig.Type("IntColumn",$.ig.$ot,[$$0.$bt.$type])},true);$c("FunnelSliceVisualData:a8","Object",{init:function(){$.ig.$op.init.call(this);this.appearance(new $.ig.PrimitiveAppearanceData);this.slicePoints(new Array(0));this.innerLabelAppearance(new $.ig.LabelAppearanceData);this.outerLabelBounds($.ig.RectData.prototype.b($$a.$ae.empty()));this.innerLabelBounds($.ig.RectData.prototype.b($$a.$ae.empty()))},_isSelected:false,isSelected:function(a){if(arguments.length===1){this._isSelected=a;return a}else{return this._isSelected}},_index:0,index:function(a){if(arguments.length===1){this._index=a;return a}else{return this._index}},_top:0,top:function(a){if(arguments.length===1){this._top=a;return a}else{return this._top}},_bottom:0,bottom:function(a){if(arguments.length===1){this._bottom=a;return a}else{return this._bottom}},_sliceCenterPoint:null,sliceCenterPoint:function(a){if(arguments.length===1){this._sliceCenterPoint=a;return a}else{return this._sliceCenterPoint}},_upperRight:null,upperRight:function(a){if(arguments.length===1){this._upperRight=a;return a}else{return this._upperRight}},_lowerRight:null,lowerRight:function(a){if(arguments.length===1){this._lowerRight=a;return a}else{return this._lowerRight}},_upperLeft:null,upperLeft:function(a){if(arguments.length===1){this._upperLeft=a;return a}else{return this._upperLeft}},_lowerLeft:null,lowerLeft:function(a){if(arguments.length===1){this._lowerLeft=a;return a}else{return this._lowerLeft}},_height:0,height:function(a){if(arguments.length===1){this._height=a;return a}else{return this._height}},_upperWidth:0,upperWidth:function(a){if(arguments.length===1){this._upperWidth=a;return a}else{return this._upperWidth}},_lowerWidth:0,lowerWidth:function(a){if(arguments.length===1){this._lowerWidth=a;return a}else{return this._lowerWidth}},_innerLabel:null,innerLabel:function(a){if(arguments.length===1){this._innerLabel=a;return a}else{return this._innerLabel}},_outerLabel:null,outerLabel:function(a){if(arguments.length===1){this._outerLabel=a;return a}else{return this._outerLabel}},_sliceBorderBrush:null,sliceBorderBrush:function(a){if(arguments.length===1){this._sliceBorderBrush=a;return a}else{return this._sliceBorderBrush}},_sliceBorderThickness:0,sliceBorderThickness:function(a){if(arguments.length===1){this._sliceBorderThickness=a;return a}else{return this._sliceBorderThickness}},_appearance:null,appearance:function(a){if(arguments.length===1){this._appearance=a;return a}else{return this._appearance}},_innerLabelAppearance:null,innerLabelAppearance:function(a){if(arguments.length===1){this._innerLabelAppearance=a;return a}else{return this._innerLabelAppearance}},_outerLabelAppearance:null,outerLabelAppearance:function(a){if(arguments.length===1){this._outerLabelAppearance=a;return a}else{return this._outerLabelAppearance}},_slicePoints:null,slicePoints:function(a){if(arguments.length===1){this._slicePoints=a;return a}else{return this._slicePoints}},_innerLabelPosition:null,innerLabelPosition:function(a){if(arguments.length===1){this._innerLabelPosition=a;return a}else{return this._innerLabelPosition}},_outerLabelPosition:null,outerLabelPosition:function(a){if(arguments.length===1){this._outerLabelPosition=a;return a}else{return this._outerLabelPosition}},_outerLabelBounds:null,outerLabelBounds:function(a){if(arguments.length===1){this._outerLabelBounds=a;return a}else{return this._outerLabelBounds}},_innerLabelBounds:null,innerLabelBounds:function(a){if(arguments.length===1){this._innerLabelBounds=a;return a}else{return this._innerLabelBounds}},_isVisibile:false,isVisibile:function(a){if(arguments.length===1){this._isVisibile=a;return a}else{return this._isVisibile}},scaleByViewport:function(a){if(this.outerLabelBounds()!=null){var b=(this.outerLabelBounds().left()-a.left())/a.width();var c=(this.outerLabelBounds().left()+this.outerLabelBounds().width()-a.left())/a.width();var d=(this.outerLabelBounds().top()-a.top())/a.height();var e=(this.outerLabelBounds().top()+this.outerLabelBounds().height()-a.top())/a.height();this.outerLabelBounds(new $.ig.RectData(b,d,c-b,e-d))}if(this.outerLabelPosition()!=null){var f=(this.outerLabelPosition().x()-a.left())/a.width();var g=(this.outerLabelPosition().y()-a.top())/a.height();this.outerLabelPosition(new $.ig.PointData(f,g))}if(this.innerLabelBounds()!=null){var h=(this.innerLabelBounds().left()-a.left())/a.width();var i=(this.innerLabelBounds().left()+this.innerLabelBounds().width()-a.left())/a.width();var j=(this.innerLabelBounds().top()-a.top())/a.height();var k=(this.innerLabelBounds().top()+this.innerLabelBounds().height()-a.top())/a.height();this.innerLabelBounds(new $.ig.RectData(h,j,i-h,k-j))}if(this.innerLabelPosition()!=null){var l=(this.innerLabelPosition().x()-a.left())/a.width();var m=(this.innerLabelPosition().y()-a.top())/a.height();this.innerLabelPosition(new $.ig.PointData(l,m))}var n=new Array(this.slicePoints().length);var o=0;var r=this.slicePoints();for(var q=0;q<r.length;q++){var p=r[q];var s=(p.x()-a.left())/a.width();var t=(p.y()-a.top())/a.height();n[o]=new $.ig.PointData(s,t);o++}this.slicePoints(n)},serialize:function(){var a=new $$6.aj(0);a.u("{");a.u("index: "+this.index()+", ");if(this.innerLabel()!=null){a.u('innerLabel: "'+this.innerLabel()+'", ')}if(this.outerLabel()!=null){a.u('outerLabel: "'+this.innerLabel()+'", ')}if(this.appearance()!=null){a.u("appearance: "+this.appearance().serialize()+", ")}if(this.innerLabelAppearance()!=null){a.u("innerLabelAppearance: "+this.innerLabelAppearance().serialize()+", ")}if(this.outerLabelAppearance()!=null){a.u("outerLabelAppearance: "+this.outerLabelAppearance().serialize()+", ")}if(this.slicePoints()!=null){a.u("slicePoints: [");for(var b=0;b<this.slicePoints().length;b++){a.u("{ x: "+this.slicePoints()[b].x()+", y: "+this.slicePoints()[b].y()+" }");if(b<this.slicePoints().length-1){a.l(",")}}a.u("], ")}if(this.innerLabelBounds()!=null){a.u("innerLabelBounds: { left: "+this.innerLabelBounds().left()+", top: "+this.innerLabelBounds().top()+", width: "+this.innerLabelBounds().width()+", height: "+this.innerLabelBounds().height()+"}, ")}if(this.outerLabelBounds()!=null){a.u("outerLabelBounds: { left: "+this.outerLabelBounds().left()+", top: "+this.outerLabelBounds().top()+", width: "+this.outerLabelBounds().width()+", height: "+this.outerLabelBounds().height()+"}, ")}if(this.innerLabelPosition()!=null){a.u("innerLabelPosition: { x: "+this.innerLabelPosition().x()+", y: "+this.innerLabelPosition().y()+"}, ")}if(this.outerLabelPosition()!=null){a.u("outerLabelPosition: { x: "+this.outerLabelPosition().x()+", y: "+this.outerLabelPosition().y()+"}, ")}a.u("isSelected: "+(this.isSelected()?"true":"false"));a.u("}");return a.toString()},$type:new $.ig.Type("FunnelSliceVisualData",$.ig.$ot)},true);$c("FunnelSliceVisualDataList:a9","List$1",{init:function(){$$4.$x.init.call(this,$$t.$a8.$type,0)},$type:new $.ig.Type("FunnelSliceVisualDataList",$$4.$x.$type.specialize($$t.$a8.$type))},true);$c("FunnelChartVisualData:ba","Object",{init:function(){$.ig.$op.init.call(this);this.dipScalingRatio(1);this.slices(new $$t.a9)},_slices:null,slices:function(a){if(arguments.length===1){this._slices=a;return a}else{return this._slices}},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},_viewport:null,viewport:function(a){if(arguments.length===1){this._viewport=a;return a}else{return this._viewport}},_isInverted:false,isInverted:function(a){if(arguments.length===1){this._isInverted=a;return a}else{return this._isInverted}},_backgroundColor:null,backgroundColor:function(a){if(arguments.length===1){this._backgroundColor=a;return a}else{return this._backgroundColor}},_foregroundColor:null,foregroundColor:function(a){if(arguments.length===1){this._foregroundColor=a;return a}else{return this._foregroundColor}},_opacity:0,opacity:function(a){if(arguments.length===1){this._opacity=a;return a}else{return this._opacity}},_borderBrush:null,borderBrush:function(a){if(arguments.length===1){this._borderBrush=a;return a}else{return this._borderBrush}},_selectedItems:null,selectedItems:function(a){if(arguments.length===1){this._selectedItems=a;return a}else{return this._selectedItems}},_dipScalingRatio:0,dipScalingRatio:function(a){if(arguments.length===1){this._dipScalingRatio=a;return a}else{return this._dipScalingRatio}},scaleByViewport:function(){var b=this.slices().getEnumerator();while(b.moveNext()){var a=b.current();a.scaleByViewport(this.viewport())}},serialize:function(){var a=new $$6.aj(0);a.u("{");if(this.name()!=null){a.u('name: "'+this.name()+'", ')}else{a.u('name: "", ')}if(this.slices()!=null&&this.slices().count()>0){a.u("slices: [");for(var b=0;b<this.slices().count();b++){var c=this.slices().__inner[b].serialize();a.l(c);if(b<this.slices().count()-1){a.u(", ")}}a.u("],")}a.u("viewport: {");a.l("left: "+this.viewport().left()+", top: "+this.viewport().top()+", width: "+this.viewport().width()+", height: "+this.viewport().height());a.u("},");a.l("dipScalingRatio: "+this.dipScalingRatio().toString());a.u("}");return a.toString()},$type:new $.ig.Type("FunnelChartVisualData",$.ig.$ot)},true);$c("Message:an","Object",{init:function(){$.ig.$op.init.call(this)},toString:function(){return this.getType().toString()},$type:new $.ig.Type("Message",$.ig.$ot)},true);$c("InteractionMessage:am","Message",{init:function(){$$t.$an.init.call(this)},$type:new $.ig.Type("InteractionMessage",$$t.$an.$type)},true);$c("LabelSizeChangedMessage:z","InteractionMessage",{init:function(){this._d=new $$a.af;this._e=new $$a.af;$$t.$am.init.call(this)},_c:0,_d:null,_e:null,_b:false,$type:new $.ig.Type("LabelSizeChangedMessage",$$t.$am.$type)},true);$c("RenderingMessage:az","Message",{init:function(){$$t.$an.init.call(this)},d:null,e:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},b:false,c:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},$type:new $.ig.Type("RenderingMessage",$$t.$an.$type)},true);$c("RenderOuterLabelMessage:aa","RenderingMessage",{init:function(){$$t.$az.init.call(this)},i:null,j:function(a){if(arguments.length===1){this.i=a;return a}else{return this.i}},k:null,l:function(a){if(arguments.length===1){this.k=a;return a}else{return this.k}},g:0,h:function(a){if(arguments.length===1){this.g=a;return a}else{return this.g}},toString:function(){return"RenderOuterLabelMessage["+this.j().toString()+", "+this.l().toString()+", "+this.h().toString()+"]"},_f:null,$type:new $.ig.Type("RenderOuterLabelMessage",$$t.$az.$type)},true);$c("RenderSliceMessage:ab","RenderingMessage",{init:function(){this.h=1;$$t.$az.init.call(this)},f:null,g:function(a){if(arguments.length===1){this.f=a;return a}else{return this.f}},h:0,toString:function(){return"RenderSliceMessage["+this.g().toString()+"]"},$type:new $.ig.Type("RenderSliceMessage",$$t.$az.$type)},true);$c("ModelUpdateMessage:as","Message",{init:function(){$$t.$an.init.call(this)},$type:new $.ig.Type("ModelUpdateMessage",$$t.$an.$type)},true);$c("SelectedItemsChangedMessage:ac","ModelUpdateMessage",{init:function(){$$t.$as.init.call(this)},b:null,c:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},toString:function(){var a="SelectedItemsChangedMessage[";var d=this.c();for(var c=0;c<d.length;c++){var b=d[c];a+=b.toString()}a+="]";return a},$type:new $.ig.Type("SelectedItemsChangedMessage",$$t.$as.$type)},true);$c("SliceClickedMessage:ad","ModelUpdateMessage",{init:function(){$$t.$as.init.call(this)},b:0,c:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},d:null,item:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},_f:null,toString:function(){return"SliceClickedMessage["+this.c().toString()+", "+this.item().toString()+"]"},$type:new $.ig.Type("SliceClickedMessage",$$t.$as.$type)},true);$c("SliceMouseMessage:ae","ModelUpdateMessage",{init:function(){$$t.$as.init.call(this)},d:0,e:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},f:null,item:function(a){if(arguments.length===1){this.f=a;return a}else{return this.f}},b:0,c:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},_h:null,toString:function(){return"SliceMouseMessage["+this.e().toString()+", "+this.item().toString()+", "+$$t.$af.$getName(this.c())+"]"},$type:new $.ig.Type("SliceMouseMessage",$$t.$as.$type)},true);$c("ConfigurationMessage:aj","Message",{init:function(){$$t.$an.init.call(this)},$type:new $.ig.Type("ConfigurationMessage",$$t.$an.$type)},true);$c("UserSelectedItemsChangedMessage:ag","ConfigurationMessage",{init:function(){$$t.$aj.init.call(this)},b:null,c:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},toString:function(){var a="UserSelectedItemsChanged[";var d=this.c();for(var c=0;c<d.length;c++){var b=d[c];a+=b.toString()}a+="]";return a},$type:new $.ig.Type("UserSelectedItemsChangedMessage",$$t.$aj.$type)},true);$c("ClearMessage:ah","RenderingMessage",{init:function(){$$t.$az.init.call(this)},$type:new $.ig.Type("ClearMessage",$$t.$az.$type)},true);$c("ClearTooltipMessage:ai","RenderingMessage",{init:function(){$$t.$az.init.call(this)},$type:new $.ig.Type("ClearTooltipMessage",$$t.$az.$type)},true);$c("DataUpdatedMessage:ak","ConfigurationMessage",{init:function(){$$t.$aj.init.call(this)},b:0,c:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},e:0,g:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},d:0,f:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},h:null,i:function(a){if(arguments.length===1){this.h=a;return a}else{return this.h}},toString:function(){return"DataUpdatedMessage["+$$t.$bk.$getName(this.c())+","+this.g().toString()+", "+this.f().toString()+", "+this.i().toString()+"]"},$type:new $.ig.Type("DataUpdatedMessage",$$t.$aj.$type)},true);$c("FrameRenderCompleteMessage:al","RenderingMessage",{init:function(){$$t.$az.init.call(this)},$type:new $.ig.Type("FrameRenderCompleteMessage",$$t.$az.$type)},true);$c("MessageChannel:ao","Object",{init:function(){this.c=new $$4.y($$t.$an.$type);$.ig.$op.init.call(this)},c:null,i:function(a){if(this.messageSent!=null){this.messageSent(a)}else{this.c.enqueue(a)}},e:function(a){this.messageSent=$.ig.Delegate.prototype.combine(this.messageSent,a);while(this.c.count()>0){var b=this.c.dequeue();this.messageSent(b)}},messageSent:null,h:function(a){this.messageSent=$.ig.Delegate.prototype.remove(this.messageSent,a)},a:null,f:function(a){this.a=a;this.e(this.j.runOn(this))},g:function(){if(this.a==null){return}this.h(this.j.runOn(this));this.a=null},j:function(a){if(this.a!=null){this.a.i(a)}},toString:function(){return"MessageQueue"},$type:new $.ig.Type("MessageChannel",$.ig.$ot)},true);$c("MessageHandler:aq","Object",{init:function(){this.a=new $$4.h($$0.$bc.$type,$$t.$ar.$type,0);$.ig.$op.init.call(this)},a:null,b:function(a,b){this.a.add(a,b)},c:function(a){var $self=this;var b;if(function(){var c=$self.a.tryGetValue(a.getType(),b);b=c.p1;return c.ret}()){b(a)}},$type:new $.ig.Type("MessageHandler",$.ig.$ot)},true);$c("MouseButtonMessage:at","InteractionMessage",{init:function(){$$t.$am.init.call(this)},b:0,c:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},d:0,e:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},g:null,h:function(a){if(arguments.length===1){this.g=a;return a}else{return this.g}},toString:function(){return"MouseButtonMessage["+$$t.$av.$getName(this.c())+", "+$$t.$au.$getName(this.e())+", "+this.h().toString()+"]"},_f:0,$type:new $.ig.Type("MouseButtonMessage",$$t.$am.$type)},true);$c("MouseLeaveMessage:aw","InteractionMessage",{init:function(){$$t.$am.init.call(this)},b:null,c:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},toString:function(){return"MouseLeaveMessage["+this.c().toString()+"]"},$type:new $.ig.Type("MouseLeaveMessage",$$t.$am.$type)},true);$c("MouseMoveMessage:ax","InteractionMessage",{init:function(){$$t.$am.init.call(this)},b:null,c:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},toString:function(){return"MouseMoveMessage["+this.c().toString()+"]"},$type:new $.ig.Type("MouseMoveMessage",$$t.$am.$type)},true);$c("PropertyChangedMessage:ay","ConfigurationMessage",{init:function(){$$t.$aj.init.call(this)},f:null,g:function(a){if(arguments.length===1){this.f=a;return a}else{return this.f}},c:null,e:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},b:null,d:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},toString:function(){var a="null";var b="null";if(this.e()!=null){a=this.e().toString()}if(this.d()!=null){b=this.d().toString()}return"PropertyChangedMessage["+this.g().toString()+", "+a+", "+b+"]"},$type:new $.ig.Type("PropertyChangedMessage",$$t.$aj.$type)},true);$c("ServiceProvider:a0","Object",{init:function(){this.a=new $$0.bs(0);$.ig.$op.init.call(this)},a:null,c:function(a,b){this.a.item(a,b)},b:function(a){return this.a.item(a)},$type:new $.ig.Type("ServiceProvider",$.ig.$ot)},true);$c("SetAreaSizeMessage:a1","RenderingMessage",{init:function(){$$t.$az.init.call(this)},f:false,h:function(a){if(arguments.length===1){this.f=a;return a}else{return this.f}},j:0,l:function(a){if(arguments.length===1){this.j=a;return a}else{return this.j}},g:false,i:function(a){if(arguments.length===1){this.g=a;return a}else{return this.g}},k:0,m:function(a){if(arguments.length===1){this.k=a;return a}else{return this.k}},toString:function(){return"SetAreaSizeMessage["+this.h().toString()+", "+this.l().toString()+", "+this.i().toString()+", "+this.m().toString()+"]"},$type:new $.ig.Type("SetAreaSizeMessage",$$t.$az.$type)},true);$c("TemplateChangedMessage:a2","RenderingMessage",{init:function(){$$t.$az.init.call(this)},f:null,g:function(a){if(arguments.length===1){this.f=a;return a}else{return this.f}},h:null,i:function(a){if(arguments.length===1){this.h=a;return a}else{return this.h}},toString:function(){return"TemplateChangedMessage["+this.g().toString()+", "+this.i().toString()+"]"},$type:new $.ig.Type("TemplateChangedMessage",$$t.$az.$type)},true);$c("TooltipUpdateMessage:a3","RenderingMessage",{init:function(){$$t.$az.init.call(this)},h:null,i:function(a){if(arguments.length===1){this.h=a;return a}else{return this.h}},f:null,g:function(a){if(arguments.length===1){this.f=a;return a}else{return this.f}},toString:function(){return"TooltipUpdateMessage["+this.i().toString()+", "+this.g().toString()+"]"},$type:new $.ig.Type("TooltipUpdateMessage",$$t.$az.$type)},true);$c("TooltipValueChangedMessage:a4","RenderingMessage",{init:function(){$$t.$az.init.call(this)},f:null,g:function(a){if(arguments.length===1){this.f=a;return a}else{return this.f}},toString:function(){return"TooltipValueChangedMessage["+this.g().toString()+"]"},$type:new $.ig.Type("TooltipValueChangedMessage",$$t.$az.$type)},true);$c("ViewportChangedMessage:a5","InteractionMessage",{init:function(){$$t.$am.init.call(this)},c:0,e:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},b:0,d:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},toString:function(){return"ViewportChangedMessage["+this.e().toString()+", "+this.d().toString()+"]"},$type:new $.ig.Type("ViewportChangedMessage",$$t.$am.$type)},true);$c("ContainerSizeChangedMessage:a6","InteractionMessage",{init:function(){$$t.$am.init.call(this)},$type:new $.ig.Type("ContainerSizeChangedMessage",$$t.$am.$type)},true);$c("ViewPropertyChangedMessage:a7","InteractionMessage",{init:function(){$$t.$am.init.call(this)},f:null,g:function(a){if(arguments.length===1){this.f=a;return a}else{return this.f}},c:null,e:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},b:null,d:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},toString:function(){return"ViewPropertyChangedMessage["+this.g().toString()+", "+this.e().toString()+", "+this.d().toString()+"]"},$type:new $.ig.Type("ViewPropertyChangedMessage",$$t.$am.$type)},true);$$t.$b.a=["#7000ff","#70ff00","#00f0f0","#ff0070","#ff00ff"];$$t.$b.b=["#7000dd","#70dd00","#00d0d0","#dd0070","#dd00dd"];$$t.$v.itemsSourceProperty=$$a.$s.i("ItemsSource",$$0.$bt.$type,$$t.$v.$type,new $$a.ac(2,null,function(a,b){a.dp("ItemsSource",b.oldValue(),b.newValue())}));$$t.$v.d2=$$a.$s.i("FastItemsSource",$.ig.FastItemsSource.prototype.$type,$$t.$v.$type,new $$a.ac(1,function(a,b){a.dp("FastItemsSource",b.oldValue(),b.newValue())}));$$t.$v.valueMemberPathProperty=$$a.$s.i("ValueMemberPath",String,$$t.$v.$type,new $$a.ac(2,null,function(a,b){a.dp("ValueMemberPath",b.oldValue(),b.newValue())}));$$t.$v.brushesProperty=$$a.$s.i("Brushes",$.ig.BrushCollection.prototype.$type,$$t.$v.$type,new $$a.ac(2,null,function(a,b){a.dp("Brushes",b.oldValue(),b.newValue())}));$$t.$v.outlinesProperty=$$a.$s.i("Outlines",$.ig.BrushCollection.prototype.$type,$$t.$v.$type,new $$a.ac(2,null,function(a,b){a.dp("Outlines",b.oldValue(),b.newValue())}));$$t.$v.bottomEdgeWidthProperty=$$a.$s.i("BottomEdgeWidth",Number,$$t.$v.$type,new $$a.ac(2,.35,function(a,b){a.dp("BottomEdgeWidth",b.oldValue(),b.newValue())}));$$t.$v.innerLabelMemberPathProperty=$$a.$s.i("InnerLabelMemberPath",String,$$t.$v.$type,new $$a.ac(2,null,function(a,b){a.dp("InnerLabelMemberPath",b.oldValue(),b.newValue())}));$$t.$v.outerLabelMemberPathProperty=$$a.$s.i("OuterLabelMemberPath",String,$$t.$v.$type,new $$a.ac(2,null,function(a,b){a.dp("OuterLabelMemberPath",b.oldValue(),b.newValue())}));$$t.$v.innerLabelVisibilityProperty=$$a.$s.i("InnerLabelVisibility",$$a.$aj.$type,$$t.$v.$type,new $$a.ac(2,$$a.$aj.getBox(0),function(a,b){a.dp("InnerLabelVisibility",b.oldValue(),b.newValue())}));$$t.$v.outerLabelVisibilityProperty=$$a.$s.i("OuterLabelVisibility",$$a.$aj.$type,$$t.$v.$type,new $$a.ac(2,$$a.$aj.getBox(1),function(a,b){a.dp("OuterLabelVisibility",b.oldValue(),b.newValue())}));$$t.$v.outerLabelAlignmentProperty=$$a.$s.i("OuterLabelAlignment",$$t.$j.$type,$$t.$v.$type,new $$a.ac(2,$$t.$j.getBox(0),function(a,b){a.dp("OuterLabelAlignment",b.oldValue(),b.newValue())}));$$t.$v.funnelSliceDisplayProperty=$$a.$s.i("FunnelSliceDisplay",$$t.$f.$type,$$t.$v.$type,new $$a.ac(2,$$t.$f.getBox(0),function(a,b){a.dp("FunnelSliceDisplay",b.oldValue(),b.newValue())}));$$t.$v.transitionDurationProperty=$$a.$s.i("TransitionDuration",$$0.$aw.$type,$$t.$v.$type,new $$a.ac(2,0,function(a,b){a.dp("TransitionDuration",b.oldValue(),b.newValue())}));$$t.$v.isInvertedProperty=$$a.$s.i("IsInverted",$$0.$aq.$type,$$t.$v.$type,new $$a.ac(2,false,function(a,b){a.dp("IsInverted",b.oldValue(),b.newValue())}));$$t.$v.upperBezierControlPointProperty=$$a.$s.i("UpperBezierControlPoint",$$a.$y.$type,$$t.$v.$type,new $$a.ac(2,{__x:.5,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},function(a,b){a.dp("UpperBezierControlPoint",b.oldValue(),b.newValue())}));$$t.$v.lowerBezierControlPointProperty=$$a.$s.i("LowerBezierControlPoint",$$a.$y.$type,$$t.$v.$type,new $$a.ac(2,{__x:.5,__y:1,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},function(a,b){a.dp("LowerBezierControlPoint",b.oldValue(),b.newValue())}));$$t.$v.useBezierCurveProperty=$$a.$s.i("UseBezierCurve",$$0.$aq.$type,$$t.$v.$type,new $$a.ac(2,false,function(a,b){a.dp("UseBezierCurve",b.oldValue(),b.newValue())}));$$t.$v.allowSliceSelectionProperty=$$a.$s.i("AllowSliceSelection",$$0.$aq.$type,$$t.$v.$type,new $$a.ac(2,false,function(a,b){a.dp("AllowSliceSelection",b.oldValue(),b.newValue())}));$$t.$v.useUnselectedStyleProperty=$$a.$s.i("UseUnselectedStyle",$$0.$aq.$type,$$t.$v.$type,new $$a.ac(2,false,function(a,b){a.dp("UseUnselectedStyle",b.oldValue(),b.newValue())}));$$t.$v.selectedSliceStyleProperty=$$a.$s.i("SelectedSliceStyle",$$a.$ag.$type,$$t.$v.$type,new $$a.ac(2,null,function(a,b){a.dp("SelectedSliceStyle",b.oldValue(),b.newValue())}));$$t.$v.unselectedSliceStyleProperty=$$a.$s.i("UnselectedSliceStyle",$$a.$ag.$type,$$t.$v.$type,new $$a.ac(2,null,function(a,b){a.dp("UnselectedSliceStyle",b.oldValue(),b.newValue())}));$$t.$v.toolTipProperty=$$a.$s.i("ToolTip",$.ig.$op.$type,$$t.$v.$type,new $$a.ac(2,null,function(a,b){a.dp("ToolTip",b.oldValue(),b.newValue())}));$$t.$v.legendProperty=$$a.$s.i("Legend",$.ig.IChartLegend.prototype.$type,$$t.$v.$type,new $$a.ac(2,null,function(a,b){a.dp("Legend",b.oldValue(),b.newValue())}));$$t.$v.legendItemTemplateProperty=$$a.$s.i("LegendItemTemplate",$$a.$k.$type,$$t.$v.$type,new $$a.ac(2,null,function(a,b){a.dp("LegendItemTemplate",b.oldValue(),b.newValue())}));$$t.$v.legendItemBadgeTemplateProperty=$$a.$s.i("LegendItemBadgeTemplate",$$a.$k.$type,$$t.$v.$type,new $$a.ac(2,null,function(a,b){a.dp("LegendItemBadgeTemplate",b.oldValue(),b.newValue())}));$$t.$v.useOuterLabelsForLegendProperty=$$a.$s.i("UseOuterLabelsForLegend",$$0.$aq.$type,$$t.$v.$type,new $$a.ac(2,false,function(a,b){a.dp("UseOuterLabelsForLegend",b.oldValue(),b.newValue())}));$$t.$v.outlineThicknessProperty=$$a.$s.i("OutlineThickness",Number,$$t.$v.$type,new $$a.ac(2,(-1),function(a,b){a.dp("OutlineThickness",b.oldValue(),b.newValue())}));$$t.$x.aw=$$a.$s.i("StrokeThickness",Number,$$t.$x.$type,new $$a.ac(2,1,function(a,b){}));$$t.$x.at=$$a.$s.i("Fill",$$a.$at.$type,$$t.$x.$type,new $$a.ac(2,null,function(a,b){a.aq("Fill",b.oldValue(),b.newValue())}));$$t.$x.av=$$a.$s.i("Outline",$$a.$at.$type,$$t.$x.$type,new $$a.ac(2,null,function(a,b){a.aq("Outline",b.oldValue(),b.newValue())}));$$t.$x.ar=$$a.$s.i("ActualFill",$$a.$at.$type,$$t.$x.$type,new $$a.ac(1,null));$$t.$x.as=$$a.$s.i("ActualOutline",$$a.$at.$type,$$t.$x.$type,new $$a.ac(1,null));$$t.$x.au=$$a.$s.i("LabelVisibility",$$a.$aj.$type,$$t.$x.$type,new $$a.ac(2,$$a.$aj.getBox(0),function(a,b){}))});