/*!@license
* Infragistics.Web.ClientUI infragistics.dv_opd.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.ext_ui.js
*/
(function(factory){if(typeof define==="function"&&define.amd){define(["./infragistics.util","./infragistics.ext_core","./infragistics.ext_collections","./infragistics.dv_core","./infragistics.ext_ui"],factory)}else{factory(igRoot)}})(function($){$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$ab=$$t;var $$0=$.ig.globalDefs.$$0;var $$4=$.ig.globalDefs.$$4;var $$1=$.ig.globalDefs.$$1;var $$w=$.ig.globalDefs.$$w;var $$6=$.ig.globalDefs.$$6;var $$a=$.ig.globalDefs.$$a;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["XamOverviewPlusDetailPane:c","XamOverviewPlusDetailPaneView:d","XamOverviewPlusDetailPaneViewManager:e"]);var $a=$.ig.intDivide,$b=$.ig.util.cast,$c=$.ig.util.defType,$d=$.ig.util.defEnum,$e=$.ig.util.getBoxIfEnum,$f=$.ig.util.getDefaultValue,$g=$.ig.util.getEnumValue,$h=$.ig.util.getValue,$i=$.ig.util.intSToU,$j=$.ig.util.nullableEquals,$k=$.ig.util.nullableIsNull,$l=$.ig.util.nullableNotEquals,$m=$.ig.util.toNullable,$n=$.ig.util.toString$1,$o=$.ig.util.u32BitwiseAnd,$p=$.ig.util.u32BitwiseOr,$q=$.ig.util.u32BitwiseXor,$r=$.ig.util.u32LS,$s=$.ig.util.unwrapNullable,$t=$.ig.util.wrapNullable,$u=String.fromCharCode,$v=$.ig.util.castObjTo$t,$w=$.ig.util.compareSimple,$x=$.ig.util.tryParseNumber,$y=$.ig.util.tryParseNumber1,$z=$.ig.util.numberToString,$0=$.ig.util.numberToString1,$1=$.ig.util.parseNumber;$d("OverviewPlusDetailPaneMode:b",false,false,{Minimal:0,Full:1,Compact:2});$c("NavigationSettings:a","DependencyObjectNotifier",{init:function(){$.ig.DependencyObjectNotifier.prototype.init.call(this)},allowPan:function(a){if(arguments.length===1){this.h($$t.$a.allowPanProperty,a);return a}else{return this.c($$t.$a.allowPanProperty)}},m:function(a,b){var c=$b($$t.$a.$type,a);if(c!=null){c.j("AllowPan")}},allowZoom:function(a){if(arguments.length===1){this.h($$t.$a.allowZoomProperty,a);return a}else{return this.c($$t.$a.allowZoomProperty)}},n:function(a,b){var c=$b($$t.$a.$type,a);if(c!=null){c.j("AllowZoom")}},$type:new $.ig.Type("NavigationSettings",$.ig.DependencyObjectNotifier.prototype.$type)},true);$c("XamOverviewPlusDetailPane:c","Control",{_view:null,view:function(a){if(arguments.length===1){this._view=a;return a}else{return this._view}},backgroundImageUri:function(a){if(arguments.length===1){this.view().backgroundImageUri(a);return a}else{return this.view().backgroundImageUri()}},viewScheduler:function(a){if(arguments.length===1){this.view().scheduler(a);return a}else{return this.view().scheduler()}},viewThumbnailContext:function(){return this.view().thumbnailContext()},viewThumbnailSize:function(){return this.view().thumbnailSize()},viewShouldInteract:function(a){return this.view().shouldInteract(a)},worldRectViewport:function(){return this.view().worldRect()},init:function(){this.a1=1;this.a9=null;this.aj=false;this.am=false;$$a.$f.init.call(this);this.view(new $$t.d(this));this.view().onInit();this._ab=$$t.$c.$type;this._db={__x:0,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},windowChanging:null,cn:function(a){if(a==null){throw new $$6.e(0,"e")}if(this.immediate()){this.window(a.newValue())}if(this.windowChanging!=null){this.windowChanging(this,a)}},windowChanged:null,cm:function(a){if(this.windowChanged!=null){this.windowChanged(this,a)}},thumbnailSizeChanged:null,cl:function(a){if(this.thumbnailSizeChanged!=null){this.thumbnailSizeChanged(this,a)}},a1:0,a7:function(){return this.a1},a9:null,initializeScalingRatio:function(a){var $self=this;if(this.a9==null){this.a9=function(b){if(window.devicePixelRatio!=window.undefined&&window.devicePixelRatio!=$self.a1){$self.a1=window.devicePixelRatio}};window.addEventListener("resize",this.a9,false)}this.a1=a},immediate:function(a){if(arguments.length===1){this.h($$t.$c.immediateProperty,a);return a}else{return this.c($$t.$c.immediateProperty)}},world:function(a){if(arguments.length===1){this.h($$t.$c.worldProperty,a);return a}else{return this.c($$t.$c.worldProperty)}},worldStyle:function(a){if(arguments.length===1){this.h($$t.$c.worldStyleProperty,a);return a}else{return this.c($$t.$c.worldStyleProperty)}},window:function(a){if(arguments.length===1){this.h($$t.$c.windowProperty,a);return a}else{return this.c($$t.$c.windowProperty)}},windowStyle:function(a){if(arguments.length===1){this.h($$t.$c.windowStyleProperty,a);return a}else{return this.c($$t.$c.windowStyleProperty)}},preview:function(a){if(arguments.length===1){this.h($$t.$c.previewProperty,a);return a}else{return this.c($$t.$c.previewProperty)}},previewStyle:function(a){if(arguments.length===1){this.h($$t.$c.previewStyleProperty,a);return a}else{return this.c($$t.$c.previewStyleProperty)}},shrinkToThumbnail:function(a){if(arguments.length===1){this.h($$t.$c.shrinkToThumbnailProperty,a);return a}else{return this.c($$t.$c.shrinkToThumbnailProperty)}},ck:function(a,b){a.cj(b.oldValue(),b.newValue())},cj:function(a,b){if(b){this.b1(0)}else{this.b1(2)}},mode:function(a){if(arguments.length===1){this.h($$t.$c.modeProperty,$$t.$b.getBox(a));return a}else{return $g(this.c($$t.$c.modeProperty))}},b8:function(a,b){a.b7($g(b.oldValue()),$g(b.newValue()))},b7:function(a,b){this.b1(b)},b1:function(a){switch(a){case 1:this.view().as();if(this.isZoomable()){this.view().av()}else{this.view().au()}break;case 2:this.view().at();if(this.isZoomable()){this.view().av()}else{this.view().au()}break;case 0:this.view().at();this.view().au();break}},cw:function(){if(this.shrinkToThumbnail()){this.b1(0)}else{this.b1(2)}},ag:null,surfaceViewer:function(a){if(arguments.length===1){if(this.ag!=null){var b=$b($$0.$b6.$type,this.ag);if(b!=null){b.propertyChanged=$.ig.Delegate.prototype.remove(b.propertyChanged,this.cu.runOn(this))}}this.ag=a;if(this.ag!=null){var c=$b($$0.$b6.$type,this.ag);if(c!=null){c.propertyChanged=$.ig.Delegate.prototype.combine(c.propertyChanged,this.cu.runOn(this))}}this.view().be();return a}else{return this.ag}},cu:function(a,b){switch(b.propertyName()){case"DefaultInteraction":this.view().bg(this.ag.defaultInteraction());break}},previewViewportdRect:function(){var a=this.dh(this.world());return new $$a.ae(0,0,0,a.width(),a.height())},zoomTo100ButtonVisibility:function(a){if(arguments.length===1){this.h($$t.$c.zoomTo100ButtonVisibilityProperty,$$a.$aj.getBox(a));return a}else{return $g(this.c($$t.$c.zoomTo100ButtonVisibilityProperty))}},scaleToFitButtonVisibility:function(a){if(arguments.length===1){this.h($$t.$c.scaleToFitButtonVisibilityProperty,$$a.$aj.getBox(a));return a}else{return $g(this.c($$t.$c.scaleToFitButtonVisibilityProperty))}},interactionStatesToolVisibility:function(a){if(arguments.length===1){this.h($$t.$c.interactionStatesToolVisibilityProperty,$$a.$aj.getBox(a));return a}else{return $g(this.c($$t.$c.interactionStatesToolVisibilityProperty))}},zoomLevelLargeChange:function(a){if(arguments.length===1){this.h($$t.$c.zoomLevelLargeChangeProperty,a);return a}else{return this.c($$t.$c.zoomLevelLargeChangeProperty)}},al:false,isZoomable:function(a){if(arguments.length===1){this.al=a;this.cw();return a}else{return this.al}},viewport:function(){return this.view().viewport()},_av:false,getDesiredSize:function(a){var b=a.width();var c=a.height();var d=!this.world().isEmpty()?this.world().width()/this.world().height():1;if(Number.isInfinity(c)){if(Number.isInfinity(b)){b=128}c=b/d}else{if(Number.isInfinity(b)){b=c*d}}return new $$a.af(1,b,c)},_aq:false,_db:null,b9:function(){if(this.shrinkToThumbnail()){this.b1(1)}},ca:function(){if(this.shrinkToThumbnail()){this.b1(0)}},ar:function(a){switch(a){case 8:if(this._aq){this.view().ai();this._aq=false;this.preview($$a.$ae.empty());return true}break}return false},cb:function(a){if(!this.an){this.aj=false}this.da=a;var b=this.dh(this.world());if(b.containsPoint(a)==false){return}var c=this.viewport();var d=!c.isEmpty()?this.world():$$a.$ae.empty();var e=!d.isEmpty()?this.window():$$a.$ae.empty();this._db=this.dc(a);if(e.isEmpty()==false&&this.view().l()){this._aq=true;e=new $$a.ae(0,this._db.__x-.5*e.width(),this._db.__y-.5*e.height(),e.width(),e.height());if(!this.mobileMode()){this.cn(new $.ig.PropertyChangedEventArgs$1($$a.$ae.$type,"Window",this.window(),e))}}},da:null,cc:function(a,b,c){if($.ig.util.isNaN(this._db.__x)||$.ig.util.isNaN(this._db.__y)){this._db=this.dc(a)}var d=2;if(c){d=10}var e=false;var f=this.dd(this._db);var g=new $$a.ae(2,f,a);if(g.width()>d&&g.height()>d){e=true}if(!this.an){if(e){this.aj=false}}this.da=a;var h=this.viewport();var i=!h.isEmpty()?this.world():$$a.$ae.empty();var j=!i.isEmpty()?this.window():$$a.$ae.empty();if(this._aq&&!this.aj){var k=this.dc(a);j=new $$a.ae(0,k.__x-.5*j.width(),k.__y-.5*j.height(),j.width(),j.height());this.cn(new $.ig.PropertyChangedEventArgs$1($$a.$ae.$type,"Window",this.window(),j))}},as:function(a){this.da=a;var b=this.viewport();var c=!b.isEmpty()?this.world():$$a.$ae.empty();var d=!c.isEmpty()?this.window():$$a.$ae.empty();if(this._aq&&!this.aj){this.view().ai();this._aq=false;var e=this.dc(a);d=new $$a.ae(0,e.__x-.5*d.width(),e.__y-.5*d.height(),d.width(),d.height());if(!this.mobileMode()){this.cm(new $.ig.PropertyChangedEventArgs$1($$a.$ae.$type,"Window",this.window(),d))}return true}return false},at:function(a){var b=$.ig.RectUtil.prototype.l(this.window());var c=1-$.ig.MathUtil.prototype.b(a,-.5,.5);var d=b.__x-c*(b.__x-this.window().left());var e=b.__y+c*(this.window().bottom()-b.__y);var f=b.__x+c*(this.window().right()-b.__x);var g=b.__y-c*(b.__y-this.window().top());var h=new $$a.ae(0,d,g,f-d,e-g);this.cm(new $.ig.PropertyChangedEventArgs$1($$a.$ae.$type,"Window",this.window(),h));return true},aj:false,a0:0,a2:0,a3:0,de:null,ay:0,az:0,ax:0,cq:function(a,b,c,d){this.a2=a.__x;this.a3=a.__y;this.ay=b;this.az=c;this.ax=d;this.de=this.window();this.an=true;this.aj=true;this.a0=1},cf:function(a){this.an=true;this.aj=true;this.a0=1},ce:function(a){if(this.view().useDeltaZoom()){this.bz(a)}else{this.b0(a);this.a0=a}},ap:function(){if(this.surfaceViewer()==null){return false}return this.surfaceViewer().isIsoScaled()},cp:function(a,b,c,d){this.ay=this.ay*b;this.az=this.az*c;this.ax=this.ax*d;if(this.ap()){this.ay=this.ax;this.az=this.ax}var e=this.window();var f=this.viewport();var g=a.__x-this.a2;var h=a.__y-this.a3;this.a2=a.__x;this.a3=a.__y;var i=e.width();var j=e.height();var k=this.de.width()/this.ay;var l=this.de.height()/this.az;if(k>1){k=1}if(l>1){l=1}var m={__x:a.__x,__y:a.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var n={__x:(m.__x-f.left())/f.width()*e.width()+e.left(),__y:(m.__y-f.top())/f.height()*e.height()+e.top(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var o=new $$a.ae(0,e.left(),e.top(),k,l);var p={__x:(n.__x-o.left())/o.width()*f.width()+f.left(),__y:(n.__y-o.top())/o.height()*f.height()+f.top(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var q=p.__x-m.__x-g;var r=p.__y-m.__y-h;var s=q/f.width()*o.width();var t=r/f.height()*o.height();o=new $$a.ae(0,o.left()+s,o.top()+t,o.width(),o.height());e=o;this.cm(new $.ig.PropertyChangedEventArgs$1($$a.$ae.$type,"Window",this.window(),o))},co:function(a,b,c,d){this.cp(a,b,c,d);this.an=false;this.aj=false},cd:function(a){this.an=false;this.aj=false;if(this.view().useDeltaZoom()){this.bz(a)}else{this.b0(a)}},b0:function(a){var b=a-this.a0;if(b!=0){var c=.03;var d=b<0?1+c:1-c;var e={__x:this.window().x()+this.window().width()/2,__y:this.window().y()+this.window().height()/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var f={__x:this.window().x()-e.__x,__y:this.window().y()-e.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var g=new $$a.ae(0,f.__x*d+e.__x,f.__y*d+e.__y,this.window().width()*d,this.window().height()*d);this.cm(new $.ig.PropertyChangedEventArgs$1($$a.$ae.$type,"Window",this.window(),g))}},bz:function(a){var b=1/a;var c={__x:this.window().x()+this.window().width()/2,__y:this.window().y()+this.window().height()/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var d={__x:this.window().x()-c.__x,__y:this.window().y()-c.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var e=new $$a.ae(0,d.__x*b+c.__x,d.__y*b+c.__y,this.window().width()*b,this.window().height()*b);this.cm(new $.ig.PropertyChangedEventArgs$1($$a.$ae.$type,"Window",this.window(),e))},propertyChanged:null,ch:function(a,b,c){this.cg(new $$0.b7(a))},cg:function(a){if(this.propertyChanged!=null){this.propertyChanged(this,a)}switch(a.propertyName()){case"World":this.refresh(false);break;case"Window":this.refresh(false);break;case"Preview":this.refresh(false);break}},ct:function(){this.view().bb()},dc:function(a){var b=this.viewport();var c=!b.isEmpty()?this.world():$$a.$ae.empty();if(!c.isEmpty()){var d=b.width()/b.height()>c.width()/c.height()?b.height()/c.height():b.width()/c.width();var e=.5*(b.left()+b.right()-(c.left()+c.right())*d);var f=.5*(b.top()+b.bottom()-(c.top()+c.bottom())*d);return{__x:(a.__x-e)/d,__y:(a.__y-f)/d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}return{__x:NaN,__y:NaN,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},dd:function(a){var b=this.viewport();var c=!b.isEmpty()?this.world():$$a.$ae.empty();if(!c.isEmpty()){var d=b.width()/b.height()>c.width()/c.height()?b.height()/c.height():b.width()/c.width();var e=.5*(b.left()+b.right()-(c.left()+c.right())*d);var f=.5*(b.top()+b.bottom()-(c.top()+c.bottom())*d);return{__x:a.__x*d+e,__y:a.__y*d+f,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}return{__x:NaN,__y:NaN,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},dh:function(a){var b=this.viewport();var c=!b.isEmpty()?this.world():$$a.$ae.empty();if(!c.isEmpty()&&!a.isEmpty()){var d=b.width()/b.height()>c.width()/c.height()?b.height()/c.height():b.width()/c.width();var e=.5*(b.left()+b.right()-(c.left()+c.right())*d);var f=.5*(b.top()+b.bottom()-(c.top()+c.bottom())*d);return new $$a.ae(0,a.left()*d+e,a.top()*d+f,a.width()*d,a.height()*d)}return $$a.$ae.empty()},doRefresh:function(a){this.refresh(a)},refresh:function(a){var $self=this;this.cv();if(!a){if(!this._av){this._av=true;this.view().queueWork(function(){$self.refresh(true)})}return}this._av=false;var b=this.dh(this.world());var c=this.dh(this.window());var d=this.dh(this.preview());if(this.__visibility!=0||b.isEmpty()||$.ig.util.isNaN(b.x())||$.ig.util.isNaN(b.y())){this._av=false;return}this.view().bj(b);this.view().a8(b);this.view().bi(b,c);this.view().bh(b,d);if(this.surfaceViewer()!=null){this.surfaceViewer().renderPreview()}this.view().makeDirty()},_updatingSliderRanges:false,updatingSliderRanges:function(a){if(arguments.length===1){this._updatingSliderRanges=a;return a}else{return this._updatingSliderRanges}},cv:function(){if(this.__visibility!=0||this.surfaceViewer()==null||!this.view().p()){return}var a=this.surfaceViewer().viewportRect();var b=this.surfaceViewer().worldRect();if(a.isEmpty()||b.isEmpty()){return}this.updatingSliderRanges(true);var c=this.view().v();var d=this.surfaceViewer().minimumZoomLevel();var e=this.surfaceViewer().maximumZoomLevel();if($.ig.util.isNaN(d)){d=Math.min(a.width()/b.width(),a.height()/b.height());d=Math.min(d,.5);d=Math.min(d,c)}if($.ig.util.isNaN(e)){e=2;e=Math.max(e,c)}this.view().bd(d);this.view().bc(e);this.updatingSliderRanges(false)},b3:function(a){if(this.surfaceViewer()!=null){this.surfaceViewer().defaultInteraction(a)}},ci:function(){if(this.surfaceViewer()!=null){this.surfaceViewer().scaleToFit()}},cr:function(){if(this.surfaceViewer()!=null){this.surfaceViewer().zoomTo100()}},b2:function(){this.refresh(false)},provideContainer:function(a){this.view().a0(a);if(a==null){if(this.a9!=null){window.removeEventListener("resize",this.a9,false);this.a9=null}}},provideContext:function(a){this.view().a1(a)},provideEventSource:function(a){this.view().a2(a)},ak:false,isSurfaceInteractionDisabled:function(a){if(arguments.length===1){this.ak=a;this.b5();return a}else{return this.ak}},b5:function(){this.view().onIsSurfaceInteractionDisabledChanged()},am:false,mobileMode:function(a){if(arguments.length===1){var b=this.am;this.am=a;if(b!=this.am){this.view().ay(this.am)}return a}else{return this.am}},arrange:function(a){this.view().ah(a)},b6:function(){if($$a.$y.l_op_Equality(this.da,null)){return}var a=this.dc(this.da);var b=this.viewport();var c=!b.isEmpty()?this.world():$$a.$ae.empty();var d=!c.isEmpty()?this.window():$$a.$ae.empty();d=new $$a.ae(0,a.__x-.5*d.width(),a.__y-.5*d.height(),d.width(),d.height());this.cm(new $.ig.PropertyChangedEventArgs$1($$a.$ae.$type,"Window",this.window(),this.window()))},pushZoomLevel:function(a){this.view().a9(a)},isPinching:function(){return this.pinching()},surfaceIsDirty:function(a){if(arguments.length===1){this.surfaceViewer().isDirty(a);return a}else{return this.surfaceViewer().isDirty()}},an:false,pinching:function(){return this.an},b4:function(a){this.an=false;this._db={__x:NaN,__y:NaN,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},changeRect:function(a,b,c,d,e){var f,g,h,i;if(c){f=b.left();h=b.width()}else{f=a.left();h=a.width()}if(d){g=b.top();i=b.height()}else{g=a.top();i=a.height()}var j=f+h;var k=g+i;var l=Math.max(0,e.left()-f);var m=Math.max(0,j-e.right());var n=Math.max(0,e.top()-g);var o=Math.max(0,k-e.bottom());f+=l-m;g+=n-o;var p=new $$a.ae(0,f,g,h,i);p.intersect(e);return p},$type:new $.ig.Type("XamOverviewPlusDetailPane",$$a.$f.$type,[$$0.$b6.$type,$.ig.IOverviewPlusDetailPane.prototype.$type])},true);$c("XamOverviewPlusDetailPaneView:d","Object",{_e:null,init:function(a){this.a=null;this.j=false;this.__loadingEle=null;this.u=new $$4.x($$0.$c.$type,0);this.__backgroundImage=null;this.ab=0;this.aa=0;this._thumbnailSize=new $$a.af;$.ig.$op.init.call(this);this.viewport($$a.$ae.empty());this.fullSize($$a.$ae.empty());this._e=a;this.thumbnailSize(new $$a.af(1,0,0))},_f:null,onInit:function(){this._g=new $.ig.DoubleAnimator(0,1,300);var a=this._g;a.propertyChanged=$.ig.Delegate.prototype.combine(a.propertyChanged,this.ag.runOn(this));this._k=true;this._f=new $$t.e(this);this._bv=function(){var $ret=new $$a.by;$ret._ab=true;$ret._ak=new $$a.a5;return $ret}();this._bv._ak._e=$$a.$ae.empty();this._bs=function(){var $ret=new $$a.by;$ret._ab=true;$ret._ak=new $$a.a5;return $ret}();this._bu=function(){var $ret=new $$a.by;$ret._ab=false;$ret._ak=new $$a.a3;return $ret}();$b($$a.$a3.$type,this._bu._ak)._d.add(new $$a.a7);$b($$a.$a3.$type,this._bu._ak)._d.add(new $$a.a7);this._bt=function(){var $ret=new $$a.by;$ret._ab=false;$ret._ak=new $$a.a3;return $ret}();$b($$a.$a3.$type,this._bt._ak)._d.add(new $$a.a7);$b($$a.$a3.$type,this._bt._ak)._d.add(new $$a.a7);this._w=0;this._x=0;this._m=false},ag:function(a,b){if(this._o){this._x=this._w+this._g.transitionProgress()*(1-this._w)}else{this._x=this._w-this._g.transitionProgress()*this._w}if(this._x>=1){this._r=true;this.ah(this.fullSize());this._e.refresh(false)}else if(this._r){this._r=false;this._f.ap();this.ah(this.fullSize());this._e.refresh(false)}this.makeDirty()},_r:false,_g:null,_w:0,_x:0,_k:false,_o:false,as:function(){if(this._o){return}this._o=true;if(this._k){this._w=this._x;this._g.stop();this._g.start()}else{this._w=1;this._x=1;this.makeDirty()}},ar:function(){},at:function(){if(!this._o){return}this._o=false;if(this._k){this._w=this._x;this._g.stop();this._g.start()}else{this._w=1;this._x=1;this.makeDirty()}},av:function(){},au:function(){},_bv:null,_bu:null,_bt:null,_bs:null,bn:null,viewport:function(a){if(arguments.length===1){this.bn=a;if(this._c!=null){this._c._bk=this.bn}return a}else{return this.bn}},bb:function(){},_worldRect:null,worldRect:function(a){if(arguments.length===1){this._worldRect=a;return a}else{return this._worldRect}},_imageRect:null,imageRect:function(a){if(arguments.length===1){this._imageRect=a;return a}else{return this._imageRect}},bj:function(a){this.worldRect(a);if(this.ad()!=null){var img_=this.ad();var b=a.width()/this.ab;var c=a.height()/this.aa;var d=b<c?b:c;var e=this.ab*d;var f=this.aa*d;var g=a.width()-e;var h=a.height()-f;this.imageRect(new $$a.ae(0,this.worldRect().left()+g/2,this.worldRect().top()+h/2,e,f))}this._bv._ak._e=a;this._bv.__visibility=a.isEmpty()?1:0},bi:function(a,b){this._bu._ak._d.__inner[0]._c=this.bm($.ig.RectUtil.prototype.r(a,2));this._bu._ak._d.__inner[1]._c=this.bl(b);this._bu.__visibility=b.isEmpty()?1:0},bh:function(a,b){this._bt._ak._d.__inner[0]._c=this.bm($.ig.RectUtil.prototype.r(a,2));this._bt._ak._d.__inner[1]._c=this.bl(b);this._bt.__visibility=b.isEmpty()?1:0},bl:function(a){var b=new $$a.a9;var c=new $$a.a8;c.__isClosed=true;c.__startPoint={__x:a.left(),__y:a.top(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};c.__segments.add(new $$a.bd(0,{__x:a.left(),__y:a.bottom(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}));c.__segments.add(new $$a.bd(0,{__x:a.right(),__y:a.bottom(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}));c.__segments.add(new $$a.bd(0,{__x:a.right(),__y:a.top(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}));c.__segments.add(new $$a.bd(0,{__x:a.left(),__y:a.top(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}));b.add(c);return b},bm:function(a){var b=new $$a.a9;var c=new $$a.a8;c.__isClosed=true;c.__startPoint={__x:a.left(),__y:a.top(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};c.__segments.add(new $$a.bd(0,{__x:a.right(),__y:a.top(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}));c.__segments.add(new $$a.bd(0,{__x:a.right(),__y:a.bottom(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}));c.__segments.add(new $$a.bd(0,{__x:a.left(),__y:a.bottom(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}));c.__segments.add(new $$a.bd(0,{__x:a.left(),__y:a.top(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}));b.add(c);return b},be:function(){},p:function(){return this._h!=null},ai:function(){},l:function(){return true},a8:function(a){var b=false;var c=a.width();if(this._e.a7()!=1){c=a.width()*this._e.a7()}var d=a.height();if(this._e.a7()!=1){d=a.height()*this._e.a7()}if(Math.round(this.thumbnailSize().width())!=Math.round(a.width())){b=true;this._f.a6(c)}if(Math.round(this.thumbnailSize().height())!=Math.round(a.height())){b=true;this._f.a5(d)}var e=this.thumbnailSize();this.thumbnailSize(new $$a.af(1,a.width(),a.height()));if(b){this._e.cl(new $.ig.PropertyChangedEventArgs$1($$a.$af.$type,"ThumbnailSize",e,this.thumbnailSize()))}},_h:null,a1:function(a){this._h=a},a:null,scheduler:function(a){if(arguments.length===1){if(this.a!=null){this.a.r(this)}this.a=a;if(this.a!=null){this.a.l(this);this.makeDirty()}return a}else{return this.a}},makeDirty:function(){if(!this.j&&this.scheduler()!=null){this.j=true;this.scheduler().n()}},j:false,isDirty:function(a){if(arguments.length===1){this.j=a;return a}else{return this.j}},ae:null,__loadingEle:null,u:null,backgroundImageUri:function(a){if(arguments.length===1){this.ae=a;if(this.ae!=null){this.__loadingEle=this._y.createElement("img");var self_=this;var ele_=this.__loadingEle;this.u.add(ele_.listen("load",this.aw.runOn(this)));this.u.add(ele_.listen("readystatechange",this.aw.runOn(this)));this.__loadingEle.setAttribute("src",this.ae)}else{if(this.__loadingEle!=null){var ele_=this.__loadingEle;for(var b=0;b<this.u.count();b++){this.u.__inner[b]()}this.u.clear();this.__loadingEle=null}this.ad(null)}return a}else{return this.ae}},aw:function(a){var e_=a.originalEvent;var target_=e_.target;var b=target_.complete||target_.readyState=="complete"&&e_.type=="readystatechange";if(b){this.downloadCompleted(a)}},downloadCompleted:function(a){if(!this.__loadingEle.getNativeElement().complete){return}this.ad(this.__loadingEle.getNativeElement())},__backgroundImage:null,ab:0,aa:0,ad:function(a){if(arguments.length===1){this.__backgroundImage=a;if(this.__backgroundImage!=null){var img_=this.__backgroundImage;this.ab=img_.width;this.aa=img_.height}else{this.ab=0;this.aa=0}if($$a.$ae.l_op_Inequality(this.worldRect(),null)){this.bj(this.worldRect())}this.makeDirty();return a}else{return this.__backgroundImage}},undirty:function(a){this.isDirty(false);if(this._h==null){return}if(this._e.__visibility==1){return}if(this._e.mode()==0&&this._e.mobileMode()){return}if(this._h.d()){var b=1;var c=1;var d=1;b=.6+this._x*(1-.6);c=.6+this._x*(1-.6);d=.7+this._x*(1-.7);this._bs.__opacity=d;this._bs._ac=1;this._f.at(this._bs);this._bv.__opacity=d;this._bv._ac=1;this._f.az(this._bv);this._bu.__opacity=d;this._bu._ac=1.5;this._f.ay(this._bu);this._bt.__opacity=d;this._bt._ac=2;this._f.au(this._bt);var e=this._bv._ak._e;if(e.isEmpty()){return}if(this._e.a7()!=1){this._h.z();this._h.aa(this._e.a7(),this._e.a7())}this._h.z();this._h.af(this.fullSize().right(),this.fullSize().bottom());this._h.aa(b,c);this._h.af(-this.fullSize().right(),-this.fullSize().bottom());this._h.s(this._bs);this._f.am(this._h,e);this._h.ae(e);this._h.s(this._bv);if(this.ad()!=null){this._h.m(this.ad(),d,this.imageRect().left(),this.imageRect().top(),this.imageRect().width(),this.imageRect().height())}this._h.s(this._bt);this._h.s(this._bu);this._h.y();if(this._e.a7()!=1){this._h.y()}}},index:function(){return 1e4},postRender:function(){},bg:function(a){},_y:null,a0:function(a){if(a==this._y){return}this._y=a;this._g.provideRenderer(this._y);this.mSPointerEnabled(window.navigator.msPointerEnabled);if(this.mSPointerEnabled()){this.useDeltaZoom(true)}if(a==null){if(this._c!=null){this._c.au()}this._f.ar(null);this.thumbnailContext(null);this._c=null;return}this._f.ar(a);this.thumbnailContext(this._f._c)},bk:function(a){if(!this._m){var val_=a;var obj_=this._e.surfaceViewer();obj_.zoomLevel(val_)}},_c:null,_d:null,a2:function(a){if(this._d==a){return}if(a==null){if(this._c!=null){var b=this._c;b.onMouseWheel=$.ig.Delegate.prototype.remove(b.onMouseWheel,this.n.runOn(this));if(this._c.am()){var c=this._c;c.onZoomDelta=$.ig.Delegate.prototype.remove(c.onZoomDelta,this._e.cp.runOn(this._e));var d=this._c;d.onZoomStarted=$.ig.Delegate.prototype.remove(d.onZoomStarted,this._e.cq.runOn(this._e));var e=this._c;e.onZoomCompleted=$.ig.Delegate.prototype.remove(e.onZoomCompleted,this._e.co.runOn(this._e));var f=this._c;f.onGestureCompleted=$.ig.Delegate.prototype.remove(f.onGestureCompleted,this.an.runOn(this))}else{var g=this._c;g.onPinchDelta=$.ig.Delegate.prototype.remove(g.onPinchDelta,this.ap.runOn(this));var h=this._c;h.onPinchStarted=$.ig.Delegate.prototype.remove(h.onPinchStarted,this.aq.runOn(this));var i=this._c;i.onGestureCompleted=$.ig.Delegate.prototype.remove(i.onGestureCompleted,this.an.runOn(this))}var j=this._c;j.onMouseEnter=$.ig.Delegate.prototype.remove(j.onMouseEnter,this.ao.runOn(this));var k=this._c;k.onMouseOver=$.ig.Delegate.prototype.remove(k.onMouseOver,this._e.cc.runOn(this._e));var l=this._c;l.onContactStarted=$.ig.Delegate.prototype.remove(l.onContactStarted,this.am.runOn(this));var m=this._c;m.onContactMoved=$.ig.Delegate.prototype.remove(m.onContactMoved,this.al.runOn(this));var n=this._c;n.onContactCompleted=$.ig.Delegate.prototype.remove(n.onContactCompleted,this.ak.runOn(this));var o=this._c;o.onKeyDown=$.ig.Delegate.prototype.remove(o.onKeyDown,this._e.ar.runOn(this._e));var p=this._c;p.onMouseLeave=$.ig.Delegate.prototype.remove(p.onMouseLeave,this.az.runOn(this));this._c.au();this._c=null}this._d=null;return}this._d=a;if(a!=null){this._c=a.d();this._c._an=this.shouldInteract.runOn(this);var q=this._c;q.onMouseWheel=$.ig.Delegate.prototype.combine(q.onMouseWheel,this.n.runOn(this));if(this._c.am()){var r=this._c;r.onZoomDelta=$.ig.Delegate.prototype.combine(r.onZoomDelta,this._e.cp.runOn(this._e));var s=this._c;s.onZoomStarted=$.ig.Delegate.prototype.combine(s.onZoomStarted,this._e.cq.runOn(this._e));var t=this._c;t.onZoomCompleted=$.ig.Delegate.prototype.combine(t.onZoomCompleted,this._e.co.runOn(this._e));var u=this._c;u.onGestureCompleted=$.ig.Delegate.prototype.combine(u.onGestureCompleted,this.an.runOn(this))}else{var v=this._c;v.onPinchDelta=$.ig.Delegate.prototype.combine(v.onPinchDelta,this.ap.runOn(this));var w=this._c;w.onPinchStarted=$.ig.Delegate.prototype.combine(w.onPinchStarted,this.aq.runOn(this));var x=this._c;x.onGestureCompleted=$.ig.Delegate.prototype.combine(x.onGestureCompleted,this.an.runOn(this))}var y=this._c;y.onMouseEnter=$.ig.Delegate.prototype.combine(y.onMouseEnter,this.ao.runOn(this));var z=this._c;z.onMouseOver=$.ig.Delegate.prototype.combine(z.onMouseOver,this._e.cc.runOn(this._e));var aa=this._c;aa.onContactStarted=$.ig.Delegate.prototype.combine(aa.onContactStarted,this.am.runOn(this));var ab=this._c;ab.onContactMoved=$.ig.Delegate.prototype.combine(ab.onContactMoved,this.al.runOn(this));var ac=this._c;ac.onContactCompleted=$.ig.Delegate.prototype.combine(ac.onContactCompleted,this.ak.runOn(this));var ad=this._c;ad.onKeyDown=$.ig.Delegate.prototype.combine(ad.onKeyDown,this._e.ar.runOn(this._e));var ae=this._c;ae.onMouseLeave=$.ig.Delegate.prototype.combine(ae.onMouseLeave,this.az.runOn(this));this._c._bk=this.viewport();this._f._a=this._c}},ao:function(a){this._e.b9()},ap:function(a,b){this._e.ce(b)},aq:function(a,b){this._e.cf(a)},an:function(a,b){this._e.b4(a)},n:function(a,b){return this._e.at(b)},ak:function(a,b){a={__x:a.__x+this._c._bk.left(),__y:a.__y+this._c._bk.top(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};this._e.as(a)},al:function(a,b){a={__x:a.__x+this._c._bk.left(),__y:a.__y+this._c._bk.top(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};this._e.cc(a,false,b)},am:function(a,b){a={__x:a.__x+this._c._bk.left(),__y:a.__y+this._c._bk.top(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};this._e.cb(a)},az:function(a){if(!this.shouldInteract({__x:this.viewport().left()+a.__x,__y:this.viewport().top()+a.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})){this._e.ca()}},shouldInteract:function(a){if($$a.$y.l_op_Equality(a,null)){return false}if(this._e.__visibility!=0){return false}if(this._e.mode()==0&&this._e.mobileMode()){return false}var b=a.__x;var c=a.__y;var d=this.fullSize();if(b>=d.left()&&c>=d.top()&&b<d.left()+d.width()&&c<d.top()+d.height()){return true}return false},ay:function(a){if(a){this._k=false;if(this._f!=null&&this._e.__visibility==0){this._f.an();this._e.mode(0);this._e.refresh(true)}}else{if(this._f!=null){this._f.al();this._e.mode(0);this._e.refresh(true);this._x=0;this._w=0;this._k=true;this._f.ap()}}},_fullSize:null,fullSize:function(a){if(arguments.length===1){this._fullSize=a;return a}else{return this._fullSize}},ah:function(a){this.fullSize(a);this._bs._ak._e=this.fullSize();var b=a.height()-4;var c=a.width()-4;if(this._x>=1&&!this._e.mobileMode()){b-=20;this._f.a1(this.fullSize(),c,b)}if(this._f._o!=null){
if(this._e.mobileMode()&&this._e.__visibility==0){this._f._o.show()}else{this._f.ao(true)}}this.viewport(new $$a.ae(0,this.fullSize().left()+2,this.fullSize().top()+2,c,b));this.makeDirty()},_m:false,a9:function(a){this._m=true;this._f.ak(a);this._m=false},onZoomTo100:function(){this._e.cr()},_thumbnailContext:null,thumbnailContext:function(a){if(arguments.length===1){this._thumbnailContext=a;return a}else{return this._thumbnailContext}},_thumbnailSize:null,thumbnailSize:function(a){if(arguments.length===1){this._thumbnailSize=a;return a}else{return this._thumbnailSize}},a7:function(a){},bf:function(a,b){if(!this.shouldInteract({__x:a,__y:b,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})){this._e.ca()}},v:function(){return this._f.m()},bd:function(a){this._f.aw(a)},bc:function(a){this._f.av(a)},queueWork:function(a){this._f.as(a)},a5:function(){this._e.b6()},_useDeltaZoom:false,useDeltaZoom:function(a){if(arguments.length===1){this._useDeltaZoom=a;return a}else{return this._useDeltaZoom}},_mSPointerEnabled:false,mSPointerEnabled:function(a){if(arguments.length===1){this._mSPointerEnabled=a;return a}else{return this._mSPointerEnabled}},preRender:function(){},isValid:function(){return true},onIsSurfaceInteractionDisabledChanged:function(){if(this._c!=null){this._c.ae(this._e.isSurfaceInteractionDisabled())}},$type:new $.ig.Type("XamOverviewPlusDetailPaneView",$.ig.$ot,[$.ig.ISchedulableRender.prototype.$type])},true);$c("XamOverviewPlusDetailPaneViewManager:e","Object",{_q:null,_n:null,_p:null,_o:null,_slider:null,slider:function(a){if(arguments.length===1){this._slider=a;return a}else{return this._slider}},_c:null,_sliderEnabled:false,sliderEnabled:function(a){if(arguments.length===1){this._sliderEnabled=a;return a}else{return this._sliderEnabled}},_isJqueryMobile:false,isJqueryMobile:function(a){if(arguments.length===1){this._isJqueryMobile=a;return a}else{return this._isJqueryMobile}},w:null,v:null,y:null,z:null,x:null,ab:function(){if(this._n==null||this._n.getResourceString("overview")==null){return this.w}return this._n.getResourceString("overview")},aa:function(){if(this._n==null||this._n.getResourceString("close")==null){return this.v}return this._n.getResourceString("close")},ad:function(){if(this._n==null||this._n.getResourceString("zoomIn")==null){return this.y}return this._n.getResourceString("zoomIn")},ae:function(){if(this._n==null||this._n.getResourceString("zoomOut")==null){return this.z}return this._n.getResourceString("zoomOut")},ac:function(){if(this._n==null||this._n.getResourceString("resetZoom")==null){return this.x}return this._n.getResourceString("resetZoom")},b:null,init:function(a){this.w="Overview";this.v="Close";this.y="Zoom In";this.z="Zoom Out";this.x="Reset Zoom";this.i=false;$.ig.$op.init.call(this);this.b=a;this.isJqueryMobile($!=="undefined"&&typeof $.mobile!=="undefined"&&$.mobile!==null)},_s:null,_t:null,_r:null,ar:function(a){if(a==null){this.a4();this._n=null;this._p=null;this.slider(null);return}this._n=a;this._q=this._n.createElement("canvas");this._c=new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,this._n.get2DCanvasContext(this._q));var b=this._n.createElement("div");b.addClass("ui-chart-toolbar");b.hide();this._p=b;this._n.append(b);this.aq();if(!this.b._e.mobileMode()){this.ao(true)}var c=this._n.createElement("ul");c.addClass("ui-widget");c.setStyleProperty("margin","0px");c.setStyleProperty("padding","0px");b.append(c);var d=this._n.createElement("div");d.addClass("ui-chart-slider");var slider_;if(this.isJqueryMobile()){slider_=this._n.createElement("input");slider_.setAttribute("type","range");slider_.setStyleProperty("display","none");slider_.setAttribute("max","100");slider_.setAttribute("min","0")}else{slider_=this._n.createElement("div")}d.append(slider_);this.slider($(slider_.getNativeElement()));if(this.slider().slider){this.slider().slider({mini:true});this.sliderEnabled(true)}if(this.sliderEnabled()&&this._n.supportsDOMEvents()){this.slider().bind(this.isJqueryMobile()?"change":"slide",this.a2.runOn(this))}var zoomout_=this._n.createElement("button");var zoomin_=this._n.createElement("button");var zoom100_=this._n.createElement("button");var zoomOutText_=this.ae();var zoomInText_=this.ad();var resetZoomText_=this.ac();if(this.isJqueryMobile()){zoomout_=this._n.createElement("div");zoomout_.setAttribute("title",zoomOutText_);zoomout_.buttonMarkup({iconpos:"notext",icon:"zoomout",mini:true,inline:true,corners:false});zoomin_=this._n.createElement("div");zoomin_.setAttribute("title",zoomInText_);zoomin_.buttonMarkup({iconpos:"notext",icon:"zoomin",mini:true,inline:true,corners:false});zoom100_=this._n.createElement("div");zoom100_.setAttribute("title",resetZoomText_);zoom100_.buttonMarkup({iconpos:"notext",icon:"reset",mini:true,inline:true,corners:false})}else{$(zoomout_.getNativeElement()).button({icons:{primary:"ui-icon-zoomout"},label:zoomOutText_,text:false});$(zoomin_.getNativeElement()).button({icons:{primary:"ui-icon-zoomin"},label:zoomInText_,text:false});$(zoom100_.getNativeElement()).button({icons:{primary:"ui-icon-arrow-4-diag"},label:resetZoomText_,text:false})}this.h=zoomout_.listen("click",this.a9.runOn(this));this.g=zoomin_.listen("click",this.a8.runOn(this));this.f=zoom100_.listen("click",this.a7.runOn(this));this._t=zoomout_;this._s=zoomin_;this._r=zoom100_;this.af(c,zoomout_,true);this.af(c,d,false);this.af(c,zoomin_,true);this.af(c,zoom100_,true);this.e=b.listen("mouseleave",this.ax.runOn(this))},a4:function(){if(this._p!=null){if(this.e!=null){this.e();this.e=null}}if(this._o!=null){if(this.d!=null){this.d();this.d=null}}if(this._t!=null){if(this.h!=null){this.h();this.h=null}}if(this._s!=null){if(this.g!=null){this.g();this.g=null}}if(this._r!=null){if(this.f!=null){this.f();this.f=null}}if(this.sliderEnabled()&&this.slider()!=null){this.slider().unbind(this.isJqueryMobile()?"change":"slide")}this._s=null;this._t=null;this._r=null;this.slider(null);this._o=null},aq:function(){var closeIcon_=this._n.createElement("button");closeIcon_.setAttribute("toggle","closed");closeIcon_.addClass("ui-chart-opd-button");var overview_=this.ab();if(this.isJqueryMobile()){closeIcon_=this._n.createElement("div");closeIcon_.setAttribute("toggle","closed");closeIcon_.addClass("ui-chart-opd-button");$(closeIcon_.getNativeElement()).html(overview_).buttonMarkup({icon:"arrow-d",iconpos:"left"})}else{$(closeIcon_.getNativeElement()).button({icons:{secondary:"ui-icon-carat-1-s"},label:overview_})}if(!this.b._e.mobileMode()){closeIcon_.hide()}this.d=closeIcon_.listen("click",this.a3.runOn(this));this._o=closeIcon_;this._n.append(closeIcon_)},ax:function(a){var b=this._a.bi();var c=a.pageX-b.__x;var d=a.pageY-b.__y;this.b.bf(c,d)},af:function(a,b,c){var d=this._n.createElement("li");if(!c){d.addClass("ui-chart-slider-holder")}d.append(b);a.append(d)},a9:function(a){this.ak(this.m()-.05);this.b.bk(this.m());a.preventDefault()},a8:function(a){this.ak(this.m()+.05);this.b.bk(this.m());a.preventDefault()},ak:function(zoomLevel_){if(this.sliderEnabled()&&this.slider()!=null){var slider_=this.slider();if(this.isJqueryMobile()){slider_.slider("refresh",Math.round(zoomLevel_*100),true,false)}else{slider_.slider("option","value",Math.round(zoomLevel_*100))}}},a7:function(a){this.b.onZoomTo100();a.preventDefault()},a3:function(a){if(this._o.getAttribute("toggle")=="closed"||this.isJqueryMobile()&&this._o.getAttribute("data-toggle")=="closed"){this.a0()}else{this.ao(false)}this.b._e.refresh(true);a.preventDefault()},m:function(){if(this.sliderEnabled()&&this.slider()!=null){var slider_=this.slider();if(this.isJqueryMobile()){return parseInt(slider_.val()||0)/100}else{return slider_.slider("option","value")/100}}else{return 0}},aw:function(a){var min_=Math.round(a*100);if(this.sliderEnabled()&&this.slider()!=null){var slider_=this.slider();if(this.isJqueryMobile()){slider_.attr("min",min_)}else{slider_.slider("option","min",min_)}}},av:function(a){var max_=Math.round(a*100);if(this.sliderEnabled()&&this.slider()!=null){var slider_=this.slider();if(this.isJqueryMobile()){slider_.attr("max",max_)}else{slider_.slider("option","max",max_)}}},ai:function(a){},aj:function(a){},ag:function(a){},ah:function(a){},a2:function(e_,ui_){var a=(ui_?ui_.value:e_.target.value)/100;this.b.bk(a)},a6:function(a){this._q.setAttribute("width",a.toString())},a5:function(a){this._q.setAttribute("height",a.toString())},at:function(a){a.__stroke=function(){var $ret=new $$a.at;$ret.fill("#AEB8C2");return $ret}();a.__fill=function(){var $ret=new $$a.at;$ret.fill("#C6CFD9");return $ret}()},az:function(a){a.__stroke=function(){var $ret=new $$a.at;$ret.fill("rgba(92,105,124,.4)");return $ret}();a.__fill=function(){var $ret=new $$a.at;$ret.fill("rgba(147,159,175,0)");return $ret}()},ay:function(a){a.__stroke=function(){var $ret=new $$a.at;$ret.fill("rgba(68,76,88,.6)");return $ret}();a.__fill=function(){var $ret=new $$a.at;$ret.fill("rgba(92,105,118,.1)");return $ret}()},au:function(a){a.__stroke=function(){var $ret=new $$a.at;$ret.fill("#2A3037");return $ret}()},am:function(a,b){a.m(this._q.getNativeElement(),1,b.left(),b.top(),b.width(),b.height())},a1:function(a,b,c){this._p.setStyleProperty("top",(a.top()+2+c).toString()+"px");this._p.setStyleProperty("left",(a.left()+2).toString()+"px");this._p.setStyleProperty("width",b.toString()+"px");this._p.setStyleProperty("height","20px");this._p.show()},i:false,e:null,f:null,g:null,h:null,d:null,an:function(){if(this._p!=null){this._p.hide()}},al:function(){this.b._e.mode(0)},a0:function(){this.i=true;this.b._e.__visibility=0;this.an();this.b._e.mode(1);var mp_=$(this._o.getNativeElement());var close_=this.aa();if(this.isJqueryMobile()){mp_.find(".ui-btn-text").html(close_);mp_.find(".ui-icon").removeClass("ui-icon-arrow-d").addClass("ui-icon-delete")}else{mp_.button("option","icons",{secondary:"ui-icon-close"});mp_.button("option","label",close_)}this._o.setAttribute("toggle","open").setAttribute("data-toggle","open");this._p.setStyleProperty("left",(this.b._e.view().fullSize().left()+5).toString()+"px");this._p.setStyleProperty("width",(this.b._e.view().fullSize().width()-10).toString()+"px");this._p.setStyleProperty("top",(this.b._e.view().fullSize().height()-this._p.height()).toString()+"px");this._p.show()},ao:function(a){if(this.i){this.i=false;this.b._e.__visibility=1;var mp_=$(this._o.getNativeElement());var overview_=this.ab();if(this.isJqueryMobile()){mp_.find(".ui-btn-text").html(overview_);mp_.find(".ui-icon").removeClass("ui-icon-delete").addClass("ui-icon-arrow-d")}else{mp_.button("option","icons",{secondary:"ui-icon-carat-1-s"});mp_.button("option","label",overview_)}this._o.setAttribute("toggle","closed").setAttribute("data-toggle","closed");this.b._e.mode(0);this._p.hide();this.b.a5()}if(a){this._o.hide()}},ap:function(){this._p.hide()},_a:null,as:function(a){if(this._n!=null){this._n.setTimeout(a,0)}else{window.setTimeout(a,0)}},k:function(){return this.isJqueryMobile()},$type:new $.ig.Type("XamOverviewPlusDetailPaneViewManager",$.ig.$ot)},true);$$t.$a.allowPanProperty=$$a.$s.i("AllowPan",$$0.$aq.$type,$$t.$a.$type,new $$a.ac(2,true,$$t.$a.m));$$t.$a.allowZoomProperty=$$a.$s.i("AllowZoom",$$0.$aq.$type,$$t.$a.$type,new $$a.ac(2,true,$$t.$a.n));$$t.$c.immediateProperty=$$a.$s.i("Immediate",$$0.$aq.$type,$$t.$c.$type,new $$a.ac(2,true,function(a,b){$b($$t.$c.$type,a).cg(new $.ig.PropertyChangedEventArgs$1($$0.$aq.$type,"Immediate",b.oldValue(),b.newValue()))}));$$t.$c.worldProperty=$$a.$s.i("World",$$a.$ae.$type,$$t.$c.$type,new $$a.ac(2,$$a.$ae.empty(),function(a,b){$b($$t.$c.$type,a).cg(new $.ig.PropertyChangedEventArgs$1($$a.$ae.$type,"World",b.oldValue(),b.newValue()))}));$$t.$c.worldStyleProperty=$$a.$s.i("WorldStyle",$$a.$ag.$type,$$t.$c.$type,new $$a.ac(1,function(a,b){$b($$t.$c.$type,a).cg(new $.ig.PropertyChangedEventArgs$1($$a.$ag.$type,"WorldStyle",$b($$a.$ag.$type,b.oldValue()),$b($$a.$ag.$type,b.newValue())))}));$$t.$c.windowProperty=$$a.$s.i("Window",$$a.$ae.$type,$$t.$c.$type,new $$a.ac(2,$$a.$ae.empty(),function(a,b){$b($$t.$c.$type,a).cg(new $.ig.PropertyChangedEventArgs$1($$a.$ae.$type,"Window",b.oldValue(),b.newValue()))}));$$t.$c.windowStyleProperty=$$a.$s.i("WindowStyle",$$a.$ag.$type,$$t.$c.$type,new $$a.ac(1,function(a,b){$b($$t.$c.$type,a).cg(new $.ig.PropertyChangedEventArgs$1($$a.$ag.$type,"WindowStyle",$b($$a.$ag.$type,b.oldValue()),$b($$a.$ag.$type,b.newValue())))}));$$t.$c.previewProperty=$$a.$s.i("Preview",$$a.$ae.$type,$$t.$c.$type,new $$a.ac(2,$$a.$ae.empty(),function(a,b){$b($$t.$c.$type,a).cg(new $.ig.PropertyChangedEventArgs$1($$a.$ae.$type,"Preview",b.oldValue(),b.newValue()))}));$$t.$c.previewStyleProperty=$$a.$s.i("PreviewStyle",$$a.$ag.$type,$$t.$c.$type,new $$a.ac(1,function(a,b){$b($$t.$c.$type,a).cg(new $.ig.PropertyChangedEventArgs$1($$a.$ag.$type,"PreviewStyle",$b($$a.$ag.$type,b.oldValue()),$b($$a.$ag.$type,b.newValue())))}));$$t.$c.shrinkToThumbnailProperty=$$a.$s.i("ShrinkToThumbnail",$$0.$aq.$type,$$t.$c.$type,new $$a.ac(2,true,$$t.$c.ck));$$t.$c.modeProperty=$$a.$s.i("Mode",$$t.$b.$type,$$t.$c.$type,new $$a.ac(2,$$t.$b.getBox(0),$$t.$c.b8));$$t.$c.zoomTo100ButtonVisibilityProperty=$$a.$s.i("ZoomTo100ButtonVisibility",$$a.$aj.$type,$$t.$c.$type,new $$a.ac(2,$$a.$aj.getBox(0),function(a,b){a.ch("ZoomTo100ButtonVisibility",b.oldValue(),b.newValue())}));$$t.$c.scaleToFitButtonVisibilityProperty=$$a.$s.i("ScaleToFitButtonVisibility",$$a.$aj.$type,$$t.$c.$type,new $$a.ac(2,$$a.$aj.getBox(0),function(a,b){a.ch("ScaleToFitButtonVisibility",b.oldValue(),b.newValue())}));$$t.$c.interactionStatesToolVisibilityProperty=$$a.$s.i("InteractionStatesToolVisibility",$$a.$aj.$type,$$t.$c.$type,new $$a.ac(2,$$a.$aj.getBox(0),function(a,b){a.ch("InteractionStatesToolVisibility",b.oldValue(),b.newValue())}));$$t.$c.zoomLevelLargeChangeProperty=$$a.$s.i("ZoomLevelLargeChange",Number,$$t.$c.$type,new $$a.ac(2,1,function(a,b){a.ch("ZoomLevelLargeChange",b.oldValue(),b.newValue())}))});