oi-metrology/ClientHub/wwwroot/igniteui/js/infragistics.scheduler-bundled.js
2023-01-15 18:40:32 -07:00

211 lines
975 KiB
JavaScript

(function(factory){if(typeof define==="function"&&define.amd){define(["jquery","jquery-ui","./infragistics.core","./infragistics.lob"],factory)}else{factory(jQuery)}})(function($){/*!@license
* Infragistics.Web.ClientUI infragistics.ext_ui.js 19.1.20191.172
*
* Copyright (c) 2011-2019 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
*/
(function($){$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$a=$$t;$$0=$.ig.globalDefs.$$0;$$1=$.ig.globalDefs.$$1;$$4=$.ig.globalDefs.$$4;$$6=$.ig.globalDefs.$$6;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["DataTemplateRenderHandler:o","DataTemplateMeasureHandler:p","DataTemplatePassHandler:q","DependencyObject:r","DependencyProperty:s","DependencyPropertiesCollection:u","DependencyPropertyChangedEventArgs:v","IDataObject:x","PropertyChangedCallback:aa","CoerceValueCallback:ab","PropertyMetadata:ac","Brush:at","LinearGradientBrush:au","CssGradientUtil:aw"]);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;$d("ModifierKeys:aq",false,false,{None:0,Alt:1,Control:2,Shift:4,Windows:8,Apple:8});$d("Key:ap",false,false,{None:0,Back:1,Tab:2,Enter:3,Shift:4,Ctrl:5,Alt:6,CapsLock:7,Escape:8,Space:9,PageUp:10,PageDown:11,End:12,Home:13,Left:14,Up:15,Right:16,Down:17,Insert:18,"Delete:del":19,D0:20,D1:21,D2:22,D3:23,D4:24,D5:25,D6:26,D7:27,D8:28,D9:29,A:30,B:31,C:32,D:33,E:34,F:35,G:36,H:37,I:38,J:39,K:40,L:41,M:42,N:43,O:44,P:45,Q:46,R:47,S:48,T:49,U:50,V:51,W:52,X:53,Y:54,Z:55,F1:56,F2:57,F3:58,F4:59,F5:60,F6:61,F7:62,F8:63,F9:64,F10:65,F11:66,F12:67,NumPad0:68,NumPad1:69,NumPad2:70,NumPad3:71,NumPad4:72,NumPad5:73,NumPad6:74,NumPad7:75,NumPad8:76,NumPad9:77,Multiply:78,Add:79,Subtract:80,Decimal:81,Divide:82,OemSemicolon:83,OemQuestion:84,OemPipe:85,OemTilde:86,OemPlus:87,OemMinus:88,Unknown:255});$d("Stretch:bk",false,false,{None:0,Fill:1,Uniform:2,UniformToFill:3});$d("PenLineCap:bj",false,false,{Flat:0,Square:1,Round:2,Triangle:3});$d("SweepDirection:bi",false,false,{Counterclockwise:0,Clockwise:1});$d("PathSegmentType:ba",false,false,{Line:0,Bezier:1,PolyBezier:2,PolyLine:3,Arc:4});$d("GeometryType:a0",false,false,{Group:0,Line:1,Rectangle:2,Ellipse:3,Path:4});$d("FillRule:az",false,false,{EvenOdd:0,Nonzero:1});$d("Visibility:aj",false,false,{Visible:0,Collapsed:1});$d("VerticalAlignment:ai",false,false,{Top:0,Center:1,Bottom:2,Stretch:3});$d("HorizontalAlignment:w",false,false,{Left:0,Center:1,Right:2,Stretch:3});$c("APIFactory:a","Object",{init:function(){$.ig.$op.init.call(this)},createPoint:function(a,b){return{__x:a,__y:b,$type:$$t.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},createRect:function(a,b,c,d){return new $$t.ae(0,a,b,c,d)},createSize:function(a,b){return new $$t.af(1,a,b)},createColor:function(a){var b=new $$t.ax;b.colorString(a);return b},$type:new $.ig.Type("APIFactory",$.ig.$ot)},true);$c("IDataObject:x","Object",{$type:new $.ig.Type("IDataObject",null)},true);$c("Clipboard:b","Object",{init:function(){$.ig.$op.init.call(this)},c:function(){return $$t.$b.b},a:function(a,b){$$t.$b.b=a},$type:new $.ig.Type("Clipboard",$.ig.$ot)},true);$c("DependencyObject:r","Object",{init:function(){$.ig.$op.init.call(this);this._localValues=new $$0.bs(0);this.a=new $$0.bs(0)},_localValues:null,a:null,c:function(a){if(this._localValues.containsKey(a.name())){return this._localValues.item(a.name())}return a.l().b()},h:function(dp_,a){if(dp_.b()){var oldValue_=null;var old=this._localValues.proxy[dp_.__name];if(typeof old!="undefined"){oldValue_=old}this._localValues.item(dp_.__name,a);dp_.l().d()(this,new $$t.v(dp_,a,oldValue_))}else{this._localValues.item(dp_.__name,a)}},f:function(a){this._localValues.remove(a.__name)},e:function(a){if(this._localValues.containsKey(a.__name)){return this._localValues.item(a.name())}return $$t.$s.c},g:function(a,b){if(a==null){return}this.a.item(a.name(),b)},getValueAlt:function(a){return this.c(a)},setValueAlt:function(dp_,a){this.h(dp_,a)},$type:new $.ig.Type("DependencyObject",$.ig.$ot)},true);$c("UIElement:c","DependencyObject",{init:function(){$$t.$r.init.call(this)},_j:null,$type:new $.ig.Type("UIElement",$$t.$r.$type)},true);$c("UIElementCollection:d","ObservableCollection$1",{ae:null,init:function(a){$$4.$f.init.call(this,$$t.$c.$type,0);this.ae=a},ac:function(a){$$4.$f.ac.call(this,a);if(a.oldItems()!=null){var c=a.oldItems().getEnumerator();while(c.moveNext()){var b=c.current();b._x=null}}if(a.newItems()!=null){var e=a.newItems().getEnumerator();while(e.moveNext()){var d=e.current();d._x=this.ae}}},p:function(){var b=this.getEnumerator();while(b.moveNext()){var a=b.current();a._x=null}$$4.$f.p.call(this)},$type:new $.ig.Type("UIElementCollection",$$4.$f.$type.specialize($$t.$c.$type))},true);$c("FrameworkElement:e","UIElement",{init:function(){this.__opacity=1;$$t.$c.init.call(this);this.__opacity=1;this._s=0;this.__visibility=0;this.width(NaN);this.height(NaN)},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},_m:0,_l:0,__visibility:0,visibility:function(a){if(arguments.length===1){if(this.__visibility!=a){var b=this.__visibility;this.__visibility=a;this.w(b,this.__visibility)}return a}else{return this.__visibility}},w:function(a,b){},_width:0,width:function(a){if(arguments.length===1){this._width=a;return a}else{return this._width}},_height:0,height:function(a){if(arguments.length===1){this._height=a;return a}else{return this._height}},_o:0,_n:0,_s:0,_x:null,_dataContext:null,dataContext:function(a){if(arguments.length===1){this._dataContext=a;return a}else{return this._dataContext}},__opacity:0,opacity:function(a){if(arguments.length===1){if(this.__opacity!=a){this.__opacity=a;this.v()}return a}else{return this.__opacity}},v:function(){},_y:null,$type:new $.ig.Type("FrameworkElement",$$t.$c.$type)},true);$c("Control:f","FrameworkElement",{init:function(){$$t.$e.init.call(this)},_ab:null,_ae:null,ac:function(){},_ad:0,_af:0,$type:new $.ig.Type("Control",$$t.$e.$type)},true);$c("ContentControl:g","Control",{init:function(){$$t.$f.init.call(this)},_content:null,content:function(a){if(arguments.length===1){this._content=a;return a}else{return this._content}},_ah:null,$type:new $.ig.Type("ContentControl",$$t.$f.$type)},true);$c("CornerRadius:h","Object",{init:function(a,b){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$.ig.$op.init.call(this);this._a=this._b=this._c=this._d=b},init1:function(a,b,c,d,e){$.ig.$op.init.call(this);this._c=b;this._d=c;this._b=d;this._a=e},_b:0,_a:0,_c:0,_d:0,$type:new $.ig.Type("CornerRadius",$.ig.$ot)},true);$c("DataFormats:i","Object",{init:function(){$.ig.$op.init.call(this)},$type:new $.ig.Type("DataFormats",$.ig.$ot)},true);$c("DataObject:j","Object",{a:null,init:function(){$.ig.$op.init.call(this);this.a=new $$4.h(String,$.ig.$op.$type,0)},getData:function(a){var $self=this;var b;if(function(){var c=$self.a.tryGetValue(a,b);b=c.p1;return c.ret}()){return b}return null},getDataPresent:function(a){return this.a.containsKey(a)},setData:function(a,b){this.a.item(a,b)},$type:new $.ig.Type("DataObject",$.ig.$ot,[$$t.$x.$type])},true);$c("DataTemplate:k","Object",{init:function(){$.ig.$op.init.call(this)},_render:null,render:function(a){if(arguments.length===1){this._render=a;return a}else{return this._render}},_measure:null,measure:function(a){if(arguments.length===1){this._measure=a;return a}else{return this._measure}},_passStarting:null,passStarting:function(a){if(arguments.length===1){this._passStarting=a;return a}else{return this._passStarting}},_passCompleted:null,passCompleted:function(a){if(arguments.length===1){this._passCompleted=a;return a}else{return this._passCompleted}},$type:new $.ig.Type("DataTemplate",$.ig.$ot)},true);$c("DataTemplatePassInfo:l","Object",{init:function(){$.ig.$op.init.call(this)},renderContext:null,context:null,viewportTop:0,viewportLeft:0,viewportWidth:0,viewportHeight:0,isHitTestRender:false,passID:null,$type:new $.ig.Type("DataTemplatePassInfo",$.ig.$ot)},true);$c("DataTemplateMeasureInfo:m","Object",{init:function(){$.ig.$op.init.call(this)},renderContext:null,context:null,width:0,height:0,isConstant:false,data:null,passInfo:null,renderOffsetX:0,renderOffsetY:0,$type:new $.ig.Type("DataTemplateMeasureInfo",$.ig.$ot)},true);$c("DataTemplateRenderInfo:n","Object",{init:function(){$.ig.$op.init.call(this)},renderContext:null,context:null,xPosition:0,yPosition:0,availableWidth:0,availableHeight:0,data:null,isHitTestRender:false,passInfo:null,renderOffsetX:0,renderOffsetY:0,$type:new $.ig.Type("DataTemplateRenderInfo",$.ig.$ot)},true);$c("UnsetValue:t","Object",{init:function(){$.ig.$op.init.call(this)},$type:new $.ig.Type("UnsetValue",$.ig.$ot)},true);$c("DependencyProperty:s","Object",{__name:null,f:null,k:null,a:false,b:function(){return this.a},init:function(a,b,c){this.a=false;$.ig.$op.init.call(this);this.__name=a;this.f=b;this.k=c;if(this.k!=null&&this.k.d()!=null){this.a=true}else{this.a=false}},l:function(){return this.k},propertyType:function(){return this.f},name:function(){return this.__name},i:function(a,b,c,d){return $$t.$u.c().e(a,b,c,d)},h:function(a,b){if(b==null){return null}var c=$$t.$u.c().d(b.typeName()+a);if(c!=null){return c}return $$t.$s.h(a,b.baseType)},registerAlt:function(a,b,c,d){return $$t.$s.i(a,b,c,d)},$type:new $.ig.Type("DependencyProperty",$.ig.$ot)},true);$c("DependencyPropertiesCollection:u","Object",{a:null,c:function(){if($$t.$u.b==null){$$t.$u.b=new $$t.u}return $$t.$u.b},init:function(){$.ig.$op.init.call(this);if(this.a==null){this.a=new $$0.bs(0)}},d:function(a){return this.a.item(a)},e:function(a,b,c,d){var e=new $$t.s(a,b,d);this.a.item(c.typeName()+a,e);return e},$type:new $.ig.Type("DependencyPropertiesCollection",$.ig.$ot)},true);$c("DependencyPropertyChangedEventArgs:v","Object",{a:null,b:null,init:function(a,b,c){$.ig.$op.init.call(this);this.a=b;this.b=c;this.e=a},e:null,f:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},newValue:function(){return this.a},oldValue:function(){return this.b},$type:new $.ig.Type("DependencyPropertyChangedEventArgs",$.ig.$ot)},true);$c("Point:y","Object",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$.ig.$op.init.call(this);this.__x=0;this.__y=0},x:function(a){if(arguments.length===1){this.__x=a;return a}else{return this.__x}},y:function(a){if(arguments.length===1){this.__y=a;return a}else{return this.__y}},__x:0,__y:0,init1:function(a,b,c){$.ig.$op.init.call(this);this.__x=b;this.__y=c},equals:function(a){if(a==null){return $.ig.$op.equals.call(this,a)}var b=a;return b.__x==this.__x&&b.__y==this.__y},getHashCode:function(){return this.__x^this.__y},l_op_Equality:function(a,b){if(a==null){return b==null}else if(b==null){return false}return a.__x==b.__x&&a.__y==b.__y},l_op_Inequality:function(a,b){return!$$t.$y.l_op_Equality(a,b)},$type:new $.ig.Type("Point",$.ig.$ot)},true);$c("PointCollection:z","List$1",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$4.$x.init.call(this,$$t.$y.$type,0)},init1:function(a,source_){$$4.$x.init.call(this,$$t.$y.$type,0);this.__inner=source_.__inner},$type:new $.ig.Type("PointCollection",$$4.$x.$type.specialize($$t.$y.$type))},true);$c("PropertyMetadata:ac","Object",{a:null,b:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},c:null,d:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},init:function(a,b){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$.ig.$op.init.call(this);this.b(b);this.d(null)},init1:function(a,b){$.ig.$op.init.call(this);this.b(null);this.d(b)},init2:function(a,b,c){$.ig.$op.init.call(this);this.b(b);this.d(c)},createWithCallback:function(a){return new $$t.ac(1,a)},createWithDefaultAndCallback:function(a,b){return new $$t.ac(2,a,b)},$type:new $.ig.Type("PropertyMetadata",$.ig.$ot)},true);$c("PropertyPath:ad","Object",{a:null,b:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},init:function(a){$.ig.$op.init.call(this);this.b(a)},$type:new $.ig.Type("PropertyPath",$.ig.$ot)},true);$c("Rect:ae","Object",{init:function(a,b,c,d,e){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break;case 3:this.init3.apply(this,arguments);break;case 4:this.init4.apply(this,arguments);break}return}$.ig.$op.init.call(this);this.top(c);this.left(b);this.width(d);this.height(e)},init1:function(a,b,c,d){$.ig.$op.init.call(this);this.top(c);this.left(b);this.width(d.width());this.height(d.height())},init2:function(a,b,c){$.ig.$op.init.call(this);this.top(Math.min(b.__y,c.__y));this.left(Math.min(b.__x,c.__x));this.width(Math.max(Math.max(b.__x,c.__x)-this.left(),0));this.height(Math.max(Math.max(b.__y,c.__y)-this.top(),0))},init3:function(a,b,c){$.ig.$op.init.call(this);this.top(b.__y);this.left(b.__x);this.width(c.width());this.height(c.height())},init4:function(a){$.ig.$op.init.call(this);this.top(0);this.left(0);this.width(0);this.height(0)},s:0,x:function(a){if(arguments.length===1){this.s=a;this.o=this.s;this.p=this.o+this.r;return a}else{return this.s}},t:0,y:function(a){if(arguments.length===1){this.t=a;this.q=this.t;this.m=this.q+this.n;return a}else{return this.t}},r:0,width:function(a){if(arguments.length===1){this.r=a;this.p=this.o+this.r;return a}else{return this.r}},n:0,height:function(a){if(arguments.length===1){this.n=a;this.m=this.q+this.n;return a}else{return this.n}},q:0,top:function(a){if(arguments.length===1){this.q=a;this.y(this.q);return a}else{return this.q}},o:0,left:function(a){if(arguments.length===1){this.o=a;this.x(this.o);return a}else{return this.o}},p:0,right:function(a){if(arguments.length===1){this.p=a;this.r=this.p-this.o;return a}else{return this.p}},m:0,bottom:function(a){if(arguments.length===1){this.m=a;this.n=this.m-this.q;return a}else{return this.m}},isEmpty:function(){return this.r<0},empty:function(){return new $$t.ae(0,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY)},equals1:function(a){if($$t.$ae.l_op_Equality(a,null)){return false}if(a.x()==this.x()&&a.y()==this.y()&&a.width()==this.width()&&a.height()==this.height()){return true}return false},d:function(a,b){return a>=this.s&&a-this.r<=this.s&&b>=this.t&&b-this.n<=this.t},containsLocation:function(a,b){return!this.isEmpty()&&this.d(a,b)},containsPoint:function(a){return this.containsLocation(a.__x,a.__y)},containsRect:function(a){return!this.isEmpty()&&!a.isEmpty()&&(this.s<=a.s&&this.t<=a.t&&this.s+this.r>=a.s+a.r)&&this.t+this.n>=a.t+a.n},inflate:function(a,b){this.x(this.x()-a);this.y(this.y()-b);this.width(this.width()+a*2);this.height(this.height()+b*2);if(this.r<0||this.n<0){this.af()}},af:function(){this.top(Number.POSITIVE_INFINITY);this.left(Number.POSITIVE_INFINITY);this.width(Number.NEGATIVE_INFINITY);this.height(Number.NEGATIVE_INFINITY)},intersectsWith:function(a){if(this.isEmpty()||a.isEmpty()){return false}return a.left()<this.right()&&this.left()<a.right()&&a.top()<this.bottom()&&this.top()<a.bottom()},intersect:function(a){if(!this.intersectsWith(a)){this.af()}else{var b=Math.max(this.x(),a.x());var c=Math.max(this.y(),a.y());var d=Math.min(this.x()+this.width(),a.x()+a.width())-b;var e=Math.min(this.y()+this.height(),a.y()+a.height())-c;if(d<0){d=0}if(e<0){e=0}this.r=d;this.n=e;this.s=b;this.t=c;this.o=this.s;this.q=this.t;this.p=this.o+this.r;this.m=this.q+this.n}},union:function(a){if(this.isEmpty()){this.s=a.x();this.t=a.y();this.r=a.width();this.n=a.height();this.o=this.s;this.q=this.t;this.p=this.o+this.r;this.m=this.q+this.n;return}if(!a.isEmpty()){var b=Math.min(this.x(),a.x());var c=Math.min(this.y(),a.y());var d=this.width();var e=this.height();if(a.width()==Number.POSITIVE_INFINITY||this.width()==Number.POSITIVE_INFINITY){d=Number.POSITIVE_INFINITY}else{var f=Math.max(this.right(),a.right());d=f-b}if(a.height()==Number.POSITIVE_INFINITY||this.height()==Number.POSITIVE_INFINITY){e=Number.POSITIVE_INFINITY}else{var g=Math.max(this.bottom(),a.bottom());e=g-c}this.s=b;this.t=c;this.r=d;this.n=e;this.o=this.s;this.q=this.t;this.p=this.o+this.r;this.m=this.q+this.n}},equals:function(a){if(a==null){return $.ig.$op.equals.call(this,a)}var b=a;return b.left()==this.left()&&b.top()==this.top()&&b.width()==this.width()&&b.height()==this.height()},getHashCode:function(){return this.s^this.t^this.r^this.n},copy:function(){return new $$t.ae(0,this.x(),this.y(),this.width(),this.height())},l_op_Equality:function(a,b){if(a==null){return b==null}else if(b==null){return false}return a.s==b.s&&a.t==b.t&&a.r==b.r&&a.n==b.n},l_op_Inequality:function(a,b){if(a==null){return b!=null}else if(b==null){return true}return a.s!=b.s||a.t!=b.t||a.r!=b.r||a.n!=b.n},$type:new $.ig.Type("Rect",$.ig.$ot)},true);$c("Size:af","ValueType",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$0.$bh.init.call(this)},init1:function(a,b,c){$$0.$bh.init.call(this);this.i=b;this.h=c},equals:function(a){if(a==null){return $$0.$bh.equals.call(this,a)}var b=a;return b.i==this.i&&b.h==this.h},getHashCode:function(){return this.i^this.h},i:0,h:0,width:function(a){if(arguments.length===1){this.i=a;return a}else{return this.i}},height:function(a){if(arguments.length===1){this.h=a;return a}else{return this.h}},isEmpty:function(){return this.i<0},empty:function(){var a=new $$t.af(0);a.i=Number.NEGATIVE_INFINITY;a.h=Number.NEGATIVE_INFINITY;return a},l_op_Inequality:function(a,b){return!$$t.$af.l_op_Equality(a,b)},l_op_Inequality_Lifted:function(a,b){if(!a.hasValue()){return b.hasValue()}else if(!b.hasValue()){return true}return $$t.$af.l_op_Inequality(a.value(),b.value())},l_op_Equality:function(a,b){return a.i==b.i&&a.h==b.h},l_op_Equality_Lifted:function(a,b){if(!a.hasValue()){return!b.hasValue()}else if(!b.hasValue()){return false}return $$t.$af.l_op_Equality(a.value(),b.value())},$type:new $.ig.Type("Size",$$0.$bh.$type)},true);$c("Style:ag","Object",{init:function(){this.strokeThickness=NaN;this.opacity=NaN;$.ig.$op.init.call(this)},fill:null,stroke:null,strokeThickness:0,opacity:0,$type:new $.ig.Type("Style",$.ig.$ot)},true);$c("StyleTypedPropertyAttribute","Attribute",{init:function(){$$0.$ao.init.call(this)},_a:null,_b:null,$type:new $.ig.Type("StyleTypedPropertyAttribute",$$0.$ao.$type)},true);$c("TemplatePartAttribute","Attribute",{init:function(){$$0.$ao.init.call(this)},_a:null,_b:null,$type:new $.ig.Type("TemplatePartAttribute",$$0.$ao.$type)},true);$c("TemplateVisualStateAttribute","Attribute",{init:function(){$$0.$ao.init.call(this)},_b:null,_a:null,$type:new $.ig.Type("TemplateVisualStateAttribute",$$0.$ao.$type)},true);$c("Thickness:ah","Object",{init:function(a,b){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$.ig.$op.init.call(this);this._b=this._c=this._d=this._e=b},init1:function(a,b,c,d,e){$.ig.$op.init.call(this);this._c=b;this._e=c;this._d=d;this._b=e},_b:0,_c:0,_d:0,_e:0,a:function(a){return this._b==a._b&&this._e==a._e&&this._c==a._c&&this._d==a._d},toString:function(){var a=this._c.toString()+","+this._e.toString()+","+this._d.toString()+","+this._b.toString();return a},$type:new $.ig.Type("Thickness",$.ig.$ot)},true);$c("Shape:bw","FrameworkElement",{init:function(){this.__fill=null;this.__stroke=null;$$t.$e.init.call(this)},__fill:null,fill:function(a){if(arguments.length===1){this.__fill=a;return a}else{return this.__fill}},__stroke:null,stroke:function(a){if(arguments.length===1){this.__stroke=a;return a}else{return this.__stroke}},_ab:false,_ac:0,_ai:null,_ad:0,$type:new $.ig.Type("Shape",$$t.$e.$type)},true);$c("Line:br","Shape",{init:function(){$$t.$bw.init.call(this);this._aj=0;this._ak=0;this._al=0;this._am=0},_aj:0,_ak:0,_al:0,_am:0,$type:new $.ig.Type("Line",$$t.$bw.$type)},true);$c("Path:bs","Shape",{init:function(){$$t.$bw.init.call(this)},_aj:null,$type:new $.ig.Type("Path",$$t.$bw.$type)},true);$c("Polygon:bt","Shape",{init:function(){$$t.$bw.init.call(this);this._aj=new $$t.z(0)},_aj:null,$type:new $.ig.Type("Polygon",$$t.$bw.$type)},true);$c("Polyline:bu","Shape",{init:function(){$$t.$bw.init.call(this);this._aj=new $$t.z(0)},_aj:null,$type:new $.ig.Type("Polyline",$$t.$bw.$type)},true);$c("Rectangle:bv","Shape",{ao:null,aj:0,al:function(a){if(arguments.length===1){this.aj=a;return a}else{return this.aj}},ak:0,am:function(a){if(arguments.length===1){this.ak=a;return a}else{return this.ak}},init:function(){$$t.$bw.init.call(this);this.ao=new $$t.ae(0,0,0,0,0)},an:function(a){},$type:new $.ig.Type("Rectangle",$$t.$bw.$type)},true);$c("Brush:at","Object",{init:function(){this.__fill=null;this.f=null;this.k=new $$t.ax;$.ig.$op.init.call(this)},_isGradient:false,_isRadialGradient:false,_isImageFill:false,__fill:null,fill:function(a){if(arguments.length===1){this.__fill=a;return a}else{return this.__fill}},f:null,k:null,color:function(a){if(arguments.length===1){this.k=a;this.f=this.k.colorString();this.__fill=this.f;return a}else{if(this.__fill==null&&(this._isGradient||this._isRadialGradient)){this.__fill=this.i()}if(this.__fill==this.f){return this.k}var a=new $$t.ax;if(this.__fill!=null){a.colorString(this.__fill);this.k=a;this.f=this.__fill;if(this.__fill.length==9){this.__fill=this.k.colorString();this.f=this.__fill}}return a}},i:function(){return null},equals:function(a){if(a==null){return false}var b=a;return this.__fill.equals(b.__fill)&&this.color().equals(b.color())&&this._isGradient==b._isGradient&&this._isImageFill==b._isImageFill&&this._isRadialGradient==b._isRadialGradient},getHashCode:function(){var a=this._isGradient.getHashCode()^this._isRadialGradient.getHashCode()^this._isImageFill.getHashCode();if(this.f!=null){a^=this.f.getHashCode()}if($$t.$ax.e($m($$t.$ax.$type,this.k),$m($$t.$ax.$type,null))){a^=this.k.getHashCode()}return a},create:function(val_){$$t.$aw.touch();var b_=new $$t.at;if(!val_){return null}if(typeof val_=="string"){if($.ig.CssGradientUtil.prototype.isGradient(val_)){b_=$.ig.CssGradientUtil.prototype.brushFromGradientString(val_)}else{b_=new $.ig.Brush;b_.fill(val_)}}else if(val_.type=="linearGradient"){b_=new $.ig.LinearGradientBrush;if(val_.startPoint&&val_.endPoint){b_._useCustomDirection=true;b_._startX=val_.startPoint.x;b_._startY=val_.startPoint.y;b_._endX=val_.endPoint.x;b_._endY=val_.endPoint.y}if(val_.colorStops){stops=[];for(var i=0;i<val_.colorStops.length;i++){colorStop=new $.ig.GradientStop;colorStop._offset=val_.colorStops[i].offset;colorStop.__fill=val_.colorStops[i].color;stops.push(colorStop)}b_._gradientStops=stops}}return b_},$type:new $.ig.Type("Brush",$.ig.$ot)},true);$c("LinearGradientBrush:au","Brush",{init:function(){$$t.$at.init.call(this);this._useCustomDirection=false;this._startX=0;this._startY=0;this._endX=0;this._endY=1;this._isAbsolute=false;this._gradientStops=new Array(0);this._isGradient=true},_useCustomDirection:false,_startX:0,_startY:0,_endX:0,_endY:0,_isAbsolute:false,_gradientStops:null,clone:function(){var a=new $$t.au;a._startX=this._startX;a._startY=this._startY;a._endX=this._endX;a._endY=this._endY;a._useCustomDirection=this._useCustomDirection;a._isAbsolute=this._isAbsolute;if(this._gradientStops!=null){a._gradientStops=new Array(this._gradientStops.length);for(var b=0;b<this._gradientStops.length;b++){a._gradientStops[b]=this._gradientStops[b].clone()}}return a},equals:function(a){if(a==null){return false}var b=$b($$t.$au.$type,a);if(b==null){return false}var c=$$t.$at.equals.call(this,a)&&this._startX==b._startX&&this._startY==b._startY&&this._endX==b._endX&&this._endY==b._endY&&this._isAbsolute==b._isAbsolute&&this._useCustomDirection==b._useCustomDirection;if(c==false){return false}if(this._gradientStops.length!=b._gradientStops.length){return false}for(var d=0,e=this._gradientStops.length;d<e;d++){if(!this._gradientStops[d].equals(b._gradientStops[d])){return false}}return true},getHashCode:function(){return $$t.$at.getHashCode.call(this)^this._startX^this._startY^this._endX^this._endY},i:function(){if(this._gradientStops!=null&&this._gradientStops.length>0){return this._gradientStops[0].color().colorString()}return $$t.$at.i.call(this)},$type:new $.ig.Type("LinearGradientBrush",$$t.$at.$type)},true);$c("GradientStop:av","Object",{init:function(){this.__fill=null;this.d=null;this.g=new $$t.ax;$.ig.$op.init.call(this);this._offset=0},_offset:0,clone:function(){var a=new $$t.av;a._offset=this._offset;a.__fill=this.__fill;return a},__fill:null,fill:function(a){if(arguments.length===1){this.__fill=a;return a}else{return this.__fill}},d:null,g:null,color:function(a){if(arguments.length===1){this.g=a;this.d=this.g.colorString();this.__fill=this.d;return a}else{if(this.__fill==this.d){return this.g}var a=new $$t.ax;if(this.__fill!=null){a.colorString(this.__fill);this.g=a;this.d=this.__fill}return a}},equals:function(a){if(a==null){return false}var b=a;return this._offset==b._offset&&this.color().equals(b.color())&&this.__fill.equals(b.__fill)},getHashCode:function(){var a=this._offset;if($$t.$ax.e($m($$t.$ax.$type,this.g),$m($$t.$ax.$type,null))){a^=this.g.getHashCode()}return a},$type:new $.ig.Type("GradientStop",$.ig.$ot)},true);$c("CssGradientUtil:aw","Object",{init:function(){$.ig.$op.init.call(this)},touch:function(){},isGradient:function(a){return a.contains("linear-gradient")||a.contains("radial-gradient")},brushFromGradientString:function(a){var b=/hsl\([\s\S]+?\)[\s\S]*?[,\)]|rgba?\([\s\S]+?\)[\s\S]*?[,\)]|[^\(\)]*?[,\)]/gim,c=/\s*\d*%\s*$/,d=/^\s\s*/,e=/\s\s*$/,f=/[,\)]?$/;var g;var h,i=1,j=0,k,l;var m=false;var n;var o=a.match(b);if(o==null||o.length<=1){return null}var p=new $$t.au;k=o.length;g=o[0];if(g.contains("to")||g.contains("deg")){h=$$t.$aw.c(g);p._useCustomDirection=true;var q=$$t.$aw.a(h);p._startX=q[0].__x;p._startY=q[0].__y;p._endX=q[1].__x;p._endY=q[1].__y;n=new Array(k-1)}else{n=new Array(k);i=0}for(;i<k;i++){var r=new $$t.av;g=o[i];g=g.replace(d,"").replace(e,"").replace(f,"");l=g.search(c);if(l!=-1){r.__fill=g.substr(0,l);r._offset=parseFloat(g.substr(l+1))/100}else{r.__fill=g;r._offset=-1;m=true}n[j]=r;j++}if(m){if(n[0]._offset==-1){n[0]._offset=0}if(n[n.length-1]._offset==-1){n[n.length-1]._offset=1}$$t.$aw.f(n);p._gradientStops=n}return p},f:function(a){var b,c,d,e,f=-1,g=-1,h=0;var i=false;for(b=g+1;b<a.length;b++){var j=a[b];if(j._offset!=-1){f=Math.max(f,j._offset);j._offset=f;if(i){d=1;e=$a(f-h,b-g);for(c=g+1;c<b;c++){a[c]._offset=h+e*d;d++}i=false}g=b;h=f}else{i=true}}},c:function(a){var b=/to\s*top\s*/i,c=/to\s*right\s*top\s*/i,d=/to\s*right\s*/i,e=/to\s*right\s*bottom\s*/i,f=/to\s*bottom\s*/i,g=/to\s*left\s*bottom\s*/i,h=/to\s*left\s*/i,i=/to\s*left\s*top\s*/i;if(a.contains("deg")){return parseFloat(a)}if(b.test(a)){return 0}if(c.test(a)){return 45}if(d.test(a)){return 90}if(e.test(a)){return 135}if(f.test(a)){return 180}if(g.test(a)){return 225}if(h.test(a)){return 270}return i.test(a)?315:180},d:function(a){return Math.PI*a/180},e:function(a){if($.ig.util.isNaN(a)||Number.isInfinity(a)){return a}while(a>360){a-=360}while(a<0){a+=360}return a},a:function(a){var b=new Array(2);var c=new $$t.y(0);var d=new $$t.y(0);var e=$$t.$aw.e(a);if(e>=0&&e<=45){var f=Math.tan($$t.$aw.d(e));c.__x=.5-.5*f;c.__y=1;d.__x=.5+.5*f;d.__y=0}else if(e>180&&e<=225){var g=Math.tan($$t.$aw.d(e-180));c.__x=.5+.5*g;c.__y=0;d.__x=.5-.5*g;d.__y=1}else if(e>135&&e<=180){var h=Math.tan($$t.$aw.d(180-e));c.__x=.5-.5*h;c.__y=0;d.__x=.5+.5*h;d.__y=1}else if(e>315&&e<360){var i=Math.tan($$t.$aw.d(360-e));c.__x=.5+.5*i;c.__y=1;d.__x=.5-.5*i;d.__y=0}else if(e>45&&e<=90){var j=Math.tan($$t.$aw.d(90-e));d.__y=.5-.5*j;d.__x=1;c.__y=.5+.5*j;c.__x=0}else if(e>90&&e<=135){var k=Math.tan($$t.$aw.d(e-90));d.__y=.5+.5*k;d.__x=1;c.__y=.5-.5*k;c.__x=0}else if(e>225&&e<=270){var l=Math.tan($$t.$aw.d(270-e));c.__y=.5-.5*l;c.__x=1;d.__y=.5+.5*l;d.__x=0}else if(e>270&&e<=315){var m=Math.tan($$t.$aw.d(e-270));c.__y=.5+.5*m;c.__x=1;d.__y=.5-.5*m;d.__x=0}b[0]=c;b[1]=d;return b},$type:new $.ig.Type("CssGradientUtil",$.ig.$ot)},true);$c("Color:ax","ValueType",{init:function(){$$0.$bh.init.call(this)},__a:0,l:function(a){if(arguments.length===1){this.__a=$.ig.truncate(Math.round(a));this.a=true;return a}else{return this.__a}},__r:0,o:function(a){if(arguments.length===1){this.__r=$.ig.truncate(Math.round(a));this.a=true;return a}else{return this.__r}},__g:0,n:function(a){if(arguments.length===1){this.__g=$.ig.truncate(Math.round(a));this.a=true;return a}else{return this.__g}},__b:0,m:function(a){if(arguments.length===1){this.__b=$.ig.truncate(Math.round(a));this.a=true;return a}else{return this.__b}},__colorString:null,colorString:function(a){if(arguments.length===1){this.__colorString=a;this.r();return a}else{if(this.a||this.__colorString==null){this.a=false;this.s()}return this.__colorString}},a:false,create:function(a){if($b($$t.$ax.$type,a)!==null){return a}var b=new $$t.ax;if(typeof a==="string"){b.colorString(a)}else if(a!=null){throw new $$6.d(1,"Unknown color type")}return b},s:function(){this.__colorString="rgba("+this.__r+","+this.__g+","+this.__b+","+this.__a/255+")"},r:function(){if(this.colorString()==null){this.l(this.o(this.n(this.m(0))));return}var obj_=$.ig.util.stringToColor(this.__colorString);this.__a=typeof obj_.a!="undefined"?Math.round(obj_.a):0;this.__r=typeof obj_.r!="undefined"?Math.round(obj_.r):0;this.__g=typeof obj_.g!="undefined"?Math.round(obj_.g):0;this.__b=typeof obj_.b!="undefined"?Math.round(obj_.b):0},u:function(a_,r_,g_,b_){var a=new $$t.ax;a.__a=a_|0;a.__r=r_|0;a.__g=g_|0;a.__b=b_|0;a.a=true;return a},equals:function(a){if($b($$t.$ax.$type,a)!==null==false){return false}var b=a;return this.__a==b.__a&&this.__r==b.__r&&this.__g==b.__g&&this.__b==b.__b},getHashCode:function(){return this.__a<<24|this.__r<<16|this.__g<<8|this.__b},d:function(a,b){return!$$t.$ax.b(a,b)},e:function(a,b){if(!a.hasValue()){return b.hasValue()}else if(!b.hasValue()){return true}return $$t.$ax.d(a.value(),b.value())},b:function(a,b){return a.__a==b.__a&&a.__r==b.__r&&a.__g==b.__g&&a.__b==b.__b},c:function(a,b){if(!a.hasValue()){return!b.hasValue()}else if(!b.hasValue()){return false}return $$t.$ax.b(a.value(),b.value())},$type:new $.ig.Type("Color",$$0.$bh.$type)},true);$c("DoubleCollection:ay","List$1",{init:function(){$$4.$x.init.call(this,Number,0)},$type:new $.ig.Type("DoubleCollection",$$4.$x.$type.specialize(Number))},true);$c("Geometry:a1","Object",{init:function(){$.ig.$op.init.call(this)},a:function(){},$type:new $.ig.Type("Geometry",$.ig.$ot)},true);$c("GeometryCollection:a2","List$1",{init:function(){$$4.$x.init.call(this,$$t.$a1.$type,0)},$type:new $.ig.Type("GeometryCollection",$$4.$x.$type.specialize($$t.$a1.$type))},true);$c("GeometryGroup:a3","Geometry",{init:function(){$$t.$a1.init.call(this);this._c=new $$t.a2},_c:null,a:function(){return 0},_b:0,$type:new $.ig.Type("GeometryGroup",$$t.$a1.$type)},true);$c("LineGeometry:a4","Geometry",{init:function(){$$t.$a1.init.call(this)},_c:null,_b:null,a:function(){return 1},$type:new $.ig.Type("LineGeometry",$$t.$a1.$type)},true);$c("RectangleGeometry:a5","Geometry",{init:function(){$$t.$a1.init.call(this)},_d:null,_b:0,_c:0,a:function(){return 2},$type:new $.ig.Type("RectangleGeometry",$$t.$a1.$type)},true);$c("EllipseGeometry:a6","Geometry",{init:function(){$$t.$a1.init.call(this)},_d:null,_b:0,_c:0,a:function(){return 3},$type:new $.ig.Type("EllipseGeometry",$$t.$a1.$type)},true);$c("PathGeometry:a7","Geometry",{
init:function(){$$t.$a1.init.call(this);this._b=new $$t.a9},_b:null,a:function(){return 4},$type:new $.ig.Type("PathGeometry",$$t.$a1.$type)},true);$c("PathFigure:a8","Object",{init:function(){$.ig.$op.init.call(this);this.__segments=new $$t.bc;this.__isClosed=false;this.__isFilled=true},__segments:null,segments:function(a){if(arguments.length===1){this.__segments=a;return a}else{return this.__segments}},__startPoint:null,startPoint:function(a){if(arguments.length===1){this.__startPoint=a;return a}else{return this.__startPoint}},__isFilled:false,isFilled:function(a){if(arguments.length===1){this.__isFilled=a;return a}else{return this.__isFilled}},__isClosed:false,isClosed:function(a){if(arguments.length===1){this.__isClosed=a;return a}else{return this.__isClosed}},$type:new $.ig.Type("PathFigure",$.ig.$ot)},true);$c("PathFigureCollection:a9","List$1",{init:function(){$$4.$x.init.call(this,$$t.$a8.$type,0)},$type:new $.ig.Type("PathFigureCollection",$$4.$x.$type.specialize($$t.$a8.$type))},true);$c("PathSegment:bb","Object",{init:function(){$.ig.$op.init.call(this)},a:function(){},$type:new $.ig.Type("PathSegment",$.ig.$ot)},true);$c("PathSegmentCollection:bc","List$1",{init:function(){$$4.$x.init.call(this,$$t.$bb.$type,0)},$type:new $.ig.Type("PathSegmentCollection",$$4.$x.$type.specialize($$t.$bb.$type))},true);$c("LineSegment:bd","PathSegment",{b:null,c:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},init:function(a,b){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$bb.init.call(this);this.c(b)},init1:function(a){$$t.$bb.init.call(this)},a:function(){return 0},$type:new $.ig.Type("LineSegment",$$t.$bb.$type)},true);$c("BezierSegment:be","PathSegment",{b:null,e:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},c:null,f:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},d:null,g:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$bb.init.call(this);this.e(this.f(this.g({__x:0,__y:0,$type:$$t.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})))},init1:function(a,b,c,d){$$t.$bb.init.call(this);this.e(b);this.f(c);this.g(d)},a:function(){return 1},$type:new $.ig.Type("BezierSegment",$$t.$bb.$type)},true);$c("PolyBezierSegment:bf","PathSegment",{init:function(){$$t.$bb.init.call(this);this._b=new $$t.z(0)},_b:null,a:function(){return 2},$type:new $.ig.Type("PolyBezierSegment",$$t.$bb.$type)},true);$c("PolyLineSegment:bg","PathSegment",{init:function(){$$t.$bb.init.call(this);this.__points=new $$t.z(0)},__points:null,points:function(a){if(arguments.length===1){this.__points=a;return a}else{return this.__points}},a:function(){return 3},$type:new $.ig.Type("PolyLineSegment",$$t.$bb.$type)},true);$c("ArcSegment:bh","PathSegment",{init:function(){this._f=new $$t.af;$$t.$bb.init.call(this);this._b=false;this._d=0},_e:null,_b:false,_d:0,_f:null,_c:0,a:function(){return 4},$type:new $.ig.Type("ArcSegment",$$t.$bb.$type)},true);$c("Transform:bl","DependencyObject",{init:function(){$$t.$r.init.call(this)},$type:new $.ig.Type("Transform",$$t.$r.$type)},true);$c("RotateTransform:bm","Transform",{init:function(){$$t.$bl.init.call(this)},_j:0,_k:0,_l:0,$type:new $.ig.Type("RotateTransform",$$t.$bl.$type)},true);$c("TranslateTransform:bn","Transform",{init:function(){$$t.$bl.init.call(this)},_j:0,_k:0,$type:new $.ig.Type("TranslateTransform",$$t.$bl.$type)},true);$c("ScaleTransform:bo","Transform",{init:function(){$$t.$bl.init.call(this)},_l:0,_m:0,_j:0,_k:0,$type:new $.ig.Type("ScaleTransform",$$t.$bl.$type)},true);$c("TransformGroup:bp","Transform",{_j:null,init:function(){$$t.$bl.init.call(this);this._j=new $$t.bq},$type:new $.ig.Type("TransformGroup",$$t.$bl.$type)},true);$c("TransformCollection:bq","List$1",{init:function(){$$4.$x.init.call(this,$$t.$bl.$type,0)},$type:new $.ig.Type("TransformCollection",$$4.$x.$type.specialize($$t.$bl.$type))},true);$c("MouseEventArgs:ar","EventArgs",{init:function(){$$0.$w.init.call(this)},_position:null,position:function(a){if(arguments.length===1){this._position=a;return a}else{return this._position}},_originalSource:null,originalSource:function(a){if(arguments.length===1){this._originalSource=a;return a}else{return this._originalSource}},getPosition:function(a){return this.position()},$type:new $.ig.Type("MouseEventArgs",$$0.$w.$type)},true);$c("MouseButtonEventArgs:as","MouseEventArgs",{init:function(){$$t.$ar.init.call(this)},_handled:false,handled:function(a){if(arguments.length===1){this._handled=a;return a}else{return this._handled}},$type:new $.ig.Type("MouseButtonEventArgs",$$t.$ar.$type)},true);$c("Binding:ao","Object",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}this.a=false;$.ig.$op.init.call(this)},init1:function(a,b){this.a=false;$.ig.$op.init.call(this);this.e=new $$t.ad(b)},c:null,d:function(a){if(arguments.length===1){this.c=a;return a}else{return this.c}},e:null,f:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},a:false,b:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},$type:new $.ig.Type("Binding",$.ig.$ot)},true);$c("Panel:am","FrameworkElement",{init:function(){$$t.$e.init.call(this);this._ab=new $$t.d(this)},_ab:null,$type:new $.ig.Type("Panel",$$t.$e.$type)},true);$c("Canvas:ak","Panel",{init:function(){$$t.$am.init.call(this)},$type:new $.ig.Type("Canvas",$$t.$am.$type)},true);$c("Image:al","FrameworkElement",{init:function(){$$t.$e.init.call(this)},_ac:null,_ab:false,$type:new $.ig.Type("Image",$$t.$e.$type)},true);$c("TextBlock:an","FrameworkElement",{init:function(){this.af=true;this.ae=null;this.ad=null;this.ab=null;this.ac=null;this.ah=-1;$$t.$e.init.call(this)},aj:null,ak:function(a){if(arguments.length===1){if(this.aj!=a){this.af=true;this.aj=a}return a}else{return this.aj}},_am:null,af:false,ae:null,ad:null,ab:null,ac:null,ah:0,ag:function(a,b){if(this.ah==-1){return-1}if(!this.af){if(this.ab[this.ah]==a){return this.ae[this.ah]}}for(var c=0;c<5;c++){var d=this.ah-c;if(d<0){d=5+d}if(b!=this.ac[d]||a!=this.ab[d]||this.aj!=this.ad[d]){continue}return this.ae[d]}return-1},al:function(a,b,c){if(this.ah==-1){this.ad=new Array(5);this.ab=new Array(5);this.ac=new Array(5);this.ae=new Array(5)}this.ah++;if(this.ah>5-1){this.ah=0}this.ad[this.ah]=this.aj;this.ab[this.ah]=a;this.ac[this.ah]=b;this.ae[this.ah]=c;this.af=false},$type:new $.ig.Type("TextBlock",$$t.$e.$type)},true);$$t.$b.b=null;$$t.$i.a="CSV";$$t.$i.b="HTML Format";$$t.$i.c="System.String";$$t.$i.d="Text";$$t.$i.e="UnicodeText";$$t.$s.c=new $$t.t;$$t.$u.b=null})($);/*!@license
* Infragistics.Web.ClientUI infragistics.dv_core.js 19.1.20191.172
*
* Copyright (c) 2011-2019 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
* jquery-1.4.4.js
* jquery.ui.core.js
* jquery.ui.widget.js
* infragistics.util.js
* infragistics.ext_core.js
* infragistics.ext_collections.js
* infragistics.ext_ui.js
*/
(function($){$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$w=$$t;$$0=$.ig.globalDefs.$$0;$$4=$.ig.globalDefs.$$4;$$1=$.ig.globalDefs.$$1;$$6=$.ig.globalDefs.$$6;$$a=$.ig.globalDefs.$$a;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["ITickProvider:f","IFastItemsSourceProvider:o","IFastItemsSource:p","IGetItemAtIndex:q","IRenderer:s","EasingFunctionHandler:ad","FontUtil:af","FontInfo:ag","RenderingContext:ai","DoubleValueChangedEventHandler:an","IErrorBarCalculator:aq","IFastItemColumn$1:at","IFastItemColumnPropertyName:au","IFastItemColumnInternal:av","RectChangedEventHandler:ax","IPool$1:a6","IIndexedPool$1:a7","IHashPool$2:a8","IOverviewPlusDetailControl:bi","IOverviewPlusDetailPane:bj","ISchedulableRender:bm","MouseWheelHandler:bo","GestureHandler:bp","ZoomGestureHandler:bq","FlingGestureHandler:br","TouchHandler:bs","ContactHandler:bt","MouseHandler:bu","MouseOverHandler:bv","KeyHandler:bw","IExecutionContext:b1","ExecutionContextExecuteCallback:b2","SyncableObservableCollection$1:b3","SyncableObservableCollection$2:b4","SyncableObservableCollectionChangedListener:b5","IZoomSlider:b6","IUnknownValuePlotting:cj","PropertyUpdatedEventHandler:cl","ILegendContext:cm","ILegendSeries:cn","IScaleLegendSeries:cq","ILegendOwner:cr","IInternalLegendOwner:cs","ILegendTemplateProvider:ct","IChartLegend:cu","IChartItemLegend:cv","IChartScaleLegend:cw","ComparableDelegate:cz"]);var $a=$.ig.intDivide,$b=$.ig.util.cast,$c=$.ig.util.defType,$d=$.ig.util.defEnum,$e=$.ig.util.getBoxIfEnum,$f=$.ig.util.getDefaultValue,$g=$.ig.util.getEnumValue,$h=$.ig.util.getValue,$i=$.ig.util.intSToU,$j=$.ig.util.nullableEquals,$k=$.ig.util.nullableIsNull,$l=$.ig.util.nullableNotEquals,$m=$.ig.util.toNullable,$n=$.ig.util.toString$1,$o=$.ig.util.u32BitwiseAnd,$p=$.ig.util.u32BitwiseOr,$q=$.ig.util.u32BitwiseXor,$r=$.ig.util.u32LS,$s=$.ig.util.unwrapNullable,$t=$.ig.util.wrapNullable,$u=String.fromCharCode,$v=$.ig.util.castObjTo$t,$w=$.ig.util.compareSimple,$x=$.ig.util.tryParseNumber,$y=$.ig.util.tryParseNumber1,$z=$.ig.util.numberToString,$0=$.ig.util.numberToString1,$1=$.ig.util.parseNumber,$2=$.ig.util.compare,$3=$.ig.util.replace,$4=$.ig.util.stringFormat,$5=$.ig.util.stringFormat1,$6=$.ig.util.stringFormat2,$7=$.ig.util.stringCompare1,$8=$.ig.util.stringCompare2,$9=$.ig.util.stringCompare3,$aa=$.ig.util.isDigit,$ab=$.ig.util.isDigit1,$ac=$.ig.util.isLetter,$ad=$.ig.util.isNumber,$ae=$.ig.util.isLetterOrDigit,$af=$.ig.util.isLower,$ag=$.ig.util.toLowerCase,$ah=$.ig.util.toUpperCase;$d("StandardLegendItems:cp",false,false,{"Default:$default":0,Discrete:1});$d("StandardLegendBadges:co",false,false,{Line:0,Rect:1,MarkerlessRect:2,MarkerlessLine:3,Point:4,PositiveNegative:5,Financial:6,FinancialIndicator:7,ScatterPolygon:8});$d("UnknownValuePlotting:ci",false,false,{LinearInterpolate:0,DontPlot:1});$d("TrendLineType:ch",false,false,{None:0,LinearFit:1,QuadraticFit:2,CubicFit:3,QuarticFit:4,QuinticFit:5,LogarithmicFit:6,ExponentialFit:7,PowerLawFit:8,SimpleAverage:9,ExponentialAverage:10,ModifiedAverage:11,CumulativeAverage:12,WeightedAverage:13});$d("InteractionState:by",false,false,{None:0,DragZoom:1,DragPan:2,Auto:3});$d("FastItemsSourceEventAction:ar",false,false,{Remove:0,Insert:1,Replace:2,Change:3,Reset:4});$d("ErrorBarCalculatorType:ap",false,false,{Fixed:0,Percentage:1,Data:2,StandardDeviation:3,StandardError:4});$d("ErrorBarCalculatorReference:ao",false,false,{X:0,Y:1});$d("GradientDirection:ah",false,false,{TopBottom:0,BottomTop:1,LeftRight:2,RightLeft:3,Radial:4});$d("InterpolationMode:z",false,false,{RGB:0,HSV:1});$d("CancelBehavior:e",false,false,{KeepCurrent:0,ToEnd:1,ToBeginning:2});$c("LRUCache$2:a","Object",{$tKey:null,$tValue:null,init:function($tKey,$tValue,a,b){this.$tKey=$tKey;this.$tValue=$tValue;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tKey,this.$tValue)}if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$a.init1.call(this,this.$tKey,this.$tValue,1,b,null)},init1:function($tKey,$tValue,a,b,c){this.$tKey=$tKey;this.$tValue=$tValue;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tKey,this.$tValue)}$.ig.$op.init.call(this);this.e=new $$4.v($$t.$b.$type.specialize(this.$tKey,this.$tValue));this.a=new $$t.ae(this.$tKey,$$t.$b.$type.specialize(this.$tKey,this.$tValue),1,c);this.f=b},f:0,h:function(a){if(arguments.length===1){this.f=a;while(this.a.r()>this.f){this.j(this.e.d()._c._a)}return a}else{return this.f}},e:null,a:null,b:function(){return this.a},d:function(a){return this.a.d(a)},item:function(a,b){if(arguments.length===2){if(!this.a.d(a)){var c=new $$t.b(this.$tKey,this.$tValue);c._b=b;c._a=a;this.e.e(c);c._c=this.e.c();this.a.s(a,c)}else{var d=this.item(a);this.a.item(a)._b=b}while(this.a.r()>this.f){this.j(this.e.d()._c._a)}return b}else{if(!this.a.d(a)){return $f(this.$tValue)}var b=this.a.item(a);var c=b._c;this.e.h(c);this.e.e(c._c);b._c=this.e.c();return b._b}},j:function(a){if(!this.a.d(a)){return}var b=this.a.item(a);this.e.h(b._c);this.a.f(b._a)},i:function(){this.a.u();this.e=new $$4.v($$t.$b.$type.specialize(this.$tKey,this.$tValue))},g:function(){return this.a.r()},$type:new $.ig.Type("LRUCache$2",$.ig.$ot)},true);$c("LRUCacheItem$2:b","Object",{$tKey:null,$tValue:null,init:function($tKey,$tValue){this.$tKey=$tKey;this.$tValue=$tValue;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tKey,this.$tValue)}$.ig.$op.init.call(this)},_a:null,_b:null,_c:null,$type:new $.ig.Type("LRUCacheItem$2",$.ig.$ot)},true);$c("AnimationManager:c","Object",{a:null,init:function(a){this.c=new $$4.h(String,$$t.$d.$type,0);this.b=false;this.e=-1;$.ig.$op.init.call(this);this.a=a},c:null,d:function(){return $$0.$s.now()},h:function(a,b,c,d,e,f,g){var h=new $$t.d;h._d=f;h._e=g;h._i=b;h._g=c;h._c=this.d();h._a=d;h._f=e;this.f(h)},g:function(a,b,c,d,e){var f=new $$t.d;f._j=a;f._i=b;f._g=c;f._c=this.d();f._a=d;f._f=e;this.f(f)},f:function(a){if(this.c.containsKey(a._j)){this.i(a._j,0)}this.c.add(a._j,a);this.j();this.a.requestFrame(this.e)},i:function(a,b){if(!this.c.containsKey(a)){return}var c=this.c.item(a);var d=c._a;if(b==2){c._a(c._f(0),c)}if(b==1){c._a(c._f(1),c)}this.c.remove(a);this.j()},b:false,j:function(){if(this.c.count()==0){this.m()}else{this.l()}},e:0,l:function(){if(this.b){return}this.b=true;this.e=this.a.setupTicking(this.n.runOn(this))},m:function(){if(this.b){this.a.teardownTicking(this.e);this.e=-1}this.b=false},n:function(){var a=$$0.$s.now();var b=new $$4.x(String,0);var d=this.c.values().getEnumerator();while(d.moveNext()){var c=d.current();var e=false;var f=a.getTime()-c._c.getTime();if(f>=c._g){f=c._g;e=true}if(f-c._h<16&&f!=c._g){continue}c._h=f;c._b=e;var g=f/c._g;g=c._f(g);c._a(g,c);if(e){b.add(c._j)}}var i=b.getEnumerator();while(i.moveNext()){var h=i.current();this.c.remove(h)}this.j();if(this.b){this.a.requestFrame(this.e)}},k:function(){this.c.clear();this.m()},$type:new $.ig.Type("AnimationManager",$.ig.$ot)},true);$c("AnimationState:d","Object",{init:function(){$.ig.$op.init.call(this)},_e:0,_d:0,_i:null,_g:0,_c:new Date,_a:null,_f:null,_j:null,_h:0,_b:false,$type:new $.ig.Type("AnimationState",$.ig.$ot)},true);$c("ITickProvider:f","Object",{$type:new $.ig.Type("ITickProvider",null)},true);$c("ErrorMessageDisplayingEventArgs:g","EventArgs",{init:function(a){$$0.$w.init.call(this);this.errorMessage(a)},b:null,errorMessage:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},$type:new $.ig.Type("ErrorMessageDisplayingEventArgs",$$0.$w.$type)},true);$c("IFastItemColumnInternal:av","Object",{$type:new $.ig.Type("IFastItemColumnInternal",null)},true);$c("IFastItemColumnPropertyName:au","Object",{$type:new $.ig.Type("IFastItemColumnPropertyName",null)},true);$c("IGetItemAtIndex:q","Object",{$type:new $.ig.Type("IGetItemAtIndex",null)},true);$c("IFastItemColumn$1:at","Object",{$type:new $.ig.Type("IFastItemColumn$1",null,[$$0.$bz.$type.specialize(0),$$t.$au.$type,$$t.$q.$type])},true);$c("FastItemColumn:h","Object",{j:null,c:false,init:function(a,b,c,d){this.j=null;this.c=false;this.__propertyName=null;this.k=0;$.ig.$op.init.call(this);this.j=c;this.c=d;this.propertyName(b);this.b(a)},b:function(a){if(arguments.length===1){this.a=a;this.reset();return a}else{return this.a}},a:null,__propertyName:null,propertyName:function(a){if(arguments.length===1){this.__propertyName=a;return a}else{return this.__propertyName}},minimum:function(a){if(arguments.length===1){this.h=a;return a}else{if($.ig.util.isNaN(this.h)&&this._f!=null){this.h=Number.POSITIVE_INFINITY;var b=this._f.getEnumerator();while(b.moveNext()){var a=b.current();if(!$.ig.util.isNaN(a)){this.h=Math.min(this.h,a)}}}return this.h}},h:0,maximum:function(a){if(arguments.length===1){this.g=a;return a}else{if($.ig.util.isNaN(this.g)&&this._f!=null){this.g=Number.NEGATIVE_INFINITY;var b=this._f.getEnumerator();while(b.moveNext()){var a=b.current();if(!$.ig.util.isNaN(a)){this.g=Math.max(this.g,a)}}}return this.g}},g:0,item:function(a,b){if(arguments.length===2){this._f.__inner[a]=b;return b}else{return this._f.__inner[a]}},getEnumerator:function(){return this._f.getEnumerator()},contains:function(a){return this._f.contains(a)},copyTo:function(a,b){this._f.copyTo(a,b)},count:function(){return this._f.count()},isReadOnly:function(){return true},indexOf:function(a){return this._f.indexOf(a)},add:function(a){throw new $$6.q(0)},clear:function(){throw new $$6.q(0)},remove:function(a){throw new $$6.q(0)},insert:function(a,b){throw new $$6.q(0)},removeAt:function(a){throw new $$6.q(0)},reset:function(){this._f=null;this.minimum(NaN);this.maximum(NaN);this.k=0;return this.b()!=null?this.insertRange(0,this.b().count()):true},insertRange:function(a,b){var c=new Array(b);var source_=this.a.asArray();var item_;var d=this.minimum();var e=this.maximum();var f=$.ig.util.isNaN(this.minimum());var g=$.ig.util.isNaN(this.maximum());var h=0;var i;var j=this.j;var sourceItem_=null;var propertyName_=this.__propertyName;if(this.j!=null||this.c){for(var i_=a;i_<a+b;++i_){sourceItem_=source_[i_];if(sourceItem_==null){item_=NaN}else{item_=sourceItem_[propertyName_]}if(this.c){if(typeof item_=="function"){item_=item_.apply(sourceItem_)}}if(j!=null){item_=j(item_)}i=item_==null?NaN:item_;var k=i!=i;if(k){this.k++}if(f||i<d){d=i;f=k}if(g||i>e){e=i;g=k}c[h]=i;h++}}else{for(var i_=a;i_<a+b;++i_){sourceItem_=source_[i_];if(sourceItem_==null){item_=NaN}else{item_=sourceItem_[propertyName_]}i=item_==null?NaN:item_;var l=i!=i;if(l){this.k++}if(f||i<d){d=i;f=l}if(g||i>e){e=i;g=l}c[h]=i;h++}}this.minimum(d);this.maximum(e);if(this._f==null){this._f=new $$4.x(Number,1,c)}else{this._f.insertRange(a,c)}return true},removeRange:function(a,b){for(var c=a;c<a+b&&!$.ig.util.isNaN(this.minimum())&&!$.ig.util.isNaN(this.maximum());++c){if(this.item(c)==this.minimum()){this.minimum(NaN)}if(this.item(c)==this.maximum()){this.maximum(NaN)}if($.ig.util.isNaN(this.item(c))){this.k--}}this._f.removeRange(a,b);return true},replaceMinMax:function(a,b){if($.ig.util.isNaN(a)){if(!$.ig.util.isNaN(b)){if(!$.ig.util.isNaN(this.minimum())){this.minimum(Math.min(b,this.minimum()))}if(!$.ig.util.isNaN(this.maximum())){this.maximum(Math.max(b,this.maximum()))}}return}if($.ig.util.isNaN(b)){this.minimum(!$.ig.util.isNaN(this.minimum())&&a==this.minimum()?NaN:this.minimum());this.maximum(!$.ig.util.isNaN(this.maximum())&&a==this.maximum()?NaN:this.maximum());return}if(!$.ig.util.isNaN(this.minimum())){if(a==this.minimum()&&b>this.minimum()){this.minimum(NaN)}else{this.minimum(Math.min(b,this.minimum()))}}if(!$.ig.util.isNaN(this.maximum())){if(a==this.maximum()&&b<this.maximum()){this.maximum(NaN)}else{this.maximum(Math.max(b,this.maximum()))}}},replaceRange:function(a,b){var c=false;for(var d=0;d<b;++d){var e=this._f.__inner[a+d];var f=this.i(this.b().item(a+d));if($.ig.util.isNaN(e)){this.k--}if($.ig.util.isNaN(f)){this.k++}if(e!=f){this._f.__inner[a+d]=f;c=true;this.replaceMinMax(e,f)}}return c},i:function(a){if(a==null){return NaN}var sourceItem_=a;var from_=a;var propertyName_=this.__propertyName;a=from_[propertyName_];if(this.c){from_=a;if(typeof from_=="function"){a=from_.apply(sourceItem_)}}if(this.j!=null){a=this.j(a)}if(a==null){return NaN}return a},_f:null,k:0,mayContainUnknowns:function(){return this.k>0},n:function(a,b){$$t.$h.o(a,0,a.count()-1,b)},o:function(a,b,c,d){if(b<c){var e=$$t.$h.l(a,b,c,d);$$t.$h.o(a,b,e-1,d);$$t.$h.o(a,e+1,c,d)}},l:function(a,b,c,d){var e=a.item(c);var f=b;for(var g=b;g<c;g++){if(d(a.item(g),e)<=0){var h=a.item(f);a.item(f,a.item(g));a.item(g,h);f++}}var i=a.item(f);a.item(f,a.item(c));a.item(c,i);return f},getSortedIndices1:function(a,b){var c=new $$4.x($$0.$aw.$type,2,a.count());for(var d=0;d<a.count();d++){c.add(d)}if(a.count()<22){$$t.$h.n(c,function(e,f){var g=a.item($h(e));var h=a.item($h(f));return b(g,h)})}else{c.sort2(function(e,f){var g=a.item(e);var h=a.item(f);return b(g,h)})}return c},d:function(){return $$t.$h.getSortedIndices1(this._f,function(a,b){var c=a;var d=b;if(c<d){return-1}if(c>d){return 1}return 0})},asArray:function(){return this._f.asArray()},getItem:function(a){return this.item(a)},$type:new $.ig.Type("FastItemColumn",$.ig.$ot,[$$t.$av.$type,$$t.$at.$type.specialize(Number)])},true);$c("FastItemDateTimeColumn:i","Object",{k:null,c:false,init:function(a,b,c,d){this.__propertyName=null;this.e=false;this.d=false;$.ig.$op.init.call(this);this.k=c;this.c=d;this.propertyName(b);this.b(a)},b:function(a){if(arguments.length===1){this.a=a;this.reset();return a}else{return this.a}},a:null,__propertyName:null,propertyName:function(a){if(arguments.length===1){this.__propertyName=a;return a}else{return this.__propertyName}},e:false,d:false,minimum:function(a){if(arguments.length===1){this.i=a;return a}else{if(!this.e&&this._g!=null){var b=this._g.getEnumerator();while(b.moveNext()){var a=b.current();if(a<this.i){this.i=a}}if(this._g.count()>0){this.e=true}}return this.i}},i:new Date,maximum:function(a){if(arguments.length===1){this.h=a;return a}else{if(!this.d&&this._g!=null){var b=this._g.getEnumerator();while(b.moveNext()){var a=b.current();if(a>this.h){this.h=a}}if(this._g.count()>0){this.d=true}}return this.h}},h:new Date,item:function(a,b){if(arguments.length===2){return b}else{return this._g.__inner[a]}},getEnumerator:function(){return this._g.getEnumerator()},contains:function(a){return this._g.contains(a)},copyTo:function(a,b){this._g.copyTo(a,b)},count:function(){return this._g.count()},isReadOnly:function(){return true},indexOf:function(a){return this._g.indexOf(a)},add:function(a){throw new $$6.q(0)},clear:function(){throw new $$6.q(0)},remove:function(a){throw new $$6.q(0)},insert:function(a,b){throw new $$6.q(0)},removeAt:function(a){throw new $$6.q(0)},reset:function(){this._g=null;this.e=false;this.d=false;return this.b()!=null?this.insertRange(0,this.b().count()):true},insertRange:function(a,b){var c=new Array(b);var source_=this.a.asArray();var item_;var d=this.minimum();var e=this.maximum();var f;var g=0;var h=this.k;var propertyName_=this.__propertyName;var sourceItem_=null;if(this.k!=null||this.c){for(var i_=a;i_<a+b;++i_){sourceItem_=source_[i_];item_=source_[i_][propertyName_];if(this.c){if(typeof item_=="function"){item_=item_.apply(sourceItem_)}}if(h!=null){item_=h(item_)}f=item_==null?new Date:item_;if(!this.e){d=f;this.e=true}else if(f<d){d=f}if(!this.d){e=f;this.d=true}else if(f>e){e=f}c[g]=f;g++}}else{for(var i_=a;i_<a+b;++i_){item_=source_[i_][propertyName_];f=item_==null?new Date:item_;if(!this.e){d=f;this.e=true}else if(f<d){d=f}if(!this.d){e=f;this.d=true}else if(f>e){e=f}c[g]=f;g++}}this.minimum(d);this.maximum(e);if(this._g==null){this._g=new $$4.x($$0.$s.$type,1,c)}else{this._g.insertRange(a,c)}return true},removeRange:function(a,b){for(var c=a;c<a+b;++c){if(+this.item(c)==+this.minimum()){this.e=false}if(+this.item(c)==+this.maximum()){this.d=false}}this._g.removeRange(a,b);return true},replaceMinMax:function(a,b){if(+a!=+$$0.$s.minValue()){if(+b!=+$$0.$s.minValue()){this.minimum(b<this.minimum()?b:this.minimum());this.maximum(b>this.maximum()?b:this.maximum())}return}this.minimum(b<this.minimum()?b:this.minimum());this.maximum(b>this.maximum()?b:this.maximum())},replaceRange:function(a,b){var c=false;for(var d=0;d<b;++d){var e=this._g.__inner[a+d];var f=this.j(this.b().item(a+d));if(+e!=+f){this._g.__inner[a+d]=f;c=true;this.replaceMinMax(e,f)}}return c},j:function(a){if(a==null){return $$0.$s.minValue()}var sourceItem_=a;var from_=a;var propertyName_=this.__propertyName;a=from_[propertyName_];if(this.c){from_=a;if(typeof from_=="function"){a=from_.apply(sourceItem_)}}if(this.k!=null){a=this.k(a)}if(a==null){return $$0.$s.minValue()}return a},_g:null,mayContainUnknowns:function(){return true},getSortedIndices:function(){return $$t.$h.getSortedIndices1(this._g,function(a,b){var c=a;var d=b;if(c<d){return-1}if(c>d){return 1}return 0})},asArray:function(){return this._g.asArray()},getItem:function(a){return this.item(a)},m:function(){},$type:new $.ig.Type("FastItemDateTimeColumn",$.ig.$ot,[$$t.$av.$type,$$t.$at.$type.specialize($$0.$s.$type)])},true);$c("FastItemObjectColumn:j","Object",{f:null,c:false,init:function(a,b,c,d){$.ig.$op.init.call(this);this.f=c;this.c=d;this.propertyName(b);this.b(a)},b:function(a){if(arguments.length===1){this.a=a;this.reset();return a}else{return this.a}},a:null,__propertyName:null,propertyName:function(a){if(arguments.length===1){this.__propertyName=a;return a}else{return this.__propertyName}},minimum:function(a){if(arguments.length===1){this.h=a;return a}else{return this.h}},h:null,maximum:function(a){if(arguments.length===1){this.g=a;return a}else{return this.g}},g:null,item:function(a,b){if(arguments.length===2){return b}else{return this._e.__inner[a]}},getEnumerator:function(){return this._e.getEnumerator()},contains:function(a){return this._e.contains1(a)},copyTo:function(a,b){this._e.copyTo(a,b)},count:function(){return this._e.count()},isReadOnly:function(){return true},indexOf:function(a){return this._e.indexOf1(a)},add:function(a){throw new $$6.q(0)},clear:function(){throw new $$6.q(0)},remove:function(a){throw new $$6.q(0)},insert:function(a,b){throw new $$6.q(0)},removeAt:function(a){throw new $$6.q(0)},reset:function(){this._e=null;return this.b()!=null?this.insertRange(0,this.b().count()):true},insertRange:function(a,b){var c=function(){var $ret=new $$4.x($.ig.$op.$type,0);$ret.capacity(b);return $ret}();for(var d=a;d<a+b;++d){var e=this.i(this.b().item(d));c.add1(e)}if(this._e==null){this._e=c}else{this._e.insertRange(a,c)}return true},replaceRange:function(a,b){var c=false;for(var d=0;d<b;++d){var e=this._e.__inner[a+d];var f=this.i(this.b().item(a+d));if(e!=f){this._e.__inner[a+d]=f;c=true}}return c},removeRange:function(a,b){this._e.removeRange(a,b);return true},i:function(a){if(a==null){return null}var sourceItem_=a;var from_=a;var propertyName_=this.__propertyName;a=from_[propertyName_];if(this.c){from_=a;if(typeof from_=="function"){a=from_.apply(sourceItem_)}}if(this.f!=null){a=this.f(a)}return a},_e:null,mayContainUnknowns:function(){return true},d:function(){return $$t.$h.getSortedIndices1(this._e,function(a,b){var c=parseFloat(a);var d=parseFloat(b);if(c<d){return-1}if(c>d){return 1}return 0})},asArray:function(){return this._e.asArray()},getItem:function(a){return this.item(a)},k:function(){},$type:new $.ig.Type("FastItemObjectColumn",$.ig.$ot,[$$t.$av.$type,$$t.$at.$type.specialize($.ig.$op.$type)])},true);$c("FastItemIntColumn:k","Object",{f:null,c:false,init:function(a,b,c,d){this.__propertyName=null;$.ig.$op.init.call(this);this.f=c;this.c=d;this.propertyName(b);this.b(a)},b:function(a){if(arguments.length===1){this.a=a;this.reset();return a}else{return this.a}},a:null,__propertyName:null,propertyName:function(a){if(arguments.length===1){this.__propertyName=a;return a}else{return this.__propertyName}},minimum:function(a){if(arguments.length===1){this.h=a;return a}else{return this.h}},h:0,maximum:function(a){if(arguments.length===1){this.g=a;return a}else{return this.g}},g:0,item:function(a,b){if(arguments.length===2){return b}else{return this._e.__inner[a]}},getEnumerator:function(){return this._e.getEnumerator()},contains:function(a){return this._e.contains(a)},copyTo:function(a,b){this._e.copyTo(a,b)},count:function(){return this._e.count()},isReadOnly:function(){return true},indexOf:function(a){return this._e.indexOf(a)},add:function(a){throw new $$6.q(0)},clear:function(){throw new $$6.q(0)},remove:function(a){throw new $$6.q(0)},insert:function(a,b){throw new $$6.q(0)},removeAt:function(a){throw new $$6.q(0)},reset:function(){this._e=null;return this.b()!=null?this.insertRange(0,this.b().count()):true},insertRange:function(a,b){var c=new Array(b);var source_=this.a.asArray();var item_;var d=this.minimum();var e=this.maximum();var f=0;var g=this.f;var propertyName_=this.__propertyName;var sourceItem_;if(this.f!=null||this.c){for(var i_=a;i_<a+b;++i_){sourceItem_=source_[i_];item_=source_[i_][propertyName_];if(this.c){if(typeof item_=="function"){item_=item_.apply(sourceItem_)}}if(g!=null){item_=g(item_)}var h=item_==null?0:$h(item_);c[f]=h;f++}}else{for(var i_=a;i_<a+b;++i_){item_=source_[i_][propertyName_];var i=item_==null?0:$h(item_);c[f]=i;f++}}if(this._e==null){this._e=new $$4.x($$0.$aw.$type,1,c)}else{this._e.insertRange(a,c)}return true},replaceRange:function(a,b){var c=false;for(var d=0;d<b;++d){var e=this._e.__inner[a+d];var f=this.i(this.b().item(a+d));if(e!=f){this._e.__inner[a+d]=f;c=true}}return c},removeRange:function(a,b){this._e.removeRange(a,b);return true},i:function(a){var sourceItem_=a;var from_=a;var propertyName_=this.__propertyName;a=from_[propertyName_];if(this.c){from_=a;if(typeof from_=="function"){a=from_.apply(sourceItem_)}}if(this.f!=null){a=this.f(a)}if(a==null){return 0}return $h(a)},_e:null,mayContainUnknowns:function(){return true},d:function(){return $$t.$h.getSortedIndices1(this._e,function(a,b){var c=$h(a);var d=$h(b);if(c<d){return-1}if(c>d){return 1}return 0})},asArray:function(){return this._e.asArray()},getItem:function(a){return this.item(a)},k:function(){},$type:new $.ig.Type("FastItemIntColumn",$.ig.$ot,[$$t.$av.$type,$$t.$at.$type.specialize($$0.$aw.$type)])},true);$c("IFastItemsSource:p","Object",{$type:new $.ig.Type("IFastItemsSource",null,[$$t.$q.$type])},true);$c("FastItemsSource:l","Object",{init:function(){this.a=new $$4.h(String,$$t.$m.$type,0);this.c=new $$4.x($.ig.$op.$type,0);this.b=null;$.ig.$op.init.call(this)},event:null,o:function(a,b,c){if(this.event!=null){this.event(this,new $$t.as(0,a,b,c))}},p:function(a,b){if(this.event!=null){this.event(this,new $$t.as(1,a,b))}},itemsSource:function(a){if(arguments.length===1){if(this.d==a){return}this.detach();this.d=a;this.c.clear();this.b=null;this.attach();var c=this.a.values().getEnumerator();while(c.moveNext()){var b=c.current();b.a.reset()}this.o(1,0,this.c.count());return a}else{return this.d}},detach:function(){},n:function(a,b,c){var d=a;switch(c.action()){case 0:d.h(c.newStartingIndex(),c.newItems());break;case 1:d.j(c.oldStartingIndex(),c.oldItems());break;case 2:d.k(c.newStartingIndex(),c.oldItems(),c.newItems());break;case 4:d.l();break}},attach:function(){this.c.insertRange1(this.c.count(),this.d)},h:function(a,b){if(this.b!=null){for(var c=0;c<b.count();++c){this.b.add(b.item(c),a+c)}for(var d=a;d<this.c.count();++d){this.b.item(this.c.__inner[d],d+b.count())}}this.c.insertRange1(a,b);var f=this.a.values().getEnumerator();while(f.moveNext()){var e=f.current();e.a.insertRange(a,b.count())}this.o(1,a,b.count())},j:function(a,b){this.c.removeRange(a,b.count());if(this.b!=null){var d=b.getEnumerator();while(d.moveNext()){var c=d.current();this.b.remove(c)}for(var e=a;e<this.c.count();++e){this.b.item(this.c.__inner[e],e)}}var g=this.a.values().getEnumerator();while(g.moveNext()){var f=g.current();f.a.removeRange(a,b.count())}this.o(0,a,b.count())},k:function(a,b,c){for(var d=0;d<c.count();++d){this.c.__inner[a+d]=c.item(d)}if(this.b!=null){var f=b.getEnumerator();while(f.moveNext()){var e=f.current();this.b.remove(e)}for(var g=0;g<c.count();++g){this.b.add(c.item(g),a+g)}}var i=this.a.values().getEnumerator();while(i.moveNext()){var h=i.current();h.a.replaceRange(a,c.count())}this.o(2,a,b.count())},l:function(){this.c.clear();this.b=null;this.c.insertRange1(0,this.d);var b=this.a.values().getEnumerator();while(b.moveNext()){var a=b.current();a.a.reset()}this.o(4,0,this.c.count())},i:function(a,b){var $self=this;var c=null;var d=this.indexOf(a);if(d==-1){throw new $$6.d(1,"item")}if(String.isNullOrEmpty(b)){var f=this.a.getEnumerator();while(f.moveNext()){var e=f.current();e.value().a.replaceRange(d,1);this.p(d,e.value().a.propertyName())}}else if(b=="Item[]"){var h=this.a.getEnumerator();while(h.moveNext()){var g=h.current();if(g.key()!=null&&g.key().startsWith("[")&&g.key().endsWith("]")){g.value().a.replaceRange(d,1);this.p(d,g.value().a.propertyName())}}}else{if(function(){var i=$self.a.tryGetValue(b,c);c=i.p1;return i.ret}()){c.a.replaceRange(d,1)}if(function(){var i=$self.a.tryGetValue(b+"_object",c);c=i.p1;return i.ret}()){c.a.replaceRange(d,1)}this.p(d,b)}},count:function(){return this.c.count()},item:function(a){return this.c.__inner[a]},getEnumerator:function(){return this.c.getEnumerator()},indexOf:function(a){var $self=this;var b;if(this.b==null&&this.c.count()>0){this.b=new $$4.h($.ig.$op.$type,$$0.$aw.$type,0);var contents_=this.c;var index_=this.b;for(var j_=0;j_<this.c.count();j_++){var c=contents_.__inner[j_];if(!this.b.containsKey(c)){this.b.add(c,j_)}}}if(function(){var d=$self.b.tryGetValue(a,b);b=d.p1;return d.ret}()){return b}else{return-1}},registerColumnDateTime:function(a,b,c){var $self=this;var d=null;if(a!=null){var e=null;if(!function(){var f=$self.a.tryGetValue(a,e);e=f.p1;return f.ret}()){var f=$$t.$l.f(a)._c;e=new $$t.m(new $$t.i(this,f,b,c));this.a.add(a,e)}e._b=e._b+1;d=$b($$t.$at.$type.specialize($$0.$s.$type),e.a)}return d},registerColumnObject:function(a,b,c){var $self=this;var d=null;var e=a+"_object";if(a!=null){var f=null;if(!function(){var g=$self.a.tryGetValue(e,f);f=g.p1;return g.ret}()){var g=$$t.$l.f(a)._c;f=new $$t.m(new $$t.j(this,g,b,c));this.a.add(e,f)}f._b=f._b+1;d=$b($$t.$at.$type.specialize($.ig.$op.$type),f.a)}return d},registerColumnInt:function(a,b,c){var $self=this;var d=null;if(a==null){a=""}var e=null;if(!function(){var f=$self.a.tryGetValue(a,e);e=f.p1;return f.ret}()){var f=$$t.$l.f(a)._c;e=new $$t.m(new $$t.k(this,f,b,c));this.a.add(a,e)}e._b=e._b+1;d=$b($$t.$at.$type.specialize($$0.$aw.$type),e.a);return d},registerColumn:function(a,b,c){var $self=this;var d=null;if(a==null){a=""}var e=null;if(!function(){var f=$self.a.tryGetValue(a,e);e=f.p1;return f.ret}()){var f=$$t.$l.f(a)._c;e=new $$t.m(new $$t.h(this,f,b,c));this.a.add(a,e)}e._b=e._b+1;d=$b($$t.$at.$type.specialize(Number),e.a);return d},deregisterColumn:function(a){var $self=this;var b=a!=null?a.propertyName():null;var c=b;if($b($$t.$at.$type.specialize($.ig.$op.$type),a)!==null){c+="_object"}if(b!=null){var d=null;if(function(){var e=$self.a.tryGetValue(b,d);d=e.p1;return e.ret}()){d._b=d._b-1;if(d._b==0){this.a.remove(c)}}}},a:null,d:null,c:null,b:null,asArray:function(){return this.c.asArray()},handleCollectionChanged:function(a){switch(a.action()){case 0:this.h(a.newStartingIndex(),a.newItems());break;case 1:this.j(a.oldStartingIndex(),a.oldItems());break;case 2:this.k(a.newStartingIndex(),a.oldItems(),a.newItems());break;case 4:this.l();break}},f:function(a){var b=a.split("!");if(b.length==2){return new $$6.u(String,String,b[0],b[1])}else{return new $$6.u(String,String,a,null)}},getItem:function(a){return this.item(a)},$type:new $.ig.Type("FastItemsSource",$.ig.$ot,[$$0.$bt.$type,$$t.$p.$type])},true);$c("ColumnReference:m","Object",{init:function(a){$.ig.$op.init.call(this);this.a=a;this._b=0},a:null,_b:0,$type:new $.ig.Type("ColumnReference",$.ig.$ot)},true);$c("FastItemsSourceReference:n","Object",{init:function(a){$.ig.$op.init.call(this);this.a=a;this.b=0},a:null,b:0,$type:new $.ig.Type("FastItemsSourceReference",$.ig.$ot)},true);$c("IFastItemsSourceProvider:o","Object",{$type:new $.ig.Type("IFastItemsSourceProvider",null)},true);$c("FastReflectionHelper:r","Object",{init:function(a,b){this.a=false;$.ig.$op.init.call(this);this._c=a;this.g(b)},a:false,__propertyName:null,f:function(){return this.__propertyName},g:function(a){this.__propertyName=a;this.a=false;if(this.__propertyName=="."){this.a=true}},_c:false,d:function(a){var from_=a;if(this.a){return from_}return from_[this.__propertyName]},b:function(){return false},$type:new $.ig.Type("FastReflectionHelper",$.ig.$ot)},true);$c("IRenderer:s","Object",{$type:new $.ig.Type("IRenderer",null)},true);$c("ObservableColorCollection:t","ObservableCollection$1",{init:function(){this.ae=0;$$4.$f.init.call(this,$$a.$ax.$type,0)},interpolationMode:function(a){if(arguments.length===1){if(this.ae!=a){this.ae=a;this.ac(new $$4.ae(0,4))}return a}else{return this.ae}},ae:0,equals:function(a){if(a==null){return false}var b=a;if(b.count()!=this.count()){return false}for(var c=0;c<b.count();c++){if(!b.__inner[c].equals(this.__inner[c])){return false}}return true},ag:function(a){var b=new $$t.t;var d=a.getEnumerator();while(d.moveNext()){var c=d.current();var e=new $$a.ax;e.colorString(c);b.add(e)}return b},$type:new $.ig.Type("ObservableColorCollection",$$4.$f.$type.specialize($$a.$ax.$type))},true);$c("ColorCollectionUtil:u","Object",{init:function(){$.ig.$op.init.call(this)},b:function(a,b){b=$$t.$a3.b(b,0,a.count()-1);var c=$.ig.truncate(Math.floor(b));if(c==b){return a.__inner[c]}return $$t.$u.c(b-c,a.__inner[c],a.__inner[c+1],a.interpolationMode())},c:function(a,b,c,d){return $$t.$aa.n(b,a,c,d)},a:function(a){var b=new $$t.t;b.addRange(a);return b},$type:new $.ig.Type("ColorCollectionUtil",$.ig.$ot)},true);$c("DVSR:v","Object",{a:null,container:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},init:function(a){$.ig.$op.init.call(this);this.a=a},getString:function(resourceName_){var a=String.empty();resourceName_=resourceName_.charAt(0).toLowerCase()+resourceName_.substr(1);a=this.a.getResourceString(resourceName_);return a},$type:new $.ig.Type("DVSR",$.ig.$ot)},true);$c("SRProvider:w","DependencyObject",{_j:null,k:null,l:function(a){if(arguments.length===1){this.k=a;this._j.container(this.k);return a}else{return this.k}},init:function(a){$$a.$r.init.call(this);$$a.$r.toString.call(this);this.k=a;this._j=new $$t.v(a)},an:function(){return this._j.getString("OPD_DefaultInteraction")},ao:function(){return this._j.getString("OPD_ScaleToFit")},aq:function(){return this._j.getString("OPD_ZoomTo100")},ap:function(){return this._j.getString("OPD_ScaleToFit_SeriesViewer")},ar:function(){return this._j.getString("PieChart_Others")},aj:function(){return this._j.getString("FinancialSeries_Open")},ag:function(){return this._j.getString("FinancialSeries_Close")},ai:function(){return this._j.getString("FinancialSeries_Low")},ah:function(){return this._j.getString("FinancialSeries_High")},ak:function(){return this._j.getString("FinancialSeries_Volume")},m:function(){return this._j.getString("BubbleSeries_Radius")},r:function(){return this._j.getString("DataProviderNotInitialized")},am:function(){return this._j.getString("Object_Sealed")},as:function(){return this._j.getString("RangeModificationsNotSupported")},s:function(){return this._j.getString("Default_Series_Title")},n:function(){return this._j.getString("DataChart_InteractivityNotLoaded")},p:function(){return this._j.getString("DataChart_TrendLinesNotLoaded")},o:function(){return this._j.getString("DataChart_NumberAbbreviatorNotLoaded")},q:function(){return this._j.getString("DataChart_VisualDataNotLoaded")},au:function(){return this._j.getString("TRIAL_VERSION")},at:function(){return this._j.getString("ScatterSeries_Value")},al:function(a){return this._j.getString(a)},aa:function(){return this._j.getString("FinancialChart_RangeSelector_OneMonth");
},ad:function(){return this._j.getString("FinancialChart_RangeSelector_ThreeMonths")},ac:function(){return this._j.getString("FinancialChart_RangeSelector_SixMonths")},af:function(){return this._j.getString("FinancialChart_RangeSelector_YearToDate")},ab:function(){return this._j.getString("FinancialChart_RangeSelector_OneYear")},y:function(){return this._j.getString("FinancialChart_RangeSelector_All")},z:function(){return this._j.getString("FinancialChart_RangeSelector_From")},ae:function(){return this._j.getString("FinancialChart_RangeSelector_To")},t:function(){return this._j.getString("FinancialChart_IndicatorMenu_Header")},v:function(){return this._j.getString("FinancialChart_IndicatorMenu_OverlaysCategoryHeader")},w:function(){return this._j.getString("FinancialChart_IndicatorMenu_TrendlinesCategoryHeader")},x:function(){return this._j.getString("FinancialChart_IndicatorMenu_VolumeCategoryHeader")},u:function(){return this._j.getString("FinancialChart_IndicatorMenu_IndicatorsCategoryHeader")},$type:new $.ig.Type("SRProvider",$$a.$r.$type)},true);$c("BrushUtil:x","Object",{init:function(){$.ig.$op.init.call(this)},h:function(a,b){if(a==null){return a}if(a._isGradient){var c=a.clone();for(var d=0;d<c._gradientStops.length;d++){var e=c._gradientStops[d];e.color($$t.$aa.o(e.color(),b))}return c}else{var f=$$t.$aa.o(a.color(),b);return function(){var $ret=new $$a.at;$ret.color(f);return $ret}()}},g:function(a,b,c,d){var e=new $$a.at;if(a==null&&c==null){e.__fill="transparent";return e}var f=null,g=null;var h=null,i=null;if(a==null){var j=c._isGradient?function(){var $ret=new $$a.ax;$ret.l(0);$ret.o(255);$ret.n(255);$ret.m(255);return $ret}():function(){var $ret=new $$a.ax;$ret.l(0);$ret.o(c.color().o());$ret.n(c.color().n());$ret.m(c.color().m());return $ret}();f=function(){var $ret=new $$a.at;$ret.color(j);return $ret}()}else{if(a._isGradient){h=a}else{f=a}}if(c==null){var k=a._isGradient?function(){var $ret=new $$a.ax;$ret.l(0);$ret.o(255);$ret.n(255);$ret.m(255);return $ret}():function(){var $ret=new $$a.ax;$ret.l(0);$ret.o(a.color().o());$ret.n(a.color().n());$ret.m(a.color().m());return $ret}();g=function(){var $ret=new $$a.at;$ret.color(k);return $ret}()}else{if(c._isGradient){i=c}else{g=c}}if(f!=null&&g!=null){return $$t.$x.k(f,b,g,d)}if(f!=null&&i!=null){return $$t.$x.j(f,b,i,d)}if(h!=null&&g!=null){return $$t.$x.j(g,1-b,h,d)}if(h!=null&&i!=null){return $$t.$x.i(h,b,i,d)}return e},k:function(a,b,c,d){var e=new $$a.at;e.color($$t.$aa.n(a.color(),b,c.color(),d));return e},j:function(a,b,c,d){var e=new $$a.au;e._gradientStops=$$t.$x.c(a.color(),b,c._gradientStops,d);if(c._useCustomDirection){e._useCustomDirection=true;e._startX=c._startX;e._startY=c._startY;e._endX=c._endX;e._endY=c._endY}return e},i:function(a,b,c,d){var e=new $$a.au;e._gradientStops=$$t.$x.b(a._gradientStops,b,c._gradientStops,d);if(a._useCustomDirection||c._useCustomDirection){e._useCustomDirection=true;e._startX=a._startX+b*(c._startX-a._startX);e._startY=a._startY+b*(c._startY-a._startY);e._endX=(1-b)*a._endX+b*c._endX;e._endY=(1-b)*a._endY+b*c._endY}return e},c:function(a,b,c,d){var e=new Array(c.length);for(var f=0;f<c.length;++f){e[f]=function(){var $ret=new $$a.av;$ret._offset=c[f]._offset;$ret.color($$t.$aa.n(a,b,c[f].color(),d));return $ret}()}return e},b:function(a,b,c,d){var e=Math.min(a.length,c.length);var f=Math.max(a.length,c.length);var g=new Array(f);var h=0;for(;h<e;++h){g[h]=function(){var $ret=new $$a.av;$ret._offset=(1-b)*a[h]._offset+b*c[h]._offset;$ret.color($$t.$aa.n(a[h].color(),b,c[h].color(),d));return $ret}()}for(;h<a.length;++h){g[h]=function(){var $ret=new $$a.av;$ret._offset=(1-b)*a[h]._offset+b*c[c.length-1]._offset;$ret.color($$t.$aa.n(a[h].color(),b,c[c.length-1].color(),d));return $ret}()}for(;h<c.length;++h){g[h]=function(){var $ret=new $$a.av;$ret._offset=(1-b)*a[a.length-1]._offset+b*c[h]._offset;$ret.color($$t.$aa.n(a[a.length-1].color(),b,c[h].color(),d));return $ret}()}return g},a:function(a,b){var c=new Array(2);b.addClass(a);var d=new $$a.at;d.__fill=b.getStyleProperty("background-color");var e=new $$a.at;e.__fill=b.getStyleProperty("border-top-color");b.removeClass(a);c[0]=d;c[1]=e;return c},d:function(palleteName_,container_,a,b,c){a=new $$t.ak;b=new $$t.ak;var d;var e=new $$4.x(String,0);e.add("background-color");e.add("border-top-color");container_.startCSSQuery();var f=container_.getCssDefaultValuesForClassCollection("ui-"+palleteName_+"-palette-",e.toArray());var g=f.length;if(g==0){if(c==null){c=["#B1BFC9","#50a8be","#798995","#fc6754","#4F606C","#fec33c","#374650","#3c6399","#162C3B","#91af49"]}for(var h=0;h<c.length-1;h+=2){d=new $$a.at;d.__fill=c[h];b.add(d);d=new $$a.at;d.__fill=c[h+1];a.add(d)}}for(var i=0;i<g;i++){var j=new $$a.at;j.__fill=f[i][0];var k=new $$a.at;k.__fill=f[i][1];a.add(j);b.add(k)}container_.endCSSQuery();return{p2:a,p3:b}},e:function(a,b,c,container_,d,e,f){d=new $$t.ak;e=new $$t.ak;if(f==null){f=["#B1BFC9","#50a8be","#798995","#fc6754","#4F606C","#fec33c","#374650","#3c6399","#162C3B","#91af49"]}container_.startCSSQuery();var g=new $$4.x(String,0);g.add("background-image");var h=container_.getCssDefaultValuesForClassCollection(a,g.toArray());var i=h.length;var j=container_.getCssDefaultValuesForClassCollection(b,g.toArray());var k=j.length;for(var l=0;l<i;l++){d.add($$a.$aw.brushFromGradientString(h[l][0]))}for(var m=0;m<k;m++){e.add($$a.$aw.brushFromGradientString(j[m][0]))}g.clear();var n=0;var o=0;var p=Math.min(i,k);var q=null;if(i==0){g.add("background-color")}if(k==0){g.add("border-top-color");o=i==0?1:0}if(g.count()>0){q=container_.getCssDefaultValuesForClassCollection(c,g.toArray());p=q.length}if(i==0){if(p>0){for(var r=0;r<p;r++){var s=new $$a.at;s.__fill=q[r][n];d.add(s)}}else{for(var t=0;t<f.length-1;t+=2){var u=new $$a.at;u=new $$a.at;u.__fill=f[t+1];d.add(u)}}}if(k==0){if(p>0){for(var v=0;v<p;v++){var w=new $$a.at;w.__fill=q[v][o];e.add(w)}}else{for(var x=0;x<f.length-1;x+=2){var y=new $$a.at;y.__fill=f[x];e.add(y)}}}container_.endCSSQuery();return{p4:d,p5:e}},f:function(a,b,c,container_,d){var e=null;container_.startCSSQuery();var f=container_.getCssDefaultPropertyValue(a,"background-image");if(f!=null){e=$$a.$aw.brushFromGradientString(f)}if(e==null){e=new $$a.at;var g=container_.getCssDefaultPropertyValue(b,c);e.__fill=g!=null?g:d}container_.endCSSQuery();return e},$type:new $.ig.Type("BrushUtil",$.ig.$ot)},true);$c("BrushUtilCore:y","Object",{init:function(){$.ig.$op.init.call(this)},a:function(a){var b=$b($$a.$au.$type,a);if(b!=null){return $$t.$y.c(b)}if(a.color().l()==0){return true}return false},c:function(a){var d=a._gradientStops;for(var c=0;c<d.length;c++){var b=d[c];if(!$$t.$y.b(b)){return false}}return true},b:function(a){if(a.color().l()==0){return true}return false},$type:new $.ig.Type("BrushUtilCore",$.ig.$ot)},true);$c("ColorUtil:aa","Object",{init:function(){$.ig.$op.init.call(this)},p:function(a){return $$a.$ax.u(a,$$t.$aa.f.next2(0,255),$$t.$aa.f.next2(0,255),$$t.$aa.f.next2(0,255))},q:function(a){var b=$$t.$aa.b(a);return $$t.$aa.i(b[0],$$t.$aa.f.next2(0,359),b[2],b[3])},n:function(a,interpolation_,maximum_,b){var min_=a;switch(b){case 1:{var c=$$t.$aa.b(a);var d=$$t.$aa.b(maximum_);var e=c[1]>=0?c[1]:d[1];var f=d[1]>=0?d[1]:c[1];if(e>=0&&f>=0&&Math.abs(f-e)>180){if(f>e){e+=360}else{f+=360}}interpolation_=Math.max(0,Math.min(1,interpolation_));return $$t.$aa.i(c[0]+interpolation_*(d[0]-c[0]),e+interpolation_*(f-e),c[2]+interpolation_*(d[2]-c[2]),c[3]+interpolation_*(d[3]-c[3]))}case 0:return $$a.$ax.u(min_.__a+interpolation_*(maximum_.__a-min_.__a),min_.__r+interpolation_*(maximum_.__r-min_.__r),min_.__g+interpolation_*(maximum_.__g-min_.__g),min_.__b+interpolation_*(maximum_.__b-min_.__b))}return a},l:function(a,b,c){var d=a[1]>=0?a[1]:c[1];var e=c[1]>=0?c[1]:a[1];if(d>=0&&e>=0&&Math.abs(e-d)>180){if(e>d){d+=360}else{e+=360}}b=Math.max(0,Math.min(1,b));return $$t.$aa.i(a[0]+b*(c[0]-a[0]),d+b*(e-d),a[2]+b*(c[2]-a[2]),a[3]+b*(c[3]-a[3]))},o:function(a,b){var c=$$t.$aa.a(a);if(b<0){return $$t.$aa.h(c[0],c[1],c[2],c[3]*(1-$$t.$a3.b(-b,0,1)))}else{return $$t.$aa.h(c[0],c[1],c[2],c[3]+$$t.$a3.b(b,0,1)*(1-c[3]))}},a:function(a){var b=new Array(4);var c=a.o()/255;var d=a.n()/255;var e=a.m()/255;var f=Math.min(Math.min(c,d),e);var g=Math.max(Math.max(c,d),e);var h=g-f;b[0]=a.l()/255;b[3]=(g+f)/2;if(h==0){b[1]=-1;b[2]=0}else{b[1]=$$t.$aa.d(g,h,c,d,e);b[2]=b[3]<.5?h/(g+f):h/(2-g-f)}return b},b:function(a){var b=a.l()/255;var c=a.o()/255;var d=a.n()/255;var e=a.m()/255;var f=Math.min(c,Math.min(d,e));var g=Math.max(c,Math.max(d,e));var h=g-f;var i=new Array(4);i[0]=b;i[3]=g;if(h==0){i[1]=-1;i[2]=0}else{i[1]=$$t.$aa.d(g,h,c,d,e);i[2]=h/g}return i},h:function(a,b,c,d){var e;var f;var g;if(c==0){e=d;f=d;g=d}else{var h=d<.5?d*(1+c):d+c-d*c;var i=2*d-h;var j=b/360;e=$$t.$aa.c(i,h,j+1/3);f=$$t.$aa.c(i,h,j);g=$$t.$aa.c(i,h,j-1/3)}return $$a.$ax.u($.ig.truncate(a*255),$.ig.truncate(e*255),$.ig.truncate(f*255),$.ig.truncate(g*255))},i:function(a,b,c,d){var e;var f;var g;while(b>=360){b-=360}if(c==0){e=d;f=d;g=d}else{b/=60;var h=Math.floor(b);var i=b-h;var j=d*(1-c);var k=d*(1-c*i);var l=d*(1-c*(1-i));switch($.ig.truncate(h)){case 0:e=d;f=l;g=j;break;case 1:e=k;f=d;g=j;break;case 2:e=j;f=d;g=l;break;case 3:e=j;f=k;g=d;break;case 4:e=l;f=j;g=d;break;default:e=d;f=j;g=k;break}}return $$a.$ax.u($.ig.truncate(a*255),$.ig.truncate(e*255),$.ig.truncate(f*255),$.ig.truncate(g*255))},d:function(a,b,c,d,e){var f=c==a?(d-e)/b:d==a?2+(e-c)/b:4+(c-d)/b;f*=60;if(f<0){f+=360}return f},c:function(a,b,c){c=c<0?c+1:c>1?c-1:c;if(c<1/6){return a+(b-a)*6*c}if(c<1/2){return b}if(c<2/3){return a+(b-a)*6*(2/3-c)}return a},e:function(a){var b=a.l()/255;var c=$.ig.truncate(a.o()*b);var d=$.ig.truncate(a.n()*b);var e=$.ig.truncate(a.m()*b);return a.l()<<24|c<<16|d<<8|e},m:function(a){return a.color()},k:function(a){var b=new $$a.ax;b.colorString(a);return b},j:function(a){var b=function(){var $ret=new $$a.ax;$ret.l(255);return $ret}();b=$$t.$aa.k(a.__fill);return b},g:function(a){var b=null;var c=a.colorString();b=function(){var $ret=new $$a.at;$ret.fill(c);return $ret}();return b},$type:new $.ig.Type("ColorUtil",$.ig.$ot)},true);$c("CssHelper:ab","Object",{init:function(){$.ig.$op.init.call(this)},getDisoveryElement:function(a){var b=$("#fakediscoveryelementstyle");if(b.length==0){var c="fakediscoveryelement\n"+"{\n"+"\tdisplay: block;\n"+" position: absolute;\n"+" box-sizing: content-box;\n"+" -moz-box-sizing: content-box;\n"+"\tmargin: "+"-4321px"+";\n"+"\tcolor: "+"rgb(3, 2, 1)"+";\n"+" border-style: solid;\n"+" border-color: "+"rgb(3, 2, 1)"+";\n"+" background-color: "+"rgb(3, 2, 1)"+";\n"+" background-image: "+"none"+";\n"+" border-width: "+"4321px"+";\n"+" border-radius: "+"4321px"+";\n"+" outline-color: "+"rgb(3, 2, 1)"+";\n"+" vertical-align: "+"baseline"+";\n"+" text-align: "+"justify"+";\n"+" opacity: "+"0.888"+";\n"+" visibility: "+"hidden"+";\n"+" padding: "+"4321px"+";\n"+" width: "+"4321px"+";\n"+" height: "+"4321px"+";\n"+"}\n";b=$("<style id='fakediscoveryelementstyle'></style>");b.html(c);$("head").append(b)}var d=a.createElement("fakediscoveryelement");d.setStyleProperty("box-sizing","content-box");return d},getDefaultValue:function(a){if(a=="color"||a=="border-color"||a=="border-top-color"||a=="border-left-color"||a=="border-right-color"||a=="border-bottom-color"||a=="background-color"||a=="outline-color"){return"rgb(3, 2, 1)"}else if(a=="margin-left"||a=="margin-top"||a=="margin-right"||a=="margin-bottom"){return"-4321px"}else if(a=="vertical-align"){return"baseline"}else if(a=="opacity"){return"0.888"}else if(a=="background-image"){return"none"}else if(a=="text-align"){return"justify"}else if(a=="visibility"){return"hidden"}else if($$t.$ab.c(a)){return"4321px"}return"DEFAULT"},numberOfClasses:function(a,b,c){var d=$$t.$ab.getDefaultValue(c);var e=1;var f=false;while(!f&&e<500){var g=b+e.toString();a.addClass(g);var h=a.getStyleProperty(c);if(h==d){break}e++}return e},getPropertyValue1:function(a,b,c){if(b!=null){a.addClass(b)}var ret_=a.getStyleProperty(c);if(b!=null){a.removeClass(b)}if(c=="opacity"){ret_=Math.round(1e3*ret_)/1e3}if($$t.$ab.a(ret_,$$t.$ab.getDefaultValue(c),c)){return null}return ret_},getPropertyValue:function(a,b){return $$t.$ab.getPropertyValue1(a,null,b)},a:function(a,b,c){if(a==b){return true}if($$t.$ab.c(c)&&a!=null&&a.contains("px")){var d=$3(a,"px","");var e=parseFloat(d);if(Math.abs(Math.round(e)-4321)<2){return true}return false}else if($$t.$ab.b(c)&&a!=null&&a.contains("px")){var f=$3(a,"px","");var g=parseFloat(f);if(Math.abs(Math.round(g)+4321)<2){return true}return false}else{return a==b}},c:function(a){return a=="width"||a=="height"||a=="border-top-width"||a=="border-left-width"||a=="border-right-width"||a=="border-bottom-width"||a=="border-width"||a=="border-radius"||a=="padding"||a=="padding-top"||a=="padding-left"||a=="padding-bottom"||a=="padding-right"||a=="border-top-left-radius"},b:function(a){return a=="margin-top"||a=="margin-left"||a=="margin-right"||a=="margin-bottom"},getValuesForClassCollection:function(a,b,c){var d=new $$4.x($$4.$x.$type.specialize(String),0);var e=1;var f=false;while(!f&&e<500){var g=b+e.toString();a.addClass(g);var h=new $$4.x(String,0);for(var i=0;i<c.count();i++){var j=c.__inner[i];var k=$$t.$ab.getDefaultValue(j);var l=a.getStyleProperty(j);if($$t.$ab.a(l,k,j)){f=true;break}h.add(l)}a.removeClass(g);if(!f){d.add(h)}e++}return d},$type:new $.ig.Type("CssHelper",$.ig.$ot)},true);$c("DoubleAnimator:ac","Object",{needsFlush:function(){return this.transitionProgress()==0},provideRenderer:function(a){if(a==null){this.s()}else if(a.supportsAnimation()){this.requestAnimationFrame(a.getRequestAnimationFrame())}},flush:function(){this.y(true)},k:0,transitionProgress:function(a){if(arguments.length===1){this.k=a;if(this.propertyChanged!=null){this.propertyChanged(this,new $$0.b7("TransitionProgress"))}return a}else{return this.k}},p:0,intervalMilliseconds:function(a){if(arguments.length===1){this.p=a;return a}else{return this.p}},a:null,easingFunction:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},i:0,j:0,l:function(a){if(arguments.length===1){this.i=a;return a}else{return this.i}},n:function(a){if(arguments.length===1){this.j=a;return a}else{return this.j}},init:function(a,b,c){this.a=null;this.i=0;this.j=0;this.d=false;this.q=0;$.ig.$op.init.call(this);this.i=a;this.j=b;this.p=c;this.s()},s:function(){this.requestAnimationFrame(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(callback){window.setTimeout(callback,1e3/60)})},_requestAnimationFrame:null,requestAnimationFrame:function(a){if(arguments.length===1){this._requestAnimationFrame=a;return a}else{return this._requestAnimationFrame}},d:false,e:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},start:function(){this.k=0;this.q=0;this.h=$$0.$s.now();if(!this.d){this.d=true;this.requestAnimationFrame()(this.tick.runOn(this))}},stop:function(){this.d=false;this.k=0;this.q=0},h:new Date,q:0,tick:function(){this.y(false)},y:function(a){if(!this.d){this.stop();return}var b=$$0.$s.now();var c=b.getTime()-this.h.getTime();if(c>this.p){c=this.p}if(c-this.q<16&&c!=this.p&&!a){this.requestAnimationFrame()(this.tick.runOn(this));return}this.q=c;var d=c/this.p;if(this.a!=null){d=this.a(d)}var e=this.i+(this.j-this.i)*d;if(!a){if(c==this.p){this.stop()}else{this.requestAnimationFrame()(this.tick.runOn(this))}}this.transitionProgress(e)},getElapsedMilliseconds:function(){return this.d?$$0.$s.now().getTime()-this.h.getTime():0},animationActive:function(){return this.d},propertyChanged:null,$type:new $.ig.Type("DoubleAnimator",$.ig.$ot,[$$0.$b6.$type])},true);$c("FastIterationDictionary$2:ae","Object",{$tKey:null,$tValue:null,k:null,_o:null,_q:null,_p:null,_l:null,init:function($tKey,$tValue,a){this.$tKey=$tKey;this.$tValue=$tValue;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tKey,this.$tValue)}if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$ae.init1.call(this,this.$tKey,this.$tValue,1,null)},init1:function($tKey,$tValue,a,b){this.$tKey=$tKey;this.$tValue=$tValue;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tKey,this.$tValue)}this.c=false;$.ig.$op.init.call(this);this.k=new $$4.h(this.$tKey,this.$tValue,2,b);this._o=new $$4.x(this.$tKey,0);this._q=new $$4.x(this.$tValue,0);this._l=new $$4.h(this.$tKey,$$0.$aw.$type,0);this._p=new $$4.x($$0.$aq.$type,0)},s:function(a,b){this.k.add(a,b);this._o.add(a);this._q.add(b);this._l.add(a,this._o.count()-1);this._p.add(false)},i:function(){for(var a=0;a<this._o.count();a++){if(this._p.__inner[a]){continue}if(this.item(this._o.__inner[a])!=this._q.__inner[a]){return false}}return true},e:function(){var a=new $$4.q(this.$tValue,0);for(var b=0;b<this._q.count();b++){if(this._p.__inner[b]){continue}if(a.contains(this._q.__inner[b])){return true}a.add(this._q.__inner[b])}return false},j:function(a){for(var b=0;b<this._q.count();b++){if(this._p.__inner[b]){continue}var c=a(this._q.__inner[b]);if(!c.equals($e(this.$tKey,this._o.__inner[b]))){return false}}return true},u:function(){this.k.clear();this._o.clear();this._q.clear();this._l.clear();this._p.clear()},d:function(a){return this.k.containsKey(a)},r:function(){return this.k.count()},m:function(){return this.k.keys()},c:false,g:function(a){if(arguments.length===1){this.c=a;if(this._p.count()>this._l.count()*3){this.t()}return a}else{return this.c}},f:function(a){var b=this.k.remove(a);if(b){var c=this._l.item(a);this._p.__inner[c]=true;this._l.remove(a);if(this._p.count()>this._l.count()*3){this.t()}return b}return b},t:function(){if(this.g()){return}var a=this._p.count();var b=0;var c=false;for(var d=0;d<a;d++){if(this._p.__inner[d]){this._o.removeAt(d);this._q.removeAt(d);this._p.removeAt(d);d--;a--;c=true}else{if(c){this._l.remove(this._o.__inner[d]);this._l.add(this._o.__inner[d],b)}b++}}},h:function(a,b){var $self=this;return{ret:function(){var c=$self.k.tryGetValue(a,b);b=c.p1;return c.ret}(),p1:b}},b:function(a){return this.k.tryGetValueFast(a)},n:function(){return this.k.values()},item:function(a,b){if(arguments.length===2){if(!this.d(a)){this.s(a,b)}else{this.k.item(a,b);var c=this._l.item(a);this._q.__inner[c]=b;this._p.__inner[c]=false}return b}else{return this.k.item(a)}},$type:new $.ig.Type("FastIterationDictionary$2",$.ig.$ot)},true);$c("FontInfo:ag","Object",{t:function(a){if($.ig.util.isNaN(this.d())){var b=$$t.$af.getFontInfoFromString(a,this.fontString());this.h=b.n();this.b=b.d();this.i=b.o();this.k=b.q();this.l=b.r();this.m=b.s()}},init:function(){this.f=0;$.ig.$op.init.call(this);this.d(NaN);this.e(NaN)},f:0,g:function(){return this.f},k:null,q:function(a){if(arguments.length===1){var b=this.k;this.k=a;if(b!=this.k){this.u("FontStyle")}return a}else{return this.k}},u:function(a){if(a!="FontString"){this.j=null}if(this.f<1e5){this.f++}else{this.f=0}},l:null,r:function(a){if(arguments.length===1){var b=this.l;this.l=a;if(this.l!=b){this.u("FontVariant")}return a}else{return this.l}},m:null,s:function(a){if(arguments.length===1){var b=this.m;this.m=a;if(this.m!=b){this.u("FontWeight")}return a}else{return this.m}},b:0,d:function(a){if(arguments.length===1){var b=this.b;this.b=a;if(this.b!=b){this.u("FontSize")}return a}else{return this.b}},c:0,e:function(a){if(arguments.length===1){var b=this.c;this.c=a;if(this.c!=b){this.u("LineHeight")}return a}else{return this.c}},h:null,n:function(a){if(arguments.length===1){var b=this.h;this.h=a;if(this.h!=b){this.u("FontFamily")}return a}else{return this.h}},i:null,o:function(a){if(arguments.length===1){var b=this.i;this.i=a;if(this.i!=b){this.u("FontStretch")}return a}else{return this.i}},j:null,fontString:function(a){if(arguments.length===1){var b=this.j;this.j=a;if(this.j!=b){this.u("FontString")}return a}else{if(this.j==null){$$t.$af.updateFontString(this)}return this.j}},a:function(){var $self=this;return function(){var $ret=new $$t.ag;$ret.q($self.q());$ret.r($self.r());$ret.s($self.s());$ret.d($self.d());$ret.e($self.e());$ret.n($self.n());$ret.o($self.o());$ret.fontString($self.fontString());return $ret}()},$type:new $.ig.Type("FontInfo",$.ig.$ot)},true);$c("FontUtil:af","Object",{init:function(){$.ig.$op.init.call(this)},getCurrentFontHeight:function(a,b){if(a==null){return 14}var c=null;if(b!=null){c=b.fontString()}return a.getHeightForFontString(c,"M",true)},measureStringHeight:function(a,b,c){var d=a.getHeightForFontString(c.fontString(),b,false);return d},measureStringWidth1:function(a,b,c){c.z();c.ab(b);var d=c.f(a);c.y();return d},measureStringWidth:function(a,b,c){c.z();c.ac(b);var d=c.f(a);c.y();return d},getDefaultFont:function(a){if($$t.$af.a==null){$$t.$af.a=$$t.$af.getFontInfoFromString(a,"12px Verdana")}return $$t.$af.a},getFontSize:function(a){return a.d()},getFontWithNewFontSize:function(a,b){var c=a.a();c.d(b);c.fontString(b+"px "+a.n());return c},getFontInfoFromString:function(a,b){a.startCSSQuery();a.setCssQueryFontString(b);var c=a.getCssDefaultPropertyValue("","font-style");var d=a.getCssDefaultPropertyValue("","font-variant");var e=a.getCssDefaultPropertyValue("","font-weight");e=$$t.$af.o(e);var f=a.getCssDefaultPropertyValue("","font-size");var g=a.getCssDefaultPropertyValue("","line-height");var h=a.getCssDefaultPropertyValue("","font-family");a.endCSSQuery();var i=new $$t.ag;var j=true;b="";if(c.length>0){if(!j){b+=" "}else{j=false}b+=c}if(d.length>0){if(!j){b+=" "}else{j=false}b+=d}if(e.length>0){if(!j){b+=" "}else{j=false}b+=e}if(f.length>0){if(!j){b+=" "}else{j=false}b+=f}if(g.length>0){if(!j){b+="/"}else{j=false}b+=g}if(h.length>0){if(!j){b+=" "}else{j=false}b+=h}var k=new $$t.ag;k.n(h);k.d(parseFloat(f));k.o("Normal");k.q(c);k.r(d);k.s(e);k.fontString(b);return k},getFontForClass:function(a,b){var c=String.empty();a.startCSSQuery();var d=a.getCssDefaultPropertyValue(b,"font-style");var e=a.getCssDefaultPropertyValue(b,"font-variant");var f=a.getCssDefaultPropertyValue(b,"font-weight");f=$$t.$af.o(f);var g=a.getCssDefaultPropertyValue(b,"font-size");var h=a.getCssDefaultPropertyValue(b,"line-height");var i=a.getCssDefaultPropertyValue(b,"font-family");a.endCSSQuery();var j=true;if(d.length>0){if(!j){c+=" "}else{j=false}c+=d}if(e.length>0){if(!j){c+=" "}else{j=false}c+=e}if(f.length>0){if(!j){c+=" "}else{j=false}c+=f}if(g.length>0){if(!j){c+=" "}else{j=false}c+=g}if(h.length>0){if(!j){c+="/"}else{j=false}c+=h}if(i.length>0){if(!j){c+=" "}else{j=false}c+=i}var k=new $$t.ag;k.n(i);k.d(parseFloat(g));k.o("Normal");k.q(d);k.r(e);k.s(f);k.fontString(c);return k},getFont:function(a){return $$t.$af.getFontForClass(a,"")},updateFontString:function(a){var b=String.empty();var c=a.q();var d=a.r();var e=a.s();var f=a.d().toString();var g="normal";var h=a.n();var i=true;if(c!=null&&c.length>0){if(!i){b+=" "}else{i=false}b+=c}if(d!=null&&d.length>0){if(!i){b+=" "}else{i=false}b+=d}if(e!=null&&e.length>0){if(!i){b+=" "}else{i=false}b+=e}if(f.length>0){if(!i){b+=" "}else{i=false}b+=f+"px"}if(g!=null&&g.length>0){if(!i){b+="/"}else{i=false}b+=g}if(h!=null&&h.length>0){if(!i){b+=" "}else{i=false}b+=h}a.fontString(b)},getFontInfo:function(a,b,c){if(c==null){var d=new $$t.ag;a.startCSSQuery();var e=a.getCssDefaultPropertyValue("","font-style");var f=a.getCssDefaultPropertyValue("","font-variant");var g=a.getCssDefaultPropertyValue("","font-weight");g=$$t.$af.o(g);var h=a.getCssDefaultPropertyValue("","font-size");var i=a.getCssDefaultPropertyValue("","line-height");var j=a.getCssDefaultPropertyValue("","font-family");d.n($3(j,"'",""));d.q($$t.$af.p(e));d.s($$t.$af.p(g.toString()));d.r(f);d.e(parseFloat(i));d.d(parseFloat(h));a.endCSSQuery();return d}return c},p:function(a){if(String.isNullOrEmpty(a)){return String.empty()}var b=a.substr(0,1).toUpperCase();if(a.length>1){b+=a.substr(1)}return b},toFontInfo:function(a,b){if(b==null){return null}return $$t.$af.getFontInfoFromString(a,b)},interpolateFont:function(a,b,c,d){if(c==null){c=d}if(d==null){d=c}if(c==null&&d==null){return}if(b>.5){a.n(d.n());a.o(d.o());a.q(d.q());a.r(d.r());a.s(d.s());a.e(d.e());a.d(d.d())}else{a.n(c.n());a.o(c.o());a.q(c.q());a.r(c.r());a.s(c.s());a.e(c.e());a.d(c.d())}if(!$.ig.util.isNaN(c.d())&&!$.ig.util.isNaN(d.d())){a.d(c.d()+(d.d()-c.d())*b)}$$t.$af.updateFontString(a)},charsEqual:function(a,b,c,d){return a.charAt(b).equals(c[d])},o:function(a){switch(a){case"400":a="normal";break;case"700":case"800":a="bold";break}return a},$type:new $.ig.Type("FontUtil",$.ig.$ot)},true);$c("RenderingContext:ai","Object",{c:null,g:function(){if(this.c==null){return null}return this.c.getUnderlyingContext()},init:function(a,b){this.c=null;$.ig.$op.init.call(this);this.c=a;if(this.c!=null){this.c.data(b)}},d:function(){if(this.c==null){return false}return true},v:function(a){if(this.c==null){return}this.c.renderRectangle(a)},s:function(a){if(this.c==null){return}this.c.renderPath(a)},q:function(a){if(this.c==null){return}this.c.renderGeometry(a)},w:function(a){if(this.c==null){return}this.c.renderTextBlock(a)},x:function(a,b,c){if(this.c==null){return}this.c.renderTextBlockInRect(a,b,c)},t:function(a){if(this.c==null){return}this.c.renderPolygon(a)},u:function(a){if(this.c==null){return}this.c.renderPolyline(a)},p:function(a,b){if(this.c==null){return}this.c.renderContentControl(a,b)},j:function(a){if(this.c==null){return}this.c.applyTransform(a)},r:function(a){if(this.c==null){return}this.c.renderLine(a)},z:function(){if(this.c==null){return}this.c.save()},y:function(){if(this.c==null){return}this.c.restore()},ae:function(a){if(this.c==null){return}this.c.setRectangleClip(a)},aa:function(a,b){if(this.c==null){return}this.c.scale(a,b)},af:function(a,b){if(this.c==null){return}this.c.translate(a,b)},k:function(a,b,c,d){if(this.c==null){return}this.c.clearRectangle(a,b,c,d)},n:function(a,b,c,d,e,f,g,h,i,j){if(this.c==null){return}this.c.drawImage1(a,b,c,d,e,f,g,h,i,j)},m:function(a,b,c,d,e,f){if(this.c==null){return}this.c.drawImage(a,b,c,d,e,f)},a:function(a,b){if(this.c==null){return null}return this.c.getPixelAt(a,b)},h:function(){if(this.c==null){return null}return this.c.getFont()},b:function(){if(this.c==null){return null}return this.c.getFontInfo()},ab:function(a){if(this.c==null){return}this.c.setFont(a)},ac:function(a){if(this.c==null){return}this.c.setFontInfo(a)},f:function(a){if(this.c==null){return NaN}return this.c.measureTextWidth(a)},e:function(a){if(this.c==null){return NaN}var b=this.c.getFontInfo();var c=0;if(b==null){b=this.c.getFont()}else{c=b.g()}var d=a.ag(b,c);if(d>=0){return d}var e=this.c.measureTextWidth(a.ak());a.al(b,c,e);return e},ad:function(a){if(this.c==null){return}this.c.setOpacity(a)},i:function(a,b){if(this.c==null||b==null){return}this.c.applyStyle(a,b)},o:function(a,b,c,d){if(this.c==null){return}this.c.enableDropShadow(a,b,c,d)},l:function(){if(this.c==null){return}this.c.disableDropShadow()},$type:new $.ig.Type("RenderingContext",$.ig.$ot)},true);$c("EasingFunctions:aj","Object",{init:function(){$.ig.$op.init.call(this)},c:function(a){return a*a*a},g:function(a){return(Math.exp(2*a)-1)/(Math.exp(2)-1)},a:function(a){return 1-Math.sqrt(1-a*a)},e:function(a,b){var c=a*2;return.5*b(c)},f:function(a,b){var c=(1-a)*2;var d=1-b(c);return.5*d+.5},cubicEase:function(a){if(a<.5){var b=a*2;return.5*$$t.$aj.c(b)}var c=(1-a)*2;var d=1-$$t.$aj.c(c);return.5*d+.5},exponentialEase:function(a){if(a<.5){return $$t.$aj.e(a,$$t.$aj.g)}return $$t.$aj.f(a,$$t.$aj.g)},circleEase:function(a){if(a<.5){return $$t.$aj.e(a,$$t.$aj.a)}return $$t.$aj.f(a,$$t.$aj.a)},$type:new $.ig.Type("EasingFunctions",$.ig.$ot)},true);$c("BrushCollection:ak","ObservableCollection$1",{init:function(){this.ae=0;$$4.$f.init.call(this,$$a.$at.$type,0)},selectRandom:function(){return this.item($$t.$ak.ag.next1(this.count()))},interpolationMode:function(a){if(arguments.length===1){if(this.ae!=a){this.ae=a;this.ac(new $$4.ae(0,4))}return a}else{return this.ae}},ae:0,item:function(a,b){if(arguments.length===2){$$4.$f.item.call(this,a,b);return b}else{if(a<0||a>=this.count()){return null}return $$4.$f.item.call(this,a)}},equals:function(a){if(a==null){return false}var b=a;if(b.count()!=this.count()){return false}for(var c=0;c<b.count();c++){if(!b.item(c).equals(this.item(c))){return false}}return true},$type:new $.ig.Type("BrushCollection",$$4.$f.$type.specialize($$a.$at.$type))},true);$c("BrushCollectionUtil:al","Object",{init:function(){$.ig.$op.init.call(this)},b:function(a,b){if($.ig.util.isNaN(b)){return null}b=$$t.$a3.b(b,0,a.count()-1);var c=$.ig.truncate(Math.floor(b));if(c==b){return a.item(c)}return $$t.$al.c(b-c,a.item(c),a.item(c+1),a.interpolationMode())},c:function(a,b,c,d){var e=b.color();var f=c.color();var g=$$t.$aa.n(e,a,f,d);var h=new $$a.at;h.color(g);return h},a:function(a){var b=new $$t.ak;var d=a.getEnumerator();while(d.moveNext()){var c=d.current();var e=$$t.$aa.g(c);if(e!=null){b.add(e)}}return b},$type:new $.ig.Type("BrushCollectionUtil",$.ig.$ot)},true);$c("DoubleValueChangedEventArgs:am","EventArgs",{init:function(a,b){$$0.$w.init.call(this);this.oldValue(a);this.newValue(b)},_oldValue:0,oldValue:function(a){if(arguments.length===1){this._oldValue=a;return a}else{return this._oldValue}},_newValue:0,newValue:function(a){if(arguments.length===1){this._newValue=a;return a}else{return this._newValue}},$type:new $.ig.Type("DoubleValueChangedEventArgs",$$0.$w.$type)},true);$c("IErrorBarCalculator:aq","Object",{$type:new $.ig.Type("IErrorBarCalculator",null)},true);$c("FastItemsSourceEventArgs:as","EventArgs",{init:function(a,b,c,d){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$0.$w.init.call(this);this.action(b);this.position(c);this.count(d);this.propertyName(null)},init1:function(a,b,c){$$0.$w.init.call(this);this.action(3);this.position(b);this.count(1);this.propertyName(c)},_action:0,action:function(a){if(arguments.length===1){this._action=a;return a}else{return this._action}},_position:0,position:function(a){if(arguments.length===1){this._position=a;return a}else{return this._position}},_count:0,count:function(a){if(arguments.length===1){this._count=a;return a}else{return this._count}},_propertyName:null,propertyName:function(a){if(arguments.length===1){this._propertyName=a;return a}else{return this._propertyName}},$type:new $.ig.Type("FastItemsSourceEventArgs",$$0.$w.$type)},true);$c("RectChangedEventArgs:aw","EventArgs",{init:function(a,b){$$0.$w.init.call(this);this.oldRect(a);this.newRect(b)},_oldRect:null,oldRect:function(a){if(arguments.length===1){this._oldRect=a;return a}else{return this._oldRect}},_newRect:null,newRect:function(a){if(arguments.length===1){this._newRect=a;return a}else{return this._newRect}},$type:new $.ig.Type("RectChangedEventArgs",$$0.$w.$type)},true);$c("ArrayUtil:ay","Object",{init:function(){$.ig.$op.init.call(this)},g:function($t,a){if(a!=null){var b=new $$6.s(0);for(var c=a.count()-1;c>0;--c){var d=b.next1(c);var e=a.item(c);a.item(c,a.item(d));a.item(d,e)}}},d:function($t,a,b){var c=-1;var d=0;var e=a.count();while(c==-1){if(e<=d){c=d}else{var f=$a(d+e,2);switch(Math.sign(b.compareTo($e($t,a.item(f))))){case-1:e=f;break;case 0:c=f;break;case 1:d=f+1;break}}}return c},e:function($t,a,b,c){var d=-1;var e=0;var f=a.count();while(d==-1){if(f<=e){d=e}else{var g=$a(e+f,2);switch(Math.sign(b(c,a.item(g)))){case-1:f=g;break;case 0:d=g;break;case 1:e=g+1;break}}}return d},c:function($t,a,b){var c=0;var d=a.count()-1;while(c<=d){var e=c+(d-c>>1);var f=b(a.item(e));if(f<0){d=e-1}else if(f>0){c=e+1}else{return e}}return~c},b:function($t,a,b){var c=0;var d=a.count()-1;while(c<=d){var e=c+(d-c>>1);var f=b(a.item(e));if(f<0){d=e-1}else if(f>0){c=e+1}else{return e}}return~c},a:function($t,a,b){if(a==null){return $f($t)}if(a.count()==0){return $f($t)}return a.item(b%a.count())},f:function(a,b){if(a==null){return null}if(a.count()==0){return null}return a.item(b%a.count());
},$type:new $.ig.Type("ArrayUtil",$.ig.$ot)},true);$c("CoreGeometryUtil:az","Object",{init:function(){$.ig.$op.init.call(this)},a:function(a){if($.ig.util.isNaN(a)||Number.isInfinity(a)){return a}while(a>360){a-=360}while(a<0){a+=360}return a},b:function(a,b,c,d,e){var f={__x:(a.__x+b.__x)/2,__y:(a.__y+b.__y)/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var g=b.__x-a.__x;var h=b.__y-a.__y;var i=Math.sqrt(g*g+h*h);var j=h;var k=g*-1;if(e==d){j=h*-1;k=g}var l=Math.max(Math.abs(j),Math.abs(k));j=j/l;k=k/l;var m=Math.sqrt(j*j+k*k);var n=j/m;var o=k/m;var p=i/2;var q=Math.sqrt(c*c-p*p);if($.ig.util.isNaN(q)){q=0}var r=q*n;var s=q*o;var t={__x:f.__x+r,__y:f.__y+s,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};return t},$type:new $.ig.Type("CoreGeometryUtil",$.ig.$ot)},true);$c("DeviceUtils:a0","Object",{init:function(){$.ig.$op.init.call(this)},g:function(a){return a},f:function(a){return a},a:function(a){if($.ig.util.isNaN(a)){return NaN}if(a<=0){return NaN}return a},c:function(a){return a*$$t.$a0.d()},b:function(a){return a*$$t.$a0.e()},d:function(){var a=$$t.$a0.g(2);return 2/a},e:function(){var a=$$t.$a0.f(2);return 2/a},$type:new $.ig.Type("DeviceUtils",$.ig.$ot)},true);$c("Extensions:a1","Object",{init:function(){$.ig.$op.init.call(this)},e:function(a){a._b.clear();a._b.add(new $$a.a8);a._b.removeAt(0)},d:function(a){a._c.clear();a._c.add(new $$a.a7);a._c.removeAt(0)},c:function(a){if(a==null){return}var b=$b($$a.$am.$type,a._x);if(b!=null){b._ab.remove(a);return}var c=$b($$a.$g.$type,a._x);if(c!=null){c.content(null);return}},f:function(a,b){var c=new $$4.x($$a.$c.$type,0);var e=a._ab.getEnumerator();while(e.moveNext()){var d=e.current();if($b($$a.$c.$type,d)!==null){c.add(d)}}var g=c.getEnumerator();while(g.moveNext()){var f=g.current();a._ab.remove(f);b._ab.add(f)}},a:function(a){return!$.ig.util.isNaN(a.__x)&&!$.ig.util.isNaN(a.__y)&&!Number.isInfinity(a.__x)&&!Number.isInfinity(a.__y)},b:function(a){return!$.ig.util.isNaN(a.left())&&!$.ig.util.isNaN(a.right())&&!$.ig.util.isNaN(a.top())&&!$.ig.util.isNaN(a.bottom())&&!Number.isInfinity(a.left())&&!Number.isInfinity(a.right())&&!Number.isInfinity(a.top())&&!Number.isInfinity(a.bottom())},$type:new $.ig.Type("Extensions",$.ig.$ot)},true);$c("FrameworkElementExtensions:a2","Object",{init:function(){$.ig.$op.init.call(this)},a:function(a,b){return a._x!=null},$type:new $.ig.Type("FrameworkElementExtensions",$.ig.$ot)},true);$c("MathUtil:a3","Object",{init:function(){$.ig.$op.init.call(this)},a:function(a){return Math.log(a+Math.sqrt(a*a+1))},e:function(a,b){return Math.sqrt(a*a+b*b)},l:function(a){return a*a},b:function(a,b,c){return Math.min(c,Math.max(b,a))},k:function(a){return Math.PI*a/180},d:function(a){return 180*a/Math.PI},i:function(a,b,c){return Math.min(a,Math.min(b,c))},g:function(a,b,c){return Math.max(a,Math.max(b,c))},h:function(a){var b=a[0];for(var c=1;c<a.length;++c){b=Math.min(b,a[c])}return b},f:function(a){var b=a[0];for(var c=1;c<a.length;++c){b=Math.max(b,a[c])}return b},$type:new $.ig.Type("MathUtil",$.ig.$ot)},true);$c("MathUtilExtended:a4","Object",{init:function(){$.ig.$op.init.call(this)},d:function(a){if(a<=0){return NaN}var b=[57.15623566586292,-59.59796035547549,14.136097974741746,-.4919138160976202,3399464998481189e-20,4652362892704858e-20,-9837447530487956e-20,.0001580887032249125,-.00021026444172410488,.00021743961811521265,-.0001643181065367639,8441822398385275e-20,-26190838401581408e-21,36899182659531625e-22];var c=a;var d=(a+.5)*Math.log(a+5.2421875)-(a+5.2421875);var e=.9999999999999971;for(var f=0;f<14;f++){e+=b[f]/++c}return d+Math.log(2.5066282746310007*e/a)},j:function(a,b,c){var d=$.ig.truncate(Math.floor(a))&255;var e=$.ig.truncate(Math.floor(b))&255;var f=$.ig.truncate(Math.floor(c))&255;a-=Math.floor(a);b-=Math.floor(b);c-=Math.floor(c);var g=$$t.$a4.c(a);var h=$$t.$a4.c(b);var i=$$t.$a4.c(c);var j=$$t.$a4.a[d]+e;var k=$$t.$a4.a[j]+f;var l=$$t.$a4.a[j+1]+f;var m=$$t.$a4.a[d+1]+e;var n=$$t.$a4.a[m]+f;var o=$$t.$a4.a[m+1]+f;return $$t.$a4.f(i,$$t.$a4.f(h,$$t.$a4.f(g,$$t.$a4.e($$t.$a4.a[k],a,b,c),$$t.$a4.e($$t.$a4.a[n],a-1,b,c)),$$t.$a4.f(g,$$t.$a4.e($$t.$a4.a[l],a,b-1,c),$$t.$a4.e($$t.$a4.a[o],a-1,b-1,c))),$$t.$a4.f(h,$$t.$a4.f(g,$$t.$a4.e($$t.$a4.a[k+1],a,b,c-1),$$t.$a4.e($$t.$a4.a[n+1],a-1,b,c-1)),$$t.$a4.f(g,$$t.$a4.e($$t.$a4.a[l+1],a,b-1,c-1),$$t.$a4.e($$t.$a4.a[o+1],a-1,b-1,c-1))))},c:function(a){return a*a*a*(a*(a*6-15)+10)},f:function(a,b,c){return b+a*(c-b)},e:function(a,b,c,d){var e=a&15;var f=e<8?b:c;var g=e<4?c:e==12||e==14?b:d;return((e&1)==0?f:-f)+((e&2)==0?g:-g)},h:function(a){if(a==0){return 0}if(a<0){return-$$t.$a4.g(-a)}var b=$.ig.truncate(Math.floor(Math.log10(a)));var c=a/$$t.$a4.b(10,b);var d=c<2?1:c<5?2:c<10?5:10;return d*$$t.$a4.b(10,b)},i:function(a){if(a==0){return 0}if(a<0){return-$$t.$a4.i(-a)}var b=$.ig.truncate(Math.floor(Math.log10(a)));var c=a/$$t.$a4.b(10,b);var d=c<1?1:c<3?2:c<7?5:10;return d*$$t.$a4.b(10,b)},g:function(a){if(a==0){return 0}if(a<0){return-$$t.$a4.h(-a)}var b=$.ig.truncate(Math.floor(Math.log10(a)));var c=a/$$t.$a4.b(10,b);var d=c<=1?1:c<=2?2:c<=5?5:10;return d*$$t.$a4.b(10,b)},b:function(a,b){var c=1;for(;b>0;--b){c*=a}for(;b<0;++b){c/=a}return c},$type:new $.ig.Type("MathUtilExtended",$.ig.$ot)},true);$c("IPool$1:a6","Object",{$type:new $.ig.Type("IPool$1",null)},true);$c("IIndexedPool$1:a7","Object",{$type:new $.ig.Type("IIndexedPool$1",null,[$$t.$a6.$type.specialize(0)])},true);$c("Pool$1:a5","Object",{$t:null,init:function($t){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$.ig.$op.init.call(this);this.active(new $$4.x(this.$t,0));this.inactive(new $$4.x(this.$t,0))},_create:null,create:function(a){if(arguments.length===1){this._create=a;return a}else{return this._create}},_disactivate:null,disactivate:function(a){if(arguments.length===1){this._disactivate=a;return a}else{return this._disactivate}},_activate:null,activate:function(a){if(arguments.length===1){this._activate=a;return a}else{return this._activate}},_destroy:null,destroy:function(a){if(arguments.length===1){this._destroy=a;return a}else{return this._destroy}},item:function(a){if(a>=this.count()){this.count(a+1)}return this.active().__inner[a]},clear:function(){this.count(0)},count:function(a){if(arguments.length===1){var b=this.active().count();while(a>this.active().count()&&this.inactive().count()>0){var c=this.inactive().__inner[this.inactive().count()-1];this.active().add(c);this.inactive().removeAt(this.inactive().count()-1);if(this.activate()!=null){this.activate()(c)}}while(a>this.active().count()&&this.inactive().count()==0){var d=this.create()();this.active().add(d);if(this.activate()!=null){this.activate()(d)}}var e=2;while(b!=0){b>>=1;e<<=1}while(a<this.active().count()){var f=this.active().__inner[this.active().count()-1];this.active().removeAt(this.active().count()-1);if(this.disactivate()!=null){this.disactivate()(f)}if(this.inactive().count()<e){this.inactive().add(f)}else{if(this.destroy()!=null){this.destroy()(f)}}}if(e<this.inactive().count()){for(var g=e;g<this.inactive().count();++g){this.destroy()(this.inactive().__inner[g])}this.inactive().removeRange(e,this.inactive().count()-e)}return a}else{return this.active().count()}},_active:null,active:function(a){if(arguments.length===1){this._active=a;return a}else{return this._active}},_inactive:null,inactive:function(a){if(arguments.length===1){this._inactive=a;return a}else{return this._inactive}},doToAll:function(a){for(var b=0;b<this.inactive().count();b++){a(this.inactive().__inner[b])}for(var c=0;c<this.active().count();c++){a(this.active().__inner[c])}},$type:new $.ig.Type("Pool$1",$.ig.$ot,[$$t.$a7.$type.specialize(0)])},true);$c("IHashPool$2:a8","Object",{$type:new $.ig.Type("IHashPool$2",null,[$$t.$a6.$type.specialize(1)])},true);$c("HashPool$2:a9","Object",{$tKey:null,$tValue:null,_d:null,_b:null,init:function($tKey,$tValue){this.$tKey=$tKey;this.$tValue=$tValue;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tKey,this.$tValue)}$.ig.$op.init.call(this);this._d=new $$4.x(this.$tValue,0);this._b=new $$4.h(this.$tKey,this.$tValue,0)},_create:null,create:function(a){if(arguments.length===1){this._create=a;return a}else{return this._create}},_disactivate:null,disactivate:function(a){if(arguments.length===1){this._disactivate=a;return a}else{return this._disactivate}},_activate:null,activate:function(a){if(arguments.length===1){this._activate=a;return a}else{return this._activate}},_destroy:null,destroy:function(a){if(arguments.length===1){this._destroy=a;return a}else{return this._destroy}},item:function(a){var $self=this;var b;if(!function(){var c=$self._b.tryGetValue(a,b);b=c.p1;return c.ret}()){if(this._d.count()>0){b=this._d.__inner[this._d.count()-1];this._d.removeAt(this._d.count()-1)}else{b=this.create()()}if(this.activate()!=null){this.activate()(b)}this._b.item(a,b)}return b},activeKeys:function(){return this._b.keys()},isActiveKey:function(a){return this._b.containsKey(a)},remove:function(a){var $self=this;var b;if(function(){var c=$self._b.tryGetValue(a,b);b=c.p1;return c.ret}()){this._b.remove(a);if(this.disactivate()!=null){this.disactivate()(b)}this._d.add(b);var c=this._b.count();var d=2;while(c!=0){c>>=1;d<<=1}if(d<this._d.count()){for(var e=d;e<this._d.count();++e){this.destroy()(this._d.__inner[e])}this._d.removeRange(d,this._d.count()-d)}}},clear:function(){var a=new $$4.x(this.$tKey,0);var c=this._b.keys().getEnumerator();while(c.moveNext()){var b=c.current();a.add(b)}var e=a.getEnumerator();while(e.moveNext()){var d=e.current();this.remove(d)}},activeCount:function(){return this._b.count()},doToAll:function(a){for(var b=0;b<this._d.count();b++){a(this._d.__inner[b])}var d=this._b.values().getEnumerator();while(d.moveNext()){var c=d.current();a(c)}},$type:new $.ig.Type("HashPool$2",$.ig.$ot,[$$t.$a8.$type.specialize(0,1)])},true);$c("RearrangedList$1:ba","Object",{$t:null,b:null,a:null,init:function($t,a,b){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$.ig.$op.init.call(this);this.b=a;this.a=b},indexOf:function(a){var b=this.b.indexOf(a);if(b==-1){return-1}return this.a.indexOf(b)},insert:function(a,b){throw new $$6.q(0)},removeAt:function(a){throw new $$6.q(0)},item:function(a,b){if(arguments.length===2){return b}else{return this.b.item(this.a.item(a))}},add:function(a){throw new $$6.q(0)},clear:function(){this.a.clear()},contains:function(a){return this.b.contains(a)},copyTo:function(a,b){throw new $$6.q(0)},count:function(){return this.a.count()},isReadOnly:function(){return true},remove:function(a){throw new $$6.q(0)},getEnumerator:function(){var d__=new $$t.bb(this.$t,0);d__.__4__this=this;return d__},$type:new $.ig.Type("RearrangedList$1",$.ig.$ot,[$$0.$bz.$type.specialize(0)])},true);$c("RectUtil:bd","Object",{init:function(){$.ig.$op.init.call(this)},l:function(a){if(a.isEmpty()){return{__x:NaN,__y:NaN,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}return{__x:.5*(a.left()+a.right()),__y:.5*(a.bottom()+a.top()),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},e:function(a){if(a.isEmpty()){return 0}return a.width()*a.height()},p:function(a){if(a.isEmpty()){return a}return new $$a.ae(0,a.left(),a.top(),a.width(),a.height())},m:function(a,b){if(a.containsPoint(b)){return b}var c={__x:a.left()+.5*a.width(),__y:a.top()+.5*a.height(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var d={__x:b.__x-c.__x,__y:b.__y-c.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var e;if(d.__x!=0){e=(a.left()-c.__x)/d.__x;var f=c.__y+e*d.__y;if(f>a.top()&&f<a.bottom()){return e>0?{__x:a.left(),__y:f,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}:{__x:a.right(),__y:c.__y-e*d.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}}e=(a.top()-c.__y)/d.__y;var g=c.__x+e*d.__x;return e>0?{__x:g,__y:a.top(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}:{__x:c.__x-e*d.__x,__y:a.bottom(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},g:function(a,b){if(a.isEmpty()){return NaN}return $$t.$bd.f(a,b.__x,b.__y)},h:function(a,b){if(a.isEmpty()){return Number.POSITIVE_INFINITY}var c=$$t.$bd.f(a,b.left(),b.top());if(c>0){c=Math.min(c,$$t.$bd.f(a,b.left(),b.bottom()))}if(c>0){c=Math.min(c,$$t.$bd.f(a,b.right(),b.bottom()))}if(c>0){c=Math.min(c,$$t.$bd.f(a,b.right(),b.top()))}if(c>0){c=Math.min(c,$$t.$bd.f(b,a.left(),a.top()))}if(c>0){c=Math.min(c,$$t.$bd.f(b,a.left(),a.bottom()))}if(c>0){c=Math.min(c,$$t.$bd.f(b,a.right(),a.bottom()))}if(c>0){c=Math.min(c,$$t.$bd.f(b,a.right(),a.top()))}return c},f:function(a,b,c){var d=b-a.left();var e=c-a.top();var f=a.width()*d;var g=a.height()*e;if(f>0){var h=a.width()*a.width();if(f<h){d-=f/h*a.width()}else{d-=a.width()}}if(g>0){var i=a.height()*a.height();if(g<i){e-=g/i*a.height()}else{e-=a.height()}}return d*d+e*e},a:function(a,b){if(a.isEmpty()||b.isEmpty()){return false}if(a.left()>b.left()){return false}if(a.right()<b.right()){return false}if(a.top()>b.top()){return false}if(a.bottom()<b.bottom()){return false}return true},b:function(a,b){if(a.isEmpty()||b.isEmpty()){return false}if(a.right()<b.left()){return false}if(a.left()>b.right()){return false}if(a.top()>b.bottom()){return false}if(a.bottom()<b.top()){return false}return true},i:function(a,b){if(a.isEmpty()||b.isEmpty()){return 0}var c=Math.min(a.right(),b.right())-Math.max(a.left(),b.left());if(c<=0){return 0}var d=Math.min(a.bottom(),b.bottom())-Math.max(a.top(),b.top());if(d<=0){return 0}return c*d},q:function(a,b,c){if(a.isEmpty()){return a}return new $$a.ae(0,a.x()-b,a.y()-c,Math.max(0,a.width()+2*b),Math.max(0,a.height()+2*c))},t:function(a,b,c){a.x(a.x()-b);a.y(a.y()-c);var d=a.width()+2*b;var e=a.height()+2*c;a.width(d>1?d:1);a.height(e>1?e:1);return a},s:function(a,b,c){a.x(a.x()-b);a.y(a.y()-c);var d=a.width()+2*b;var e=a.height()+2*c;a.width(d>1?d:1);a.height(e>1?e:1);return a},r:function(a,b){var c=a.x()-b;var d=a.y()-b;var e=a.width()+b+b;var f=a.height()+b+b;var g=e>0?e:0;var h=f>0?f:0;return new $$a.ae(0,c,d,g,h)},y:function(a){a.x(Math.round(a.x()));a.y(Math.round(a.y()));a.width(Math.round(a.width()));a.height(Math.round(a.height()));return a},c:function(a){return a.x()==0&&a.y()==0&&a.width()==0&&a.height()==0},z:function(a){var b=new $$a.af(1,a.width(),a.height());return b},u:function(a,b){var c=$$t.$bd.v(a,$$t.$bd.z(b));return c},v:function(a,b){var c=a;c.x(a.x()/b.width());c.y(a.y()/b.height());c.width(a.width()/b.width());c.height(a.height()/b.height());return c},n:function(a){var b={__x:a.x(),__y:a.y(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};return b},o:function(a){var b={__x:a.x()+a.width(),__y:a.y(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};return b},j:function(a){var b={__x:a.x(),__y:a.y()+a.height(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};return b},k:function(a){var b={__x:a.x()+a.width(),__y:a.y()+a.height(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};return b},d:function(a){var b=function(){var $ret=new $$4.x($$a.$y.$type,0);$ret.add($$t.$bd.n(a));$ret.add($$t.$bd.o(a));$ret.add($$t.$bd.k(a));$ret.add($$t.$bd.j(a));return $ret}();return b},w:function(a,b){b=$$t.$az.a(b);if(b==0||b==180){return new $$a.ae(0,a.left(),a.top(),a.width(),a.height())}var c=$$t.$bd.l(a);if(b==90||b==270){var d=a.height()/2;var e=a.width()/2;return new $$a.ae(0,c.__x-d,c.__y-e,a.height(),a.width())}return $$t.$bd.x(a,c.__x,c.__y,b)},x:function(a,b,c,d){var e=$$t.$bd.d(a);var f=$$t.$a3.k(d);var g=Math.cos(f);var h=Math.sin(f);var i=1.7976931348623157e308;var j=1.7976931348623157e308;var k=-1.7976931348623157e308;var l=-1.7976931348623157e308;var m;for(var n=0;n<e.count();n++){m=e.__inner[n];var o=g*(m.__x-b)-h*(m.__y-c)+b;var p=h*(m.__x-b)+g*(m.__y-c)+c;i=Math.min(i,p);j=Math.min(j,o);k=Math.max(k,o);l=Math.max(l,p)}var q=new $$a.ae(0,j,i,k-j,l-i);return q},$type:new $.ig.Type("RectUtil",$.ig.$ot)},true);$c("StackPool$1:be","Object",{$t:null,init:function($t){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}this.e=false;$.ig.$op.init.call(this);this.g=new $$4.h(this.$t,$.ig.$op.$type,0);this.i=new $$4.aa(this.$t);this.h=new $$4.aa(this.$t)},a:function(){var a;if(this.i.count()!=0){a=this.i.pop()}else{a=this.h.count()!=0?this.h.pop():this._j();this._b(a)}this.g.add(a,null);return a},n:function(a){this.g.remove(a);if(this.f()){this.i.push(a)}else{this._c(a);var b=$$t.$be.m(this.$t,this.g.count());if(this.h.count()<b){this._d(a)}else{this.h.push(a)}}},f:function(a){if(arguments.length===1){if(this.e!=a){this.e=a;if(!this.e){var b=$$t.$be.m(this.$t,this.g.count());while(this.i.count()>0&&this.h.count()<=b){var c=this.i.pop();this._c(c);this.h.push(c)}while(this.i.count()>0){var d=this.i.pop();this._c(d);this._d(d)}while(this.h.count()>b){this._d(this.h.pop())}}}return a}else{return this.e}},e:false,k:function(){return this.g.count()},l:function(){return this.h.count()},_j:null,_c:null,_b:null,_d:null,m:function($t,a){var b=2;while(a>b){b=b<<1}return b},g:null,i:null,h:null,$type:new $.ig.Type("StackPool$1",$.ig.$ot)},true);$c("CanvasRenderScheduler:bf","Object",{init:function(){this.b=true;this.a=false;this.h=-1;$.ig.$op.init.call(this);this._f=new $$4.x($$t.$bm.$type,0);this._e=new $$4.x($$t.$bf.$type,0)},b:false,_f:null,_e:null,l:function(a){this.b=true;this._f.add(a)},r:function(a){this.b=true;this._f.remove(a)},p:function(){this.b=true;this.n()},d:function(){return this.a},a:false,h:0,g:null,j:function(a){var b=this.g;this.g=a;if(this.a&&this.g!=null&&b==null){this.g.setTimeout(this.k.runOn(this),0)}},n:function(){if(!this.a){this.a=true;if(this.g!=null){this.g.setTimeout(this.k.runOn(this),0)}else{window.setTimeout(this.k.runOn(this),0)}}},o:function(a,b){this.n()},i:function(){if(this.h!=-1){window.clearTimeout(this.h);this.h=-1}if(this.a){this.k()}},k:function(){this.h=-1;if(this.a){this.a=false;if(this._e.count()>0){for(var a=0;a<this._e.count();a++){this._e.__inner[a].i()}}if(this.b){this.q()}this.m()}},m:function(){if(this._c){return}var a=true;for(var b=0;b<this._f.count();b++){var c=this._f.__inner[b];c.preRender()}for(var d=0;d<this._f.count();d++){var e=this._f.__inner[d];e.undirty(a);a=false}for(var f=0;f<this._f.count();f++){var g=this._f.__inner[f];g.postRender()}},q:function(){this._f.sort2(function(a,b){var c=a;var d=b;if(c.index()<d.index()){return-1}if(c.index()>d.index()){return 1}return 0});this.b=false},_c:false,$type:new $.ig.Type("CanvasRenderScheduler",$.ig.$ot)},true);$c("CanvasViewRenderer:bg","Object",{init:function(){this.b=false;this.c=false;this.l="left";this.d=1;$.ig.$op.init.call(this)},i:null,getUnderlyingContext:function(){return this.i},data:function(a){if(arguments.length===1){this.i=a;return a}else{return this.i}},createGradient1:function(a,b,c,d,e,f,g){return $$t.$bg.createGradient(this.i,a,b,c,d,e,f,g)},createGradient:function(a,b,c,d,e,f,g,h){var i;if(b._useCustomDirection){var j,k,l,m,n;n=e-c;j=c+b._startX*n;l=c+b._endX*n;n=f-d;k=d+b._startY*n;m=d+b._endY*n;if(h){var o=g/2;j-=o;l+=o;k-=o;m+=o}i=a.createLinearGradient(j,k,l,m)}else{if(h){var p=g/2;c-=p;e+=p;d-=p;f+=p}i=a.createLinearGradient(c,d,c,f)}for(var q=0;q<b._gradientStops.length;q++){var r=b._gradientStops[q];i.addColorStop(r._offset,r.__fill)}return i},renderRectangle:function(a){if(a.__visibility!=0){return}var b=a._n;var c=a._o;var d=a.width();var e=a.height();var f=a.al();var g=a.am();this.i.beginPath();this.i.globalAlpha=a.__opacity*this.d;if(f>0||g>0){if(f>d/2){f=d/2}if(g>e/2){g=e/2}var h=Math.min(f,g);this.i.beginPath();this.i.moveTo(b+h,c);this.i.lineTo(b+d-h,c);this.i.arc(b+d-h,c+h,h,3/2*Math.PI,0,false);this.i.lineTo(b+d,c+e-h);this.i.arc(b+d-h,c+e-h,h,0,Math.PI/2,false);this.i.lineTo(b+h,c+e);this.i.arc(b+h,c+e-h,h,Math.PI/2,Math.PI,false);this.i.lineTo(b,c+h);this.i.arc(b+h,c+h,h,Math.PI,3/2*Math.PI,false);this.i.closePath()}else{this.i.rect(b,c,d,e)}var i=a.__fill;var j=a.__stroke;if(i!=null){if(i._isGradient&&c==c&&b==b){this.i.fillStyle=this.createGradient1(i,b,c,b+d,c+e,a._ac,false)}else{this.i.fillStyle=i.__fill}this.i.fill()}if(j!=null){if(j._isGradient&&c==c&&b==b){this.i.strokeStyle=this.createGradient1(j,b,c,b+d,c+e,a._ac,true)}else{this.i.strokeStyle=j.__fill}this.i.lineWidth=a._ac;this.i.stroke()}this.i.globalAlpha=1},g:0,e:0,h:0,f:0,b:false,c:false,renderPath:function(a){if(a.__visibility!=0){return}this.i.beginPath();if(a.__opacity<1||this.d<1){this.i.globalAlpha=a.__opacity*this.d}var b=a.__fill;var c=a.__stroke;this.b=b!=null&&b._isGradient||c!=null&&c._isGradient;if(this.b){this.e=-1.7976931348623157e308;this.f=-1.7976931348623157e308;this.g=1.7976931348623157e308;this.h=1.7976931348623157e308;this.c=false}this.renderGeometry(a._aj);if(b!=null){if(b._isGradient&&this.c){this.i.fillStyle=this.createGradient1(b,this.g,this.h,this.e,this.f,a._ac,false)}else{this.i.fillStyle=a.__fill.__fill}this.i.fill()}if(c!=null){if(c._isGradient&&this.c){this.i.strokeStyle=this.createGradient1(c,this.g,this.h,this.e,this.f,a._ac,true)}else{this.i.strokeStyle=a.__stroke.__fill}this.i.lineWidth=a._ac;if(a._ac>0){this.i.stroke()}}if(a.__opacity<1||this.d<1){this.i.globalAlpha=1}},renderGeometry:function(a){if(a==null){return}var b=a.a();switch(b){case 0:for(var c=0;c<a._c.count();c++){this.renderGeometry(a._c.__inner[c])}break;case 4:this.s(a);break;case 1:this.q(a);break;case 2:this.v(a);break;case 3:this.o(a);break}},o:function(a){this.i.moveTo(a._d.__x,a._d.__y-a._c);this.z={__x:a._d.__x,__y:a._d.__y-a._c,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var b=function(){var $ret=new $$a.bh;$ret._e={__x:a._d.__x,__y:a._d.__y+a._c,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};$ret._b=false;$ret._f=new $$a.af(1,a._b,a._c);return $ret}();var c=function(){var $ret=new $$a.bh;$ret._e={__x:a._d.__x,__y:a._d.__y-a._c,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};$ret._b=false;$ret._f=new $$a.af(1,a._b,a._c);return $ret}();var d=this.b;this.b=false;this.m(b);this.m(c);this.b=d;if(!this.b){return}var e=a._d.__x-a._b;var f=a._d.__y+a._b;var g=a._d.__x-a._c;var h=a._d.__y+a._c;var i=this.e;var j=this.f;var k=this.g;var l=this.h;this.g=e<k?e:k;this.h=g<l?g:l;this.e=f>i?f:i;this.f=h>j?h:j;this.c=true},s:function(a){var b=a._b;var c=b.count();for(var d=0;d<c;d++){this.p(b.__inner[d])}},p:function(a){var b=a==null?null:a.__startPoint;if($$a.$y.l_op_Equality(b,null)){return}var c=b.__x;var d=b.__y;this.i.moveTo(c,d);if(this.b){var e=this.e;var f=this.f;var g=this.g;var h=this.h;this.g=c<g?c:g;this.h=d<h?d:h;this.e=c>e?c:e;this.f=d>f?d:f;this.c=true}this.z=b;var i=a.__segments;var j=i.count();for(var k=0;k<j;k++){this.w(i.__inner[k])}if(a.__isClosed){this.i.closePath()}},w:function(a){var b=a.a();switch(b){case 0:this.r(a);break;case 3:this.u(a);break;case 4:this.m(a);break;case 1:this.n(a);break;case 2:this.t(a);break}},z:null,y:function(a,b,c,d,e,f,g,h){var i=1/50;var j;var k;var l;var m;var n;var o;var p;var q=this.g;var r=this.h;var s=this.e;var t=this.f;for(var u=0;u<=1;u+=i){j=1-u;k=j*j;l=k*j;m=u*u;n=m*u;o=l*a+3*k*u*c+3*j*m*e+n*g;p=l*b+3*k*u*d+3*j*m*f+n*h;q=o<q?o:q;r=p<r?p:r;s=o>s?o:s;t=p>t?p:t}this.g=q;this.h=r;this.e=s;this.f=t;this.c=true},n:function(a){this.i.bezierCurveTo(a.e().__x,a.e().__y,a.f().__x,a.f().__y,a.g().__x,a.g().__y);if(this.b){this.y(this.z.__x,this.z.__y,a.e().__x,a.e().__y,a.f().__x,a.f().__y,a.g().__x,a.g().__y)}},t:function(a){var b=0;var c=a._b.count();var d=a._b;var e=this.z;var f=this.z;var g=this.z;var h=this.b;while(b<c){if(b+1<c&&b+2<c){e=d.__inner[b];f=d.__inner[b+1];g=d.__inner[b+2];this.i.bezierCurveTo(e.__x,e.__y,f.__x,f.__y,g.__x,g.__y);if(h){this.y(this.z.__x,this.z.__y,e.__x,e.__y,f.__x,f.__y,g.__x,g.__y);this.z=g}}b=b+3}this.z=g},x:function(a,b,c,d,e){var f=new $$4.x($$a.$y.$type,0);f.add(a);f.add({__x:a.__x+Math.cos(b)*d,__y:a.__y+Math.sin(b)*d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});f.add({__x:a.__x+Math.cos(c)*d,__y:a.__y+Math.sin(c)*d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});var g=Math.PI*2;var h=Math.PI/2;var i=Math.PI;var j=Math.PI*3/2;while(b<0){b+=g}while(b>g){b-=g}while(c<0){c+=g}while(c>g){c-=g}if(e){if(0>c&&0<b||g>c&&g<b||b<c){f.add({__x:a.__x+Math.cos(0)*d,__y:a.__y+Math.sin(0)*d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})}if(h>c&&h<b){f.add({__x:a.__x+Math.cos(h)*d,__y:a.__y+Math.sin(h)*d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})}if(i>c&&i<b){f.add({__x:a.__x+Math.cos(i)*d,__y:a.__y+Math.sin(i)*d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})}if(j>c&&j<b){f.add({__x:a.__x+Math.cos(j)*d,__y:a.__y+Math.sin(j)*d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})}}else{if(0>b&&0<c||g>b&&g<c||c<b){f.add({__x:a.__x+Math.cos(0)*d,__y:a.__y+Math.sin(0)*d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})}if(h>b&&h<c){f.add({__x:a.__x+Math.cos(h)*d,__y:a.__y+Math.sin(h)*d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})}if(i>b&&i<c){f.add({__x:a.__x+Math.cos(i)*d,__y:a.__y+Math.sin(i)*d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})}if(j>b&&j<c){f.add({__x:a.__x+Math.cos(j)*d,__y:a.__y+Math.sin(j)*d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})}}var k=1.7976931348623157e308;var l=1.7976931348623157e308;var m=-1.7976931348623157e308;var n=-1.7976931348623157e308;for(var o=0;o<f.count();o++){var p=f.__inner[o];k=Math.min(k,p.__x);l=Math.min(l,p.__y);m=Math.max(m,p.__x);n=Math.max(n,p.__y)}this.g=Math.min(this.g,k);this.h=Math.min(this.h,l);this.e=Math.max(this.e,m);this.f=Math.max(this.f,n);this.c=true},m:function(a){var b=this.z;var c=a._e;if(a._f.width()!=a._f.height()){this.i.save();this.i.scale(a._f.width()/a._f.height(),1);b={__x:b.__x*(a._f.height()/a._f.width()),__y:b.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};c={__x:c.__x*(a._f.height()/a._f.width()),__y:c.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}var d=a._d==0;var e=$$t.$az.b(b,c,a._f.height(),d,a._b);var f=Math.atan2(b.__y-e.__y,b.__x-e.__x);var g=Math.atan2(c.__y-e.__y,c.__x-e.__x);var h=Math.abs(g-f)<Math.PI;if(a._b==h){if(f<g){f+=2*Math.PI}else{g+=2*Math.PI}}if(!$.ig.util.isNaN(e.__x)&&!$.ig.util.isNaN(e.__y)&&!$.ig.util.isNaN(a._f.height())&&!$.ig.util.isNaN(f)&&!$.ig.util.isNaN(g)){this.i.arc(e.__x,e.__y,a._f.height(),f,g,d);if(this.b){this.x(e,f,g,a._f.height(),d)}}this.z=a._e;if(a._f.width()!=a._f.height()){this.i.restore()}},r:function(a){var b=a.c().__x;var c=a.c().__y;this.i.lineTo(b,c);this.z=a.c();if(this.b){var d=this.e;var e=this.f;var f=this.g;var g=this.h;this.g=b<f?b:f;this.h=c<g?c:g;this.e=b>d?b:d;this.f=c>e?c:e;this.c=true}},u:function(a){var b=a.__points;var c=b.count();if(this.b){var d=this.g;var e=this.h;var f=this.e;var g=this.f;var h;var i;for(var j=0;j<c;j++){h=b.__inner[j].__x;i=b.__inner[j].__y;this.i.lineTo(h,i);d=h<d?h:d;e=i<e?i:e;f=h>f?h:f;g=i>g?i:g}this.g=d;this.h=e;this.e=f;this.f=g;this.c=true}else{for(var k=0;k<c;k++){this.i.lineTo(b.__inner[k].__x,b.__inner[k].__y)}}this.z=a.__points.__inner[c-1]},v:function(a){this.i.rect(a._d.left(),a._d.top(),a._d.width(),a._d.height());if(this.b){var b=a._d;var c=this.g;var d=this.h;var e=this.e;var f=this.f;var g=b.left();var h=b.right();var i=b.top();var j=b.bottom();this.g=g<c?g:c;this.h=i<d?i:d;this.e=h>e?h:e;this.f=j>f?j:f;this.c=true}},q:function(a){this.i.moveTo(a._c.__x,a._c.__y);this.i.lineTo(a._b.__x,a._b.__y);if(this.b){var b=a._c;var c=a._b;var d=this.g;var e=this.h;var f=this.e;var g=this.f;var h=b.__x<c.__x?b.__x:c.__x;var i=b.__x>c.__x?b.__x:c.__x;var j=b.__y<c.__y?b.__y:c.__y;var k=b.__y>c.__y?b.__y:c.__y;this.g=h<d?h:d;this.h=j<e?j:e;this.e=i>f?i:f;this.f=k>g?k:g;this.c=true}},l:null,renderTextBlock:function(a){if(a.__visibility==0&&a.ak()!=null){if(a.__opacity<1||this.d<1){this.i.globalAlpha=a.__opacity*this.d}this.i.textAlign=this.l;this.i.fillStyle=a._am!=null?a._am.__fill:null;this.i.textBaseline="top";this.i.fillText(a.ak(),a._n,a._o);if(a.__opacity<1||this.d<1){this.i.globalAlpha=1}}},renderTextBlockInRect:function(a,b,c){if(a.__visibility==0){if(a.__opacity<1||this.d<1){this.i.globalAlpha=a.__opacity*this.d}var d=b.left()+b.width()/2;var e=a.ak().split(" ");this.i.fillStyle=a._am.__fill;this.i.textBaseline="top";this.i.textAlign="center";var f=b.width();var g=b.height();var h=b.top();var i="";for(var j=0;j<e.length;j++){var k=i+e[j];var l=this.i.measureText(k);if(l.width>f){if(i!=null){this.i.fillText(i,d,h)}i="";h=h+c}i=i+e[j]+" "}if(i!=null){this.i.fillText(i,d,h)}if(a.__opacity<1||this.d<1){this.i.globalAlpha=1}}},renderPolygon:function(a){if(a._aj==null||a._aj.count()<1){return}this.i.beginPath();this.i.globalAlpha=a.__opacity*this.d;var b=a._aj;var c=b.__inner[0];var d=a.__fill;var e=a.__stroke;this.b=d!=null&&d._isGradient||e!=null&&e._isGradient;if(this.b){var f=1.7976931348623157e308;var g=-1.7976931348623157e308;var h=1.7976931348623157e308;var i=-1.7976931348623157e308;var j=c.__x;var k=c.__y;f=j<f?j:f;h=k<h?k:h;g=j>g?j:g;i=k>i?k:i;this.i.moveTo(j,k);for(var l=1;l<b.count();l++){j=b.__inner[l].__x;k=b.__inner[l].__y;this.i.lineTo(j,k);f=j<f?j:f;h=k<h?k:h;g=j>g?j:g;i=k>i?k:i}this.i.closePath();this.g=f;this.h=h;this.e=g;this.f=i}else{this.i.moveTo(c.__x,c.__y);for(var m=1;m<b.count();m++){this.i.lineTo(b.__inner[m].__x,b.__inner[m].__y)}this.i.closePath()}if(d!=null){if(d._isGradient){this.i.fillStyle=this.createGradient1(d,this.g,this.h,this.e,this.f,a._ac,false)}else{this.i.fillStyle=d.__fill}this.i.fill()}if(e!=null){if(e._isGradient){this.i.strokeStyle=this.createGradient1(e,this.g,this.h,this.e,this.f,a._ac,true)}else{this.i.strokeStyle=e.__fill}this.i.lineWidth=a._ac;this.i.stroke()}this.i.globalAlpha=1},renderPolyline:function(a){if(a._aj==null||a._aj.count()<1){return}this.i.beginPath();this.i.globalAlpha=a.__opacity*this.d;var b=a._aj;var c=b.__inner[0];var d=a.__fill;var e=a.__stroke;this.b=d!=null&&d._isGradient||e!=null&&e._isGradient;if(this.b){var f=1.7976931348623157e308;var g=-1.7976931348623157e308;var h=1.7976931348623157e308;var i=-1.7976931348623157e308;var j=c.__x;var k=c.__y;f=j<f?j:f;h=k<h?k:h;g=j>g?j:g;i=k>i?k:i;this.i.moveTo(j,k);for(var l=1;l<b.count();l++){j=b.__inner[l].__x;k=b.__inner[l].__y;this.i.lineTo(j,k);f=j<f?j:f;h=k<h?k:h;g=j>g?j:g;i=k>i?k:i}this.g=f;this.h=h;this.e=g;this.f=i}else{this.i.moveTo(c.__x,c.__y);for(var m=1;m<b.count();m++){this.i.lineTo(b.__inner[m].__x,b.__inner[m].__y)}}if(d!=null){if(d._isGradient){this.i.fillStyle=this.createGradient1(d,this.g,this.h,this.e,this.f,a._ac,false);
}else{this.i.fillStyle=d.__fill}this.i.fill()}if(e!=null){if(e._isGradient){this.i.strokeStyle=this.createGradient1(e,this.g,this.h,this.e,this.f,a._ac,true)}else{this.i.strokeStyle=e.__fill}this.i.lineWidth=a._ac;this.i.stroke()}this.i.globalAlpha=1},renderContentControl:function(a,b){if(b.__visibility==1){return}if((b.__opacity!=1||this.d!=1)&&!a.isHitTestRender){this.i.globalAlpha=b.__opacity*this.d}var c=b._ah;if(c!=null&&c.render()!=null){a.context=this.i;a.xPosition=b._n;a.yPosition=b._o;a.data=b.content();c.render()(a)}this.i.globalAlpha=1},applyTransform:function(a){if($b($$a.$bp.$type,a)!==null){var b=a;for(var c=b._j.count()-1;c>=0;c--){var d=b._j.__inner[c];this.applyTransform(d)}}else if($b($$a.$bn.$type,a)!==null){var e=a;this.i.translate(e._j,e._k)}else if($b($$a.$bm.$type,a)!==null){var f=a;var g=f._j*Math.PI/180;var h=Math.cos(g);var i=Math.sin(g);var j=f._k*(1-h)+f._l*i;var k=f._l*(1-h)-f._k*i;this.i.transform(h,i,i*-1,h,j,k)}else if($b($$a.$bo.$type,a)!==null){var l=a;this.i.transform(l._l,0,0,l._m,l._j-l._l*l._j,l._k-l._m*l._k)}},renderLine:function(a){if(a.__visibility!=0){return}this.i.beginPath();this.i.globalAlpha=a.__opacity*this.d;this.i.moveTo(a._aj,a._al);this.i.lineTo(a._ak,a._am);if(this.b){this.g=1.7976931348623157e308;this.e=-1.7976931348623157e308;this.h=1.7976931348623157e308;this.f=-1.7976931348623157e308;var b=this.g;var c=this.h;var d=this.e;var e=this.f;var f=a._aj<a._ak?a._aj:a._ak;var g=a._aj>a._ak?a._aj:a._ak;var h=a._al<a._am?a._al:a._am;var i=a._al>a._am?a._al:a._am;this.g=f<b?f:b;this.h=h<c?h:c;this.e=g>d?g:d;this.f=i>e?i:e}var j=a.__fill;var k=a.__stroke;if(j!=null){if(j._isGradient){this.i.fillStyle=this.createGradient1(j,this.g,this.h,this.e,this.e,a._ac,false)}else{this.i.fillStyle=j.__fill}this.i.fill()}if(k!=null){if(k._isGradient){this.i.strokeStyle=this.createGradient1(k,this.g,this.h,this.e,this.e,a._ac,true)}else{this.i.strokeStyle=a.__stroke.__fill}this.i.lineWidth=a._ac;this.i.stroke()}this.i.globalAlpha=1},setRectangleClip:function(a){this.i.beginPath();this.i.rect(a.left(),a.top(),a.width(),a.height());this.i.clip()},save:function(){this.i.save()},restore:function(){this.i.restore()},scale:function(a,b){this.i.scale(a,b)},translate:function(a,b){this.i.translate(a,b)},clearRectangle:function(a,b,c,d){this.i.clearRect(a,b,c,d)},drawImage:function(a,b,c,d,e,f){if(b!=1){this.i.globalAlpha=b*this.d}this.i.drawImage(a,c,d,e,f);if(b!=1){this.i.globalAlpha=1}},drawImage1:function(a,b,c,d,e,f,g,h,i,j){if(b!=1){this.i.globalAlpha=b*this.d}this.i.drawImage(a,c,d,e,f,g,h,i,j);if(b!=1){this.i.globalAlpha=1}},getPixelAt:function(a,b){var c=this.i.getImageData(a,b,1,1);var d=new Array(4);d[0]=c.data[0];d[1]=c.data[1];d[2]=c.data[2];d[3]=c.data[3];return d},getFont:function(){return this.i.font},getFontInfo:function(){return this.a},setFont:function(a){if(this.i.font!=a){this.i.font=a}},a:null,setFontInfo:function(a){this.a=a;var b=a!=null?a.fontString():null;if(this.i.font!=b){this.i.font=b}},measureTextWidth:function(a){var b=this.i.measureText(a);return b.width},d:0,setOpacity:function(a){this.d=a},applyStyle:function(shape_,style_){if(style_==null){return}var fillColor_=null;var strokeColor_=null;var strokeThickness_=NaN;var opacity_=NaN;fillColor_=style_.fill;strokeColor_=style_.stroke;strokeThickness_=style_.strokeThickness;opacity_=style_.opacity;if(fillColor_!=null){shape_.__fill=function(){var $ret=new $$a.at;$ret.fill(fillColor_);return $ret}()}if(strokeColor_!=null){shape_.__stroke=function(){var $ret=new $$a.at;$ret.fill(strokeColor_);return $ret}()}if(strokeThickness_!=window.undefined&&!$.ig.util.isNaN(strokeThickness_)){shape_._ac=strokeThickness_}if(!$.ig.util.isNaN(opacity_)){shape_.__opacity=opacity_}},enableDropShadow:function(a,b,c,d){this.i.shadowColor=a;this.i.shadowBlur=b;this.i.shadowOffsetX=c;this.i.shadowOffsetY=d},disableDropShadow:function(){this.i.shadowColor="rgba(0,0,0,0)";this.i.shadowBlur=0;this.i.shadowOffsetX=0;this.i.shadowOffsetY=0},$type:new $.ig.Type("CanvasViewRenderer",$.ig.$ot,[$$t.$s.$type])},true);$c("DependencyObjectNotifier:bh","DependencyObject",{init:function(){$$a.$r.init.call(this)},j:function(a){if(this.propertyChanged!=null){this.propertyChanged(this,new $$0.b7(a))}},propertyChanged:null,$type:new $.ig.Type("DependencyObjectNotifier",$$a.$r.$type,[$$0.$b6.$type])},true);$c("IOverviewPlusDetailControl:bi","Object",{$type:new $.ig.Type("IOverviewPlusDetailControl",null)},true);$c("IOverviewPlusDetailPane:bj","Object",{$type:new $.ig.Type("IOverviewPlusDetailPane",null)},true);$c("PropertyChangedEventArgs$1:bk","PropertyChangedEventArgs",{$t:null,init:function($t,a,b,c){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$$0.$b7.init.call(this,a);this.oldValue(b);this.newValue(c)},_oldValue:null,oldValue:function(a){if(arguments.length===1){this._oldValue=a;return a}else{return this._oldValue}},_newValue:null,newValue:function(a){if(arguments.length===1){this._newValue=a;return a}else{return this._newValue}},$type:new $.ig.Type("PropertyChangedEventArgs$1",$$0.$b7.$type)},true);$c("IExecutionContext:b1","Object",{$type:new $.ig.Type("IExecutionContext",null)},true);$c("DOMExecutionContext:bl","Object",{init:function(a){$.ig.$op.init.call(this);this.b=a;this.requestAnimationFrame(a.getRequestAnimationFrame());this.c=$$0.$s.now().getTime()},c:0,b:null,_requestAnimationFrame:null,requestAnimationFrame:function(a){if(arguments.length===1){this._requestAnimationFrame=a;return a}else{return this._requestAnimationFrame}},execute:function(a){a()},enqueueAction:function(a){this.b.setTimeout(a,0)},enqueueAnimationAction:function(a){this.requestAnimationFrame()(a)},executeDelayed:function(a,b){this.b.setTimeout(a,b)},getCurrentRelativeTime:function(){return $$0.$s.now().getTime()-this.c},$type:new $.ig.Type("DOMExecutionContext",$.ig.$ot,[$$t.$b1.$type])},true);$c("ISchedulableRender:bm","Object",{$type:new $.ig.Type("ISchedulableRender",null)},true);$c("EventProxy:bn","Object",{init:function(){this.y=false;$.ig.$op.init.call(this)},onMouseWheel:null,onPinchStarted:null,onPinchDelta:null,onGestureCompleted:null,onZoomStarted:null,onZoomDelta:null,onZoomCompleted:null,onFlingStarted:null,onContactStarted:null,onDragStarted:null,onContactMoved:null,onDragDelta:null,onContactCompleted:null,onDragCompleted:null,onMouseLeave:null,onMouseOver:null,onMouseEnter:null,onMouseDown:null,onMouseUp:null,onDoubleTap:null,onHold:null,onKeyDown:null,onKeyUp:null,bb:function(a){},_bc:null,_a9:0,_ag:false,_ai:null,_ak:null,aa:function(a,b,c){if(this._ak!=null){return this._ak(a,b,c)}return this._ai(a)},d:function(){},an:function(){},ah:function(){return false},_al:null,af:function(a,b){if(this.onMouseWheel!=null&&!this.ab()){return this.onMouseWheel(a,b)}return false},a4:function(a,b){if(this.onPinchStarted!=null&&!this.ab()){this.onPinchStarted(a,b)}},a7:function(a,b,c,d){if(this.onZoomStarted!=null&&!this.ab()){this.onZoomStarted(a,b,c,d)}},ac:function(a,b,c){if(this.onFlingStarted!=null&&!this.ab()){return this.onFlingStarted(a,b,c)}return true},a3:function(a,b){if(this.onPinchDelta!=null&&!this.ab()){this.onPinchDelta(a,b)}},a6:function(a,b,c,d){if(this.onZoomDelta!=null&&!this.ab()){this.onZoomDelta(a,b,c,d)}},a5:function(a,b,c,d){if(this.onZoomCompleted!=null&&!this.ab()){this.onZoomCompleted(a,b,c,d)}},aw:function(a,b){if(this.onGestureCompleted!=null&&!this.ab()){this.onGestureCompleted(a,b)}},ar:function(a,b){if(this.onContactStarted!=null&&!this.ab()){this.onContactStarted(a,b)}},av:function(a){if(this.onDragStarted!=null&&!this.ab()){this.onDragStarted(a)}},aq:function(a,b){if(this.onContactMoved!=null&&!this.ab()){this.onContactMoved(a,b)}},au:function(a){if(this.onDragDelta!=null&&!this.ab()){this.onDragDelta(a)}},ap:function(a,b){if(this.onContactCompleted!=null&&!this.ab()){this.onContactCompleted(a,b)}},at:function(a){if(this.onDragCompleted!=null&&!this.ab()){this.onDragCompleted(a)}},a0:function(a){if(this.onMouseLeave!=null&&!this.ab()){this.onMouseLeave(a)}},a1:function(a,b,c){if(this.onMouseOver!=null&&!this.ab()){this.onMouseOver(a,b,c)}},az:function(a){if(this.onMouseEnter!=null&&!this.ab()){this.onMouseEnter(a)}},ay:function(a){if(this.onMouseDown!=null&&!this.ab()){this.onMouseDown(a)}},a2:function(a){if(this.onMouseUp!=null&&!this.ab()){this.onMouseUp(a)}},ad:function(a){if(this.onKeyDown!=null&&!this.ab()){return this.onKeyDown(a)}return false},ae:function(a){if(this.onKeyUp!=null&&!this.ab()){return this.onKeyUp(a)}return false},as:function(a){if(this.onDoubleTap!=null&&!this.ab()){this.onDoubleTap(a)}},ax:function(a){if(this.onHold!=null&&!this.ab()){this.onHold(a)}},ba:function(){},y:false,ab:function(a){if(arguments.length===1){this.y=a;this.ao();return a}else{return this.y}},_z:false,_aj:null,ao:function(){},am:function(a,b){},a8:function(a,b){},$type:new $.ig.Type("EventProxy",$.ig.$ot)},true);$c("DVContainer:bx","Object",{d:null,instance:function(){if($$t.$bx.a==null){$$t.$bx.a=new $$t.bx}return $$t.$bx.a},init:function(){this.d=new $$4.h(String,$$0.$y.$type.specialize($.ig.$op.$type),0);$.ig.$op.init.call(this)},registerFactory:function(a,b){this.d.add(a.typeName(),b)},createInstance:function(a,b){if(this.d.containsKey(a.typeName())){return this.d.item(a.typeName())()}throw new $$0.n(1,b())},registerIfLoaded:function(typeName_){if($ig[typeName_]!==undefined&&$ig[typeName_].prototype.register!==undefined){$ig[typeName_].prototype.register()}},checkLoaded:function(typeName_){if($ig[typeName_]!==undefined&&$ig[typeName_].prototype.register!==undefined){return true}return false},$type:new $.ig.Type("DVContainer",$.ig.$ot)},true);$c("ArrayAccessHelper:bz","Object",{init:function(){$.ig.$op.init.call(this)},b:function(values_){var a=Array.isArray(values_)?values_:null;return a},c:function(values_){var a=Array.isArray(values_)?values_:null;return a},a:function(a){if($b($$4.$x.$type.specialize(Array),a)!==null){return a.asArray()}return null},$type:new $.ig.Type("ArrayAccessHelper",$.ig.$ot)},true);$c("InterpolationUtil:b0","Object",{init:function(){$.ig.$op.init.call(this)},a:function(a,b,c,d){var e=1-b;if(a==null){a=new $$4.x($$a.$y.$type,0)}if(c==null){c=new $$4.x($$a.$y.$type,0)}var f=c.count();var g=d.count();var h=Math.max(f,g);var i=a.count();if(i<h){a.insertRange(i,new Array(h-i))}if(i>h){a.removeRange(h,i-h)}for(var j=0;j<Math.min(f,g);++j){a.__inner[j]={__x:c.__inner[j].__x*e+d.__inner[j].__x*b,__y:c.__inner[j].__y*e+d.__inner[j].__y*b,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}if(f<g){var k=f>0?c.__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 l=f;l<g;++l){a.__inner[l]={__x:k.__x*e+d.__inner[l].__x*b,__y:k.__y*e+d.__inner[l].__y*b,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}}if(f>g){var m=g>0?d.__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 n=g;n<f;++n){a.__inner[n]=a.__inner[n]={__x:c.__inner[n].__x*e+m.__x*b,__y:c.__inner[n].__y*e+m.__y*b,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}}return a},b:function($t,a,b,c,d,e,f){var g=1-b;if(a==null){a=new $$4.x($t,0)}if(c==null){c=new $$4.x($t,0)}var h=c.count();var i=d.count();var j=Math.max(h,i);if(a.count()<j){var k=j-a.count();var l=new Array(k);a.insertRange(a.count(),l)}if(a.count()>j){a.removeRange(j,a.count()-j)}for(var m=0;m<Math.min(h,i);++m){a.__inner[m]=f(b,g,c.__inner[m],d.__inner[m])}if(h<i){var n=h>0?c.__inner[h-1]:e();for(var o=h;o<i;++o){a.__inner[o]=f(b,g,n,d.__inner[o])}}if(h>i){var p=i>0?d.__inner[i-1]:e();for(var q=i;q<h;++q){a.__inner[q]=f(b,g,c.__inner[q],p)}}return a},$type:new $.ig.Type("InterpolationUtil",$.ig.$ot)},true);$c("SyncableObservableCollection$2:b4","Object",{$t1:null,$t2:null,a:null,syncTarget:function(a){if(arguments.length===1){var b=this.a;this.a=a;this.aa(b,this.a);return a}else{return this.a}},_compare:null,compare:function(a){if(arguments.length===1){this._compare=a;return a}else{return this._compare}},_createTo:null,createTo:function(a){if(arguments.length===1){this._createTo=a;return a}else{return this._createTo}},_createFrom:null,createFrom:function(a){if(arguments.length===1){this._createFrom=a;return a}else{return this._createFrom}},aa:function(a,b){if(a!=null){a.removeListener(this.ai.runOn(this))}this.af();if(b!=null){b.addListener(this.ai.runOn(this))}},af:function(){if(this.a==null){return}this.h=true;var a=new $$4.x(this.$t1,0);var b=new $$4.q(this.$t1,0);for(var c=0;c<this.all().count();c++){if(!b.contains(this.all().item(c))){a.add(this.all().item(c));b.add(this.all().item(c))}}for(var d=0;d<this.a.all().count();d++){if(!this.k(b,this.a.all().item(d))){var e=this.createFrom()(this.a.all().item(d));a.add(e);b.add(e)}}this.ag(a,this.all());this.ah(a,this.a.all());this.h=false},k:function(a,b){if(this.compare()==null){throw new $$6.p(1,"SyncableObservableCollection has no Compare function provided.")}var d=a.getEnumerator();while(d.moveNext()){var c=d.current();if(this.compare()(c,b)){return true}}return false},ag:function(a,b){var c=new $$4.x($$0.$aw.$type,0);var d=0;for(var e=0;e<b.count();e++){if($e(this.$t1,b.item(e))==null){c.add(e);continue}if(d>a.count()-1){c.add(e);continue}if(b.item(e).equals($e(this.$t1,a.__inner[d]))){d++;continue}b.insert(e,a.__inner[d]);d++}for(var f=c.count()-1;f>=0;f--){b.removeAt(f)}for(;d<a.count();d++){b.add(a.__inner[d])}},ah:function(a,b){var c=new $$4.x($$0.$aw.$type,0);var d=0;for(var e=0;e<b.count();e++){if($e(this.$t2,b.item(e))==null){c.add(e);continue}if(d>a.count()-1){c.add(e);continue}if(b.item(e).equals($e(this.$t1,a.__inner[d]))){d++;continue}b.insert(e,this.createTo()(a.__inner[d]));d++}for(var f=c.count()-1;f>=0;f--){b.removeAt(f)}for(;d<a.count();d++){b.add(this.createTo()(a.__inner[d]))}},ai:function(a,b){if(this.a==null){return}if(this.h){return}if(this.g){return}var c=this.a.all();this.i=true;this.ae(this.$t1,this.$t2,b,this.all(),c);this.i=false},z:function(a){},ad:function(a,b){this.z(b);if(this.a==null){return}if(this.h){return}if(this.i){return}var c=this.a.all();this.g=true;this.ae(this.$t2,this.$t1,b,c,this.all());this.g=false},ae:function($t,$f,a,b,c){switch(a.action()){case 0:if(a.newItems()!=null){for(var d=0;d<a.newItems().count();d++){var e=a.newItems().item(d);if($f!=$t){if($f==this.$t1){e=$e(this.$t2,this.createTo()($v(this.$t1,a.newItems().item(d))))}if($f==this.$t2){e=$e(this.$t1,this.createFrom()($v(this.$t2,a.newItems().item(d))))}}b.insert(d+a.newStartingIndex(),$v($t,e))}}break;case 1:if(a.oldItems()!=null){for(var f=0;f<a.oldItems().count();f++){b.removeAt(a.oldStartingIndex())}}break;case 2:if(a.oldItems()!=null){for(var g=0;g<a.oldItems().count();g++){b.removeAt(a.oldStartingIndex())}}if(a.newItems()!=null){for(var h=0;h<a.newItems().count();h++){var i=a.newItems().item(h);if($f!=$t){if($f==this.$t1){i=$e(this.$t2,this.createTo()($v(this.$t1,a.newItems().item(h))))}if($f==this.$t2){i=$e(this.$t1,this.createFrom()($v(this.$t2,a.newItems().item(h))))}}b.insert(h+a.newStartingIndex(),$v($t,a.newItems().item(h)))}}break;case 4:b.clear();var k=c.getEnumerator();while(k.moveNext()){var j=k.current();var l=$e($f,j);if($f!=$t){if($f==this.$t1){l=$e(this.$t2,this.createTo()($v(this.$t1,l)))}if($f==this.$t2){l=$e(this.$t1,this.createFrom()($v(this.$t2,l)))}}b.add($v($t,l))}break}},h:false,i:false,g:false,__inner:null,init:function($t1,$t2,a){this.$t1=$t1;this.$t2=$t2;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t1,this.$t2)}if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}this.n=new $$4.x($$t.$b5.$type,0);$.ig.$op.init.call(this);this.__inner=new $$4.f(this.$t1,0);this.addListener(this.ad.runOn(this));var b=this.__inner;b.collectionChanged=$.ig.Delegate.prototype.combine(b.collectionChanged,this.u.runOn(this))},u:function(a,b){if(this._onChanged()!=null){this._onChanged()()}var d=this.n.getEnumerator();while(d.moveNext()){var c=d.current();c.onChanged(this)}},init1:function($t1,$t2,a,b){this.$t1=$t1;this.$t2=$t2;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t1,this.$t2)}this.n=new $$4.x($$t.$b5.$type,0);$.ig.$op.init.call(this);this.__inner=b},add:function(a){this.__inner.add(a);return true},add1:function(a,b){this.__inner.insert(a,b)},clear:function(){this.__inner.clear()},get:function(a){return this.__inner.__inner[a]},indexOf:function(a){return this.__inner.indexOf(a)},remove1:function(a){var b=this.__inner.contains(a);this.__inner.remove(a);return b},remove:function(a){var b=this.__inner.__inner[a];this.__inner.removeAt(a);return b},set:function(a,b){this.__inner.item(a,b);return b},size:function(){return this.__inner.count()},n:null,addChangedListener:function(a){this.n.add(a)},removeChangedListener:function(a){this.n.remove(a)},addListener:function(a){var b=this.__inner;b.collectionChanged=$.ig.Delegate.prototype.combine(b.collectionChanged,a)},removeListener:function(a){var b=this.__inner;b.collectionChanged=$.ig.Delegate.prototype.remove(b.collectionChanged,a)},__onChanged:null,_onChanged:function(a){if(arguments.length===1){this.__onChanged=a;return a}else{return this.__onChanged}},all:function(){return this.__inner},$type:new $.ig.Type("SyncableObservableCollection$2",$.ig.$ot)},true);$c("SyncableObservableCollection$1:b3","SyncableObservableCollection$2",{$t:null,init:function($t){var $self=this;this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$$t.$b4.init.call(this,this.$t,this.$t,0);this.compare(function(a,b){return a.equals($e($self.$t,b))});this.createFrom(function(a){return a});this.createTo(function(a){return a})},$type:new $.ig.Type("SyncableObservableCollection$1",$$t.$b4.$type.specialize(0,0))},true);$c("SyncableObservableCollectionChangedListener:b5","Object",{$type:new $.ig.Type("SyncableObservableCollectionChangedListener",null)},true);$c("LegendItemHelper:b7","Object",{init:function(){$.ig.$op.init.call(this)},b:function(a){if(arguments.length===1){$$t.$b7.a=a;return a}else{if($.ig.util.isNaN($$t.$b7.a)){$$t.$b7.a=window.devicePixelRatio==window.undefined?1:window.devicePixelRatio}return $$t.$b7.a}},c:function(a,b,c,d,e,f,g,h,i){$$t.$b7.d(a,b,c,d,e,f,g,h,i,false,[])},d:function(a,b,c,d,e,f,g,h,i,j,k){var l=a;var m=f;if(m!=null&&m.series()!=null){if(h!=null){var n=18,o=16;var p=l.createElement("canvas");if(j){p.setStyleProperty("vertical-align","middle")}p.setAttribute("width",(n*$$t.$b7.b()).toString());p.setAttribute("height",(o*$$t.$b7.b()).toString());p.setStyleProperty("width",n.toString()+"px");p.setStyleProperty("height",o.toString()+"px");var q=j?l.createElement("span"):l.createElement("td");q.addClass("ui-legend-item-badge");q.append(p);var r=l.get2DCanvasContext(p);var s=new $$a.m;s.passInfo=i;s.context=r;s.width=n;s.height=o;s.data=m;h.measure()(s);var t=new $$a.n;t.availableWidth=$.ig.util.isNaN(s.width)?n:Math.min(s.width,n);t.availableHeight=$.ig.util.isNaN(s.height)?o:Math.min(s.height,o);t.passInfo=i;t.context=r;t.data=m;t.xPosition=0;t.yPosition=0;if($$t.$b7.b()!=1){r.save();r.scale($$t.$b7.b(),$$t.$b7.b())}h.render()(t);if($$t.$b7.b()!=1){r.restore()}l.append(q)}if(j){var u=l.createElement("label");u.addClass("ui-legend-item-text");u.setText(g);l.append(u);var v=k[0];var w=k[1];var x=m.series().getType().typeName().endsWith("Overlay");if(!$.ig.util.isNaN(v)&&!x){u.setText(u.getText()+": ");var y=l.createElement("label");y.setStyleProperty("font-weight","bold");y.setText($0(v,"0.00",null)+($.ig.util.isNaN(w)?"":" "));l.append(y)}if(!$.ig.util.isNaN(w)&&!x){var z=l.createElement("label");z.setText("("+$0(w,"0.00",null)+"%)");l.append(z)}}else{var aa=l.createElement("td");var ab=l.createElement("span");ab.setText(g);aa.append(ab);aa.addClass("ui-legend-item-text");l.append(aa)}}},$type:new $.ig.Type("LegendItemHelper",$.ig.$ot)},true);$c("ILegendContext:cm","Object",{$type:new $.ig.Type("ILegendContext",null)},true);$c("DataContext:b8","Object",{init:function(){this.h=null;this.j=null;this.d=null;this.i=null;this.a=0;this.e=null;$.ig.$op.init.call(this)},_series:null,series:function(a){if(arguments.length===1){this._series=a;return a}else{return this._series}},c:null,item:function(a){if(arguments.length===1){if(a!=this.c){this.c=a;this.g("Item")}return a}else{return this.c}},h:null,actualItemBrush:function(a){if(arguments.length===1){if(a!=this.h){this.h=a;this.g("ActualItemBrush")}return a}else{return this.h}},j:null,outline:function(a){if(arguments.length===1){if(a!=this.j){this.j=a;this.g("Outline")}return a}else{return this.j}},d:null,itemLabel:function(a){if(arguments.length===1){if(a!=this.d){this.d=a;this.g("ItemLabel")}return a}else{return this.d}},i:null,itemBrush:function(a){if(arguments.length===1){if(a!=this.i){this.i=a;this.g("ItemBrush")}return a}else{return this.i}},a:0,thickness:function(a){if(arguments.length===1){if(a!=this.a){this.a=a;this.g("Thickness")}return a}else{return this.a}},e:null,legendLabel:function(a){if(arguments.length===1){if(a!=this.e){this.e=a;this.g("LegendLabel")}return a}else{return this.e}},propertyChanged:null,g:function(a){if(this.propertyChanged!=null){this.propertyChanged(this,new $$0.b7(a))}},flatten:function(){var series_=this.series();var item_=this.item();var actualItemBrush_=this.actualItemBrush();var outline_=this.outline();var itemLabel_=this.itemLabel();var itemBrush_=this.itemBrush();var thickness_=this.thickness();return{item:item_,itemBrush:actualItemBrush_,outline:outline_,itemLabel:itemLabel_,thickness:thickness_}},$type:new $.ig.Type("DataContext",$.ig.$ot,[$$t.$cm.$type,$$0.$b6.$type])},true);$c("TrendCalculators:b9","Object",{init:function(){$.ig.$op.init.call(this)},g:function(a,b){var d__=new $$t.ca((-2));d__.__3__sequence=a;d__.__3__period=b;return d__},b:function(a,b){var d__=new $$t.cb((-2));d__.__3__sequence=a;d__.__3__period=b;return d__},c:function(a,b){var d__=new $$t.cc((-2));d__.__3__sequence=a;d__.__3__period=b;return d__},a:function(a){var d__=new $$t.cd((-2));d__.__3__sequence=a;return d__},e:function(a,b){var d__=new $$t.ce((-2));d__.__3__sequence=a;d__.__3__period=b;return d__},d:function(a,b){var d__=new $$t.cf((-2));d__.__3__sequence=a;d__.__3__period=b;return d__},f:function(a,b){var d__=new $$t.cg((-2));d__.__3__sequence=a;d__.__3__period=b;return d__},$type:new $.ig.Type("TrendCalculators",$.ig.$ot)},true);$c("IUnknownValuePlotting:cj","Object",{$type:new $.ig.Type("IUnknownValuePlotting",null)},true);$c("PropertyUpdatedEventArgs:ck","EventArgs",{init:function(a,b,c){$$0.$w.init.call(this);this.propertyName(a);this.oldValue(b);this.newValue(c)},_propertyName:null,propertyName:function(a){if(arguments.length===1){this._propertyName=a;return a}else{return this._propertyName}},_oldValue:null,oldValue:function(a){if(arguments.length===1){this._oldValue=a;return a}else{return this._oldValue}},_newValue:null,newValue:function(a){if(arguments.length===1){this._newValue=a;return a}else{return this._newValue}},$type:new $.ig.Type("PropertyUpdatedEventArgs",$$0.$w.$type)},true);$c("ILegendSeries:cn","Object",{$type:new $.ig.Type("ILegendSeries",null)},true);$c("IScaleLegendSeries:cq","Object",{$type:new $.ig.Type("IScaleLegendSeries",null,[$$t.$cn.$type])},true);$c("ILegendOwner:cr","Object",{$type:new $.ig.Type("ILegendOwner",null)},true);$c("IInternalLegendOwner:cs","Object",{$type:new $.ig.Type("IInternalLegendOwner",null)},true);$c("ILegendTemplateProvider:ct","Object",{$type:new $.ig.Type("ILegendTemplateProvider",null)},true);$c("IChartLegend:cu","Object",{$type:new $.ig.Type("IChartLegend",null)},true);$c("IChartItemLegend:cv","Object",{$type:new $.ig.Type("IChartItemLegend",null,[$$t.$cu.$type])},true);$c("IChartScaleLegend:cw","Object",{$type:new $.ig.Type("IChartScaleLegend",null,[$$t.$cu.$type])},true);$c("Numeric:cy","Object",{init:function(){$.ig.$op.init.call(this)},e:function(a,b,c,d,e){var f;var g=a.count();var h=new Array(g);if(b.__inner[0]==0){return false}var i=b.__inner[0];e.__inner[0]=d.__inner[0]/i;for(f=1;f<g;f++){h[f]=c.__inner[f-1]/i;i=b.__inner[f]-a.__inner[f]*h[f];if(i==0){return false}e.__inner[f]=(d.__inner[f]-a.__inner[f]*e.__inner[f-1])/i}for(f=g-2;f>=0;f--){e.__inner[f]-=h[f+1]*e.__inner[f+1]}return true},d:function(a,b){var c=a.getLength(0);var d=new Array(c);var e=new Array(c);var f=new Array(c);for(var g=0;g<c;g++){f[g]=0}for(var h=0;h<c;h++){var i=0;var j=0;var k=0;for(var l=0;l<c;l++){if(f[l]!=1){for(var m=0;m<c;m++){if(f[m]==0){if(Math.abs(a[l][m])>=i){i=Math.abs(a[l][m]);j=l;k=m}}}}}++f[k];if(j!=k){for(var n=0;n<c;n++){var o=a[j][n];a[j][n]=a[k][n];a[k][n]=o}{var p=b[j];b[j]=b[k];b[k]=p}}e[h]=j;d[h]=k;if(a[k][k]==0){return false}var q=1/a[k][k];a[k][k]=1;for(var r=0;r<c;r++){a[k][r]*=q}b[k]*=q;for(var s=0;s<c;s++){if(s!=k){var t=a[s][k];a[s][k]=0;for(var u=0;u<c;u++){a[s][u]-=a[k][u]*t}b[s]-=b[k]*t}}}for(var v=c-1;v>=0;v--){if(e[v]!=d[v]){for(var w=0;w<c;w++){var x=a[w][e[v]];a[w][e[v]]=a[w][d[v]];a[w][d[v]]=x}}}return true},c:function(a,b,c,d,e){var f=new $$4.x(Number,0);for(var g=0;g<a;++g){while(g<a&&($.ig.util.isNaN(b(g))||$.ig.util.isNaN(c(g)))){f.add(NaN);++g}var h=g;while(g<a&&!$.ig.util.isNaN(b(g))&&!$.ig.util.isNaN(c(g))){++g}--g;if(g-h>0){f.addRange($$t.$cy.b(h,g-h+1,b,c,d,e))}else{for(;h<=g;++h){f.add(NaN)}}}return f.toArray()},b:function(a,b,c,d,e,f){return $$t.$cy.a(b,function(g){return c(g+a)},function(g){return d(g+a)},e,f)},a:function(a,b,c,d,e){var f=new Array(a-1);var g=new Array(a);g[0]=$.ig.util.isNaN(d)?0:-.5;f[0]=$.ig.util.isNaN(d)?0:3/(b(1)-b(0))*((c(1)-c(0))/(b(1)-b(0))-d);for(var h=1;h<a-1;h++){var i=(b(h)-b(h-1))/(b(h+1)-b(h-1));var j=i*g[h-1]+2;g[h]=(i-1)/j;f[h]=(c(h+1)-c(h))/(b(h+1)-b(h))-(c(h)-c(h-1))/(b(h)-b(h-1));f[h]=(6*f[h]/(b(h+1)-b(h-1))-i*f[h-1])/j}var k=$.ig.util.isNaN(e)?0:.5;var l=$.ig.util.isNaN(e)?0:3/(b(a-1)-b(a-2))*(e-(c(a-1)-c(a-2))/(b(a-1)-b(a-2)));g[a-1]=(l-k*f[a-2])/(k*g[a-2]+1);for(var m=a-2;m>=0;m--){g[m]=g[m]*g[m+1]+f[m]}return g},f:function(a,b,c,d,e,f,g){var h=d-b;var i=(d-a)/h;var j=(a-b)/h;return i*c+j*e+((i*i*i-i)*f+(j*j*j-j)*g)*(h*h)/6},h:function(a,b,c,d){var e=new $$a.a9;var f=0;var g=-1;var h=NaN;var i=NaN;for(var j=0;j<a;j++){h=b(j);i=c(j);if($.ig.util.isNaN(h)||$.ig.util.isNaN(i)){g=j-1;if(g-f>0){e.add($$t.$cy.g(f,g,b,c,d))}f=j+1}}if(!$.ig.util.isNaN(h)&&!$.ig.util.isNaN(i)){g=a-1}if(g-f>0){e.add($$t.$cy.g(f,g,b,c,d))}return e},g:function(a,b,c,d,e){e=.5*$$t.$a3.b($.ig.util.isNaN(e)?.5:e,0,1);var f=new $$a.a8;var g=b-a+1;if(g<2){return f}if(g==2){f.__startPoint={__x:c(a),__y:d(a),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var h=function(){var $ret=new $$a.bd(1);$ret.c({__x:c(a+1),__y:d(a+1),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});return $ret}();f.__segments.add(h);return f}var i=new $$a.bf;var j=c(a);var k=d(a);var l=c(a+1);var m=d(a+1);while(l==j&&m==k&&a+1<=b){a++;l=c(a+1);m=d(a+1)}var n=l-j;var o=m-k;var p=Math.sqrt(n*n+o*o);for(var q=a+1;q<b;++q){var r=c(q);var s=d(q);if(r==j&&s==k){continue}var t=c(q+1)-c(q-1);var u=d(q+1)-d(q-1);var v=t*t+u*u;if(v<.01){t=-(d(q+1)-d(q));u=c(q+1)-c(q);v=t*t+u*u}v=Math.sqrt(v);var w=e*Math.sqrt((r-j)*(r-j)+(s-k)*(s-k));if(v>.01){i._b.add({__x:j+n*w/p,__y:k+o*w/p,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});i._b.add({__x:r-t*w/v,__y:s-u*w/v,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});i._b.add({__x:r,__y:s,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});j=r;k=s;n=t;o=u;p=v}}{var x=b;var y=c(x);var z=d(x);if(!(y==j&&z==k)){var aa=c(x)-c(x-1);var ab=d(x)-d(x-1);var ac=aa*aa+ab*ab;var ad=e*Math.sqrt((y-j)*(y-j)+(z-k)*(z-k));i._b.add({__x:j+n*ad/p,__y:k+o*ad/p,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});i._b.add({__x:y-aa*ad/ac,__y:z-ab*ad/ac,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});i._b.add({__x:y,__y:z,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})}}f.__startPoint={__x:c(a),__y:d(a),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};f.__segments.add(i);return f},$type:new $.ig.Type("Numeric",$.ig.$ot)},true);$c("LeastSquaresFit:cx","Numeric",{aa:function(){return $$t.$cx.t()&&$$t.$cx.u()&&$$t.$cx.s()&&$$t.$cx.w()&&$$t.$cx.x()&&$$t.$cx.r()&&$$t.$cx.y()&&$$t.$cx.z()},init:function(){$$t.$cy.init.call(this)},k:function(a,b,c){var d=0;var e=0;var f=0;var g=0;var h=0;for(var i=0;i<a;++i){var j=b(i);var k=c(i);if(!$.ig.util.isNaN(j)&&!$.ig.util.isNaN(k)){d+=k;e+=j*j;f+=j;g+=j*k;++h}}if(h<2){return null}var l=(d*e-f*g)/(h*e-f*f);var m=(h*g-f*d)/(h*e-f*f);return[l,m]},ad:function(a,b){if(a.length!=2){return NaN}return a[0]+a[1]*b},t:function(){var a=new $$6.s(0);var b=new Array(2);for(var c=0;c<b.length;++c){b[c]=10*a.nextDouble()}var d=new $$4.x(Number,0);var e=new $$4.x(Number,0);for(var f=-100;f<100;++f){var g=f;var h=$$t.$cx.ad(b,g);if(!$.ig.util.isNaN(h)){d.add(g);e.add(h)}}var i=$$t.$cx.k(d.count(),function(j){return d.__inner[j]},function(j){return e.__inner[j]});for(var j=0;j<b.length;++j){if(Math.abs(b[j]-i[j])>1e-4){}}return true},l:function(a,b,c){var d=0;var e=0;var f=0;var g=0;var h=0;for(var i=0;i<a;++i){var j=b(i);var k=c(i);if(!$.ig.util.isNaN(j)&&!$.ig.util.isNaN(k)&&j>0){var l=Math.log(j);d+=k*l;e+=k;f+=l;g+=l*l;++h}}if(h<2){return null}var m=(h*d-e*f)/(h*g-f*f);var n=(e-m*f)/h;return[n,m]},ae:function(a,b){if(a.length!=2||b<0||Number.isInfinity(b)||$.ig.util.isNaN(b)){return NaN}return a[0]+a[1]*Math.log(b)},u:function(){var a=new $$6.s(0);var b=new Array(2);for(var c=0;c<b.length;++c){b[c]=10*a.nextDouble()}var d=new $$4.x(Number,0);var e=new $$4.x(Number,0);for(var f=1;f<100;++f){var g=f;var h=$$t.$cx.ae(b,g);if(!$.ig.util.isNaN(h)){d.add(g);e.add(h)}}var i=$$t.$cx.l(d.count(),function(j){return d.__inner[j]},function(j){return e.__inner[j]});for(var j=0;j<b.length;++j){if(Math.abs(b[j]-i[j])>1e-4){}}return true},j:function(a,b,c){var d=0;var e=0;var f=0;var g=0;var h=0;var i=0;for(var j=0;j<a;++j){var k=b(j);var l=c(j);if(!$.ig.util.isNaN(k)&&!$.ig.util.isNaN(l)&&l>0){var m=Math.log(l);d+=k*k*l;e+=l*m;f+=k*l;g+=k*l*m;h+=l;++i}}if(i<2){return null}var n=(d*e-f*g)/(h*d-f*f);var o=(h*g-f*e)/(h*d-f*f);return[Math.exp(n),o]},ac:function(a,b){if(a.length!=2||b<0||Number.isInfinity(b)||$.ig.util.isNaN(b)){return NaN}return a[0]*Math.exp(a[1]*b)},s:function(){var a=new $$6.s(0);var b=new Array(2);for(var c=0;c<b.length;++c){b[c]=2*a.nextDouble()}var d=new $$4.x(Number,0);var e=new $$4.x(Number,0);for(var f=1;f<100;++f){var g=f;var h=$$t.$cx.ac(b,g);if(!$.ig.util.isNaN(h)){d.add(g);e.add(h)}}var i=$$t.$cx.j(d.count(),function(j){return d.__inner[j]},function(j){return e.__inner[j]});for(var j=0;j<b.length;++j){if(Math.abs(b[j]-i[j])>1e-4){return false}}return true},n:function(a,b,c){var d=0;var e=0;var f=0;var g=0;var h=0;for(var i=0;i<a;++i){var j=b(i);var k=c(i);if(!$.ig.util.isNaN(j)&&!$.ig.util.isNaN(k)&&j>0&&k>0){var l=Math.log(b(i));var m=Math.log(c(i));d+=l*m;e+=l;f+=m;g+=l*l;++h}}if(h<2){return null}var n=(h*d-e*f)/(h*g-e*e);var o=Math.exp((f-n*e)/h);return[o,n]},ag:function(a,b){if(a.length!=2||b<0||Number.isInfinity(b)||$.ig.util.isNaN(b)){return NaN}return a[0]*Math.pow(b,a[1])},w:function(){var a=new $$6.s(0);var b=new Array(2);for(var c=0;c<b.length;++c){b[c]=10*a.nextDouble()}var d=new $$4.x(Number,0);var e=new $$4.x(Number,0);for(var f=-100;f<100;++f){d.add(f);e.add($$t.$cx.ag(b,f))}var g=$$t.$cx.n(d.count(),function(h){return d.__inner[h];
},function(h){return e.__inner[h]});for(var h=0;h<b.length;++h){if(Math.abs(b[h]-g[h])>1e-4){return false}}return true},o:function(a,b,c){return $$t.$cx.m(a,2,b,c)},ah:function(a,b){return $$t.$cx.af(a,b)},x:function(){return $$t.$cx.v(2)},i:function(a,b,c){return $$t.$cx.m(a,3,b,c)},ab:function(a,b){return $$t.$cx.af(a,b)},r:function(){return $$t.$cx.v(3)},p:function(a,b,c){return $$t.$cx.m(a,4,b,c)},ai:function(a,b){return $$t.$cx.af(a,b)},y:function(){return $$t.$cx.v(4)},q:function(a,b,c){return $$t.$cx.m(a,5,b,c)},aj:function(a,b){return $$t.$cx.af(a,b)},z:function(){return $$t.$cx.v(5)},m:function(a,b,c,d){var e=new Array(1+2*b);for(var f=0;f<e.length;f++){e[f]=0}var g=function(){var $ret=new Array($firstRank=b+1);var $currRet=$ret;for(var $rankInit=0;$rankInit<$firstRank;$rankInit++){$currRet[$rankInit]=new Array(b+1)}return $ret}();var h=new Array(b+1);for(var i=0;i<h.length;i++){h[i]=0}var j=0;for(var k=0;k<a;++k){var l=1;var m=c(k);if(!$.ig.util.isNaN(m)&&!$.ig.util.isNaN(d(k))){for(var n=0;n<e.length;++n){e[n]+=l;l*=m;++j}}}if(j<b){return null}for(var o=0;o<=b;++o){for(var p=0;p<=b;++p){g[o][p]=e[o+p]}}for(var q=0;q<a;++q){var r=c(q);var s=d(q);if(!$.ig.util.isNaN(r)&&!$.ig.util.isNaN(s)){for(var t=0;t<=b;++t){h[t]+=Math.pow(r,t)*s}}}return $$t.$cy.d(g,h)?h:null},af:function(a,b){if(a.length<1||Number.isInfinity(b)||$.ig.util.isNaN(b)){return NaN}var c=0;for(var d=0;d<a.length;++d){c+=a[d]*Math.pow(b,d)}return c},v:function(a){var b=new $$6.s(0);var c=new Array(a+1);for(var d=0;d<c.length;++d){c[d]=2*b.nextDouble()}var e=new $$4.x(Number,0);var f=new $$4.x(Number,0);for(var g=-100;g<100;++g){var h=g;var i=$$t.$cx.af(c,h);if(!$.ig.util.isNaN(i)){e.add(h);f.add(i)}}var j=$$t.$cx.m(e.count(),a,function(k){return e.__inner[k]},function(k){return f.__inner[k]});for(var k=0;k<a;++k){if(Math.abs(c[k]-j[k])>1e-4){return false}}return true},$type:new $.ig.Type("LeastSquaresFit",$$t.$cy.$type)},true);$c("IZoomSlider:b6","Object",{$type:new $.ig.Type("IZoomSlider",null)},true);$c("TrendCalculators___STDEV__IteratorClass:cg","Object",{h:0,f:0,e:null,d:null,a:null,j:0,g:0,c:null,__3__sequence:null,k:0,__3__period:0,init:function(a){$.ig.$op.init.call(this);this.h=a},moveNext:function(){while(this.h>=0){switch(this.h){case 0:this.h=-1;this.e=$$t.$b9.e(this.c,this.k).getEnumerator();this.d=this.c.getEnumerator();this.a=new Array(this.k);this.j=0;for(this.j=0;this.j<this.k;this.j++){this.a[this.j]=0}this.j=0;this.h=1;break;case 1:this.h=-1;if(this.d.moveNext()&&this.e.moveNext()){this.a[this.j++%this.k]=this.d.current();this.g=0;if(this.j<this.k){var a=0;for(var b=0;b<this.j;b++){var c=this.e.current()-this.a[b];this.g+=c*c;a++}this.f=Math.sqrt(this.g/a);this.h=1;return true}for(var d=0;d<this.k;++d){var e=this.e.current()-this.a[d];this.g+=e*e}this.f=Math.sqrt(this.g/this.k);this.h=1;return true}break}}return false},getEnumerator:function(){var d__;if(this.h==-2){this.h=0;d__=this}else{d__=new $$t.cg(0)}d__.c=this.__3__sequence;d__.k=this.__3__period;return d__},reset:function(){throw new $$0.r(0)},dispose:function(){},current:function(){return this.f},current1:function(){return this.f},$type:new $.ig.Type("TrendCalculators___STDEV__IteratorClass",$.ig.$ot,[$$0.$bw.$type.specialize(Number),$$0.$bt.$type,$$0.$bx.$type.specialize(Number),$$0.$bu.$type,$$0.$au.$type])},true);$c("TrendCalculators___MovingSum__IteratorClass:cf","Object",{h:0,e:0,a:null,j:0,f:0,d:null,g:0,c:null,__3__sequence:null,k:0,__3__period:0,init:function(a){$.ig.$op.init.call(this);this.h=a},l:function(){this.h=-1;if(this.d!=null){this.d.dispose()}},moveNext:function(){var __hasError__=false;try{while(this.h>=0){switch(this.h){case 0:this.h=-1;this.a=new Array(this.k);this.j=0;for(this.j=0;this.j<this.k;this.j++){this.a[this.j]=0}this.j=0;this.f=NaN;this.h=1;this.d=this.c.getEnumerator();this.h=2;break;case 2:this.h=1;if(this.d.moveNext()){this.g=this.d.current();if(!$.ig.util.isNaN(this.g)){var a=this.g;var b=this.j%this.k;if(this.j<this.k){this.f=$.ig.util.isNaN(this.f)?a:this.f+a}else{this.f=this.f+a-this.a[b]}this.a[b]=a;++this.j}this.e=this.f;this.h=2;return true}this.l();break}}}catch(c){__hasError__=true;throw c}finally{if(__hasError__){this.dispose()}}return false},getEnumerator:function(){var d__;if(this.h==-2){this.h=0;d__=this}else{d__=new $$t.cf(0)}d__.c=this.__3__sequence;d__.k=this.__3__period;return d__},reset:function(){throw new $$0.r(0)},dispose:function(){switch(this.h){case 1:case 2:this.l();break}},current:function(){return this.e},current1:function(){return this.e},$type:new $.ig.Type("TrendCalculators___MovingSum__IteratorClass",$.ig.$ot,[$$0.$bw.$type.specialize(Number),$$0.$bt.$type,$$0.$bx.$type.specialize(Number),$$0.$bu.$type,$$0.$au.$type])},true);$c("TrendCalculators___SMA__IteratorClass:ce","Object",{h:0,e:0,a:null,j:0,f:0,d:null,g:0,c:null,__3__sequence:null,k:0,__3__period:0,init:function(a){$.ig.$op.init.call(this);this.h=a},l:function(){this.h=-1;if(this.d!=null){this.d.dispose()}},moveNext:function(){var __hasError__=false;try{while(this.h>=0){switch(this.h){case 0:this.h=-1;this.a=new Array(this.k);this.j=0;for(this.j=0;this.j<this.k;this.j++){this.a[this.j]=0}this.j=0;this.f=NaN;this.h=1;this.d=this.c.getEnumerator();this.h=2;break;case 2:this.h=1;if(this.d.moveNext()){this.g=this.d.current();if(!$.ig.util.isNaN(this.g)){var a=this.g/this.k;var b=this.j%this.k;if(this.j<this.k){this.f=$.ig.util.isNaN(this.f)?this.g:(this.f*this.j+this.g)/(this.j+1)}else{this.f=this.f+a-this.a[b]}this.a[b]=a;++this.j}this.e=this.f;this.h=2;return true}this.l();break}}}catch(c){__hasError__=true;throw c}finally{if(__hasError__){this.dispose()}}return false},getEnumerator:function(){var d__;if(this.h==-2){this.h=0;d__=this}else{d__=new $$t.ce(0)}d__.c=this.__3__sequence;d__.k=this.__3__period;return d__},reset:function(){throw new $$0.r(0)},dispose:function(){switch(this.h){case 1:case 2:this.l();break}},current:function(){return this.e},current1:function(){return this.e},$type:new $.ig.Type("TrendCalculators___SMA__IteratorClass",$.ig.$ot,[$$0.$bw.$type.specialize(Number),$$0.$bt.$type,$$0.$bx.$type.specialize(Number),$$0.$bu.$type,$$0.$au.$type])},true);$c("TrendCalculators___CMA__IteratorClass:cd","Object",{g:0,d:0,e:0,h:0,c:null,f:0,b:null,__3__sequence:null,init:function(a){$.ig.$op.init.call(this);this.g=a},i:function(){this.g=-1;if(this.c!=null){this.c.dispose()}},moveNext:function(){var __hasError__=false;try{while(this.g>=0){switch(this.g){case 0:this.g=-1;this.e=NaN;this.h=0;this.g=1;this.c=this.b.getEnumerator();this.g=2;break;case 2:this.g=1;if(this.c.moveNext()){this.f=this.c.current();if(!$.ig.util.isNaN(this.f)){this.e=$.ig.util.isNaN(this.e)?this.f:(this.e*this.h+this.f)/(this.h+1);++this.h}this.d=this.e;this.g=2;return true}this.i();break}}}catch(a){__hasError__=true;throw a}finally{if(__hasError__){this.dispose()}}return false},getEnumerator:function(){var d__;if(this.g==-2){this.g=0;d__=this}else{d__=new $$t.cd(0)}d__.b=this.__3__sequence;return d__},reset:function(){throw new $$0.r(0)},dispose:function(){switch(this.g){case 1:case 2:this.i();break}},current:function(){return this.d},current1:function(){return this.d},$type:new $.ig.Type("TrendCalculators___CMA__IteratorClass",$.ig.$ot,[$$0.$bw.$type.specialize(Number),$$0.$bt.$type,$$0.$bx.$type.specialize(Number),$$0.$bu.$type,$$0.$au.$type])},true);$c("TrendCalculators___MMA__IteratorClass:cc","Object",{h:0,d:0,j:0,f:0,e:0,c:null,g:0,b:null,__3__sequence:null,k:0,__3__period:0,init:function(a){$.ig.$op.init.call(this);this.h=a},l:function(){this.h=-1;if(this.c!=null){this.c.dispose()}},moveNext:function(){var __hasError__=false;try{while(this.h>=0){switch(this.h){case 0:this.h=-1;this.j=0;this.f=NaN;this.e=1/this.k;this.h=1;this.c=this.b.getEnumerator();this.h=2;break;case 2:this.h=1;if(this.c.moveNext()){this.g=this.c.current();if(!$.ig.util.isNaN(this.g)){if(this.j<this.k){this.f=$.ig.util.isNaN(this.f)?this.g:(this.f*this.j+this.g)/(this.j+1)}else{this.f=(this.g-this.f)*this.e+this.f}++this.j}this.d=this.f;this.h=2;return true}this.l();break}}}catch(a){__hasError__=true;throw a}finally{if(__hasError__){this.dispose()}}return false},getEnumerator:function(){var d__;if(this.h==-2){this.h=0;d__=this}else{d__=new $$t.cc(0)}d__.b=this.__3__sequence;d__.k=this.__3__period;return d__},reset:function(){throw new $$0.r(0)},dispose:function(){switch(this.h){case 1:case 2:this.l();break}},current:function(){return this.d},current1:function(){return this.d},$type:new $.ig.Type("TrendCalculators___MMA__IteratorClass",$.ig.$ot,[$$0.$bw.$type.specialize(Number),$$0.$bt.$type,$$0.$bx.$type.specialize(Number),$$0.$bu.$type,$$0.$au.$type])},true);$c("TrendCalculators___EMA__IteratorClass:cb","Object",{h:0,d:0,j:0,f:0,e:0,c:null,g:0,b:null,__3__sequence:null,k:0,__3__period:0,init:function(a){$.ig.$op.init.call(this);this.h=a},l:function(){this.h=-1;if(this.c!=null){this.c.dispose()}},moveNext:function(){var __hasError__=false;try{while(this.h>=0){switch(this.h){case 0:this.h=-1;this.j=0;this.f=NaN;this.e=2/(1+this.k);this.h=1;this.c=this.b.getEnumerator();this.h=2;break;case 2:this.h=1;if(this.c.moveNext()){this.g=this.c.current();if(!$.ig.util.isNaN(this.g)){if(this.j<this.k){this.f=$.ig.util.isNaN(this.f)?this.g:(this.f*this.j+this.g)/(this.j+1)}else{this.f=(this.g-this.f)*this.e+this.f}++this.j}this.d=this.f;this.h=2;return true}this.l();break}}}catch(a){__hasError__=true;throw a}finally{if(__hasError__){this.dispose()}}return false},getEnumerator:function(){var d__;if(this.h==-2){this.h=0;d__=this}else{d__=new $$t.cb(0)}d__.b=this.__3__sequence;d__.k=this.__3__period;return d__},reset:function(){throw new $$0.r(0)},dispose:function(){switch(this.h){case 1:case 2:this.l();break}},current:function(){return this.d},current1:function(){return this.d},$type:new $.ig.Type("TrendCalculators___EMA__IteratorClass",$.ig.$ot,[$$0.$bw.$type.specialize(Number),$$0.$bt.$type,$$0.$bx.$type.specialize(Number),$$0.$bu.$type,$$0.$au.$type])},true);$c("TrendCalculators___WMA__IteratorClass:ca","Object",{k:0,e:0,a:null,m:0,g:0,f:0,i:0,j:0,d:null,h:0,c:null,__3__sequence:null,n:0,__3__period:0,init:function(a){$.ig.$op.init.call(this);this.k=a},o:function(){this.k=-1;if(this.d!=null){this.d.dispose()}},moveNext:function(){var __hasError__=false;try{while(this.k>=0){switch(this.k){case 0:this.k=-1;this.a=new Array(this.n);this.m=0;for(this.m=0;this.m<this.n;this.m++){this.a[this.m]=0}this.g=NaN;this.f=NaN;this.i=NaN;this.j=NaN;this.m=0;this.k=1;this.d=this.c.getEnumerator();this.k=2;break;case 2:this.k=1;if(this.d.moveNext()){this.h=this.d.current();if(!$.ig.util.isNaN(this.h)){var a=this.m%this.n;if(this.m==0){this.i=1;this.j=this.f=this.g=this.h}else if(this.m<this.n){this.i+=this.m+1;this.g+=this.h;this.f+=(this.m+1)*this.h;this.j=this.f/this.i}else{this.f=this.f+this.n*this.h-this.g;this.j=this.f/this.i;this.g=this.g+this.h-this.a[a]}this.a[a]=this.h;++this.m}this.e=this.j;this.k=2;return true}this.o();break}}}catch(b){__hasError__=true;throw b}finally{if(__hasError__){this.dispose()}}return false},getEnumerator:function(){var d__;if(this.k==-2){this.k=0;d__=this}else{d__=new $$t.ca(0)}d__.c=this.__3__sequence;d__.n=this.__3__period;return d__},reset:function(){throw new $$0.r(0)},dispose:function(){switch(this.k){case 1:case 2:this.o();break}},current:function(){return this.e},current1:function(){return this.e},$type:new $.ig.Type("TrendCalculators___WMA__IteratorClass",$.ig.$ot,[$$0.$bw.$type.specialize(Number),$$0.$bt.$type,$$0.$bx.$type.specialize(Number),$$0.$bu.$type,$$0.$au.$type])},true);$c("RearrangedList___GetEnumerator__IteratorClass1$1:bc","Object",{$t:null,c:0,e:null,b:null,d:0,__4__this:null,init:function($t,a){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$.ig.$op.init.call(this);this.c=a},f:function(){this.c=-1;if(this.b!=null){this.b.dispose()}},moveNext:function(){var __hasError__=false;try{while(this.c>=0){switch(this.c){case 0:this.c=1;this.b=this.__4__this.a.getEnumerator();this.c=2;break;case 2:this.c=1;if(this.b.moveNext()){this.d=this.b.current();this.e=$e(this.$t,this.__4__this.b.item(this.d));this.c=2;return true}this.f();break}}}catch(a){__hasError__=true;throw a}finally{if(__hasError__){this.dispose()}}return false},reset:function(){throw new $$0.r(0)},dispose:function(){switch(this.c){case 1:case 2:this.f();break}},current:function(){return this.e},current1:function(){return this.e},$type:new $.ig.Type("RearrangedList___GetEnumerator__IteratorClass1$1",$.ig.$ot,[$$0.$bx.$type.specialize($.ig.$op.$type),$$0.$bu.$type,$$0.$au.$type])},true);$c("RearrangedList___GetEnumerator__IteratorClass$1:bb","Object",{$t:null,d:0,b:null,c:null,e:0,__4__this:null,init:function($t,a){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$.ig.$op.init.call(this);this.d=a},f:function(){this.d=-1;if(this.c!=null){this.c.dispose()}},moveNext:function(){var __hasError__=false;try{while(this.d>=0){switch(this.d){case 0:this.d=1;this.c=this.__4__this.a.getEnumerator();this.d=2;break;case 2:this.d=1;if(this.c.moveNext()){this.e=this.c.current();this.b=this.__4__this.b.item(this.e);this.d=2;return true}this.f();break}}}catch(a){__hasError__=true;throw a}finally{if(__hasError__){this.dispose()}}return false},reset:function(){throw new $$0.r(0)},dispose:function(){switch(this.d){case 1:case 2:this.f();break}},current:function(){return this.b},current1:function(){return $e(this.$t,this.b)},$type:new $.ig.Type("RearrangedList___GetEnumerator__IteratorClass$1",$.ig.$ot,[$$0.$bx.$type.specialize(0),$$0.$bu.$type,$$0.$au.$type])},true);$$t.$aa.f=new $$6.s(0);$$t.$ab.defaultMarginValue="-4321px";$$t.$ab.defaultColorValue="rgb(3, 2, 1)";$$t.$ab.defaultBackgroundImageValue="none";$$t.$ab.defaultTextAlignValue="justify";$$t.$ab.defaultVerticalAlignValue="baseline";$$t.$ab.defaultOpacityValue="0.888";$$t.$ab.defaultVisibilityValue="hidden";$$t.$ab.defaultWidthHeightValue="4321px";$$t.$ab.maxClasses=500;$$t.$af.a=null;$$t.$ak.ag=new $$6.s(0);$$t.$a3.j=(1+Math.sqrt(5))/2;$$t.$a3.m=Math.sqrt(2);$$t.$a4.a=[151,160,137,91,90,15,131,13,201,95,96,53,194,233,7,225,140,36,103,30,69,142,8,99,37,240,21,10,23,190,6,148,247,120,234,75,0,26,197,62,94,252,219,203,117,35,11,32,57,177,33,88,237,149,56,87,174,20,125,136,171,168,68,175,74,165,71,134,139,48,27,166,77,146,158,231,83,111,229,122,60,211,133,230,220,105,92,41,55,46,245,40,244,102,143,54,65,25,63,161,1,216,80,73,209,76,132,187,208,89,18,169,200,196,135,130,116,188,159,86,164,100,109,198,173,186,3,64,52,217,226,250,124,123,5,202,38,147,118,126,255,82,85,212,207,206,59,227,47,16,58,17,182,189,28,42,223,183,170,213,119,248,152,2,44,154,163,70,221,153,101,155,167,43,172,9,129,22,39,253,19,98,108,110,79,113,224,232,178,185,112,104,218,246,97,228,251,34,242,193,238,210,144,12,191,179,162,241,81,51,145,235,249,14,239,107,49,192,214,31,181,199,106,157,184,84,204,176,115,121,50,45,127,4,150,254,138,236,205,93,222,114,67,29,24,72,243,141,128,195,78,66,215,61,156,180,151,160,137,91,90,15,131,13,201,95,96,53,194,233,7,225,140,36,103,30,69,142,8,99,37,240,21,10,23,190,6,148,247,120,234,75,0,26,197,62,94,252,219,203,117,35,11,32,57,177,33,88,237,149,56,87,174,20,125,136,171,168,68,175,74,165,71,134,139,48,27,166,77,146,158,231,83,111,229,122,60,211,133,230,220,105,92,41,55,46,245,40,244,102,143,54,65,25,63,161,1,216,80,73,209,76,132,187,208,89,18,169,200,196,135,130,116,188,159,86,164,100,109,198,173,186,3,64,52,217,226,250,124,123,5,202,38,147,118,126,255,82,85,212,207,206,59,227,47,16,58,17,182,189,28,42,223,183,170,213,119,248,152,2,44,154,163,70,221,153,101,155,167,43,172,9,129,22,39,253,19,98,108,110,79,113,224,232,178,185,112,104,218,246,97,228,251,34,242,193,238,210,144,12,191,179,162,241,81,51,145,235,249,14,239,107,49,192,214,31,181,199,106,157,184,84,204,176,115,121,50,45,127,4,150,254,138,236,205,93,222,114,67,29,24,72,243,141,128,195,78,66,215,61,156,180];$$t.$bx.a=null;$$t.$b7.a=NaN})($);/*!@license
* Infragistics.Web.ClientUI infragistics.dv_jquerydom.js 19.1.20191.172
*
* Copyright (c) 2011-2019 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
*/
(function($){$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$ag=$$t;$$0=$.ig.globalDefs.$$0;$$4=$.ig.globalDefs.$$4;$$1=$.ig.globalDefs.$$1;$$w=$.ig.globalDefs.$$w;$$6=$.ig.globalDefs.$$6;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["JQueryDomWrapper:a","JQueryDomRenderer:b"]);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;$c("JQueryDomWrapper:a","Object",{c:null,e:null,init:function(a,b){this.b=new $$4.x($$0.$c.$type,0);$.ig.$op.init.call(this);this.a=$$t.$b.b;this.c=a;this.e=b},addClass:function(a){this.e.addClass(a);return this},d:function(child_){if(child_.getNativeElement===undefined){return $(child_)[0]}return child_.getNativeElement()},append:function(a){this.e.append($(this.d(a)));return this},getAttribute:function(a){return this.e.attr(a)},setAttribute:function(a,b){this.e.attr(a,b);return this},before:function(a){this.e.before($(this.d(a)));return this},clone:function(){var a=this.e.clone();var b=new $$t.a(a[0],a);return b},getStyleProperty:function(a){return this.e.css(a)},setStyleProperty:function(a,b){this.e.css(a,b);return this},findByClass:function(a){var b=this.e.find(a);var c=new Array(b.length);for(var d=0;d<b.length;d++){var e=b[d];var f=$(e);c[d]=new $$t.a(e,f)}return c},focus:function(){this.e.focus()},getChildAt:function(a){var b=this.e.children().eq(a);var c=new $$t.a(b[0],b);return c},getChildCount:function(){return this.e.children().length},getNativeElement:function(){return this.c},height:function(){return $.ig.truncate(Math.round(this.e.height()))},hide:function(){this.e.hide();return this},b:null,a:false,listen:function(a,b){var $self=this;var c=function(d){b(d)};this.e.bind(a,c);var d=null;d=function(){if($self.b.contains(d)){$self.b.remove(d)}$self.e.unbind(a,c);c=null};this.b.add(d);return d},getOffset:function(){return this.e.offset()},setOffset:function(x_,y_){var native_=this.e;var a=native_.offset!==undefined;if(a){native_.offset({top:y_,left:x_})}return this},outerHeight:function(){return this.e.outerHeight()},outerHeightWithMargin:function(){return this.e.outerHeight(true)},outerWidth:function(){return this.e.outerWidth()},outerWidthWithMargin:function(){return this.e.outerWidth(true)},getProperty:function(a){return this.e.prop(a)},setProperty:function(a,b){this.e.prop(a,b);return this},remove:function(){this.e.remove();return this},removeChild:function(a){$(a.getNativeElement()).remove();return this},removeChildren:function(){this.e.children().remove()},removeClass:function(a){this.e.removeClass(a);return this},setRawStyleProperty:function(propertyName_,value_){var ele_=this.c;ele_.style[propertyName_]=value_;return this},setRawXPosition:function(a){var ele_=this.c;ele_.style.left=a+"px";return this},setRawYPosition:function(a){var ele_=this.c;ele_.style.top=a+"px";return this},setRawPosition:function(a,b){var ele_=this.c;ele_.style.left=a+"px";ele_.style.top=b+"px";return this},setRawSize:function(a,b){var ele_=this.c;ele_.style.width=a+"px";ele_.style.height=b+"px";return this},show:function(){this.e.show();return this},getText:function(){return this.e.text()},setText:function(value_){if(this.a){var ele_=this.c;ele_.textContent=value_}else{this.e.text(value_)}return this},setRawText:function(value_){if(this.a){var ele_=this.c;ele_.textContent=value_}else{this.e.text(value_)}return this},unlistenAll:function(){var a=new $$4.x($$0.$c.$type,1,this.b);for(var b=0;b<a.count();b++){a.__inner[b]()}this.b.clear();return},width:function(){return $.ig.truncate(Math.round(this.e.width()))},destroy:function(){this.unlistenAll();this.c=null;this.e=null},parent:function(){if(this.e==null){return null}var a=this.e.parent();if(a==null){return null}return new $$t.a(a[0],a)},querySelectorAll:function(a){var b=this.e.find(a);var c=new Array(b.length);for(var d=0;d<b.length;d++){c[d]=new $$t.a(b[d],$(b[d]))}return c},$type:new $.ig.Type("JQueryDomWrapper",$.ig.$ot,[$$1.$h.$type])},true);$c("JQueryDomRenderer:b","Object",{_requestAnimationFrame:null,requestAnimationFrame:function(a){if(arguments.length===1){this._requestAnimationFrame=a;return a}else{return this._requestAnimationFrame}},d:null,init:function(a,b){this.c=new $$4.aa($$1.$h.$type);$.ig.$op.init.call(this);this.d=b;this.e=a;this.htmlTest(/^[^<]*(<[\w\W]+>)[^>]*$/);$$t.$b.b=document.createElement("div").textContent!==undefined;this.requestAnimationFrame(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(callback){window.setTimeout(callback,1e3/60)})},e:null,rootWrapper:function(){return this.e},querySelector:function(a){var b=this.e.getNativeElement();if(b==null){return null}b=b.querySelector(a);if(b==null){return null}return new $$t.a(b,$(b))},append:function(a){this.e.append(a);return this},appendToBody:function(a){$(document.body).append($(a.getNativeElement()))},createElement:function(a){var b=document.createElement(a);var c=$(b);var d=new $$t.a(b,c);return d},c:null,endCSSQuery:function(){if(this.c.count()>0){var a=this.c.pop();a.remove()}},_htmlTest:null,htmlTest:function(a){if(arguments.length===1){this._htmlTest=a;return a}else{return this._htmlTest}},expandTemplate:function(template_,args_){var expanded_=$.ig.tmpl(template_,args_).toString();if(!this.htmlTest().test(expanded_)){expanded_="<span>"+expanded_+"</span>"}var a=$(expanded_);var b=new $$t.a(a[0],a);return b},get2DCanvasContext:function(a){var b=a.getNativeElement();return b.getContext("2d")},getCssDefaultPropertyValue:function(a,b){return $.ig.CssHelper.prototype.getPropertyValue1(this.c.peek(),a,b)},getCssDefaultValuesForClassCollection:function(a,b){var c=new $$4.x(String,0);for(var d=0;d<b.length;d++){c.add(b[d])}var e=$.ig.CssHelper.prototype.getValuesForClassCollection(this.c.peek(),a,c);var f=new Array(e.count());for(var g=0;g<e.count();g++){f[g]=new Array(e.__inner[g].count());for(var h=0;h<e.__inner[g].count();h++){f[g][h]=e.__inner[g].__inner[h]}}return f},getHeightForFontString:function(a,b,c){var span_=$("<span>M</span>");span_.css("font",a);span_.css("visibility","hidden");span_.css("position","absolute");span_.css("left","0px");span_.css("top","0px");var body_=$("body");body_.append(span_);var d;if(c){var e=span_[0].offsetHeight;d=e}else{d=span_.height()}span_.remove();return Math.round(d)},getResourceString:function(a){if(this.d!=null){return this.d(a)}return null},getWrapper:function(a){var b=$(a);return new $$t.a(b[0],b)},getSubRenderer:function(a){return new $$t.b(a,this.d)},globalListen:function(a,b,c){var d=null;if(a=="window"){d=$(window)}if(d!=null){var e=function(f){c(f)};d.bind(b,e);var f=null;f=function(){d.unbind(b,e);e=null};return f}return function(){}},hasBody:function(){return true},hasWindow:function(){return true},setCssQueryFontString:function(a){this.c.peek().setStyleProperty("font",a)},startCSSQuery:function(){this.c.push($.ig.CssHelper.prototype.getDisoveryElement(this));if(document.body.contains(this.e.getNativeElement())){this.e.append(this.c.peek())}else{document.body.appendChild(this.c.peek().getNativeElement())}},supportsDOMEvents:function(){return true},supportsAnimation:function(){return true},getRequestAnimationFrame:function(){return this.requestAnimationFrame()},setTimeout:function(a,b){return window.setTimeout(a,b)},clearTimeout:function(a){window.clearTimeout(a)},destroy:function(){if(this.rootWrapper()!=null){this.rootWrapper().destroy();this.e=null}},runInMainZone:function(a){a()},$type:new $.ig.Type("JQueryDomRenderer",$.ig.$ot,[$$1.$g.$type])},true);$$t.$b.b=false})($);/*!@license
* Infragistics.Web.ClientUI infragistics.dv_interactivity.js 19.1.20191.172
*
* Copyright (c) 2011-2019 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($){$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$al=$$t;$$0=$.ig.globalDefs.$$0;$$4=$.ig.globalDefs.$$4;$$1=$.ig.globalDefs.$$1;$$w=$.ig.globalDefs.$$w;$$6=$.ig.globalDefs.$$6;$$a=$.ig.globalDefs.$$a;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["BaseDOMEventProxy:b","DOMEventProxy:c","TouchGestureEventHandler:g","CancelableTouchGestureEventHandler:h"]);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("TouchGestureState:e",false,false,{None:0,Pan:1,Zoom:2,Hold:3,PendingPan:4,Flinging:5});$c("BaseDOMEventProxy:b","EventProxy",{init:function(){this.bf=false;this.bq=0;this.br=0;this.bo=0;this.bp=0;this.bu=0;this.be=false;this.bv=-1;this.bg=false;this.bd=false;$.ig.EventProxy.prototype.init.call(this)},_bt:null,d:function(){var a=new $$t.c(this._bt,this._bs,this._bm);a._z=this._z;a._aj=this._aj;return a},bn:function(){return $$t.$b.bj||$$t.$b.bk},_bm:false,bb:function(a){return $$t.$c.ct(a)},_bs:null,cj:function(a){if(!this.ab()){if(this.bh(a)){a.preventDefault()}}},bh:function(e_){return e_.originalEvent.cancelable||e_.originalEvent.cancelable==undefined},bf:false,cf:function(){var source_=this._bt.getNativeElement();$$t.$b.ci(source_)},ci:function(source_){if($$t.$b.bk){source_.style.touchAction="none"}else{source_.style.msTouchAction="none"}source_.style.msUserSelect="none";source_.style.webkitTouchCallout="none";source_.style.webkitUserSelect="none";source_.style.khtmlUserSelect="none";source_.style.mozUserSelect="none";source_.style.userSelect="none"},cc:function(source_){if($$t.$b.bk){source_.style.touchAction="auto"}else{source_.style.msTouchAction="auto"}source_.style.msUserSelect="auto";source_.style.webkitTouchCallout="none";source_.style.webkitUserSelect="auto";source_.style.khtmlUserSelect="auto";source_.style.mozUserSelect="auto";source_.style.userSelect="auto"},cd:function(){var source_=this._bt.getNativeElement();$$t.$b.cc(source_)},ao:function(){$.ig.EventProxy.prototype.ao.call(this);if(!this.ab()){this.cf()}else{this.cd()}},b0:function(){var ver_=-1;var matchIE_=/Trident\/([\d.]+)/;if(matchIE_.exec(navigator.userAgent)!=null){ver_=parseFloat(RegExp.$1)}return ver_},bz:function(){var ver_=-1;var matchIE_=/Edge\/([\d.]+)/;if(matchIE_.exec(navigator.userAgent)!=null){ver_=parseFloat(RegExp.$1)}return ver_},ch:function(e_){var a=$$t.$b.b1>=6;var oe_=e_.originalEvent;if((typeof e_.pageX=="undefined"||a)&&oe_.clientX!=null){var od_;if(e_.target!==undefined){od_=e_.target.ownerDocument}else{od_=e_.originalEvent.target.ownerDocument}var ed_=od_?od_:document;var doc_=ed_.documentElement;var body_=ed_.body;var clientX_=oe_.clientX;var clientY_=oe_.clientY;var scrollLeft_=doc_&&doc_.scrollLeft||body_&&body_.scrollLeft||0;var scrollTop_=doc_&&doc_.scrollTop||body_&&body_.scrollTop||0;var clientLeft_=doc_&&doc_.clientLeft||body_&&body_.clientLeft||0;var clientTop_=doc_&&doc_.clientTop||body_&&body_.clientTop||0;e_.pageX=clientX_+(scrollLeft_-clientLeft_);e_.pageY=clientY_+(scrollTop_-clientTop_)}if(!e_.pageX){e_.pageX=e_.originalEvent.pageX}if(!e_.pageY){e_.pageY=e_.originalEvent.pageY}if(typeof e_.button=="undefined"&&typeof oe_.button!="undefined"){e_.button=oe_.button}},ct:function(a){var b=$$t.$b.b1>=6;var source_=a.getNativeElement();var d_=source_.ownerDocument;var doc_=d_?d_.documentElement:null;var z_=doc_?doc_.msContentZoomFactor:null;var body_=doc_.body;if(z_&&z_>1||b){var rect_=source_.getBoundingClientRect();var x_=rect_.left;var y_=rect_.top;var scrollLeft_=doc_&&doc_.scrollLeft||body_&&body_.scrollLeft||0;var scrollTop_=doc_&&doc_.scrollTop||body_&&body_.scrollTop||0;var clientLeft_=doc_&&doc_.clientLeft||body_&&body_.clientLeft||0;var clientTop_=doc_&&doc_.clientTop||body_&&body_.clientTop||0;var c=x_+scrollLeft_-clientLeft_;var d=y_+scrollTop_-clientTop_;return new $$a.ae(0,c,d,0,0)}else{var e=a.getOffset();return new $$a.ae(0,e.left,e.top,0,0)}},bq:0,br:0,bo:0,bp:0,bu:0,_cs:null,_cr:null,bx:function(a){if(arguments.length===1){this.bu=a;return a}else{return this.bu}},cm:function(a){this._al=a;$$t.$b.ch(a);var b=$$t.$b.ct(this._bt);this.bq=a.pageX-b.left();this.br=a.pageY-b.top();this.bo=this.bq-this._bc.left();this.bp=this.br-this._bc.top();this._cs={__x:this.bq,__y:this.br,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};this._cr={__x:this.bo,__y:this.bp,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},cn:function(e_){this._al=e_;$$t.$b.ch(e_);if($$t.$b.bn()){var a=e_.pageX;var b=e_.pageY;var c=$$t.$b.ct(this._bt);this.bq=a-c.left();this.br=b-c.top()}else{this.bu=0;if(!e_.originalEvent.targetTouches||e_.originalEvent.targetTouches.length<1){return}this.bu=e_.originalEvent.targetTouches.length;var d=e_.originalEvent.targetTouches[0].pageX;var e=e_.originalEvent.targetTouches[0].pageY;var f=$$t.$b.ct(this._bt);this.bq=d-f.left();this.br=e-f.top()}this.bo=this.bq-this._bc.left();this.bp=this.br-this._bc.top();this._cs={__x:this.bq,__y:this.br,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};this._cr={__x:this.bo,__y:this.bp,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},cb:function(e_){this.cl(e_);if(this.aa(this._cs,false,true)){var deltaY_=0;var ev_=e_;deltaY_=ev_.originalEvent?ev_.originalEvent.deltaY:ev_.deltaY;var deltaX_=0;deltaX_=ev_.originalEvent?ev_.originalEvent.deltaX:ev_.deltaX;var a=ev_.originalEvent?ev_.originalEvent.deltaMode==1:ev_.deltaMode==1;if(a){deltaY_=deltaY_*40;deltaX_=deltaX_*40}var b=this.af(this._cr,deltaY_);if(b){this.cj(e_)}}},b9:function(e_){this.cl(e_);this.cm(e_);if(this.aa(this._cs,false,true)){var ev_=e_;var delta_=0;if(ev_.wheelDelta){delta_=ev_.wheelDelta/120}if(ev_.originalEvent&&ev_.originalEvent.wheelDelta){delta_=ev_.originalEvent.wheelDelta/120}if(ev_.detail){delta_=-ev_.detail/3}if(ev_.originalEvent&&ev_.originalEvent.detail){delta_=-ev_.originalEvent.detail/3}delta_=delta_/10;var a=this.af(this._cr,delta_);if(a){this.cj(e_)}}},be:false,bv:0,cg:function(){if(this.be){if(this.bv==-1){this.bv=this._bs.setTimeout(this.ce.runOn(this),500)}else{window.clearTimeout(this.bv);this.bv=-1;this.bv=this._bs.setTimeout(this.ce.runOn(this),500)}}},b2:function(){this.be=true;if(this.bv!=-1){window.clearTimeout(this.bv);this.bv=-1}},ce:function(){this.be=false},_bi:false,bg:false,bl:function(a){if(arguments.length===1){this.bg=a;return a}else{return this.bg}},b7:function(a){if(this.bg||this.be){return}this.cm(a);if(this._bi){this._bi=false;this.a0(this._cr)}},b8:function(a){if(this.bg||this.be){return}this.cm(a);this.cl(a);var b=new $$a.ar;b.position(this._cs);if(this.aa(this._cs,false,false)){if(!this._bi){this._bi=true;this.az(this._cs)}this.a1(this._cs,true,false);this.aq(this._cr,false)}else if(this._bi){this.b7(a)}},ck:function(a){this._bt.focus()},bd:false,b6:function(a){if(this.bg||this.be){return}this.ck(a);this.cm(a);this.cl(a);if(this.aa(this._cs,false,false)){this.bd=true;this.ay(this._cs);this.ar(this._cr,false);this.cj(a)}},co:function(a){if(this.bg||this.be){return}if(this.bd){this.ca(a)}},ca:function(a){if(this.bg||this.be){return}this.cl(a);if($$a.$y.l_op_Equality(this._cs,null)||$$a.$y.l_op_Equality(this._cr,null)){this.cm(a)}var b=this.aa(this._cs,false,false)||this.bd||this._bi;this.bd=false;this.a2(this._cs);this.ap(this._cr,false);if(b){this.cj(a)}},b3:function(a){this.b4(a,true)},b5:function(a){this.b4(a,false)},cq:function(a){return $$t.$b.cp(a)},cp:function(a){var b;switch(a.which){case 33:b=10;break;case 34:b=11;break;case 36:b=13;break;case 37:b=14;break;case 38:b=15;break;case 39:b=16;break;case 40:b=17;break;case 9:b=2;break;case 32:b=9;break;case 13:b=3;break;case 27:b=8;break;case 16:b=4;break;case 17:b=5;break;case 18:b=6;break;case 8:b=1;break;case 35:b=12;break;case 45:b=18;break;case 46:b=19;break;case 106:b=78;break;case 107:b=79;break;case 109:b=80;break;case 110:b=81;break;case 111:b=82;break;case 220:b=85;break;case 192:b=86;break;case 191:b=84;break;case 186:b=83;break;case 189:b=88;break;case 187:b=87;break;default:if(112<=a.which&&a.which<=123){b=56+a.which-112}else if(65<=a.which&&a.which<=90){b=30+a.which-65}else if(48<=a.which&&a.which<=57){b=20+a.which-48}else if(96<=a.which&&a.which<=105){b=68+a.which-96}else{b=0}break}return b},b4:function(a,b){var c=this.cq(a);var d=c!=0;this.cl(a);if(d){var e=false;if(b){e=this.ad(c)}else{e=this.ae(c)}if(e){this.cj(a)}}},cl:function(a){this._al=a;this._a9=0;if(a.shiftKey){this._a9=this._a9|4}if(a.altKey){this._a9=this._a9|1}if(a.ctrlKey){this._a9=this._a9|2}this._ag=a.button==2},ba:function(){var a=$$t.$b.ct(this._bt);var b=a.left();var c=a.top();return{__x:b,__y:c,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},$type:new $.ig.Type("BaseDOMEventProxy",$.ig.EventProxy.prototype.$type)},true);$c("CanvasGestureDOMEventProxy:a","BaseDOMEventProxy",{c8:0,c9:null,cu:null,d:function(){var a=new $$t.a(this._bt,this._bs,this._bm);a._z=this._z;a._aj=this._aj;return a},_c6:null,init:function(a,b,c){this.c8=0;this.c9="";this.c1=new $$4.h(String,$$4.$x.$type.specialize($$0.$c.$type),0);this.cv=false;this.c2=new $$4.x($$0.$ax.$type,0);this.c3=new $$4.x($$a.$y.$type,0);this.c4=new $$4.x($$t.$d.$type,0);$$t.$b.init.call(this);this._bm=c;this._bs=b;this.cu=new $$t.f(new $.ig.DOMExecutionContext(b));var d=this.cu;d.holdEnding=$.ig.Delegate.prototype.combine(d.holdEnding,this.db.runOn(this));var e=this.cu;e.holdStarting=$.ig.Delegate.prototype.combine(e.holdStarting,this.dc.runOn(this));var f=this.cu;f.zoomStarting=$.ig.Delegate.prototype.combine(f.zoomStarting,this.dj.runOn(this));var g=this.cu;g.zoomEnding=$.ig.Delegate.prototype.combine(g.zoomEnding,this.di.runOn(this));var h=this.cu;h.panStarting=$.ig.Delegate.prototype.combine(h.panStarting,this.dh.runOn(this));var i=this.cu;i.panEnding=$.ig.Delegate.prototype.combine(i.panEnding,this.dg.runOn(this));var j=this.cu;j.manipulationStarting=$.ig.Delegate.prototype.combine(j.manipulationStarting,this.df.runOn(this));var k=this.cu;k.manipulationChanging=$.ig.Delegate.prototype.combine(k.manipulationChanging,this.dd.runOn(this));var l=this.cu;l.manipulationEnding=$.ig.Delegate.prototype.combine(l.manipulationEnding,this.de.runOn(this));var m=this.cu;m.doubleTapped=$.ig.Delegate.prototype.combine(m.doubleTapped,this.da.runOn(this));var n=this.cu;n.flingStarting=$.ig.Delegate.prototype.combine(n.flingStarting,this.cw.runOn(this));this._aj=function(o){return true};this._z=true;$$t.$a.c7++;this.c8=$$t.$a.c7;this.c9=".DOMProxy"+this.c8.toString();this._a9=0;this._bt=a;$$t.$b.bj=false;try{$$t.$b.bj=window.navigator.msPointerEnabled&&MSGesture!==undefined}catch(o){}$$t.$b.bk=false;try{$$t.$b.bk=window.PointerEvent||window.navigator.pointerEnabled}catch(p){}if($$t.$b.bn()){this._z=false}$$t.$b.b1=this.b0();$$t.$b.by=this.bz();this.am(this._bt,"");this._ai=function(q){return true}},cw:function(a,b){return this.ac({__x:b._a,__y:b._b,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},b._h,b._i)},da:function(a,b){this.as({__x:b._a,__y:b._b,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})},ah:function(){return true},de:function(a,b){if(this.cu._n==0){this.aw({__x:b._a,__y:b._b,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},b._d);this.cg()}},dd:function(a,b){if(this.cu._n==2){this.a3({__x:b._a,__y:b._b,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},b._d);this.a6({__x:b._a,__y:b._b,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},b._d,b._e,b._c)}if(this.cu._n==1||this.cu._n==5){this.aq({__x:b._a,__y:b._b,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},true);this.au({__x:b._a,__y:b._b,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})}},df:function(a,b){},dg:function(a,b){this.cv=false;if(this.cu._n==0){this.ap({__x:b._a,__y:b._b,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},true);this.at({__x:b._a,__y:b._b,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})}},dh:function(a,b){this.av({__x:b._a,__y:b._b,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})},di:function(a,b){this.a5({__x:b._a,__y:b._b,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},b._d,b._e,b._c)},dj:function(a,b){this.a4({__x:b._a,__y:b._b,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},1);this.a7({__x:b._a,__y:b._b,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},1,1,1)},dc:function(a,b){this.cv=true;this.ax({__x:b._a,__y:b._b,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})},db:function(a,b){if(this.cu._n==0){this.ap({__x:b._a,__y:b._b,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},true)}},cz:function(){$$t.$b.bj=false;try{$$t.$b.bj=window.navigator.msPointerEnabled&&MSGesture!==undefined}catch(a){}$$t.$b.bk=false;try{$$t.$b.bk=window.PointerEvent||window.navigator.pointerEnabled}catch(b){}return $$t.$b.bn()},c1:null,dk:function(a,b,c){},am:function(a,b){var c=a;if(!this._bs.supportsDOMEvents()){return}var d=this.c9+b;var e=new $$4.x($$0.$c.$type,0);this.c1.add(d,e);this.dk(a,b,e);if(!$$t.$b.bn()){e.add(c.listen("mousemove",this.b8.runOn(this)));e.add(c.listen("mouseleave",this.b7.runOn(this)));e.add(c.listen("mousedown",this.b6.runOn(this)));e.add(c.listen("mouseup",this.ca.runOn(this)));e.add(this._bs.globalListen("window","mouseup",this.co.runOn(this)))}e.add(c.listen("keydown",this.b3.runOn(this)));e.add(c.listen("keyup",this.b5.runOn(this)));if($$t.$b.bn()){var source_=this._bt.getNativeElement();$$t.$b.ci(source_);var f=this._bt.getNativeElement();if($$t.$b.bk){e.add(c.listen("pointerdown",this.dn.runOn(this)));e.add(c.listen("pointerup",this.dr.runOn(this)));e.add(c.listen("pointercancel",this.dm.runOn(this)));e.add(c.listen("pointermove",this.dp.runOn(this)));e.add(c.listen("pointerleave",this.dq.runOn(this)));e.add(c.listen("lostpointercapture",this.dl.runOn(this)))}else{e.add(c.listen("MSPointerDown",this.dn.runOn(this)));e.add(c.listen("MSPointerUp",this.dr.runOn(this)));e.add(c.listen("MSPointerCancel",this.dm.runOn(this)));e.add(c.listen("MSPointerMove",this.dp.runOn(this)));e.add(c.listen("MSPointerLeave",this.dq.runOn(this)));e.add(c.listen("MSLostPointerCapture",this.dl.runOn(this)))}}else{e.add(c.listen("touchstart",this.du.runOn(this)));e.add(c.listen("touchmove",this.dt.runOn(this)));e.add(c.listen("touchend",this.ds.runOn(this)))}if(this._bm){e.add(c.listen("wheel",this.cb.runOn(this)))}else{e.add(c.listen("DOMMouseScroll",this.b9.runOn(this)));e.add(c.listen("mousewheel",this.b9.runOn(this)))}},dx:null,cv:false,dr:function(e_){var a=this.cy(e_);var b=this.c2.indexOf(e_.originalEvent.pointerId);if(b>=0){this.c2.removeAt(b);this.c3.removeAt(b);this.bx(this.c2.count())}if(a){this.ds(e_)}else{this.ca(e_)}},dl:function(e_){var a=this.cy(e_)},dm:function(e_){var a=this.cy(e_);var b=this.c2.indexOf(e_.originalEvent.pointerId);if(b>=0){this.c2.removeAt(b);this.c3.removeAt(b);this.bx(this.c2.count())}},c2:null,c3:null,_cx:false,dn:function(e_){var a=this.cy(e_);$$t.$b.ch(e_);this.c2.add(e_.originalEvent.pointerId);this.c3.add({__x:e_.pageX,__y:e_.pageY,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});this.bx(this.c2.count());if(a){this.cn(e_)}else{this.cm(e_)}this.cl(e_);if(!this._cx&&this.aa(this._cs,a,false)){var eventSource_=this._bt.getNativeElement();if($$t.$b.bk){eventSource_.setPointerCapture(e_.originalEvent.pointerId)}else{eventSource_.msSetPointerCapture(e_.originalEvent.pointerId)}}if(a){this.du(e_)}else{this.b6(e_)}},cy:function(e_){var pointerEvent_=e_.originalEvent;var a=false;if($$t.$b.bk){a=pointerEvent_.pointerType=="touch"}else{a=pointerEvent_.pointerType==pointerEvent_.MSPOINTER_TYPE_TOUCH}return a},dp:function(e_){var a=this.cy(e_);$$t.$b.ch(e_);this.cl(e_);this.cn(e_);var b=this.c2.indexOf(e_.originalEvent.pointerId);if(b>=0){this.c3.__inner[b]={__x:e_.pageX,__y:e_.pageY,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}if(this._cx&&this.aa(this._cs,a,false)){var eventSource_=this._bt.getNativeElement();if($$t.$b.bk){eventSource_.setPointerCapture(e_.originalEvent.pointerId)}else{eventSource_.msSetPointerCapture(e_.originalEvent.pointerId)}}if(a){this.dt(e_)}else{this.b8(e_)}},dq:function(e_){var a=this.cy(e_);if(a){}else{this.b7(e_)}},du:function(e_){this._bi=true;this.cl(e_);this.cn(e_);this.dx=this._cr;if(this.aa(this._cs,true,false)){if(!this._z||this.bx()>1){if(this.bl()){this.bl(false);this.b2()}this.cj(e_)}else{this.bl(true);this.cv=false}this.a1(this._cs,false,true);this.ay(this._cs);this.ar(this._cr,true);this.cu.a6(this.c5(e_))}},c4:null,c5:function(e_){var a=$$t.$b.ct(this._bt);var b=this._bc;this.c4.clear();if($$t.$b.bn()){var c=this.c2.count();for(var j_=0;j_<c;j_++){var d=this.c2.__inner[j_];var e=this.c3.__inner[j_];var f=e.__x;var g=e.__y;var h=new $$t.d(1);h._a=f-a.left()-b.left();h._b=g-a.top()-b.top();this.c4.add(h)}}else{var i=e_.originalEvent.targetTouches.length;for(var j_=0;j_<i;j_++){var j=e_.originalEvent.targetTouches[j_].pageX;var k=e_.originalEvent.targetTouches[j_].pageY;var l=new $$t.d(1);l._a=j-a.left()-b.left();l._b=k-a.top()-b.top();this.c4.add(l)}}return this.c4},dt:function(a){this._bi=true;this.cl(a);this.cn(a);if(this.bl()){if(this.aa(this._cs,true,false)&&this.c0()||this.cv==true||this.cu._n==2){this.bl(false);this.b2()}}if((this.cv||this.cu._n==2||this.aa(this._cs,true,false))&&!this.bl()){this.cv=true;this.cj(a);this.cu.a6(this.c5(a))}},c0:function(){var a={__x:this.dx.__x-this._cr.__x,__y:this.dx.__y-this._cr.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};if(Math.abs(a.__x)>Math.abs(a.__y)){a.__y=0}if(Math.abs(a.__y)>Math.abs(a.__x)){a.__x=0}return this._aj(a)},ds:function(a){this._bi=false;this.cl(a);this.cn(a);if(this.bl()){this.bl(false);this.b2()}var b=this.cu._n;var c=this.aa(this._cs,true,false)||b!=0;if(this.cu._n!=2&&this.cu._n!=5){this.a1(this._cs,false,true);this.a2(this._cs)}var d=this.cu._n==2;if(d){c=true;this.ap({__x:this.cu.as(),__y:this.cu.at(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},true)}this.cu.a6(this.c5(a));if(this.cu._n==0){this.cg()}if(!d&&this.cu._n==0){this.ap({__x:this.cu.as(),__y:this.cu.at(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},true)}if(this.cu._n!=0){c=true}if(c){this.cj(a)}},dv:function(a){if(this.c1.containsKey(a)){var b=this.c1.item(a);this.c1.remove(a);for(var c=0;c<b.count();c++){b.__inner[c]()}b.clear()}},a8:function(a,b){var c=a;var d=this.c9+b;this.dv(d)},an:function(){if(this._bt==null){return}this.dv(this.c9);this._bt=null},register:function(){TypeRegistrar.register("CanvasGestureDOMEventProxy",$$t.$a.$type)},$type:new $.ig.Type("CanvasGestureDOMEventProxy",$$t.$b.$type)},true);$c("DOMEventProxy:c","BaseDOMEventProxy",{c5:0,c6:null,cv:false,_c2:null,init:function(a,b,c){this.c5=0;this.c6="";this.cv=false;this.cy=new $$4.h(String,$$4.$x.$type.specialize($$0.$c.$type),0);this.c3=-1;this.du=null;this.c0=0;this.c1=0;this.cz=5;this.cu=false;this.ds=null;$$t.$b.init.call(this);this._bm=c;this._bs=b;this._aj=function(d){return true};this._z=false;$$t.$c.c4++;this.c5=$$t.$c.c4;this.c6=".DOMProxy"+this.c5.toString();this._a9=0;this._bt=a;$$t.$b.bj=false;try{$$t.$b.bj=window.navigator.msPointerEnabled&&MSGesture!==undefined}catch(d){}$$t.$b.bk=false;try{$$t.$b.bk=window.PointerEvent||window.navigator.pointerEnabled}catch(e){}$$t.$b.b1=this.b0();$$t.$b.by=this.bz();this.am(this._bt,"");this._ai=function(f){return true}},cy:null,c7:function(a,b,c){},am:function(a,b){var c=a;var d=this.c6+b;if(!this._bs.supportsDOMEvents()){return}var e=new $$4.x($$0.$c.$type,0);this.cy.add(d,e);this.c7(a,b,e);if(!$$t.$b.bn()){e.add(c.listen("mousemove",this.b8.runOn(this)));e.add(c.listen("mouseleave",this.b7.runOn(this)));e.add(c.listen("mousedown",this.b6.runOn(this)));e.add(c.listen("mouseup",this.ca.runOn(this)));e.add(this._bs.globalListen("window","mouseup",this.co.runOn(this)))}e.add(c.listen("keydown",this.b3.runOn(this)));e.add(c.listen("keyup",this.b5.runOn(this)));var source_=this._bt.getNativeElement();if(!this.ab()){$$t.$b.ci(source_)}if($$t.$b.bn()){var f=this._bt.getNativeElement();if(window.MSGesture!==undefined){var g=new MSGesture;g.target=f;this._c2=g;e.add(c.listen("MSGestureStart",this.da.runOn(this)));e.add(c.listen("MSGestureChange",this.c8.runOn(this)));e.add(c.listen("MSGestureEnd",this.c9.runOn(this)))}if($$t.$b.bk){e.add(c.listen("pointerdown",this.dd.runOn(this)));e.add(c.listen("pointerup",this.dg.runOn(this)));e.add(c.listen("pointercancel",this.dc.runOn(this)));e.add(c.listen("pointermove",this.de.runOn(this)));e.add(c.listen("pointerout",this.df.runOn(this)));e.add(c.listen("lostpointercapture",this.db.runOn(this)))}else{e.add(c.listen("MSPointerDown",this.dd.runOn(this)));e.add(c.listen("MSPointerUp",this.dg.runOn(this)));e.add(c.listen("MSPointerCancel",this.dc.runOn(this)));e.add(c.listen("MSPointerMove",this.de.runOn(this)));e.add(c.listen("MSPointerOut",this.df.runOn(this)));e.add(c.listen("MSLostPointerCapture",this.db.runOn(this)))}}else{e.add(c.listen("gesturestart",this.da.runOn(this)));e.add(c.listen("gesturechange",this.c8.runOn(this)));e.add(c.listen("gestureend",this.c9.runOn(this)));e.add(c.listen("touchstart",this.dj.runOn(this)));e.add(c.listen("touchmove",this.di.runOn(this)));e.add(c.listen("touchend",this.dh.runOn(this)))}if(this._bm){e.add(c.listen("wheel",this.cb.runOn(this)))}else{e.add(c.listen("DOMMouseScroll",this.b9.runOn(this)));e.add(c.listen("mousewheel",this.b9.runOn(this)))}},dg:function(e_){var a=this.cw(e_);if(a){this.bx(this.bx()-1);if(this.bx()<0){this.bx(0)}}if(this.bx()<2&&this.cv&&a){this.cv=false;var b=e_.originalEvent.scale;this.aw(this._cr,b)}else{if(a){this.dh(e_)}else{this.ca(e_)}}},db:function(e_){var a=this.cw(e_);if(a){(function($obj){var $value=$obj.bx();$obj.bx($value-1);return $value})(this);if(this.bx()<0){this.bx(0)}}if(this.bx()<2&&this.cv&&a){this.cv=false;var b=e_.originalEvent.scale;this.aw(this._cr,b)}},dc:function(e_){var a=this.cw(e_);if(a){(function($obj){var $value=$obj.bx();$obj.bx($value-1);return $value})(this);if(this.bx()<0){this.bx(0)}}if(this.bx()<2&&this.cv&&a){this.cv=false;var b=e_.originalEvent.scale;this.aw(this._cr,b)}},dd:function(e_){var a=this.cw(e_);if(this._c2!=null&&a){(function($obj){var $value=$obj.bx();$obj.bx($value+1);return $value})(this);this._c2.addPointer(e_.originalEvent.pointerId)}var eventSource_=this._bt.getNativeElement();if($$t.$b.bk){eventSource_.setPointerCapture(e_.originalEvent.pointerId)}else{eventSource_.msSetPointerCapture(e_.originalEvent.pointerId)}if(this.bx()>1&&!this.cv&&a){this.cv=true;this.cn(e_);var b=e_.originalEvent.scale;this.a4(this._cr,b)}else{if(a){this.dj(e_)}else{this.b6(e_)}}},cw:function(e_){var pointerEvent_=e_.originalEvent;var a=false;if($$t.$b.bk){a=pointerEvent_.pointerType=="touch"}else{a=pointerEvent_.pointerType==pointerEvent_.MSPOINTER_TYPE_TOUCH}return a},de:function(e_){var a=this.cw(e_);if(this.cv){return}if(a){this.di(e_)}else{this.b8(e_)}},df:function(e_){var a=this.cw(e_);if(this.cv){return}if(a){}else{this.b7(e_)}},da:function(e_){this._bi=true;this.cl(e_);this.cn(e_);this.dl();if(this.aa(this._cs,true,false)){this.cj(e_);if($$t.$b.bn()&&this.bx()<2){return}var a=e_.originalEvent.scale;this.a4(this._cr,a)}},c8:function(e_){this._bi=true;this.cl(e_);this.cn(e_);if(this.aa(this._cs,true,false)){this.cj(e_);if($$t.$b.bn()&&this.bx()<2){return}var a=e_.originalEvent.scale;this.a3(this._cr,a)}},c9:function(e_){this.cj(e_);var a=e_.originalEvent.scale;this._bi=false;this.cl(e_);this.cn(e_);if(!$$t.$b.bn()||this.cv){this.aw(this._cr,a)}},dt:null,dj:function(e_){this._bi=true;this.cl(e_);this.cn(e_);this.dt=this._cr;if(this.aa(this._cs,true,false)){if(!this._z){this.cj(e_)}else{this.bl(true)}this.a1(this._cs,false,true);this.ay(this._cs);this.ar(this._cr,true);this.dp()}},c3:0,du:null,c0:0,c1:0,cz:0,dp:function(){if(this.c3==-1){this.c0=this._cs.__x;this.c1=this._cs.__y;this.c3=this._bs.setTimeout(this.dm.runOn(this),1500)}},dl:function(){if(Math.abs(this.c0-this._cs.__x)>this.cz||Math.abs(this.c1-this._cs.__y)>this.cz){this.dq()}},dq:function(){if(this.c3!=-1){window.clearTimeout(this.c3);this.c3=-1}},dm:function(){this.c3=-1;if(this.bl()){this.bl(false);this.b2()}this.ax(this._cr)},cu:false,ds:null,di:function(a){this._bi=true;this.cl(a);this.cn(a);if(this.bl()){if(this.aa(this._cs,true,false)&&this.cx()){this.bl(false);this.b2()}}this.dl();this.dr();if(this.aa(this._cs,true,false)&&this.bx()==1&&!this.bl()){this.cj(a);if(!this.cu){this.cu=true;this.ds=this._cr;this.av(this.ds)}else{this.a1(this._cs,true,true);this.aq(this._cr,true);this.au(this._cr)}}},cx:function(){var a={__x:this.dt.__x-this._cr.__x,__y:this.dt.__y-this._cr.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};if(Math.abs(a.__x)<2&&Math.abs(a.__y)<2){return false}if(Math.abs(a.__x)>Math.abs(a.__y)){a.__y=0}if(Math.abs(a.__y)>Math.abs(a.__x)){a.__x=0}return this._aj(a)},dh:function(a){this._bi=false;this.cl(a);this.cn(a);this.dq();if(this.bl()){this.bl(false);this.b2()}this.cj(a);this.a1(this._cs,false,true);this.a2(this._cs);if(this.bx()==0){this.dn(this._cs);this.cg()}if(this.cu&&this.bx()==0){this.cu=false;this.ds=null;this.at(this._cr);this.cg()}this.ap(this._cr,true)},dn:function(a){if($$a.$ae.l_op_Equality(this.du,null)){this.du=new $$a.ae(0,a.__x-50,a.__y-50,100,100);this._bs.setTimeout(this.dr.runOn(this),500)}else{if(a.__x>=this.du.x()&&a.__x<=this.du.right()&&a.__y>=this.du.y()&&a.__y<=this.du.bottom()){this.dr();this.as(a)}}},dr:function(){this.du=null},dk:function(a){if(this.cy.containsKey(a)){var b=this.cy.item(a);this.cy.remove(a);for(var c=0;c<b.count();c++){b.__inner[c]()}b.clear()}},a8:function(a,b){var c=a;var d=this.c6+b;this.dk(d)},an:function(){if(this._bt==null){return}this.dk(this.c6);this._bt=null},$type:new $.ig.Type("DOMEventProxy",$$t.$b.$type)},true);$c("TouchPointInfo:d","Object",{init:function(a,b,c){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$.ig.$op.init.call(this);this._a=b;this._b=c},init1:function(a){$.ig.$op.init.call(this)},_a:0,_b:0,$type:new $.ig.Type("TouchPointInfo",$.ig.$ot)},true);$c("TouchGestureRecognizer:f","Object",{init:function(a){this.p=new $$t.l;this.am=NaN;this.an=NaN;this.al=NaN;this.aj=1;this.ak=1;this.y=1;this.x=10;this.ay=-1;this.af=1;this.ag=1;this.ac=1;this.ad=NaN;this.ae=NaN;this.o=null;this.au=800;this.aw=-1;this.ax=-1;$.ig.$op.init.call(this);this.b=a},_n:0,p:null,t:0,u:0,aa:0,ab:0,v:0,w:0,am:0,an:0,al:0,aj:0,ak:0,y:0,x:0,av:function(a){if(arguments.length===1){this.x=a;return a}else{return this.x}},as:function(){return this.t},at:function(){return this.u},bf:function(){return{__x:Math.abs(this.v-this.aa),__y:Math.abs(this.w-this.ab),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},bd:function(a){var b=false;if(!$.ig.util.isNaN(this.aa)&&!$.ig.util.isNaN(this.ab)){this.v=a.__inner[0]._a;this.w=a.__inner[0]._b;if(Math.abs(a.__inner[0]._a-this.aa)>this.x||Math.abs(a.__inner[0]._b-this.ab)>this.x){b=true}}if(b){this.bc()}},a6:function(a){var b=a.count();var c=this._n;var d=false;var e=false;var f=false;var g=false;var h=false;var i=false;var j=false;var k=false;var l=0;var m=0;var n=0;var o=this._n;if(b>0&&b<2){switch(this._n){case 5:c=4;e=true;j=true;break;case 0:c=4;e=true;break;case 2:c=1;j=true;g=true;break}}if(b>1){switch(this._n){case 5:c=2;h=true;k=true;break;case 4:f=true;c=2;h=true;break;case 0:c=2;h=true;break;case 1:c=2;i=true;h=true;break}}if(b==0){switch(this._n){case 4:if(this.r(new $$t.d(0,this.t,this.u))){c=0;f=true;if(this.doubleTapped!=null){this.doubleTapped(this,this.c())}}else{f=true;c=0}break;case 1:c=0;i=true;break;case 2:c=0;g=true;break;case 3:c=0;d=true;break}}if(k){if(j){if(this.panEnding!=null){this.panEnding(this,this.c())}if(this.manipulationEnding!=null){this.manipulationEnding(this,this.c())}}this.a1()}if(e){this.aa=a.__inner[0]._a;this.ab=a.__inner[0]._b}if(c==4){if(!$.ig.util.isNaN(this.aa)&&!$.ig.util.isNaN(this.ab)){this.v=a.__inner[0]._a;this.w=a.__inner[0]._b;if(Math.abs(a.__inner[0]._a-this.aa)>this.x||Math.abs(a.__inner[0]._b-this.ab)>this.x){f=true;j=true;c=1}}}var p=0;var q=0;for(var r=0;r<b;r++){p+=a.__inner[r]._a;q+=a.__inner[r]._b}p/=b;q/=b;if(b==0){p=this.ad;q=this.ae}this.t=p;this.u=q;this.p.g(this.t,this.u,this.a0());if(h){var s=a.__inner[0]._a-a.__inner[1]._a;var t=a.__inner[0]._b-a.__inner[1]._b;this.am=Math.abs(s);this.an=Math.abs(t);this.al=Math.sqrt(s*s+t*t);if(this.am<1){this.am=1}if(this.an<1){this.an=1}if(this.al<1){this.al=1}}if(c==2){var u=a.__inner[0]._a-a.__inner[1]._a;var v=a.__inner[0]._b-a.__inner[1]._b;l=Math.abs(u);m=Math.abs(v);n=Math.sqrt(u*u+v*v);if(l<1){l=1}if(m<1){m=1}if(n<1){n=1}this.aj=l/this.am;this.ak=m/this.an;this.y=n/this.al}else{this.am=NaN;this.an=NaN;this.aj=1;this.ak=1;this.ah=1;this.ai=1;this.z=1}this._n=c;if(o==0&&this._n==1||this._n==2){if(this.manipulationStarting!=null){this.manipulationStarting(this,this.c())}}if(g){this.a5()}if(i){this.a4()}if(d){this.a3()}if(f){this.bc()}if(j){this.ba()}if(e){this.a9()}if(h){this.bb()}if(this._n==2){this.ah=this.aj/this.af;this.ai=this.ak/this.ag;this.z=this.y/this.ac;this.aq=this.t-this.ad;this.ar=this.u-this.ae;this.af=this.af*this.ah;this.ag=this.ag*this.ai;this.ac=this.ac*this.z;this.ad=this.t;this.ae=this.u;if(this.manipulationChanging!=null){this.manipulationChanging(this,this.c())}}if(this._n==1){this.aq=this.t-this.ad;this.ar=this.u-this.ae;this.ad=this.t;this.ae=this.u;if(this.manipulationChanging!=null){this.manipulationChanging(this,this.c())}}this.ad=this.t;this.ae=this.u;if((i||g)&&this._n==0){if(this.manipulationEnding!=null){this.manipulationEnding(this,this.c())}}},ay:0,ao:0,ap:0,r:function(a){var b=this.a0();if(b-this.ay<500){if(Math.abs(a._a-this.ao)<50&&Math.abs(a._b-this.ap)<50){return true}}this.ao=a._a;this.ap=a._b;this.ay=b;return false},a9:function(){this.ax=this.a0();if(!this.q){this.q=true;this.b.executeDelayed(this.a2.runOn(this),1e3)}},a2:function(){if(!this.q){return}var a=this.a0();if(a-this.ax>=1e3){this.a8()}else{this.b.executeDelayed(this.a2.runOn(this),1e3-(a-this.ax))}},bc:function(){this.q=false},a5:function(){this.p.f();if(this.zoomEnding!=null){this.zoomEnding(this,this.c());
}},a8:function(){if(this.holdStarting!=null){this.holdStarting(this,this.c())}},af:0,ag:0,ac:0,ad:0,ae:0,bb:function(){this.p.f();this.a1();this.af=1;this.ag=1;this.ac=1;this.ad=this.t;this.ae=this.u;if(this.zoomStarting!=null){this.zoomStarting(this,this.c())}},a3:function(){if(this.holdEnding!=null){this.holdEnding(this,this.c())}},ba:function(){this.p.f();this.a1();this.ad=this.t;this.ae=this.u;if(this.panStarting!=null){this.panStarting(this,this.c())}},a1:function(){if(this._n==5){this._n=0}},o:null,au:0,aw:0,be:function(){if(this._n!=5){return}if(this.o==null||this.aw==-1){this.a1();return}var a=this.a0();var b=a-this.aw;if(b<16){this.a7(this.be.runOn(this));return}this.aw=a;var c=b/1e3;var d=this.au*c;var e=this.o;if(e._a>0){e._a-=d;if(e._a<0){e._a=0}}if(e._a<0){e._a+=d;if(e._a>0){e._a=0}}if(e._b>0){e._b-=d;if(e._b<0){e._b=0}}if(e._b<0){e._b+=d;if(e._b>0){e._b=0}}if(e._a==0&&e._b==0){this._n=0;if(this.panEnding!=null){this.panEnding(this,this.c())}if(this.manipulationEnding!=null){this.manipulationEnding(this,this.c())}this.a1();return}this.t+=e._a*c;this.u+=e._b*c;this.aq=this.t-this.ad;this.ar=this.u-this.ae;this.ad=this.t;this.ae=this.u;if(this.manipulationChanging!=null){this.manipulationChanging(this,this.c())}this.a7(this.be.runOn(this))},b:null,q:false,ax:0,s:function(a){if(this._n==5){this.a1()}this.aw=this.a0();this.o=a;this._n=5;this.a7(this.be.runOn(this));if(this.flingStarting!=null){if(!this.flingStarting(this,this.c())){this.a1();return false}}return true},a7:function(a){this.b.enqueueAnimationAction(a)},a4:function(){var a=this.p.b(this.a0());if((a._a>5||a._a<-5||a._b>5||a._b<-5)&&this._n==0){this._n=1;if(!this.s(a)){if(this._n==0){if(this.panEnding!=null){this.panEnding(this,this.c())}if(this.manipulationEnding!=null){this.manipulationEnding(this,this.c())}}}}else{if(this.panEnding!=null){this.panEnding(this,this.c())}if(this._n==0){if(this.manipulationEnding!=null){this.manipulationEnding(this,this.c())}}}},c:function(){var a=new $$t.i;a._a=this.t;a._b=this.u;a._d=this.ah;a._e=this.ai;a._c=this.z;a._f=this.aq;a._g=this.ar;a._h=this.o!=null?this.o._a:this.p.b(this.a0())._a;a._i=this.o!=null?this.o._b:this.p.b(this.a0())._b;return a},a0:function(){return this.b.getCurrentRelativeTime()},holdStarting:null,holdEnding:null,panStarting:null,manipulationStarting:null,manipulationChanging:null,manipulationEnding:null,panEnding:null,zoomStarting:null,zoomEnding:null,flingStarting:null,doubleTapped:null,ah:0,ai:0,z:0,aq:0,ar:0,$type:new $.ig.Type("TouchGestureRecognizer",$.ig.$ot)},true);$c("TouchGestureEventArgs:i","Object",{init:function(){$.ig.$op.init.call(this)},_d:0,_e:0,_c:0,_f:0,_g:0,_a:0,_b:0,_h:0,_i:0,$type:new $.ig.Type("TouchGestureEventArgs",$.ig.$ot)},true);$c("TouchHistoryItem:j","Object",{init:function(){$.ig.$op.init.call(this)},_a:0,_b:0,_c:0,$type:new $.ig.Type("TouchHistoryItem",$.ig.$ot)},true);$c("TouchVelocityReading:k","Object",{init:function(){$.ig.$op.init.call(this)},_a:0,_b:0,$type:new $.ig.Type("TouchVelocityReading",$.ig.$ot)},true);$c("TouchVelocityTracker:l","Object",{init:function(){this.a=new Array(5);this.d=0;$.ig.$op.init.call(this)},a:null,d:0,g:function(a,b,c){if($.ig.util.isNaN(a)||$.ig.util.isNaN(b)){return}var d=function(){var $ret=new $$t.j;$ret._a=a;$ret._b=b;$ret._c=c;return $ret}();this.a[this.d]=d;this.d++;if(this.d>5-1){this.d=0}},f:function(){this.d=0;for(var a=0;a<5;a++){this.a[a]=null}},b:function(a){var b=a;var c=NaN;var d=NaN;var e=NaN;var f=NaN;var g=0;var h=0;var i=true;for(var j=0;j<5;j++){if(this.a[j]==null){continue}var k=this.a[j]._c-b>300;if(k){continue}if(i){i=false;c=this.a[j]._a;d=this.a[j]._a;e=this.a[j]._b;f=this.a[j]._b;g=this.a[j]._c;h=this.a[j]._c}else{if(this.a[j]._c<g){g=this.a[j]._c;d=this.a[j]._a;f=this.a[j]._b}if(this.a[j]._c>h){h=this.a[j]._c;c=this.a[j]._a;e=this.a[j]._b}}}if(g==h||$.ig.util.isNaN(c)||$.ig.util.isNaN(d)||$.ig.util.isNaN(e)||$.ig.util.isNaN(f)){return function(){var $ret=new $$t.k;$ret._a=NaN;$ret._b=NaN;return $ret}()}return function(){var $ret=new $$t.k;$ret._a=(c-d)/((h-g)/1e3);$ret._b=(e-f)/((h-g)/1e3);return $ret}()},$type:new $.ig.Type("TouchVelocityTracker",$.ig.$ot)},true);$$t.$b.bj=false;$$t.$b.bk=false;$$t.$b.b1=0;$$t.$b.by=0;$$t.$a.c7=0;$$t.$c.c4=0})($);/*!@license
* Infragistics.Web.ClientUI infragistics.dv_visualdata.js 19.1.20191.172
*
* Copyright (c) 2011-2019 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($){$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$ap=$$t;$$0=$.ig.globalDefs.$$0;$$4=$.ig.globalDefs.$$4;$$1=$.ig.globalDefs.$$1;$$w=$.ig.globalDefs.$$w;$$6=$.ig.globalDefs.$$6;$$a=$.ig.globalDefs.$$a;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["IVisualData:a"]);var $a=$.ig.intDivide,$b=$.ig.util.cast,$c=$.ig.util.defType,$d=$.ig.util.defEnum,$e=$.ig.util.getBoxIfEnum,$f=$.ig.util.getDefaultValue,$g=$.ig.util.getEnumValue,$h=$.ig.util.getValue,$i=$.ig.util.intSToU,$j=$.ig.util.nullableEquals,$k=$.ig.util.nullableIsNull,$l=$.ig.util.nullableNotEquals,$m=$.ig.util.toNullable,$n=$.ig.util.toString$1,$o=$.ig.util.u32BitwiseAnd,$p=$.ig.util.u32BitwiseOr,$q=$.ig.util.u32BitwiseXor,$r=$.ig.util.u32LS,$s=$.ig.util.unwrapNullable,$t=$.ig.util.wrapNullable,$u=String.fromCharCode,$v=$.ig.util.castObjTo$t,$w=$.ig.util.compareSimple,$x=$.ig.util.tryParseNumber,$y=$.ig.util.tryParseNumber1,$z=$.ig.util.numberToString,$0=$.ig.util.numberToString1,$1=$.ig.util.parseNumber,$2=$.ig.util.compare,$3=$.ig.util.replace,$4=$.ig.util.stringFormat,$5=$.ig.util.stringFormat1,$6=$.ig.util.stringFormat2,$7=$.ig.util.stringCompare1,$8=$.ig.util.stringCompare2,$9=$.ig.util.stringCompare3;$c("IVisualData:a","Object",{$type:new $.ig.Type("IVisualData",null)},true);$c("PrimitiveVisualData:p","Object",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$.ig.$op.init.call(this)},init1:function(a,b){$.ig.$op.init.call(this);this.name(b);this.tags(new $$t.r);this.appearance(new $$t.n)},_appearance:null,appearance:function(a){if(arguments.length===1){this._appearance=a;return a}else{return this._appearance}},_tags:null,tags:function(a){if(arguments.length===1){this._tags=a;return a}else{return this._tags}},type:function(){},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},scaleByViewport:function(a){this.appearance().m(a)},getPoints:function(a){var b=new $$4.x($$4.$x.$type.specialize($$t.$i.$type),0);this.getPointsOverride(b,a);return b},getPointsOverride:function(a,b){},serialize:function(){var a=new $$6.aj(0);a.u("{");a.u("appearance: "+(this.appearance()!=null?this.appearance().serialize():"null")+", ");a.u("tags: [");for(var b=0;b<this.tags().count();b++){if(b!=0){a.l(", ")}a.l('"'+this.tags().__inner[b]+'"')}a.u("],");a.u('type: "'+this.type()+'", ');a.u('name: "'+this.name()+'", ');a.u(this.e());a.u("}");return a.toString()},e:function(){return""},$type:new $.ig.Type("PrimitiveVisualData",$.ig.$ot,[$$t.$a.$type])},true);$c("PrimitiveVisualDataList:b","List$1",{init:function(){$$4.$x.init.call(this,$$t.$p.$type,0)},containingTag:function(a){var b=new $$t.b;for(var c=0;c<this.count();c++){var d=this.__inner[c];for(var e=0;e<d.tags().count();e++){if(d.tags().__inner[e]==a){b.add(d);break}}}return b},serialize:function(){var a=new $$6.aj(0);a.l("{ items: [");for(var b=0;b<this.count();b++){if(b!=0){a.l(", ")}a.l(this.__inner[b].serialize())}return a.toString()},$type:new $.ig.Type("PrimitiveVisualDataList",$$4.$x.$type.specialize($$t.$p.$type),[$$t.$a.$type])},true);$c("LabelAppearanceData:c","Object",{init:function(){$.ig.$op.init.call(this)},_text:null,text:function(a){if(arguments.length===1){this._text=a;return a}else{return this._text}},_horizontalAlignment:null,horizontalAlignment:function(a){if(arguments.length===1){this._horizontalAlignment=a;return a}else{return this._horizontalAlignment}},_verticalAlignment:null,verticalAlignment:function(a){if(arguments.length===1){this._verticalAlignment=a;return a}else{return this._verticalAlignment}},_textAlignment:null,textAlignment:function(a){if(arguments.length===1){this._textAlignment=a;return a}else{return this._textAlignment}},_textWrapping:null,textWrapping:function(a){if(arguments.length===1){this._textWrapping=a;return a}else{return this._textWrapping}},_textPosition:null,textPosition:function(a){if(arguments.length===1){this._textPosition=a;return a}else{return this._textPosition}},_labelBrush:null,labelBrush:function(a){if(arguments.length===1){this._labelBrush=a;return a}else{return this._labelBrush}},_labelBrushExtended:null,labelBrushExtended:function(a){if(arguments.length===1){this._labelBrushExtended=a;return a}else{return this._labelBrushExtended}},_angle:0,angle:function(a){if(arguments.length===1){this._angle=a;return a}else{return this._angle}},_opacity:0,opacity:function(a){if(arguments.length===1){this._opacity=a;return a}else{return this._opacity}},_visibility:false,visibility:function(a){if(arguments.length===1){this._visibility=a;return a}else{return this._visibility}},_font:null,font:function(a){if(arguments.length===1){this._font=a;return a}else{return this._font}},_fontFamily:null,fontFamily:function(a){if(arguments.length===1){this._fontFamily=a;return a}else{return this._fontFamily}},_fontSize:0,fontSize:function(a){if(arguments.length===1){this._fontSize=a;return a}else{return this._fontSize}},_fontWeight:null,fontWeight:function(a){if(arguments.length===1){this._fontWeight=a;return a}else{return this._fontWeight}},_fontStyle:null,fontStyle:function(a){if(arguments.length===1){this._fontStyle=a;return a}else{return this._fontStyle}},_fontStretch:null,fontStretch:function(a){if(arguments.length===1){this._fontStretch=a;return a}else{return this._fontStretch}},_marginLeft:0,marginLeft:function(a){if(arguments.length===1){this._marginLeft=a;return a}else{return this._marginLeft}},_marginRight:0,marginRight:function(a){if(arguments.length===1){this._marginRight=a;return a}else{return this._marginRight}},_marginTop:0,marginTop:function(a){if(arguments.length===1){this._marginTop=a;return a}else{return this._marginTop}},_marginBottom:0,marginBottom:function(a){if(arguments.length===1){this._marginBottom=a;return a}else{return this._marginBottom}},serialize:function(){var a=new $$6.aj(0);a.u("{");a.u('text: "'+(this.text()!=null?this.text():"")+'", ');if(this.textAlignment()!=null){a.u('textAlignment: "'+this.textAlignment()+'", ')}if(this.textWrapping()!=null){a.u('textWrapping: "'+this.textWrapping()+'", ')}a.u("labelBrush: "+(this.labelBrush()!=null?this.labelBrush().serialize():"null")+", ");a.u("labelBrushExtended: "+(this.labelBrushExtended()!=null?this.labelBrushExtended().serialize():"null")+", ");a.u("angle: "+this.angle()+", ");a.u("marginLeft: "+this.marginLeft()+", ");a.u("marginRight: "+this.marginRight()+", ");a.u("marginTop: "+this.marginTop()+", ");a.u("marginBottom: "+this.marginBottom()+", ");a.u("opacity: "+this.opacity()+", ");a.u("visibility: "+(this.visibility()?"true":"false")+", ");if(this.horizontalAlignment()!=null){a.u('horizontalAlignment: "'+this.horizontalAlignment()+'", ')}if(this.verticalAlignment()!=null){a.u('verticalAlignment: "'+this.verticalAlignment()+'", ')}if(this.font()!=null){a.u('font: "'+this.font()+'",')}if(this.fontFamily()!=null){a.u('fontFamily: "'+$3(this.fontFamily(),'"',"'")+'",')}if(this.fontWeight()!=null){a.u('fontWeight: "'+this.fontWeight()+'",')}if(this.fontStyle()!=null){a.u('fontStyle: "'+this.fontStyle()+'",')}if(this.fontStretch()!=null){a.u('fontStretch: "'+this.fontStretch()+'",')}a.u("fontSize: "+this.fontSize());a.u("}");return a.toString()},$type:new $.ig.Type("LabelAppearanceData",$.ig.$ot,[$$t.$a.$type])},true);$c("VisualDataPixelScalingOptions:d","Object",{init:function(){$.ig.$op.init.call(this)},$type:new $.ig.Type("VisualDataPixelScalingOptions",$.ig.$ot)},true);$c("LabelAppearanceDataList:e","List$1",{init:function(){$$4.$x.init.call(this,$$t.$c.$type,0)},serialize:function(){var a=new $$6.aj(0);a.l("{ items: [");for(var b=0;b<this.count();b++){if(b!=0){a.l(", ")}a.l(this.__inner[b].serialize())}return a.toString()},$type:new $.ig.Type("LabelAppearanceDataList",$$4.$x.$type.specialize($$t.$c.$type),[$$t.$a.$type])},true);$c("BrushAppearanceData:f","Object",{init:function(){$.ig.$op.init.call(this)},type:function(){},serialize:function(){return'{ type: "'+this.type()+'", '+this.a()+" }"},a:function(){return""},$type:new $.ig.Type("BrushAppearanceData",$.ig.$ot,[$$t.$a.$type])},true);$c("ColorData:g","Object",{init:function(){$.ig.$op.init.call(this)},_a:0,a:function(a){if(arguments.length===1){this._a=a;return a}else{return this._a}},_r:0,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},_g:0,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_b:0,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},serialize:function(){return"{ a: "+this.a()+", r: "+this.r()+", g: "+this.g()+", b: "+this.b()+"}"},a_1:function(a){var b=new $$t.g;b.a(a.l());b.r(a.o());b.g(a.n());b.b(a.m());return b},f:function(){var a=new $$a.ax;a.l(this.a());a.o(this.r());a.n(this.g());a.m(this.b());return a},$type:new $.ig.Type("ColorData",$.ig.$ot,[$$t.$a.$type])},true);$c("RectData:h","Object",{init:function(a,b,c,d){$.ig.$op.init.call(this);this.left(a);this.top(b);this.width(c);this.height(d)},_top:0,top:function(a){if(arguments.length===1){this._top=a;return a}else{return this._top}},_left:0,left:function(a){if(arguments.length===1){this._left=a;return a}else{return this._left}},_width:0,width:function(a){if(arguments.length===1){this._width=a;return a}else{return this._width}},_height:0,height:function(a){if(arguments.length===1){this._height=a;return a}else{return this._height}},serialize:function(){return"{ top: "+this.top()+", left: "+this.left()+", width: "+this.width()+", height: "+this.height()+"}"},b:function(a){var b=new $$t.h(a.left(),a.top(),a.width(),a.height());return b},h:function(){var a=new $$a.ae(0,this.left(),this.top(),this.width(),this.height());return a},isEmpty:function(){return this.width()<0},empty:function(){return new $$t.h(Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY)},$type:new $.ig.Type("RectData",$.ig.$ot,[$$t.$a.$type])},true);$c("PointData:i","Object",{init:function(a,b){$.ig.$op.init.call(this);this.x(a);this.y(b)},_x:0,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},_y:0,y:function(a){if(arguments.length===1){this._y=a;return a}else{return this._y}},serialize:function(){return"{ x: "+this.x()+", y: "+this.y()+"}"},b:function(a){var b=new $$t.i(a.__x,a.__y);return b},g:function(){var a=new $$a.y(0);a.__x=this.x();a.__y=this.y();return a},equals:function(a){var b=$b($$t.$i.$type,a);if(b==null){return false}return b.x()==this.x()&&b.y()==this.y()},getHashCode:function(){return this.x()*397^this.y()},empty:function(){return new $$t.i(Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY)},$type:new $.ig.Type("PointData",$.ig.$ot,[$$t.$a.$type])},true);$c("SizeData:j","Object",{init:function(a,b){$.ig.$op.init.call(this);this.width(a);this.height(b)},_width:0,width:function(a){if(arguments.length===1){this._width=a;return a}else{return this._width}},_height:0,height:function(a){if(arguments.length===1){this._height=a;return a}else{return this._height}},serialize:function(){return"{ width: "+this.width()+", height: "+this.height()+"}"},b:function(a){var b=new $$t.j(a.width(),a.height());return b},e:function(){var a=new $$a.af(1,this.width(),this.height());return a},empty:function(){return new $$t.j(Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY)},$type:new $.ig.Type("SizeData",$.ig.$ot,[$$t.$a.$type])},true);$c("SolidBrushAppearanceData:k","BrushAppearanceData",{init:function(){$$t.$f.init.call(this)},type:function(){return"solid"},_colorValue:null,colorValue:function(a){if(arguments.length===1){this._colorValue=a;return a}else{return this._colorValue}},a:function(){return"colorValue: "+(this.colorValue()!=null?this.colorValue().serialize():"null")},$type:new $.ig.Type("SolidBrushAppearanceData",$$t.$f.$type)},true);$c("LinearGradientBrushAppearanceData:l","BrushAppearanceData",{init:function(){$$t.$f.init.call(this);this.stops(new $$4.x($$t.$m.$type,0))},type:function(){return"linear"},_startX:0,startX:function(a){if(arguments.length===1){this._startX=a;return a}else{return this._startX}},_startY:0,startY:function(a){if(arguments.length===1){this._startY=a;return a}else{return this._startY}},_endX:0,endX:function(a){if(arguments.length===1){this._endX=a;return a}else{return this._endX}},_endY:0,endY:function(a){if(arguments.length===1){this._endY=a;return a}else{return this._endY}},_stops:null,stops:function(a){if(arguments.length===1){this._stops=a;return a}else{return this._stops}},a:function(){var a=new $$6.aj(0);a.l("startX: "+this.startX()+", endX: "+this.endX()+", startY: "+this.startY()+", endY: "+this.endY());a.l(", stops: [");for(var b=0;b<this.stops().count();b++){if(b>0){a.l(", ")}a.l(this.stops().__inner[b].serialize())}a.l("]");return a.toString()},$type:new $.ig.Type("LinearGradientBrushAppearanceData",$$t.$f.$type)},true);$c("GradientStopAppearanceData:m","Object",{init:function(){$.ig.$op.init.call(this)},_colorValue:null,colorValue:function(a){if(arguments.length===1){this._colorValue=a;return a}else{return this._colorValue}},_offset:0,offset:function(a){if(arguments.length===1){this._offset=a;return a}else{return this._offset}},serialize:function(){return"{ "+"colorValue: "+(this.colorValue()!=null?this.colorValue().serialize():"null")+", offset: "+this.offset()+" }"},$type:new $.ig.Type("GradientStopAppearanceData",$.ig.$ot,[$$t.$a.$type])},true);$c("PrimitiveAppearanceData:n","Object",{init:function(){$.ig.$op.init.call(this)},_stroke:null,stroke:function(a){if(arguments.length===1){this._stroke=a;return a}else{return this._stroke}},_strokeExtended:null,strokeExtended:function(a){if(arguments.length===1){this._strokeExtended=a;return a}else{return this._strokeExtended}},_fill:null,fill:function(a){if(arguments.length===1){this._fill=a;return a}else{return this._fill}},_fillExtended:null,fillExtended:function(a){if(arguments.length===1){this._fillExtended=a;return a}else{return this._fillExtended}},_strokeThickness:0,strokeThickness:function(a){if(arguments.length===1){this._strokeThickness=a;return a}else{return this._strokeThickness}},_isVisible:false,isVisible:function(a){if(arguments.length===1){this._isVisible=a;return a}else{return this._isVisible}},_opacity:0,opacity:function(a){if(arguments.length===1){this._opacity=a;return a}else{return this._opacity}},_canvasLeft:0,canvasLeft:function(a){if(arguments.length===1){this._canvasLeft=a;return a}else{return this._canvasLeft}},_canvasTop:0,canvasTop:function(a){if(arguments.length===1){this._canvasTop=a;return a}else{return this._canvasTop}},_canvaZIndex:0,canvaZIndex:function(a){if(arguments.length===1){this._canvaZIndex=a;return a}else{return this._canvaZIndex}},_dashArray:null,dashArray:function(a){if(arguments.length===1){this._dashArray=a;return a}else{return this._dashArray}},_dashCap:0,dashCap:function(a){if(arguments.length===1){this._dashCap=a;return a}else{return this._dashCap}},m:function(a){this.canvasLeft((this.canvasLeft()-a.left())/a.width());this.canvasTop((this.canvasTop()-a.top())/a.height())},serialize:function(){var a=new $$6.aj(0);a.u("{");a.u("stroke: "+(this.stroke()!=null?this.stroke().serialize():"null")+", ");a.u("fill: "+(this.fill()!=null?this.fill().serialize():"null")+", ");a.u("strokeExtended: "+(this.strokeExtended()!=null?this.strokeExtended().serialize():"null")+", ");a.u("fillExtended: "+(this.fillExtended()!=null?this.fillExtended().serialize():"null")+", ");a.u("strokeThickness: "+this.strokeThickness()+", ");a.u("isVisible: "+(this.isVisible()?"true":"false")+", ");a.u("opacity: "+this.opacity()+", ");a.u("canvasLeft: "+this.canvasLeft()+", ");a.u("canvasTop: "+this.canvasTop()+", ");a.u("canvasZIndex: "+this.canvaZIndex()+", ");a.u("dashArray: null, ");a.u("dashCap: "+this.dashCap());a.u("}");return a.toString()},$type:new $.ig.Type("PrimitiveAppearanceData",$.ig.$ot,[$$t.$a.$type])},true);$c("GetPointsSettings:o","Object",{init:function(){$.ig.$op.init.call(this)},_ignoreFigureStartPoint:false,ignoreFigureStartPoint:function(a){if(arguments.length===1){this._ignoreFigureStartPoint=a;return a}else{return this._ignoreFigureStartPoint}},$type:new $.ig.Type("GetPointsSettings",$.ig.$ot)},true);$c("RectangleVisualData:q","PrimitiveVisualData",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$p.init1.call(this,1,"rect1")},_width:0,width:function(a){if(arguments.length===1){this._width=a;return a}else{return this._width}},_height:0,height:function(a){if(arguments.length===1){this._height=a;return a}else{return this._height}},_radiusX:0,radiusX:function(a){if(arguments.length===1){this._radiusX=a;return a}else{return this._radiusX}},_radiusY:0,radiusY:function(a){if(arguments.length===1){this._radiusY=a;return a}else{return this._radiusY}},e:function(){return"width: "+this.width()+", height: "+this.height()+", radiusX: "+this.radiusX()+", radiusY: "+this.radiusY()},init1:function(a,b,c){$$t.$p.init1.call(this,1,b);this.width(c.width());this.height(c.height());this.radiusX(c.al());this.radiusY(c.am());$$t.$ai.p(this.appearance(),c)},type:function(){return"Rectangle"},scaleByViewport:function(a){$$t.$p.scaleByViewport.call(this,a);this.width(this.width()/a.width());this.height(this.height()/a.height())},getPointsOverride:function(a,b){var c=new $$4.x($$t.$i.$type,0);a.add(c);c.add(new $$t.i(this.appearance().canvasLeft(),this.appearance().canvasTop()));c.add(new $$t.i(this.appearance().canvasLeft()+this.width(),this.appearance().canvasTop()));c.add(new $$t.i(this.appearance().canvasLeft()+this.width(),this.appearance().canvasTop()+this.height()));c.add(new $$t.i(this.appearance().canvasLeft(),this.appearance().canvasTop()+this.height()))},$type:new $.ig.Type("RectangleVisualData",$$t.$p.$type)},true);$c("ShapeTags:r","List$1",{init:function(){$$4.$x.init.call(this,String,0)},$type:new $.ig.Type("ShapeTags",$$4.$x.$type.specialize(String))},true);$c("LineVisualData:s","PrimitiveVisualData",{type:function(){return"Line"},init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$p.init1.call(this,1,"line1")},init1:function(a,b,c){$$t.$p.init1.call(this,1,b);this.x1(c._aj);this.y1(c._al);this.x2(c._ak);this.y2(c._am);$$t.$ai.p(this.appearance(),c)},_x1:0,x1:function(a){if(arguments.length===1){this._x1=a;return a}else{return this._x1}},_y1:0,y1:function(a){if(arguments.length===1){this._y1=a;return a}else{return this._y1}},_x2:0,x2:function(a){if(arguments.length===1){this._x2=a;return a}else{return this._x2}},_y2:0,y2:function(a){if(arguments.length===1){this._y2=a;return a}else{return this._y2}},e:function(){return"x1: "+this.x1()+", y1: "+this.y1()+", x2: "+this.x2()+", y2: "+this.y2()},scaleByViewport:function(a){$$t.$p.scaleByViewport.call(this,a);this.x1((this.x1()-a.left())/a.width());this.y1((this.y1()-a.top())/a.height())},getPointsOverride:function(a,b){var c=new $$4.x($$t.$i.$type,0);a.add(c);c.add(new $$t.i(this.x1(),this.y1()));c.add(new $$t.i(this.x2(),this.y2()))},$type:new $.ig.Type("LineVisualData",$$t.$p.$type)},true);$c("PolyLineVisualData:t","PrimitiveVisualData",{type:function(){return"Polyline"},init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$p.init1.call(this,1,"polyLine1");this.points(new $$4.x($$t.$i.$type,0))},init1:function(a,b,c){$$t.$p.init1.call(this,1,b);this.points(new $$4.x($$t.$i.$type,0));for(var d=0;d<c._aj.count();d++){this.points().add($$t.$i.b(c._aj.__inner[d]))}$$t.$ai.p(this.appearance(),c)},_points:null,points:function(a){if(arguments.length===1){this._points=a;return a}else{return this._points}},e:function(){var a=new $$6.aj(0);a.u("points: [");for(var b=0;b<this.points().count();b++){if(b!=0){a.l(", ")}a.l("{ x: "+this.points().__inner[b].x()+", y: "+this.points().__inner[b].y()+"}")}a.u("]");return a.toString()},scaleByViewport:function(a){$$t.$p.scaleByViewport.call(this,a);for(var b=0;b<this.points().count();b++){this.points().__inner[b]=new $$t.i((this.points().__inner[b].x()-a.left())/a.width(),(this.points().__inner[b].y()-a.top())/a.height())}},getPointsOverride:function(a,b){var c=new $$4.x($$t.$i.$type,0);a.add(c);for(var d=0;d<this.points().count();d++){c.add(this.points().__inner[d])}},$type:new $.ig.Type("PolyLineVisualData",$$t.$p.$type)},true);$c("PolygonVisualData:u","PrimitiveVisualData",{type:function(){return"Polygon"},init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$p.init1.call(this,1,"polygon1");this.points(new $$4.x($$t.$i.$type,0))},init1:function(a,b,c){$$t.$p.init1.call(this,1,b);this.points(new $$4.x($$t.$i.$type,0));for(var d=0;d<c._aj.count();d++){this.points().add($$t.$i.b(c._aj.__inner[d]))}$$t.$ai.p(this.appearance(),c)},_points:null,points:function(a){if(arguments.length===1){this._points=a;return a}else{return this._points}},e:function(){var a=new $$6.aj(0);a.u("points: [");for(var b=0;b<this.points().count();b++){if(b!=0){a.l(", ")}a.l("{ x: "+this.points().__inner[b].x()+", y: "+this.points().__inner[b].y()+"}")}a.u("]");return a.toString()},scaleByViewport:function(a){$$t.$p.scaleByViewport.call(this,a);for(var b=0;b<this.points().count();b++){this.points().__inner[b]=new $$t.i((this.points().__inner[b].x()-a.left())/a.width(),(this.points().__inner[b].y()-a.top())/a.height())}},getPointsOverride:function(a,b){var c=new $$4.x($$t.$i.$type,0);a.add(c);for(var d=0;d<this.points().count();d++){c.add(this.points().__inner[d])}},$type:new $.ig.Type("PolygonVisualData",$$t.$p.$type)},true);$c("PathVisualData:v","PrimitiveVisualData",{type:function(){return"Path"},init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$$t.$p.init1.call(this,1,"path1");this.data(new $$4.x($$t.$w.$type,0))},init1:function(a,b,c){$$t.$p.init1.call(this,1,b);this.data($$t.$ai.g(c._aj));$$t.$ai.p(this.appearance(),c)},init2:function(a,b,c){$$t.$p.init1.call(this,1,b);this.data($$t.$ai.h(c));$$t.$ai.p(this.appearance(),c)},_data:null,data:function(a){if(arguments.length===1){this._data=a;return a}else{return this._data}},e:function(){var a=new $$6.aj(0);a.u("data: [");for(var b=0;b<this.data().count();b++){if(b!=0){a.l(", ")}a.l(this.data().__inner[b]!=null?this.data().__inner[b].serialize():"null")}a.u("]");return a.toString()},scaleByViewport:function(a){$$t.$p.scaleByViewport.call(this,a);var c=this.data().getEnumerator();while(c.moveNext()){var b=c.current();b.scaleByViewport(a)}},getPointsOverride:function(a,b){for(var c=0;c<this.data().count();c++){var d=this.data().__inner[c];d.getPointsOverride(a,b)}},$type:new $.ig.Type("PathVisualData",$$t.$p.$type)},true);$c("GeometryData:w","Object",{init:function(){$.ig.$op.init.call(this)},type:function(){},scaleByViewport:function(a){},getPointsOverride:function(a,b){},serialize:function(){return'{ type: "'+this.type()+'", '+this.a()+"}"},a:function(){return""},$type:new $.ig.Type("GeometryData",$.ig.$ot,[$$t.$a.$type])},true);$c("PathGeometryData:x","GeometryData",{init:function(){$$t.$w.init.call(this);this.figures(new $$4.x($$t.$ab.$type,0))},type:function(){return"Path"},_figures:null,figures:function(a){if(arguments.length===1){this._figures=a;return a}else{return this._figures}},a:function(){var a=new $$6.aj(0);a.u("figures: [");for(var b=0;b<this.figures().count();b++){if(b!=0){a.l(", ")}a.l(this.figures().__inner[b].serialize())}a.u("]");return a.toString()},scaleByViewport:function(a){var c=this.figures().getEnumerator();while(c.moveNext()){var b=c.current();b.d(a)}},getPointsOverride:function(a,b){for(var c=0;c<this.figures().count();c++){var d=this.figures().__inner[c];d.getPointsOverride(a,b)}},$type:new $.ig.Type("PathGeometryData",$$t.$w.$type)},true);$c("LineGeometryData:y","GeometryData",{init:function(){$$t.$w.init.call(this)},type:function(){return"Line"},_x1:0,x1:function(a){if(arguments.length===1){this._x1=a;return a}else{return this._x1}},_y1:0,y1:function(a){if(arguments.length===1){this._y1=a;return a}else{return this._y1}},_x2:0,x2:function(a){if(arguments.length===1){this._x2=a;return a}else{return this._x2}},_y2:0,y2:function(a){if(arguments.length===1){this._y2=a;return a}else{return this._y2}},a:function(){return"x1: "+this.x1()+", y1: "+this.y1()+", x2: "+this.x2()+", y2:"+this.y2()},scaleByViewport:function(a){this.x1((this.x1()-a.left())/a.width());this.y1((this.y1()-a.top())/a.height());this.x2((this.x2()-a.left())/a.width());this.y2((this.y2()-a.top())/a.height())},getPointsOverride:function(a,b){var c=new $$4.x($$t.$i.$type,0);a.add(c);c.add(new $$t.i(this.x1(),this.y1()));c.add(new $$t.i(this.x2(),this.y2()))},$type:new $.ig.Type("LineGeometryData",$$t.$w.$type)},true);$c("RectangleGeometryData:z","GeometryData",{init:function(){$$t.$w.init.call(this)},type:function(){return"Rectangle"},_x:0,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},_y:0,y:function(a){if(arguments.length===1){this._y=a;return a}else{return this._y}},_width:0,width:function(a){if(arguments.length===1){this._width=a;return a}else{return this._width}},_height:0,height:function(a){if(arguments.length===1){this._height=a;return a}else{return this._height}},a:function(){return"x: "+this.x()+", y: "+this.y()+", width: "+this.width()+", height: "+this.height()},scaleByViewport:function(a){this.x((this.x()-a.left())/a.width());this.y((this.y()-a.top())/a.height());this.width(this.width()/a.width());this.height(this.height()/a.height())},getPointsOverride:function(a,b){var c=new $$4.x($$t.$i.$type,0);a.add(c);c.add(new $$t.i(this.x(),this.y()));c.add(new $$t.i(this.x()+this.width(),this.y()));c.add(new $$t.i(this.x()+this.width(),this.y()+this.height()));c.add(new $$t.i(this.x(),this.y()+this.height()))},$type:new $.ig.Type("RectangleGeometryData",$$t.$w.$type)},true);$c("EllipseGeometryData:aa","GeometryData",{init:function(){$$t.$w.init.call(this)},type:function(){return"Ellipse"},_centerX:0,centerX:function(a){if(arguments.length===1){this._centerX=a;return a}else{return this._centerX}},_centerY:0,centerY:function(a){if(arguments.length===1){this._centerY=a;return a}else{return this._centerY}},_radiusX:0,radiusX:function(a){if(arguments.length===1){this._radiusX=a;return a}else{return this._radiusX}},_radiusY:0,radiusY:function(a){if(arguments.length===1){this._radiusY=a;return a}else{return this._radiusY}},a:function(){return"centerX: "+this.centerX()+", centerY: "+this.centerY()+", radiusX: "+this.radiusX()+", radiusY: "+this.radiusY()},scaleByViewport:function(a){this.centerX((this.centerX()-a.left())/a.width());this.centerY((this.centerY()-a.top())/a.height());this.radiusX(this.radiusX()/a.width());this.radiusY(this.radiusY()/a.height())},getPointsOverride:function(a,b){var c=new $$4.x($$t.$i.$type,0);a.add(c);c.add(new $$t.i(this.centerX(),this.centerY()))},$type:new $.ig.Type("EllipseGeometryData",$$t.$w.$type)},true);$c("PathFigureData:ab","Object",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$.ig.$op.init.call(this);this.segments(new $$4.x($$t.$ac.$type,0));this.startPoint(new $$t.i(NaN,NaN))},init1:function(a,b){$.ig.$op.init.call(this);this.segments(new $$4.x($$t.$ac.$type,0));this.startPoint($$t.$i.b(b.__startPoint));for(var c=0;c<b.__segments.count();c++){var d=b.__segments.__inner[c];var e=null;switch(d.a()){case 0:e=new $$t.ad(1,d);break;case 3:e=new $$t.ae(1,d);break;case 4:e=new $$t.ah(1,d);break;case 2:e=new $$t.ag(1,d);break;case 1:e=new $$t.af(1,d);break}this.segments().add(e)}},_startPoint:null,startPoint:function(a){if(arguments.length===1){this._startPoint=a;return a}else{return this._startPoint}},_segments:null,segments:function(a){if(arguments.length===1){this._segments=a;return a}else{return this._segments}},serialize:function(){var a=new $$6.aj(0);a.u("{");if(this.startPoint()!=null){a.u("startPoint: { x: "+this.startPoint().x()+", y: "+this.startPoint().y()+"}, ")}a.u("segments: [");for(var b=0;b<this.segments().count();b++){if(b!=0){a.l(", ")}a.l(this.segments().__inner[b].serialize())}a.u("]");a.u("}");return a.toString()},d:function(a){if(this.startPoint()!=null){this.startPoint(new $$t.i((this.startPoint().x()-a.left())/a.width(),(this.startPoint().y()-a.top())/a.height()))}for(var b=0;b<this.segments().count();b++){this.segments().__inner[b].scaleByViewport(a)}},getPointsOverride:function(a,b){var c=new $$4.x($$t.$i.$type,0);a.add(c);if(!b.ignoreFigureStartPoint()){c.add(new $$t.i(this.startPoint().x(),this.startPoint().y()))}for(var d=0;d<this.segments().count();d++){this.segments().__inner[d].getPointsOverride(c,b)}},$type:new $.ig.Type("PathFigureData",$.ig.$ot,[$$t.$a.$type])},true);$c("SegmentData:ac","Object",{init:function(){$.ig.$op.init.call(this)},type:function(){},scaleByViewport:function(a){},getPointsOverride:function(a,b){},serialize:function(){var a=new $$6.aj(0);a.u("{");a.u('type: "'+this.type()+'", ');a.u(this.a());a.u("}");return a.toString()},a:function(){return""},$type:new $.ig.Type("SegmentData",$.ig.$ot,[$$t.$a.$type])},true);$c("LineSegmentData:ad","SegmentData",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$ac.init.call(this);this.point(new $$t.i(NaN,NaN))},init1:function(a,b){$$t.$ac.init.call(this);this.point($$t.$i.b(b.c()))},type:function(){return"Line"},_point:null,point:function(a){if(arguments.length===1){this._point=a;return a}else{return this._point}},a:function(){return"point: { x: "+this.point().x()+", y: "+this.point().y()+"}"},scaleByViewport:function(a){this.point(new $$t.i((this.point().x()-a.left())/a.width(),(this.point().y()-a.top())/a.height()))},getPointsOverride:function(a,b){a.add(new $$t.i(this.point().x(),this.point().y()))},$type:new $.ig.Type("LineSegmentData",$$t.$ac.$type)},true);$c("PolylineSegmentData:ae","SegmentData",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$ac.init.call(this);this.points(new $$4.x($$t.$i.$type,0))},init1:function(a,b){$$t.$ac.init.call(this);this.points(new $$4.x($$t.$i.$type,0));for(var c=0;c<b.__points.count();c++){this.points().add($$t.$i.b(b.__points.__inner[c]))}},type:function(){return"Polyline"},_points:null,points:function(a){if(arguments.length===1){this._points=a;return a}else{return this._points}},a:function(){var a=new $$6.aj(0);a.u("points: [");for(var b=0;b<this.points().count();b++){if(b!=0){a.l(", ")}a.l("{ x: "+this.points().__inner[b].x()+", y: "+this.points().__inner[b].y()+"}")}a.u("]");return a.toString()},scaleByViewport:function(a){for(var b=0;b<this.points().count();b++){this.points().__inner[b]=new $$t.i((this.points().__inner[b].x()-a.left())/a.width(),(this.points().__inner[b].y()-a.top())/a.height())}},getPointsOverride:function(a,b){for(var c=0;c<this.points().count();c++){a.add(new $$t.i(this.points().__inner[c].x(),this.points().__inner[c].y()))}},$type:new $.ig.Type("PolylineSegmentData",$$t.$ac.$type)},true);$c("BezierSegmentData:af","SegmentData",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$ac.init.call(this);this.points(new $$4.x($$t.$i.$type,0))},init1:function(a,b){$$t.$ac.init.call(this);this.points(new $$4.x($$t.$i.$type,0));this.points().add($$t.$i.b(b.e()));this.points().add($$t.$i.b(b.f()));this.points().add($$t.$i.b(b.g()))},type:function(){return"Bezier"},_points:null,points:function(a){if(arguments.length===1){this._points=a;return a}else{return this._points}},a:function(){var a=new $$6.aj(0);a.u("points: [");for(var b=0;b<this.points().count();b++){if(this.points().__inner[b]==null){break}if(b!=0){a.l(", ")}a.l("{ x: "+this.points().__inner[b].x()+", y: "+this.points().__inner[b].y()+"}")}a.u("]");return a.toString()},scaleByViewport:function(a){for(var b=0;b<this.points().count();b++){if(this.points().__inner[b]==null){break}this.points().__inner[b]=new $$t.i((this.points().__inner[b].x()-a.left())/a.width(),(this.points().__inner[b].y()-a.top())/a.height())}},getPointsOverride:function(a,b){for(var c=0;c<this.points().count();c++){a.add(new $$t.i(this.points().__inner[c].x(),this.points().__inner[c].y()));
}},$type:new $.ig.Type("BezierSegmentData",$$t.$ac.$type)},true);$c("PolyBezierSegmentData:ag","SegmentData",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$ac.init.call(this);this.points(new $$4.x($$t.$i.$type,0))},init1:function(a,b){$$t.$ac.init.call(this);this.points(new $$4.x($$t.$i.$type,0));for(var c=0;c<b._b.count();c++){this.points().add($$t.$i.b(b._b.__inner[c]))}},type:function(){return"PolyBezierSpline"},_points:null,points:function(a){if(arguments.length===1){this._points=a;return a}else{return this._points}},a:function(){var a=new $$6.aj(0);a.u("points: [");for(var b=0;b<this.points().count();b++){if(b!=0){a.l(", ")}a.l("{ x: "+this.points().__inner[b].x()+", y: "+this.points().__inner[b].y()+"}")}a.u("]");return a.toString()},scaleByViewport:function(a){for(var b=0;b<this.points().count();b++){this.points().__inner[b]=new $$t.i((this.points().__inner[b].x()-a.left())/a.width(),(this.points().__inner[b].y()-a.top())/a.height())}},getPointsOverride:function(a,b){for(var c=0;c<this.points().count();c++){a.add(new $$t.i(this.points().__inner[c].x(),this.points().__inner[c].y()))}},$type:new $.ig.Type("PolyBezierSegmentData",$$t.$ac.$type)},true);$c("ArcSegmentData:ah","SegmentData",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$ac.init.call(this);this.point(new $$t.i(NaN,NaN));this.isLargeArc(false);this.isCounterClockwise(true);this.rotationAngle(0)},init1:function(a,b){$$t.$ac.init.call(this);this.point($$t.$i.b(b._e));this.isLargeArc(b._b);this.isCounterClockwise(b._d==0);this.sizeX(b._f.width());this.sizeY(b._f.height());this.rotationAngle(b._c)},type:function(){return"Arc"},_point:null,point:function(a){if(arguments.length===1){this._point=a;return a}else{return this._point}},_isLargeArc:false,isLargeArc:function(a){if(arguments.length===1){this._isLargeArc=a;return a}else{return this._isLargeArc}},_isCounterClockwise:false,isCounterClockwise:function(a){if(arguments.length===1){this._isCounterClockwise=a;return a}else{return this._isCounterClockwise}},_sizeX:0,sizeX:function(a){if(arguments.length===1){this._sizeX=a;return a}else{return this._sizeX}},_sizeY:0,sizeY:function(a){if(arguments.length===1){this._sizeY=a;return a}else{return this._sizeY}},_rotationAngle:0,rotationAngle:function(a){if(arguments.length===1){this._rotationAngle=a;return a}else{return this._rotationAngle}},a:function(){return"point: { x: "+this.point().x()+", y: "+this.point().y()+" }, isLargeArc: "+(this.isLargeArc()?"true":"false")+", isCounterClockwise: "+(this.isCounterClockwise()?"true":"false")+", sizeX: "+this.sizeX()+", sizeY: "+this.sizeY()+", rotationAngle: "+this.rotationAngle()},scaleByViewport:function(a){this.point(new $$t.i((this.point().x()-a.left())/a.width(),(this.point().y()-a.top())/a.height()));this.sizeX(this.sizeX()/a.width());this.sizeY(this.sizeY()/a.height())},getPointsOverride:function(a,b){a.add(new $$t.i(this.point().x(),this.point().y()))},$type:new $.ig.Type("ArcSegmentData",$$t.$ac.$type)},true);$c("AppearanceHelper:ai","Object",{init:function(){$.ig.$op.init.call(this)},b:function(a){if(a==null){return $$t.$g.a_1($$a.$ax.u(0,0,0,0))}if($$a.$ax.c($m($$a.$ax.$type,a.color()),$m($$a.$ax.$type,null))){return $$t.$g.a_1($$a.$ax.u(0,0,0,0))}return $$t.$g.a_1(a.color())},a:function(a){if(a==null){return null}if(a._isGradient){var b=new $$t.l;var c=a;b.startX(c._startX);b.startY(c._startY);b.endX(c._endX);b.endY(c._endY);var f=c._gradientStops;for(var e=0;e<f.length;e++){var d=f[e];var g=new $$t.m;g.colorValue($$t.$g.a_1(d.color()));g.offset(d._offset);b.stops().add(g)}return b}else if(a._isRadialGradient){return null}else{var h=new $$t.k;h.colorValue($$t.$g.a_1(a.color()));return h}},m:function(a){return a._n},n:function(a){return a._o},o:function(a){return a._s},j:function(a){return $$t.$ai.g(a._aj)},h:function(a){var b=new $$a.a4;b._b={__x:a._ak,__y:a._am,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};b._c={__x:a._aj,__y:a._al,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};return $$t.$ai.g(b)},g:function(a){if(a==null){return new $$4.x($$t.$w.$type,0)}if($b($$a.$a3.$type,a)!==null){var b=new $$4.x($$t.$w.$type,0);var c=a;for(var d=0;d<c._c.count();d++){var e=$$t.$ai.g(c._c.__inner[d]);for(var f=0;f<e.count();f++){b.add(e.__inner[f])}}return b}else if($b($$a.$a7.$type,a)!==null){return $$t.$ai.k(a)}else if($b($$a.$a4.$type,a)!==null){return $$t.$ai.i(a)}else if($b($$a.$a5.$type,a)!==null){return $$t.$ai.l(a)}else if($b($$a.$a6.$type,a)!==null){return $$t.$ai.f(a)}else{throw new $$0.n(1,"not supported")}},f:function(a){var b=new $$4.x($$t.$w.$type,0);var c=new $$t.aa;b.add(c);c.centerX(a._d.__x);c.centerY(a._d.__y);c.radiusX(a._b);c.radiusY(a._c);return b},l:function(a){var b=new $$4.x($$t.$w.$type,0);var c=new $$t.z;b.add(c);c.x(a._d.x());c.y(a._d.y());c.width(a._d.width());c.height(a._d.height());return b},i:function(a){var b=new $$4.x($$t.$w.$type,0);var c=new $$t.y;b.add(c);c.x1(a._c.__x);c.y1(a._c.__y);c.x2(a._b.__x);c.y2(a._b.__y);return b},k:function(a){var b=new $$4.x($$t.$w.$type,0);var c=new $$t.x;b.add(c);for(var d=0;d<a._b.count();d++){var e=a._b.__inner[d];var f=new $$t.ab(1,e);c.figures().add(f)}return b},p:function(a,b){a.stroke($$t.$ai.b(b.__stroke));a.fill($$t.$ai.b(b.__fill));a.strokeExtended($$t.$ai.a(b.__stroke));a.fillExtended($$t.$ai.a(b.__fill));a.strokeThickness(b._ac);a.dashArray(null);if(b._ai!=null){a.dashArray(b._ai.asArray())}a.dashCap(b._ad);a.isVisible(b.__visibility==0);a.opacity(b.__opacity);a.canvasLeft($$t.$ai.m(b));a.canvasTop($$t.$ai.n(b));a.canvaZIndex($$t.$ai.o(b))},c:function(a,b){var c=new $$t.c;var d=a;c.text(d.ak());c.labelBrush($$t.$ai.b(d._am));c.labelBrushExtended($$t.$ai.a(d._am));c.visibility(d.__visibility==0?true:false);c.opacity(d.__opacity);if(b!=null){if(b.n()!=null){c.fontFamily(b.n())}if(!$.ig.util.isNaN(b.d())){c.fontSize(b.d())}if(b.s()!=null){c.fontWeight(b.s())}if(b.q()!=null){c.fontStyle(b.q())}if(b.o()!=null){c.fontStretch(b.q())}}var e=0;var f=d._j;if($b($$a.$bm.$type,f)!==null){var g=$b($$a.$bm.$type,f);e=g._j}else if($b($$a.$bp.$type,f)!==null){var h=$b($$a.$bp.$type,f);var j=h._j.getEnumerator();while(j.moveNext()){var i=j.current();if($b($$a.$bm.$type,i)!==null){var k=$b($$a.$bm.$type,i);e=k._j;break}}}c.angle(e);return c},serializeItems:function(a,b,c,d){if(c!=null){if(!d){a.l(", ")}a.l(b);a.l(": [");var e=false;var g=c.getEnumerator();while(g.moveNext()){var f=g.current();if(e){a.u(", ")}else{e=true}a.l(f.serialize())}a.u("]");return true}return false},serializeItem:function(a,b,c,d){if(c!=null){if(!d){a.l(", ")}a.l(b);a.l(": ");a.u(c.serialize());return true}return false},$type:new $.ig.Type("AppearanceHelper",$.ig.$ot)},true)})($);/*!@license
* Infragistics.Web.ClientUI infragistics.scheduler.core.js 19.1.20191.172
*
* Copyright (c) 2011-2019 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
* jquery-1.4.4.js
* jquery.ui.core.js
* jquery.ui.widget.js
* infragistics.util.js
* infragistics.ext_core.js
* infragistics.ext_collections.js
* infragistics.ext_collectionsExtended.js
* infragistics.ext_io.js
* infragistics.ext_text.js
* infragistics.ext_web.js
* infragistics.dv_core.js
* infragistics.dv_jquerydom.js
* infragistics.dv_interactivity.js
* infragistics.ext_ui.js
*/
(function($){$.ig=$.ig||{};var $$t={};$.ig.scheduler=$.ig.scheduler||{};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$aj=$$t;$$0=$.ig.globalDefs.$$0;$$4=$.ig.globalDefs.$$4;$$5=$.ig.globalDefs.$$5;$$7=$.ig.globalDefs.$$7;$$8=$.ig.globalDefs.$$8;$$b=$.ig.globalDefs.$$b;$$1=$.ig.globalDefs.$$1;$$w=$.ig.globalDefs.$$w;$$ag=$.ig.globalDefs.$$ag;$$ap=$.ig.globalDefs.$$ap;$$al=$.ig.globalDefs.$$al;$$6=$.ig.globalDefs.$$6;$$a=$.ig.globalDefs.$$a;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["scheduler.ScheduleDayOfWeekSettings:c","scheduler.ScheduleDaysOfWeekSettings:d","scheduler.DateRecurrence:e","scheduler.RulesCollection:f","scheduler.DateRecurrenceRuleBase:i","scheduler.MonthOfYearRecurrenceRule:j","scheduler.WeekOfYearRecurrenceRule:k","scheduler.DayOfYearRecurrenceRule:l","scheduler.DayOfMonthRecurrenceRule:m","scheduler.DayOfWeekRecurrenceRule:n","HourRecurrenceRule:o","scheduler.MinuteRecurrenceRule:p","scheduler.SecondRecurrenceRule:q","scheduler.SubsetRecurrenceRule:r","scheduler.WorkingHoursCollection:t","scheduler.WorkingHourTimeRange:u","WorkingHourHelper:v","WorkingHourTimeRangeComparer:w","scheduler.ActivityBase:x","scheduler.Appointment:z","scheduler.ScheduleResource:ac","ScheduleResourceStorage:ad","ScheduleResourceStorageList:ae","ScheduleResourceStorageTable:af","LocalizationUtils:ag","CanvasContainer:ah","AppointmentDoubleClickedEventHandler:ai","AppointmentDoubleClickedEventArgs:aj","LayoutUpdatedEventHandler:ak","PresenterBase:am","SchedulerPresenterManager:an","ShapePresenter:ao","TextContentPresenter:ap","TimeSlotPresenter:aq","Scheduler:ar","scheduler.SchedulerHitTestResult:at","SchedulerUtils:au","ElementView:av","FixedAreaView:ax","MonthViewSelectedDateView:ay","SchedulerLayoutPanel:az","SchedulerScrollingView:a0","SchedulerView:a1","SchedulerView_MetricsCache_MetricsCacheItem:a4","SchedulerView_MetricsCache:a5","SelectableViewBase:a6","ShapeView:a7","SplitterView:a8","TextContentView:a9","TextOnlyNoBackgroundView:ba","TimeSlotView:bb","DWActivityAreaInfo:bc","AgendaInfo:bd","AgendaDayMetrics:be","AgendaInfo___Days__IteratorClass:bf","DWActivityColumnSetManager:bg","DWActivityAreaColumn:bh","DWActivityAreaColumnSet:bi","DWActivityAreaDayColumn:bj","DWActivityAreaResourceColumn:bk","DWActivityColumnSetManager___get_ColumnsRow1__IteratorClass:bl","DWActivityColumnSetManager___get_ColumnsRow2__IteratorClass:bm","DWActivityPage:bn","DWActivityPage_ActivityLayoutColumn:bo","DWActivityPage_ActivityLayoutInfo:bp","DWActivityPage_XOffsetInfo:bq","DWActivityPageManager:br","DWActivityPageManager___Pages__IteratorClass:bs","DWActivityRectInfo:bt","DWTimeSlotRectInfo:bu","InfoBase:bv","MonthInfo:bw","MonthMetrics:bx","TimeSlotInfo:bz","SchedulerUtils3:b1","IModelActionManager:b3","DefaultModelActionManager:b4","ModelPath:b5","INativeSchedulerView:b6","INativeView:b7","ModelFactories:b8","ModelFactoryBase:b9","RecyclingManager:cb","AppointmentClickedEventHandler:cc","AppointmentClickedEventArgs:cd","AppointmentSelectedEventHandler:ce","AppointmentSelectedEventArgs:cf","DayClickedEventHandler:cg","DayOfWeekHeaderClickedEventHandler:ci","MonthHeaderClickedEventHandler:ck","SelectedDateChangedEventHandler:cm","TimeSlotClickedEventHandler:co","TimeSlotClickedEventArgs:cp","TimeSlotSelectedEventHandler:cq","TimeSlotSelectedEventArgs:cr","WeekNumberClickedEventHandler:cs","DateTimeFormatProvider:cu","ILayoutEngine:dr","LayoutPassData:ds","LayoutPassDataMonthView:dt","LayoutPassDataAgendaView:du","LayoutPassDataDWView:dv","MonthViewCurrentMonthLayoutData:dw","DWViewTimeSlotAreaLayoutData:dx","DWViewCurrentPageLayoutData:dy","SchedulerLayerController:dz","SpatialEngine:d0","SpatialEngineAgendaView:d1","SpatialEngineDWView:d2","SpatialEngineMonthView:d3","VisibilityEngine:d5","VisibilityEngineAgendaView:d6","VisibilityEngineDWView:d7","VisibilityEngineMonthView:d9","SchedulerDefaultThemeInfo:ea","AgendaViewAppointmentInfo:eb","AgendaDayHeaderModel:ec","AgendaDayHeaderModelFactory:ee","AgendaApptEndTimeModel:ef","AgendaApptEndTimeModelFactory:eh","AgendaApptSubjectModel:ei","AgendaApptSubjectModelFactory:ek","AgendaApptLocationModel:el","AgendaApptLocationModelFactory:en","AgendaApptStartTimeModel:eo","AgendaApptStartTimeModelFactory:eq","VisualModelAgendaView:er","VisualModelDWView:et","MonthNameModel:ew","MonthNameModelFactory:ey","MonthWeekNumberModel:ez","MonthWeekNumberModelFactory:e1","VisualModelMonthView:e2","SchedulerViewModeInfo:e4","ContainingAreaInfo:e5","SchedulerViewModeInfo___get_ContainingAreas__IteratorClass:e6","SchedulerViewModeManager:e7","DayOfWeekHeaderModelFactory:e8","ModelHelpers:e9","ShapeModel:fa","ShapeModelFactory:fd","TextModel:fe","TextModelFactory:fg","TimeSlotModel:fh","DayOfWeekHeaderModel:fj","ModelBase:fl","TimeSlotModelFactory:fn","IModelPresenter:fo","SchedulerLayer:fp","VisualModel:fr","VisualModel___GetAllModels__IteratorClass:ft","VisualModel___GetHiddenModels__IteratorClass:fu","SchedulerUtils2:fw","DateUtils:fx","CanvasContainerBase:fy","HybridModelPresenter:fz","IRoleMetricsProvider:f0","CanvasNonTextPresenter:f1","CanvasPresenterBase:f2","CanvasPresenterManager:f3","CanvasShapePresenter:f4","CanvasTextPresenter:f5","CanvasElementView:f6","CanvasNonTextView:f7","CanvasShapeView:f8","CanvasTextView:f9","JSItemsSourceProxy:ga","JSIGDataSourceWrapper:gb","JSListModificationManager:gc","JSAppointmentListModificationManager:gd","JSDateTimeFormatProvider:g2","ColorSchemeManager:g3","ActivityTree:g4","DayNode:g5","MonthNode:g6","YearNode:g7","DataObjectWrapper:g8","ActivityStorageList:ha","ActivityStorageHashSet:hb","IActivityDataObject:hc","AppointmentsChangedEventHandler:hd","ResourcesChangedEventHandler:hf","ResourcesChangedEventArgs:hg","ActivityChangedEventArgs$2:hh","AppointmentPropertyChangedEventHandler:hi","AppointmentPropertyChangedEventArgs:hj","ResourcePropertyChangedEventHandler:hk","ResourcePropertyChangedEventArgs:hl","ListModificationManager:hs","PropertyAccessor:ht","JSPropertyAccessor:hu","scheduler.DateRangeQueryResultBase:hw","scheduler.ActivityOperationResult$1:hx","scheduler.AppointmentOperationResult:hy","scheduler.ActivityQueryResult$1:hz","scheduler.AppointmentQueryResult:h0","scheduler.DateQueryResult:h1","scheduler.DateQueryResultBase:h2","ActivityCountQueryResult:h3","DateRecurrenceCache:ic","DateRecurrenceParser:id","DateRecurrenceEnumerable:ig","DateRecurrenceEnumerator:ih","DateRecurrenceState:ij","RecurrenceCalendarHelper:ik","CalendarHelper:il","RecurrenceInfo:io","DateRecurrenceSubsetInfo:iq","RecurrenceManager:is","AppointmentRecurrenceManager:it","ActivityRecurrence:iu","RecurrenceStorageList$1:ix","RecurrenceStorageTable$1:iy","scheduler.ScheduleListDataSource:iz","scheduler.ScheduleDataSource:i8","GridLayout:i9","GridLayout___GetCellRects__IteratorClass:ja","GridLayout___GetCellRectsInRow__IteratorClass:jb","GridLayout___GetCellRectsInColumn__IteratorClass:jc","GridLayoutItem:je","GridLayoutUtilities:jj","IGridLayoutDefinition:jk"]);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.equalsSimple,$x=$.ig.util.compareSimple,$y=$.ig.util.numberToString,$z=$.ig.util.tryParseInt32_1,$0=$.ig.util.tryParseInt32_2,$1=$.ig.util.intToString1,$2=$.ig.util.parseInt32_1,$3=$.ig.util.parseInt32_2,$4=$.ig.util.compare,$5=$.ig.util.replace,$6=$.ig.util.stringFormat,$7=$.ig.util.stringFormat1,$8=$.ig.util.stringFormat2,$9=$.ig.util.stringCompare1,$aa=$.ig.util.stringCompare2,$ab=$.ig.util.stringCompare3,$ac=$.ig.util.tryParseNumber,$ad=$.ig.util.tryParseNumber1,$ae=$.ig.util.numberToString1,$af=$.ig.util.parseNumber,$ag=$.ig.util.isDigit,$ah=$.ig.util.isDigit1,$ai=$.ig.util.isLetter,$aj=$.ig.util.isNumber,$ak=$.ig.util.isLetterOrDigit,$al=$.ig.util.isLower,$am=$.ig.util.toLowerCase,$an=$.ig.util.toUpperCase,$ao=$.ig.util.parseBool,$ap=$.ig.util.tryParseBool;$d("YearFormat:dq",false,false,{TwoDigit:0,FourDigit:1});$d("scheduler.WorkingHoursDisplayMode:dp",false,true,{WorkingHoursOnly:0,WorkingHoursAndNonWorkingHours:1});$d("scheduler.WeekViewDisplayMode:dn",false,true,{WorkingDaysOnly:0,All7Days:1});$d("ViewModeInternal:dm",false,false,{MonthView:0,AgendaView:1,DWView:2});$d("scheduler.TimeSlotInterval:dl",false,true,{FiveMinutes:0,SixMinutes:1,TenMinutes:2,FifteenMinutes:3,ThirtyMinutes:4,SixtyMinutes:5});$d("scheduler.TimeFormat:dk",false,true,{UseSystem:0,TwelveHour:1,TwentyFourHour:2});$d("scheduler.ShapeType:dj",false,true,{Rectangle:0,Ellipse:1,Lines:2});$d("ScrollDirectionInternal:di",false,false,{Vertical:0,Horizontal:1,Both:2});$d("scheduler.SchedulerViewSplitOrientationMode:dh",false,true,{Manual:0,Auto:1});$d("scheduler.SchedulerViewSplitOrientation:dg",false,true,{Vertical:0,Horizontal:1});$d("scheduler.SchedulerViewMode:df",false,true,{MonthView:0,AgendaView:1,DayView:2,WeekView:3});$d("scheduler.SchedulerViewScrollDirection:de",false,true,{Vertical:0,Horizontal:1});$d("scheduler.SchedulerElementRole:dd",false,true,{Scheduler:0,AgendaView:1,DayWeekView:2,MonthView:3,MonthViewActivityIndicator:4,MonthViewDay:5,MonthViewDayLeading:6,MonthViewDaySelected:7,MonthViewDayToday:8,MonthViewDayTodayIndicator:9,MonthViewDayTrailing:10,MonthViewDayOfWeekHeader:11,MonthViewDayHorizontalSeparator:12,MonthViewDayVerticalSeparator:13,MonthViewMonthHeader:14,MonthViewWeekHeader:15,MonthViewDayAppointment:16,MonthViewMonthHeaderHorizontalSeparator:17,AgendaViewDayHeader:18,AgendaApptStartTime:19,AgendaApptStartTimeSelected:20,AgendaApptEndTime:21,AgendaApptEndTimeSelected:22,AgendaApptSubject:23,AgendaApptSubjectSelected:24,AgendaApptLocation:25,AgendaApptLocationSelected:26,AgendaApptArea:27,AgendaApptColorBar:28,AgendaApptHorizontalSeparator:29,AgendaApptSelected:30,AgendaViewMessage:31,AgendaDayHeaderHorizontalSeparator:32,HorizontalViewSplitter:33,VerticalViewSplitter:34,DayWeekTimeSlotDescriptorAreaBackground:35,DayWeekHeaderAreaBackground:36,DayWeekTopLeftCornerBackground:37,DayWeekTimeSlotDescriptor:38,DayWeekVerticalSeparator:39,DayWeekHorizontalSeparator:40,DayWeekDayHeader:41,DayWeekResourceHeader:42,DayWeekAppt:43,DayWeekApptSubject:44,DayWeekApptLocation:45,AllDayEventSubject:46,AllDayEventArea:47,DayWeekApptColorBar:48,DayWeekTimeSlot:49,DayWeekTimeSlotWorkingHour:50,DayWeekTimeSlotSelected:51,NavigationHeader:52,NavigationHeaderBorder:53,NavigationHeaderNavigatePreviousButton:54,NavigationHeaderNavigateNextButton:55,DayWeekNavigationHeaderDateText:56,MonthViewNavigationHeaderDateText:57});$d("NavigationHeaderButtonType:dc",false,false,{NavigatePrevious:0,NavigateNext:1});$d("MonthViewScrollMode:db",false,false,{Infinite:0,InfiniteAndSizedToFill:1,Paged:2});$d("scheduler.MonthViewDayContentDisplayMode:da",false,true,{SquareIndicator:0,ActivitySubject:1});$d("MonthFormat:c9",false,false,{Numeric:0,TwoDigit:1,"Short:$short":2,"Long:$long":3});$d("MonthNameFormat:c8",false,false,{Abbreviated:0,Full:1});$d("ModelStates:c7",false,false,{"New:$new":0,Recycled:1,Inview:2});$d("ModelType:c6",false,false,{TimeSlot:1,Header:2,Separator:3,MonthView:4,Shape:5,Text:6,WeekNumber:7,Area:8,Time:9,Activity:10});$d("LineBreakStyle:c5",false,false,{"Default:$default":0,HeadClipWithEllipsis:1,MiddleClipWithEllipsis:2,TailClipWithEllipsis:3,TailClip:4,Wrap:5});$d("DWDateDisplayPattern:c4",false,false,{ContiguousDateChunks:0,DaysOfWeek:1});$d("DWActivityAreaColumnType:c3",false,false,{DayColumn:0,ResourceColumn:1});$d("DayOfWeekFormat:c2",false,false,{None:0,Shortest:1,Abbreviated:2,Full:3});$d("scheduler.ContentVerticalAlignment:c1",false,true,{Top:0,Center:1,Bottom:2,Stretch:3,Auto:4});$d("scheduler.ContentHorizontalAlignment:c0",false,true,{Left:0,Center:1,Right:2,Stretch:3,Auto:4});$d("ContainingArea:cz",false,false,{ColumnHeaderArea:0,TimeSlotDescriptorArea:1,TopLeftCornerArea:2,AllDayEventArea:3,NavigationHeader:4,ScrollArea:5});$d("scheduler.AgendaViewAppointmentScope:cy",false,true,{AllAppointments:0,OnlyAppointmentsForSelectedDate:1});$d("ActivityTextType:cx",false,false,{Subject:0,Location:1,AllDayEventSubject:2});$d("scheduler.ActivityGroupingMode:cw",false,true,{NoGrouping:0,DatesWithinResource:1,ResourcesWithinDate:2});$d("VisualElementInputType:a2",false,false,{MouseDown:0,MouseOver:1,MouseUp:2});$d("SchedulerView_PropertyRole:a3",false,false,{Background:0,Font:1,Foreground:2,Margin:3});$d("ElementView_PropertyIds:aw",true,false,{Background:1,IsSelected:2,Opacity:4,Padding:8,TextBrush:16,Text:32,All:2147483647});$d("CultureGroups:g1",true,false,{CJK:1,Mideast:2,CBVUT:4,West:8,Other:16,All:31});$d("TimeZoneNameFormat:g0",false,false,{"Short:$short":0,"Long:$long":1});$d("NumericDateFormat:gz",false,false,{Numeric:0,TwoDigit:1});$d("EraDateFormat:gy",false,false,{Narrow:0,"Short:$short":1,"Long:$long":2});$d("WeekdayDateFormat:gx",false,false,{Narrow:0,"Short:$short":1,"Long:$long":2});$d("MonthDateFormat:gw",false,false,{Numeric:0,TwoDigit:1,Narrow:2,"Short:$short":3,"Long:$long":4});$d("DateFormatPart:gv",false,false,{Weekday:0,Era:1,Year:2,Month:3,Day:4,Hour:5,Minute:6,Second:7,TimeZoneName:8,TwelveHourTime:9});$d("scheduler.DataSourceOperation:ib",false,true,{VerifyPropertyMappings:0,CreateDataObject:1,ModifyDataObjectList:2,DeleteDataObject:3,UpdateDataObject:4,InitializeDataObject:5,GetDataObjectProperty:6,SetDataObjectProperty:7,ConvertDataObjectProperty:8,ConvertScheduleObjectProperty:9,Query:10});$d("scheduler.ScheduleResourceColorScheme:ia",false,true,{Grape:0,Fuchsia:1,Pumpkin:2,Leafy:3,Skye:4,Chocolate:5,Lime:6,Sunflower:7,Teal:8,Indigo:9,Strawberry:10});$d("scheduler.ScheduleResourceProperty:h9",false,true,{Id:0,DisplayName:1,ColorScheme:2,DaysOfWeekSettings:3});$d("scheduler.AppointmentProperty:h8",false,true,{Id:0,Subject:1,Location:2,Description:3,Start:4,End:5,Recurrence:6,RecurrenceRoot:7,ResourceId:8,Resource:9,RecurrenceId:10,OriginalStart:11,IsRemoved:12,IsAllDay:13});$d("scheduler.ActivityOperation:h7",false,true,{None:0,Create:1,"Delete:del":2,Edit:3});$d("scheduler.OperationStatus:h6",false,true,{Pending:0,Completed:1,Canceled:2});$d("DateRecurrenceParser_ListSeparator:ir",false,false,{AndLiteral:0,OrLiteral:1});$d("DayOfWeekFlags:h",true,false,{None:0,Sunday:1,Monday:2,Tuesday:4,Wednesday:8,Thursday:16,Friday:32,Saturday:64});$d("scheduler.DateRecurrenceFrequency:g",false,true,{Yearly:0,Monthly:1,Weekly:2,Daily:3,Hourly:4,Minutely:5,Secondly:6});$d("GridLayoutGridUnitType:ji",false,false,{Auto:0,Pixel:1,Star:2});$c("scheduler.DateTimeRange:a","Object",{_h:new Date,_g:new Date,init:function(a,b){$.ig.$op.init.call(this);if(a>b){var c=a;a=b;b=c}this._h=a;this._g=b},start:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},end:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},contains:function(a){return a>=this.start()&&a<=this.end()},intersectsWith:function(){var n;if(arguments.length===1){n=0}else if(arguments.length===2){if($b($$t.$a.$type,arguments[0])!==null){n=0}else if($b($$0.$s.$type,arguments[0])!==null){n=1}else if(arguments[0]==null){n=0}}else if(arguments.length===3){n=1}switch(n){case 0:return this._intersectsWith.apply(this,arguments);case 1:return this._intersectsWith1.apply(this,arguments);default:throw new Error("Invalid arguments")}},_intersectsWith:function(a,b){b=b!==void 0?b:true;if(a==null){throw new $$6.e(0,"range")}return this._intersectsWith1(a.start(),a.end(),b)},_intersectsWith1:function(a,b,c){c=c!==void 0?c:true;return $$t.$a._d(this._h,this._g,a,b,c)},_d:function(a,b,c,d,e){if(e&&+c==+b){return false}return(c>b||d<a)==false},_a:function(a,b){if(a==null){throw new $$6.e(0,"range1")}if(b==null){throw new $$6.e(0,"range2")}if(a._intersectsWith(b,false)==false){return null}var c=a.start()>b.start()?a.start():b.start();var d=a.end()<b.end()?a.end():b.end();return new $$t.a(c,d)},_i:function(a){return $.ig.Date.prototype.fromTicks(a.getTime())},_c:function(a,b){return a.getTime()==b.getTime()},toString:function(){return $6("{0} - {1}",this.start(),this.end())},$type:new $.ig.Type("scheduler.DateTimeRange",$.ig.$ot)},true);$c("ScrollManager:b","Object",{i:null,j:null,a:0,b:0,init:function(a,b,c,d,e,f,g,h,i){$.ig.$op.init.call(this);this.i=a;this.j=$(a);this.j.igScroll({scrollbarType:"custom"});if(b!=null){this.j.igScroll({rendered:b})}if(c!=null){this.j.igScroll({scrolling:c})}if(d!=null){this.j.igScroll({scrolled:d})}if(e!=null){this.j.igScroll({thumbDragStart:e})}if(f!=null){this.j.igScroll({thumbDragMove:f})}if(g!=null){this.j.igScroll({thumbDragEnd:g})}if(h!=null){this.j.igScroll({resizing:h})}if(i!=null){this.j.igScroll({resized:i})}this.j.data("igScroll")._bKeyboardNavigation=false},c:function(a){if(arguments.length===1){if(a!=this.a){this.a=a;this.j.igScroll("option","scrollWidth",a)}return a}else{return this.a}},d:function(a){if(arguments.length===1){this.j.igScroll("option","scrollLeft",a);return a}else{return this.j.igScroll("option","scrollLeft")}},e:function(){return $.ig.util.getScrollHeight()},f:function(a){if(arguments.length===1){if(a!=this.b){this.b=a;this.j.igScroll("option","scrollHeight",a)}return a}else{return this.b}},g:function(a){if(arguments.length===1){this.j.igScroll("option","scrollTop",a);return a}else{return this.j.igScroll("option","scrollTop")}},h:function(){return $.ig.util.getScrollWidth()},k:function(){if(this.j.data("igScroll")){this.j.data("igScroll").destroy()}},l:function(){this.j.data("igScroll").refresh()},$type:new $.ig.Type("ScrollManager",$.ig.$ot)},true);$c("GridLayout:i9","Object",{ac:null,y:null,aa:null,z:null,ab:null,a0:null,r:false,s:false,ak:0,aj:0,b:null,c:null,a:null,init:function(a){this.a0=new $$a.af;$.ig.$op.init.call(this);this.a1(a);this.aa=new $$4.f($$t.$jg.$type,0);this.aa.add(new $$t.jg(0,new $$t.jh(2,1,2)));this.z=new $$4.f($$t.$jd.$type,0);this.z.add(new $$t.jd(0,new $$t.jh(2,1,2)))},ad:function(){if(null==this.y){this.y=new $$4.f($$t.$jd.$type,0);var a=this.y;a.collectionChanged=$.ig.Delegate.prototype.combine(a.collectionChanged,this.au.runOn(this))}return this.y},a1:function(a){if(arguments.length===1){if($$a.$af.l_op_Inequality(a,this.a0)){this.a0=a;this.ap(true)}return a}else{return this.a0}},t:function(){return this.r},af:function(){if(null==this.ab){this.ab=new $$4.f($$t.$je.$type,0);var a=this.ab;a.collectionChanged=$.ig.Delegate.prototype.combine(a.collectionChanged,this.as.runOn(this))}return this.ab},_q:null,ae:function(){if(this.ad().count()<1){return this.z}else{return this.ad()}},ag:function(){if(null==this.ac){this.ac=new $$4.f($$t.$jg.$type,0);var a=this.ac;a.collectionChanged=$.ig.Delegate.prototype.combine(a.collectionChanged,this.au.runOn(this))}return this.ac},ah:function(){if(this.ag().count()<1){return this.aa}else{return this.ag()}},_u:false,ay:function(a,b){return new $$a.ae(3,this.a[a][b],new $$a.af(1,this.b[b],this.c[a]))},v:function(){var d__=new $$t.ja((-2));d__.___4__this=this;return d__},x:function(a){var d__=new $$t.jb((-2));d__.___4__this=this;d__.___3__row=a;return d__},w:function(a){var d__=new $$t.jc((-2));d__.___4__this=this;d__.___3__col=a;return d__},p:function(a){if(null==a){return null}var c=this.af().getEnumerator();while(c.moveNext()){var b=c.current();if(b.item()==a){return b}}return null},az:function(a,b,c,d){var e=this.ay(a,b);var f=e.left();var g=e.top();var h=0;var i=0;for(var j=a;j<a+c;j++){i+=this.ay(j,b).height()}for(var k=b;k<b+d;k++){h+=this.ay(a,k).width()}return new $$a.ae(0,f,g,h,i)},aw:function(a,b){if(a!=null){a.ax(b)}},ax:function(a){if(a){this.ap(true)}this.ao();if(null!=this._q){this._q()}},f:function(a,b,c){var d=new $$t.i9(a);for(var e=0;e<b;e++){d.ag().add(new $$t.jg(0,$$t.$jh._a()))}for(var f=0;f<c;f++){d.ad().add(new $$t.jd(0,$$t.$jh._a()))}return d},g:function(a,b,c){var d=new $$t.i9(a);for(var e=0;e<b;e++){d.ag().add(new $$t.jg(0,$$t.$jh._e()))}for(var f=0;f<c;f++){d.ad().add(new $$t.jd(0,$$t.$jh._e()))}return d},e:function(a){return new $$t.i9(a)},n:function(a){if(this.ag().count()>0){return this}for(var c=0;c<a.length;c++){var b=a[c];this.ag().add(b)}return this},o:function(a){if(this.ag().count()>0){return this}for(var c=0;c<a.length;c++){var b=a[c];this.ag().add(new $$t.jg(0,b))}return this},m:function(a){if(a.length!=this.ag().count()){return this}$$t.$fw.withHelper$1($$t.$jg.$type,this.ag(),function(b,c){b._l(a[c])});return this},l:function(a){if(a.length!=this.ag().count()){return this}$$t.$fw.withHelper$1($$t.$jg.$type,this.ag(),function(b,c){b._k(a[c])});return this},j:function(a){if(this.ad().count()>0){return this}for(var c=0;c<a.length;c++){var b=a[c];this.ad().add(b)}return this},k:function(a){if(this.ad().count()>0){return this}for(var c=0;c<a.length;c++){var b=a[c];this.ad().add(new $$t.jd(0,b))}return this},i:function(a){if(a.length!=this.ad().count()){return this}$$t.$fw.withHelper$1($$t.$jd.$type,this.ad(),function(b,c){b._l(a[c])});return this},h:function(a){if(a.length!=this.ad().count()){return this}$$t.$fw.withHelper$1($$t.$jd.$type,this.ad(),function(b,c){b._k(a[c])});return this},al:function(a,b,c,d){var e=new Array(c.length);for(var f=0;f<b;f++){var g=d[f];e[f]=g.length()._j()||g.length()._i()&&$.ig.util.isNaN(c[f])}var h=function(i){if(i.length()._j()){return i.length()._r()}return 1};for(var i=0;i<b;i++){var j=d[i];if(false==e[i]){continue}if($.ig.util.isNaN(c[i])){c[i]=0}if(a<0){continue}var k=0;if(j.hasMinExtent()){k=Math.min(a,j.minExtent());c[i]+=k;a=Math.max(0,a-k)}}if(a<=0){return{p2:c}}var l=0;for(var m=0;m<b;m++){if(e[m]){l+=h(d[m])}}var n=a/l;var o=0;var p=l;while(a>0&&l>0){l=Math.max(0,p-o);n=a/l;for(var q=0;q<b;q++){var r=d[q];if(e[q]){var s=h(r);var t=s*n;var u=0;var v=c[q];if(r.hasMaxExtent()&&v<r.maxExtent()){u=Math.min(t,r.maxExtent());if($$t.$jj.b(v+u,r.maxExtent())){o+=s}}else{u=t}c[q]+=u;a=Math.max(0,a-u);l=Math.max(0,l-s);if(l>0){n=a/l}else{n=0}}}}return{p2:c}},am:function(a,b,c){if(a._h()){if(c<1){b=0}else if(c-a._r()<0){b=c;c=0}else{b=a._r();c-=a._r()}}else{b=NaN}return{p1:b,p2:c}},an:function(a,b,c,d){for(var e=0;e<a.count();e++){var f=a.__inner[e];if(f._h()){c[e]=Math.max(f._l(),c[e])}if(f._g()){c[e]=Math.min(f._k(),c[e])}}for(var g=0;g<b.count();g++){var h=b.__inner[g];if(h._h()){d[g]=Math.max(h._l(),d[g])}if(h._g()){d[g]=Math.min(h._k(),d[g])}}},ao:function(){if(false==this.r||true==this.s){return}this.s=true;var a=$$t.$fw.toList$1($$t.$jg.$type,this.ah());var b=$$t.$fw.toList$1($$t.$jd.$type,this.ae());this.ak=a.count();this.aj=b.count();this.b=new Array(this.aj);this.c=new Array(this.ak);var c=this.a1().width();var d=this.a1().height();this.ar(this.ak,this.aj);for(var e=0;e<this.ak;e++){var f=this.am(a.__inner[e]._f(),this.c[e],d);this.c[e]=f.p1;d=f.p2}for(var g=0;g<this.aj;g++){var h=this.am(b.__inner[g]._f(),this.b[g],c);this.b[g]=h.p1;c=h.p2}var j=this.af().getEnumerator();while(j.moveNext()){var i=j.current();if(i.w(c)){var k=i._am;if(true==b.__inner[k]._f()._i()&&i._ao==1){var l=this.av(k,i.aa(c),this.b,c);this.b=l.p2;c=l.p3}}if(i.v(d)){var m=i._aq;if(true==a.__inner[m]._f()._i()&&i._as==1){var n=this.av(m,i.z(d),this.c,d);this.c=n.p2;d=n.p3}}}var o=this.al(c,this.aj,this.b,b.toArray());this.b=o.p2;var p=this.al(d,this.ak,this.c,a.toArray());this.c=p.p2;var q=this.aq(this.a1().width(),this.aj,this.b);this.b=q.p2;var r=this.aq(this.a1().height(),this.ak,this.c);this.c=r.p2;this.an(a,b,this.c,this.b);this.a=this.d(this.c,this.b);var t=this.af().getEnumerator();while(t.moveNext()){var s=t.current();var u=s._aq;var v=s._am;var w=this.ai(v,s._ao,false,this.c,this.b);var x=this.ai(u,s._as,true,this.c,this.b);var y=w;var z=x;var aa=this.a[u][v];var ab=aa.__x;var ac=aa.__y;var ad=s.a2();var ae=$$a.$ae.empty();if(!$$t.$jj.e(ad)){if(!$$t.$jj.f(ad)){ab=ab+ad._c;y=Math.max(0,y-ad._c)}if(!$$t.$jj.h(ad)){ac=ac+ad._e;z=Math.max(0,z-ad._e)}if(!$$t.$jj.g(ad)){y=Math.max(0,y-ad._d)}if(!$$t.$jj.c(ad)){z=Math.max(0,z-ad._b)}}if(s.w(y)){var af=y;y=Math.min(y,s.aa(y));var ag=s.az()==3?1:s.az();switch(ag){case 0:break;case 2:ab+=af-y;break;case 1:ab+=(af-y)/2;break}}if(s.v(z)){var ah=z;z=Math.min(z,s.z(z));var ai=s.a4()==3?1:s.a4();switch(ai){case 0:break;case 2:ac+=ah-z;break;case 1:ac+=(ah-z)/2;break}}ae=new $$a.ae(0,ab,ac,y,z);s._a0=ae}this.ap(false);this.s=false},ap:function(a){this.r=a},aq:function(a,b,c){var d=0;for(var e=0;e<b;e++){d+=c[e]}if(false==$$t.$jj.b(d,a)){}return{p2:c}},ai:function(a,b,c,d,e){var f=c?d:e;if(b==1){return f[a]}var g=0;for(var h=a;h<a+b;h++){g+=f[h]}return g},d:function(a,b){var c=0;var d=0;var e=function(){var $ret=new Array($firstRank=a.length);var $currRet=$ret;for(var $rankInit=0;$rankInit<$firstRank;$rankInit++){$currRet[$rankInit]=new Array(b.length)}return $ret}();for(var f=0;f<a.length;f++){c=0;for(var g=0;g<b.length;g++){e[f][g]={__x:c,__y:d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};c+=b[g]}d+=a[f]}return e},ar:function(a,b){var d=this.af().getEnumerator();while(d.moveNext()){var c=d.current();c.av(a,b)}},au:function(a,b){this.ap(true);if(b.action()==0){var d=b.newItems().getEnumerator();while(d.moveNext()){var c=d.current();if($b($$0.$b6.$type,c)!==null){var e=c;e.propertyChanged=$.ig.Delegate.prototype.combine(e.propertyChanged,this.at.runOn(this))}}}else if(b.action()==1||b.action()==2){var g=b.oldItems().getEnumerator();while(g.moveNext()){var f=g.current();if($b($$0.$b6.$type,f)!==null){var h=f;h.propertyChanged=$.ig.Delegate.prototype.remove(h.propertyChanged,this.at.runOn(this))}}}},as:function(a,b){this.ap(true);if(b.action()==0){var d=b.newItems().getEnumerator();while(d.moveNext()){var c=d.current();var e=$b($$t.$je.$type,c);if(e==null){}else{e.aw(this)}}}},at:function(a,b){this.ap(true)},av:function(a,b,c,d){var e=c[a];var f=0;if($.ig.util.isNaN(e)){c[a]=f=b}else{var g=b-e;if(g>0){c[a]+=g;f=g}}d=Math.max(0,d-f);return{p2:c,p3:d}},$type:new $.ig.Type("GridLayout",$.ig.$ot)},true);$c("LayoutPropertyChangeNotifier:jf","Object",{init:function(){$.ig.$op.init.call(this)},propertyChanged:null,_b:function(a){var b=this.propertyChanged;if(b!=null){b(this,new $$0.b7(a))}},_a:function($t,a,b,c){if($$4.$m.defaultEqualityComparerValue($t).equalsC(a,b)){return{ret:false,p0:a}}a=b;this._b(c);return{ret:true,p0:a}},$type:new $.ig.Type("LayoutPropertyChangeNotifier",$.ig.$ot,[$$0.$b6.$type])},true);$c("IGridLayoutDefinition:jk","Object",{$type:new $.ig.Type("IGridLayoutDefinition",null)},true);$c("GridLayoutColumnDefinition:jd","LayoutPropertyChangeNotifier",{_e:null,_i:0,_j:0,init:function(a,b){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$jd.init1.call(this,1,b,NaN,NaN)},init1:function(a,b,c,d){this._e=new $$t.jh;$$t.$jf.init.call(this);this._e=b;this._i=c;if(this._g()){this._i=Math.max(1,c)}this._j=d;if(this._h()){this._j=Math.max(1,d)}},_f:function(a){if(arguments.length===1){var b=this._a($$t.$jh.$type,this._e,a,"Width");this._e=b.p0;return a}else{return this._e}},_k:function(a){if(arguments.length===1){var b=this._a(Number,this._i,a,"MaxWidth");this._i=b.p0;return a}else{return this._i}},_l:function(a){if(arguments.length===1){var b=this._a(Number,this._j,a,"MinWidth");this._j=b.p0;return a}else{return this._j}},_h:function(){return!$.ig.util.isNaN(this._l())},_g:function(){return!$.ig.util.isNaN(this._k())},_c:function(){return new $$t.jd(1,new $$t.jh(2,1,0),NaN,NaN)},_d:function(){return new $$t.jd(1,new $$t.jh(2,1,2),NaN,NaN)},length:function(){return this._f()},minExtent:function(){return this._l()},maxExtent:function(){return this._k()},hasMinExtent:function(){return this._h()},hasMaxExtent:function(){return this._g()},$type:new $.ig.Type("GridLayoutColumnDefinition",$$t.$jf.$type,[$$t.$jk.$type])},true);$c("GridLayoutItem:je","Object",{a:null,at:null,aj:0,ak:0,ah:0,ai:0,a1:null,ay:0,a3:0,x:0,y:0,ae:null,ad:null,init:function(a,b,c,d,e,f){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$je.init1.call(this,1,b,c,d,e,f,NaN,NaN,null,null,3,3)},init1:function(a,b,c,d,e,f,g,h,i,j,k,l){$.ig.$op.init.call(this);this.item(b);this.ap(c);this.al(d);this.ar(e);this.an(f);this.a2($$t.$jj.o());this.ac(g);this.ab(h);this.ag(i);this.af(j);this.az(k);this.a4(l)},af:function(a){if(arguments.length===1){this.ad=a;$$t.$i9.aw(this.a,true);return a}else{return this.ad}},ag:function(a){if(arguments.length===1){this.ae=a;$$t.$i9.aw(this.a,true);return a}else{return this.ae}},ap:function(a){if(arguments.length===1){this.aj=a;$$t.$i9.aw(this.a,true);return a}else{return this.aj}},ar:function(a){if(arguments.length===1){this.ak=a;$$t.$i9.aw(this.a,true);return a}else{return this.ak}},al:function(a){if(arguments.length===1){this.ah=a;$$t.$i9.aw(this.a,true);return a}else{return this.ah}},an:function(a){if(arguments.length===1){this.ai=a;$$t.$i9.aw(this.a,true);return a}else{return this.ai}},ab:function(a){if(arguments.length===1){this.x=a;$$t.$i9.aw(this.a,true);return a}else{return this.x}},az:function(a){if(arguments.length===1){this.ay=a;$$t.$i9.aw(this.a,false);return a}else{return this.ay}},item:function(a){if(arguments.length===1){this.at=a;$$t.$i9.aw(this.a,false);return a}else{return this.at}},a2:function(a){if(arguments.length===1){this.a1=a;$$t.$i9.aw(this.a,true);return a}else{return this.a1}},a4:function(a){if(arguments.length===1){this.a3=a;$$t.$i9.aw(this.a,true);return a}else{return this.a3}},ac:function(a){if(arguments.length===1){this.y=a;$$t.$i9.aw(this.a,true);return a}else{return this.y}},_aq:0,_as:0,_am:0,_ao:0,_a0:null,b:function(){return this.a},z:function(a){if(null!=this.af()){var b=this.ag()(this,a);if(false==$.ig.util.isNaN(b)){return b}}return $.ig.util.isNaN(this.ab())?a:this.ab()},aa:function(a){if(null!=this.ag()){var b=this.ag()(this,a);if(false==$.ig.util.isNaN(b)){return b}}return $.ig.util.isNaN(this.ac())?a:this.ac()},v:function(a){if(null!=this.af()&&false==$.ig.util.isNaN(this.af()(this,a))){return true}return false==$.ig.util.isNaN(this.ab())},w:function(a){if(null!=this.ag()&&false==$.ig.util.isNaN(this.ag()(this,a))){return true}return false==$.ig.util.isNaN(this.ac())},d:function(a,b,c,d){this.ap(a);this.al(b);this.ar(c);this.an(d);return this},c:function(a){return new $$t.je(0,a,0,0,1,1)},l:function(a){var b=this.a2();this.a2(new $$a.ah(1,a,b._e,b._d,b._b));return this},s:function(a){var b=this.a2();this.a2(new $$a.ah(1,b._c,a,b._d,b._b));return this},q:function(a){var b=this.a2();this.a2(new $$a.ah(1,b._c,b._e,a,b._b));return this},f:function(a){var b=this.a2();this.a2(new $$a.ah(1,b._c,b._e,b._d,a));return this},m:function(a){this.a2(new $$a.ah(0,a));return this},n:function(a,b){this.a2(new $$a.ah(1,a,b,a,b));return this},o:function(a,b,c,d){this.a2(new $$a.ah(1,a,b,c,d));return this},p:function(a){this.a2(a);return this},j:function(a){this.ab(a);return this},u:function(a){this.ac(a);return this},r:function(a,b){this.ac(a);this.ab(b);return this},t:function(a){this.a4(a);return this},k:function(a){this.az(a);return this},e:function(a,b){this.az(a);this.a4(b);return this},i:function(a){this.ag(a);return this},g:function(a){this.af(a);return this},h:function(a,b){this.ag(a);this.af(b);return this},av:function(a,b){this._aq=Math.min(Math.max(0,this.ap()),a-1);this._am=Math.min(Math.max(0,this.al()),b-1);this._as=Math.min(Math.max(1,this.ar()),a-this._aq);this._ao=Math.min(Math.max(1,this.an()),b-this._am);if(false==$.ig.util.isNaN(this.ab())){this.ab(Math.max(0,this.ab()))}if(false==$.ig.util.isNaN(this.ac())){this.ac(Math.max(0,this.ac()))}},aw:function(a){this.a=a},ax:function(a){this._a0=a},$type:new $.ig.Type("GridLayoutItem",$.ig.$ot)},true);$c("GridLayoutRowDefinition:jg","LayoutPropertyChangeNotifier",{_e:null,_i:0,_j:0,init:function(a,b){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$jg.init1.call(this,1,b,NaN,NaN)},init1:function(a,b,c,d){this._e=new $$t.jh;
$$t.$jf.init.call(this);this._e=b;this._i=c;if(this._g()){this._i=Math.max(1,c)}this._j=d;if(this._h()){this._j=Math.max(1,d)}},_f:function(a){if(arguments.length===1){var b=this._a($$t.$jh.$type,this._e,a,"Height");this._e=b.p0;return a}else{return this._e}},_k:function(a){if(arguments.length===1){var b=this._a(Number,this._i,a,"MaxHeight");this._i=b.p0;return a}else{return this._i}},_l:function(a){if(arguments.length===1){var b=this._a(Number,this._j,a,"MinHeight");this._j=b.p0;return a}else{return this._j}},_h:function(){return!$.ig.util.isNaN(this._l())},_g:function(){return!$.ig.util.isNaN(this._k())},_c:function(){return new $$t.jg(1,new $$t.jh(2,1,0),NaN,NaN)},_d:function(){return new $$t.jg(1,new $$t.jh(2,1,2),NaN,NaN)},length:function(){return this._f()},minExtent:function(){return this._l()},maxExtent:function(){return this._k()},hasMinExtent:function(){return this._h()},hasMaxExtent:function(){return this._g()},$type:new $.ig.Type("GridLayoutRowDefinition",$$t.$jf.$type,[$$t.$jk.$type])},true);$c("GridLayoutGridLength:jh","ValueType",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$$0.$bh.init.call(this)},_q:0,_f:0,_h:function(){return this._f==1},_i:function(){return this._f==0},_j:function(){return this._f==2},_r:function(){if(this._f!=0){return this._q}return 1},_g:function(){return this._f},_a:function(){return $$t.$jh._c},_e:function(){return $$t.$jh._d},init1:function(a,b){$$t.$jh.init2.call(this,2,b,1)},init2:function(a,b,c){$$0.$bh.init.call(this);if($.ig.util.isNaN(b)){throw new $$6.d(1,"InvalidCtorParameterNoNaN")}if(Number.isInfinity(b)){throw new $$6.d(1,"InvalidCtorParameterNoInfinity")}if(c!=0&&c!=1&&c!=2){throw new $$6.d(1,"InvalidCtorParameterUnknownGridUnitType")}this._q=c==0?0:b;this._f=c},equals1:function(a){if($b($$t.$jh.$type,a)!==null){var b=a;return $$t.$jh._l_op_Equality(this,b)}return false},equals:function(a){return $$t.$jh._l_op_Equality(this,a)},getHashCode:function(){return $.ig.truncate(this._q)+this._f},toString:function(){var a=$$0.$cf.invariantCulture();var b=this._g();if(b==0){return"Auto"}if(b!=2){return this._r().toString()}if(!(Math.abs(this._r()-1)<2.220446049250313e-15)){return this._r().toString()+"*"}return"*"},_b:function(a){if(String.isNullOrEmpty(a)||"*"==a){return $$t.$jh._e()}if("auto"==a.toLowerCase()){return $$t.$jh._a()}var b;if(function(){var c=$ac(a,b);b=c.p1;return c.ret}()){return new $$t.jh(1,b)}var c=a.indexOf("*");if(c>-1){var d=a.remove(c,1);if(function(){var e=$ac(d,b);b=e.p1;return e.ret}()){return new $$t.jh(2,b,2)}}return $$t.$jh._e()},_l_op_Equality:function(a,b){return a._g()==b._g()&&a._r()==b._r()},_l_op_Equality_Lifted:function(a,b){if(!a.hasValue()){return!b.hasValue()}else if(!b.hasValue()){return false}return $$t.$jh._l_op_Equality(a.value(),b.value())},_l_op_Inequality:function(a,b){return a._g()!=b._g()||a._r()!=b._r()},_l_op_Inequality_Lifted:function(a,b){if(!a.hasValue()){return b.hasValue()}else if(!b.hasValue()){return true}return $$t.$jh._l_op_Inequality(a.value(),b.value())},$type:new $.ig.Type("GridLayoutGridLength",$$0.$bh.$type,[$$0.$b.$type.specialize(-1)])},true);$$t.$jh.$type.initSelfReferences();$c("GridLayoutUtilities:jj","Object",{init:function(){$.ig.$op.init.call(this)},k:function(a,b){if($b($$a.$br.$type,a)!==null){var c=$b($$a.$br.$type,a);c._aj=b.left();c._ak=b.right();c._al=b.top();c._am=b.bottom()}else{a._n=b.left();a._o=b.top();a.width(b.width());a.height(b.height())}},b:function(a,b){if(a==b){return true}var c=(Math.abs(a)+Math.abs(b)+10)*2.220446049250313e-16;var d=a-b;return-c<d&&c>d},i:function(a,b){if(false==String.isNullOrEmpty(a)){var c;if(function(){var d=$ac(a,c);c=d.p1;return d.ret}()){return c}}return b},a:function(a){return Math.abs(a)<2.220446049250313e-15},n:function(){return new $$a.ah(0,0)},o:function(){return $$t.$jj.p},m:function(a,b){if(false==String.isNullOrEmpty(a)){switch(a){case"Left":return 0;case"Center":return 1;case"Right":return 2;case"Stretch":return 3;default:return b}}return b},j:function(a,b){if(false==String.isNullOrEmpty(a)){var c;if(function(){var d=$z(a,c);c=d.p1;return d.ret}()){return c}}return b},l:function(a,b){var d=b.getEnumerator();while(d.moveNext()){var c=d.current();if($b($$a.$an.$type,c.item())!==null){a.w($b($$a.$an.$type,c.item()))}else if($b($$a.$br.$type,c.item())!==null){a.r($b($$a.$br.$type,c.item()))}else if($b($$a.$bs.$type,c.item())!==null){a.s($b($$a.$bs.$type,c.item()))}else if($b($$a.$bt.$type,c.item())!==null){a.t($b($$a.$bt.$type,c.item()))}else if($b($$a.$bu.$type,c.item())!==null){a.u($b($$a.$bu.$type,c.item()))}else if($b($$a.$bv.$type,c.item())!==null){a.v($b($$a.$bv.$type,c.item()))}else if($b($$a.$a1.$type,c.item())!==null){a.q($b($$a.$a1.$type,c.item()))}}},q:function(a){if(String.isNullOrEmpty(a)){return $$t.$jj.o()}var b=a.split(",");if(b.length==1||b.length==2||b.length==4){var c=new Array(b.length);for(var d=0;d<b.length;d++){var e=b[d];if(String.isNullOrEmpty(e)){c[d]=0}else{var f;if(function(){var g=$ac(e,f);f=g.p1;return g.ret}()){c[d]=f}else{return $$t.$jj.o()}}}if(b.length==1){return new $$a.ah(0,c[0])}if(b.length==2){return new $$a.ah(1,c[0],c[1],c[0],c[1])}return new $$a.ah(1,c[0],c[1],c[2],c[3])}return $$t.$jj.o()},e:function(a){return $$t.$jj.a(a._c)&&$$t.$jj.a(a._e)&&$$t.$jj.a(a._d)&&$$t.$jj.a(a._b)},f:function(a){return $$t.$jj.a(a._c)},h:function(a){return $$t.$jj.a(a._e)},g:function(a){return $$t.$jj.a(a._d)},c:function(a){return $$t.$jj.a(a._b)},d:function(a){return $$t.$jj.b(a._c,a._e)&&$$t.$jj.b(a._c,a._d)&&$$t.$jj.b(a._c,a._b)},r:function(a,b){if(false==String.isNullOrEmpty(a)){switch(a){case"Top":return 0;case"Center":return 1;case"Bottom":return 2;case"Stretch":return 3;default:return b}}return b},$type:new $.ig.Type("GridLayoutUtilities",$.ig.$ot)},true);$c("scheduler.ScheduleDayOfWeekSettings:c","Object",{_d:null,_i:$m($$0.$aq.$type,null),_b:null,init:function(){this._i=$m($$0.$aq.$type,null);$.ig.$op.init.call(this);this.dayOfWeek(0)},_dayOfWeek:0,dayOfWeek:function(a){if(arguments.length===1){this._dayOfWeek=a;return a}else{return this._dayOfWeek}},_k:function(){return $$t.$c._m(this.dayOfWeek())},isWorkday:function(a){if(arguments.length===1){arguments[0]=$t($$0.$aq.$type,arguments[0]);this._isWorkday$i.apply(this,arguments);return a}else{return $s(this._isWorkday$i.apply(this,arguments))}},_isWorkday$i:function(a){if(arguments.length===1){if($l(a,this._i)){this._i=a;this._q("IsWorkday")}return a}else{return this._i}},workingHours:function(a){if(arguments.length===1){if(this._b!=null){this._b._am(null)}this._b=a;if(this._b!=null){this._b._am(this._r.runOn(this))}return a}else{if(this._b==null){this._b=new $$t.t(this._r.runOn(this))}return this._b}},_e:function(){return this._b!=null},toString:function(){return this._k()},_r:function(a){this._q("WorkingHours")},_q:function(a){if(this._d!=null){this._d(this.dayOfWeek(),a)}},_f:function(){if(this._i.hasValue()){return true}if(this._b!=null&&this._b.count()>0){return true}return false},_g:function(a,b){b=0;var c=$m($$0.$u.$type,null);for(var d=0;d<$$t.$c._a.length;d++){if($$t.$fw.stringEquals($$t.$c._a[d],a,true)){c=$m($$0.$u.$type,d)}}if(c.hasValue()){b=c.value()}return{ret:c.hasValue(),p1:b}},_s:function(a){if(this._f()==false){return}a.q("<{0}>",this._k());var b=null;if(this._i.hasValue()){b="IsWorkday";a.q("<{0}>",b);a.l(this._i.value()?"true":"false");a.q("</{0}>",b)}if(this._b!=null&&this._b.count()>0){b="WorkingHours";a.q("<{0}>",b);this._b._ao(a);a.q("</{0}>",b)}a.q("</{0}>",this._k())},_n:function(a){var b=null;this._i=$m($$0.$aq.$type,null);this._b=null;b=$$t.$fw.parseTagContent("IsWorkday",a);if(String.isNullOrEmpty(b)==false){if($$t.$fw.stringEquals(b,"true",true)){this._i=$m($$0.$aq.$type,true)}else if($$t.$fw.stringEquals(b,"false",true)){this._i=$m($$0.$aq.$type,false)}else{throw $$t.$fw.createException1("ScheduleDayOfWeekSettings_Exception_InvalidValue",[b])}}b=$$t.$fw.parseTagContent("WorkingHours",a);if(String.isNullOrEmpty(b)==false){var c=$$t.$t._ae(b);if(c!=null&&c.length>0){this._b=new $$t.t(this._r.runOn(this));for(var e=0;e<c.length;e++){var d=c[e];this._b.add(d)}}}},_p:function(a){this._d=a},_o:function(){this._p(null)},_m:function(a){return $$t.$c._a[a]},$type:new $.ig.Type("scheduler.ScheduleDayOfWeekSettings",$.ig.$ot)},true);$c("scheduler.ScheduleDaysOfWeekSettings:d","Object",{_m:null,_a:null,_n:false,init:function(){var a;if(arguments.length===0){a=0}else if(arguments.length===1){a=1}if(a>0){switch(a){case 1:this._init1.apply(this,arguments);break;default:throw new Error("Invalid arguments")}return}this._a=new Array(7);this._n=false;$.ig.$op.init.call(this)},_init1:function(a){this._a=new Array(7);this._n=false;$.ig.$op.init.call(this);this._v(a)},sunday:function(a){if(arguments.length===1){this._item(0,a);return a}else{return this._item(0)}},monday:function(a){if(arguments.length===1){this._item(1,a);return a}else{return this._item(1)}},tuesday:function(a){if(arguments.length===1){this._item(2,a);return a}else{return this._item(2)}},wednesday:function(a){if(arguments.length===1){this._item(3,a);return a}else{return this._item(3)}},thursday:function(a){if(arguments.length===1){this._item(4,a);return a}else{return this._item(4)}},friday:function(a){if(arguments.length===1){this._item(5,a);return a}else{return this._item(5)}},saturday:function(a){if(arguments.length===1){this._item(6,a);return a}else{return this._item(6)}},defaultSettings:function(){if($$t.$d._k==null){var a=new $$t.d(null);a.saturday()._isWorkday$i($m($$0.$aq.$type,false));a.sunday()._isWorkday$i($m($$0.$aq.$type,false));a.monday()._isWorkday$i($m($$0.$aq.$type,true));a.tuesday()._isWorkday$i($m($$0.$aq.$type,true));a.wednesday()._isWorkday$i($m($$0.$aq.$type,true));a.thursday()._isWorkday$i($m($$0.$aq.$type,true));a.friday()._isWorkday$i($m($$0.$aq.$type,true));var b=new $$t.u($.ig.util.timeSpanFromHours(9),$.ig.util.timeSpanFromHours(17));var e=a._a;for(var d=0;d<e.length;d++){var c=e[d];c.workingHours().add(b)}$$t.$d._k=a}return $$t.$d._k},_v:function(a){this._m=a},_item:function(a,b){if(arguments.length===2){var c=a;var d=this._a[c];if(d!=null){d._p(null)}b.dayOfWeek(a);b._p(this._w.runOn(this));this._a[c]=b;this._w(a,null);return b}else{var b=a;var c=this._a[b];if(c==null){c=function(){var $ret=new $$t.c;$ret.dayOfWeek(a);return $ret}();c._p(this._w.runOn(this));this._a[b]=c}return c}},_o:function(a){return this._a!=null&&this._a[a]!=null},_w:function(a,b){if(this._n){return}if(this._m!=null){this._m(a,b)}},reset:function(){var a=this._a;this._a=new Array(7);for(var c=0;c<a.length;c++){var b=a[c];if(b==null){continue}this._w(b.dayOfWeek(),String.empty())}},_z:function(a){if(this._a==null||this._a.length==0){return}var d=this._a;for(var c=0;c<d.length;c++){var b=d[c];if(b==null){continue}b._s(a)}},_t:function(a){this._a=new Array(7);var b=new $$4.h($$0.$u.$type,String,1,7);var c=[0,1,2,3,4,5,6];for(var e=0;e<c.length;e++){var d=c[e];var f=$$t.$c._m(d);var g=$$t.$fw.parseTagContent(f,a);if(String.isNullOrEmpty(g)){continue}b.add(d,g)}var i=b.getEnumerator();while(i.moveNext()){var h=i.current();var j=this._item(h.key());j._n(h.value())}},suspendNotifications:function(){this._n=true},resumeNotifications:function(a){a=a!==void 0?a:true;this._n=false;if(this._a==null||a==false){return}var d=this._a;for(var c=0;c<d.length;c++){var b=d[c];if(b==null){continue}this._w(b.dayOfWeek(),String.empty())}},_b:function(a,b,c){var d=new $$4.x($$t.$c.$type,0);if(b!=null){var e=b._m()?b.daysOfWeekSettings():null;if(e!=null&&e._o(a)){d.add(e._item(a))}}if(c!=null&&c._o(a)){d.add(c._item(a))}d.add($$t.$d.defaultSettings()._item(a));return d.toArray()},_r:function(a,b,c){return $$t.$d._s(a.getDay(),b,c)},_s:function(a,b,c){var d=$$t.$d._b(a,b,c);return $$t.$d._q(d)},_q:function(a){for(var c=0;c<a.length;c++){var b=a[c];var d=b._isWorkday$i();if(d.hasValue()){return d.value()}}return false},_p:function(a,b,c){var d=$$t.$d._b(a.getDay(),b,c);if($$t.$d._q(d)==false){return false}for(var f=0;f<d.length;f++){var e=d[f];var g=e._e()?e.workingHours():null;if(g!=null&&g.count()>0){return g._item1($.ig.Date.prototype.getTimeOfDay(a))!=null}}return false},_u:function(){this._v(null);if(this._a!=null){for(var a=0;a<this._a.length;a++){var b=this._a[a];if(b!=null){b._o()}}}},$type:new $.ig.Type("scheduler.ScheduleDaysOfWeekSettings",$.ig.$ot)},true);$$t.d.defaultSettings=$$t.d.prototype.defaultSettings.runOn($$t.d.prototype);$c("scheduler.DateRecurrence:e","Object",{_d:0,_n:0,_m:0,_r:$m($$0.$s.$type,null),_k:0,_f:null,init:function(){var a;if(arguments.length===0){a=0}else if(arguments.length===1){a=1}if(a>0){switch(a){case 1:this._init1.apply(this,arguments);break;default:throw new Error("Invalid arguments")}return}this._d=0;this._n=1;this._m=0;this._r=$m($$0.$s.$type,null);this._k=1;$.ig.$op.init.call(this)},_init1:function(a){this._d=0;this._n=1;this._m=0;this._r=$m($$0.$s.$type,null);this._k=1;$.ig.$op.init.call(this);this._d=a},equals:function(a){var b=$b($$t.$e.$type,a);return null!=b&&b._m==this._m&&b._d==this._d&&b._n==this._n&&$j(b._r,this._r)&&b._k==this._k&&$$t.$f._ag(b._f,this._f)},getHashCode:function(){return this._m^this._d.getHashCode()^this._n^this._r.getHashCode()^this._k.getHashCode()^$$t.$ip.e($$t.$i.$type,this._f,null)},toString:function(){return this._x($$t.$ag.a())},_x:function(a){var b=a!=null?a._a8():$$t.$fx.f();return this._w(b)},_w:function(a){return $$t.$id.aa(this,a,$m($$0.$s.$type,null),$m($$0.$s.$type,null),$m($$0.$s.$type,null))},count:function(a){if(arguments.length===1){if(this._m!=a){this._m=a;this.raisePropertyChangedEvent("Count")}return a}else{return this._m}},frequency:function(a){if(arguments.length===1){if(this._d!=a){this._d=a;this.raisePropertyChangedEvent("Frequency")}return a}else{return this._d}},interval:function(a){if(arguments.length===1){if(this._n!=a){this._n=a;this.raisePropertyChangedEvent("Interval")}return a}else{return this._n}},rules:function(){if(arguments.length!==0){var a=this.rules();return a.item.apply(a,arguments)}if(this._f==null){this._f=new $$t.f}return this._f},until:function(a){if(arguments.length===1){arguments[0]=$t($$0.$s.$type,arguments[0]);this._until$i.apply(this,arguments);return a}else{return $s(this._until$i.apply(this,arguments))}},_until$i:function(a){if(arguments.length===1){if($l(this._r,a)){this._r=a;this.raisePropertyChangedEvent("Until")}return a}else{return this._r}},weekStart:function(a){if(arguments.length===1){if(this._k!=a){this._k=a;this.raisePropertyChangedEvent("WeekStart")}return a}else{return this._k}},_i:function(){return null!=this._f&&this._f.count()>0},fromICalendarString:function(a){var b=null;var c=function(){var d=$$t.$e._c(a,b);b=d.p1;return d.ret}();if(b!=null){throw b.exception()}return c},_c:function(a,b){return{ret:function(){var c=$$t.$id.f(a,b);b=c.p1;return c.ret}(),p1:b}},toStringWithStartDate:function(a,b){b=b!==void 0?b:null;var c=b!=null?$$t.$cu.create(b):$$t.$fx.f();return $$t.$id.aa(this,c,$m($$0.$s.$type,a),$m($$0.$s.$type,null),$m($$0.$s.$type,null))},toStringWithStartDateAndTimes:function(a,b,c,d){a=$t($$0.$s.$type,a);b=$t($$0.$s.$type,b);c=$t($$0.$s.$type,c);d=d!==void 0?d:null;var e=d!=null?$$t.$cu.create(d):$$t.$fx.f();return $$t.$id.aa(this,e,a,b,c)},toICalendarString:function(){return this._toICalendarString1.apply(this,arguments)},_toICalendarString1:function(a){var b;var c=function(){var d=$$t.$id.z(a,b);b=d.p1;return d.ret}();if(b!=null){throw b.exception()}return c},toICalendarString:function(){return $$t.$e._toICalendarString1(this)},_a:function(){var a=new $$t.e;a._d=this._d;a._n=this._n;a._m=this._m;a._r=this._r;a._k=this._k;if(this._i()){var c=this._f.getEnumerator();while(c.moveNext()){var b=c.current();a.rules().add(b._b())}}return a},_propertyChanged:null,raisePropertyChangedEvent:function(a){if(this._propertyChanged!=null){this._propertyChanged(this,new $$0.b7(a))}},$type:new $.ig.Type("scheduler.DateRecurrence",$.ig.$ot)},true);$$t.e.fromICalendarString=$$t.e.prototype.fromICalendarString.runOn($$t.e.prototype);$$t.e.toICalendarString=$$t.e.prototype.toICalendarString.runOn($$t.e.prototype);$c("scheduler.DateRecurrenceRuleBase:i","Object",{init:function(){$.ig.$op.init.call(this)},_a:function(){},equals:function(a){var b=$b($$t.$i.$type,a);if(null!=b){if(this._e()==b._e()){return b.getType()==this.getType()}}return false},getHashCode:function(){return this._e()},_h:function(a){},_b:function(){return this.memberwiseClone()},_e:function(){return-1},_g:function(a){},_propertyChanged:null,raisePropertyChangedEvent:function(a){if(this._propertyChanged!=null){this._propertyChanged(this,new $$0.b7(a))}},$type:new $.ig.Type("scheduler.DateRecurrenceRuleBase",$.ig.$ot)},true);$c("scheduler.RulesCollection:f","ObservableCollection$1",{init:function(){$$4.$f.init.call(this,$$t.$i.$type,0)},r:function(a,b){if(b==null){throw new $$6.e(0,"item")}$$4.$f.r.call(this,a,b)},x:function(a,b){if(b==null){throw new $$6.e(0,"item")}$$4.$f.x.call(this,a,b)},_ag:function(a,b){if(a==null&&b==null){return true}if(a==null&&b!=null||a!=null&&b==null){return false}var c=null!=a?a.count():0;var d=null!=b?b.count():0;if(c!=d){return false}if(c==0){return true}var e=new $$4.q($$t.$i.$type,1,a);var f=new $$4.q($$t.$i.$type,1,b);return e.setEquals(f)},_af:function(){var a=null;var b=null;var c=this._ah(a,b);a=c.p0;b=c.p1;return a==null?new Array(0):a.toArray()},_ae:function(){var a=null;var b=null;var c=this._ah(a,b);a=c.p0;b=c.p1;return b==null?new Array(0):b.toArray()},_ah:function(a,b){a=null;b=null;var d=this.getEnumerator();while(d.moveNext()){var c=d.current();var e=$b($$t.$r.$type,c);if(e!=null){if(a==null){a=new $$4.x($$t.$r.$type,0)}a.add(e)}else{if(b==null){b=new $$4.x($$t.$i.$type,0)}b.add(c)}}return{p0:a,p1:b}},$type:new $.ig.Type("scheduler.RulesCollection",$$4.$f.$type.specialize($$t.$i.$type))},true);$c("scheduler.MonthOfYearRecurrenceRule:j","scheduler.DateRecurrenceRuleBase",{_j:0,init:function(){var a;if(arguments.length===0){a=0}else if(arguments.length===1){a=1}if(a>0){switch(a){case 1:this._init1.apply(this,arguments);break;default:throw new Error("Invalid arguments")}return}$$t.$j._init1.call(this,1)},_init1:function(a){$$t.$i.init.call(this);$$t.$j._l(a);this._j=a},_e:function(){return this._j},month:function(a){if(arguments.length===1){if(a!=this._j){$$t.$j._l(a);this._j=a;this.raisePropertyChangedEvent("Month")}return a}else{return this._j}},_a:function(){return 1},_g:function(a){return(1<<24)+this._j},_h:function(a){a.ag(this._j)},_l:function(a){if(a<1||a>12){throw new $$6.f(1,"month")}},$type:new $.ig.Type("scheduler.MonthOfYearRecurrenceRule",$$t.$i.$type)},true);$c("scheduler.WeekOfYearRecurrenceRule:k","scheduler.DateRecurrenceRuleBase",{_j:0,init:function(){var a;if(arguments.length===0){a=0}else if(arguments.length===1){a=1}if(a>0){switch(a){case 1:this._init1.apply(this,arguments);break;default:throw new Error("Invalid arguments")}return}$$t.$k._init1.call(this,1)},_init1:function(a){$$t.$i.init.call(this);$$t.$k._l(a);this._j=a},_e:function(){return this._j},weekNumber:function(a){if(arguments.length===1){if(this._j!=a){$$t.$k._l(a);this._j=a;this.raisePropertyChangedEvent("WeekNumber")}return a}else{return this._j}},_a:function(){return 2},_g:function(a){return(2<<24)+this._j},_h:function(a){a.ah(this._j)},_l:function(a){var b=Math.abs(a);if(b<1||b>53){throw new $$6.f(1,"weekOfYear")}},$type:new $.ig.Type("scheduler.WeekOfYearRecurrenceRule",$$t.$i.$type)},true);$c("scheduler.DayOfYearRecurrenceRule:l","scheduler.DateRecurrenceRuleBase",{_j:0,init:function(){var a;if(arguments.length===0){a=0}else if(arguments.length===1){a=1}if(a>0){switch(a){case 1:this._init1.apply(this,arguments);break;default:throw new Error("Invalid arguments")}return}$$t.$l._init1.call(this,1)},_init1:function(a){$$t.$i.init.call(this);$$t.$l._l(a);this._j=a},_e:function(){return this._j},_g:function(a){return(3<<24)+this._j},dayOfYear:function(a){if(arguments.length===1){if(this._j!=a){$$t.$l._l(a);this._j=a;this.raisePropertyChangedEvent("DayOfYear")}return a}else{return this._j}},_a:function(){return 3},_h:function(a){a.af(this._j)},_l:function(a){var b=Math.abs(a);if(b<1||b>366){throw new $$6.f(1,"dayOfYear")}},$type:new $.ig.Type("scheduler.DayOfYearRecurrenceRule",$$t.$i.$type)},true);$c("scheduler.DayOfMonthRecurrenceRule:m","scheduler.DateRecurrenceRuleBase",{_j:0,init:function(){var a;if(arguments.length===0){a=0}else if(arguments.length===1){a=1}if(a>0){switch(a){case 1:this._init1.apply(this,arguments);break;default:throw new Error("Invalid arguments")}return}$$t.$m._init1.call(this,1)},_init1:function(a){$$t.$i.init.call(this);$$t.$m._l(a);this._j=a},_e:function(){return this._j},dayOfMonth:function(a){if(arguments.length===1){if(this._j!=a){$$t.$m._l(a);this._j=a;this.raisePropertyChangedEvent("DayOfMonth")}return a}else{return this._j}},_a:function(){return 3},_g:function(a){return(4<<24)+this._j},_h:function(a){a.ad(this._j)},_l:function(a){var b=Math.abs(a);if(b<1||b>31){throw new $$6.f(1,"dayOfMonth")}},$type:new $.ig.Type("scheduler.DayOfMonthRecurrenceRule",$$t.$i.$type)},true);$c("scheduler.DayOfWeekRecurrenceRule:n","scheduler.DateRecurrenceRuleBase",{_j:0,_l:0,init:function(){var a;if(arguments.length===0){a=0}else if(arguments.length===1){a=1}else if(arguments.length===2){a=1}if(a>0){switch(a){case 1:this._init1.apply(this,arguments);break;default:throw new Error("Invalid arguments")}return}$$t.$n._init1.call(this,1,0)},_init1:function(a,b){b=b!==void 0?b:0;$$t.$i.init.call(this);$$t.$n._n(b);this._j=a;this._l=b},_e:function(){return this._l<<16^this._j},day:function(a){if(arguments.length===1){if(this._j!=a){this._j=a;this.raisePropertyChangedEvent("Day")}return a}else{return this._j}},relativePosition:function(a){if(arguments.length===1){if(this._l!=a){$$t.$n._n(a);this._l=a;this.raisePropertyChangedEvent("RelativePosition")}return a}else{return this._l}},_a:function(){return 3},_g:function(a){var b=null!=a?a.f.weekStart():1;var c=this._j;if(c<b){c+=7}return(5<<24)+c},_h:function(a){a.ae(this._j,this._l)},_n:function(a){var b=Math.abs(a);if(b>53){throw new $$6.f(1,"relativePosition")}},$type:new $.ig.Type("scheduler.DayOfWeekRecurrenceRule",$$t.$i.$type)},true);$c("HourRecurrenceRule:o","scheduler.DateRecurrenceRuleBase",{_j:0,init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$o.init1.call(this,1,0)},init1:function(a,b){$$t.$i.init.call(this);$$t.$o._l(b);this._j=b},_e:function(){return this._j},_k:function(a){if(arguments.length===1){if(this._j!=a){$$t.$o._l(a);this._j=a;this.raisePropertyChangedEvent("Hour")}return a}else{return this._j}},_a:function(){return 4},_g:function(a){return(6<<24)+this._j},_h:function(a){if(a.u>=0&&a.u!=this._j){a.g.l()}else{a.u=this._j}},_l:function(a){if(a<0||a>23){throw new $$6.f(1,"hour")}},$type:new $.ig.Type("HourRecurrenceRule",$$t.$i.$type)},true);$c("scheduler.MinuteRecurrenceRule:p","scheduler.DateRecurrenceRuleBase",{_j:0,init:function(){var a;if(arguments.length===0){a=0}else if(arguments.length===1){a=1}if(a>0){switch(a){case 1:this._init1.apply(this,arguments);break;default:throw new Error("Invalid arguments")}return}$$t.$p._init1.call(this,0)},_init1:function(a){$$t.$i.init.call(this);$$t.$p._l(a);this._j=a},_e:function(){return this._j},minute:function(a){if(arguments.length===1){if(this._j!=a){$$t.$p._l(a);this._j=a;this.raisePropertyChangedEvent("Minute")}return a}else{return this._j}},_a:function(){return 5},_g:function(a){return(7<<24)+this._j},_h:function(a){if(a.v>=0&&a.v!=this._j){a.g.l()}else{a.v=this._j}},_l:function(a){if(a<0||a>59){throw new $$6.f(1,"minute")}},$type:new $.ig.Type("scheduler.MinuteRecurrenceRule",$$t.$i.$type)},true);$c("scheduler.SecondRecurrenceRule:q","scheduler.DateRecurrenceRuleBase",{_j:0,init:function(){var a;if(arguments.length===0){a=0}else if(arguments.length===1){a=1}if(a>0){switch(a){case 1:this._init1.apply(this,arguments);break;default:throw new Error("Invalid arguments")}return}$$t.$q._init1.call(this,0)},_init1:function(a){$$t.$i.init.call(this);$$t.$q._l(a);this._j=a},_e:function(){return this._j},second:function(a){if(arguments.length===1){if(this._j!=a){$$t.$q._l(a);this._j=a;this.raisePropertyChangedEvent("Second")}return a}else{return this._j}},_a:function(){return 6},_g:function(a){return(8<<24)+this._j},_h:function(a){if(a.x>=0&&a.x!=this._j){a.g.l()}else{a.x=this._j}},_l:function(a){if(a<0||a>59){throw new $$6.f(1,"second")}},$type:new $.ig.Type("scheduler.SecondRecurrenceRule",$$t.$i.$type)},true);$c("scheduler.SubsetRecurrenceRule:r","scheduler.DateRecurrenceRuleBase",{_j:0,init:function(){var a;if(arguments.length===0){a=0}else if(arguments.length===1){a=1}if(a>0){switch(a){case 1:this._init1.apply(this,arguments);break;default:throw new Error("Invalid arguments")}return}$$t.$r._init1.call(this,1)},_init1:function(a){$$t.$i.init.call(this);$$t.$r._l(a);this._j=a},_e:function(){return this._j},occurrenceInstance:function(a){if(arguments.length===1){if(this._j!=a){$$t.$r._l(a);this._j=a;this.raisePropertyChangedEvent("OccurrenceInstance")}return a}else{return this._j}},_g:function(a){return(9<<24)+this._j},_h:function(a){},_l:function(a){var b=Math.abs(a);if(b<1||b>366){throw new $$6.f(1,"OccurrenceInstance")}},_a:function(){throw new $$6.q(0)},$type:new $.ig.Type("scheduler.SubsetRecurrenceRule",$$t.$i.$type)},true);$c("scheduler.TimeRange:s","Object",{_k:null,_j:null,init:function(){var a;if(arguments.length===0){a=0}else if(arguments.length===2){a=1}if(a>0){switch(a){case 1:this._init1.apply(this,arguments);break;default:throw new Error("Invalid arguments")}return}$$t.$s._init1.call(this,0,0)},_init1:function(a,b){this._k=0;this._j=0;$.ig.$op.init.call(this);this._k=a;this._j=b;this._n()},equals:function(a){var b=$b($$t.$s.$type,a);if(null!=b){return this.start()==b.start()&&this.end()==b.end()}return false},getHashCode:function(){var a=null!=this.start()?this.start().getHashCode():0;var b=null!=this.end()?this.end().getHashCode():0;return a+b},_c:function(){if($$t.$s._a==null){$$t.$s._a=new $$t.s(0,0)}return $$t.$s._a},start:function(a){if(arguments.length===1){if(a!=this._k){this.validateStart(a);this._k=a;this._n()}return a}else{return this._k}},end:function(a){if(arguments.length===1){if(a!=this._j){this.validateEnd(a);this._j=a;this._n()}return a}else{return this._j}},_g:function(){return this.start()==0&&this.end()==0},clone:function(){return new $$t.s(this._k,this._j)},validateStart:function(a){},validateEnd:function(a){},intersectsWith:function(a,b){b=b!==void 0?b:true;if(b){if(a.start()==this.end()||a.end()==this.start()){return false}}return(a.end()<this.start()||a.start()>this.end())==false},contains:function(a,b){b=b!==void 0?b:true;if(b&&a==this.end()){return false}return(a<this.start()||a>this.end())==false},toString:function(){return $6("{0} - {1}",this.start(),this.end())},_n:function(){if(this._k>this._j){var a=this._k;this._j=this._k;this._k=a}},$type:new $.ig.Type("scheduler.TimeRange",$.ig.$ot)},true);$c("scheduler.WorkingHourTimeRange:u","scheduler.TimeRange",{_s:false,init:function(){var a;if(arguments.length===0){a=0}else if(arguments.length===2){a=1}if(a>0){switch(a){case 1:this._init1.apply(this,arguments);break;default:throw new Error("Invalid arguments")}return}$$t.$u._init1.call(this,0,$$t.$u._v)},_init1:function(a,b){this._s=false;$$t.$s._init1.call(this,a,b)},validateStart:function(a){$$t.$u._x(a,"Start");this._ab("Start")},validateEnd:function(a){$$t.$u._x(a,"End");this._ab("End")},_ab:function(a){if(this._s){throw $$t.$fw.createException1("WorkingHourTimeRange_Exception_CannotModifyTime",[a])}},_y:function(a){this._s=a},_r:function(a,b){if(a.intersectsWith(b,false)){var c=$.ig.truncate($.ig.util.timeSpanTotalSeconds(a.start()));var d=$.ig.truncate($.ig.util.timeSpanTotalSeconds(a.end()));var e=$.ig.truncate($.ig.util.timeSpanTotalSeconds(b.start()));var f=$.ig.truncate($.ig.util.timeSpanTotalSeconds(b.end()));var g=Math.min(c,e);var h=Math.max(d,f);return new $$t.u($.ig.util.timeSpanFromSeconds(g),$.ig.util.timeSpanFromSeconds(h))}return null},_z:function(a){$$t.$u._aa(a,this.start());a.l("-");$$t.$u._aa(a,this.end())},_aa:function(a,b){var c=$.ig.util.timeSpanHours(b);var d=$.ig.util.timeSpanMinutes(b);var e=$.ig.util.timeSpanSeconds(b);a.j(c);if(d==0&&e==0){return}a.l(":");a.j(d);if(e==0){a.l(":");a.j(e)}},_q:function(a){var b=$.ig.util.stringSplit(a,["-"],1);if(b.length!=2){return null}var c=$$t.$u._w(b[0]);var d=$$t.$u._w(b[1]);return new $$t.u(c,d)},_w:function(a){var b=$.ig.util.stringSplit(a,[":"],1);var c=-1,d=-1,e=-1;for(var g=0;g<b.length;g++){var f=b[g];var h=0;if(function(){var i=$z(f,h);h=i.p1;return i.ret}()){if(c<0){c=h}else if(d<0){d=h}else{e=h}}else{throw $$t.$fw.createException1("ScheduleDayOfWeekSettings_Exception_InvalidValue",[f])}}c=Math.max(c,0);d=Math.max(d,0);e=Math.max(e,0);return $.ig.util.timeSpanInit1(c,d,e)},_x:function(a,b){if(a<0||a>=$$t.$u._v){throw new $$6.f(1,b)}},$type:new $.ig.Type("scheduler.WorkingHourTimeRange",$$t.$s.$type)},true);$c("scheduler.WorkingHoursCollection:t","ObservableCollection$1",{_ag:null,_aj:null,init:function(a){var b;if(arguments.length===0){b=1}else if(arguments.length===1){b=0}if(b>0){switch(b){case 1:this._init1.apply(this,arguments);break;default:throw new Error("Invalid arguments")}return}this._aj=null;$$4.$f.init.call(this,$$t.$u.$type,0);this._ag=a},_init1:function(){this._aj=null;$$4.$f.init.call(this,$$t.$u.$type,0)},_ak:function(){if(this._aj==null){this._aj=new $$4.x($$t.$u.$type,2,this.count());var b=this.getEnumerator();while(b.moveNext()){var a=b.current();this._aj.add(a)}while($$t.$t._ah(this._aj)){}if(this._aj.count()>1){this._aj.sort1(new $$t.w)}}return this._aj},_item1:function(a){var b=this._ak();var d=b.getEnumerator();while(d.moveNext()){var c=d.current();if(c.contains(a,true)){return c}}return null},_am:function(a){this._ag=a},_ai:function(a){var b=a==null?0:a.count();var c=new $$4.x($$t.$u.$type,2,b);if(a!=null){var e=a.getEnumerator();while(e.moveNext()){var d=e.current();c.add($b($$t.$u.$type,d))}}return c},ac:function(a){this._aj=null;var b=$$t.$t._ai(a.oldItems());var c=$$t.$t._ai(a.newItems());$$t.$t._an(b,false);$$t.$t._an(c,true);if(this._ag!=null){this._ag(a.action())}$$4.$f.ac.call(this,a)},_an:function(a,b){if(a==null){return}var d=a.getEnumerator();while(d.moveNext()){var c=d.current();c._y(b)}},p:function(){$$t.$t._an(this,false);$$4.$f.p.call(this)},_add2:function(a,b){this.add(new $$t.u(a,b))},_ao:function(a){if(this.count()==0){return}var b=this.count()-1;for(var c=0;c<=b;c++){var d=this.__inner[c];d._z(a);if(c<b){a.l(",")}}},_ae:function(a){var b=$.ig.util.stringSplit(a,[","],1);var c=new $$4.x($$t.$u.$type,2,b.length);for(var e=0;e<b.length;e++){var d=b[e];var f=$$t.$u._q(d);if(f!=null){c.add(f)}}if(c.count()>1){c.sort2($$t.$w._getComparer())}return c.toArray()},_ah:function(a){if(a.count()<=1){return false}var b=a.count();var c=null;var d=null;for(var e=0;e<b;e++){var f=a.__inner[e];for(var g=0;g<b;g++){if(g==e){continue}var h=a.__inner[g];d=$$t.$u._r(f,h);if(d!=null){c=[e,g];break}}if(d!=null){break}}if(d!=null){if(c[0]>c[1]){a.removeAt(c[0]);a.removeAt(c[1])}else{a.removeAt(c[1]);a.removeAt(c[0])}a.add(d);return true}return false},$type:new $.ig.Type("scheduler.WorkingHoursCollection",$$4.$f.$type.specialize($$t.$u.$type))},true);$c("WorkingHourHelper:v","Object",{a:null,c:null,b:false,j:null,i:null,init:function(a,b,c,d){this.a=null;this.c=null;this.b=true;this.j=null;this.i=null;$.ig.$op.init.call(this);if(a==null){throw new $$6.e(1)}this.a=a;var e=this.a.dataSource();this.c=b&&e!=null?e.getResources():c;this.b=d},g:function(){if(this.i==null){this.i=$b($$4.$x.$type.specialize($$0.$u.$type),$$t.$v.e(this.c,this.a.daysOfWeekSettings(),this.a._a8()))}return this.i},h:function(){if(this.j==null){this.j=$b($$4.$x.$type.specialize($$t.$s.$type),$$t.$v.f(this.a,false,this.c))}return this.j},f:function(a,b,c){if(a==null){throw new $$6.e(1)}var d=a.dataSource();var e=a._c3()?a.daysOfWeekSettings():null;
if(b&&d!=null){c=d.getResources()}var f=new $$4.x($$t.$u.$type,0);var g=function(h){while($$t.$t._ah(h)){}h.sort2($$t.$w._getComparer());var i=new $$4.x($$t.$s.$type,2,h.count());var k=h.getEnumerator();while(k.moveNext()){var j=k.current();i.add(new $$t.s(j.start(),j.end()))}return i};var h=$$t.$v.d(a,b,c,true);if(c!=null){var j=c.getEnumerator();while(j.moveNext()){var i=j.current();var l=h.getEnumerator();while(l.moveNext()){var k=l.current();var m=false;var n=function(){var o=i._l(k,e,m);m=o.p2;return o.ret}();if(n!=null){f.addRange(n)}}}}else{var p=h.getEnumerator();while(p.moveNext()){var o=p.current();var q=$$t.$d._b(o,null,e);for(var s=0;s<q.length;s++){var r=q[s];if(r._e()){f.addRange(r.workingHours());break}}}}return g(f)},d:function(a,b,c,d){if(a==null){throw new $$6.e(1)}var e=a.dataSource();if(b&&e!=null){c=e.getResources()}var f=d?a._a8():null;var g=a._c3()?a.daysOfWeekSettings():null;return $$t.$v.e(c,g,f)},e:function(a,b,c){var d=c!=null?$$t.$fx.c(c):$$t.$fx.a();var e=function(f){var g=new $$4.x($$0.$u.$type,2,d.length);for(var h=0;h<d.length;h++){if(f[h].value()){g.add(d[h])}}return g};var f=new Array(d.length);if(a!=null){var h=a.getEnumerator();while(h.moveNext()){var g=h.current();for(var i=0;i<d.length;i++){var j=d[i];if(g._r(j,b)){f[i]=$m($$0.$aq.$type,true)}}}for(var k=0;k<d.length;k++){if($j(f[k],null)){f[k]=$m($$0.$aq.$type,false)}}return e(f)}for(var l=0;l<d.length;l++){var m=d[l];f[l]=$m($$0.$aq.$type,null);var n=b!=null&&b._o(m)?b._item(m):null;if(n!=null&&n._isWorkday$i().hasValue()){f[l]=$m($$0.$aq.$type,n._isWorkday$i().value())}if(f[l].hasValue()==false){f[l]=$m($$0.$aq.$type,$$t.$d.defaultSettings()._item(m)._isWorkday$i().value())}}return e(f)},$type:new $.ig.Type("WorkingHourHelper",$.ig.$ot)},true);$c("WorkingHourTimeRangeComparer:w","Object",{init:function(){$.ig.$op.init.call(this)},_getComparer:function(){var a=new $$t.w;return a._compare.runOn(a)},_compare:function(a,b){if(a==null||b==null){return 0}var c=$.ig.truncate($.ig.util.timeSpanTotalSeconds(a.start()));var d=$.ig.truncate($.ig.util.timeSpanTotalSeconds(b.start()));return $x(c,d)},compare:function(a,b){return this._compare(a,b)},$type:new $.ig.Type("WorkingHourTimeRangeComparer",$.ig.$ot,[$$6.$ad.$type.specialize($$t.$u.$type)])},true);$c("scheduler.ObservableObject:ab","Object",{init:function(){$.ig.$op.init.call(this)},onPropertyChanged:function(a){if(this._propertyChanged!=null){this._propertyChanged(this,new $$0.b7(a))}},_propertyChanged:null,destroy:function(){},$type:new $.ig.Type("scheduler.ObservableObject",$.ig.$ot)},true);$c("scheduler.DataBindableItemBase:aa","scheduler.ObservableObject",{init:function(){$$t.$ab.init.call(this)},_e:null,dataObject:function(){return this._e},_g:function(a,b){this._e=a;if(b){this.onPropertyChanged("DataObject")}},_d:function(a){var b=new $$t.aa;b._g(a._e,false);return b},destroy:function(){$$t.$ab.destroy.call(this);this._g(null,false)},$type:new $.ig.Type("scheduler.DataBindableItemBase",$$t.$ab.$type)},true);$c("IActivityDataObject:hc","Object",{$type:new $.ig.Type("IActivityDataObject",null)},true);$c("scheduler.ActivityBase:x","scheduler.DataBindableItemBase",{_k:null,_ar:null,_au:null,_av:null,_af:new Date,_ad:new Date,_as:null,_h:null,_o:null,_at:null,_ae:new Date,_q:false,_m:null,_aq:null,_an:0,_ao:$m($$0.$aq.$type,null),init:function(){this._an=-1;$$t.$aa.init.call(this)},id:function(a){if(arguments.length===1){this._br(a,true);return a}else{return this._ar}},_br:function(a,b){if(a!=this._ar){var c=this._ar;this._ar=a;this._bn("Id",c,this._ar,b);this.onPropertyChanged("Id")}},resourceId:function(a){if(arguments.length===1){if(a!=this._au){if(this._u()){var b=$$t.$fw.createException1("ActivityBase_Exception_CannotModifyOccurrenceProperty",["ResourceId",this.getType().typeName()]);throw b}var c=this._au;this._au=a;this._o=null;this._bo(c,this._au);this._bn("ResourceId",c,this._au,true);this.onPropertyChanged("ResourceId")}return a}else{if(this._au==null&&this._u()){return this.recurrenceRoot()._au}return this._au}},resource:function(a){if(arguments.length===1){if(a!=this.resource()){if(a!=null){if(a._i()==null||a._i()!=this._l()){var b;if(this._l()!=null){b=this._l()._ar("LE_ActivityBase_DisassociatedResource")}else{b=$$t.$ag.c("LE_ActivityBase_DisassociatedResource",null)}throw new $$0.n(1,b)}}var c=this._o;var d=c==null?null:c.id();this._o=a;this._au=this._o.id();this._bo(d,this._au);this._bn("Resource",c,this._o,true);this.onPropertyChanged("Resource")}return a}else{if(this._k==null){return null}if(this._an!=this._k._am()){this._an=this._k._am();this._o=null}if(this._o==null&&this._u()){return this._h.resource()}if(String.isNullOrEmpty(this._au)){return null}if(this._o==null){if(this._k!=null&&String.isNullOrEmpty(this._au)==false){this._o=this._k._w(this._au)}}return this._o}},subject:function(a){if(arguments.length===1){if(a!=this._av){var b=this._av;this._av=a;this._bn("Subject",b,this._av,true);this.onPropertyChanged("Subject")}return a}else{if(this._av==null&&this._u()){return this.recurrenceRoot()._av}return this._av}},description:function(a){if(arguments.length===1){if(a!=this._aq){var b=this._aq;this._aq=a;this._bn("Description",b,this._aq,true);this.onPropertyChanged("Description")}return a}else{if(this._aq==null&&this._u()){return this.recurrenceRoot()._aq}return this._aq}},start:function(a){if(arguments.length===1){var b=$$t.$a._i(a);this._bu(b,this._ad);return a}else{return $$t.$a._i(this._af)}},_bu:function(a,b){if($$t.$a._c(a,this._af)==false){if(this._ab(a,"Start")){return}var c=this._af;this._af=a;var d=false;if(a>this._ad){d=true;this._bq(this._af,c)}if(d==false){this._bp(c,b,this._af,this._ad)}this._bn("Start",c,this._af,true);this.onPropertyChanged("Start")}},_am:function(){return $$t.$x._ah(this.start(),this.isAllDay())},end:function(a){if(arguments.length===1){var b=$$t.$a._i(a);this._bq(b,this._af);return a}else{return $$t.$a._i(this._ad)}},_bq:function(a,b){if($$t.$a._c(a,this._ad)==false){if(this._ab(a,"End")){return}var c=this._ad;this._ad=a;var d=false;if(a<this._af){d=true;this._bu(this._ad,c)}if(d==false){this._bp(b,c,this._af,this._ad)}this._bn("End",c,this._ad,true);this.onPropertyChanged("End")}},_aj:function(){return $$t.$x._ag(this.end(),this.isAllDay())},_bf:function(){return this.end()-this.start()},_bg:function(){return this._aj()-this._am()},originalStart:function(a){if(arguments.length===1){if($$t.$a._c(a,this._ae)==false){var b=this._ae;this._ae=$$t.$a._i(a);this._bn("OriginalStart",b,this._as,true);this.onPropertyChanged("OriginalStart")}return a}else{return $$t.$a._i(this._ae)}},recurrence:function(a){if(arguments.length===1){if(a!=this._as){if(this._u()){var b=$$t.$fw.createException1("ActivityBase_Exception_CannotModifyOccurrenceProperty",["Recurrence",this.getType().typeName()]);throw b}this._m=null;this._bt(a,true)}return a}else{return this._as}},_bt:function(a,b){if(b){var c=null;var d=$$t.$e._c(a,c);c=d.p1;if(c!=null){throw c.exception()}}var e=this._as;this._as=a;this._bn("Recurrence",e,this._as,true);this.onPropertyChanged("Recurrence")},_n:function(){var $self=this;if(this._m==null){if(String.isNullOrEmpty(this._as)){return null}var a=null;this._m=function(){var b=$$t.$e._c($self._as,a);a=b.p1;return b.ret}()}return this._m},recurrenceRoot:function(a){if(arguments.length===1){if(a!=this._h){this._at=null;var b=this._h;this._h=a;if(this._h!=null){this._at=this._h.id()}this._bn("RecurrenceRoot",b,this._h,true);this.onPropertyChanged("RecurrenceRoot")}return a}else{if(this._h==null){if(this._k==null||String.isNullOrEmpty(this._at)){return null}this._h=this._k._c(this._at)}return this._h}},recurrenceId:function(a){if(arguments.length===1){if(a!=this._at){var b=this._at;this._at=a;this._as=null;this._bn("RecurrenceId",b,this._at,true);this.onPropertyChanged("RecurrenceId")}return a}else{return this._at}},isRecurrenceRoot:function(){return String.isNullOrEmpty(this.recurrence())==false},_t:function(){if(this.__z){return false}if(this._k==null){return false}if(this._h==null){return false}return this.dataObject()==null},_u:function(){return this._k!=null&&this._h!=null},_y:function(){if(this.__z){return true}if(this._k==null){return false}if(this.recurrenceRoot()==null){return false}return this.dataObject()!=null},isRemoved:function(a){if(arguments.length===1){if(a!=this._q){var b=this._q;this._q=a;this._bn("IsRemoved",b,this._q,true);this.onPropertyChanged("IsRemoved")}return a}else{if(this._t()){return false}return this._q}},isAllDay:function(a){if(arguments.length===1){var b=this.isAllDay();if(a!=b){this._ao=$m($$0.$aq.$type,a);var c=this._aa(b,a);if(c==false){this._bm(a);this._bn("IsAllDay",b,$s(this._ao),true)}this.onPropertyChanged("IsAllDay")}return a}else{if(this._ao.hasValue()==false&&this._u()){return this._h.isAllDay()}return this._ao.hasValue()&&this._ao.value()}},_s:function(){return this._ao.hasValue()&&this._ao.value()},__z:false,_l:function(){return this._k},_bv:function(){if(this._k==null){return null}return this._k._s().x(this.resource(),false)},_bw:function(a){var b=this._bv();if(b!=null){return b}if(a!=null){return a}return $$t.$g3.v},_by:function(){if(this._k==null){return null}return this._k._s().y(this.resource(),false,false)},_bx:function(a){if(this._k==null){return null}return this._k._s().y(this.resource(),a,false)},_ab:function(a,b){if(this._t()==false){return false}var c=a;switch(b){case"Start":c=this._af;this._af=a;if(this._ad<a){this._ad=a}break;case"End":c=this._ad;this._ad=a;if(this._af>a){this._af=a}break}this._bn(b,c,a,true);return true},_aa:function(a,b){if(this._t()==false){return false}this._bn("IsAllDay",a,b,true);return true},_bm:function(a){if(this._l()!=null){var b=a==false;var c=this.start();var d=this.end();var e=$$t.$x._ah(c,b);var f=$$t.$x._ah(c,a);var g=$$t.$x._ag(d,b);var h=$$t.$x._ag(d,a);this._l()._a4(this,e,g,f,h,true)}},_bp:function(a,b,c,d){if(this._l()!=null&&this._l().internalNotifyPropertyChanging(this,null,null,null)){this._l()._a4(this,a,b,c,d,false)}},_bo:function(a,b){if(this._l()!=null){this._l()._a3(this,a,b)}},_bn:function(a,b,c,d){},onPropertyChanged:function(a){$$t.$aa.onPropertyChanged.call(this,a)},_bh:function(a){this._k=a},_ap:function(a,b){var c=null;switch(b){case"Id":c=a._ar;break;case"Start":c=a._af;break;case"End":c=a._ad;break;case"Subject":c=a._av;break;case"Description":c=a._aq;break;case"Recurrence":c=a._as;break;case"RecurrenceRoot":c=a._h;break;case"ResourceId":c=a._au;break;case"Resource":c=a._o;break;case"RecurrenceId":c=a._at;break;case"OriginalStart":c=a._ae;break;case"IsRemoved":c=a._q;break;case"IsAllDay":c=$s(a._ao);break;default:break}return c},_bk:function(a,b){switch(a){case"IsRemoved":this._q=b.hasValue()&&b.value();break;case"IsAllDay":this._ao=b;break;default:break}},_bj:function(a,b){switch(a){case"Start":this._af=$$t.$a._i(b);break;case"End":this._ad=$$t.$a._i(b);break;case"OriginalStart":this._ae=$$t.$a._i(b);break;default:break}},_bl:function(a,b){switch(a){case"Id":this._ar=b;break;case"ResourceId":this._au=b;break;case"RecurrenceId":this._at=b;break;case"Subject":this._av=b;break;case"Description":this._aq=b;break;case"Recurrence":this._as=b;break;default:break}},_bi:function(a){$$t.$aa._d.call(this,a);this.id(a._ar);this.resourceId(a._au);this.start(a._af);this.end(a._ad);this.subject(a._av);this._as=a._as;this._h=a._h},_i:function(){var a=new $$t.x;a._bi(this);return a},_ac:function(){var a=new $$4.x($$0.$s.$type,0);var b=$.ig.Date.prototype.getDate(this.start());var c=$$t.$fx.i(b,this.end());var d=b;a.add(d);d=$.ig.Date.prototype.addDays(d,1);while(d<=c){a.add(d);d=$.ig.Date.prototype.addDays(d,1);if(d>c){break}}return a},_x:function(a){if(a==null){return false}if(a._t()&&this._t()&&a.recurrenceRoot()==this.recurrenceRoot()&&+a.originalStart()==+this.originalStart()){return true}return this==a},_ah:function(a,b){return b?$.ig.Date.prototype.getDate(a):a},_ag:function(a,b){return b?$.ig.Date.prototype.addDays($.ig.Date.prototype.getDate(a),1):a},_bs:function(a,b){switch(a){case"Id":this._ar=b;break;case"RecurrenceId":this._at=b;break;case"ResourceId":this._au=b;break;case"Recurrence":this._as=b;break;case"Subject":this._av=b;break;case"Description":this._aq=b;break;case"IsAllDay":this._ao=$m($$0.$aq.$type,b);break;case"IsRemoved":this._q=b;break;case"Start":this._af=b;break;case"OriginalStart":this._ae=b;break;case"End":this._ad=b;break;case"RecurrenceRoot":this._h=b;break;case"Resource":this._o=b;break;default:break}},destroy:function(){$$t.$aa.destroy.call(this);this._bh(null)},start_1:function(){return this._am()},end_1:function(){return this._aj()},dataObjectInternal:function(){return this},$type:new $.ig.Type("scheduler.ActivityBase",$$t.$aa.$type,[$$t.$hc.$type])},true);$c("ActivitySortComparer:y","Object",{init:function(){$.ig.$op.init.call(this)},_getComparer:function(){var a=new $$t.y;return a._compare.runOn(a)},_compare:function(a,b){if(a==null||b==null){return 0}var c=a._am();var d=b._am();if(c<d){return-1}else if(c>d){return 1}var e=a._aj()-c;var f=b._aj()-d;if(e>f){return-1}else if(e<f){return 1}if(a.isAllDay()&&b.isAllDay()==false){return-1}else if(a.isAllDay()==false&&b.isAllDay()){return 1}return $4(a.subject(),b.subject())},compare:function(a,b){return this._compare(a,b)},$type:new $.ig.Type("ActivitySortComparer",$.ig.$ot,[$$6.$ad.$type.specialize($$t.$x.$type)])},true);$c("scheduler.Appointment:z","scheduler.ActivityBase",{_b7:null,init:function(){$$t.$x.init.call(this)},toString:function(){var a=this.isAllDay()?" (all-day)":String.empty();return $7("Start: {0}, End: {1}, Subject: {2}, Location: {3}{4}",[this._am(),this._aj(),this.subject(),this.location(),a])},location:function(a){if(arguments.length===1){if(a!=this._b7){var b=this._b7;this._b7=a;this._ce(2,b,this._b7,true);this.onPropertyChanged($$t.$h8.$getName(2))}return a}else{if(this._b7==null&&this._u()){return this._b0()._b7}return this._b7}},_b0:function(){var a=this.recurrenceRoot();return a==null?null:$b($$t.$z.$type,a)},_bn:function(a,b,c,d){var e=$$t.$fw.parseAppointmentProperty(a);this._ce(e,b,c,d)},_ce:function(a,b,c,d){if(this._l()!=null&&this._l().internalNotifyPropertyChanging(this,$$t.$h8.$getName(a),b,c)==false){return}if(this._b1(a)){this._ca()}if(this._l()!=null){this._l().onAppointmentPropertyChanged(this,a,b,c,d)}},_b1:function(a){if(this.isRecurrenceRoot()){return false}switch(a){case 6:case 12:return false;default:return true}},_ca:function(){var $self=this;if(this._t()==false){return}this.__z=true;var a=this._l().createVariance(this);if(a.status()==1){this._cf(a.error())}else{var b=function(c,d){$self._cf(a.error())};a._completed=$.ig.Delegate.prototype.combine(a._completed,b)}},_cf:function(a){this.__z=false;if(a!=null){throw a.exception()}},isSameAs:function(){return this._isSameAs1.apply(this,arguments)},_isSameAs1:function(a){return $$t.$x._x.call(this,a)},onPropertyChanged:function(a){$$t.$x.onPropertyChanged.call(this,a)},_b6:function(a){return $$t.$z._b5(this,a)},_b5:function(a,b){var c=null;switch(b){case 0:case 4:case 5:case 1:case 3:case 6:case 7:case 9:case 8:case 10:case 11:case 12:case 13:var d=$$t.$h8.$getName(b);c=$$t.$x._ap(a,d);break;case 2:c=a._b7;break;default:break}return c},_bs:function(a,b){switch(a){case"Location":this._b7=b;break;default:$$t.$x._bs.call(this,a,b);break}},_b4:function(a,b,c){var $self=this;return{ret:function(){var d=$$t.$z._b3($self,a,b,c);c=d.p3;return d.ret}(),p2:c}},_b3:function(a,b,c,d){d=null;try{switch(b){case 0:a.id(c);break;case 4:a.start(c);break;case 5:a.end(c);break;case 1:a.subject(c);break;case 2:a.location(c);break;case 3:a.description(c);break;case 6:a.recurrence(c);break;case 7:a.recurrenceRoot(c);break;case 8:a.resourceId(c);break;default:break}}catch(e){d=e}return{ret:d==null,p3:d}},_cc:function(a,b){switch(a){case 4:case 5:case 11:var c=$$t.$h8.$getName(a);$$t.$x._bj.call(this,c,b);break;default:break}},_cd:function(a,b){switch(a){case 0:case 8:case 6:case 10:case 1:case 3:var c=$$t.$h8.$getName(a);$$t.$x._bl.call(this,c,b);break;case 2:this._b7=b;break;default:break}},_cb:function(a){$$t.$x._bi.call(this,a);this.location(a._b7)},_i:function(){var a=new $$t.z;a._cb(this);return a},_bz:function(a,b){var c=a!=null?a._l():null;return c==null?null:c._f(a,b)},destroy:function(){$$t.$x.destroy.call(this)},$type:new $.ig.Type("scheduler.Appointment",$$t.$x.$type)},true);$c("scheduler.ScheduleResource:ac","scheduler.DataBindableItemBase",{_aa:null,_z:null,_u:$m($$t.$ia.$type,null),_j:null,_h:null,init:function(){var a;if(arguments.length===0){a=0}else if(arguments.length===1){a=1}else if(arguments.length===2){a=1}if(a>0){switch(a){case 1:this._init1.apply(this,arguments);break;default:throw new Error("Invalid arguments")}return}$$t.$ac._init1.call(this,$$6.$i.newGuid().toString(),null)},_init1:function(a,b){b=b!==void 0?b:null;$$t.$aa.init.call(this);if(String.isNullOrEmpty(a)){throw new $$6.e(0,"id")}this._aa=a;this._z=b},_v:function(){var a=this._h==null?null:this._h._s();if(a==null){return $m($$a.$ax.$type,null)}var b=a.x(this,true);if(b!=null){return $m($$a.$ax.$type,b.color())}return $m($$a.$ax.$type,null)},_i:function(){return this._h},id:function(a){if(arguments.length===1){if(a!=this._aa){this._aa=a;this._aj(0,$m($$0.$u.$type,null));this.onPropertyChanged("Id")}return a}else{return this._aa}},displayName:function(a){if(arguments.length===1){if(a!=this._z){this._z=a;this._aj(1,$m($$0.$u.$type,null));this.onPropertyChanged("DisplayName")}return a}else{return String.isNullOrEmpty(this._z)?this.id():this._z}},colorScheme:function(a){if(arguments.length===1){arguments[0]=$t($$t.$ia.$type,arguments[0]);this._colorScheme$i.apply(this,arguments);return a}else{return $s(this._colorScheme$i.apply(this,arguments))}},_colorScheme$i:function(a){if(arguments.length===1){if($l(a,this._u)){this._u=a;this._aj(2,$m($$0.$u.$type,null));this.onPropertyChanged("ColorScheme")}return a}else{return this._u}},daysOfWeekSettings:function(a){if(arguments.length===1){if(a!=this._j){if(this._j!=null){this._j._v(null)}this._j=a;if(this._j!=null){this._j._v(this._ak.runOn(this))}this.onPropertyChanged("DaysOfWeekSettings")}return a}else{if(this._j==null){this._j=new $$t.d(this._ak.runOn(this))}return this._j}},_m:function(){return this._j!=null},_ah:function(a){this._h=a},_l:function(a,b,c){c=false;var d=$$t.$d._b(a,this,b);for(var f=0;f<d.length;f++){var e=d[f];if(e._isWorkday$i().hasValue()){if(e._isWorkday$i().value()==false){return{ret:null,p2:c}}else{break}}}c=true;for(var h=0;h<d.length;h++){var g=d[h];if(g._e()){return{ret:g.workingHours(),p2:c}}}return{ret:null,p2:c}},_q:function(a,b){return $$t.$d._r(a,this,b)},_r:function(a,b){return $$t.$d._s(a,this,b)},_p:function(a,b){return $$t.$d._p(a,this,b)},_aj:function(a,b){if(this._h!=null){this._h._a2(this,a,b)}},_x:function(a){return $$t.$ac._y(this,a)},_y:function(a,b){var c=null;switch(b){case 0:c=a._aa;break;case 1:c=a._z;break;case 2:c=$s(a._u);break;case 3:c=a._j;break;default:break}return c},_s:function(a,b,c){var $self=this;return{ret:function(){var d=$$t.$ac._t($self,a,b,c);c=d.p3;return d.ret}(),p2:c}},_t:function(a,b,c,d){d=null;try{switch(b){case 0:a.id(c);break;case 1:a.displayName(c);break;case 2:a._colorScheme$i(function(){var e=$$t.$fw.convertToColorScheme(c,a._i(),d);d=e.p2;return e.ret}());break;case 3:a._j=$b($$t.$d.$type,c);if(a._j!=null){a._j._v(a._ak.runOn(a));a.onPropertyChanged("DaysOfWeekSettings")}break;default:break}}catch(e){d=e}return{ret:d==null,p3:d}},_ai:function(a,b){switch(a){case 0:this._aa=b;break;case 1:this._z=b;break;case 2:break;default:break}},_n:function(a,b){var $self=this;this._u=function(){var c=$$t.$fw.convertToColorScheme(a,$self._i(),b);b=c.p2;return c.ret}();return{ret:b==null,p1:b}},_o:function(a,b){b=null;if(a==null){return{ret:true,p1:b}}var c=$b($$t.$d.$type,a);if(c!=null){this._j=c;this._j._v(this._ak.runOn(this));return{ret:true,p1:b}}try{var d=$b(String,a);if(String.isNullOrEmpty(d)){return{ret:true,p1:b}}this._j=new $$t.d(this._ak.runOn(this));this._j._t(d)}catch(e){b=e}return{ret:b==null,p1:b}},_ak:function(a,b){this._aj(3,$m($$0.$u.$type,a));this.onPropertyChanged("DaysOfWeekSettings")},toString:function(){return $6("{0} (ID={1})",this.displayName(),this.id())},destroy:function(){$$t.$aa.destroy.call(this);this._h=null},$type:new $.ig.Type("scheduler.ScheduleResource",$$t.$aa.$type)},true);$c("ScheduleResourceStorage:ad","Object",{init:function(){$.ig.$op.init.call(this)},_create:function(a){return a==null||a.count()<=10?$b($$t.$ad.$type,new $$t.ae(a)):$b($$t.$ad.$type,new $$t.af(a))},_item:function(a){return this._b(a)},_b:function(a){},_add:function(a){},_remove:function(a){},_g:function(){},_getEnumerator:function(){},getEnumerator:function(){return this._getEnumerator()},getEnumerator1:function(){return this._getEnumerator()},$type:new $.ig.Type("ScheduleResourceStorage",$.ig.$ot,[$$0.$bw.$type.specialize($$t.$ac.$type)])},true);$c("ScheduleResourceStorageList:ae","ScheduleResourceStorage",{_i:null,init:function(a){$$t.$ad.init.call(this);if(a!=null){this._i=new $$4.x($$t.$ac.$type,1,a)}},_add:function(a){if(this._i!=null&&this._i.contains(a)){return this}var b=10;if(this._i==null){this._i=new $$4.x($$t.$ac.$type,2,b)}this._i.add(a);if(this._i.count()>=b){var c=new $$t.af(this._i);return c}return this},_remove:function(a){if(this._i==null){return this}if(this._i.contains(a)){this._i.remove(a)}return this},_b:function(a){if(this._i==null){return null}var c=this._i.getEnumerator();while(c.moveNext()){var b=c.current();if($.ig.$op.referenceEquals(b.dataObject(),a)){return b}}return null},_g:function(){return this._i==null?0:this._i.count()},_getEnumerator:function(){if(this._i==null){this._i=new $$4.x($$t.$ac.$type,2,0)}return this._i.getEnumerator()},$type:new $.ig.Type("ScheduleResourceStorageList",$$t.$ad.$type)},true);$c("ScheduleResourceStorageTable:af","ScheduleResourceStorage",{_i:null,init:function(a){$$t.$ad.init.call(this);this._i=new $$4.h($.ig.$op.$type,$$t.$ac.$type,1,10*2);var c=a.getEnumerator();while(c.moveNext()){var b=c.current();var d=b.dataObject();if(this._i.containsKey(d)){continue}this._i.add(d,b)}},_add:function(a){if(this._i!=null&&this._i.containsKey(a.id())){return this}this._i.add(a.id(),a);return this},_g:function(){return this._i==null?0:this._i.count()},_remove:function(a){if(this._i==null){return this}if(this._i.containsKey(a.id())){this._i.remove(a.id())}if(this._i.count()<=10){return new $$t.ae(this._i.values())}else{return this}},_b:function(a){var b=null;if(this._i!=null){var c=this._i.tryGetValue(a,b);b=c.p1}return b},_getEnumerator:function(){if(this._i==null){this._i=new $$4.h($.ig.$op.$type,$$t.$ac.$type,0)}return this._i.values().getEnumerator()},$type:new $.ig.Type("ScheduleResourceStorageTable",$$t.$ad.$type)},true);$c("Scheduler:ar","Object",{_er:null,_bq:null,_ct:false,_og:null,_et:null,_ei:null,_ew:null,appointmentDoubleClicked:null,_jy:function(a,b){var c=a._m;var d=c.c();if(d!=null){if(this.appointmentDoubleClicked!=null){this.appointmentDoubleClicked(this,function(){var $ret=new $$t.aj;$ret.appointment(d);$ret.clickedInDate($.ig.Date.prototype.fromValues(c.a3(),c.a1(),c.ay(),0,0,0,0));$ret.viewMode(b);return $ret}())}}},dayDoubleClicked:null,_j1:function(a){var b=a._m;if(b.ag()){if(this.dayDoubleClicked!=null){this.dayDoubleClicked(this,function(){var $ret=new $$t.ch;$ret.clickedDate($.ig.Date.prototype.fromValues(b.a3(),b.a1(),b.ay(),0,0,0,0));return $ret}())}}},layoutUpdated:null,_j3:function(a){if(this.layoutUpdated!=null){this.layoutUpdated(this,function(){var $ret=new $$t.al;$ret.viewMode(a);return $ret}())}},_height:0,height:function(a){if(arguments.length===1){this._height=a;return a}else{return this._height}},_width:0,width:function(a){if(arguments.length===1){this._width=a;return a}else{return this._width}},_eu:null,_language:function(a){if(arguments.length===1){if(this._eu!=a){this._eu=a}return a}else{return this._eu}},_ec:null,_ed:function(){return this._ec},_br:function(){return this._bq},_oh:function(a){if(arguments.length===1){if($$a.$ae.l_op_Inequality(this._og,a)){this._og=a;this.scheduleArrange()}return a}else{return this._og}},cultureName:function(a){if(arguments.length===1){if(a!=this._ew){var b=this._ew;this._ew=a;this._jk("CultureName",b,this._ew)}return a}else{return this._ew}},containerResized:function(){if(this._er!=null){var a=Math.round(this._er.width());var b=Math.round(this._er.height());this._oh(new $$a.ae(0,0,0,a,b))}},destroy:function(){if(this._bq!=null){this._bq.ag();this._bq=null;$$t.$ag.f(this);this._ec=null}},flush:function(){if(this._ct){this._iz()}},getElementAtPoint:function(a){var b=this._bo($$t.$fl.$type,a);if(b==null){return null}var c=b._i;if(c!=null){var d=$b($$t.$av.$type,c.nativeView());if(d!=null){return d.r()}}return null},getElementForActivity:function(a,b,c){return this._bq.a9(a,b,c.getFullYear(),$.ig.Date.prototype.getMonth(c),c.getDate())},getElementForDay:function(a){return this._bq.ba(a.getFullYear(),$.ig.Date.prototype.getMonth(a),a.getDate())},getSelectedTimeSlotElement:function(){return this._bq.getSelectedTimeSlotElement()},hitTest:function(a){return this._bo($$t.$at.$type,a)},initializeCss:function(a){this._et=a},onInitialized:function(){this._i6()},provideContainer:function(a,b){var $self=this;this._ec=b;$$t.$ag.e(this);var c=this._er;var d=a==null?null:$(a);this._er=d;if(a==null&&this._ei!=null){window.removeEventListener("resize",this._ei,false);this._ei=null}if(c!=null){if(this._bq!=null){this._bq.ag();this._bq=null;this.__bd=null}}if(d!=null){if(this._ei==null){this._ei=function(e){$self._og=new $$a.ae(4);$self.containerResized()};window.addEventListener("resize",this._ei,false)}var e=Math.round(d.width());var f=Math.round(d.height());this._og=new $$a.ae(0,0,0,e,f);d.css("overflow","hidden");this._bq=$$t.$a1.a2(this,a,this._et);this.__bd=this._bq;this._bq.bm();this.scheduleArrange()}},scheduleArrange:function(){if(!this._ct){this._ct=true;window.setTimeout(this._iz.runOn(this),0)}},styleUpdated:function(){if(this._bq!=null){this._bq.bj();this._bq.bm()}},_bo:function($t,a){if(this._bq==null){return null}var b=this._bq.bi(a);if(b==null){return null}var c=b._c.bb();var d={__x:b._d.x(),__y:b._d.y(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var e={__x:a.__x-d.__x,__y:a.__y-d.__y,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var f=b._c.a2(e,null);if(f!=null){if($b($t,f)!==null){return $b($t,f)}if($t==$$t.$at.$type){var g=$$t.$at._c(f,c,d);if(g!=null){return $b($t,g)}}}if($t==$$t.$at.$type){return $b($t,$$t.$at._c(null,c,d))}else{return null}},_iz:function(){if(this._ct){this._i0()}},_i0:function(){this._ct=false;if(this._bq!=null){this._bq.bt($.ig.truncate(this._og.width()),$.ig.truncate(this._og.height()))}},_i9:function(){},_bv:null,_cu:false,_bh:null,_cs:false,_a:null,_ds:new Date,_dt:new Date,_dr:new Date,_aw:null,_a7:null,_oi:null,_dn:new Date,init:function(){this._og=new $$a.ae(0,0,0,0,0);this._ei=null;this._ds=$$0.$s.minValue();this._dt=$$0.$s.minValue();this._dr=$$0.$s.minValue();this._aw=null;this._oi=new $$a.af(0);this._dn=$$0.$s.minValue();this._az=0;this._oj=null;this._a2=1;this._ok=null;this._ej=10;this._dl=$$t.$ar._dx();this._dm=$$t.$ar._dy();this._ov=0;this._ek=1;this._dp=$$t.$ar._dz();this._dq=$$t.$ar._d0();this._ow=0;this._bk=0;this._ol=null;this._ox=0;this._oy=1;this._el=10;this._oz=0;this._om=null;this._o0=1;this._bx=1;this._bm=2;this._o1=0;this._o2=1;this._o3=1;this._o4=1;this._b6=0;this._b9=4;this._o5=0;this._o6=0;this._o7=0;this._o8=0;this._bz=1;this._b1=0;this._ch=1;this._cj=1;this._di=new $$4.x($$t.$as.$type,0);$.ig.$op.init.call(this);this._kf();this.__c5=true;this._i9()},appointmentClicked:null,_jx:function(a){if(null!=this.appointmentClicked){this.appointmentClicked(this,a)}},appointmentSelected:null,_jz:function(a){if(null!=this.appointmentSelected){this.appointmentSelected(this,a)}},dayClicked:null,_j0:function(a){if(null!=this.dayClicked){this.dayClicked(this,a)}},dayOfWeekHeaderClicked:null,_j2:function(a){if(null!=this.dayOfWeekHeaderClicked){this.dayOfWeekHeaderClicked(this,a)}},monthHeaderClicked:null,_j4:function(a){if(null!=this.monthHeaderClicked){this.monthHeaderClicked(this,a)}},selectedDateChanged:null,_j5:function(a){if(null!=this.selectedDateChanged){this.selectedDateChanged(this,a)}},timeSlotClicked:null,_j6:function(a){if(null!=this.timeSlotClicked){this.timeSlotClicked(this,a)}},timeSlotSelected:null,_j7:function(a){if(null!=this.timeSlotSelected){this.timeSlotSelected(this,a)}},weekNumberClicked:null,_j8:function(a){if(null!=this.weekNumberClicked){this.weekNumberClicked(this,a)}},_az:0,activityGroupingMode:function(a){if(arguments.length===1){var b=this._az;this._az=a;if(b!=this._az){this._jk("ActivityGroupingMode",$$t.$cw.getBox(b),$$t.$cw.getBox(this._az))}return a}else{return this._az}},_km:null,agendaViewAppointmentEndTimeBackgroundBrush:function(a){if(arguments.length===1){var b=this._km;this._km=a;if(b!=this._km){this._jk($$t.$ar._ey,b,this._km)}return a}else{return this._km}},_i:null,agendaViewAppointmentEndTimeFontInfo:function(a){if(arguments.length===1){var b=this._i;this._i=a;if(this._i!=b){this._jk("AgendaViewAppointmentEndTimeFontInfo",b,this._i)}return a}else{return this._i}},_kn:null,agendaViewAppointmentEndTimeSelectedBackgroundBrush:function(a){if(arguments.length===1){var b=this._kn;this._kn=a;if(b!=this._kn){this._jk($$t.$ar._e0,b,this._kn)}return a}else{return this._kn}},_k3:null,agendaViewAppointmentEndTimeSelectedTextBrush:function(a){if(arguments.length===1){var b=this._k3;this._k3=a;if(b!=this._k3){this._jk($$t.$ar._e1,b,this._k3)}return a}else{return this._k3}},_k4:null,agendaViewAppointmentEndTimeTextBrush:function(a){if(arguments.length===1){var b=this._k4;this._k4=a;if(b!=this._k4){this._jk("AgendaViewAppointmentEndTimeTextBrush",b,this._k4)}return a}else{return this._k4}},_ko:null,agendaViewAppointmentLocationBackgroundBrush:function(a){if(arguments.length===1){var b=this._ko;this._ko=a;if(b!=this._ko){this._jk($$t.$ar._e3,b,this._ko)}return a}else{return this._ko}},_f:null,agendaViewAppointmentLocationFontInfo:function(a){if(arguments.length===1){var b=this._f;this._f=a;if(this._f!=b){this._jk("AgendaViewAppointmentLocationFontInfo",b,this._f)}return a}else{return this._f}},_kp:null,agendaViewAppointmentLocationSelectedBackgroundBrush:function(a){if(arguments.length===1){var b=this._kp;this._kp=a;if(b!=this._kp){this._jk($$t.$ar._e5,b,this._kp)}return a}else{return this._kp}},_kq:null,agendaViewAppointmentLocationSelectedTextBrush:function(a){if(arguments.length===1){var b=this._kq;this._kq=a;if(b!=this._kq){this._jk($$t.$ar._e6,b,this._kq)}return a}else{return this._kq}},_kr:null,agendaViewAppointmentLocationTextBrush:function(a){if(arguments.length===1){var b=this._kr;this._kr=a;if(b!=this._kr){this._jk("AgendaViewAppointmentLocationTextBrush",b,this._kr)}return a}else{return this._kr}},_oj:null,agendaViewAppointmentMargin:function(a){if(arguments.length===1){var b=this._oj;this._oj=a;if(b!=this._oj){this._jk("AgendaViewAppointmentMargin",b,this._oj)}return a}else{return this._oj}},_op:function(){return $$t.$ea.g2},_a2:0,agendaViewAppointmentScope:function(a){if(arguments.length===1){var b=this._a2;this._a2=a;if(b!=this._a2){this._jk("AgendaViewAppointmentScope",$$t.$cy.getBox(b),$$t.$cy.getBox(this._a2))}return a}else{return this._a2}},_ks:null,agendaViewAppointmentSeparatorLineBrush:function(a){if(arguments.length===1){var b=this._ks;this._ks=a;if(b!=this._ks){this._jk("AgendaViewAppointmentSeparatorLineBrush",b,this._ks)}return a}else{return this._ks}},_kt:null,agendaViewAppointmentStartTimeBackgroundBrush:function(a){if(arguments.length===1){var b=this._kt;this._kt=a;if(b!=this._kt){this._jk($$t.$ar._fb,b,this._kt)}return a}else{return this._kt}},_k:null,agendaViewAppointmentStartTimeFontInfo:function(a){if(arguments.length===1){var b=this._k;this._k=a;if(this._k!=b){this._jk("AgendaViewAppointmentStartTimeFontInfo",b,this._k)}return a}else{
return this._k}},_ku:null,agendaViewAppointmentStartTimeSelectedBackgroundBrush:function(a){if(arguments.length===1){var b=this._ku;this._ku=a;if(b!=this._ku){this._jk($$t.$ar._fd,b,this._ku)}return a}else{return this._ku}},_k6:null,agendaViewAppointmentStartTimeSelectedTextBrush:function(a){if(arguments.length===1){var b=this._k6;this._k6=a;if(b!=this._k6){this._jk($$t.$ar._fe,b,this._k6)}return a}else{return this._k6}},_k7:null,agendaViewAppointmentStartTimeTextBrush:function(a){if(arguments.length===1){var b=this._k7;this._k7=a;if(b!=this._k7){this._jk("AgendaViewAppointmentStartTimeTextBrush",b,this._k7)}return a}else{return this._k7}},_kv:null,agendaViewAppointmentSubjectBackgroundBrush:function(a){if(arguments.length===1){var b=this._kv;this._kv=a;if(b!=this._kv){this._jk($$t.$ar._fg,b,this._kv)}return a}else{return this._kv}},_g:null,agendaViewAppointmentSubjectFontInfo:function(a){if(arguments.length===1){var b=this._g;this._g=a;if(this._g!=b){this._jk("AgendaViewAppointmentSubjectFontInfo",b,this._g)}return a}else{return this._g}},_kw:null,agendaViewAppointmentSubjectSelectedBackgroundBrush:function(a){if(arguments.length===1){var b=this._kw;this._kw=a;if(b!=this._kw){this._jk($$t.$ar._fi,b,this._kw)}return a}else{return this._kw}},_kx:null,agendaViewAppointmentSubjectSelectedTextBrush:function(a){if(arguments.length===1){var b=this._kx;this._kx=a;if(b!=this._kx){this._jk($$t.$ar._fj,b,this._kx)}return a}else{return this._kx}},_ky:null,agendaViewAppointmentSubjectTextBrush:function(a){if(arguments.length===1){var b=this._ky;this._ky=a;if(b!=this._ky){this._jk("AgendaViewAppointmentSubjectTextBrush",b,this._ky)}return a}else{return this._ky}},_kz:null,agendaViewBackgroundBrush:function(a){if(arguments.length===1){var b=this._kz;this._kz=a;if(b!=this._kz){this._jk("AgendaViewBackgroundBrush",b,this._kz)}return a}else{return this._kz}},_k0:null,agendaViewDayHeaderBackgroundBrush:function(a){if(arguments.length===1){var b=this._k0;this._k0=a;if(b!=this._k0){this._jk("AgendaViewDayHeaderBackgroundBrush",b,this._k0)}return a}else{return this._k0}},_h:null,agendaViewDayHeaderFontInfo:function(a){if(arguments.length===1){var b=this._h;this._h=a;if(this._h!=b){this._jk("AgendaViewDayHeaderFontInfo",b,this._h)}return a}else{return this._h}},_ok:null,agendaViewDayHeaderMargin:function(a){if(arguments.length===1){var b=this._ok;this._ok=a;if(b!=this._ok){this._jk("AgendaViewDayHeaderMargin",b,this._ok)}return a}else{return this._ok}},_oq:function(){return $$t.$ea.g2},_k1:null,agendaViewDayHeaderSeparatorLineBrush:function(a){if(arguments.length===1){var b=this._k1;this._k1=a;if(b!=this._k1){this._jk("AgendaViewDayHeaderSeparatorLineBrush",b,this._k1)}return a}else{return this._k1}},_k2:null,agendaViewDayHeaderTextBrush:function(a){if(arguments.length===1){var b=this._k2;this._k2=a;if(b!=this._k2){this._jk("AgendaViewDayHeaderTextBrush",b,this._k2)}return a}else{return this._k2}},_ej:0,agendaViewInterDaySpacing:function(a){if(arguments.length===1){var b=this._ej;this._ej=a;if(b!=this._ej){this._jk("AgendaViewInterDaySpacing",b,this._ej)}return a}else{return this._ej}},_dl:new Date,agendaViewMaximumDate:function(a){if(arguments.length===1){var b=this._dl;this._dl=a;if(+b!=+this._dl){this._jk("AgendaViewMaximumDate",b,this._dq)}return a}else{return this._dl}},_dx:function(){return $$t.$ar._dz()},_j:null,agendaViewMessageFontInfo:function(a){if(arguments.length===1){var b=this._j;this._j=a;if(this._j!=b){this._jk("AgendaViewMessageFontInfo",b,this._j)}return a}else{return this._j}},_k5:null,agendaViewMessageTextBrush:function(a){if(arguments.length===1){var b=this._k5;this._k5=a;if(b!=this._k5){this._jk("AgendaViewMessageTextBrush",b,this._k5)}return a}else{return this._k5}},_dm:new Date,agendaViewMinimumDate:function(a){if(arguments.length===1){var b=this._dm;this._dm=a;if(+b!=+this._dm){this._jk("AgendaViewMinimumDate",b,this._dq)}return a}else{return this._dm}},_dy:function(){return $$t.$ar._d0()},_k9:null,allDayEventBackgroundBrush:function(a){if(arguments.length===1){var b=this._k9;this._k9=a;if(b!=this._k9){this._jk("AllDayEventBackgroundBrush",b,this._k9)}return a}else{return this._k9}},_k8:null,allDayEventAreaBackgroundBrush:function(a){if(arguments.length===1){var b=this._k8;this._k8=a;if(b!=this._k8){this._jk("AllDayEventAreaBackgroundBrush",b,this._k8)}return a}else{return this._k8}},_ov:0,allDayEventAreaVisibility:function(a){if(arguments.length===1){var b=this._ov;this._ov=a;if(b!=this._ov){this._jk("AllDayEventAreaVisibility",$$a.$aj.getBox(b),$$a.$aj.getBox(this._ov))}return a}else{return this._ov}},_l:null,allDayEventFontInfo:function(a){if(arguments.length===1){var b=this._l;this._l=a;if(this._l!=b){this._jk("AllDayEventFontInfo",b,this._l)}return a}else{return this._l}},_la:null,allDayEventTextBrush:function(a){if(arguments.length===1){var b=this._la;this._la=a;if(b!=this._la){this._jk("AllDayEventTextBrush",b,this._la)}return a}else{return this._la}},_cl:null,dataSource:function(a){if(arguments.length===1){var b=this._cl;this._cl=a;if(b!=this._cl){this._jk("DataSource",b,this._cl)}return a}else{return this._cl}},_lb:null,dayHeaderBackgroundBrush:function(a){if(arguments.length===1){var b=this._lb;this._lb=a;if(b!=this._lb){this._jk("DayHeaderBackgroundBrush",b,this._lb)}return a}else{return this._lb}},_m:null,dayHeaderFontInfo:function(a){if(arguments.length===1){var b=this._m;this._m=a;if(this._m!=b){this._jk("DayHeaderFontInfo",b,this._m)}return a}else{return this._m}},_lc:null,dayHeaderTextBrush:function(a){if(arguments.length===1){var b=this._lc;this._lc=a;if(b!=this._lc){this._jk("DayHeaderTextBrush",b,this._lc)}return a}else{return this._lc}},_cn:null,daysOfWeekSettings:function(a){if(arguments.length===1){if(a!=this._cn){if(this._cn!=null){this._cn._v(null)}var b=this._cn;this._cn=a;if(this._cn!=null){this._cn._v(this._jf.runOn(this))}this._je();this._jk("DaysOfWeekSettings",b,this._cn)}return a}else{if(this._cn==null){this._cn=new $$t.d(this._jf.runOn(this))}return this._cn}},_c3:function(){return this._cn!=null},_ld:null,dayViewAppointmentBackgroundBrush:function(a){if(arguments.length===1){var b=this._ld;this._ld=a;if(b!=this._ld){this._jk("DayViewAppointmentBackgroundBrush",b,this._ld)}return a}else{return this._ld}},_le:null,dayViewAppointmentLocationBackgroundBrush:function(a){if(arguments.length===1){var b=this._le;this._le=a;if(b!=this._le){this._jk($$t.$ar._ga,b,this._le)}return a}else{return this._le}},_n:null,dayViewAppointmentLocationFontInfo:function(a){if(arguments.length===1){var b=this._n;this._n=a;if(this._n!=b){this._jk("DayViewAppointmentLocationFontInfo",b,this._n)}return a}else{return this._n}},_lf:null,dayViewAppointmentLocationTextBrush:function(a){if(arguments.length===1){var b=this._lf;this._lf=a;if(b!=this._lf){this._jk("DayViewAppointmentLocationTextBrush",b,this._lf)}return a}else{return this._lf}},_lg:null,dayViewAppointmentSubjectBackgroundBrush:function(a){if(arguments.length===1){var b=this._lg;this._lg=a;if(b!=this._lg){this._jk($$t.$ar._gd,b,this._lg)}return a}else{return this._lg}},_o:null,dayViewAppointmentSubjectFontInfo:function(a){if(arguments.length===1){var b=this._o;this._o=a;if(this._o!=b){this._jk("DayViewAppointmentSubjectFontInfo",b,this._o)}return a}else{return this._o}},_lh:null,dayViewAppointmentSubjectTextBrush:function(a){if(arguments.length===1){var b=this._lh;this._lh=a;if(b!=this._lh){this._jk("DayViewAppointmentSubjectTextBrush",b,this._lh)}return a}else{return this._lh}},_li:null,dayViewBackgroundBrush:function(a){if(arguments.length===1){var b=this._li;this._li=a;if(b!=this._li){this._jk("DayViewBackgroundBrush",b,this._li)}return a}else{return this._li}},_p:null,dayViewNavigationHeaderDateFontInfo:function(a){if(arguments.length===1){var b=this._p;this._p=a;if(this._p!=b){this._jk("DayViewNavigationHeaderDateFontInfo",b,this._p)}return a}else{return this._p}},_lj:null,dayViewNavigationHeaderDateTextBrush:function(a){if(arguments.length===1){var b=this._lj;this._lj=a;if(b!=this._lj){this._jk("DayViewNavigationHeaderDateTextBrush",b,this._lj)}return a}else{return this._lj}},_ek:0,dayViewNumberOfDays:function(a){if(arguments.length===1){var b=this._ek;this._ek=Math.min(7,Math.max(1,a));if(b!=this._ek){this._jk("DayViewNumberOfDays",b,this._ek)}return a}else{return this._ek}},_d8:0,firstDayOfWeekOverride:function(a){if(arguments.length===1){var b=this._d8;this._d8=a;if(b!=this._d8){this._a8().firstDayOfWeekOverride(this._d8);this._jk("FirstDayOfWeekOverride",$$0.$u.getBox(b),$$0.$u.getBox(this._d8))}return a}else{return this._d8}},_dp:new Date,maximumDate:function(a){if(arguments.length===1){var b=this._dp;this._dp=a;if(+b!=+this._dp){this._jk("MaximumDate",b,this._dp)}return a}else{return this._dp}},_dz:function(){var a=$$0.$s.now();return $.ig.Date.prototype.fromValues(a.getFullYear()+5,$.ig.Date.prototype.getMonth(a),a.getDate(),0,0,0,0)},_dq:new Date,minimumDate:function(a){if(arguments.length===1){var b=this._dq;this._dq=a;if(+b!=+this._dq){this._jk("MinimumDate",b,this._dq)}return a}else{return this._dq}},_d0:function(){var a=$$0.$s.now();return $.ig.Date.prototype.fromValues(a.getFullYear()-5,$.ig.Date.prototype.getMonth(a),a.getDate(),0,0,0,0)},_ll:null,monthViewDayActivityIndicatorBrush:function(a){if(arguments.length===1){var b=this._ll;this._ll=a;if(b!=this._ll){this._jk("MonthViewDayActivityIndicatorBrush",b,this._ll)}return a}else{return this._ll}},_ow:0,monthViewAgendaVisibility:function(a){if(arguments.length===1){var b=this._ow;this._ow=a;if(b!=this._ow){this._jk("MonthViewAgendaVisibility",$$a.$aj.getBox(b),$$a.$aj.getBox(this._ow))}return a}else{return this._ow}},_q:null,monthViewAppointmentFontInfo:function(a){if(arguments.length===1){var b=this._q;this._q=a;if(this._q!=b){this._jk("MonthViewAppointmentFontInfo",b,this._q)}return a}else{return this._q}},_lk:null,monthViewBackgroundBrush:function(a){if(arguments.length===1){var b=this._lk;this._lk=a;if(b!=this._lk){this._jk("MonthViewBackgroundBrush",b,this._lk)}return a}else{return this._lk}},_bk:0,monthViewDayContentDisplayMode:function(a){if(arguments.length===1){var b=this._bk;this._bk=a;if(b!=this._bk){this._jk("MonthViewDayContentDisplayMode",$$t.$da.getBox(b),$$t.$da.getBox(this._bk))}return a}else{return this._bk}},_lm:null,monthViewDayBackgroundBrush:function(a){if(arguments.length===1){var b=this._lm;this._lm=a;if(b!=this._lm){this._jk("MonthViewDayBackgroundBrush",b,this._lm)}return a}else{return this._lm}},_r:null,monthViewDayFontInfo:function(a){if(arguments.length===1){var b=this._r;this._r=a;if(this._r!=b){this._jk("MonthViewDayFontInfo",b,this._r)}return a}else{return this._r}},_lp:null,monthViewDayTextBrush:function(a){if(arguments.length===1){var b=this._lp;this._lp=a;if(b!=this._lp){this._jk("MonthViewDayTextBrush",b,this._lp)}return a}else{return this._lp}},_ln:null,monthViewDayOfWeekHeaderBackgroundBrush:function(a){if(arguments.length===1){var b=this._ln;this._ln=a;if(b!=this._ln){this._jk("MonthViewDayOfWeekHeaderBackgroundBrush",b,this._ln)}return a}else{return this._ln}},_s:null,monthViewDayOfWeekHeaderFontInfo:function(a){if(arguments.length===1){var b=this._s;this._s=a;if(this._s!=b){this._jk("MonthViewDayOfWeekHeaderFontInfo",b,this._s)}return a}else{return this._s}},_ol:null,monthViewDayOfWeekHeaderMargin:function(a){if(arguments.length===1){var b=this._ol;this._ol=a;if(b!=this._ol){this._jk("MonthViewDayOfWeekHeaderMargin",b,this._ol)}return a}else{return this._ol}},_or:function(){return $$t.$ea.g2},_lo:null,monthViewDayOfWeekHeaderTextBrush:function(a){if(arguments.length===1){var b=this._lo;this._lo=a;if(b!=this._lo){this._jk("MonthViewDayOfWeekHeaderTextBrush",b,this._lo)}return a}else{return this._lo}},_ox:0,monthViewDayOfWeekHeaderVisibility:function(a){if(arguments.length===1){var b=this._ox;this._ox=a;if(b!=this._ox){this._jk("MonthViewDayOfWeekHeaderVisibility",$$a.$aj.getBox(b),$$a.$aj.getBox(this._ox))}return a}else{return this._ox}},_oy:0,monthViewHorizontalSeparatorVisibility:function(a){if(arguments.length===1){var b=this._oy;this._oy=a;if(b!=this._oy){this._jk("MonthViewHorizontalSeparatorVisibility",$$a.$aj.getBox(b),$$a.$aj.getBox(this._oy))}return a}else{return this._oy}},_el:0,monthViewInterMonthSpacing:function(a){if(arguments.length===1){var b=this._el;this._el=a;if(b!=this._el){this._jk("MonthViewInterMonthSpacing",b,this._el)}return a}else{return this._el}},_lq:null,monthViewLeadingDayBackgroundBrush:function(a){if(arguments.length===1){var b=this._lq;this._lq=a;if(b!=this._lq){this._jk("MonthViewLeadingDayBackgroundBrush",b,this._lq)}return a}else{return this._lq}},_t:null,monthViewLeadingDayFontInfo:function(a){if(arguments.length===1){var b=this._t;this._t=a;if(this._t!=b){this._jk("MonthViewLeadingDayFontInfo",b,this._t)}return a}else{return this._t}},_lr:null,monthViewLeadingDayTextBrush:function(a){if(arguments.length===1){var b=this._lr;this._lr=a;if(b!=this._lr){this._jk("MonthViewLeadingDayTextBrush",b,this._lr)}return a}else{return this._lr}},_oz:0,monthViewLeadingDayVisibility:function(a){if(arguments.length===1){var b=this._oz;this._oz=a;if(b!=this._oz){this._jk("MonthViewLeadingDayVisibility",$$a.$aj.getBox(b),$$a.$aj.getBox(this._oz))}return a}else{return this._oz}},_ls:null,monthViewNameBackgroundBrush:function(a){if(arguments.length===1){var b=this._ls;this._ls=a;if(b!=this._ls){this._jk("MonthViewNameBackgroundBrush",b,this._ls)}return a}else{return this._ls}},_lt:null,monthViewNameSeparatorLineBrush:function(a){if(arguments.length===1){var b=this._lt;this._lt=a;if(b!=this._lt){this._jk("MonthViewNameSeparatorLineBrush",b,this._lt)}return a}else{return this._lt}},_lu:null,monthViewNameTextBrush:function(a){if(arguments.length===1){var b=this._lu;this._lu=a;if(b!=this._lu){this._jk("MonthViewNameTextBrush",b,this._lu)}return a}else{return this._lu}},_u:null,monthViewNameFontInfo:function(a){if(arguments.length===1){var b=this._u;this._u=a;if(this._u!=b){this._jk("MonthViewNameFontInfo",b,this._u)}return a}else{return this._u}},_om:null,monthViewNameMargin:function(a){if(arguments.length===1){var b=this._om;this._om=a;if(b!=this._om){this._jk("MonthViewNameMargin",b,this._om)}return a}else{return this._om}},_os:function(){return $$t.$ea.g2},_o0:0,monthViewNameVisibility:function(a){if(arguments.length===1){var b=this._o0;this._o0=a;if(b!=this._o0){this._jk("MonthViewNameVisibility",$$a.$aj.getBox(b),$$a.$aj.getBox(this._o0))}return a}else{return this._o0}},_v:null,monthViewNavigationHeaderDateFontInfo:function(a){if(arguments.length===1){var b=this._v;this._v=a;if(this._v!=b){this._jk("MonthViewNavigationHeaderDateFontInfo",b,this._v)}return a}else{return this._v}},_lv:null,monthViewNavigationHeaderDateTextBrush:function(a){if(arguments.length===1){var b=this._lv;this._lv=a;if(b!=this._lv){this._jk("MonthViewNavigationHeaderDateTextBrush",b,this._lv)}return a}else{return this._lv}},_bx:0,monthViewScrollDirection:function(a){if(arguments.length===1){var b=this._bx;this._bx=a;if(b!=this._bx){this._jk("MonthViewScrollDirection",$$t.$de.getBox(b),$$t.$df.getBox(this._bs))}return a}else{return this._bx}},_bm:0,_bn:function(a){if(arguments.length===1){var b=this._bm;this._bm=a;if(b!=this._bm){this._jk("MonthViewScrollMode",$$t.$db.getBox(b),$$t.$df.getBox(this._bs))}return a}else{return this._bm}},_lw:null,monthViewSelectedDayBackgroundBrush:function(a){if(arguments.length===1){var b=this._lw;this._lw=a;if(b!=this._lw){this._jk("MonthViewSelectedDayBackgroundBrush",b,this._lw)}return a}else{return this._lw}},_lx:null,monthViewSelectedDayTextBrush:function(a){if(arguments.length===1){var b=this._lx;this._lx=a;if(b!=this._lx){this._jk("MonthViewSelectedDayTextBrush",b,this._lx)}return a}else{return this._lx}},_ly:null,monthViewSeparatorLineBrush:function(a){if(arguments.length===1){var b=this._ly;this._ly=a;if(b!=this._ly){this._jk("MonthViewSeparatorLineBrush",b,this._ly)}return a}else{return this._ly}},_lz:null,monthViewTodayHighlightBrush:function(a){if(arguments.length===1){var b=this._lz;this._lz=a;if(b!=this._lz){this._jk("MonthViewTodayHighlightBrush",b,this._lz)}return a}else{return this._lz}},_l0:null,monthViewTodayTextBrush:function(a){if(arguments.length===1){var b=this._l0;this._l0=a;if(b!=this._l0){this._jk("MonthViewTodayTextBrush",b,this._l0)}return a}else{return this._l0}},_l1:null,monthViewTrailingDayBackgroundBrush:function(a){if(arguments.length===1){var b=this._l1;this._l1=a;if(b!=this._l1){this._jk("MonthViewTrailingDayBackgroundBrush",b,this._l1)}return a}else{return this._l1}},_w:null,monthViewTrailingDayFontInfo:function(a){if(arguments.length===1){var b=this._w;this._w=a;if(this._w!=b){this._jk("MonthViewTrailingDayFontInfo",b,this._w)}return a}else{return this._w}},_l2:null,monthViewTrailingDayTextBrush:function(a){if(arguments.length===1){var b=this._l2;this._l2=a;if(b!=this._l2){this._jk("MonthViewTrailingDayTextBrush",b,this._l2)}return a}else{return this._l2}},_o1:0,monthViewTrailingDayVisibility:function(a){if(arguments.length===1){var b=this._o1;this._o1=a;if(b!=this._o1){this._jk("MonthViewTrailingDayVisibility",$$a.$aj.getBox(b),$$a.$aj.getBox(this._o1))}return a}else{return this._o1}},_o2:0,monthViewVerticalSeparatorVisibility:function(a){if(arguments.length===1){var b=this._o2;this._o2=a;if(b!=this._o2){this._jk("MonthViewVerticalSeparatorVisibility",$$a.$aj.getBox(b),$$a.$aj.getBox(this._o2))}return a}else{return this._o2}},_l3:null,monthViewWeekNumberBackgroundBrush:function(a){if(arguments.length===1){var b=this._l3;this._l3=a;if(b!=this._l3){this._jk("MonthViewWeekNumberBackgroundBrush",b,this._l3)}return a}else{return this._l3}},_x:null,monthViewWeekNumberFontInfo:function(a){if(arguments.length===1){var b=this._x;this._x=a;if(this._x!=b){this._jk("MonthViewWeekNumberFontInfo",b,this._x)}return a}else{return this._x}},_l4:null,monthViewWeekNumberTextBrush:function(a){if(arguments.length===1){var b=this._l4;this._l4=a;if(b!=this._l4){this._jk("MonthViewWeekNumberTextBrush",b,this._l4)}return a}else{return this._l4}},_o3:0,monthViewWeekNumberVisibility:function(a){if(arguments.length===1){var b=this._o3;this._o3=a;if(b!=this._o3){this._jk("MonthViewWeekNumberVisibility",$$a.$aj.getBox(b),$$a.$aj.getBox(this._o3))}return a}else{return this._o3}},_l5:null,navigationHeaderBackgroundBrush:function(a){if(arguments.length===1){var b=this._l5;this._l5=a;if(b!=this._l5){this._jk("NavigationHeaderBackgroundBrush",b,this._l5)}return a}else{return this._l5}},_l6:null,navigationHeaderBorderBrush:function(a){if(arguments.length===1){var b=this._l6;this._l6=a;if(b!=this._l6){this._jk("NavigationHeaderBorderBrush",b,this._l6)}return a}else{return this._l6}},_o4:0,navigationHeaderVisibility:function(a){if(arguments.length===1){var b=this._o4;this._o4=a;if(b!=this._o4){this._jk("NavigationHeaderVisibility",$$a.$aj.getBox(b),$$a.$aj.getBox(this._o4))}return a}else{return this._o4}},_l7:null,resourceHeaderBackgroundBrush:function(a){if(arguments.length===1){var b=this._l7;this._l7=a;if(b!=this._l7){this._jk("ResourceHeaderBackgroundBrush",b,this._l7)}return a}else{return this._l7}},_y:null,resourceHeaderFontInfo:function(a){if(arguments.length===1){var b=this._y;this._y=a;if(this._y!=b){this._jk("ResourceHeaderFontInfo",b,this._y)}return a}else{return this._y}},_l8:null,resourceHeaderTextBrush:function(a){if(arguments.length===1){var b=this._l8;this._l8=a;if(b!=this._l8){this._jk("ResourceHeaderTextBrush",b,this._l8)}return a}else{return this._l8}},_ax:null,selectedAppointment:function(a){if(arguments.length===1){var b=this._ax;this._ax=a;if(b!=this._ax){this._jk("SelectedAppointment",b,this._ax)}return a}else{return this._ax}},_du:new Date,selectedDate:function(a){if(arguments.length===1){if(+a==+null){a=$$0.$s.now()}else{a=$.ig.Date.prototype.fromTicks(a.getTime())}if(false==this._c0(a)){var b=this.minimumDate();var c=this.maximumDate();if(b>c){var d=c;c=b;b=d}if(a<b){a=$.ig.Date.prototype.fromTicks(b.getTime())}else{a=$.ig.Date.prototype.fromTicks(c.getTime())}var e=this._du;this._du=a;this._jk("SelectedDate",e,this._du);return}var f=this._du;this._du=$.ig.Date.prototype.getDate(a);if(+f!=+this._du){this._jk("SelectedDate",f,this._du)}return a}else{return this._du}},_cq:null,selectedTimeRange:function(a){if(arguments.length===1){var b=this._cq;this._cq=a;if(b!=this._cq){this._jk("SelectedTimeRange",b,this._cq)}return a}else{return this._cq}},_b6:0,timeFormat:function(a){if(arguments.length===1){var b=this._b6;this._b6=a;if(b!=this._b6){this._jk("TimeFormat",$$t.$dk.getBox(b),$$t.$dk.getBox(this._b6))}return a}else{return this._b6}},_l9:null,timeSlotDescriptorBackgroundBrush:function(a){if(arguments.length===1){var b=this._l9;this._l9=a;if(b!=this._l9){this._jk("TimeSlotDescriptorBackgroundBrush",b,this._l9)}return a}else{return this._l9}},_z:null,timeSlotDescriptorFontInfo:function(a){if(arguments.length===1){var b=this._z;this._z=a;if(this._z!=b){this._jk("TimeSlotDescriptorFontInfo",b,this._z)}return a}else{return this._z}},_ma:null,timeSlotDescriptorTextBrush:function(a){if(arguments.length===1){var b=this._ma;this._ma=a;if(b!=this._ma){this._jk("TimeSlotDescriptorTextBrush",b,this._ma)}return a}else{return this._ma}},_b9:0,timeSlotInterval:function(a){if(arguments.length===1){var b=this._b9;this._b9=a;if(b!=this._b9){this._jk("TimeSlotInterval",$$t.$dl.getBox(b),$$t.$dl.getBox(this._b9))}return a}else{return this._b9}},_mb:null,timeSlotMajorHorizontalSeparatorBrush:function(a){if(arguments.length===1){var b=this._mb;this._mb=a;if(b!=this._mb){this._jk("TimeSlotMajorHorizontalSeparatorBrush",b,this._mb)}return a}else{return this._mb}},_o5:0,timeSlotMajorHorizontalSeparatorVisibility:function(a){if(arguments.length===1){var b=this._o5;this._o5=a;if(b!=this._o5){this._jk($$t.$ar._id,$$a.$aj.getBox(b),$$a.$aj.getBox(this._o5))}return a}else{return this._o5}},_mc:null,timeSlotMajorVerticalSeparatorBrush:function(a){if(arguments.length===1){var b=this._mc;this._mc=a;if(b!=this._mc){this._jk("TimeSlotMajorVerticalSeparatorBrush",b,this._mc)}return a}else{return this._mc}},_o6:0,timeSlotMajorVerticalSeparatorVisibility:function(a){if(arguments.length===1){var b=this._o6;this._o6=a;if(b!=this._o6){this._jk($$t.$ar._ig,$$a.$aj.getBox(b),$$a.$aj.getBox(this._o6))}return a}else{return this._o6}},_md:null,timeSlotMinorHorizontalSeparatorBrush:function(a){if(arguments.length===1){var b=this._md;this._md=a;if(b!=this._md){this._jk("TimeSlotMinorHorizontalSeparatorBrush",b,this._md)}return a}else{return this._md}},_o7:0,timeSlotMinorHorizontalSeparatorVisibility:function(a){if(arguments.length===1){var b=this._o7;this._o7=a;if(b!=this._o7){this._jk($$t.$ar._ii,$$a.$aj.getBox(b),$$a.$aj.getBox(this._o7))}return a}else{return this._o7}},_me:null,timeSlotMinorVerticalSeparatorBrush:function(a){if(arguments.length===1){var b=this._me;this._me=a;if(b!=this._me){this._jk("TimeSlotMinorVerticalSeparatorBrush",b,this._me)}return a}else{return this._me}},_o8:0,timeSlotMinorVerticalSeparatorVisibility:function(a){if(arguments.length===1){var b=this._o8;this._o8=a;if(b!=this._o8){this._jk($$t.$ar._ik,$$a.$aj.getBox(b),$$a.$aj.getBox(this._o8))}return a}else{return this._o8}},_mf:null,timeSlotNonWorkingHourBackgroundBrush:function(a){if(arguments.length===1){var b=this._mf;this._mf=a;if(b!=this._mf){this._jk("TimeSlotNonWorkingHourBackgroundBrush",b,this._mf)}return a}else{return this._mf}},_mg:null,timeSlotSelectedBackgroundBrush:function(a){if(arguments.length===1){var b=this._mg;this._mg=a;if(b!=this._mg){this._jk("TimeSlotSelectedBackgroundBrush",b,this._mg)}return a}else{return this._mg}},_mh:null,timeSlotWorkingHourBackgroundBrush:function(a){if(arguments.length===1){var b=this._mh;this._mh=a;if(b!=this._mh){this._jk("TimeSlotWorkingHourBackgroundBrush",b,this._mh)}return a}else{return this._mh}},_bz:0,viewSplitOrientation:function(a){if(arguments.length===1){var b=this._bz;this._bz=a;if(b!=this._bz){this._jk("ViewSplitOrientation",$$t.$dg.getBox(b),$$t.$df.getBox(this._bs))}return a}else{return this._bz}},_b1:0,viewSplitOrientationMode:function(a){if(arguments.length===1){var b=this._b1;this._b1=a;if(b!=this._b1){this._jk("ViewSplitOrientationMode",$$t.$dh.getBox(b),$$t.$df.getBox(this._bs))}return a}else{return this._b1}},_bs:0,viewMode:function(a){if(arguments.length===1){var b=this._bs;this._bs=a;if(b!=this._bs){this._jk("ViewMode",$$t.$df.getBox(b),$$t.$df.getBox(this._bs))}return a}else{return this._bs}},_mi:null,weekViewBackgroundBrush:function(a){if(arguments.length===1){var b=this._mi;this._mi=a;if(b!=this._mi){this._jk("WeekViewBackgroundBrush",b,this._mi)}return a}else{return this._mi}},_ch:0,weekViewDisplayMode:function(a){if(arguments.length===1){var b=this._ch;this._ch=a;if(b!=this._ch){this._jk("WeekViewDisplayMode",$$t.$dn.getBox(b),$$t.$dn.getBox(this._ch))}return a}else{return this._ch}},_cj:0,workingHoursDisplayMode:function(a){if(arguments.length===1){var b=this._cj;this._cj=a;if(b!=this._cj){this._jk("WorkingHoursDisplayMode",$$t.$dp.getBox(b),$$t.$dp.getBox(this._cj))}return a}else{return this._cj}},_o9:function(){if(this.navigationHeaderVisibility()==0){if(this.viewMode()==2){if(this.dayViewNumberOfDays()==1){return 1}else{return 0}}else{if(this._c().length==1){return 1}else{return 0}}}else{return 0}},_a1:function(){if(this._c4()&&(this.activityGroupingMode()==1||this.activityGroupingMode()==2)){return this.activityGroupingMode()}return 0},_d:function(){if(this.agendaViewAppointmentScope()==0){return new $$t.a(this.agendaViewMinimumDate(),this.agendaViewMaximumDate())}else if(+this.selectedDate()!=+null){return new $$t.a($$t.$b1.p(this.selectedDate()),$$t.$b1.m(this.selectedDate()))}else{return new $$t.a(this.agendaViewMinimumDate(),this.agendaViewMaximumDate())}},__en:0,_f2:function(){return this.cultureName()},_a8:function(a){if(arguments.length===1){if(a!=this._a7){this._a7=a;this._kk()}return a}else{if(this._a7==null){this._a7=$$t.$cu.create(this._f2());this._kk()}return this._a7}},_c4:function(){return null!=this._dh()&&$$5.$e.aj($$t.$ac.$type,this._dh())>0},__c5:false,_c6:function(){return this._bw().l(0)&&this._bw().m(1)},_c7:function(){return this._a1()!=0},_c9:function(){return null!=this.__bd},_e:function(){return new $$t.a(this.minimumDate(),this.maximumDate())},_bi:function(){if(null==this._bh){this._bh=new $$t.b8;this._bh.b(new $$t.ey,false);this._bh.b(new $$t.e8,false);this._bh.b(new $$t.fn,false);this._bh.b(new $$t.fd,false);this._bh.b(new $$t.fg,false);this._bh.b(new $$t.e1,false);this._bh.b(new $$t.ee,false);this._bh.b(new $$t.eq,false);this._bh.b(new $$t.eh,false);this._bh.b(new $$t.ek,false);this._bh.b(new $$t.en,false)}return this._bh},_pg:function(){if(this.navigationHeaderVisibility()==0){return 1}else{return this.monthViewNameVisibility()}},__bd:null,_be:function(){return this.__bd||$$t.$ca.a()},_d5:function(){return this._dt},_df:function(){if(null!=this.dataSource()){return this.dataSource().getResources()}return null},_dg:function(){return null},_dh:function(){if(null!=this._dg()){return this._dg()}return this._df()},__eq:0,__d7:new Date,__cp:null,_bw:function(){return this._bv},_c:function(){if(this.weekViewDisplayMode()==0){return $$5.$e.a($$0.$u.$type,$$t.$v.d(this,false,this._dh(),true))}else{return $$t.$fx.c(this._a8())}},_dk:function(){if(this._bw().j(1)){var a=$b($$t.$er.$type,this._bw().f(1)._i);return a.bt().ar()}return new $$4.x($$t.$eb.$type,0)},_c8:function(){var a=this._bc($$t.$e7.h(this.viewMode()));return null!=a},_b:function(){if(null==this._a){this._a=$.ig.$ep.getNames($$t.$dd.$type)}return this._a},getIsTimeInWorkingHourRange:function(a,b){var c;if(null==b){c=$$t.$v.f(this,true,null)}else{c=$$t.$v.f(this,false,[b])}var e=c.getEnumerator();while(e.moveNext()){var d=e.current();if(d.contains(a,true)){return true}}return false},ensureDayVisibleInMonthView:function(a,b){if(+a==+null){return false}if(this._bn()==2){return this.ensureMonthVisibleInMonthView(a,b)}var c=0;var d=this._bv.f(c);if(null==d){return false}var e=$b($$t.$e2.$type,d._i);if(null==e){return false}if(false==this._c1(e,a)){return false}this.selectedDate($.ig.Date.prototype.getDate(a));var f=$$t.$e7.h(c);var g=e.bo(this.monthViewScrollDirection(),a);if(this.monthViewScrollDirection()==0){if(g.__y<e.a3()){this.__bd.scrollViewTo(f,$.ig.truncate(g.__x),$.ig.truncate(g.__y),b)}else{if(g.__y>e.az()-e.e()._bk.height()){var h=g.__y-e.a0()+e.e()._bk.height();this.__bd.scrollViewTo(f,$.ig.truncate(g.__x),$.ig.truncate(h),b)}}}else{if(g.__x<e.a1()){this.__bd.scrollViewTo(f,$.ig.truncate(g.__x),$.ig.truncate(g.__y),b)}else if(g.__x>e.a2()-e.e()._bk.width()){var i=g.__x-e.a4()+e.e()._bk.width();this.__bd.scrollViewTo(f,$.ig.truncate(i),$.ig.truncate(g.__y),b)}}return true},ensureDayVisibleInAgendaView:function(a,b,c){if(+a==+null){return false}var d=1;var e=this._bv.f(d);if(null==e){return false}var f=$b($$t.$er.$type,e._i);if(null==f){return false}if(false==this._d().contains(a)){return false}var g=$$t.$e7.h(d);var h=f.bt().av(a);if(c){this.__bd.scrollViewTo(g,0,h,b)}else{if(h<f.a3()){this.__bd.scrollViewTo(g,0,h,b)}else{if(f.bt().al(a)){var i=f.bt().aj(a);var j=h+i._b;if(j>f.az()){this.__bd.scrollViewTo(g,0,j-$.ig.truncate(f.a0()),b)}}else{return false}}}return true},ensureDayVisibleInDayOrWeekView:function(a,b){if(+a==+null){return false}var c=this._bv.g(2);if(null==c){return false}var d=$b($$t.$et.$type,c._i);if(null==d){return false}var e=c.g();var f=d.bw().an().j(a);if(null==f){return false}this.__bd.scrollViewTo(e,f._z,d._ci,b);return true},ensureMonthVisibleInMonthView:function(a,b){if(+a==+null){return false}var c=0;var d=this._bv.f(c);if(null==d){return false}var e=$b($$t.$e2.$type,d._i);if(null==e){return false}if(false==this._c1(e,a)){return false}this.selectedDate($.ig.Date.prototype.getDate(a));var f=e.bp(this.monthViewScrollDirection(),a);this.__bd.scrollViewTo($$t.$e7.h(c),$.ig.truncate(f.__x),$.ig.truncate(f.__y),b);return true},exportVisualModel:function(){return this.exportVisualModel1(this.viewMode())},exportVisualModel1:function(a){var b=this._bv.f(a);if(null==b){return null}return b._i.af()},exportVisualModelSerialized:function(){return this.exportVisualModelSerialized1(this.viewMode())},exportVisualModelSerialized1:function(a){var b=this._bv.f(a);if(null==b){return String.empty()}var c=b._i.af();return c._x()},refresh:function(){if(this._cu){return}var b=this._bv.r().getEnumerator();while(b.moveNext()){var a=b.current();var c=a._i;var d=a._b;var e=a._f;var f=a._h;if(null!=d){d.invalidateVisibility(f.j(this,c,e,false));d.refresh(c,false)}}},suspendRefreshAndPerformAction:function(a){if(null==a){return}var b=this._da();if(false==this._da()){this._da(true)}a();this._da(b);if(false==this._da()){this._i1(1);this._ka(this._bv.s())}},_bg:function(a,b){var c=this._bi().a(a,b);if(null!=c){c._r=this;c._h=new $$t.b4(this,c)}return c},_cv:function(a,b,c){if(a==null){return false}var d=1;var e=this._bv.f(d);if(null==e){return false}var f=$b($$t.$er.$type,e._i);if(null==f){return false}var g=0;var h=false;var j=this._dk().getEnumerator();while(j.moveNext()){var i=j.current();if(i.a._isSameAs1(a)&&+$.ig.Date.prototype.getDate(i.b)==+$.ig.Date.prototype.getDate(b)){g=i.c;h=true;break}}if(false==h){return false}var k=$$t.$e7.h(d);var l=g+f.bt()._at;if(g<f.a3()||g>f.az()){var m=false;if(this._d().contains(b)){var n=f.bt().av(b);if(n+f.a0()>l){m=true}}if(m){this.ensureDayVisibleInAgendaView(b,true,true)}else{this.__bd.scrollViewTo(k,0,g,c)}}else{if(l>f.az()){this.__bd.scrollViewTo(k,0,l-$.ig.truncate(f.a0()),c)}}return true},_al:function(a,b,c,d,e,f){var g=$$t.$b1.a(b,false);g.d(4);var h=this.__bd._measureString$i(a,g,f,0);e=Math.min(128,e);while(g.d()<e){if(h.width()>c||h.height()>d){g.d(g.d()-1);return g}g.d(g.d()+1);h=this.__bd._measureString$i(a,g,f,0)}return g},_bc:function(a){var b=this._bv.g(a);if(null!=b){return b._b}return null},_b5:function(a){var b=this._bv.g(a);if(null!=b){return b._f}return null},_gn:function(a){return $$t.$ag.c(a,this._ed())},_go:function(a,b){return $$t.$ag.d(a,this._ed(),b)},_cc:function(a){var b=this._bv.g(a);if(null!=b){return b._h;
}return null},_cd:function(a){var b=this._bv.g(a);if(null!=b){return b._i}return null},_i8:function(a){$$t.$ar._dj.add("["+$$0.$s.now().toString()+"]"+a)},_kl:function(a){var b=new $$6.aj(0);var d=$$t.$ar._dj.getEnumerator();while(d.moveNext()){var c=d.current();b.u(c)}var e=b.toString();if(a){$$t.$ar._dj.clear()}},_es:function(a){return this._bi().d(a)},_jg:function(a){},_ji:function(a,b,c){var d=this._bt(a._m);switch(d){case 1:this._jq(a,b,c);break;case 0:this._js(a,b,c);break;case 3:case 2:this._jr(a,b,c);break}},_jj:function(a,b){if(a==this._oi.width()&&b==this._oi.height()){return}this._oi=new $$a.af(1,a,b);this._i4(false)},_jm:function(){},_jl:function(a){if(a==0&&+$$0.$s.minValue()!=+this._dt){this.ensureMonthVisibleInMonthView(this._dt,false);this._dt=$$0.$s.minValue()}else if(a==1){if(null!=this._aw){var b=+this._dr!=+$$0.$s.minValue()?this._dr:+this.selectedDate()!=+$$0.$s.minValue()?this.selectedDate():$$0.$s.now();if(false==this._cv(this._aw,b,false)){if(+$$0.$s.minValue()!=+this._dr){this.ensureDayVisibleInAgendaView(this._dr,true,true)}}}else if(+$$0.$s.minValue()!=+this._dr){this.ensureDayVisibleInAgendaView(this._dr,true,true)}this._dr=$$0.$s.minValue();this._aw=null}else if($$t.$e7.h(a)==2){if(+$$0.$s.minValue()!=+this._ds){this.ensureDayVisibleInDayOrWeekView(this._ds,true)}this._ds=$$0.$s.minValue()}var c=this._bw().f(a);if(null!=c&&false==c._m){c._m=true}},_jn:function(a,b,c,d){},_jt:function(a){this._di.clear();return;if(this._cs){return}this._cs=true;for(var b=0;b<this._di.count();b++){var c=this._di.__inner[b];if(c.a==a){switch(c.a){case 0:{var d=this._bw().g(a);var e=d._i;switch(this.monthViewScrollDirection()){case 0:{if(c.b>0){(function($obj){var $value=$obj.a8();$obj.a8($value+1);return $value})(e);var f=(e._a9-c.b)/c.b;if(f!=0){var g=e._bq.top();g+=g*f;this.__bd.scrollViewTo(a,0,$.ig.truncate(g),false)}}break}case 1:{if(c.c>0){(function($obj){var $value=$obj.a8();$obj.a8($value+1);return $value})(e);var h=(e._ba-c.c)/c.c;if(h!=0){var i=e._bq.left();i+=i*h;this.__bd.scrollViewTo(a,$.ig.truncate(i),0,false)}}break}}break}default:break}this._di.removeAt(b);b--}}this._cs=false},_ka:function(a){this._i6();var c=a.getEnumerator();while(c.moveNext()){var b=c.current();var d=this._bv.g(b);var e=d._i;if(e.a6()==0){continue}var f=d._b;var g=d._f;var h=d._h;if(null==f){continue}try{this._da(true);var i=e._ba;var j=e._a9;g.q(e);var k=e._ba;var l=e._a9;if(i!=k||j!=l){if(b==0){this._iy(e,this._dt,true);var m=this._dt;this._dt=$$0.$s.minValue();this.__bd.onContentSizeChanged(b);this._dt=m;if(j!=0&&i!=0){if(this._di.count()<1){this._di.add(new $$t.as(1,j,i,b));this._jt(b)}}}else if(b==2){this.__bd.onContentSizeChanged(b);this._ix(e,this._d1(),j!=l,true);var n=this._ds;this._ds=$$0.$s.minValue();this._ds=n;if(j!=0&&i!=0){if(this._di.count()<1){this._di.add(new $$t.as(1,j,i,b));this._jt(b)}}}else{this.__bd.onContentSizeChanged(b)}this._kd(b)}}finally{this._da(false)}f.invalidateVisibility(h.j(this,e,g,true));f.refresh(e,false)}},_kb:function(a){var b=this._bv.g(a);var c=b._b;var d=b._i;c.invalidateVisibility(b._h.j(this,d,b._f,false));c.refresh(d,true)},_da:function(a){if(arguments.length===1){this._cu=a;return a}else{return this._cu}},_db:function(a,b){return a==1&&b==1||a==0&&b==0},_b3:function(a){if(a==0){return 0}else{return 1}},_dc:function(){return this._dd(true)},_de:function(){return this._dd(false)},_dd:function(a){var b=this._dk().count();if(b<1){return false}var c=this.selectedAppointment();var d=-1;for(var e=0;e<b;e++){var f=this._dk().__inner[e];if(f.a._isSameAs1(c)&&+$.ig.Date.prototype.getDate(f.b)==+$.ig.Date.prototype.getDate(this.selectedDate())){d=e;break}}var g=d;if(d==-1){if(a){g=0}else{g=b-1}}else{if(a){if(d<b-1){g=d+1}else{return false}}else{if(d>0){g=d-1}else{return false}}}var h=this._dk().__inner[g];this.selectedDate(h.b);this.selectedAppointment(h.a);this._cv(h.a,h.b,true);return true},_ke:function(a,b){this._bv.o(a,b)},_kh:function(a,b,c){var d=this._bv.g(a);var e=d._i;var f=false;var g=e.ax();var h=e.ay();if(c!=g||b!=h){f=true}if(false==f){return}e.ax(c);e.ay(b);d.s(new $$a.af(1,b,c));this._di.add(new $$t.as(1,e._a9,e._ba,a));if(a==0){this._dt=this._d2()}else if(a==2){this._ds=this._d1()}this._i1(1);this._ka([a])},_di:null,_kg:function(a,b,c,d,e){var f=this._bv.g(a)._i;var g=f._bq;if(g.right()!=d||g.bottom()!=e||g.left()!=b||g.top()!=c){f._bq=new $$a.ae(0,b,c,d-b,e-c);this._jt(a);this._kb(a)}},_kk:function(){var a=this.dataSource();if(a!=null){a._h(this._a8());a._ak(this._ed())}},_iw:function(){try{this._da(true);var a=false;if(this._ow==0){if(false==this._bv.j(1)){this._i4(true);this._bv.i(1);this.__bd.onSecondaryViewModeAdded(1);this._kd(1);this._aw=this.selectedAppointment();a=true}}else{if(this._bv.j(1)){if(this._bv.j(1)){this._bv.n(1);this.__bd.onSecondaryViewModeRemoved(1);a=true}}}if(a){this._i1(1);this._ka(this._bv.s())}}finally{this._da(false)}},_ix:function(a,b,c,d){var e=this._bw().g(2);if(null!=e){if(false==e._m){return}}else{return}var f=false;var g=false;var h=$b($$t.$et.$type,a);if(null==h){return}var i=h._bq.left();var j=h._bq.left();if(+b!=+$$0.$s.minValue()){var k=h.bw().an().j(b);if(null!=k){i=h._bq.left();j=k._z;if(j!=i){f=true}}}var l=h._bq.top();if(c){var m=h._b1;if(null!=m){var n=h.b5();var o=n.al(m._a);if(null!=o){var p=o._g;if(h._a9-p<h.a5()){l=Math.max(0,h._a9-h.a5())}else{l=0}g=true}}}if(f||g){a._bq=new $$a.ae(0,j,l,a.a6(),a.a5());if(d){this.__bd.scrollViewTo(2,$.ig.truncate(a._bq.left()),$.ig.truncate(a._bq.top()),false)}}},_iy:function(a,b,c){if(+b==+$$0.$s.minValue()){return}if(this._bn()!=2){return}var d=a._bq.left();var e=a._bq.top();switch(this.monthViewScrollDirection()){case 1:var f=$.ig.truncate(a.bp(this.monthViewScrollDirection(),b).__x);a._bq=new $$a.ae(0,f,0,a.a6(),a.a5());break;case 0:var g=$.ig.truncate(a.bp(this.monthViewScrollDirection(),b).__y);a._bq=new $$a.ae(0,0,g,a.a6(),a.a5());break}if(c&&(a._bq.left()!=d||a._bq.top()!=e)){this.__bd.scrollViewTo(0,$.ig.truncate(a._bq.left()),$.ig.truncate(a._bq.top()),false)}},_i1:function(a){var c=this._bw().r().getEnumerator();while(c.moveNext()){var b=c.current();b._i.a8(b._i.a8()+a)}},_i4:function(a){},_c0:function(a){var b=this._e();return $.ig.Date.prototype.getDate(a)>=$.ig.Date.prototype.getDate(b.start())&&$.ig.Date.prototype.getDate(a)<=$.ig.Date.prototype.getDate(b.end())},_c1:function(a,b){var c=a._au;var d=$$t.$b1.n(c);var e=a._at;var f=$$t.$b1.o(e,this._a8());return b>=d&&b<=f},_d2:function(){var a=this._bw().f(0)._i._bv;if(+a==+$$0.$s.minValue()){return+this.selectedDate()==+$$0.$s.minValue()?$.ig.Date.prototype.getDate($$0.$s.now()):this.selectedDate()}else{return a}},_d1:function(){if(+this.selectedDate()!=+$$0.$s.minValue()){return this.selectedDate()}else{var a=this._bw().g(2)._i._ca;if(+a==+$$0.$s.minValue()){return $.ig.Date.prototype.getDate($$0.$s.now())}else{return a}}},_bt:function(a){var b=this._b()[a.r()].toLowerCase();if(b.contains("navigation")){return this.viewMode()}if(b.startsWith("agenda")){return 1}if(b.startsWith("month")){return 0}if(b.startsWith("dayweek")||b.startsWith("day")||b.startsWith("week")||b.startsWith("allday")){return this._bw().g(2)._c}throw new $$6.p(1,$6("Unexpected value '{0}' encountered in ModelPath.Role!!!!",b))},_i6:function(){},_jb:function(a,b){this.__en++;if(null!=b.affectedRange()&&b.action()==1&&null!=this.selectedAppointment()){if(b.affectedRange()._intersectsWith(new $$t.a(this.selectedAppointment().start(),this.selectedAppointment().end()),false)){this.selectedAppointment(null)}}var c=new $$4.x($$t.$dm.$type,2,this._bw().w());var e=this._bw().r().getEnumerator();while(e.moveNext()){var d=e.current();var f=d._i;if(null!=d._b&&f.ai(b)){c.add(d.g());f.bf(b)}}if(c.count()>0){this._i1(1);this._ka(c)}},_ja:function(a,b){if(null!=b.activity().recurrenceRoot()){this.__en++}var c=new $$4.x($$t.$dm.$type,2,this._bw().w());var e=this._bw().r().getEnumerator();while(e.moveNext()){var d=e.current();var f=d._i;if(null!=d._b&&f.ah(b)){c.add(d.g());f.be(b)}}if(c.count()>0){this._i1(1);this._ka(c)}},_jc:function(a,b){var c=new $$4.x($$t.$dm.$type,2,this._bw().w());var e=this._bw().r().getEnumerator();while(e.moveNext()){var d=e.current();var f=d._i;if(null!=d._b&&f.al(b)){c.add(d.g());f.bk(b)}}if(c.count()>0){this._i1(1);this._ka(c)}},_jd:function(a,b){this.__eq++;var c=new $$4.x($$t.$dm.$type,2,this._bw().w());var e=this._bw().r().getEnumerator();while(e.moveNext()){var d=e.current();var f=d._i;if(null!=d._b&&f.am(b)){c.add(d.g());f.bl(b)}}if(c.count()>0){this._i1(1);this._ka(c)}},_je:function(){var a=new $$4.x($$t.$dm.$type,2,this._bw().w());var c=this._bw().r().getEnumerator();while(c.moveNext()){var b=c.current();var d=b._i;if(null!=b._b&&d.aj()){a.add(b.g());d.bi()}}if(a.count()>0){this._i1(1);this._ka(a)}},_jf:function(a,b){var c=new $$4.x($$t.$dm.$type,2,this._bw().w());var e=this._bw().r().getEnumerator();while(e.moveNext()){var d=e.current();var f=d._i;if(null!=d._b&&f.ak(a,b)){c.add(d.g());f.bj(a,b)}}if(c.count()>0){this._i1(1);this._ka(c)}},_jo:function(a,b,c){var d=this._bt(b._m);var e=true;var f=b._m;if(this.appointmentClicked!=null){var g=function(){var $ret=new $$t.cd;$ret.clickedAppointment(a);$ret.clickedInDate(c);$ret.allowSelection(e);$ret.viewMode(d);return $ret}();this.appointmentClicked(this,g);e=g.allowSelection()}if(e&&false==a._isSameAs1(this.selectedAppointment())){this._dn=c;this.selectedAppointment(a);if(this.appointmentSelected!=null){this.appointmentSelected(this,function(){var $ret=new $$t.cf;$ret.selectedAppointment(a);$ret.selectedInDate(c);$ret.viewMode(d);return $ret}())}}},_jp:function(a,b){var c=$b($$t.$i8.$type,a);var d=$b($$t.$i8.$type,b);if(null!=c){c.destroy();c._appointmentPropertyChanged=$.ig.Delegate.prototype.remove(c._appointmentPropertyChanged,this._ja.runOn(this));c._appointmentsChanged=$.ig.Delegate.prototype.remove(c._appointmentsChanged,this._jb.runOn(this));d._resourcePropertyChanged=$.ig.Delegate.prototype.remove(d._resourcePropertyChanged,this._jc.runOn(this));d._resourcesChanged=$.ig.Delegate.prototype.remove(d._resourcesChanged,this._jd.runOn(this))}if(null!=d){d._appointmentPropertyChanged=$.ig.Delegate.prototype.combine(d._appointmentPropertyChanged,this._ja.runOn(this));d._appointmentsChanged=$.ig.Delegate.prototype.combine(d._appointmentsChanged,this._jb.runOn(this));d._resourcePropertyChanged=$.ig.Delegate.prototype.combine(d._resourcePropertyChanged,this._jc.runOn(this));d._resourcesChanged=$.ig.Delegate.prototype.combine(d._resourcesChanged,this._jd.runOn(this))}},_jq:function(a,b,c){if(a.t()==31){return}var d=a._m;if(d.ag()){var e=$.ig.Date.prototype.fromValues(d.a3(),d.a1(),d.ay(),0,0,0,0);var f=d.c();if(null!=f){this._jo(f,a,e)}this.selectedDate(e);if(this._c6()){this.ensureMonthVisibleInMonthView(e,true)}}},_jr:function(a,b,c){var d=a._m;var e=d.r();if(e==46||e==43||e==45||e==44){var f=d.as();var g=d.c();if(null!=g){this._jo(g,a,f)}this.selectedDate(f)}else if(e==49||e==51||e==50){var h=this._bt(a._m);var i=$b($$t.$et.$type,this._bw().f(h)._i);if(null!=i){if(i._cn!=1){return}}else{return}var j=i._bx;var k=j.q(b+a.bl());var l=j.d(b+a.bl());var m=i.b5().am(c+a.bm());var n=m._a;if(null!=n){this._ju(n,a,k,l)}}else if(e==55||e==54){var o=e==54;var p=$b($$t.$et.$type,this._cd(2));if(null!=p){var q=p._bs;var r=this.viewMode()==2?this.dayViewNumberOfDays():7;if(o){r=r*-1}var s=$.ig.Date.prototype.addDays(q[0],r);this.ensureDayVisibleInDayOrWeekView(s,true)}else{}}},_js:function(a,b,c){var $self=this;var d=a._m;var e=$b($$t.$ez.$type,a);if(e!=null){if(this.weekNumberClicked!=null){this.weekNumberClicked(this,function(){var $ret=new $$t.ct;$ret.weekNumber(d.a2());$ret.month(d.a1());$ret.year(d.a3());return $ret}())}return}else if(d.ag()){var f=$.ig.Date.prototype.fromValues(d.a3(),d.a1(),d.ay(),0,0,0,0);var g=d.c();if(null!=g){this._jo(g,a,f)}if(this.dayClicked!=null){this.dayClicked(this,function(){var $ret=new $$t.ch;$ret.clickedDate(f);$ret.viewMode($self._bt(a._m));return $ret}())}if(this._c0(f)){if(+f!=+this.selectedDate()){this.selectedDate(f)}if(d.ai()||d.am()){this.ensureDayVisibleInMonthView(this.selectedDate(),true)}else if(this.monthViewAgendaVisibility()==0){this.ensureDayVisibleInMonthView(this.selectedDate(),true)}if(this.monthViewAgendaVisibility()==0){this.ensureDayVisibleInAgendaView(this.selectedDate(),true,true)}}}else if(d.af()){if(this.dayOfWeekHeaderClicked!=null){this.dayOfWeekHeaderClicked(this,function(){var $ret=new $$t.cj;$ret.dayOfWeek(d.az());$ret.month(d.a1());$ret.year(d.a3());return $ret}())}}else if(d.aj()){if(this.monthHeaderClicked!=null){this.monthHeaderClicked(this,function(){var $ret=new $$t.cl;$ret.month(d.a1());$ret.year(d.a3());return $ret}())}}else if(a.t()==55||a.t()==54){var h=a.t()==54;var i=$b($$t.$e2.$type,this._cd(0));if(null!=i){var j=h?-1:1;var k=$.ig.Date.prototype.addMonths(i._bt,j);var l=$.ig.Date.prototype.getDate($$0.$s.now());if($.ig.Date.prototype.getMonth(k)==$.ig.Date.prototype.getMonth(l)&&k.getFullYear()==l.getFullYear()){k=l}this.ensureDayVisibleInMonthView(k,true)}else{}}},_ju:function(a,b,c,d){var e=this._bt(b._m);var f=true;var g=b._m;if(this.timeSlotClicked!=null){var h=function(){var $ret=new $$t.cp;$ret.clickedTimeRange(a);$ret.clickedInDate(c);$ret.clickedInResource(d);$ret.allowSelection(f);$ret.viewMode(e);return $ret}();this.timeSlotClicked(this,h);f=h.allowSelection()}if(f){var i=this.selectedTimeRange()==a&&+this.selectedDate()==+c;this.selectedTimeRange(a);this.selectedDate(c);this.__d7=c;this.__cp=d;if(i){this._i1(1);this._ka([2])}if(this.timeSlotSelected!=null){this.timeSlotSelected(this,function(){var $ret=new $$t.cr;$ret.selectedTimeRange(a);$ret.selectedInDate(c);$ret.selectedInResource(d);$ret.viewMode(e);return $ret}())}}},_jv:function(a,b,c){var $self=this;switch(a){case"ViewMode":{var d=$$t.$e7.h($g(b));var e=$g(c);var f=$$t.$e7.h(e);this._bw().p(e);if(d!=f){this.__bd.onPrimaryViewModeChanged(f)}else{if(f==2){this._ds=this._d1()}}if(e==0){if(this.monthViewAgendaVisibility()==0){this._iw()}}this._i1(1);this._ka(this._bv.s());break}case"MonthViewDayBackgroundBrush":case"MonthViewDayOfWeekHeaderTextBrush":case"MonthViewNameBackgroundBrush":case"MonthViewNameTextBrush":case"MonthViewSelectedDayBackgroundBrush":case"MonthViewSelectedDayTextBrush":case"MonthViewWeekNumberBackgroundBrush":case"MonthViewWeekNumberTextBrush":case"MonthViewLeadingDayBackgroundBrush":case"MonthViewLeadingDayTextBrush":case"MonthViewTrailingDayBackgroundBrush":case"MonthViewTrailingDayTextBrush":case"MonthViewSeparatorLineBrush":case"MonthViewTodayHighlightBrush":case"MonthViewTodayTextBrush":case"MonthViewDayActivityIndicatorBrush":case"MonthViewBackgroundBrush":case"MonthViewNameSeparatorLineBrush":if(this._bv.j(0)){if(a=="MonthViewBackgroundBrush"){this._bv.f(0).x(this.monthViewBackgroundBrush())}this._i1(1);this.refresh()}break;case"MonthViewNameFontInfo":case"MonthViewDayFontInfo":case"MonthViewDayOfWeekHeaderFontInfo":case"MonthViewDayOfWeekHeaderVisibility":case"MonthViewHorizontalSeparatorVisibility":case"MonthViewLeadingDayVisibility":case"MonthViewLeadingDayFontInfo":case"MonthViewTrailingDayVisibility":case"MonthViewTrailingDayFontInfo":case"MonthViewVerticalSeparatorVisibility":case"MonthViewWeekNumberFontInfo":case"MonthViewWeekNumberVisibility":case"MonthViewInterMonthSpacing":case"MonthViewScrollDirection":case"MonthViewScrollMode":case"MonthViewAgendaVisibility":case"MonthViewNameMargin":case"MonthViewNameVisibility":case"MonthViewAppointmentFontInfo":case"MonthViewDayContentDisplayMode":case"MonthViewDayOfWeekHeaderMargin":{if(this._bv.j(0)){if(a=="MonthViewScrollDirection"){var g=this._bv.f(0);if(false==$$t.$ar._db(this.monthViewScrollDirection(),g._e)){g._e=$$t.$ar._b3(this.monthViewScrollDirection());this._be().onScrollDirectionChanged($$t.$e7.h(0),g._e);this._dt=this._d2()}}if(a=="MonthViewAgendaVisibility"){this._iw()}if(a=="MonthViewScrollMode"){var h=this._bv.f(0);var i=this._bn()==2;if(h._n!=i||h._k!=i){h._n=h._k=i}this._be().onScrollModeChanged($$t.$e7.h(0),this._bn());this._dt=this._d2()}this._i1(1);this._ka([$$t.$e7.h(0)])}break}case"AgendaViewDayHeaderBackgroundBrush":case"AgendaViewDayHeaderTextBrush":case $$t.$ar._e3:case"AgendaViewAppointmentLocationTextBrush":case $$t.$ar._e5:case $$t.$ar._e6:case $$t.$ar._fg:case"AgendaViewAppointmentSubjectTextBrush":case $$t.$ar._fi:case $$t.$ar._fj:case"AgendaViewAppointmentStartTimeTextBrush":case $$t.$ar._fb:case $$t.$ar._fe:case $$t.$ar._fd:case"AgendaViewAppointmentEndTimeTextBrush":case $$t.$ar._ey:case $$t.$ar._e1:case $$t.$ar._e0:case"AgendaViewAppointmentSeparatorLineBrush":case"AgendaViewDayHeaderSeparatorLineBrush":case"AgendaViewBackgroundBrush":case"AgendaViewMessageTextBrush":if(this._bv.j(1)){if(a=="AgendaViewBackgroundBrush"){this._bv.f(1).x(this.agendaViewBackgroundBrush())}this._i1(1);this.refresh()}break;case"AgendaViewMaximumDate":case"AgendaViewMinimumDate":case"AgendaViewDayHeaderFontInfo":case"AgendaViewAppointmentLocationFontInfo":case"AgendaViewAppointmentSubjectFontInfo":case"AgendaViewAppointmentStartTimeFontInfo":case"AgendaViewAppointmentEndTimeFontInfo":case"AgendaViewMessageFontInfo":case"AgendaViewInterDaySpacing":case"AgendaViewAppointmentScope":case"AgendaViewAppointmentMargin":case"AgendaViewDayHeaderMargin":if(this._bv.j(1)){this._i1(1);this._ka([$$t.$e7.h(1)])}break;case"DayViewBackgroundBrush":if(this._bv.j(2)){if(a=="DayViewBackgroundBrush"){this._bv.f(2).x(this.dayViewBackgroundBrush())}this._i1(1);this.refresh()}break;case"DayViewNumberOfDays":if(this._bv.j(2)){if(a=="DayViewNumberOfDays"){this._ds=this._d1()}this._i1(1);this._ka([$$t.$e7.h(2)])}break;case"WeekViewBackgroundBrush":if(this._bv.j(3)){if(a=="WeekViewBackgroundBrush"){this._bv.f(3).x(this.weekViewBackgroundBrush())}this._i1(1);this.refresh()}break;case"WeekViewDisplayMode":if(this._bv.j(3)){this._i1(1);this._ka([$$t.$e7.h(3)])}break;case"DayHeaderBackgroundBrush":case"DayHeaderTextBrush":case"ResourceHeaderBackgroundBrush":case"ResourceHeaderTextBrush":case"TimeSlotMajorHorizontalSeparatorBrush":case"TimeSlotMinorHorizontalSeparatorBrush":case"TimeSlotMajorVerticalSeparatorBrush":case"TimeSlotMinorVerticalSeparatorBrush":case"TimeSlotDescriptorBackgroundBrush":case"TimeSlotDescriptorTextBrush":case"TimeSlotNonWorkingHourBackgroundBrush":case"TimeSlotWorkingHourBackgroundBrush":case"DayViewAppointmentBackgroundBrush":case $$t.$ar._ga:case"DayViewAppointmentLocationTextBrush":case $$t.$ar._gd:case"DayViewAppointmentSubjectTextBrush":case"AllDayEventAreaBackgroundBrush":case"AllDayEventBackgroundBrush":case"AllDayEventTextBrush":case"TimeSlotSelectedBackgroundBrush":case"DayViewNavigationHeaderDateTextBrush":case"MonthViewNavigationHeaderDateTextBrush":if(this._bv.k(2)){this._i1(1);this.refresh()}break;case"ActivityGroupingMode":case"TimeSlotInterval":case"WorkingHoursDisplayMode":case"DayHeaderFontInfo":case"ResourceHeaderFontInfo":case $$t.$ar._id:case $$t.$ar._ii:case $$t.$ar._ig:case $$t.$ar._ik:case"DayViewAppointmentLocationFontInfo":case"DayViewAppointmentSubjectFontInfo":case"AllDayEventFontInfo":case"AllDayEventAreaVisibility":case"SelectedTimeRange":case"DayViewNavigationHeaderDateFontInfo":case"MonthViewNavigationHeaderDateFontInfo":case"TimeSlotDescriptorFontInfo":if(this._bv.k(2)){if(a=="ActivityGroupingMode"){this._ds=this._d1()}this._i1(1);this._ka([2])}break;case"NavigationHeaderBackgroundBrush":case"NavigationHeaderBorderBrush":this._i1(1);this.refresh();break;case"MaximumDate":case"MinimumDate":case"DataSource":case"SelectedAppointment":case"ViewSplitOrientation":case"ViewSplitOrientationMode":case"SelectedDate":case"CultureName":case"NavigationHeaderVisibility":case"FirstDayOfWeekOverride":case"TimeFormat":{if(a=="DataSource"){this._jp(b,c)}if(a=="CultureName"){this._a7=null;this._kk()}if(this._c6()){if(a=="ViewSplitOrientation"){this.__bd.onViewSplitOrientationChanged()}else if(a=="ViewSplitOrientationMode"){if(this.viewSplitOrientationMode()==1){this._i4(false)}}}if(this._bv.j(0)){if(a=="MaximumDate"||a=="MinimumDate"){var j=this._bv.f(0);var k=j._i._bv;var l=this._e();var m=$$t.$b1.n(l.start());var n=$$t.$b1.o(l.end(),this._a8());if(+k==+$$0.$s.minValue()){var o=$.ig.Date.prototype.getDate($$0.$s.now());if(o<m){this._dt=m}else if(o>n){this._dt=n}else{this._dt=+this.selectedDate()==+$$0.$s.minValue()?o:this.selectedDate()}}else if(k<m){this._dt=l.start()}else if(k>n){this._dt=l.end()}else{this._dt=k}}}if(a=="SelectedDate"){if(null==b||null==c||+$.ig.Date.prototype.getDate(b)!=+$.ig.Date.prototype.getDate(c)){this._j5(function(){var $ret=new $$t.cn;$ret.selectedDate($self._du);return $ret}())}}if(a=="SelectedAppointment"){if(this._bv.j(1)){var p=+this._dn!=+$$0.$s.minValue()?this._dn:this.selectedDate();this._cv(this.selectedAppointment(),p,true)}this._dn=$$0.$s.minValue()}if(a=="FirstDayOfWeekOverride"){this._cd($$t.$e7.h(this.viewMode())).bg()}this._i1(1);this._ka(this._bv.s());break}}},_kd:function(a){var b=this._bw().g(a);switch(a){case 1:if(false==b._l){if(+this.selectedDate()==+$$0.$s.minValue()){this.selectedDate($$0.$s.now())}this.ensureDayVisibleInAgendaView(this.selectedDate(),false,true);this._dr=this.selectedDate();b._l=true}break;case 0:if(false==b._l){if(+this.selectedDate()==+$$0.$s.minValue()){this.selectedDate($$0.$s.now())}this.ensureMonthVisibleInMonthView(this.selectedDate(),false);this._dt=this.selectedDate();b._l=true}break;case 2:if(false==b._l){if(+this.selectedDate()==+$$0.$s.minValue()){this.selectedDate($$0.$s.now())}this.ensureDayVisibleInDayOrWeekView(this.selectedDate(),false);this._ds=this.selectedDate();b._l=true}break}},_kf:function(){this._bv=new $$t.e7(this);this._bs=0;this._bv.p(this._bs);if(this.monthViewAgendaVisibility()==0){this._bv.i(1)}$$t.$ea.cg();this._d8=this._a8().firstDayOfWeek()},propertyChanged:null,_jk:function(a,b,c){var d=this.propertyChanged;if(d!=null){d(this,new $$0.b7(a))}this._jv(a,b,c)},$type:new $.ig.Type("Scheduler",$.ig.$ot,[$$0.$b6.$type])},true);$c("LocalizationUtils:ag","Object",{init:function(){$.ig.$op.init.call(this)},e:function(a){if($$t.$ag.b==null){$$t.$ag.b=new $$4.x($$t.$ar.$type,0)}$$t.$ag.b.add(a)},f:function(a){if($$t.$ag.b!=null){$$t.$ag.b.remove(a)}},a:function(){return $$t.$ag.b!=null&&$$t.$ag.b.count()>0?$$t.$ag.b.__inner[$$t.$ag.b.count()-1]:null},c:function(a,b){if(b==null&&$$t.$ag.b!=null&&$$t.$ag.b.count()>0){b=$$t.$ag.b.__inner[$$t.$ag.b.count()-1]._ed()}if(b!=null){return b(a)}return $$6.$ak.c("schedulerCore",a,[])},d:function(a,b,c){if(b==null&&$$t.$ag.b!=null&&$$t.$ag.b.count()>0){b=$$t.$ag.b.__inner[$$t.$ag.b.count()-1]._ed()}if(b==null){return $$6.$ak.c("schedulerCore",a,c)}var d=b(a);if(String.isNullOrEmpty(d)){return d}return $7(d,c)},$type:new $.ig.Type("LocalizationUtils",$.ig.$ot)},true);$c("scheduler.ScheduleDataSource:i8","Object",{_ae:null,_al:0,_r:null,_g:null,_aj:null,_x:null,init:function(){this._al=0;$.ig.$op.init.call(this)},dataErrorCallback:function(a){if(arguments.length===1){var b=this._x;this._x=a;this.onPropertyChanged("DataErrorCallback");return a}else{return this._x}},_bc:function(a,b,c){if(c){throw b.exception()}if(this.dataErrorCallback()!=null){this.dataErrorCallback()(a,b)}},_appointmentsChanged:null,_a8:function(a,b,c){if(this._appointmentsChanged!=null){var d=new $$t.he(a,b,c);this._appointmentsChanged(this,d)}},_resourcesChanged:null,_bb:function(a,b){this._ae=null;if(this._resourcesChanged!=null){var c=new $$t.hg(a,b);this._resourcesChanged(this,c)}},_appointmentPropertyChanged:null,onAppointmentPropertyChanged:function(a,b,c,d,e){e=e!==void 0?e:true;if(e&&this._appointmentPropertyChanged!=null){var f=new $$t.hj(a,b,c,d);this._appointmentPropertyChanged(this,f)}},_resourcePropertyChanged:null,onResourcePropertyChanged:function(a,b,c){c=$t($$0.$u.$type,c);this._ae=null;if(b==2){this.bumpResourcesVersion()}if(this._resourcePropertyChanged!=null){var d=new $$t.hl(a,b,c);this._resourcePropertyChanged(this,d)}},_appointmentsBinding:null,_a6:function(){if(this._appointmentsBinding!=null){this._appointmentsBinding(this,$$0.$w.empty)}},_appointmentsBound:null,_a7:function(){if(this._appointmentsBound!=null){this._appointmentsBound(this,$$0.$w.empty)}this._a8(4,null,true)},_a2:function(a,b,c){},_i:function(a,b){},_ax:function(a,b,c){var d=this._i(a,b);if(d.status()==1){c(d,false)}else{d._completed=$.ig.Delegate.prototype.combine(d._completed,function(e,f){c(d,true)})}},hasAppointmentsInRange:function(a,b,c){},_a0:function(a,b,c,d){var e=this.hasAppointmentsInRange(a,b,c);if(e.status()==1){d(e,false)}else{e._completed=$.ig.Delegate.prototype.combine(e._completed,function(f,g){d(e,true)})}},getAppointmentsInRange:function(){return this._getAppointmentsInRange.apply(this,arguments)},_getAppointmentsInRange:function(a){return this._getAppointmentsInRange1(a,null)},_getAppointmentsInRange1:function(a,b){},_ay:function(a,b,c){var d=this._getAppointmentsInRange1(a,b);if(d.status()==1){c(d,false)}else{d._completed=$.ig.Delegate.prototype.combine(d._completed,function(e,f){c(d,true)})}},getResources:function(){},createAppointment:function(a){},deleteAppointment:function(a){},beginEdit:function(a,b){},cancelEdit:function(a){},_au:function(a,b){var c=this.cancelEdit(a);if(c.status()==1){b(c,false)}else{c._completed=$.ig.Delegate.prototype.combine(c._completed,function(d,e){b(c,true)})}},endEdit:function(a,b){},_aw:function(a,b,c){var d=this.endEdit(a,b);if(d.status()==1){c(d,false)}else{d._completed=$.ig.Delegate.prototype.combine(d._completed,function(e,f){c(d,true)})}},isAppointmentDataReady:function(){},_c:function(a){},_h:function(a){if(arguments.length===1){this._g=a;return a}else{if(this._g==null){this._g=$$t.$fx.f()}return this._g}},_am:function(){return this._al},_s:function(){if(this._r==null){this._r=new $$t.g3(this)}return this._r},_ak:function(a){if(arguments.length===1){this._aj=a;return a}else{return this._aj}},_a:function(a){if(a==$$t.$z.$type){return this._e(true)}return null},_e:function(a){var b=new $$t.z;if(a){b.id($$6.$i.newGuid().toString())}return b},_a1:function(a,b){a._bh(b)},_w:function(a){if(this._ae==null){this._ae=new $$4.h(String,$$t.$ac.$type,0);var b=this.getResources();var d=b.getEnumerator();while(d.moveNext()){var c=d.current();this._ae.add(c.id(),c)}}var e=null;var f=this._ae.tryGetValue(a,e);e=f.p1;return e},_a4:function(a,b,c,d,e,f){},_a3:function(a,b,c){},_az:function(a,b,c,d){var e=$.ig.Date.prototype.fromValues(a,b,1,0,0,0,0);var f=$.ig.Date.prototype.addMonths(e,1);var g=new $$t.a(e,f);this._a0(g,c,false,d)},_ac:function(a,b){var c=false;switch(a){case 4:case 5:case 11:c=$b($$0.$s.$type,b)!==null;break;case 0:case 8:case 10:case 1:case 2:case 3:case 6:c=typeof b==="string";break;case 12:case 13:c=$b($$0.$aq.$type,b)!==null;break;default:break}return c},_ad:function(a,b){var c=false;switch(a){case 0:case 1:c=typeof b==="string";break;case 2:return $b($$t.$ia.$type,b)!==null||typeof b==="number"||typeof b==="string";case 3:return typeof b==="string"||$b($$t.$d.$type,b)!==null;default:break}return c},_an:function(a,b,c){var d=null;var e=null;switch(a){case 4:case 5:case 11:d=function(){var f=$$t.$fw.convertToDateTime(b,e);e=f.p1;return f.ret}();break;case 0:case 8:case 10:case 1:case 2:case 3:case 6:d=function(){var f=$$t.$fw.convertToString(b,e,null);e=f.p1;return f.ret}();break;case 12:case 13:d=function(){var f=$$t.$fw.convertToBoolean(b,e);e=f.p1;return f.ret}();break;default:break}if(c&&e!=null){throw e}return d},_ao:function(a,b,c){var d=null;var e=null;switch(a){case 0:case 1:d=function(){var f=$$t.$fw.convertToString(b,e,null);e=f.p1;return f.ret}();break;case 2:d=$s(function(){var f=$$t.$fw.convertToColorScheme(b,null,e);e=f.p2;return f.ret}());break;case 3:if(b==null||$b($$t.$d.$type,b)!==null){return b}var f=$b(String,b);if(f==null){e=new $$6.d(1,"Data was not convertible to a ScheduleDaysOfWeekSettings.");return null}if(f!=null&&f.length==0){return null}var g=new $$t.d;try{g._t(f);return g}catch(h){e=h}break;default:break}if(c&&e!=null){throw e}return d},onPropertyChanged:function(a){if(this._propertyChanged!=null){this._propertyChanged(this,new $$0.b7(a))}},_propertyChanged:null,bumpResourcesVersion:function(){this._al++},_b:function(a,b){throw new $$6.q(0)},_ar:function(a){return $$t.$ag.c(a,this._aj)},_as:function(a,b){return $$t.$ag.d(a,this._aj,b)},_f:function(a,b){return $b($$t.$z.$type,this._b(a,b))},internalNotifyPropertyChanging:function(a,b,c,d){return true},createVariance:function(a){throw new $$6.q(0)},getAppointmentBackgroundColor:function(a){if(a==null){throw new $$6.e(0,"resource")}var b=this._s().x(a,true);return b!=null?b.color().colorString():String.empty()},getAppointmentTextColor:function(a){if(a==null){throw new $$6.e(0,"resource")}var b=this._s().y(a,false,true);return b!=null?b.color().colorString():String.empty()},destroy:function(){},$type:new $.ig.Type("scheduler.ScheduleDataSource",$.ig.$ot)},true);$c("scheduler.ScheduleListDataSource:iz","scheduler.ScheduleDataSource",{_bm:null,_bo:null,_b0:false,_c5:null,_bs:null,_cz:null,_bf:null,_bz:false,_b3:false,_cu:null,_ct:null,_c3:null,_bw:null,_b1:false,_bk:null,_bq:null,_b2:false,init:function(){this._b0=true;this._bz=false;this._b3=false;this._b1=false;$$t.$i8.init.call(this)},createAppointment:function(a){var b=this._bi();if(b!=null){this._bc(1,b,false);if(a!=null){a(b)}return null}var c=this._e(true);this._cv().add(c,new $$t.i0($$t.$x.$type,c,1,null));return c},deleteAppointment:function(a){if(a==null){throw new $$6.e(0,"appointment")}var b=null;var c=a.dataObject();var d=null;var e=new $$t.hy(a,2,null);var f=this._bj();if(f!=null){this._bc(3,f,false);e._k(f);return e}if(a.isRecurrenceRoot()||a._u()){if(a._u()){f=this._bi();if(f!=null){this._bc(3,f,false);e._k(f);return e}}b=this._br().y(a,e);this._a8(1,b,false);return e}var g=this._bl();var h=g.f(c);if(h<0){d=$$t.$fw.createException("LE_NoDataObject");f=new $$t.hp($$t.$z.$type,a,c,d);e._k(f);this._bc(3,f,false);return e}try{g.b(h,c);this._bg().y(a);this._ed(a,c,true);e._f()}catch(i){f=new $$t.hm(i);e._k(f);this._bc(3,f,false)}b=new $$t.a(a._am(),a._aj());var j=new $$4.x($$t.$z.$type,1,[a]);this._a8(1,b,false);return e},getAppointmentsInRange:function(){var n;if(arguments.length===1){n=0}else if(arguments.length===2){n=1}switch(n){case 0:return $$t.$i8._getAppointmentsInRange.apply(this,arguments);case 1:return this._getAppointmentsInRange1.apply(this,arguments);default:throw new Error("Invalid arguments")}},_getAppointmentsInRange1:function(a,b){var c=new $$t.h0(a,b);c.__o=new $$4.x($.ig.$op.$type,2,0);c.appointments(new $$4.x($$t.$z.$type,2,0));var d=this._da(c);if(d==null){return c}if(this._cq(d,c)==false){return c}this._b9(c);var e=$$t.$iz._bd(b);var f=this._bg().n(a,e);c.__o=f;var g=this._cy(f,c);this._br().ab(a,b,g);if(g.count()>1){g.sort2($$t.$y._getComparer())}c.appointments(g);c._f();return c},hasAppointmentsInRange:function(a,b,c){var $self=this;var d=new $$t.h1(a,b,c);d.dates(new $$4.x($$0.$s.$type,2,0));var e=this._da(d);if(e==null){return d}if(this._cq(e,d)==false){return d}this._b9(d);var f=$$t.$iz._bd(b);var g=new $$4.x($$0.$s.$type,0);var h=function(){var i=$self._bg().j(a,f,c,g);g=i.p3;return i.ret}();h=h||this._br().i(a,b,c,g);d.dates(c?new $$4.x($$0.$s.$type,2,0):g);d.hasActivity(h);d._f();return d},_i:function(a,b){var c=new $$t.h3(a,b);c._t(new Array(0),new Array(0));var d=this._da(c);if(d==null){return c}if(this._cq(d,c)==false){return c}this._b9(c);c=this._bg().b(a,b);this._br().n(a,b,c);c._f();return c},beginEdit:function(a,b){var c=this._cv();var d=null;if(function(){var e=c.tryGetValue(a,d);d=e.p1;return e.ret}()){if(d._a!=3){var e=new $$t.hm($$t.$fw.createException("LE_BeginEdit_CreatePending"));if(b!=null){b(e)}}else{return true}}var f=$b($$t.$z.$type,a._i());c.add(a,new $$t.i0($$t.$x.$type,a,3,f));return true},cancelEdit:function(a){return this._bh(a,false,false)},endEdit:function(a,b){return this._bh(a,true,b)},_bh:function(a,b,c){var $self=this;var d=null;var e=null;var f=null;var g=null;if(function(){var h=$self._cv().tryGetValue(a,g);g=h.p1;return h.ret}()){this._cv().remove(a);d=new $$t.hy(a,g._a,null);if(b){try{
var h=this._cg(a,g,e);e=h.p2}catch(i){e=new $$t.hm(i)}if(e!=null){d._k(e)}}else{this._dv(a,g._c,g._a)}}else{f=$$t.$fw.createException("LE_EndEdit_NotInEditMode");e=new $$t.hm(f);d=new $$t.hy(a,3,null)}if(e!=null){d._k(e)}else{d._f()}return d},isAppointmentDataReady:function(){var a=this._bt();return a._isBindingPending()==false},_by:function(){if(this._bw==null){this._bw=this._bx()}return this._bw},_bv:function(a){return this._by()._item(a)},getResources:function(){return this._by()},_cf:function(a,b){if(b==null){return true}var c=$$t.$iz._bd(b);return $$t.$iz._ce(a,c)},_ce:function(a,b){if(b!=null&&b.length>0){for(var d=0;d<b.length;d++){var c=b[d];if($$t.$fw.stringEquals(a.resourceId(),c,true)){return true}}return false}return true},_bd:function(a){if(a==null){return new Array(0)}var b=new $$4.x(String,0);var d=a.getEnumerator();while(d.moveNext()){var c=d.current();var e=c.id();if(String.isNullOrEmpty(e)){continue}b.add(c.id())}return b.toArray()},_bx:function(){var $self=this;if(this._cz==null){return $$t.$ad._create(null)}var a=null;var c=this._cz.getEnumerator();while(c.moveNext()){var b=c.current();var d=this._cs(b,a);a=d.p1;break}if(a!=null){return $$t.$ad._create(null)}var e=$$t.$iz._c2(this._cz);var f=e!=null?e.count():10;var g=new $$4.x($$t.$ac.$type,2,f);var h=new $$4.q(String,0);var i=null;var k=this._cz.getEnumerator();while(k.moveNext()){var j=k.current();var l=$b($$t.$ac.$type,j);var m=l!=null?l:this._bu();if(l==null){if(function(){var n=$self._cc(j,m,h,i);i=n.p3;return n.ret}()==false){continue}}this._d5(m,j);g.add(m)}return $$t.$ad._create(g)},_c:function(a){return this._br().d(a)},internalNotifyPropertyChanging:function(a,b,c,d){var $self=this;if(this._cu!=null){var e=null;if(function(){var f=$self._cv().tryGetValue(a,e);e=f.p1;return f.ret}()){if(String.isNullOrEmpty(b)==false){e.f(b,c,d)}return false}}return true},_br:function(){if(this._bq==null){this._bq=new $$t.it(this)}return this._bq},createAppointmentDataObjectCallback:function(a){if(arguments.length===1){if(this._c3!=a){this._c3=a;this.onPropertyChanged("CreateAppointmentDataObjectCallback")}return a}else{return this._c3}},_cv:function(){if(this._cu==null){this._cu=new $$4.h($$t.$x.$type,$$t.$i0.$type.specialize($$t.$x.$type),0)}return this._cu},handleAppointmentItemsPropertyChanged:function(a){if(arguments.length===1){if(a!=this._b0){this._b0=a;var b=this._c0();if(b!=null){var d=b.getEnumerator();while(d.moveNext()){var c=d.current();var e=$b($$0.$b6.$type,c);this._dj(e,this._b0)}}this.onPropertyChanged("HandleAppointmentItemsPropertyChanged")}return a}else{return this._b0}},_bl:function(){if(this._bk==null){this._bk=new $$t.gd(this)}return this._bk},appointmentItemsSource:function(a){if(arguments.length===1){if(a!=this._c5){if(this._c5!=null){this._bs._destroy();this._bs=null}if(this._bk!=null){this._bk.j();this._bk=null}this._c5=a;this._dg();this.onPropertyChanged("AppointmentItemsSource")}return a}else{return this._c5}},_bt:function(){return this._bs},_c0:function(){this._dg();return this._bs},_dg:function(){if(this._bs==null){this._bs=$$t.$ga._create(this,this.appointmentItemsSource(),this._ds.runOn(this),this._dt.runOn(this));this._bs._initialize()}},_ds:function(){this._a6()},_dt:function(){this._a7()},resourceItemsSource:function(a){if(arguments.length===1){if(a!=this._cz){if(this._cz!=null){this._df(this._cz)}this._cz=a;var b=$b($$4.$ac.$type,this._cz);if(b!=null){this._dl(b,true)}this._b3=false;this.onPropertyChanged("ResourceItemsSource")}return a}else{return this._cz}},_c9:function(){var a=this._c0();if(a==null){return null}var c=a.getEnumerator();while(c.moveNext()){var b=c.current();return b}return null},_be:function(){return[0,4,5]},_bg:function(){if(this._bf==null){this._bf=new $$t.g4(this)}return this._bf},appointmentPropertyMappings:function(){if(arguments.length!==0){var a=this.appointmentPropertyMappings();return a.item.apply(a,arguments)}if(this._bm==null){this._bm=new $$t.i3}return this._bm},resourcePropertyMappings:function(){if(arguments.length!==0){var a=this.resourcePropertyMappings();return a.item.apply(a,arguments)}if(this._bo==null){this._bo=new $$t.i4}return this._bo},_cd:function(){return false},_da:function(a){var b=this._c9();if(b==null){a._f();return null}return b},_cq:function(a,b){var $self=this;var c=null;if(function(){var d=$self._cp(a,c);c=d.p1;return d.ret}()==false){b._n(c);b._f();return false}return true},_b9:function(a){var b=this._bg();var c=null;var d=null;var e=null;var f=this._dm(c,d,e);c=f.p0;d=f.p1;e=f.p2;if(c!=null&&c.count()>0){var h=c.getEnumerator();while(h.moveNext()){var g=h.current();a._n(g)}return false}if(d!=null&&d.count()>0){this._di(d,e,a)}return true},_a4:function(a,b,c,d,e,f){var g=$b($$t.$z.$type,a);if(g!=null){if(f){this._eb(g,13,g._s())}else{this._eb(g,4,d);this._eb(g,5,e)}if(a.isRecurrenceRoot()){this._br().q(g,b,c)}else if(this._bf!=null){this._bf.aa(g,b,c)}}},_a3:function(a,b,c){var d=$b($$t.$z.$type,a);if(d!=null){this._eb(d,8,c);if(d.isRecurrenceRoot()==false&&this._bf!=null){this._bf.z(d,b,c)}}},_dh:function(){if(this._ct==null){var a=$$t.$iz._c2(this._c0());var b=a!=null?a.count():100;this._ct=new $$4.h($.ig.$op.$type,$$t.$z.$type,1,b)}},_cy:function(a,b){var $self=this;var c=new $$4.x($$t.$z.$type,2,a.count());var e=a.getEnumerator();while(e.moveNext()){var d=e.current();var f=$b($$t.$z.$type,d);if(f==null){this._dh();if(function(){var g=$self._ct.tryGetValue(d,f);f=g.p1;return g.ret}()==false){f=this._e(true);var g=null;if(function(){var h=$self._cb(d,f,g);g=h.p2;return h.ret}()==false){b._n(g);continue}this._d4(f,d,true)}}else{this._d4(f,f,true)}if(f!=null){c.add(f)}}return c},_d4:function(a,b,c){var d=$$t.$fw.isSameInstance(a,b);a._g(b,false);if(c&&d==false){this._dd(b,a)}this._a1(a,this);if(d==false&&this.handleAppointmentItemsPropertyChanged()){var e=$b($$0.$b6.$type,b);if(e!=null){this._dj(e,true)}}},_d5:function(a,b){var c=a.equals(b);a._g(b,false);a._ah(this);if(String.isNullOrEmpty(a.id())){a.id($$6.$i.newGuid().toString())}if(c==false){var d=$b($$0.$b6.$type,b);if(d!=null){this._dk(d,true)}}},_ed:function(a,b,c){var d=$$t.$fw.isSameInstance(a,b);a._g(null,false);if(c&&d==false){this._d7(b,a)}this._a1(a,null);if(d==false&&this.handleAppointmentItemsPropertyChanged()){var e=$b($$0.$b6.$type,b);if(e!=null){this._dj(e,false)}}},_ee:function(a,b){var c=a.equals(b);a._g(null,false);a._ah(null);if(c==false){this._bw=this._by()._remove(a)}if(c==false){var d=$b($$0.$b6.$type,b);if(d!=null){this._dj(d,false)}}},_dj:function(a,b){if(a==null){return}a.propertyChanged=$.ig.Delegate.prototype.remove(a.propertyChanged,this._dr.runOn(this));if(b){a.propertyChanged=$.ig.Delegate.prototype.combine(a.propertyChanged,this._dr.runOn(this))}},_dk:function(a,b){if(a==null){return}a.propertyChanged=$.ig.Delegate.prototype.remove(a.propertyChanged,this._d0.runOn(this));if(b){a.propertyChanged=$.ig.Delegate.prototype.combine(a.propertyChanged,this._d0.runOn(this))}},_dl:function(a,b){if(a==null){return}a.collectionChanged=$.ig.Delegate.prototype.remove(a.collectionChanged,this._d2.runOn(this));if(b){a.collectionChanged=$.ig.Delegate.prototype.combine(a.collectionChanged,this._d2.runOn(this))}},_cx:function(a){var b=new $$4.x($$t.$ac.$type,0);if(a==null||this._bw==null){return b}var d=a.getEnumerator();while(d.moveNext()){var c=d.current();var e=this._bw._item(c);if(e==null){continue}b.add(e)}return b},_b6:function(a){var $self=this;var b=null;return function(){var c=$self._ci(a,b);b=c.p1;return c.ret}()},_ci:function(a,b){var $self=this;b=null;if(this._ct==null){return{ret:false,p1:b}}return{ret:function(){var c=$self._ct.tryGetValue(a,b);b=c.p1;return c.ret}(),p1:b}},_du:function(a,b,c){var d=null;switch(a){case 0:var e=this._db(b,d);d=e.p1;this._dn(0,d);break;case 1:var f=this._d6(c,d);d=f.p1;this._dn(1,d);break;case 4:this._dh();var g=$$t.$fw.listFromIEnumerable(this._ct.keys(),this._ct.count());var h=this._d6(g,d);d=h.p1;if(this._bf!=null){this._bf.r()}this._dn(4,d);break;case 2:var i=this._d6(c,d);d=i.p1;this._dn(1,d);var j=this._db(b,d);d=j.p1;this._dn(0,d);break}},_dn:function(a,b){this._a8(a,b,true)},_dp:function(a,b){this._bb(a,b)},_db:function(a,b){var $self=this;b=null;var c=null;var e=a.getEnumerator();while(e.moveNext()){var d=e.current();if(function(){var f=$self._cp(d,c);c=f.p1;return f.ret}()==false){return{p1:b}}break}var f=this._bg().ab(a,0,b);b=f.p2;return{p1:b}},_d6:function(a,b){var $self=this;b=null;var c=false;var d=$$0.$s.maxValue();var e=$$0.$s.minValue();var g=a.getEnumerator();while(g.moveNext()){var f=g.current();if(this._bq!=null){if(this._bq.aa(f)){c=true;continue}}var h=$b($$t.$z.$type,f);if(h!=null||function(){var i=$self._ci(f,h);h=i.p1;return i.ret}()){if(h._am()<d){d=h._am()}if(h._aj()>e){e=h._aj()}this._ed(h,f,true)}}if(c){b=null}else if(+d!=+$$0.$s.maxValue()&&+e!=+$$0.$s.minValue()){b=new $$t.a(d,e)}if(this._bf!=null){this._bf.q(a)}return{p1:b}},_d2:function(a,b){var c=null;this.bumpResourcesVersion();this._bw=null;switch(b.action()){case 0:this._dc(b.newItems());c=this._cx(b.newItems());this._dp(c,0);break;case 1:this._d8(b.oldItems());c=this._cx(b.oldItems());this._dp(c,1);break;case 4:if(this._bw!=null){c=new $$4.x($$t.$ac.$type,1,this._bw);this._d8(this._bw);this._dp(c,1)}break;case 2:var d=this._cx(b.oldItems());this._d8(b.oldItems());this._dc(b.newItems());var e=this._cx(b.newItems());this._dp(d,1);this._dp(e,0);break}},_dc:function(a){var $self=this;var b=null;var d=a.getEnumerator();while(d.moveNext()){var c=d.current();if(function(){var e=$self._cs(c,b);b=e.p1;return e.ret}()==false){return}break}var f=a.getEnumerator();while(f.moveNext()){var e=f.current();this._b4(e)}},_d8:function(a){var c=a.getEnumerator();while(c.moveNext()){var b=c.current();this._ch(b)}},_b4:function(a){var $self=this;var b=$b($$t.$ac.$type,a);var c=b!=null?b:this._bu();if(b==null){var d=null;var e=this._cw();if(function(){var f=$self._cc(a,c,e,d);d=f.p3;return f.ret}()==false){return false}}this._d5(c,a);return true},_ch:function(a){if(this._bw==null){return false}var b=this._bv(a);this._ee(b,a);return true},_cw:function(){if(this._bw==null){return null}var a=new $$4.q(String,0);var c=this._bw.getEnumerator();while(c.moveNext()){var b=c.current();a.add(b.id())}return a},onAppointmentPropertyChanged:function(a,b,c,d,e){e=e!==void 0?e:true;if(b==6){var f=$b(String,c);var g=$b(String,d);this._br().w(a,f,g)}if(b!=4&&b!=5&&b!=6){this._eb(a,b,d)}$$t.$i8.onAppointmentPropertyChanged.call(this,a,b,c,d,e)},_eb:function(a,b,c){var d=a!=null?a.dataObject():null;if(d==null){return}var e=$b($$t.$z.$type,d);if(e==null){if(this.handleAppointmentItemsPropertyChanged()){this._dj($b($$0.$b6.$type,d),false)}try{var f=null;var g=this._cm(d,b,c,f);f=g.p3}finally{if(this.handleAppointmentItemsPropertyChanged()){this._dj($b($$0.$b6.$type,d),true)}}}},_ec:function(a,b,c){var d=a!=null?a.dataObject():null;if(d==null){return}var e=$b($$t.$ac.$type,d);if(e==null){this._ea();try{var f=null;var g=this._co(d,b,c,f);f=g.p3}finally{this._d9()}}},_dr:function(a,b){var c=this.appointmentPropertyMappings()._ag(b.propertyName());if(c==null){return}this._dq(a,c._i(),true)},_dq:function(a,b,c){var $self=this;var d=null;if(this._ct!=null&&function(){var e=$self._ct.tryGetValue(a,d);d=e.p1;return e.ret}()==false){return}if(d==null){d=$b($$t.$z.$type,this._br().c(a))}if(d==null){return}if(this._b1){return}this._b1=true;try{var e=null;var f=null;if(function(){var g=$self._cj(a,b,e,f);e=g.p2;f=g.p3;return g.ret}()){var g=null;var h=d._b4(b,e,g);g=h.p2}}finally{this._b1=false}},_d0:function(a,b){if(this._b2){return}var c=this.resourcePropertyMappings()._ag(b.propertyName());if(c==null){return}this._dz(a,c._i(),true)},_dz:function(a,b,c){var $self=this;if(b==0){this.bumpResourcesVersion()}var d=this._bv(a);if(d==null){return}var e=null;var f=null;if(function(){var g=$self._cl(a,b,e,f);e=g.p2;f=g.p3;return g.ret}()){var g=null;var h=d._s(b,e,g);g=h.p2}},_dw:function(a){if(this._bz&&this._bm!=null&&this._bm._ai(a)){this._bz=false}this.onPropertyChanged("AppointmentPropertyMap")},_dx:function(a){if(this._b3&&this._bo!=null&&this._bo._ai(a)){this._b3=false}this.onPropertyChanged("ResourcePropertyMap")},_cg:function(a,b,c){var $self=this;c=null;var d=b._c;var e=b._a;var f=$b($$t.$z.$type,a);var g=this._cd();if(f==null){return{ret:true,p2:c}}switch(e){case 1:var h=null;var i=null;this._dh();if(g){h=f}else{h=function(){var j=$self._c7(f,i);i=j.p1;return j.ret}();if(i!=null){c=new $$t.hm(i);return{ret:false,p2:c}}var j=null;if(function(){var k=$self._ct.tryGetValue(h,j);j=k.p1;return k.ret}()){i=$$t.$fw.createException("LE_EndEdit_DataObjectAlreadyAssociated");c=new $$t.hm(i);return{ret:false,p2:c}}if(function(){var k=$self._ca(f,h,c);c=k.p2;return k.ret}()==false){return{ret:false,p2:c}}}var k=String.isNullOrEmpty(f.recurrence());this._d4(f,h,k);if(function(){var l=$self._b5(f.id(),h,c);c=l.p2;return l.ret}()==false){this._ed(f,h,true);return{ret:false,p2:c}}if(k){this._bg().x(f)}else{this._br().g(f,true);this._br().l(f)}var l=new $$t.a(f._am(),f._aj());var m=new $$4.x($$t.$z.$type,1,[f]);this._a8(0,l,false);break;case 3:var n=b.e();var p=n.getEnumerator();while(p.moveNext()){var o=p.current();f._bs(o._c,o._b)}var r=n.getEnumerator();while(r.moveNext()){var q=r.current();var s=$$t.$fw.parseAppointmentProperty(q._c);var t=f._b4(s,q._a,i);i=t.p2;if(i!=null){throw i}}break}return{ret:true,p2:c}},createVariance:function(a){var $self=this;var b=null;var c=null;var d=new $$t.hy(a,3,null);var e=function(){var f=$self._c7(a,b);b=f.p1;return f.ret}();if(b!=null){c=new $$t.hm(b);d._k(c);return d}if(function(){var f=$self._ca(a,e,c);c=f.p2;return f.ret}()==false){d._k(c);return d}try{a._g(e,false);this._bl().a(a.id(),e);this._br().r(a.recurrenceId(),a);d._f()}catch(f){c=new $$t.hm(f);d._k(c)}return d},_b5:function(a,b,c){c=this._bl().a(a,b);return{ret:c==null,p2:c}},_dd:function(a,b){this._dh();this._ct.add(a,b)},_d7:function(a,b){var $self=this;if(this._ct==null){return}var c=null;if(function(){var d=$self._ct.tryGetValue(a,c);c=d.p1;return d.ret}()==false){return}if($.ig.$op.referenceEquals(b,c)==false){return}this._ct.remove(a)},_c7:function(a,b){var c=this._c0();b=null;var d=this._bl();if(d.d()==false){b=$$t.$fw.createException("LE_CreateDataObjectFailed");return{ret:null,p1:b}}try{return{ret:function(){var e=d.h(a,b);b=e.p1;return e.ret}(),p1:b}}catch(e){b=e}return{ret:null,p1:b}},_c8:function(a,b){throw new $$6.q(0)},_dv:function(a,b,c){var d=$b($$t.$z.$type,a);if(d==null){return}switch(c){case 1:break;case 3:a._bi(b);break}},raisePropertyChanged:function(a,b){var c=this.appointmentPropertyMappings()._item1(b);var d=c!=null?c.dataObjectPropertyName():null;if(String.isNullOrEmpty(d)){throw $$t.$fw.createException1("LE_NoPropertyMapping_Appointment",[$$t.$h8.getBox(b)])}if(this._ct==null||this._ct.containsKey(a)==false){var e=$$t.$fw.createException("LE_DataObjectNotAssociated");throw e}this._dq(a,b,false)},_bi:function(){var a=null;var b=this._c0();if(b!=null&&this._bl().d()){return null}var c=b==null?"LE_NoAppointmentItemsSource":this._bl().i();if(String.isNullOrEmpty(c)){return null}var d=$$t.$fw.createException(c);a=new $$t.hm(d);return a},_bj:function(){var a=null;var b=this._c0();if(b!=null&&this._bl().e()){return null}var c=b==null?"LE_NoAppointmentItemsSource":"LE_AppointmentItemsSource_CannotEdit";if(String.isNullOrEmpty(c)){return null}var d=$$t.$fw.createException(c);a=new $$t.hm(d);return a},_dm:function(a,b,c){var d=this._bg();a=null;b=null;var e=d.u(a,b,c);a=e.p0;b=e.p1;c=e.p2;return{p0:a,p1:b,p2:c}},_cp:function(a,b){var $self=this;b=null;var c=$b($$t.$z.$type,a);if(c!=null){return{ret:true,p1:b}}if(this._bz){return{ret:true,p1:b}}var d=function(e){return e};try{var e=function(){var f=$self._cr($$t.$h8.$type,$self.appointmentPropertyMappings(),d,a,b);b=f.p3;return f.ret}();return{ret:e,p1:b}}finally{this._bz=true}},_cs:function(a,b){var $self=this;b=null;var c=$b($$t.$ac.$type,a);if(c!=null){return{ret:true,p1:b}}if(this._b3){return{ret:true,p1:b}}var d=function(e){return e};try{return{ret:function(){var e=$self._cr($$t.$h9.$type,$self.resourcePropertyMappings(),d,a,b);b=e.p3;return e.ret}(),p1:b}}finally{this._b3=true}},_cr:function($t,a,b,c,d){d=null;if(c==null){return{ret:false,p3:d}}var e=null;var f=new $$4.x($t,0);var g=$.ig.$ep.getNames($t);var h=$.ig.$ep.getValues($t);for(var i=0;i<g.length;i++){var j=g[i];var k=$$t.$fw.getArrayValue(h,i);var l=$h(k);var m=$b(String,g[i]);var n=b(l);var o=a._item1(n);var p=o!=null?o.dataObjectPropertyName():m;if(o!=null&&o._b()){p=null}var q=$$t.$ht.a(c,p);if(q==null){if(o!=null){var r=this._as("LE_SchedulePropertyMap_NoPropertyFound",[p]);e=new $$0.n(1,r);d=new $$t.ho($t,n,p,e);this._bc(0,d,true);return{ret:false,p3:d}}else{if(a._ai(n)){f.add(n)}continue}}if(o==null){a._am(n);o=a._item1(n)}if(o==null){if(a._ai(n)){f.add(n)}continue}o.__a=q}for(var s=0;s<h.length;s++){var t=$$t.$fw.getArrayValue(h,s);var u=g[s];var v=$h(t);var w=b(v);if(a._aj(w)==false){continue}var x=a._item1(w);if(x==null){a._am(w);x=a._item1(w);x.__a=new $$t.hu(u)}}if(f.count()>0){var y=new $$6.aj(0);y.u(this._ar("LE_SchedulePropertyMap_Missing"));y.t();var z=f.count()-1;for(var aa=0;aa<=z;aa++){y.l($n($t,f.__inner[aa]));if(aa<z){y.l($$t.$fw.listSeparator())}}e=new $$0.n(1,y.toString());d=new $$t.hn($t,f,e);this._bc(0,d,true);return{ret:false,p3:d}}return{ret:true,p3:d}},_cj:function(a,b,c,d){var $self=this;d=null;var e=$b($$t.$z.$type,a);if(e!=null){c=e._b6(b);return{ret:true,p2:c,p3:d}}var f=function(g,h){return true};var g=function(h,i){return i};return{ret:function(){var h=$self._ck($$t.$h8.$type,$self.appointmentPropertyMappings(),f,g,a,b,c,d);c=h.p5;d=h.p6;return h.ret}(),p2:c,p3:d}},_cl:function(a,b,c,d){var $self=this;d=null;var e=$b($$t.$ac.$type,a);if(e!=null){c=e._x(b);return{ret:true,p2:c,p3:d}}var f=function(g,h){return $$t.$i8._ad(g,h)};var g=function(h,i){return $$t.$i8._ao(h,i,true)};return{ret:function(){var h=$self._ck($$t.$h9.$type,$self.resourcePropertyMappings(),f,g,a,b,c,d);c=h.p5;d=h.p6;return h.ret}(),p2:c,p3:d}},_ck:function($t,a,b,c,d,e,f,g){f=null;g=null;if(d==null){g=new $$t.hq($t,d,e,6,null,new $$6.e(0,"dataObject"));return{ret:false,p5:f,p6:g}}var h=a._item1(e);var i=h!=null&&h._b()==false?h.__a:null;if(i==null){return{ret:false,p5:f,p6:g}}try{f=i.b(d)}catch(j){g=new $$t.hq($t,d,e,6,null,j);return{ret:false,p5:f,p6:g}}try{if(h!=null&&h.convertCallback()!=null){f=h.convertCallback()(f);if(b(e,f)==false){f=c(e,f)}}else{f=c(e,f)}}catch(k){g=new $$t.hq($t,d,e,8,f,k);return{ret:false,p5:f,p6:g}}return{ret:true,p5:f,p6:g}},_cm:function(a,b,c,d){var $self=this;d=null;var e=$b($$t.$z.$type,a);if(e!=null){var f=null;var g=e._b4(b,c,f);f=g.p2;if(f!=null){throw f}return{ret:true,p3:d}}return{ret:function(){var h=$self._cn($$t.$h8.$type,$self.appointmentPropertyMappings(),null,a,b,c,d);d=h.p5;return h.ret}(),p3:d}},_co:function(a,b,c,d){var $self=this;d=null;var e=$b($$t.$ac.$type,a);if(e!=null){var f=null;var g=e._s(b,c,f);f=g.p2;if(f!=null){throw f}return{ret:true,p3:d}}var h=function(i,j,k){k=String;switch(b){case 2:var l=null;var m=$t($$t.$ia.$type,j);j=function(){var n=$$t.$fw.convertColorScheme(m,$self,k,l);l=n.p3;return n.ret}();if(l!=null){throw l}break;case 3:var n=$b($$t.$d.$type,j);if(k.isAssignableFrom(String)){var o=new $$6.aj(0);n._z(o);j=o.toString()}break}return j};return{ret:function(){var i=$self._cn($$t.$h9.$type,$self.resourcePropertyMappings(),h,a,b,c,d);d=i.p5;return i.ret}(),p3:d}},_cn:function($t,a,b,c,d,e,f){f=null;if(c==null){f=new $$t.hq($t,c,d,7,null,new $$6.e(0,"dataObject"));return{ret:false,p5:f}}var g=a._item1(d);var h=g!=null&&g._b()==false?g.__a:null;if(h==null){return{ret:false,p5:f}}try{if(g!=null&&g.convertBackCallback()!=null){e=g.convertBackCallback()(e)}else if(b!=null){e=b(d,e,h.c())}}catch(i){f=new $$t.hq($t,c,d,9,e,i);return{ret:false,p5:f}}try{h.d(c,e)}catch(j){f=new $$t.hq($t,c,d,7,e,j);return{ret:false,p5:f}}return{ret:true,p5:f}},_dy:function(a){var $self=this;var b=null;var c=null;var d=$$t.$iz._c2(this._cz);if(d!=null&&d!=this._cz){c=function(){var e=$self._c8(a,b);b=e.p1;return e.ret}();if(c==null&&b!=null){var e=new $$t.hm(b);this._bc(1,e,false);return}}this._d5(a,c);return},_d1:function(a){throw new $$6.q(0)},_cb:function(a,b,c){var $self=this;c=null;b._g(a,false);if(a==b){return{ret:true,p2:c}}var d=$.ig.$ep.getValues($$t.$h8.$type);var e=this.appointmentPropertyMappings();var g=d.getEnumerator();while(g.moveNext()){var f=g.current();var h=$g(f);var i=e._item1(h);if(i==null||i._b()){continue}if($$t.$hu.e(a,i.dataObjectPropertyName())==false){continue}var j=null;var k=null;if(function(){var l=$self._cj(a,h,k,j);k=l.p2;j=l.p3;return l.ret}()==false){if(j!=null){c=j;this._bc(5,j,false);return{ret:false,p2:c}}continue}switch(h){case 4:case 5:case 11:b._cc(h,k);break;case 0:case 8:case 10:case 1:case 2:case 3:case 6:b._cd(h,k);break;case 12:b._bk($$t.$h8.$getName(h),$m($$0.$aq.$type,k));break;case 13:b._bk($$t.$h8.$getName(h),$t($$0.$aq.$type,k));break;default:break}}return{ret:true,p2:c}},_cc:function(a,b,c,d){var $self=this;d=null;b._g(a,false);if(a==b){return{ret:true,p3:d}}var e=$.ig.$ep.getValues($$t.$h9.$type);var f=this.resourcePropertyMappings();var g=null;var i=e.getEnumerator();while(i.moveNext()){var h=i.current();var j=$g(h);var k=null;var l=null;if(function(){var m=$self._cl(a,j,l,k);l=m.p2;k=m.p3;return m.ret}()==false){if(k!=null){d=k;this._bc(5,k,false);return{ret:false,p3:d}}}if(j==0){var m=$b(String,l);if(String.isNullOrEmpty(m)||c.add(m)==false){var n=String.isNullOrEmpty(m)?"LE_MissingIdentifier":"LE_DuplicateIdentifier";var o=String.isNullOrEmpty(m)?null:[m];g=$$t.$fw.createException1(n,o);k=new $$t.hq($$t.$h9.$type,a,0,5,m,g);this._bc(5,k,false);return{ret:false,p3:d}}}switch(j){case 0:case 1:b._ai(j,l);break;case 2:g=null;if(function(){var p=b._n(l,g);g=p.p1;return p.ret}()==false){k=new $$t.hq($$t.$h9.$type,a,2,5,l,g);this._bc(5,k,false);return{ret:false,p3:d}}break;case 3:g=null;if(function(){var p=b._o(l,g);g=p.p1;return p.ret}()==false){k=new $$t.hq($$t.$h9.$type,a,3,5,l,g);this._bc(5,k,false);return{ret:false,p3:d}}break;default:break}}return{ret:true,p3:d}},_ca:function(a,b,c){var $self=this;c=null;var d=null;if(function(){var e=$self._cp(b,d);d=e.p1;return e.ret}()==false){c=d;return{ret:false,p2:c}}if(b==a){return{ret:true,p2:c}}var e=$.ig.$ep.getValues($$t.$h8.$type);var f=this.appointmentPropertyMappings();var h=e.getEnumerator();while(h.moveNext()){var g=h.current();var i=$g(g);var j=f._item1(i);if(j==null){continue}var k=a._b6(i);var l=null;if(function(){var m=$self._cm(b,i,k,l);l=m.p3;return m.ret}()==false){c=l;return{ret:false,p2:c}}}return{ret:true,p2:c}},_c2:function(a){var b=$b($$0.$bm.$type,a);return b==null||b.isFixedSize()?null:b},_de:function(a){var b=this._c0();var d=b.getEnumerator();while(d.moveNext()){var c=d.current();var e=$b($$0.$b6.$type,c);this._dj(e,false)}if(this._bk!=null){this._bk.j();this._bk=null}},_df:function(a){var b=$b($$4.$ac.$type,a);if(b!=null){this._dl(b,false)}var d=this._cz.getEnumerator();while(d.moveNext()){var c=d.current();var e=$b($$0.$b6.$type,c);this._dk(e,false)}},_bu:function(){return new $$t.ac},_ea:function(){this._b2=true},_d9:function(){this._b2=false},_a2:function(a,b,c){var d=a._x(b);this._ec(a,b,d);this.onResourcePropertyChanged(a,b,c)},_di:function(a,b,c){var $self=this;var d=new $$4.x($$t.$x.$type,2,a.count());var e=null;var g=a.getEnumerator();while(g.moveNext()){var f=g.current();e=$b($$t.$z.$type,f);var h=e!=null?e:this._e(true);var i=null;if(function(){var j=$self._cb(f,h,i);i=j.p2;return j.ret}()==false){if(c!=null){c._n(i)}this._bc(5,i,false);continue}this._d4(h,f,false);d.add(h)}var j=new $$4.h(String,$$4.$x.$type.specialize($$t.$x.$type),0);if(b!=null){var l=b.getEnumerator();while(l.moveNext()){var k=l.current();var m=new $$4.x($$t.$x.$type,0);var o=k.value().getEnumerator();while(o.moveNext()){var n=o.current();e=$b($$t.$z.$type,n);var p=e!=null?e:this._e(true);var q=null;if(function(){var r=$self._cb(n,p,q);q=r.p2;return r.ret}()==false){if(c!=null){c._n(q)}this._bc(5,q,false);continue}this._d4(p,n,false);m.add(p)}j.add(k.key(),m)}}this._br().o(d,j)},_b:function(a,b){if(a==null){throw new $$6.e(0,"recurrenceRoot")}if(String.isNullOrEmpty(a.recurrence())){throw new $$6.d(0)}var c=this._br().g(a,true);if(c==null){return null}var d=null;d=c.b(b);if(d!=null){return d}d=this._e(true);$$t.$is.p(this,a,d,b);return d},destroy:function(){if(this.appointmentItemsSource()!=null){this._a8(4,null,false)}if(this._cu!=null){var b=this._cu.values().getEnumerator();while(b.moveNext()){var a=b.current();var c=$b($$t.$z.$type,a._b);if(c!=null){this.endEdit(c,true)}}this._cu=null}if(this._bm!=null){this._bm._an();this._bm=null}if(this._bo!=null){this._bo._an();this._bo=null}if(this._bf!=null){this._bf.s();this._bf=null}if(this._c5!=null){var d=this._c0();this._de(d);this._c5=null}if(this._cz!=null){this._df(this._cz);this._cz=null}if(this._bw!=null){var f=this._bw.getEnumerator();while(f.moveNext()){var e=f.current();e._ah(null);e.destroy()}this._bw=null}if(this._ct!=null){var h=this._ct.values().getEnumerator();while(h.moveNext()){var g=h.current();this._a1(g,null)}this._ct=null}this._c3=null;if(this._bk!=null){this._bk.j();this._bk=null}if(this._bs!=null){this._bs._destroy();this._bs=null}},$type:new $.ig.Type("scheduler.ScheduleListDataSource",$$t.$i8.$type)},true);$c("PendingOperation$1:i0","Object",{$t:null,d:null,init:function($t,a,b,c){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}this.d=null;$.ig.$op.init.call(this);this._b=a;this._a=b;this._c=c},_b:null,_c:null,_a:0,f:function(a,b,c){var $self=this;if(this.d==null){this.d=new $$4.h(String,$$t.$i1.$type,0)}var d=null;if(function(){var e=$self.d.tryGetValue(a,d);d=e.p1;return e.ret}()){b=d._b;this.d.remove(a)}d=new $$t.i1(a,b,c);this.d.add(a,d)},e:function(){if(this.d==null){return new Array(0)}return this.d.values()},$type:new $.ig.Type("PendingOperation$1",$.ig.$ot)},true);$c("PropertyChange:i1","Object",{init:function(a,b,c){$.ig.$op.init.call(this);this._c=a;this._b=b;this._a=c},_c:null,_b:null,_a:null,$type:new $.ig.Type("PropertyChange",$.ig.$ot)},true);$c("scheduler.SchedulePropertyMapping:i5","Object",{init:function(){$.ig.$op.init.call(this)},_h:0,_j:null,_e:null,_d:null,__a:null,_i:function(a){if(arguments.length===1){this.verifyProperty(a);this._h=a;this.onPropertyChanged("Property");return a}else{return this._h}},_o:function(){throw new $$0.r(0)},dataObjectPropertyName:function(a){if(arguments.length===1){this._j=a;this.onPropertyChanged("DataObjectPropertyName");return a}else{return this._j}},convertCallback:function(a){if(arguments.length===1){this._e=a;this.onPropertyChanged("ConvertCallback");return a}else{return this._e}},convertBackCallback:function(a){if(arguments.length===1){this._d=a;this.onPropertyChanged("ConvertBackCallback");return a}else{return this._d}},_b:function(){return String.isNullOrEmpty(this.dataObjectPropertyName())},onPropertyChanged:function(a){if(this._propertyChanged!=null){this._propertyChanged(this,new $$0.b7(a))}},_propertyChanged:null,toString:function(){var a=this.dataObjectPropertyName();return String.isNullOrEmpty(a)?$6("{0} (not mapped)",this._o()):$6("{0} -> '{1}'",this._o(),this.dataObjectPropertyName())},verifyProperty:function(a){},$type:new $.ig.Type("scheduler.SchedulePropertyMapping",$.ig.$ot)},true);$c("scheduler.SchedulePropertyMappingsCollection$1:i2","ObservableCollection$1",{$t:null,_ae:null,init:function($t){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$$4.$f.init.call(this,$$t.$i5.$type,0);this._ae=this.createDefaultMappingsArray()},_item1:function(a){var b=this.toInt(a);var d=this.getEnumerator();while(d.moveNext()){var c=d.current();var e=c._i();if(e==b){return c}}return this._ae[b]},_ag:function(a){var c=this.getEnumerator();while(c.moveNext()){var b=c.current();if($$t.$fw.stringEquals(b.dataObjectPropertyName(),a,true)){return b}}var f=this._ae;for(var e=0;e<f.length;e++){var d=f[e];if(d!=null&&$$t.$fw.stringEquals(d.dataObjectPropertyName(),a,true)){return d}}return null},_am:function(a){},addDefaultMapping:function(a){var b=a._i();this._ae[b]=a},createDefaultMappingsArray:function(){},_ai:function(a){},_aj:function(a){},toInt:function(a){},_an:function(){this.clear();this._ae=null},$type:new $.ig.Type("scheduler.SchedulePropertyMappingsCollection$1",$$4.$f.$type.specialize($$t.$i5.$type))},true);$c("scheduler.AppointmentPropertyMappingsCollection:i3","scheduler.SchedulePropertyMappingsCollection$1",{init:function(){$$t.$i2.init.call(this,$$t.$h8.$type)},_add2:function(a,b){var c=function(){var $ret=new $$t.i6;$ret.property(a);$ret.dataObjectPropertyName(b);return $ret}();this.add(c);return c},toInt:function(a){return a},_am:function(a){var b=function(){var $ret=new $$t.i6;$ret.property(a);$ret.dataObjectPropertyName($$t.$h8.$getName(a));return $ret}();$$t.$i2.addDefaultMapping.call(this,b)},createDefaultMappingsArray:function(){var a=$.ig.$ep.getValues($$t.$h8.$type);return new Array(a.length)},_ai:function(a){return a==0||a==4||a==5},_aj:function(a){return $$t.$i3._ap(a)},_ap:function(a){switch(a){case 7:case 9:return false;default:return true}},$type:new $.ig.Type("scheduler.AppointmentPropertyMappingsCollection",$$t.$i2.$type.specialize($$t.$h8.$type))},true);$c("scheduler.ResourcePropertyMappingsCollection:i4","scheduler.SchedulePropertyMappingsCollection$1",{init:function(){$$t.$i2.init.call(this,$$t.$h9.$type)},_add2:function(a,b){var c=function(){var $ret=new $$t.i7;$ret.property(a);$ret.dataObjectPropertyName(b);return $ret}();this.add(c);return c},toInt:function(a){return a},_am:function(a){var b=function(){var $ret=new $$t.i7;$ret.property(a);$ret.dataObjectPropertyName($$t.$h9.$getName(a));return $ret}();$$t.$i2.addDefaultMapping.call(this,b)},createDefaultMappingsArray:function(){var a=$.ig.$ep.getValues($$t.$h9.$type);return new Array(a.length)},_ai:function(a){return a==0||a==1},_aj:function(a){return $$t.$i4._ap(a)},_ap:function(a){return true},$type:new $.ig.Type("scheduler.ResourcePropertyMappingsCollection",$$t.$i2.$type.specialize($$t.$h9.$type))},true);$c("scheduler.AppointmentPropertyMapping:i6","scheduler.SchedulePropertyMapping",{init:function(){$$t.$i5.init.call(this)},property:function(a){if(arguments.length===1){this._i(a);return a}else{return this._i()}},_o:function(){return $$t.$h8.$getName(this.property())},verifyProperty:function(a){var b=null;var c=a;switch(c){case 7:b=$$t.$ag.c("LE_AppointmentPropertyMapping_RecurrenceRoot",null);break;case 9:b=$$t.$ag.c("LE_AppointmentPropertyMapping_Resource",null);break;default:break}if(String.isNullOrEmpty(b)==false){throw new $$0.n(1,b)}},$type:new $.ig.Type("scheduler.AppointmentPropertyMapping",$$t.$i5.$type)},true);$c("scheduler.ResourcePropertyMapping:i7","scheduler.SchedulePropertyMapping",{init:function(){$$t.$i5.init.call(this)},property:function(a){if(arguments.length===1){this._i(a);return a}else{return this._i()}},_o:function(){return $$t.$h9.$getName(this.property())},$type:new $.ig.Type("scheduler.ResourcePropertyMapping",$$t.$i5.$type)},true);$c("DateRecurrenceCache:ic","Object",{f:null,ae:0,p:new Date,o:new Date,b:null,a:null,ad:0,j:null,k:false,l:false,e:null,g:0,ac:0,c:null,ao:null,m:false,init:function(a){this.ao=new $$0.bb;$.ig.$op.init.call(this);if(a==null){throw new $$6.e(0,"info")}this.f=a.b();this.ao=a.k();this.m=a.e();this.o=$$t.$ip.c(a.g());this.p=function(b){return!$k(b)?b.value():$$0.$s.maxValue()}(this.f._until$i());this.ae=this.f.count();this.j=new $$t.ik;this.j.aq=this.f.weekStart();this.b=this.f._i()?this.f.rules()._ae():new Array(0);$$t.$ic.as(this.b,this);this.aq();this.ad=this.ak();this.ar()},as:function(a,b){var c=new $$4.x($$t.$i.$type,1,a);var d=function(e,f){if(e==null||f==null){return 0}return $x(e._g(b),f._g(b))};c.sort2(d)},d:function(a,b){var c=this.q(a,b.h());var d=this.q(a,b.f());return new $$t.a(c,d)},aq:function(){var a=this.b;var b=new $$4.x($$0.$aw.$type,0);var c=null;for(var d=0;d<a.length;d++){
var e=a[d];var f=e.getType();if($b($$t.$j.$type,e)!==null){this.k=true}if(c!=f){b.add(d);c=f}}this.ac=0;if(0==a.length){this.ac=1}var g=this.f.frequency();if(1==g){this.k=true}else if(0==g){this.l=true}this.g=this.f.frequency();if(this.b.length>0){var h=this.b[this.b.length-1]._a();if(h>this.g){this.g=h}}this.a=b.toArray()},ar:function(){var a=this.f._i()?this.f.rules():null;this.c=a!=null?a._af():null},n:function(a,b){return new $$t.ig(this,a,b)},z:function(a){var b=367;var c=a.end();try{c=$.ig.Date.prototype.addDays(a.start(),b)}catch(d){c=$$0.$s.maxValue()}a=new $$t.a(a.start(),c);var e=this.n(a,1);var g=e.getEnumerator();while(g.moveNext()){var f=g.current();return f}return $$0.$s.minValue()},ak:function(){var a=this.b;for(var b=0;b<a.length;b++){if(a[b]._a()>this.f.frequency()){return b}}return a.length},ap:function(){var a=this.a;var b=this.b;for(var c=0;c<a.length;c++){var d=c>1?a[c-1]:0;var e=a[c];var f=1+e-d;var g=0;for(var h=d;h<=e;h++){var i=b[h];var j=$b($$t.$m.$type,i);if(null!=j&&j.dayOfMonth()<0){g++}var k=$b($$t.$n.$type,i);if(null!=k&&k.relativePosition()<0){g++}var l=$b($$t.$l.$type,i);if(null!=l&&l.dayOfYear()<0){g++}var m=$b($$t.$k.$type,i);if(null!=m&&m.weekNumber()<0){g++}}}},v:function(a,b,c){try{switch(b){default:case 0:return this.x(a,c);case 1:return this.t(a,c);case 2:return this.w(a,c);case 3:return this.q(a,c);case 4:return this.r(a,c);case 5:return this.s(a,c);case 6:return this.u(a,c)}}catch(d){return $$0.$s.maxValue()}},x:function(a,b){return this.j.o(a,b)},t:function(a,b){return this.j.i(a,b)},q:function(a,b){return this.j.c(a,b)},w:function(a,b){return this.j.m(a,b)},r:function(a,b){return this.j.e(a,b)},s:function(a,b){return this.j.g(a,b)},u:function(a,b){return this.j.k(a,b)},ah:function(a){return this.j.ac(a)},af:function(a){return this.j.z(a)},al:function(a){return this.j.ah(a)},am:function(a,b){var c=this.y(a,b);return this.an(c)==a?this.al(c):-1},h:function(a,b){var c=this.ai(a,b);var d=this.ah($.ig.Date.prototype.fromValues(a,b,1,0,0,0,0));return new $$t.ie(1,d,d+c-1)},aa:function(a){var $self=this;var b=$.ig.Date.prototype.fromValues(a,12,31,0,0,0,0);var c;var d=function(){var e=$self.j.at(b,c);c=e.p1;return e.ret}();if(a!=c){b=this.q(b,-7);d=function(){var e=$self.j.at(b,c);c=e.p1;return e.ret}()}var e=this.j.ap(a);e=this.w(e,d-1);return e},i:function(a,b){var c=this.j.ap(a);var d;if(b>0){d=this.w(c,b-1)}else if(b<0){d=this.aa(a);this.w(d,b+1)}else{return $$t.$ie.a()}var e=this.ah(d);return new $$t.ie(1,e,e+6)},ag:function(a){return this.j.as(a)},ab:function(a){return this.j.w(a)},y:function(a,b){var c=$.ig.Date.prototype.fromValues(a,1,1,0,0,0,0);return this.q(c,b-1)},aj:function(a){return this.j.af($.ig.Date.prototype.fromValues(a,1,1,0,0,0,0))},ai:function(a,b){return this.j.ad($.ig.Date.prototype.fromValues(a,b,1,0,0,0,0))},an:function(a){return this.j.al(a)},$type:new $.ig.Type("DateRecurrenceCache",$.ig.$ot)},true);$c("DateRecurrenceParser:id","Object",{b:null,d:null,i:false,q:null,e:null,ag:null,init:function(a){this.ag=new $$6.aj(0);$.ig.$op.init.call(this);this.e=a;this.b=[$$t.$j.$type,"BYMONTH",function(b){return b.month()},function(b){return new $$t.j(b)},$$t.$k.$type,"BYWEEKNO",function(b){return b.weekNumber()},function(b){return new $$t.k(b)},$$t.$l.$type,"BYYEARDAY",function(b){return b.dayOfYear()},function(b){return new $$t.l(b)},$$t.$m.$type,"BYMONTHDAY",function(b){return b.dayOfMonth()},function(b){return new $$t.m(b)},$$t.$n.$type,"BYDAY",function(b){var c=b;return(0!=c.relativePosition()?$$t.$id.ad(c.relativePosition()):String.empty())+$$t.$id.t(c.day())},this.h.runOn(this),$$t.$o.$type,"BYHOUR",function(b){return b._k()},function(b){return new $$t.o(1,b)},$$t.$p.$type,"BYMINUTE",function(b){return b.minute()},function(b){return new $$t.p(b)},$$t.$q.$type,"BYSECOND",function(b){return b.second()},function(b){return new $$t.q(b)},$$t.$r.$type,"BYSETPOS",function(b){return b.occurrenceInstance()},function(b){return new $$t.r(b)}]},ai:function(a,b,c){if(c){this.ag.h(";")}this.ag.l(a).h("=").l(b)},t:function(a){return $$t.$id.c[a]},u:function(a){var b=a.getType();var c=this.b;for(var d=0;d<c.length;d+=4){if(b==c[d]){return c[1+d]}}return null},v:function(a){var b=a.getType();var c=this.b;for(var d=0;d<c.length;d+=4){if(b==c[d]){var e=c[2+d];var f=$b($$0.$z.$type.specialize($$t.$i.$type,$$0.$aw.$type),e);if(null!=f){var g=f(a);return $$t.$id.ad(g)}else{var h=e;return h(a)}}}this.aj("Unknown type of rule",a.getType().typeName());return null},aj:function(a,b){var c;if(this.i){c="LE_RecurrenceParsing"}else{c="LE_RecurrenceSerializing"}var d=$$t.$fw.createException1(c,[b]);this.d=new $$t.hr(d,b)},n:function(a){var b=$.ig.util.arrayIndexOf1(String,$$t.$id.c,a);if(b>=0){return b}this.aj("Invalid day of week.",a);return 0},h:function(a){if(a.length>=2){var b=a.substr(a.length-2,2);var c=a.substr(0,a.length-2);var d=0;var e=false;if(c.length>0){if(!function(){var f=$z(c,d);d=f.p1;return f.ret}()){e=true}}if(!e){return new $$t.n(this.n(b),d)}}throw new $$6.f(1,$$t.$ag.d("LE_BadDayOfWeekRule",null,[a]))},g:function(a){var b=$$t.$id.a;a=a.toUpperCase();for(var c=0;c<b.length;c+=2){if(a==b[1+c]){return $g(b[c])}}this.aj("Invalid frequency.",a);return 0},ak:function(a){var b=this.e;var c=a.split(";");for(var d=0;d<c.length;d++){var e=c[d];var f=e.split("=");if(2==f.length){var g=f[0].toUpperCase();var h=f[1];switch(g){case"FREQ":b.frequency(this.g(h));break;case"INTERVAL":b.interval(this.p(h));break;case"COUNT":b.count(this.p(h));break;case"UNTIL":b._until$i($m($$0.$s.$type,this.m(h)));break;case"WKST":b.weekStart(this.n(h));break;default:this.al(g,h,b.rules());break}}else{this.aj("Invalid recurrence rule",e)}}},m:function(a){var b;var c=a.length>8?"yyyyMMdd\\THHmmss":"yyyyMMdd";var d=a.length-1;if("Z"==a.charAt(d)){a=a.substr(0,d)}if(function(){var e=$$t.$fx.g(a,"yyyyMMdd\\THHmmss",$$t.$ip.d(),b);b=e.p3;return e.ret}()==false){this.aj("Invalid date value",a)}return b},al:function(a,b,c){var d=this.b;for(var e=0;e<d.length;e+=4){if(a==d[1+e]){var f=b.split(",");if(null!=f){for(var g=0;g<f.length;g++){var h=f[g];var i;var j=d[3+e];var k=$b($$0.$z.$type.specialize($$0.$aw.$type,$$t.$i.$type),j);if(null!=k){i=k(this.p(h))}else{var l=j;i=l(h)}if(null!=i){c.add(i)}else{this.aj($6("Incorrect value of {1} for rule {0}.",a,b),null)}}return}}}this.aj("Unknown rule",a)},am:function(){var a=this.ag;var b=this.e;this.ai("FREQ",this.ac(b.frequency()),false);this.ai("INTERVAL",$$t.$id.ad(b.interval()),true);var c=b.count();if(c>0){this.ai("COUNT",$$t.$id.ad(c),true)}var d=b._until$i();if(d.hasValue()){this.ai("UNTIL",$$t.$id.ab(d.value(),true,false),true)}this.ai("WKST",$$t.$id.t(b.weekStart()),true);if(this.e._i()){var e=this.e.rules().toArray();$$t.$ic.as(e,null);var f=null;for(var g=0;g<e.length;g++){var h=e[g];var i=h.getType();if(i!=f){f=i;a.h(";").l(this.u(h)).h("=")}else{a.h(",")}a.l(this.v(h))}}},ah:function(a){var b=a.c();if(b==0||b>0&&!/\s/i.test(a.item(b-1))){a.l(" ")}return a},p:function(a){var b;if(!function(){var c=$z(a,b);b=c.p1;return c.ret}()){this.aj("Invalid integer value"+a,null)}return b},ac:function(a){var b=$$t.$id.a;for(var c=0;c<b.length;c+=2){if(a==$g(b[c])){return b[1+c]}}this.aj("Invalid frequency.",$$t.$g.$getName(a));return String.empty()},ad:function(a){return $y(a,$$t.$ip.d())},f:function(a,b){b=null;if(String.isNullOrEmpty(a)){return{ret:null,p1:b}}var c=new $$t.id(new $$t.e);c.i=true;c.q=a;c.ak(a);b=c.d;return{ret:null==b?c.e:null,p1:b}},z:function(a,b){var c=new $$t.id(a);c.ag=new $$6.aj(0);c.am();b=c.d;return{ret:null==b?c.ag.toString():null,p1:b}},aa:function(a,b,c,d,e){if(b==null){b=$$t.$fx.f()}var f=$$0.$cf.currentCulture().dateTimeFormat();var g=$$t.$ag.c("RD_FrequencyLiterals",null).split(",");var h=$$t.$ag.c("RD_FrequencyLiteralsPlural",null).split(",");var i=$$t.$ag.c("RD_FrequencyLiterals2",null).split(",");var j=new $$6.aj(0);var k=new $$6.aj(0);var l=new $$6.aj(0);var m=function(n){var o=b.getMonthNames(1);return o[n-1]};var n=function(o){var p=[$$t.$ag.c("RD_NumberSuffix_th",null),$$t.$ag.c("RD_NumberSuffix_st",null),$$t.$ag.c("RD_NumberSuffix_nd",null),$$t.$ag.c("RD_NumberSuffix_rd",null)];if(-1==o){return $$t.$ag.c("RD_Last",null)}var q=o<0;if(q){o=-o}var r=o<p.length?$$t.$ag.d("RD_OrdinalNumberWithSuffix",null,[o,p[o]]):$$t.$ag.d("RD_OrdinalNumberWithSuffix",null,[o,p[0]]);return r+(q?" "+$$t.$ag.c("RD_ToTheLast",null):String.empty())};var o=function(p){if(-1==p){return $$t.$ag.c("RD_Last",null)}var q=p<0;if(q){p=-p}var r=p.toString();return r+(q?" "+$$t.$ag.c("RD_ToTheLast",null):String.empty())};var p=function(q){var r=q.day();var s=b.getDayNames(3);return s[r]};var q=function(r){return 0==r.relativePosition()?p(r):n(r.relativePosition())+" "+p(r)};var r=function(s,t){if(t){return h[s]}else{return g[s]}};var s=function(t,u){var v=u==0?$$t.$ag.c("RD_And",null):$$t.$ag.c("RD_Or",null);var w=new $$6.aj(0);var x=t==null?new $$4.x(String,2,0):new $$4.x(String,1,t);var y=x.count();var z=0;var ab=t.getEnumerator();while(ab.moveNext()){var aa=ab.current();if(z>0){if(z==y-1){w.h(" ").l(v).h(" ")}else{w.l(", ")}}w.l(aa);z++}return w.toString()};var t=a.frequency();var u=a.interval();if(u>1){j.l($$t.$ag.d("RD_Every",null,[u,r(t,true)]))}else{j.l(i[t])}var v=a._i()?a.rules():null;if(null!=v){var w=$$5.$e.o($$t.$j.$type,String,$$5.$e.l($$t.$j.$type,v),function(x){return m(x.month())});var x=$$5.$e.o($$t.$m.$type,String,$$5.$e.l($$t.$m.$type,v),function(y){return n(y.dayOfMonth())});var y=$$5.$e.o($$t.$m.$type,String,$$5.$e.l($$t.$m.$type,v),function(z){return o(z.dayOfMonth())});var z=$$5.$e.o($$t.$k.$type,String,$$5.$e.l($$t.$k.$type,v),function(aa){return n(aa.weekNumber())});var aa=$$5.$e.o($$t.$n.$type,$$t.$n.$type,$$5.$e.l($$t.$n.$type,v),function(ab){return ab.relativePosition()==0?ab:null});var ab=64|1;var ac=2|4|8|16|32;var ad=ac|ab;var ae=$$t.$fw.fromSelect$2(String,$$t.$n.$type,aa,p,false);var af=$$5.$e.o($$t.$n.$type,$$t.$n.$type,$$5.$e.l($$t.$n.$type,v),function(ag){return ag.relativePosition()!=0?ag:null});var ag=$$t.$fw.fromSelect$2(String,$$t.$n.$type,af,q,false);var ah=$$5.$e.o($$t.$l.$type,String,$$5.$e.l($$t.$l.$type,v),function(ai){return n(ai.dayOfYear())});var ai=$$5.$e.o($$t.$o.$type,$$0.$aw.$type,$$5.$e.l($$t.$o.$type,v),function(aj){return aj._k()});var aj=$$5.$e.o($$t.$p.$type,$$0.$aw.$type,$$5.$e.l($$t.$p.$type,v),function(ak){return ak.minute()});var ak=$$5.$e.o($$t.$q.$type,$$0.$aw.$type,$$5.$e.l($$t.$q.$type,v),function(al){return al.second()});var al=$$5.$e.o($$t.$r.$type,$$0.$aw.$type,$$5.$e.l($$t.$r.$type,v),function(am){return am.occurrenceInstance()});var am=$$5.$e.aj(String,w);var an=$$5.$e.aj(String,x);var ao=$$5.$e.aj(String,z);var ap=$$5.$e.aj(String,ae);var aq=$$5.$e.aj(String,ag);var ar=$$5.$e.aj(String,ah);var as=$$5.$e.aj($$0.$aw.$type,al);var at=null;at=am>0?w:at;at=an>0?x:at;at=ao>0?z:at;at=ap>0?ae:at;at=aq>0?ag:at;at=ar>0?ah:at;var au=am+an+ao+ap+aq+ar;var av=false;var aw=new $$6.aj(0);if(an>0){var ax=$$t.$ag.c("RD_OrdinalDayOfMonthUsesSuffix",null).trim().toLowerCase()=="true";$$t.$id.ah(aw).l($$t.$ag.c("RD_OnThe",null));$$t.$id.ah(aw).l(s(ax?x:y,0));$$t.$id.ah(aw).l($$t.$ag.d("RD_WeekOrDayOfTheMonthOrYear",null,[r(3,an>1),$$t.$ag.d("RD_OfTheMonthOrYear",null,[r(1,false)])]));av=true}if(ar>0){if(av){aw.l(",")}$$t.$id.ah(aw).l($$t.$ag.c("RD_OnThe",null));$$t.$id.ah(aw).l(s(ah,0));$$t.$id.ah(aw).l($$t.$ag.d("RD_WeekOrDayOfTheMonthOrYear",null,[r(3,ar>1),$$t.$ag.d("RD_OfTheMonthOrYear",null,[r(0,false)])]));av=true}if(ao>0){if(av){aw.l(",")}$$t.$id.ah(aw).l($$t.$ag.c("RD_OnThe",null));$$t.$id.ah(aw).l(s(z,0));$$t.$id.ah(aw).l($$t.$ag.d("RD_WeekOrDayOfTheMonthOrYear",null,[r(2,ao>1),$$t.$ag.d("RD_OfTheMonthOrYear",null,[r(0,false)])]));av=true}if(ap>0){if(av){aw.l(",")}var ay=function(az){return az.day()};var az=$$t.$fw.fromSelect$2($$0.$u.$type,$$t.$n.$type,aa,ay,true);var a0=5==$$5.$e.aj($$0.$u.$type,az)&&$$5.$e.b($$0.$u.$type,az,function(a1){return $$t.$il.b(ac,a1)});var a1=2==$$5.$e.aj($$0.$u.$type,az)&&$$5.$e.b($$0.$u.$type,az,function(a2){return $$t.$il.b(ab,a2)});var a2=7==$$5.$e.aj($$0.$u.$type,az)&&$$5.$e.b($$0.$u.$type,az,function(a3){return $$t.$il.b(ad,a3)});var a3=false;if(as>0&&(at==ae||at==ag)){$$t.$id.ah(aw).l($$t.$ag.c("RD_OnThe",null));$$t.$id.ah(aw).l(s($$5.$e.o($$0.$aw.$type,String,al,n),0));a3=true}else{$$t.$id.ah(aw).l($$t.$ag.c("RD_OnEach",null))}if(a0){$$t.$id.ah(aw).l($$t.$ag.c("RD_Weekday",null))}else if(a1){$$t.$id.ah(aw).l($$t.$ag.c("RD_WeekendDay",null))}else if(a2){$$t.$id.ah(aw).l($$t.$ag.c(g[3],null))}else{$$t.$id.ah(aw).l(s(ae,a3?1:0))}av=true}if(aq>0&&(t==1||t==0)){if(av){aw.l(",")}$$t.$id.ah(aw).l($$t.$ag.c("RD_OnThe",null));var a4=function(a5){return a5.day()};var a5=$$5.$e.z($$0.$u.$type,$$t.$fw.fromSelect$2($$0.$u.$type,$$t.$n.$type,af,a4,true));var a6=5==$$5.$e.aj($$0.$u.$type,a5)&&$$5.$e.b($$0.$u.$type,a5,function(a7){return $$t.$il.b(ac,a7)});var a7=2==$$5.$e.aj($$0.$u.$type,a5)&&$$5.$e.b($$0.$u.$type,a5,function(a8){return $$t.$il.b(ab,a8)});var a8=7==$$5.$e.aj($$0.$u.$type,a5)&&$$5.$e.b($$0.$u.$type,a5,function(a9){return $$t.$il.b(ad,a9)});var a9=$$5.$e.o($$t.$n.$type,$$0.$aw.$type,af,function(ba){return ba.relativePosition()});var ba=$m($$0.$aw.$type,null);if(1==$$5.$e.aj($$0.$aw.$type,$$t.$fw.distinct$1($$0.$aw.$type,a9))){ba=$m($$0.$aw.$type,$$5.$e.ad($$0.$aw.$type,a9))}var bb=false;var bc=false;if(as>0&&at==ag){$$t.$id.ah(aw).l(s($$5.$e.o($$0.$aw.$type,String,al,n),0));bb=true;bc=true}var bd=ba.hasValue()&&(a6||a7||a8);var be=bd&&ba.hasValue()&&(!bc||$$5.$e.ad($$0.$aw.$type,al)>0&&1!=ba.value()||$$5.$e.ad($$0.$aw.$type,al)<0&&-1!=ba.value());if(bc&&(as>1||be)){$$t.$id.ah(aw).l($$t.$ag.c("RD_OccurrenceOfThe",null));bd=false}if(bd){if(be){$$t.$id.ah(aw).l(n(ba.value()))}if(a6){$$t.$id.ah(aw).l($$t.$ag.c("RD_Weekday",null))}else if(a7){$$t.$id.ah(aw).l($$t.$ag.c("RD_WeekendDay",null))}else if(a8){$$t.$id.ah(aw).l($$t.$ag.c(g[3],null))}}else{$$t.$id.ah(aw).l(s(ag,bb?1:0))}if(t==1){$$t.$id.ah(aw).l($$t.$ag.d("RD_OfTheMonthOrYear",null,[g[1],null]))}else if(t==0&&am<1){$$t.$id.ah(aw).l($$t.$ag.d("RD_OfTheMonthOrYear",null,[g[0],null]))}av=true}var bf=aw.toString().trimStart([" "]);if(am>0){var bg=$$t.$ag.d("RD_RulesInMonth",null,[bf,$$t.$ag.d("RD_InMonth",null,[s(w,0)])]).trim([" "]);$$t.$id.ah(k).l(bg)}else{var bh=$$t.$ag.d("RD_RulesInMonth",null,[bf,String.empty()]).trim([" "]);$$t.$id.ah(k).l(bh)}var bi=$$5.$e.aj($$0.$aw.$type,ai);var bj=$$5.$e.aj($$0.$aw.$type,aj);var bk=$$5.$e.aj($$0.$aw.$type,ak);au=bi+bj+bk;if(1==bi&&bj<=1&&bk<=1&&(c.hasValue()||1==bj&&1==bk)){var bl=c.hasValue()?c.value():$$0.$s.today();var bm=$.ig.Date.prototype.fromValues(bl.getFullYear(),$.ig.Date.prototype.getMonth(bl),bl.getDate(),$$5.$e.ad($$0.$aw.$type,ai),bj>0?$$5.$e.ad($$0.$aw.$type,aj):bl.getMinutes(),bk>0?$$5.$e.ad($$0.$aw.$type,ak):bl.getSeconds(),0);$$t.$id.ah(k).l($$t.$ag.d("RD_AtTime",null,[b.formatLongTime(bm,0)]))}else if(au>0){var bn=String.empty();if(bk>0){$$t.$id.ah(k).l($$t.$ag.c("RD_OnThe",null));$$t.$id.ah(k).l(s($$5.$e.o($$0.$aw.$type,String,ak,n),0)).l(" ").l(r(6,bk>1));bn=$$t.$ag.c("RD_And",null)}else if(c.hasValue()){$$t.$id.ah(k).l(t>=6?$$t.$ag.c("RD_OnEverySecond",null):$$t.$ag.d("RD_OnTheNthSecond",null,[n(c.value().getSeconds())]));bn=$$t.$ag.c("RD_And",null)}if(bj>0){$$t.$id.ah(k).l(bn);$$t.$id.ah(k).l($$t.$ag.d("RD_TheNthMinuteOrHour",null,[s($$5.$e.o($$0.$aw.$type,String,aj,n),0),r(5,bj>1)]));bn=$$t.$ag.c("RD_And",null)}else if(c.hasValue()){$$t.$id.ah(k).l(bn);$$t.$id.ah(k).l(t>=5?$$t.$ag.d("RD_OfEveryMinuteOrHour",null,[g[5]]):$$t.$ag.d("RD_OfTheNthMinuteOrHour",null,[n(c.value().getMinutes()),g[5]]));bn=$$t.$ag.c("RD_And",null)}if(bi>0){$$t.$id.ah(k).l(bn);$$t.$id.ah(k).l($$t.$ag.d("RD_TheNthMinuteOrHour",null,[s($$5.$e.o($$0.$aw.$type,String,ai,n),0),r(4,bi>1)]));bn=$$t.$ag.c("RD_And",null)}else if(c.hasValue()){$$t.$id.ah(k).l(bn);$$t.$id.ah(k).l(t>=4?$$t.$ag.d("RD_OfEveryMinuteOrHour",null,[g[4]]):$$t.$ag.d("RD_OfTheNthMinuteOrHour",null,[n(c.value().getHours()),g[4]]));bn=$$t.$ag.c("RD_And",null)}}}var bo=a.count();if(bo>0){if(bo==1){$$t.$id.ah(k).l($$t.$ag.c("RD_RepeatingOneTime",null))}else{$$t.$id.ah(k).l($$t.$ag.d("RD_RepeatingMultipleTimes",null,[bo]))}}var bp=c.hasValue()?c.value():$$0.$s.today();var bq=a._until$i();var br=b.formatShortDate(bp);var bs=bq.hasValue()?b.formatShortDate(bq.value()):String.empty();var bt=d.hasValue()?b.formatShortTime(d.value(),0):String.empty();var bu=e.hasValue()?b.formatShortTime(e.value(),0):String.empty();if(true==bq.hasValue()&&false==d.hasValue()&&false==e.hasValue()){$$t.$id.ah(l).l($$t.$ag.d("RD_Effective2",null,[br]))}else if(true==bq.hasValue()&&true==d.hasValue()&&false==e.hasValue()){$$t.$id.ah(l).l($$t.$ag.d("RD_Effective5",null,[br,bs,bt]))}else if(false==bq.hasValue()&&true==d.hasValue()&&true==e.hasValue()){$$t.$id.ah(l).l($$t.$ag.d("RD_Effective3",null,[br,bt,bu]))}else if(false==bq.hasValue()&&true==d.hasValue()&&false==e.hasValue()){$$t.$id.ah(l).l($$t.$ag.d("RD_Effective4",null,[br,bt]))}else if(true==bq.hasValue()&&true==d.hasValue()&&true==e.hasValue()){$$t.$id.ah(l).l($$t.$ag.d("RD_Effective6",null,[br,bs,bt,bu]))}else if(true==bq.hasValue()){$$t.$id.ah(l).l($$t.$ag.d("RD_Effective2",null,[br,bs]))}else{$$t.$id.ah(l).l($$t.$ag.d("RD_Effective1",null,[br]))}return $$t.$ag.d("RD_RecurrenceDescriptionOverallStructure",null,[j.toString(),k.toString(),l.toString()])},ab:function(a,b,c){var d=c&&$.ig.util.timeSpanTotalSeconds($.ig.Date.prototype.getTimeOfDay(a))<1?"yyyyMMdd":"yyyyMMdd\\THHmmss";var e=$.ig.Date.prototype.toStringFormat(a,d,$$t.$ip.d());if(b){e=e+"Z"}return e},$type:new $.ig.Type("DateRecurrenceParser",$.ig.$ot)},true);$c("DateRecurrenceRange:ie","ValueType",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$0.$bh.init.call(this)},e:0,d:0,init1:function(a,b,c){$$0.$bh.init.call(this);this.e=b;this.d=c},h:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},f:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},j:function(a){this.e=Math.max(this.e,a.e);this.d=Math.min(this.d,a.d)},k:function(a){this.e=Math.max(this.e,a);this.d=Math.min(this.d,a)},m:function(a){if(a>this.e){this.e=a}},c:function(){return this.d<this.e},a:function(){return new $$t.ie(1,(-1),0)},n:function(a){this.e+=a;this.d+=a},i:function(a){this.d+=a},b:function(a){return a>=this.e&&a<=this.d},l:function(){this.d=this.e-1},g:function(){return 1+this.d-this.e},$type:new $.ig.Type("DateRecurrenceRange",$$0.$bh.$type)},true);$c("DateRecurrenceEnumerable:ig","Object",{_b:null,_a:null,_c:0,init:function(a,b,c){$.ig.$op.init.call(this);this._b=a;this._a=b;this._c=c},getEnumerator:function(){return new $$t.ih(this)},$type:new $.ig.Type("DateRecurrenceEnumerable",$.ig.$ot,[$$0.$bw.$type.specialize($$0.$s.$type)])},true);$c("DateRecurrenceEnumerator:ih","Object",{_b:null,_c:null,_a:null,_h:0,_g:0,_d:false,_f:new Date,_i:null,_e:false,init:function(a){this._i=new $$0.bb;$.ig.$op.init.call(this);this._b=a;this._h=this._b._c;this._i=a._b!=null?a._b.ao:0;this._e=a._b!=null?a._b.m:false;this._a=new $$t.a(this._b._a.start(),$$t.$ip.b(this._b._a.end(),this._b._b.p));this.reset()},current:function(){return this._f},dispose:function(){},moveNext:function(){while(!this._d){this._c.ak();this._d=this._c.m(this._a.end());if(this._c.n()){this._f=this._c.p;var a=$$t.$x._ah(this._f,this._e);var b=$$t.$x._ag($.ig.util.dateAdd(this._f,this._i),this._e);var c=this._a._intersectsWith1(a,b,true);if(c){this._g++}if(!this._d){this._d=$$t.$ip.a(this._h,this._g)}if(c){return true}}}return false},reset:function(){this._c=new $$t.ij(this._b._b);this._c.ab(this._a.start());this._g=0;this._d=this._c.m(this._a.end())},$type:new $.ig.Type("DateRecurrenceEnumerator",$.ig.$ot,[$$0.$bx.$type.specialize($$0.$s.$type)])},true);$c("DateRecurrenceRunningState:ii","ValueType",{init:function(){this.a=new $$t.ie;$$0.$bh.init.call(this)},a:null,e:0,b:0,c:0,d:0,$type:new $.ig.Type("DateRecurrenceRunningState",$$0.$bh.$type)},true);$c("DateRecurrenceState:ij","Object",{f:null,w:0,q:new Date,o:null,t:0,a:null,k:false,j:false,l:false,b:null,c:null,d:null,e:null,i:null,g:null,y:0,u:0,v:0,x:0,p:new Date,init:function(a){this.g=new $$t.ie;$.ig.$op.init.call(this);this.f=a;this.o=new $$4.aa($$t.$ii.$type);this.g=$$t.$ie.a();this.y=-1;this.u=-1;this.v=-1;this.x=-1;this.i=this.f.b.length>0?new $$t.iq(this.f.c):null},h:function(){var a=this.memberwiseClone();a.o=null;if(a.o!=null){var b=new $$4.aa($$t.$ii.$type);while(a.o.count()>0){var c=a.o.pop();b.push(c)}a.o=b}a.a=$.ig.util.shallowClone(this.a);return a},ab:function(a){a=$.ig.util.dateSubtract(a,this.f.ao);this.t=0;this.a=new Array(this.f.a.length);var b=this.f.a;for(var c=0;c<b.length;c++){this.a[c]=b[c]}this.q=this.r(a);this.aa(true);this.l=false;var d=this.f.b.length;var e=this.f.a.length;this.b=new Array(d);this.c=new Array(d);this.d=new Array(e);this.e=new Array(e)},ak:function(){this.k=false;if(null!=this.i&&this.i.b&&this.i.e()){this.ai();return}var a=this.f.b;if(a.length>0){var b=this.f.a;var c=1+this.t;var d=c==b.length;var e=!d?b[c]-1:a.length-1;var f=this.a[this.t];if(this.e[this.t]>0){while(f<=e&&!this.c[f]){f++}}if(f>e){this.a[this.t]=b[this.t];if(this.d[this.t]){this.d[this.t]=false;this.e[this.t]++}else{this.e[this.t]=0;this.t--;if(-1==this.t){this.t=0;if(null!=this.i&&this.i.f()){this.a[this.t]=2147483647}else{this.aa(false)}}else{this.aj()}}}else{this.al();var g=a[f];this.l=false;var h=this.b[f];if(h>0){this.g.m(h)}g._h(this);this.a[this.t]=1+f;if(this.l){this.d[this.t]=true}this.c[f]=this.l;this.b[f]=this.l?1+this.g.h():0;if(this.g.c()){this.aj()}else if(d){this.ai();this.aj()}else{this.t++}}}else{this.ai();this.aa(false)}},ai:function(){if(!this.j){if(null!=this.i&&this.i.b){this.p=this.i.i}else if(!this.g.c()){this.ac();if(null!=this.i&&this.i.d(this.p)){return}}else{return}if(this.p>=this.f.o&&this.p<=this.f.p){this.k=true;this.w++}if($$t.$ip.a(this.f.ae,this.w)){this.j=true}}},n:function(){return this.k},m:function(a){return this.j||this.q>a},al:function(){var a=new $$t.ii;a.a=this.g;a.e=this.y;a.b=this.u;a.c=this.v;a.d=this.x;this.o.push(a)},aj:function(){var a=this.o.pop();this.g=a.a;this.y=a.e;this.u=a.b;this.v=a.c;this.x=a.d},r:function(a){var b=this.f.o;switch(this.f.f.frequency()){case 0:b=$.ig.Date.prototype.fromValues(b.getFullYear(),1,1,0,0,0,0);break;case 1:b=$.ig.Date.prototype.fromValues(b.getFullYear(),$.ig.Date.prototype.getMonth(b),1,0,0,0,0);break;case 2:b=this.f.j.ao(b);break;case 3:b=$.ig.Date.prototype.getDate(b);break;case 4:b=$.ig.Date.prototype.fromValues(b.getFullYear(),$.ig.Date.prototype.getMonth(b),b.getDate(),b.getHours(),0,0,0);break;case 5:b=$.ig.Date.prototype.fromValues(b.getFullYear(),$.ig.Date.prototype.getMonth(b),b.getDate(),b.getHours(),b.getMinutes(),0,0);break;case 6:b=$.ig.Date.prototype.fromValues(b.getFullYear(),$.ig.Date.prototype.getMonth(b),b.getDate(),b.getHours(),b.getMinutes(),b.getSeconds(),0);break;default:break}b=this.s(b,a);return b},s:function(a,b){var c=this.f.f.frequency();var d=this.f.f.interval();if(this.f.ae>0){if(0==this.f.ac){return a}}var e=0;var f=a;while(f<b){var g=d;var h=f;var i=0;while(true){h=this.f.v(h,c,g);if(h<b){f=h;i+=g;g*=2}else{break}}e+=i;if(0==i){break}}if(this.f.ac>0){this.w=$a(e,d)*this.f.ac;if($$t.$ip.a(this.f.ae,this.w)){this.j=true}}return f},aa:function(a){if(!a){this.q=this.f.v(this.q,this.f.f.frequency(),this.f.f.interval())}if(this.q>=this.f.p){this.j=true;return}var b=this.q;this.y=b.getFullYear();this.u=-1;this.v=-1;this.x=-1;var c=this.f.ah(b);this.g=new $$t.ie(1,c,c);switch(this.f.f.frequency()){case 0:this.g.i(this.f.aj(this.y)-1);break;case 1:this.g.i(this.f.ai(this.y,$.ig.Date.prototype.getMonth(b))-1);break;case 2:this.g.i(6);break;case 3:break;case 4:this.u=b.getHours();break;case 5:this.u=b.getHours();this.v=b.getMinutes();break;case 6:this.u=b.getHours();this.v=b.getMinutes();this.x=b.getSeconds();break}},ag:function(a){var b=this.f.ai(this.y,a);var c=this.f.ah($.ig.Date.prototype.fromValues(this.y,a,1,0,0,0,0));var d=new $$t.ie(1,c,c+b-1);this.g.j(d)},ah:function(a){var b=this.f.i(this.y,a);this.g.j(b)},af:function(a){if(a>0){this.g.j(new $$t.ie(1,a,a))}else if(a<0){var b=this.f.aj(this.y);var c=b+a+1;this.g.j(new $$t.ie(1,c,c))}else{this.g.j($$t.$ie.a())}},ad:function(a){var b=this.f.am(this.y,this.g.h());var c=b>0?this.f.h(this.y,b):$$t.$ie.a();var d=a>0?Math.min(c.h()+a-1,this.g.f()):Math.max(c.f()+a+1,this.g.h());var e=1+c.f();if(a>0){this.l=e+a-1<=this.g.f()}else{try{var f=this.f.t(this.f.y(this.y,d),1);var g=this.f.ai(this.f.an(f),this.f.al(f));this.l=e+Math.max(g+a,0)+1<=this.g.f()}catch(h){this.l=false}}this.g.k(d)},ae:function(a,b){var c=this.f.y(this.y,this.g.h());if(0==b){var d=this.z(this.g,a,0);this.l=7+d<=this.g.f();this.g.k(d)}else{if(this.f.k){var e=this.f.al(c);if(e<0){this.g.k(-1);return}var f=this.f.h(this.y,e);var g=this.z(f,a,b);this.g.k(g)}else if(this.f.l){var h=new $$t.ie(1,1,this.f.aj(this.y));var i=this.z(h,a,b);this.g.k(i)}else{this.g.k(-1);var j=$$t.$fw.createException("LE_InvalidDayOfWeekRule");this.f.e=new $$t.hm(j)}}},z:function(a,b,c){var d=this.f.y(this.y,a.h());var e=this.f.ab(d);var f=b-e;if(f<0){f+=7}var g=a.h()+f;if(c>0){g+=7*(c-1)}else if(c<0){c=-c;var h=a.f();var i=1+$a(h-g,7);g+=7*(i-c)}return g},ac:function(){var a=this.f.o;var b=$.ig.Date.prototype.fromValues(this.y,1,1,this.u>=0?this.u:a.getHours(),this.v>=0?this.v:a.getMinutes(),this.x>=0?this.x:a.getSeconds(),0);var c=this.g.h()-1;var d=false;if(this.g.g()>1){switch(this.f.g){case 0:{var e=this.f.al(a);var f=this.f.af(a);var g=this.f.ai(this.y,e);var h=this.f.ah($.ig.Date.prototype.fromValues(this.y,e,Math.min(f,g),0,0,0,0));if(this.g.b(h)){c=h-1}else{d=true}}break;case 1:{var i=this.f.al($.ig.Date.prototype.addDays(b,c));var j=this.f.af(a);var k=this.f.ai(this.y,i);var l=this.f.ah($.ig.Date.prototype.fromValues(this.y,i,Math.min(j,k),0,0,0,0));if(l>=this.g.h()){c=l-1}else{d=true}}break;case 2:{var m=this.f.ag(a);var n=this.f.j.ao($.ig.Date.prototype.addDays(b,c));var o=this.f.q(n,m);var p=this.f.ah(o);if(this.g.b(p)){c=p-1}else if(1+this.y==o.getFullYear()&&p<this.g.h()&&this.f.d(b,this.g).contains(o)){b=o;c=0}else{d=true}}break}}this.p=this.f.q(b,c)},$type:new $.ig.Type("DateRecurrenceState",$.ig.$ot)},true);$c("CalendarHelper:il","Object",{x:null,y:null,init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$$t.$il.init1.call(this,1,$$0.$cf.currentCulture())},init1:function(a,b){$$t.$il.init2.call(this,2,b.calendar(),b.dateTimeFormat())},init2:function(a,b,c){$.ig.$op.init.call(this);this.am(b,c)},an:function(){},am:function(a,b){if(this.x!=null){this.an()}if(a==null){throw new $$6.e(0,"calendar")}if(b==null){throw new $$6.e(0,"formatInfo")}this.x=a;this.y=b},c:function(a,b){return $$t.$il.d(a,b,this.x)},d:function(a,b,c){try{return $$t.$im.a(c,a,b)}catch(d){return $$t.$il.u(c,b<0)}},e:function(a,b){return $$t.$il.f(a,b,this.x)},f:function(a,b,c){try{return $$t.$im.b(c,a,b)}catch(d){return $$t.$il.u(c,b<0)}},g:function(a,b){return $$t.$il.h(a,b,this.x)},h:function(a,b,c){try{return $$t.$im.c(c,a,b)}catch(d){return $$t.$il.u(c,b<0)}},i:function(a,b){return $$t.$il.j(a,b,this.x)},j:function(a,b,c){try{return $.ig.Date.prototype.addMonths(a,b)}catch(d){return $$t.$il.u(c,b<0)}},k:function(a,b){return $$t.$il.l(a,b,this.x)},l:function(a,b,c){try{return $$t.$im.e(c,a,b)}catch(d){return $$t.$il.u(c,b<0)}},m:function(a,b){return $$t.$il.n(a,b,this.x)},n:function(a,b,c){try{return $$t.$im.f(c,a,b)}catch(d){return $$t.$il.u(c,b<0)}},o:function(a,b){return $$t.$il.p(a,b,this.x)},p:function(a,b,c){try{return $.ig.Date.prototype.addYears(a,b)}catch(d){return $$t.$il.u(c,b<0)}},r:function(a,b,c){var $self=this;return{ret:function(){var d=$$t.$il.q(a,!$k(b)?b.value():$self.y.firstDayOfWeek(),$self.x,c);c=d.p3;return d.ret}(),p2:c}},q:function(a,b,c,d){var e=$$t.$il.aa(a,0,b,c);try{a=$$t.$im.a(c,a,-e);d=0}catch(f){var g=$$t.$il.v(c);var h=a-g;d=e-$.ig.util.timeSpanDays(h);a=$$t.$il.v(c)}return{ret:a,p3:d}},ad:function(a){return $$t.$il.ae(a,this.x)},ae:function(a,b){var c=b.getMonth(a);var d=b.getYear(a);var e=b.getEra(a);return b.getDaysInMonth(d,c,e)},af:function(a){return $$t.$il.ag(a,this.x)},ag:function(a,b){var c=b.getYear(a);var d=b.getEra(a);return b.getDaysInYear(c,d)},z:function(a){return this.x.getDayOfMonth(a)},w:function(a){return $$t.$im.k(this.x,a)},ab:function(a,b,c){return $$t.$il.aa(a,b,!$k(c)?c.value():this.y.firstDayOfWeek(),this.x)},aa:function(a,b,c,d){if(b!=0){return $$t.$il.ai(b,c,$$t.$im.k(d,a))}var e=$$t.$im.k(d,a);return(e-c+7)%7},ai:function(a,b,c){var d=b;var e=c;var f=0;if(d>e){e+=7}while(e>=d){if(false==$$t.$il.b(a,e)){f++}e--}return f-1},b:function(a,b){return 0!=(1<<b&a)},ac:function(a){return $$t.$fx.l(a)},s:function(a,b,c,d,e,f){var g=$j(b,null)?$$t.$im.j(e,a,1,1,0,0,0,0,0):e.toDateTime(a,1,1,0,0,0,0,b.value());var h=$$t.$im.k(e,g);var i=h-d;var j=0;switch(c){case 2:{if(i>3){j=7-i}else if(i<-3){j=-(7+i)}else{j=-i}break}case 1:{if(i>0){j=7-i}else if(i<0){j=-i}break}default:case 0:{if(i<0){j=-(7+i)}else{j=-i}break}}try{g=$.ig.Date.prototype.addDays(g,j);f=0}catch(k){var l=$$t.$il.v(e);var m=g-l;f=j-$.ig.util.timeSpanDays(m);g=$$t.$il.v(e)}return{ret:g,p5:f}},ah:function(a){return this.x.getMonth(a)},ak:function(a,b,c,d){var $self=this;return{ret:function(){var e=$$t.$il.aj(a,!$k(b)?b.value():$self.y.calendarWeekRule(),!$k(c)?c.value():$self.y.firstDayOfWeek(),$self.x,d);d=e.p4;return e.ret}(),p3:d}},aj:function(a,b,c,d,e){var f=d.getYear(a);if(f<d.getYear($$t.$il.t(d))){f++}var g=d.getEra(a);var h;var i=function(){var j=$$t.$il.s(f,$m($$0.$aw.$type,g),b,c,d,h);h=j.p5;return j.ret}();while(i>a){if(f==1){e=0;return{ret:0,p4:e}}i=function(){var j=$$t.$il.s(--f,$m($$0.$aw.$type,g),b,c,d,h);h=j.p5;return j.ret}()}e=f;var j=a-i;return{ret:$a($.ig.util.timeSpanDays(j)-h,7)+1,p4:e}},al:function(a){return this.x.getYear(a)},u:function(a,b){return b?$$t.$il.v(a):$$t.$il.t(a)},v:function(a){return $$0.$s.minValue()},t:function(a){return $$0.$s.maxValue()},$type:new $.ig.Type("CalendarHelper",$.ig.$ot)},true);$c("RecurrenceCalendarHelper:ik","CalendarHelper",{aq:0,init:function(){$$t.$il.init1.call(this,1,$$0.$cf.invariantCulture())},as:function(a){return this.ab(a,0,$m($$0.$u.$type,this.aq))},ao:function(a){var $self=this;var b;return function(){var c=$self.r(a,$m($$0.$u.$type,$self.aq),b);b=c.p2;return c.ret}()},ap:function(a){var $self=this;var b;return function(){var c=$$t.$il.s(a,$m($$0.$aw.$type,null),2,$self.aq,$self.x,b);b=c.p5;return c.ret}()},at:function(a,b){var $self=this;return{ret:function(){var c=$self.ak(a,$m($$0.$ca.$type,2),$m($$0.$u.$type,$self.aq),b);b=c.p3;return c.ret}(),p1:b}},$type:new $.ig.Type("RecurrenceCalendarHelper",$$t.$il.$type)},true);$c("CalendarExtensions:im","Object",{init:function(){$.ig.$op.init.call(this)},i:function(){return $$0.$s.minValue()},h:function(){return $$0.$s.maxValue()},k:function(a,b){return b.getDay()},l:function(a,b){var c=$.ig.Date.prototype.fromValues(b.getFullYear(),1,1,0,0,0,0);var d=b-c;return $.ig.truncate($.ig.util.timeSpanTotalDays(d))},j:function(a,b,c,d,e,f,g,h,i){return $.ig.Date.prototype.fromValues(b,c,d,e,f,g,h)},e:function(a,b,c){return $.ig.Date.prototype.addSeconds(b,c)},c:function(a,b,c){return $.ig.Date.prototype.addMinutes(b,c)},b:function(a,b,c){return $.ig.Date.prototype.addHours(b,c)},a:function(a,b,c){return $.ig.Date.prototype.addDays(b,c)},f:function(a,b,c){return $.ig.Date.prototype.addDays(b,c*7)},d:function(a,b,c){return $.ig.Date.prototype.addMonths(b,c)},g:function(a,b,c){return $.ig.Date.prototype.addYears(b,c)},$type:new $.ig.Type("CalendarExtensions",$.ig.$ot)},true);$c("RecurrenceInfo:io","Object",{a:null,f:new Date,j:null,d:false,h:null,init:function(a,b,c,d,e){this.j=new $$0.bb;$.ig.$op.init.call(this);if(a==null){throw new $$6.e(0,"recurrence")}this.a=a;this.f=b;this.j=c;this.d=d;this.h=e},i:function(){return this.h},k:function(){return this.j},e:function(){return this.d},b:function(){return this.a},g:function(){
return this.f},c:function(){var a=this.memberwiseClone();a.a=this.a._a();return a},$type:new $.ig.Type("RecurrenceInfo",$.ig.$ot)},true);$c("RecurrenceUtils:ip","Object",{init:function(){$.ig.$op.init.call(this)},b:function(a,b){return b<a?b:a},a:function(a,b){return a>0&&b>=a},e:function($t,a,b){var c=0;if(null!=a){if(null==b){b=$$4.$m.defaultEqualityComparerValue($t)}var e=a.getEnumerator();while(e.moveNext()){var d=e.current();c^=b.getHashCodeC(d)}}return c},c:function(a){return $.ig.Date.prototype.fromValues(a.getFullYear(),$.ig.Date.prototype.getMonth(a),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),0)},d:function(){return $$0.$cf.invariantCulture()},$type:new $.ig.Type("RecurrenceUtils",$.ig.$ot)},true);$c("DateRecurrenceSubsetInfo:iq","Object",{g:null,a:null,b:false,i:new Date,c:false,j:new Date,init:function(a){this.g=new $$4.x($$0.$s.$type,0);$.ig.$op.init.call(this);var b=null;if(a!=null){b=new Array(a.length);for(var c=0;c<a.length;c++){b[c]=a[c].occurrenceInstance()}}else{b=new Array(0)}this.a=b},d:function(a){this.g.add(a);if(!this.c){this.c=this.j>a;this.j=a}return true},k:0,h:null,f:function(){this.b=false;if(this.g.count()>0){if(this.c){this.g.sort();this.c=false}var a=this.a;var b=this.g;if(null==a||0==a.length){this.h=b}else{this.h=new $$4.x($$0.$s.$type,0);for(var c=0;c<a.length;c++){var d=a[c];if(d>0){if(d<=b.count()){this.h.add(b.__inner[d-1])}}else if(d<0){d=b.count()+d;if(d>=0){this.h.add(b.__inner[d])}}}}this.k=-1;this.b=this.h.count()>0}return this.b},e:function(){if(++this.k<this.h.count()){this.i=this.h.__inner[this.k];return true}this.b=false;this.g.clear();this.c=false;this.j=$$0.$s.minValue();return false},$type:new $.ig.Type("DateRecurrenceSubsetInfo",$.ig.$ot)},true);$c("RecurrenceManager:is","Object",{h:null,j:null,init:function(a){$.ig.$op.init.call(this);this._f=a;this.h=new $$t.iv($$t.$x.$type)},_f:null,o:function(a,b){this.h._initialize(a);if(b!=null){var d=b.getEnumerator();while(d.moveNext()){var c=d.current();var e=c.key();var f=this.h._item(e);var g=f!=null?this.g(f,true):null;if(g!=null){var i=c.value().getEnumerator();while(i.moveNext()){var h=i.current();g.i(h)}}}}},l:function(a){this.h._add(a)},s:function(a){this.h._remove(a)},d:function(a){return this.h==null?null:this.h._item(a)},k:function(a,b){var c=new $$4.x($$t.$x.$type,0);var d=false;var e=this.m(a,b,null,c,false,d);d=e.p5;return c},m:function(a,b,c,d,e,f){f=false;if(this.h==null){return{p5:f}}var g=new $$4.q($$0.$ax.$type,0);var i=this.h.getEnumerator();while(i.moveNext()){var h=i.current();if($$t.$iz._cf(h,b)==false){continue}var j=this.g(h,true);if(j==null){continue}var k=j._e.g();if(a.end()<=k){continue}if(j._c._until$i().hasValue()&&j._c._until$i().value()<a.start()){continue}var l=j._c.count();var m=j._d.n(a,l);var n=new $$4.q($$t.$x.$type,0);var p=m.getEnumerator();while(p.moveNext()){var o=p.current();var q=this.e(j,o);var r=false;if(q!=null){n.add(q);if(q.isRemoved()){continue}if(a._intersectsWith1(q._am(),q._aj(),true)){r=true;if(d!=null){d.add(q)}}}else{r=true;var s=this.b(h,o);if(d!=null){d.add(s)}}if(r&&c!=null){var t=$.ig.Date.prototype.getDate(o).getTime();g.add(t)}if(r){f=true}if(e){break}}var u=j.h(a);var w=u.getEnumerator();while(w.moveNext()){var v=w.current();if(v.isRemoved()){continue}if(n.add(v)){if(c!=null){var x=v._ac();var z=x.getEnumerator();while(z.moveNext()){var y=z.current();g.add(y.getTime())}}d.add(v)}}}if(c!=null&&g.count()>0){var ab=g.getEnumerator();while(ab.moveNext()){var aa=ab.current();var ac=$.ig.Date.prototype.fromTicks(aa);c.add(ac)}}return{p5:f}},n:function(a,b,c){var d=this.k(a,b);if(d.count()==0){return}var e=new $$4.h(String,$$0.$aw.$type,0);var g=c.dates().getEnumerator();while(g.moveNext()){var f=g.current();var h=$$t.$b1.u(f);var i=c._item(f);if(i.hasValue()){e.add(h,i.value())}}var k=d.getEnumerator();while(k.moveNext()){var j=k.current();var l=j._ac();var n=l.getEnumerator();while(n.moveNext()){var m=n.current();var o=$$t.$b1.u(m);var p=0;if(function(){var q=e.tryGetValue(o,p);p=q.p1;return q.ret}()==false){e.add(o,1)}else{e.item(o,p+1)}}}var q=new $$4.x($$0.$s.$type,0);var r=new $$4.x($$0.$aw.$type,0);var t=e.getEnumerator();while(t.moveNext()){var s=t.current();var u=$$t.$b1.k(s.key());q.add(u);r.add(s.value())}c.hasActivity(c.hasActivity()||q.count()>0);c._t(q.toArray(),r.toArray())},i:function(a,b,c,d){var e=false;var f=new $$4.x($$0.$s.$type,0);var g=this.m(a,b,f,null,c,e);e=g.p5;return e},b:function(a,b){var c=this.a();$$t.$is.p(this._f,a,c,b);return c},p:function(a,b,c,d){c.recurrenceRoot(b);c.start(d);c.end($.ig.util.dateAdd(d,b._bf()));c.originalStart(d);a._a1(c,a)},a:function(){},g:function(a,b){var $self=this;if(String.isNullOrEmpty(a.id())){a._br($$6.$i.newGuid().toString(),false)}var c=a._n();if(b&&c==null){return null}if(this.j==null){this.j=new $$4.h($$t.$x.$type,$$t.$iu.$type,0)}var d=null;if(function(){var e=$self.j.tryGetValue(a,d);d=e.p1;return e.ret}()==false){d=new $$t.iu(a,c);this.j.add(a,d)}return d},t:function(a,b,c){if(b){if(a==null||a.isRecurrenceRoot()==false){return}}var d=this.g(a,false);var e=d.h(null);var f=-1;var g=null;var h=this._f._bl();if(c&&e!=null){var j=e.getEnumerator();while(j.moveNext()){var i=j.current();g=i.dataObject();f=g!=null?h.f(g):-1;if(f>=0){h.b(f,g)}this.x(i,g,false)}}if(c){g=a.dataObject();f=h.f(g);if(f>=0){h.b(f,g)}}if(this.j!=null&&this.j.containsKey(a)){this.j.remove(a)}this.h._remove(a);this.x(a,g,false)},v:function(a,b){if(this.j==null){this.j=new $$4.h($$t.$x.$type,$$t.$iu.$type,0)}else if(this.j.containsKey(a)){this.j.remove(a)}this.j.add(a,b)},r:function(a,b){var c=this.d(a);var d=c==null?null:this.g(c,true);if(d==null){return}d.i(b)},e:function(a,b){return a.b(b)},x:function(a,b,c){},u:function(a){},w:function(a,b,c){},c:function(a){if(this.j==null){return null}var c=this.j.keys().getEnumerator();while(c.moveNext()){var b=c.current();if(b.dataObject()==a){return b}}return null},q:function(a,b,c){var d=this.g(a,true);if(d==null){return}d.j(this)},$type:new $.ig.Type("RecurrenceManager",$.ig.$ot)},true);$c("AppointmentRecurrenceManager:it","RecurrenceManager",{init:function(a){$$t.$is.init.call(this,a)},a:function(){return this._f._e(true)},ab:function(a,b,c){var d=$$t.$is.k.call(this,a,b);if(d==null){return}var f=d.getEnumerator();while(f.moveNext()){var e=f.current();var g=$b($$t.$z.$type,e);c.add(g)}},y:function(a,b){var c=null;if(a==null){throw new $$6.e(0,"appointment")}var d=null;if(a.isRecurrenceRoot()){try{this.t(a,true,true)}catch(e){d=e}}else if(a._u()){var f=a.dataObject()!=null;if(a.dataObject()==null){var g=this._f._bl();var h=function(){var i=g.h(a,d);d=i.p1;return i.ret}();if(d==null){var i=null;var j=this._f._ca(a,h,i);i=j.p2;if(i!=null){d=i.exception()}if(d==null){this._f._d4(a,h,false)}}}a.isRemoved(true);if(f==false){var k=a.recurrenceRoot();var l=this.g(k,true);l.i(a)}c=new $$t.a(a._am(),a._aj())}if(d!=null){b._k(new $$t.hm(d))}else{b._f()}return c},x:function(a,b,c){var d=$b($$t.$z.$type,a);if(d==null){return}this._f._ed(d,b,c)},w:function(a,b,c){var d=$b($$t.$z.$type,a);var e=d.dataObject();var f=String.isNullOrEmpty(b)==false;var g=String.isNullOrEmpty(c)==false;if(f){if(g){var h=this.g(d,true);if(h==null){return}h.j(this);h=new $$t.iu(d,d._n());this.v(d,h);return}else{this.t(d,false,false)}}if(f==false){this._f._bg().y(d)}this.x(d,e,f==false);if(g){this.g(d,true);this.l(d);if(f==false){this._f._d4(d,e,false)}}else{this._f._d4(d,e,true);this._f._bg().x(d)}},z:function(a,b,c,d){d=null;var e=null;var f=String.isNullOrEmpty(b)==false;var g=false;var h=function(i){e=i};var i=$b($$t.$z.$type,a);var j=i!=null?i:this._f.createAppointment(h);if(e==null&&i==null){var k=this._f._cb(a,j,e);e=k.p2}if(e!=null){d=e;return{ret:null,p3:d}}if(f){this.g(j,true);this.l(j)}else{var l=this.d(c);if(l!=null){var m=this.g(l,true);if(m!=null){m.i(j)}else{g=true}}}if(g){this._f._bg().x(j)}this._f._d4(j,a,g);return{ret:j,p3:d}},aa:function(a){var $self=this;if(a==null){return false}var b=null;var c,d,e;if(function(){var f=$$t.$g4.k($self._f,a,c,e,d,b);c=f.p2;e=f.p3;d=f.p4;b=f.p5;return f.ret}()==false){return false}var f=String.isNullOrEmpty(e)==false;var g=String.isNullOrEmpty(d)==false;var h=null;if(f){h=this.d(c);if(h==null){return false}this.t(h,false,true);return true}else if(g){h=this.d(d);if(h==null){return false}var i=this.g(h,true);return i.f(a)}return false},u:function(a){var b=this._f._bl();var d=a.getEnumerator();while(d.moveNext()){var c=d.current();var e=b.f(c);b.b(e,c)}},q:function(a,b,c){$$t.$is.q.call(this,a,b,c);var d=new $$t.iu(a,a._n());this.v(a,d);this._f.onAppointmentPropertyChanged($b($$t.$z.$type,a),4,b,a._am(),true)},$type:new $.ig.Type("AppointmentRecurrenceManager",$$t.$is.$type)},true);$c("ActivityRecurrence:iu","Object",{g:null,init:function(a,b){$.ig.$op.init.call(this);this._a=a;this._c=b;var c=a.start();var d=a._bf();this._e=new $$t.io(this._c,c,d,a._s(),null);this._d=new $$t.ic(this._e)},_a:null,_c:null,_e:null,_d:null,f:function(a){if(this.g==null){return false}var b=null;var d=this.g.getEnumerator();while(d.moveNext()){var c=d.current();if(c.dataObject()==a){b=c;break}}if(b!=null){return this.g.remove(b)}else{return false}},i:function(a){if(this.g==null){this.g=new $$4.q($$t.$x.$type,0)}this.g.add(a)},b:function(a){if(this.g==null){return null}var c=this.g.getEnumerator();while(c.moveNext()){var b=c.current();if(+b.originalStart()==+a){return b}}return null},h:function(a){if(a==null){return this.g}var b=new $$4.x($$t.$x.$type,0);if(this.g!=null){var d=this.g.getEnumerator();while(d.moveNext()){var c=d.current();if(a._intersectsWith1(c._am(),c._aj(),true)){b.add(c)}}}return b},j:function(a){if(this.g==null){return}var b=new $$4.x($.ig.$op.$type,0);var d=this.g.getEnumerator();while(d.moveNext()){var c=d.current();var e=c.dataObject();b.add1(e);a.x(c,e,false)}a.u(b);this.g=null},$type:new $.ig.Type("ActivityRecurrence",$.ig.$ot)},true);$c("RecurrenceStorageManager$1:iv","Object",{$t:null,_a:null,_c:null,init:function($t){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}this._c=new $$4.x(this.$t,2,0);$.ig.$op.init.call(this)},_initialize:function(a){var c=a.getEnumerator();while(c.moveNext()){var b=c.current();this._g(b)}if(a.count()>10){this._a=new $$t.iy(this.$t,a)}else{this._a=new $$t.ix(this.$t,1,a)}},_add:function(a){this._g(a);if(this._a==null){this._a=new $$t.ix(this.$t,0,a)}else{this._a=this._a._add(a)}},_remove:function(a){this._g(a);if(this._a==null){return}this._a=this._a._remove(a)},_item:function(a){if(this._a==null){return null}return this._a._item(a)},_g:function(a){},getEnumerator:function(){if(this._a==null){return this._c.getEnumerator()}var a=$b($$0.$bw.$type.specialize(this.$t),this._a);return a.getEnumerator()},getEnumerator1:function(){var a=$b($$0.$bw.$type.specialize(this.$t),this);return a.getEnumerator()},$type:new $.ig.Type("RecurrenceStorageManager$1",$.ig.$ot,[$$0.$bw.$type.specialize(0)])},true);$c("RecurrenceStorage$1:iw","Object",{$t:null,init:function($t){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$.ig.$op.init.call(this)},_add:function(a){},_remove:function(a){},_c:function(a){},_getEnumerator:function(){},getEnumerator:function(){return this._getEnumerator()},getEnumerator1:function(){return this._getEnumerator()},_item:function(a){return this._c(a)},$type:new $.ig.Type("RecurrenceStorage$1",$.ig.$ot,[$$0.$bw.$type.specialize(0)])},true);$c("RecurrenceStorageList$1:ix","RecurrenceStorage$1",{$t:null,_f:null,init:function($t,a,b){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$$t.$iw.init.call(this,this.$t);this._f=new $$4.x(this.$t,2,10);this._f.add(b)},init1:function($t,a,b){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$$t.$iw.init.call(this,this.$t);this._f=new $$4.x(this.$t,2,10);this._f.addRange(b)},init2:function($t,a,b){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$$t.$iw.init.call(this,this.$t);this._f=new $$4.x(this.$t,2,10);var d=b.values().getEnumerator();while(d.moveNext()){var c=d.current();this._f.add(c)}},_add:function(a){if(this._f.count()>=10){this._f.add(a);return new $$t.iy(this.$t,this._f)}else{this._f.add(a);return this}},_remove:function(a){this._f.remove(a);return this},_c:function(a){if(this._f==null){return $f(this.$t)}var c=this._f.getEnumerator();while(c.moveNext()){var b=c.current();if($$t.$fw.stringEquals(b.id(),a,true)){return b}}return $f(this.$t)},_getEnumerator:function(){return this._f.getEnumerator()},$type:new $.ig.Type("RecurrenceStorageList$1",$$t.$iw.$type.specialize(0))},true);$c("RecurrenceStorageTable$1:iy","RecurrenceStorage$1",{$t:null,_f:null,init:function($t,a){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$$t.$iw.init.call(this,this.$t);this._f=new $$4.h(String,this.$t,1,10*2);var c=a.getEnumerator();while(c.moveNext()){var b=c.current();this._f.add(b.id(),b)}},_add:function(a){this._f.add(a.id(),a);return this},_remove:function(a){this._f.remove(a.id());if(this._f.count()<=10){return new $$t.ix(this.$t,2,this._f)}return this},_c:function(a){if(this._f==null){return $f(this.$t)}var b=$f(this.$t);var c=this._f.tryGetValue(a,b);b=c.p1;return b},_getEnumerator:function(){return this._f.values().getEnumerator()},$type:new $.ig.Type("RecurrenceStorageTable$1",$$t.$iw.$type.specialize(0))},true);$c("ColorSchemeManager:g3","Object",{c:null,f:0,d:null,e:null,g:$m($$t.$ia.$type,null),init:function(a){this.f=-1;this.g=$m($$t.$ia.$type,null);$.ig.$op.init.call(this);if(a==null){throw new $$6.e(0,"dataSource")}this.c=a},h:function(){if(this.f==this.c._am()){return}this.f=this.c._am();this.d=new $$4.h($$t.$ac.$type,$$t.$ia.$type,0);if(this.e==null){this.e=new $$4.h($$t.$ac.$type,$$t.$ia.$type,0)}else{var a=null;var c=this.e.keys().getEnumerator();while(c.moveNext()){var b=c.current();if(b._i()==null){if(a==null){a=new $$4.x($$t.$ac.$type,0)}a.add(b)}}if(a!=null){var e=a.getEnumerator();while(e.moveNext()){var d=e.current();this.e.remove(d)}}}var f=this.c.getResources();var h=f.getEnumerator();while(h.moveNext()){var g=h.current();var i=g._colorScheme$i();if(i.hasValue()){this.d.add(g,i.value())}}var k=this.d.keys().getEnumerator();while(k.moveNext()){var j=k.current();if(this.e.containsKey(j)){this.e.remove(j)}}var m=f.getEnumerator();while(m.moveNext()){var l=m.current();var n=l._colorScheme$i();if(n.hasValue()){continue}if(this.e.containsKey(l)){continue}var o=this.b();this.e.add(l,o)}},b:function(){var a=new $$4.x($$t.$ia.$type,0);var b=$.ig.$ep.getValues($$t.$ia.$type);var d=b.getEnumerator();while(d.moveNext()){var c=d.current();var e=$g(c);var f=false;var h=this.d.values().getEnumerator();while(h.moveNext()){var g=h.current();if(e==g){f=true;break}}if(f){continue}var j=this.e.values().getEnumerator();while(j.moveNext()){var i=j.current();if(e==i){f=true;break}}if(f){continue}a.add(e)}var l=a.getEnumerator();while(l.moveNext()){var k=l.current();if(this.g.hasValue()&&this.g.value()==k){continue}this.g=$m($$t.$ia.$type,k);return k}if(this.g.hasValue()){var m=this.g.value();m+=1;if(m>=b.length){m=0}this.g=$m($$t.$ia.$type,m)}if(this.g.hasValue()==false){this.g=$m($$t.$ia.$type,0)}return this.g.value()},a:function(a){var $self=this;this.h();var b=a._colorScheme$i();if(b.hasValue()==false){if(this.e!=null){var c;if(function(){var d=$self.e.tryGetValue(a,c);c=d.p1;return d.ret}()){b=$m($$t.$ia.$type,c)}}else{b=$m($$t.$ia.$type,this.b())}}return b.value()},x:function(a,b){if(a==null){return b?$$t.$g3.v:null}var c=this.a(a);return this.w(c)},w:function(a){var b=null;switch(a){case 5:b=$$t.$g3.i;break;case 1:b=$$t.$g3.j;break;case 0:b=$$t.$g3.k;break;case 9:b=$$t.$g3.l;break;case 3:b=$$t.$g3.m;break;case 6:b=$$t.$g3.n;break;case 2:b=$$t.$g3.o;break;case 4:b=$$t.$g3.p;break;case 10:b=$$t.$g3.q;break;case 7:b=$$t.$g3.r;break;case 8:b=$$t.$g3.s;break;default:break}return b},y:function(a,b,c){if(a==null&&c==false){return null}return b?$$t.$g3.t:$$t.$g3.u},$type:new $.ig.Type("ColorSchemeManager",$.ig.$ot)},true);$c("ActivityTree:g4","Object",{m:null,e:null,f:false,init:function(a){$.ig.$op.init.call(this);this.e=a;this.f=false},a:function(){return this.e._h()},r:function(){this.m=null;this.f=false},aa:function(a,b,c){var d=new $$t.a(b,c);this.o(a,d)},z:function(a,b,c){if(a.isRecurrenceRoot()){return}var d=new $$t.a(a._am(),a._aj());this.o(a,d)},x:function(a){this.o(a,null)},y:function(a){var b=new $$t.a(a._am(),a._aj());var c=this.c(a,b);this.w(c,b)},ab:function(a,b,c){var $self=this;c=null;var d=$$0.$s.maxValue();var e=$$0.$s.minValue();var f=this.e;var g=f._br();var h=null;var i=null;var j=false;var l=a.getEnumerator();while(l.moveNext()){var k=l.current();var m,n,o;if(function(){var p=$self.l(k,m,o,n,i);m=p.p1;o=p.p2;n=p.p3;i=p.p4;return p.ret}()){if(i!=null){f._bc(5,i,false)}else if(String.isNullOrEmpty(o)==false){var p=function(){var q=g.z(k,o,n,i);i=q.p3;return q.ret}();if(i!=null){f._bc(5,i,false)}else if(p!=null){j=true}}else if(String.isNullOrEmpty(n)==false){if(h==null){h=new $$4.x($$6.$v.$type.specialize($.ig.$op.$type,String,String),0)}h.add(new $$6.v($.ig.$op.$type,String,String,k,o,n))}continue}var q=function(){var r=$self.d(f,k,null,i);i=r.p3;return r.ret}();if(q==null){f._bc(5,i,false);continue}else{if(q.start()<d){d=q.start()}if(q.end()>e){e=q.end()}this.v(q)}}if(h!=null){var s=h.getEnumerator();while(s.moveNext()){var r=s.current();var t=function(){var u=g.z(r._c,r._d,r._e,i);i=u.p3;return u.ret}();if(i!=null){f._bc(5,i,false)}else if(t!=null){if(t._am()<d){d=t._am()}if(t._aj()>e){e=t._aj()}}}}if(j){c=null}else if(+d!=+$$0.$s.maxValue()&&+e!=+$$0.$s.minValue()){c=new $$t.a(d,e)}return{p2:c}},u:function(a,b,c){var $self=this;b=null;a=null;c=null;var d=this.e;var e=d._c0();if(d==null){return{p0:a,p1:b,p2:c}}if(this.f){return{p0:a,p1:b,p2:c}}b=new $$4.x($.ig.$op.$type,2,0);a=new $$4.x($$t.$hm.$type,2,0);try{var f=this.a();var g=$$t.$iz._c2(e);var h=g!=null?g.count():100;var i=new $$4.q(String,0);var j=new $$4.x($$t.$hc.$type,2,h);var k=new $$4.q($$0.$aw.$type,0);var m=e.getEnumerator();while(m.moveNext()){var l=m.current();var n=null;var o=null;var p=null;var q=null;var r=null;if(function(){var s=$self.l(l,p,q,r,o);p=s.p1;q=s.p2;r=s.p3;o=s.p4;return s.ret}()){if(o!=null){d._bc(5,o,false);a.add(n)}else{if(String.isNullOrEmpty(q)==false){b.add(l);i.add(p)}else if(String.isNullOrEmpty(r)==false){if(c==null){c=new $$4.h(String,$$4.$x.$type.specialize($.ig.$op.$type),0)}var s=null;if(function(){var t=c.tryGetValue(r,s);s=t.p1;return t.ret}()==false){s=new $$4.x($.ig.$op.$type,0);c.add(r,s)}s.add1(l)}}continue}this.p(l,d,j,k,a)}if(c!=null){var t=null;var v=c.getEnumerator();while(v.moveNext()){var u=v.current();var w=u.key();for(var x=u.value().count()-1;x>=0;x-=1){var y=u.value().__inner[x];if(i.contains(w)==false){if(t==null){t=new $$4.x($.ig.$op.$type,0)}t.add1(y);u.value().removeAt(x)}}}if(t!=null){var aa=t.getEnumerator();while(aa.moveNext()){var z=aa.current();this.p(z,d,j,k,a)}}}this.m=new $$4.h($$0.$aw.$type,$$t.$g7.$type,1,k.count()+2);var ac=k.getEnumerator();while(ac.moveNext()){var ab=ac.current();var ad=f.getMonthsInYear(ab,0);var ae=new $$t.g7(ab,ad);this.m.add(ab,ae)}for(var af=0,ag=j.count();af<ag;af++){var ah=j.__inner[af];this.v(ah)}}finally{this.f=true}return{p0:a,p1:b,p2:c}},p:function(a,b,c,d,e){var $self=this;var f=null;var g=function(){var h=$self.d(b,a,null,f);f=h.p3;return h.ret}();if(g==null){b._bc(5,f,false);e.add(f);return}else{var h=g.start();var i=g.end();c.add(g);var j=$$t.$g8.getYearsSpanned(h,i);for(var k=0;k<j.length;k++){d.add(j[k])}}},c:function(a,b){var c=a.dataObject();var d=$b($$t.$z.$type,c);return d!=null?d:$b($$t.$hc.$type,$$t.$g8.create1(this.e,c,b))},o:function(a,b){var c=null;if(b!=null){c=this.c(a,b);this.w(c,b)}c=this.c(a,null);this.v(c)},v:function(a){var $self=this;var b=this.a();var c=a.start();var d=a.end();var e=$$t.$g8.getYearsSpanned(c,d);if(this.m==null){this.m=new $$4.h($$0.$aw.$type,$$t.$g7.$type,1,10)}for(var g=0;g<e.length;g++){var f=e[g];var h=null;if(function(){var i=$self.m.tryGetValue(f,h);h=i.p1;return i.ret}()==false){var i=b.getMonthsInYear(f,0);h=new $$t.g7(f,i);this.m.add(f,h)}h.i(a,this,b)}},w:function(a,b){var $self=this;if(b==null){this.ac(a);return}var c=$$t.$g8.getYearsSpanned(b.start(),b.end());for(var e=0;e<c.length;e++){var d=c[e];var f=null;if(this.m==null||function(){var g=$self.m.tryGetValue(d,f);f=g.p1;return g.ret}()==false){return}f.l(a,b,this.a())}},ac:function(a){if(this.m==null){return}var c=this.m.values().getEnumerator();while(c.moveNext()){var b=c.current();b.l(a,null,this.a())}},q:function(a){if(this.m==null){return}var b=new $$4.q($.ig.$op.$type,0);var d=a.getEnumerator();while(d.moveNext()){var c=d.current();b.add(c)}var f=this.m.values().getEnumerator();while(f.moveNext()){var e=f.current();e.j(b)}},ad:function(){if(this.f==false){}},j:function(a,b,c,d){d=new $$4.x($$0.$s.$type,0);if(this.m==null||this.m.count()==0){return{ret:false,p3:d}}var e=new $$4.q($$0.$s.$type,0);var f=function(g,h){e.add(g);if(c){return false}return true};var h=this.m.values().getEnumerator();while(h.moveNext()){var g=h.current();g.k(a,b,f)}if(c==false&&e.count()>0){d=new $$4.x($$0.$s.$type,1,e)}return{ret:e.count()>0,p3:d}},b:function(a,b){var c=new $$4.h($$0.$ax.$type,$$0.$aw.$type,0);var d=$$t.$iz._bd(b);var e=function(f,g){var h=f.getTime();var i=0;if(function(){var j=c.tryGetValue(h,i);i=j.p1;return j.ret}()==false){c.add(h,0)}i+=1;c.item(h,i);return true};var g=this.m.values().getEnumerator();while(g.moveNext()){var f=g.current();f.k(a,d,e)}var h=new Array(c.count());var i=new Array(c.count());var j=0;var l=c.getEnumerator();while(l.moveNext()){var k=l.current();i[j]=$.ig.Date.prototype.fromTicks(k.key());h[j]=k.value();j+=1}var m=new $$t.h3(a,b);m._t(i,h);m.hasActivity(i.length>0);return m},t:function(a,b,c){this.ad();if(this.m==null||this.m.count()==0){return}var e=this.m.values().getEnumerator();while(e.moveNext()){var d=e.current();d.k(a,b,c)}},n:function(a,b){var c=new $$4.q($.ig.$op.$type,0);var d=function(e,f){c.add(f.dataObjectInternal());return true};this.t(a,b,d);return $$t.$fw.listFromIEnumerable(c,c.count())},g:function(a,b,c){return b>=a.end()?false:b<=a.start()&&c>=a.end()},l:function(a,b,c,d,e){var $self=this;return{ret:function(){var f=$$t.$g4.k($self.e,a,b,c,d,e);b=f.p2;c=f.p3;d=f.p4;e=f.p5;return f.ret}(),p1:b,p2:c,p3:d,p4:e}},k:function(a,b,c,d,e,f){return{ret:function(){var g=$$t.$g4.h(a,b,c,d,e,f);c=g.p2;d=g.p3;e=g.p4;f=g.p5;return g.ret}(),p2:c,p3:d,p4:e,p5:f}},h:function(a,b,c,d,e,f){c=null;d=null;e=null;f=null;var g=$b($$t.$z.$type,b);if(g!=null){c=g.id();d=g.recurrence();e=g.recurrenceId();return{ret:String.isNullOrEmpty(d)==false||String.isNullOrEmpty(e)==false,p2:c,p3:d,p4:e,p5:f}}var h=null;var i=null;var j=a.appointmentPropertyMappings()._item1(6)!=null;var k=a.appointmentPropertyMappings()._item1(10)!=null;if(j){var l=a._cj(b,0,i,h);i=l.p2;h=l.p3;if(h!=null){f=h;return{ret:false,p2:c,p3:d,p4:e,p5:f}}c=$b(String,i);var m=a._cj(b,6,i,h);i=m.p2;h=m.p3;if(h!=null){f=h;return{ret:false,p2:c,p3:d,p4:e,p5:f}}}d=$b(String,i);if(k){var n=a._cj(b,10,i,h);i=n.p2;h=n.p3;if(h!=null){f=h;return{ret:false,p2:c,p3:d,p4:e,p5:f}}}e=$b(String,i);var o=null;var p=$$t.$e._c(d,o);o=p.p1;if(o!=null){f=o}return{ret:String.isNullOrEmpty(d)==false||String.isNullOrEmpty(e)==false,p2:c,p3:d,p4:e,p5:f}},d:function(a,b,c,d){d=null;var e=$b($$t.$z.$type,b);if(e!=null){return{ret:e,p3:d}}return{ret:function(){var f=$$t.$g8.create2(a,b,c,d);d=f.p3;return f.ret}(),p3:d}},i:function(a,b){if(a==null){return false}var d=a.getEnumerator();while(d.moveNext()){var c=d.current();if(b==null||b.length==0){return true}for(var f=0;f<b.length;f++){var e=b[f];if($$t.$fw.stringEquals(c.resourceId(),e,true)){return true}}}return false},s:function(){this.m=null;this.e=null},$type:new $.ig.Type("ActivityTree",$.ig.$ot)},true);$c("DayNode:g5","Object",{a:null,init:function(a,b){$.ig.$op.init.call(this);this._g=a._g;this._f=a._f;this._e=b},_g:0,_f:0,_e:0,b:function(){return this.a},i:function(a){if(this.a==null){this.a=new $$t.ha(0,a);return}else{this.a=this.a._add(a)}},l:function(a){if(this.a==null){return}if(this.a._contains(a)){this.a=this.a._remove(a);return}},j:function(a){if(this.a==null){return}this.a=this.a._bulkRemove(a)},d:function(a){if(this.a==null||this.a._isEmpty()){return false}return $$t.$g4.i(this.a,a)},k:function(a,b,c){var d=$.ig.Date.prototype.fromValues(this._g,this._f,this._e,0,0,0,0);var e=d;var f=$.ig.Date.prototype.addDays(e,1);if($$t.$a._d(a.start(),a.end(),e,f,true)==false){return}var g=this.b();var i=g.getEnumerator();while(i.moveNext()){var h=i.current();if($$t.$iz._ce(h,b)==false){continue}e=h.start();f=h.end();if($$t.$a._d(a.start(),a.end(),e,f,true)){if(c(d,h)==false){return}}}},c:function(a,b,c,d,e){if(this.d(c)==false){return false}var f=$.ig.Date.prototype.fromValues(this._g,this._f,this._e,0,0,0,0);var g=$.ig.Date.prototype.addDays(f,1);if($$t.$a._d(b.start(),b.end(),f,g,true)==false){return false}var h=d.count();var i=this.b();var k=i.getEnumerator();while(k.moveNext()){var j=k.current();if($$t.$iz._ce(j,c)==false){continue}f=j.start();g=j.end();if($$t.$a._d(b.start(),b.end(),f,g,true)){if(e){return true}d.add(j.dataObjectInternal())}}return d.count()>h},toString:function(){return $6("{0}/{1}/{2}",this._f,this._e,this._g)},$type:new $.ig.Type("DayNode",$.ig.$ot)},true);$c("MonthNode:g6","Object",{a:null,d:null,b:null,init:function(a,b,c){$.ig.$op.init.call(this);this._g=a._g;this._f=b;this.a=new Array(c)},_g:0,_f:0,c:function(){if(this.b==null){var a=$.ig.Date.prototype.fromValues(this._g,this._f,1,0,0,0,0);var b=$.ig.Date.prototype.addDays(a,this.a.length);this.b=new $$t.a(a,b)}return this.b},j:function(a){if(this.d!=null){this.d=this.d._bulkRemove(a)}for(var b=0;b<this.a.length;b++){var c=this.a[b];if(c==null){continue}c.j(a)}},k:function(a,b,c){if(this.c()._intersectsWith(a,true)==false){return}var d=a.start().getFullYear()==this._g&&$.ig.Date.prototype.getMonth(a.start())==this._f?a.start().getDate():1;if(this.d!=null&&this.d._isEmpty()==false){if($$t.$g4.i(this.d,b)){var e=$.ig.Date.prototype.fromValues(this._g,this._f,d,0,0,0,0);while(e.getFullYear()==this._g&&$.ig.Date.prototype.getMonth(e)==this._f){if(e>=a.start()){var g=this.d.getEnumerator();while(g.moveNext()){var f=g.current();if($$t.$iz._ce(f,b)){if(c(e,f)==false){return}}}}e=$.ig.Date.prototype.addDays(e,1);if(e>a.end()){break}}}}if(this.a!=null){for(var h=d;h<=this.a.length;h++){var i=h-1;if(this.a[i]==null){continue}var j=$.ig.Date.prototype.fromValues(this._g,this._f,h,0,0,0,0);if(j>a.end()){break}this.a[i].k(a,b,c)}}},i:function(a,b,c,d){var e=this.c();if($$t.$g4.g(e,b,c)){if(this.d==null){this.d=new $$t.ha(0,a)}else{this.d=this.d._add(a)}return}var f=$$t.$g8.getDaysSpanned(b,c,this._g,this._f,d);for(var h=0;h<f.length;h++){var g=f[h];var i=g-1;if(this.a[i]==null){this.a[i]=new $$t.g5(this,g)}var j=this.a[i];j.i(a)}},l:function(a,b,c){if(b!=null&&this.c()._intersectsWith(b,true)==false){return}if(this.d!=null){var d=this.d._contains(a);if(d){this.d=this.d._remove(a);return}}var e=1;var f=this.a.length;if(b!=null){var g=c.getMonthsInYear(this._g,0);var h=$$t.$g8.getDaysSpanned1(b.start(),b.end(),this._g,this._f,this.a.length,g);if(h!=null){e=h[0];f=h[h.length-1]}}for(var i=e;i<=f;i++){var j=i-1;var k=this.a[j];if(k==null){continue}k.l(a)}},e:function(a,b,c,d,e){var f=this.c();var g=$$t.$a._a(b,f);if(g==null){return false}if(this.d!=null){var i=this.d.getEnumerator();while(i.moveNext()){var h=i.current();if($$t.$iz._ce(h,c)==false){continue}d.add(h.dataObjectInternal())}}for(var j=0;j<this.a.length;j++){var k=this.a[j];if(k==null){continue}if(k.c(a,g,c,d,e)&&e){return true}}return false},toString:function(){return $6("{0}/{1}",this._f,this._g)},$type:new $.ig.Type("MonthNode",$.ig.$ot)},true);$c("YearNode:g7","Object",{a:null,d:null,b:null,init:function(a,b){$.ig.$op.init.call(this);this._g=a;this.a=new Array(b)},_g:0,f:function(){return this.a.length},c:function(){if(this.b==null){this.b=new $$t.a($.ig.Date.prototype.fromValues(this._g,1,1,0,0,0,0),$.ig.Date.prototype.fromValues(this._g+1,1,1,0,0,0,0))}return this.b},j:function(a){if(this.d!=null){this.d=this.d._bulkRemove(a)}for(var b=0;b<this.a.length;b++){var c=this.a[b];if(c==null){continue}c.j(a)}},k:function(a,b,c){if(this.c()._intersectsWith(a,true)==false){return}var d=a.start().getFullYear()==this._g?$.ig.Date.prototype.getMonth(a.start()):1;if(this.d!=null&&this.d._isEmpty()==false){var e=$.ig.Date.prototype.fromValues(this._g,d,1,0,0,0,0);while(e.getFullYear()==this._g){if(e>=a.start()){var g=this.d.getEnumerator();while(g.moveNext()){var f=g.current();if($$t.$iz._ce(f,b)){if(c(e,f)==false){return}}}}e=$.ig.Date.prototype.addDays(e,1);if(e>a.end()){break}}}if(this.a!=null){for(var h=d;h<=this.a.length;h++){var i=h-1;if(this.a[i]==null){continue}this.a[i].k(a,b,c)}}},l:function(a,b,c){if(b!=null&&this.c()._intersectsWith(b,true)==false){return}if(this.d!=null){var d=this.d._contains(a);if(d){this.d=this.d._remove(a);return}}var e=1;var f=this.a.length-1;if(b!=null){var g=$$t.$g8.getMonthsSpanned1(b.start(),b.end(),this._g,this.a.length);if(g!=null){e=g[0];f=g[g.length-1]}}for(var h=e;h<=f;h++){var i=h-1;var j=this.a[i];if(j==null){continue}j.l(a,b,c)}},i:function(a,b,c){var d=a.start();var e=a.end();var f=this.c();if($$t.$g4.g(f,d,e)){if(this.d==null){this.d=new $$t.ha(0,a)}else{this.d=this.d._add(a)}return}var g=$$t.$g8.getMonthsSpanned(d,e,this._g,c);for(var i=0;i<g.length;i++){var h=g[i];var j=h-1;if(this.a[j]==null){var k=c.getDaysInMonth(this._g,h,0);this.a[j]=new $$t.g6(this,h,k)}var l=this.a[j];l.i(a,d,e,c)}},e:function(a,b,c,d,e){var f=this.c();var g=$$t.$a._a(b,f);if(g==null){return false}if(this.d!=null){var i=this.d.getEnumerator();while(i.moveNext()){var h=i.current();if($$t.$iz._ce(h,c)==false){continue}d.add(h.dataObjectInternal())}}for(var j=0;j<this.a.length;j++){var k=this.a[j];if(k==null){continue}var l=k.c();if(g._intersectsWith1(l.start(),l.end(),true)==false){continue}if(k.e(a,g,c,d,e)&&e){return true}}return false},toString:function(){return $6("{0}",this._g)},$type:new $.ig.Type("YearNode",$.ig.$ot)},true);$c("DataObjectWrapper:g8","Object",{init:function(a){$.ig.$op.init.call(this);this.item(a)},create:function(a,b){var c=null;return function(){var d=$$t.$g8.create2(a,b,null,c);c=d.p3;return d.ret}()},create1:function(a,b,c){var d=null;return function(){var e=$$t.$g8.create2(a,b,c,d);d=e.p3;return e.ret}()},create2:function(a,b,c,d){d=null;var e=new $$t.g8(b);var f=null;if(function(){var g=e.j(a,f,d);f=g.p1;d=g.p2;return g.ret}()){e.resourceId(f)}if(c!=null){e.start(c.start());e.end(c.end());return{ret:e,p3:d}}else{var g,h;if(function(){var i=e.k(a,g,h,d);g=i.p1;h=i.p2;d=i.p3;return i.ret}()){if(h<g){var i=$$t.$a._i(h);h=g;g=i}e.start(g);e.end(h);return{ret:e,p3:d}}else{return{ret:null,p3:d}}}},_item:null,item:function(a){if(arguments.length===1){this._item=a;return a}else{return this._item}},_start:new Date,start:function(a){if(arguments.length===1){this._start=a;return a}else{return this._start}},_end:new Date,end:function(a){if(arguments.length===1){this._end=a;return a}else{return this._end}},_resourceId:null,resourceId:function(a){if(arguments.length===1){this._resourceId=a;return a}else{return this._resourceId}},dataObjectInternal:function(){return this.item()},getYearsSpanned:function(a,b){b=$$t.$fx.i(a,b);var c=a.getFullYear();var d=b.getFullYear();var e=new Array(d-c+1);for(var f=c;f<=d;f++){var g=f-c;e[g]=f}return e},getMonthsSpanned:function(a,b,c,d){var e=d.getMonthsInYear(c,0);return $$t.$g8.getMonthsSpanned1(a,b,c,e)},getMonthsSpanned1:function(a,b,c,d){if(a.getFullYear()==b.getFullYear()&&$.ig.Date.prototype.getMonth(a)==$.ig.Date.prototype.getMonth(b)){return[$.ig.Date.prototype.getMonth(a)]}b=$$t.$fx.i(a,b);var e=a.getFullYear()<c?1:$.ig.Date.prototype.getMonth(a);
var f=b.getFullYear()>c?d:$.ig.Date.prototype.getMonth(b);var g=new Array(f-e+1);for(var h=0;h<g.length;h++){g[h]=e+h}return g},getDaysSpanned:function(a,b,c,d,e){var f=e.getDaysInMonth(c,d,0);var g=e.getMonthsInYear(c,0);return $$t.$g8.getDaysSpanned1(a,b,c,d,f,g)},getDaysSpanned1:function(a,b,c,d,e,f){if(a.getFullYear()==b.getFullYear()&&a.getFullYear()==c&&$.ig.Date.prototype.getMonth(a)==$.ig.Date.prototype.getMonth(b)&&$.ig.Date.prototype.getMonth(b)==d&&a.getDate()==b.getDate()){return[a.getDate()]}b=$$t.$fx.i(a,b);if(b.getFullYear()<c||a.getFullYear()>c){return new Array(0)}var g=a.getFullYear()<c?1:$.ig.Date.prototype.getMonth(a);var h=b.getFullYear()>c?f:$.ig.Date.prototype.getMonth(b);if(h<d||g>d){return new Array(0)}var i=$.ig.Date.prototype.fromValues(c,d,1,0,0,0,0);var j=$.ig.Date.prototype.fromValues(c,d,e,0,0,0,0);if(a>i){i=a}if(b<j){j=b}var k=i.getDate();var l=j.getDate();var m=new Array(l-k+1);for(var n=k;n<=l;n++){var o=n-k;m[o]=n}return m},k:function(a,b,c,d){d=null;b=$$0.$s.minValue();c=$$0.$s.minValue();var e=null;var f,g,h=null;var i=a._cj(this.item(),4,f,e);f=i.p2;e=i.p3;if(e!=null){d=e;return{ret:false,p1:b,p2:c,p3:d}}var j=a._cj(this.item(),5,g,e);g=j.p2;e=j.p3;if(e!=null){d=e;return{ret:false,p1:b,p2:c,p3:d}}var k=a._cj(this.item(),13,h,e);h=k.p2;e=k.p3;if(e!=null){d=e;return{ret:false,p1:b,p2:c,p3:d}}b=f;c=g;if(b>c){var l=$$t.$a._i(c);c=b;b=l;var m=a._cm(this.item(),4,b,e);e=m.p3;if(e!=null){d=e;return{ret:false,p1:b,p2:c,p3:d}}var n=a._cm(this.item(),5,c,e);e=n.p3;if(e!=null){d=e;return{ret:false,p1:b,p2:c,p3:d}}}var o=h==null?false:h;if(o){b=$$t.$x._ah(b,o);c=$$t.$x._ag(c,o)}return{ret:true,p1:b,p2:c,p3:d}},j:function(a,b,c){c=null;b=null;var d=null;var e=null;var f=a._cj(this.item(),8,e,d);e=f.p2;d=f.p3;if(d!=null){c=d;return{ret:false,p1:b,p2:c}}b=e;return{ret:true,p1:b,p2:c}},equals:function(a){var b=$b($$t.$g8.$type,a);if($$t.$g8.l_op_Inequality(b,null)){return $.ig.$op.referenceEquals(this.item(),b.item())}else{return $.ig.$op.equals.call(this,a)}},getHashCode:function(){return this.item().getHashCode()},toString:function(){return $6("{0} - {1}",this.start(),this.end())},l_op_Equality:function(a,b){if($.ig.$op.referenceEquals(a,null)||$.ig.$op.referenceEquals(b,null)){return false}return a.equals(b)},l_op_Inequality:function(a,b){if($.ig.$op.referenceEquals(a,null)||$.ig.$op.referenceEquals(b,null)){return true}return a.equals(b)==false},$type:new $.ig.Type("DataObjectWrapper",$.ig.$ot,[$$t.$hc.$type])},true);$c("ActivityStorage:g9","Object",{init:function(){$.ig.$op.init.call(this)},_add:function(a){},_remove:function(a){},_contains:function(a){},_getEnumerator:function(){},_isEmpty:function(){},_bulkRemove:function(a){},getEnumerator1:function(){return this._getEnumerator()},getEnumerator:function(){return this._getEnumerator()},_hashSetContains:function(a,b){var d=a.getEnumerator();while(d.moveNext()){var c=d.current();if(c==b){return true}}return false},$type:new $.ig.Type("ActivityStorage",$.ig.$ot,[$$0.$bw.$type.specialize($$t.$hc.$type)])},true);$c("ActivityStorageList:ha","ActivityStorage",{_h:null,init:function(a,b){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$g9.init.call(this);this._h=new $$4.x($$t.$hc.$type,2,10);this._h.add(b)},init1:function(a,b){$$t.$g9.init.call(this);this._h=new $$4.x($$t.$hc.$type,1,b)},_add:function(a){if(this._contains(a)){return this}this._h.add(a);var b=this;if(this._h.count()>10){b=new $$t.hb(this._h)}return b},_remove:function(a){for(var b=this._h.count()-1;b>=0;b-=1){if(this._h.__inner[b].dataObjectInternal()==a.dataObjectInternal()){this._h.removeAt(b)}}return this},_bulkRemove:function(a){if(this._h==null||this._h.count()==0){return this}for(var b=this._h.count()-1;b>=0;b-=1){if($$t.$g9._hashSetContains(a,this._h.__inner[b].dataObjectInternal())){this._h.removeAt(b)}}return this},_contains:function(a){var c=this._h.getEnumerator();while(c.moveNext()){var b=c.current();if(b.equals(a)){return true}}return false},_getEnumerator:function(){return this._h.getEnumerator()},_isEmpty:function(){return this._h==null||this._h.count()==0},$type:new $.ig.Type("ActivityStorageList",$$t.$g9.$type)},true);$c("ActivityStorageHashSet:hb","ActivityStorage",{_h:null,init:function(a){$$t.$g9.init.call(this);this._h=new $$4.q($$t.$hc.$type,0);var c=a.getEnumerator();while(c.moveNext()){var b=c.current();this._h.add(b)}},_add:function(a){this._h.add(a);return this},_remove:function(a){this._h.remove(a);if(this._h.count()<=10){var b=new $$t.ha(1,this._h);return b}return this},_bulkRemove:function(a){if(this._h==null||this._h.count()==0){return this}var b=new $$4.x($$t.$hc.$type,0);var d=this._h.getEnumerator();while(d.moveNext()){var c=d.current();if($$t.$g9._hashSetContains(a,c.dataObjectInternal())){b.add(c)}}var f=b.getEnumerator();while(f.moveNext()){var e=f.current();this._h.remove(e)}if(this._h.count()<10){return new $$t.ha(1,this._h)}else{return this}},_contains:function(a){return this._h.contains(a)},_getEnumerator:function(){return this._h.getEnumerator()},_isEmpty:function(){return this._h==null||this._h.count()==0},$type:new $.ig.Type("ActivityStorageHashSet",$$t.$g9.$type)},true);$c("AppointmentsChangedEventArgs:he","EventArgs",{_e:0,_b:null,init:function(a,b,c){$$0.$w.init.call(this);this._b=b;this._e=a},action:function(){return this._e},affectedRange:function(){return this._b},_isExternal:false,isExternal:function(a){if(arguments.length===1){this._isExternal=a;return a}else{return this._isExternal}},$type:new $.ig.Type("AppointmentsChangedEventArgs",$$0.$w.$type)},true);$c("ResourcesChangedEventArgs:hg","EventArgs",{_c:null,_e:0,init:function(a,b){$$0.$w.init.call(this);this._c=a;this._e=b},_affectedResources:null,affectedResources:function(a){if(arguments.length===1){this._affectedResources=a;return a}else{return this._affectedResources}},_action:0,action:function(a){if(arguments.length===1){this._action=a;return a}else{return this._action}},isExternal:function(){return true},$type:new $.ig.Type("ResourcesChangedEventArgs",$$0.$w.$type)},true);$c("ActivityChangedEventArgs$2:hh","EventArgs",{$t:null,$u:null,init:function($t,$u,a,b,c,d){this.$t=$t;this.$u=$u;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t,this.$u)}$$0.$w.init.call(this);this.activity(a);this.property(b);this.oldValue(c);this.newValue(d)},_activity:null,activity:function(a){if(arguments.length===1){this._activity=a;return a}else{return this._activity}},_property:null,property:function(a){if(arguments.length===1){this._property=a;return a}else{return this._property}},_oldValue:null,oldValue:function(a){if(arguments.length===1){this._oldValue=a;return a}else{return this._oldValue}},_newValue:null,newValue:function(a){if(arguments.length===1){this._newValue=a;return a}else{return this._newValue}},$type:new $.ig.Type("ActivityChangedEventArgs$2",$$0.$w.$type)},true);$c("AppointmentPropertyChangedEventArgs:hj","ActivityChangedEventArgs$2",{init:function(a,b,c,d){$$t.$hh.init.call(this,$$t.$z.$type,$$t.$h8.$type,a,b,c,d)},hasRecurrenceChanged:function(){if(this.activity().isRecurrenceRoot()){return true}if(this.property()==6){return true}return false},$type:new $.ig.Type("AppointmentPropertyChangedEventArgs",$$t.$hh.$type.specialize($$t.$z.$type,$$t.$h8.$type))},true);$c("ResourcePropertyChangedEventArgs:hl","EventArgs",{init:function(a,b,c){$$0.$w.init.call(this);this.resource(a);this.property(b)},_resource:null,resource:function(a){if(arguments.length===1){this._resource=a;return a}else{return this._resource}},_property:0,property:function(a){if(arguments.length===1){this._property=a;return a}else{return this._property}},$type:new $.ig.Type("ResourcePropertyChangedEventArgs",$$0.$w.$type)},true);$c("scheduler.DataError:hm","Object",{init:function(a){$.ig.$op.init.call(this);this.exception(a)},_exception:null,exception:function(a){if(arguments.length===1){this._exception=a;return a}else{return this._exception}},$type:new $.ig.Type("scheduler.DataError",$.ig.$ot)},true);$c("scheduler.IncompletePropertyMappingsError$1:hn","scheduler.DataError",{$t:null,_c:null,init:function($t,a,b){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$$t.$hm.init.call(this,b);this._c=new $$4.x(this.$t,1,a)},missingMappings:function(){return this._c},$type:new $.ig.Type("scheduler.IncompletePropertyMappingsError$1",$$t.$hm.$type)},true);$c("scheduler.InvalidPropertyMappingError$1:ho","scheduler.DataError",{$t:null,_b:null,init:function($t,a,b,c){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$$t.$hm.init.call(this,c);this._b=a;this.invalidPropertyName(b)},property:function(){return this._property$i.apply(this,arguments)},_property$i:function(){return this._b},_invalidPropertyName:null,invalidPropertyName:function(a){if(arguments.length===1){this._invalidPropertyName=a;return a}else{return this._invalidPropertyName}},$type:new $.ig.Type("scheduler.InvalidPropertyMappingError$1",$$t.$hm.$type)},true);$c("scheduler.DataObjectModificationError$1:hp","scheduler.DataError",{$t:null,init:function($t,a,b,c){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$$t.$hm.init.call(this,c);this.dataObject(b)},activity:function(a){if(arguments.length===1){this._activity$i.apply(this,arguments);return a}else{return this._activity$i.apply(this,arguments)}},__activity$i:null,_activity$i:function(a){if(arguments.length===1){this.__activity$i=a;return a}else{return this.__activity$i}},_dataObject:null,dataObject:function(a){if(arguments.length===1){this._dataObject=a;return a}else{return this._dataObject}},$type:new $.ig.Type("scheduler.DataObjectModificationError$1",$$t.$hm.$type)},true);$c("scheduler.DataObjectPropertyAccessError$1:hq","scheduler.DataError",{$t:null,init:function($t,a,b,c,d,e){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$$t.$hm.init.call(this,e);this.dataObject(a);this._property$i(b);this.invalidValue(d)},_dataObject:null,dataObject:function(a){if(arguments.length===1){this._dataObject=a;return a}else{return this._dataObject}},property:function(a){if(arguments.length===1){this._property$i.apply(this,arguments);return a}else{return this._property$i.apply(this,arguments)}},__property$i:null,_property$i:function(a){if(arguments.length===1){this.__property$i=a;return a}else{return this.__property$i}},_invalidValue:null,invalidValue:function(a){if(arguments.length===1){this._invalidValue=a;return a}else{return this._invalidValue}},$type:new $.ig.Type("scheduler.DataObjectPropertyAccessError$1",$$t.$hm.$type)},true);$c("scheduler.DateRecurrenceParseError:hr","scheduler.DataError",{init:function(a,b){$$t.$hm.init.call(this,a);this.context(b==null?String.empty():b)},_context:null,context:function(a){if(arguments.length===1){this._context=a;return a}else{return this._context}},$type:new $.ig.Type("scheduler.DateRecurrenceParseError",$$t.$hm.$type)},true);$c("ListModificationManager:hs","Object",{init:function(a){$.ig.$op.init.call(this);this._c=a},_c:null,d:function(){},e:function(){},f:function(a){},a:function(a,b){},b:function(a,b){},g:function(){},h:function(a,b){},i:function(){},j:function(){},$type:new $.ig.Type("ListModificationManager",$.ig.$ot)},true);$c("PropertyAccessor:ht","Object",{init:function(){$.ig.$op.init.call(this)},a:function(instance_,a){var b=a in instance_;if(b){return new $$t.hu(a)}else{return null}},c:function(){},b:function(a){},d:function(a,b){},$type:new $.ig.Type("PropertyAccessor",$.ig.$ot)},true);$c("JSPropertyAccessor:hu","PropertyAccessor",{init:function(a){$$t.$ht.init.call(this);this.propertyName(a)},_propertyName:null,propertyName:function(a){if(arguments.length===1){this._propertyName=a;return a}else{return this._propertyName}},c:function(){return null},b:function(instance_){if(typeof instance_[this.propertyName()]=="function")return instance_[this.propertyName()]();return instance_[this.propertyName()]},d:function(instance_,value_){if(typeof instance_[this.propertyName()]=="function"){instance_[this.propertyName()](value_)}else{instance_[this.propertyName()]=value_}return},e:function(instance_,propName_){propName_=$$t.$fw.pascalCaseToCamelCase(propName_);return propName_ in instance_},$type:new $.ig.Type("JSPropertyAccessor",$$t.$ht.$type)},true);$c("scheduler.OperationResultBase:hv","Object",{_b:null,init:function(){$.ig.$op.init.call(this);this.status(0)},_status:0,status:function(a){if(arguments.length===1){this._status=a;return a}else{return this._status}},_completed:null,completedCallback:function(a){if(arguments.length===1){if(a!=this._b){this._b=a}return a}else{return this._b}},_g:function(){if(this._completed!=null){this._completed(this,$$0.$w.empty)}if(this.completedCallback()!=null){this.completedCallback()(this)}},_f:function(){this.status(1);this._g()},_e:function(){this.status(2);this._g()},$type:new $.ig.Type("scheduler.OperationResultBase",$.ig.$ot)},true);$c("scheduler.DateRangeQueryResultBase:hw","scheduler.OperationResultBase",{_h:null,_m:null,_l:null,init:function(a,b){$$t.$hv.init.call(this);this._h=a;if(b==null){b=new Array(0)}this._m=new $$4.x($$t.$ac.$type,1,b);this._l=new $$4.x($$t.$hm.$type,0)},range:function(){return this._h},resources:function(){return this._m},errors:function(){return this._l==null?new $$4.x($$t.$hm.$type,2,0):this._l},_n:function(a){if(this._l==null){this._l=new $$4.x($$t.$hm.$type,0)}this._l.add(a)},$type:new $.ig.Type("scheduler.DateRangeQueryResultBase",$$t.$hv.$type)},true);$c("scheduler.ActivityOperationResult$1:hx","scheduler.OperationResultBase",{$t:null,init:function($t,a,b,c){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$$t.$hv.init.call(this);this._activity$i(a);this.operation(b);this.error(c)},activity:function(a){if(arguments.length===1){this._activity$i.apply(this,arguments);return a}else{return this._activity$i.apply(this,arguments)}},__activity$i:null,_activity$i:function(a){if(arguments.length===1){this.__activity$i=a;return a}else{return this.__activity$i}},_operation:0,operation:function(a){if(arguments.length===1){this._operation=a;return a}else{return this._operation}},_error:null,error:function(a){if(arguments.length===1){this._error=a;return a}else{return this._error}},_k:function(a){this.error(a);this._f()},$type:new $.ig.Type("scheduler.ActivityOperationResult$1",$$t.$hv.$type)},true);$c("scheduler.AppointmentOperationResult:hy","scheduler.ActivityOperationResult$1",{init:function(a,b,c){c=c!==void 0?c:null;$$t.$hx.init.call(this,$$t.$z.$type,a,b,c)},appointment:function(){return $b($$t.$z.$type,this._activity$i())},$type:new $.ig.Type("scheduler.AppointmentOperationResult",$$t.$hx.$type.specialize($$t.$z.$type))},true);$c("scheduler.ActivityQueryResult$1:hz","scheduler.DateRangeQueryResultBase",{$t:null,init:function($t,a,b){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$$t.$hw.init.call(this,a,b)},_activities:null,activities:function(a){if(arguments.length===1){this._activities=a;return a}else{return this._activities}},__o:null,$type:new $.ig.Type("scheduler.ActivityQueryResult$1",$$t.$hw.$type)},true);$c("scheduler.AppointmentQueryResult:h0","scheduler.ActivityQueryResult$1",{init:function(a,b){$$t.$hz.init.call(this,$$t.$z.$type,a,b)},appointments:function(a){if(arguments.length===1){$$t.$hz.activities.call(this,new $$4.x($$t.$z.$type,1,a));return a}else{return $$t.$hz.activities.call(this)}},$type:new $.ig.Type("scheduler.AppointmentQueryResult",$$t.$hz.$type.specialize($$t.$z.$type))},true);$c("scheduler.DateQueryResultBase:h2","scheduler.DateRangeQueryResultBase",{init:function(a,b){$$t.$hw.init.call(this,a,b)},_dates:null,dates:function(a){if(arguments.length===1){this._dates=a;return a}else{return this._dates}},_hasActivity:false,hasActivity:function(a){if(arguments.length===1){this._hasActivity=a;return a}else{return this._hasActivity}},$type:new $.ig.Type("scheduler.DateQueryResultBase",$$t.$hw.$type)},true);$c("scheduler.DateQueryResult:h1","scheduler.DateQueryResultBase",{init:function(a,b,c){$$t.$h2.init.call(this,a,b);this.findFirst(c)},_findFirst:false,findFirst:function(a){if(arguments.length===1){this._findFirst=a;return a}else{return this._findFirst}},$type:new $.ig.Type("scheduler.DateQueryResult",$$t.$h2.$type)},true);$c("ActivityCountQueryResult:h3","scheduler.DateQueryResultBase",{_r:null,_q:null,init:function(a,b){$$t.$h2.init.call(this,a,b);this.dates(new $$4.x($$0.$s.$type,2,0));this._q=new Array(0)},_t:function(a,b){var c=new $$4.x($$t.$h4.$type,2,a.length);for(var d=0;d<a.length;d++){c.add(new $$t.h4(a[d],b[d]))}c.sort1(new $$t.h5);var e=new $$4.x($$0.$s.$type,2,c.count());var f=new $$4.x($$0.$aw.$type,2,c.count());$$t.$h4.c(c,e,f);this.dates(e);this._q=f.toArray()},_item:function(a){var $self=this;if(this.range().contains(a)==false){return $m($$0.$aw.$type,null)}var b=this.dates();var c=null;if(b.count()>10){if(this._r==null){this._r=new $$4.h(String,$$0.$aw.$type,1,b.count());for(var d=0,e=b.count();d<e;d++){c=$$t.$b1.u(b.__inner[d]);this._r.add(c,this._q[d])}}}if(this._r!=null){c=$$t.$b1.u($.ig.Date.prototype.getDate(a));var f=0;if(function(){var g=$self._r.tryGetValue(c,f);f=g.p1;return g.ret}()){return $m($$0.$aw.$type,f)}else{return $m($$0.$aw.$type,null)}}else{for(var g=0,h=b.count();g<h;g++){if(+$.ig.Date.prototype.getDate(b.__inner[g])==+a){return $m($$0.$aw.$type,this._q[g])}}return $m($$0.$aw.$type,null)}},$type:new $.ig.Type("ActivityCountQueryResult",$$t.$h2.$type)},true);$c("DateWithCount:h4","Object",{init:function(a,b){$.ig.$op.init.call(this);this._a=a;this._b=b},_a:new Date,_b:0,c:function(a,b,c){var e=a.getEnumerator();while(e.moveNext()){var d=e.current();b.add(d._a);c.add(d._b)}},$type:new $.ig.Type("DateWithCount",$.ig.$ot)},true);$c("DateWithCountSortComparer:h5","Object",{init:function(){$.ig.$op.init.call(this)},compare:function(a,b){if(a==null||b==null){return 0}var c=a._a.getTime();var d=b._a.getTime();return c<d?-1:c>d?1:0},$type:new $.ig.Type("DateWithCountSortComparer",$.ig.$ot,[$$6.$ad.$type.specialize($$t.$h4.$type)])},true);$c("JSItemsSourceProxy:ga","Object",{___dataSource:null,init:function(a){$.ig.$op.init.call(this);this.___dataSource=a},_create:function(a,b,c,d){return new $$t.gb(a,b,c,d)},_d:function(){return this.___dataSource},_initialize:function(){},_indexOf:function(a){},_listCount:function(){},_isBindingPending:function(){return false},_notifyExternalAdd:function(a){var b=$$t.$fw.listFromIEnumerable(a,a.length);this._d()._du(0,b,null)},_notifyExternalDelete:function(a){var b=$$t.$fw.listFromIEnumerable(a,a.length);this._d()._du(1,null,b)},_hookAddRemoveEvents:function(a){},_add:function(id_,dataObject_){},_del:function(a,b){},_destroy:function(){this._hookAddRemoveEvents(false)},getEnumerator:function(){},$type:new $.ig.Type("JSItemsSourceProxy",$.ig.$ot,[$$0.$bt.$type])},true);$c("JSIGDataSourceWrapper:gb","JSItemsSourceProxy",{___igDataSource:null,___dataBindingHandler:null,___dataBoundHandler:null,___isBindingPending:false,init:function(a,b,c,d){$$t.$ga.init.call(this,a);this.___igDataSource=b;this.___dataBindingHandler=c;this.___dataBoundHandler=d;this.___isBindingPending=false},_initialize:function(){var $self=this;var a=false;this.___igDataSource=function(){var b=$self._s($self.___igDataSource,a);a=b.p1;return b.ret}();var dataBindingHandler_=this._u.runOn(this);var dataBoundHandler_=this._v.runOn(this);this.___igDataSource.settings.dataBinding=dataBindingHandler_;this.___igDataSource.settings.dataBound=dataBoundHandler_;if(a){this.___igDataSource.dataBind()}this._hookAddRemoveEvents(true)},_indexOf:function(a){var b=this._p();for(var c=0,d=b.length;c<d;c++){var e=$$t.$fw.getArrayValue(b,c);if(e==a){return c}}return-1},_listCount:function(){return this._p().length},_s:function(value_,a){a=false;if(value_==null){value_=new $$0.an}var b=value_ instanceof $.ig.DataSource;if(b){return{ret:value_,p1:a}}var c=value_ instanceof Array;if(c){value_=new $.ig.DataSource({type:"json",dataSource:value_});a=true;return{ret:value_,p1:a}}throw $$t.$fw.createException("LE_AppointmentItemsSource_InvalidValue_JS")},_isBindingPending:function(){return this.___isBindingPending},_u:function(){if(this.___igDataSource==null){return}this.___isBindingPending=true;if(this.___dataBindingHandler!=null){this.___dataBindingHandler()}},_v:function(){if(this.___igDataSource==null){return}this.___isBindingPending=false;if(this.___dataBoundHandler!=null){this.___dataBoundHandler()}},_hookAddRemoveEvents:function(a){this.___igDataSource.settings.rowAdded=null;this.___igDataSource.settings.rowDeleted=null;if(a){var add_=this._w.runOn(this);var delete_=this._x.runOn(this);this.___igDataSource.settings.rowAdded=add_;this.___igDataSource.settings.rowDeleted=delete_}},_w:function(a,b){var c=$$t.$gb._t(a);this._notifyExternalAdd([c])},_x:function(a,b){var c=$$t.$gb._t(a);this._notifyExternalDelete([c])},_p:function(){if(this._isBindingPending()){return new $$0.an}return $b(Array,this.___igDataSource.data())},_add:function(id_,dataObject_){var a=null;this._hookAddRemoveEvents(false);try{this.___igDataSource.addRow(id_,dataObject_,true)}catch(b){a=new $$t.hm(b)}finally{this._hookAddRemoveEvents(true)}return a},_del:function(a,b){var c=null;this._hookAddRemoveEvents(false);try{this.___igDataSource.deleteRow(a,true)}catch(d){c=new $$t.hm(d)}finally{this._hookAddRemoveEvents(true)}return c},_t:function(igRow_){return igRow_.row},_destroy:function(){this.___igDataSource.settings.dataBinding=null;this.___igDataSource.settings.dataBound=null;this._hookAddRemoveEvents(false);this.___igDataSource=null},getEnumerator:function(){var a=this._p();if(a==null){a=new $$0.an}return a.getEnumerator()},$type:new $.ig.Type("JSIGDataSourceWrapper",$$t.$ga.$type)},true);$c("JSListModificationManager:gc","ListModificationManager",{init:function(a){$$t.$hs.init.call(this,a)},g:function(){return $m($$0.$aw.$type,this._c._bt()._listCount())},i:function(){return"LE_NoCreateAppointmentDataObjectCallback_JS"},d:function(){return this._c.createAppointmentDataObjectCallback()!=null},e:function(){return true},a:function(a,b){throw new $$6.q(0)},f:function(a){throw new $$6.q(0)},b:function(a,b){throw new $$6.q(0)},h:function(a,b){throw new $$0.r(0)},j:function(){throw new $$6.q(0)},$type:new $.ig.Type("JSListModificationManager",$$t.$hs.$type)},true);$c("JSAppointmentListModificationManager:gd","JSListModificationManager",{init:function(a){$$t.$gc.init.call(this,a);this._c._bt()._hookAddRemoveEvents(true)},h:function(a,b){b=null;try{if(this._c.createAppointmentDataObjectCallback()!=null){return{ret:this._c.createAppointmentDataObjectCallback()(a),p1:b}}else{b=$$t.$fw.createException("LE_NoCreateAppointmentDataObjectCallback_JS")}}catch(c){b=c}return{ret:null,p1:b}},a:function(a,b){var c=null;this._c._bt()._hookAddRemoveEvents(false);try{this._c._bt()._add(a,b)}catch(d){c=new $$t.hm(d)}finally{this._c._bt()._hookAddRemoveEvents(true)}return c},f:function(a){return this._c._bt()._indexOf(a)},b:function(a,b){var c=null;this._c._bt()._hookAddRemoveEvents(false);try{this._c._bt()._del(a,b)}catch(d){c=new $$t.hm(d)}finally{this._c._bt()._hookAddRemoveEvents(true)}return c},j:function(){this._c._bt()._hookAddRemoveEvents(false)},$type:new $.ig.Type("JSAppointmentListModificationManager",$$t.$gc.$type)},true);$c("DateTimeFormatter:ge","Object",{f:null,__cultureName:null,a:null,init:function(a){$.ig.$op.init.call(this);this.__cultureName=a;this.f=new $$4.h(String,$.ig.$op.$type,1,10)},defaultFormat:function(){if(this.a==null){var a=new $$t.gt;this.a=a.item(this.__cultureName)}return this.a},format:function(date_,formatOptions_){var $self=this;var options_=null;options_={};var a=$$t.$ge.h(formatOptions_);var formatter_=null;if(function(){var b=$self.f.tryGetValue(a,formatter_);formatter_=b.p1;return b.ret}()==false){var c=formatOptions_.getEnumerator();while(c.moveNext()){var b=c.current();b.applyFormatOption(options_)}formatter_=new Intl.DateTimeFormat(this.__cultureName,options_);this.f.add(a,formatter_)}var retVal_=null;retVal_=formatter_.format(date_);return retVal_},removeFromCache:function(a){var b=$$t.$ge.h(a);if(this.f.containsKey(b)){this.f.remove(b)}},h:function(a){var b=new $$6.aj(0);var d=a.getEnumerator();while(d.moveNext()){var c=d.current();var e=$6("{0}.{1}/",$$t.$gv.getBox(c.part()),c.getFormat());b.l(e)}return b.toString()},convert:function(a){switch(a){case 1:return 1;case 2:return 3;case 3:return 4;default:return 0}},convert1:function(a){switch(a){case 0:return 1;default:return 0}},convert2:function(a){switch(a){case 3:return 2;case 2:return 1;default:return 0}},$type:new $.ig.Type("DateTimeFormatter",$.ig.$ot)},true);$c("FormatOptionBase:gg","Object",{init:function(a){$.ig.$op.init.call(this);this.part(a)},_part:0,part:function(a){if(arguments.length===1){this._part=a;return a}else{return this._part}},getFormat:function(){},getFormatValue:function(){},applyFormatOption:function(options_){var a=this.getFormat();var b=this.getFormatValue();if(b<0){return}switch(this.part()){case 4:options_.day=a;break;case 1:options_.era=a;break;case 5:options_.hour=a;break;case 6:options_.minute=a;break;case 3:options_.month=a;break;case 7:options_.second=a;break;case 8:options_.timeZoneName=a;break;case 0:options_.weekday=a;break;case 2:options_.year=a;break;case 9:var c=$ao(a);options_.hour12=c;break;default:break}},$type:new $.ig.Type("FormatOptionBase",$.ig.$ot)},true);$c("FormatOptions:gf","Object",{_a:null,init:function(a){this._a=null;$.ig.$op.init.call(this);var b=new $$4.x($$t.$gg.$type,2,a.length);for(var d=0;d<a.length;d++){var c=a[d];var e=c.getFormatValue();if(e<0){continue}b.add(c)}},getEnumerator1:function(){return this._a.getEnumerator()},getEnumerator:function(){return $b($$0.$bx.$type.specialize($$t.$gg.$type),this._a.getEnumerator())},$type:new $.ig.Type("FormatOptions",$.ig.$ot,[$$0.$bw.$type.specialize($$t.$gg.$type)])},true);$c("MonthFormatOption:gh","FormatOptionBase",{init:function(a){$$t.$gg.init.call(this,3);this.format(a)},_format:0,format:function(a){if(arguments.length===1){this._format=a;return a}else{return this._format}},getFormat:function(){return $$t.$gh.f(this.format())},getFormatValue:function(){return this.format()},f:function(a){var b=String.empty();switch(a){case 1:b="2-digit";break;default:b=$$t.$gw.$getName(a).toLowerCase();break}return b},$type:new $.ig.Type("MonthFormatOption",$$t.$gg.$type)},true);$c("WeekdayFormatOption:gi","FormatOptionBase",{init:function(a){$$t.$gg.init.call(this,0);this.format(a)},_format:0,format:function(a){if(arguments.length===1){this._format=a;return a}else{return this._format}},getFormat:function(){return $$t.$gx.$getName(this.format()).toLowerCase()},getFormatValue:function(){return this.format()},$type:new $.ig.Type("WeekdayFormatOption",$$t.$gg.$type)},true);$c("EraFormatOption:gj","FormatOptionBase",{init:function(a){$$t.$gg.init.call(this,1);this.format(a)},_format:0,format:function(a){if(arguments.length===1){this._format=a;return a}else{return this._format}},getFormat:function(){return $$t.$gy.$getName(this.format()).toLowerCase()},getFormatValue:function(){return this.format()},$type:new $.ig.Type("EraFormatOption",$$t.$gg.$type)},true);$c("TimeZoneNameFormatOption:gk","FormatOptionBase",{init:function(a){$$t.$gg.init.call(this,8);this.format(a)},_format:0,format:function(a){if(arguments.length===1){this._format=a;return a}else{return this._format}},getFormat:function(){return $$t.$g0.$getName(this.format()).toLowerCase()},getFormatValue:function(){return this.format()},$type:new $.ig.Type("TimeZoneNameFormatOption",$$t.$gg.$type)},true);$c("NumericFormatOptionBase:gl","FormatOptionBase",{init:function(a,b){$$t.$gg.init.call(this,a);this.format(b)},_format:0,format:function(a){if(arguments.length===1){this._format=a;return a}else{return this._format}},getFormat:function(){return $$t.$gl.f(this.format())},f:function(a){var b=String.empty();switch(a){case 1:b="2-digit";break;default:b=$$t.$gz.$getName(a).toLowerCase();break}return b},getFormatValue:function(){return this.format()},$type:new $.ig.Type("NumericFormatOptionBase",$$t.$gg.$type)},true);$c("YearFormatOption:gm","NumericFormatOptionBase",{init:function(a){$$t.$gl.init.call(this,2,a)},$type:new $.ig.Type("YearFormatOption",$$t.$gl.$type)},true);$c("DayFormatOption:gn","NumericFormatOptionBase",{init:function(a){$$t.$gl.init.call(this,4,a)},$type:new $.ig.Type("DayFormatOption",$$t.$gl.$type)},true);$c("HourFormatOption:go","NumericFormatOptionBase",{init:function(a){$$t.$gl.init.call(this,5,a)},$type:new $.ig.Type("HourFormatOption",$$t.$gl.$type)},true);$c("MinuteFormatOption:gp","NumericFormatOptionBase",{init:function(a){$$t.$gl.init.call(this,6,a)},$type:new $.ig.Type("MinuteFormatOption",$$t.$gl.$type)},true);$c("SecondFormatOption:gq","NumericFormatOptionBase",{init:function(a){$$t.$gl.init.call(this,7,a)},$type:new $.ig.Type("SecondFormatOption",$$t.$gl.$type)},true);$c("Time12HourFormatOption:gr","FormatOptionBase",{init:function(a){$$t.$gg.init.call(this,9);this.timeFormat(a)},_timeFormat:0,timeFormat:function(a){if(arguments.length===1){this._timeFormat=a;return a}else{return this._timeFormat}},getFormat:function(){return this.timeFormat()==1?"true":"false"},getFormatValue:function(){return 0},$type:new $.ig.Type("Time12HourFormatOption",$$t.$gg.$type)},true);$c("DefaultDateTimeFormatProviderBase:gs","Object",{init:function(){this.a=null;$.ig.$op.init.call(this)},d:null,a:null,item:function(a){var $self=this;if(this.d==null){this.d=this.e()}if(this.d!=null){var b=null;if(function(){var c=$self.d.tryGetValue(a,b);b=c.p1;return c.ret}()){return b}var c=a.indexOf("-");if(c>0){a=a.substr(c+1);return this.item(a)}}return this.b()},b:function(){if(this.a==null){this.a=$$t.$gu.b()}return this.a},e:function(){},f:function(a,b){if(this.d==null){this.d=this.e()}$$t.$gs.g(a,this.d,b)},g:function(a,b,c){if(a==null||b==null){return}var e=a.getEnumerator();while(e.moveNext()){var d=e.current();if(b.containsKey(d.key())){continue}if(c!=null&&c(d.key())==false){continue}b.add(d.key(),d.value())}},$type:new $.ig.Type("DefaultDateTimeFormatProviderBase",$.ig.$ot)},true);$c("DefaultDateTimeFormatProvider:gt","DefaultDateTimeFormatProviderBase",{init:function(){$$t.$gs.init.call(this)},e:function(){var a=new $$4.h(String,$$t.$gu.$type,1,93);var b=null;b=new $$t.gu(0,1,0,4,0,4,0,(-1),0,4,1,0,1,1,(-1),0,4,1,0,1,1,0,4,0,0,1,(-1));a.add("bg",b);b=new $$t.gu(0,1,0,4,0,4,0,(-1),0,4,1,0,1,1,(-1),0,4,1,0,1,1,0,4,0,0,1,(-1));a.add("bg-BG",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("de",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("de-AT",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("de-BE",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("de-CH",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("de-DE",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("de-LI",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("de-LU",b);b=new $$t.gu(0,0,1,4,0,4,0,(-1),0,4,0,0,1,1,(-1),0,4,0,0,1,1,0,1,1,0,1,(-1));a.add("en-CA",b);b=new $$t.gu(0,1,0,4,0,4,0,(-1),0,4,1,1,1,1,(-1),0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("en-GB",b);b=new $$t.gu(0,0,1,4,0,4,0,2,0,4,1,0,1,1,2,0,4,1,0,1,1,0,0,0,0,1,(-1));a.add("en-US",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,0,1,1,2,0,4,1,0,1,1,0,1,1,0,1,(-1));a.add("es",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,0,0,1,1,(-1));a.add("es-419",b);b=new $$t.gu(0,0,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,0,0,1,1,(-1));a.add("es-AR",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,0,0,1,1,(-1));a.add("es-BO",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,0,1,1,2,0,4,1,0,1,1,0,1,1,0,1,(-1));a.add("es-CL",b);b=new $$t.gu(0,0,1,4,0,4,0,2,0,4,1,0,1,1,2,0,4,1,0,1,1,0,1,0,0,1,(-1));a.add("es-CO",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,0,0,1,1,(-1));
a.add("es-CR",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,0,0,1,1,(-1));a.add("es-CU",b);b=new $$t.gu(0,0,1,4,0,4,0,2,0,4,1,0,1,1,2,0,4,1,0,1,1,0,0,0,0,1,(-1));a.add("es-DO",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,0,1,1,2,0,4,1,0,1,1,0,0,0,0,1,(-1));a.add("es-EC",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,0,1,1,2,0,4,1,0,1,1,0,1,1,0,1,(-1));a.add("es-ES",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,0,1,1,2,0,4,1,0,1,1,0,0,0,0,1,(-1));a.add("es-GQ",b);b=new $$t.gu(0,0,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,0,1,1,(-1));a.add("es-GT",b);b=new $$t.gu(0,0,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,0,0,1,1,(-1));a.add("es-HN",b);b=new $$t.gu(0,0,1,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("es-MX",b);b=new $$t.gu(0,0,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,0,0,1,1,(-1));a.add("es-NI",b);b=new $$t.gu(0,0,1,4,0,4,0,2,0,4,1,0,1,1,2,0,4,1,0,1,1,0,1,1,0,1,(-1));a.add("es-PA",b);b=new $$t.gu(0,0,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,0,1,1,(-1));a.add("es-PE",b);b=new $$t.gu(0,0,1,4,0,4,0,2,0,4,1,0,1,1,2,0,4,1,0,1,1,0,0,0,0,1,(-1));a.add("es-PH",b);b=new $$t.gu(0,0,1,4,0,4,0,2,0,4,1,0,1,1,2,0,4,1,0,1,1,0,1,1,0,1,(-1));a.add("es-PR",b);b=new $$t.gu(0,0,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,0,0,1,1,(-1));a.add("es-PY",b);b=new $$t.gu(0,0,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,0,0,1,1,(-1));a.add("es-SV",b);b=new $$t.gu(0,0,1,4,0,4,0,2,0,4,1,0,1,1,2,0,4,1,0,1,1,0,0,0,0,1,(-1));a.add("es-US",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,0,1,1,2,0,4,1,0,1,1,0,0,0,0,1,(-1));a.add("es-UY",b);b=new $$t.gu(0,0,1,4,0,4,0,2,0,4,1,0,1,1,2,0,4,1,0,1,1,0,0,0,0,1,(-1));a.add("es-VE",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,0,1,(-1));a.add("fr-029",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,1,1,1,1,1,(-1));a.add("fr-BE",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-BF",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-BI",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-BJ",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-BL",b);b=new $$t.gu(0,0,0,4,0,4,0,(-1),0,4,0,1,1,1,(-1),0,4,0,1,1,1,0,1,1,1,1,(-1));a.add("fr-CA",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-CD",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-CF",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-CG",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-CH",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-CI",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-CM",b);b=new $$t.gu(0,6,1,4,0,4,0,2,0,4,1,0,1,1,2,0,4,1,0,1,1,0,1,1,0,1,(-1));a.add("fr-DJ",b);b=new $$t.gu(0,6,1,4,0,4,0,2,0,4,1,0,1,1,2,0,4,1,0,1,1,0,1,1,0,1,(-1));a.add("fr-DZ",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-FR",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-GA",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-GF",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-GN",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-GP",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-GQ",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-HT",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-KM",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-LU",b);b=new $$t.gu(0,6,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-MA",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-MC",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-MF",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-MG",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-ML",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-MQ",b);b=new $$t.gu(0,1,1,4,0,4,0,2,0,4,1,0,1,1,2,0,4,1,0,1,1,0,1,1,0,1,(-1));a.add("fr-MR",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-MU",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-NC",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-NE",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-PF",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-PM",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-RE",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-RW",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-SC",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-SN",b);b=new $$t.gu(0,6,1,4,0,4,0,2,0,4,1,0,1,1,2,0,4,1,0,1,1,0,1,1,0,1,(-1));a.add("fr-SY",b);b=new $$t.gu(0,1,1,4,0,4,0,2,0,4,1,0,1,1,2,0,4,1,0,1,1,0,1,1,0,1,(-1));a.add("fr-TD",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-TG",b);b=new $$t.gu(0,0,1,4,0,4,0,2,0,4,1,0,1,1,2,0,4,1,0,1,1,0,1,1,0,1,(-1));a.add("fr-TN",b);b=new $$t.gu(0,1,1,4,0,4,0,2,0,4,1,0,1,1,2,0,4,1,0,1,1,0,1,1,0,1,(-1));a.add("fr-VU",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-WF",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("fr-YT",b);b=new $$t.gu(0,0,0,4,0,0,0,(-1),0,4,0,0,1,1,(-1),0,4,0,0,1,1,0,1,1,0,1,(-1));a.add("ja",b);b=new $$t.gu(0,0,0,4,0,0,0,(-1),0,4,0,0,1,1,(-1),0,4,0,0,1,1,0,1,1,0,1,(-1));a.add("ja-JP",b);b=new $$t.gu(0,1,0,4,0,4,0,(-1),0,4,0,0,1,1,(-1),0,4,0,0,1,1,0,1,1,0,1,(-1));a.add("ru",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,0,1,1,2,0,4,1,0,1,1,0,1,1,0,1,(-1));a.add("ru-BY",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,0,1,1,2,0,4,1,0,1,1,0,1,1,0,1,(-1));a.add("ru-KG",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,0,1,1,2,0,4,1,0,1,1,0,1,1,0,1,(-1));a.add("ru-KZ",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,0,1,1,2,0,4,1,0,1,1,0,1,1,0,1,(-1));a.add("ru-MD",b);b=new $$t.gu(0,1,0,4,0,4,0,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,1,1,1,1,(-1));a.add("ru-UA",b);return a},i:function(a,b){if(a==null){throw new $$6.e(0,"provider")}var c=a.e();if(c==null||c.count()==0){return}this.f(c,b)},h:function(){return["de-DE","de","de-AT","de-BE","de-CH","de-LI","de-LU","en-CA","en-GB","en-US","es-MX","es","es-419","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-ES","es-GQ","es-GT","es-HN","es-NI","es-PA","es-PE","es-PH","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","fr","fr-029","fr-BE","fr-BF","fr-BI","fr-BJ","fr-BL","fr-CA","fr-CD","fr-CF","fr-CG","fr-CH","fr-CI","fr-CM","fr-DJ","fr-DZ","fr-FR","fr-GA","fr-GF","fr-GN","fr-GP","fr-GQ","fr-HT","fr-KM","fr-LU","fr-MA","fr-MC","fr-MF","fr-MG","fr-ML","fr-MQ","fr-MR","fr-MU","fr-NC","fr-NE","fr-PF","fr-PM","fr-RE","fr-RW","fr-SC","fr-SN","fr-SY","fr-TD","fr-TG","fr-TN","fr-VU","fr-WF","fr-YT","ja","ja-JP","bg","bg-BG","ru","ru-BY","ru-KG","ru-KZ","ru-MD","ru-UA"]},$type:new $.ig.Type("DefaultDateTimeFormatProvider",$$t.$gs.$type)},true);$c("DefaultDateTimeFormatInfo:gu","Object",{init:function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$.ig.$op.init.call(this);this._ab=b;this._aa=c>0;this._g=d;this._x=e;this._e=f;this._r=g;this._y=h;this._l=i;this._c=j;this._h=k;this._i=l;this._j=m;this._k=n;this._z=o;this._n=p;this._d=q;this._m=r;this._o=s;this._p=t;this._q=u;this._t=v;this._f=w;this._s=x;this._u=y;this._v=z;this._w=aa},init1:function(a){$.ig.$op.init.call(this);var b=$$t.$gu.b();this._ab=b._ab;this._aa=b._aa;this._g=b._g;this._x=b._x;this._e=b._e;this._r=b._r;this._y=b._y;this._l=b._l;this._c=b._c;this._h=b._h;this._i=b._i;this._j=b._j;this._k=b._k;this._z=b._z;this._n=b._n;this._d=b._d;this._m=b._m;this._o=b._o;this._p=b._p;this._q=b._q;this._t=b._t;this._f=b._f;this._s=b._s;this._u=b._u;this._v=b._v;this._w=b._w},_ab:0,_aa:false,_g:0,_x:0,_e:0,_r:0,_y:0,_l:0,_c:0,_h:0,_i:0,_j:0,_k:0,_z:0,_n:0,_d:0,_m:0,_o:0,_p:0,_q:0,_t:0,_f:0,_s:0,_u:0,_v:0,_w:0,ac:function(a,b){b.l($6("DefaultDateTimeFormatInfo {0} = new DefaultDateTimeFormatInfo(",a));b.l($6("{0},",this._ab));b.l($6("{0},",this._aa?"1":"0"));b.l($6("{0},",this._g));b.l($6("{0},",this._x));b.l($6("{0},",this._e));b.l($6("{0},",this._r));b.l($6("{0},",this._y));b.l($6("{0},",this._l));b.l($6("{0},",this._c));b.l($6("{0},",this._h));b.l($6("{0},",this._i));b.l($6("{0},",this._j));b.l($6("{0},",this._k));b.l($6("{0},",this._z));b.l($6("{0},",this._n));b.l($6("{0},",this._d));b.l($6("{0},",this._m));b.l($6("{0},",this._o));b.l($6("{0},",this._p));b.l($6("{0},",this._q));b.l($6("{0},",this._t));b.l($6("{0},",this._f));b.l($6("{0},",this._s));b.l($6("{0},",this._u));b.l($6("{0},",this._v));b.l($6("{0}",this._w));b.u($6(");",a))},b:function(){return new $$t.gu(0,0,0,4,0,4,1,2,0,4,1,1,1,1,2,0,4,1,1,1,1,0,4,1,1,1,(-1))},a:function(){return["de-DE","de","de-AT","de-BE","de-CH","de-LI","de-LU","en-CA","en-GB","en-US","es-MX","es","es-419","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-ES","es-GQ","es-GT","es-HN","es-NI","es-PA","es-PE","es-PH","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","fr","fr-029","fr-BE","fr-BF","fr-BI","fr-BJ","fr-BL","fr-CA","fr-CD","fr-CF","fr-CG","fr-CH","fr-CI","fr-CM","fr-DJ","fr-DZ","fr-FR","fr-GA","fr-GF","fr-GN","fr-GP","fr-GQ","fr-HT","fr-KM","fr-LU","fr-MA","fr-MC","fr-MF","fr-MG","fr-ML","fr-MQ","fr-MR","fr-MU","fr-NC","fr-NE","fr-PF","fr-PM","fr-RE","fr-RW","fr-SC","fr-SN","fr-SY","fr-TD","fr-TG","fr-TN","fr-VU","fr-WF","fr-YT","ja","ja-JP","bg","bg-BG","ru","ru-BY","ru-KG","ru-KZ","ru-MD","ru-UA"]},$type:new $.ig.Type("DefaultDateTimeFormatInfo",$.ig.$ot)},true);$c("DateTimeFormatProvider:cu","Object",{b:null,a:null,c:null,e:null,d:null,init:function(a){$.ig.$op.init.call(this);if(String.isNullOrEmpty(a)){a=$$0.$cf.currentCulture().name()}this.cultureName(a)},create:function(a){return new $$t.g2(a)},_cultureName:null,cultureName:function(a){if(arguments.length===1){this._cultureName=a;return a}else{return this._cultureName}},firstDayOfWeek:function(){},_firstDayOfWeekOverride:0,firstDayOfWeekOverride:function(a){if(arguments.length===1){this._firstDayOfWeekOverride=a;return a}else{return this._firstDayOfWeekOverride}},firstDayOfWeekResolved:function(){if(this.firstDayOfWeekOverride()!=this.firstDayOfWeek()){return this.firstDayOfWeekOverride()}return this.firstDayOfWeek()},g:function(a){},getDayNames:function(a){switch(a){case 0:return new Array(0);case 1:if(this.c!=null){return this.c}break;case 2:if(this.a!=null){return this.a}break;case 3:if(this.b!=null){return this.b}break}var b=this.g(a);switch(a){case 1:this.c=b;break;case 2:this.a=b;break;case 3:this.b=b;break}return b},i:function(a){},getMonthNames:function(a){var b=null;switch(a){case 0:if(this.d==null){this.d=this.i(a)}b=this.d;break;case 1:if(this.e==null){this.e=this.i(a)}b=this.e;break}return b},getDaysInMonth:function(a,b,c){},getMonthsInYear:function(a,b){},formatYearMonth:function(a){},formatMonthDay:function(a){},formatLongDate1:function(a,b){},formatLongDate:function(a){return this.formatLongDate1(a,true)},formatShortDate:function(a){},formatLongTime:function(a,b){},formatShortTime:function(a,b){},formatDayOfWeek:function(a,b){},formatRange:function(a,b,c){return this.formatRange(a,b,c)},formatRange1:function(a,b,c,d){},toString:function(){return this.cultureName()},$type:new $.ig.Type("DateTimeFormatProvider",$.ig.$ot)},true);$c("JSDateTimeFormatProvider:g2","DateTimeFormatProvider",{ac:null,init:function(a){$.ig.$op.init.call(this);if(String.isNullOrEmpty(a)){a=$$0.$cf.currentCulture().name()}this.ac=new $$t.ge(a)},firstDayOfWeek:function(){return this.ac.defaultFormat()._ab},g:function(a){var b=new Array(7);var c=$.ig.Date.prototype.fromValues(2016,11,20,0,0,0,0);var d=[c,$.ig.Date.prototype.addDays(c,1),$.ig.Date.prototype.addDays(c,2),$.ig.Date.prototype.addDays(c,3),$.ig.Date.prototype.addDays(c,4),$.ig.Date.prototype.addDays(c,5),$.ig.Date.prototype.addDays(c,6)];var e=$$t.$ge.convert2(a);var f=[new $$t.gi(e)];for(var g=0,h=7;g<h;g++){b[g]=this.ac.format(d[g],f)}this.ac.removeFromCache(f);return b},getDaysInMonth:function(a,b,c){return new Date(a,b,0).getDate()},getMonthsInYear:function(a,b){return 12},formatYearMonth:function(a){var b=this.ac.defaultFormat();var c=[new $$t.gh(b._g),new $$t.gm(b._x)];return this.ac.format(a,c)},formatMonthDay:function(a){var b=this.ac.defaultFormat();var c=[new $$t.gh(b._e),new $$t.gm(b._r)];return this.ac.format(a,c)},formatLongDate1:function(a,b){var c=this.ac.defaultFormat();var d=new $$4.x($$t.$gg.$type,0);d.add(new $$t.gm(c._n));d.add(new $$t.gh(c._d));d.add(new $$t.gn(c._m));if(b){d.add(new $$t.gi(c._z))}return this.ac.format(a,d.toArray())},formatShortDate:function(a){var b=this.ac.defaultFormat();var c=[new $$t.gm(b._t),new $$t.gh(b._f),new $$t.gn(b._s)];return this.ac.format(a,c)},formatLongTime:function(a,b){var c=this.ac.defaultFormat();var d=function(){var $ret=new $$4.x($$t.$gg.$type,0);$ret.add(new $$t.go(c._o));$ret.add(new $$t.gp(c._p));$ret.add(new $$t.gq(c._q));return $ret}();if(b!=0){d.add(new $$t.gr(b))}return this.ac.format(a,d.toArray())},formatShortTime:function(a,b){var c=this.ac.defaultFormat();var d=function(){var $ret=new $$4.x($$t.$gg.$type,0);$ret.add(new $$t.go(c._u));$ret.add(new $$t.gp(c._v));$ret.add(new $$t.gq(c._w));return $ret}();if(b!=0){d.add(new $$t.gr(b))}return this.ac.format(a,d.toArray())},formatDayOfWeek:function(a,b){var c=$$t.$ge.convert2(b);var d=[new $$t.gi(c)];return this.ac.format(a,d)},formatRange1:function(a,b,c,d){var e=a.getFullYear()==b.getFullYear();var f=e&&$.ig.Date.prototype.getMonth(a)==$.ig.Date.prototype.getMonth(b);var g=+$.ig.Date.prototype.getDate(a)==+$.ig.Date.prototype.getDate(b);if(g==false){c=true}var h=new $$4.x($$t.$gg.$type,0);var i=new $$4.x($$t.$gg.$type,0);var j=String.empty();var k=String.empty();var l=" "+$$t.$fx.v()+" ";var m=this.ac.defaultFormat();var n=c?3:4;h.add(new $$t.gh(n));i.add(new $$t.gh(n));h.add(new $$t.gn(0));i.add(new $$t.gn(0));if(d==false){i.add(new $$t.gm(0))}if(g){return this.ac.format(a,i.toArray())}else{j=this.ac.format(a,h.toArray());k=this.ac.format(b,i.toArray());return j+l+k}},i:function(a){var b=a==0?3:4;var c=new $$t.gh(b);var d=new $$4.x($$0.$s.$type,2,13);var e=$.ig.Date.prototype.fromValues(2016,1,1,0,0,0,0);var f=e;while(f.getFullYear()==e.getFullYear()){d.add(f);f=$.ig.Date.prototype.addMonths(f,1)}var g=new Array(d.count());for(var h=0;h<d.count();h++){g[h]=this.ac.format(d.__inner[h],[c])}this.ac.removeFromCache([c]);return g},$type:new $.ig.Type("JSDateTimeFormatProvider",$$t.$cu.$type)},true);$c("CanvasContainerBase:fy","Object",{f:false,ad:null,ae:null,ah:null,d:0,c:null,i:null,b:null,m:0,j:0,l:0,init:function(a,b){this.ah=new $$a.af;this.m=150;this.j=1;this.l=100;$.ig.$op.init.call(this);this.d=a;this.c=b;this.b=new $$t.f3(this)},ac:function(){},n:function(a){if(arguments.length===1){if(this.l!=a){this.l=a;this.t()}return a}else{return this.l}},k:function(){},o:function(a){if(arguments.length===1){if(a!=this.m){this.m=a;this.t()}return a}else{return this.m}},g:function(){return this.f},af:function(a){if(arguments.length===1){if($$a.$y.l_op_Inequality(a,this.ad)){this.ad=a;this.t();this.y()}return a}else{return this.ad}},e:function(a){if(arguments.length===1){if(a!=this.d){this.d=a}return a}else{return this.d}},ai:function(a){if(arguments.length===1){if($$a.$af.l_op_Inequality(a,this.ah)){this.ah=new $$a.af(1,Math.max(a.width(),1),Math.max(a.height(),1));this.t();this.z()}return a}else{return this.ah}},ag:function(a){if(arguments.length===1){if($$a.$y.l_op_Inequality(a,this.ae)){this.ae=a}return a}else{return this.ae}},a:function(){},q:function(){this.f=false;if(this.i!=null){var b=this.i.getEnumerator();while(b.moveNext()){var a=b.current();this.r(a)}this.i=null}},r:function(a){},s:function(a){},p:function(a,b){var c;var d;if(this.e()==1){c=this.ad.__x-this.m;d=a-this.ae.__x}else{c=this.ad.__y-this.m;d=b-this.ae.__y}return $a($.ig.truncate(d-c),this.l)},t:function(){this.f=false},u:function(a){},v:function(a,b){},w:function(a){},x:function(a,b){},y:function(){},z:function(){},h:function(a,b,c){var d=false;this.ab();this.u(this.j);var e=new $$a.bv;var f=this.e()==1?this.ah.width():this.ah.height();f+=2*this.m;e._n=0;e._o=0;if(this.e()==1){e.width(this.l);e.height(this.ah.height())}else{e.width(this.ah.width());e.height(this.l)}var g=-1;while(f>0){g++;var h=this.i.__inner[g];h.z();h.aa(this.j,this.j);h.k(0,0,e.width(),e.height());this.v(this.j,h);f-=this.l}var i=g;var j=this.ad.__x;var k=this.ad.__y;if(this.e()==2){j=-this.ae.__x}var m=b.getEnumerator();while(m.moveNext()){var l=m.current();if(c!=null&&c(l)){d=true;continue}var n=this.b.b(l);var o=$b($$t.$f6.$type,n.nativeView());if(o==null){continue}var p=l.bl();var q=l.bm();var r=this.p(p,q);var s=this.p(p+l.bk(),q+l.be());if(s<0){continue}d=true;if(s>=this.i.count()){s=this.i.count()-1}if(r<0){r=0}for(var t=r;t<=s;t++){if(this.e()==1){j=-(this.ad.__x+this.ae.__x+t*this.l-this.m)}else{k=-(this.ad.__y+this.ae.__y+t*this.l-this.m)}o.b(this.i.__inner[t],l,this.c,j,k,e)}}for(var u=0;u<=i;u++){this.i.__inner[u].y();this.x(this.j,this.i.__inner[u])}this.w(this.j);return d},aa:function(a,b,c,d,e,f){},ab:function(){var a=this.k();if(a!=this.j){this.j=a}else if(this.f){return}this.f=true;if(this.i==null){this.i=new $$4.x($.ig.RenderingContext.prototype.$type,0)}var b=0;var c=0;var d;var e;if(this.e()==1){b=-this.m;d=$.ig.truncate(this.ai().width());e=$.ig.truncate(this.ai().height())}else{c=-this.m;d=$.ig.truncate(this.ai().height());e=$.ig.truncate(this.ai().width())}d+=2*this.m;var f=this.i.count();var g=$.ig.truncate(Math.ceil(d/this.l));while(g>this.i.count()){this.i.add(this.a())}var h=this.i.count();for(var i=0;i<h;i++){var j=this.i.__inner[i];if(this.e()==1){this.aa(j,a,b,c,this.l,e);b+=this.l}else{this.aa(j,a,b,c,e,this.l);c+=this.l}}},$type:new $.ig.Type("CanvasContainerBase",$.ig.$ot)},true);$c("CanvasContainer:ah","CanvasContainerBase",{aj:null,init:function(a,b){$$t.$fy.init.call(this,a,b);this.aj=document.createElement("div");this.aj.style.position="absolute";this.aj.style.zIndex=0},ac:function(){if($$t.$ah.am==null){$$t.$ah.am=new $$a.at;$$t.$ah.am.color($$a.$ax.u(255,255,255,255))}return $$t.$ah.am},a:function(){var a=document.createElement("canvas");a.style.position="absolute";this.aj.appendChild(a);var b=new $.ig.JQueryDomWrapper(a,$(a));var c=new $.ig.JQueryDomRenderer(b,null);return new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,c.get2DCanvasContext(b))},k:function(){return window.devicePixelRatio},q:function(){$$t.$fy.q.call(this);if(this.aj!=null){this.aj.remove();this.aj=null}},r:function(a){var b=$$t.$ah.al(a);if(b!=null){b.remove()}},s:function(a){var b=$b($$t.$av.$type,a.nativeView());if(b!=null){b.ag()}},y:function(){if(this.aj!=null){this.aj.style.left=this.af().__x+"px";this.aj.style.top=this.af().__y+"px"}},z:function(){if(this.aj!=null){this.aj.style.width=this.ai().width()+"px";this.aj.style.height=this.ai().height()+"px"}},aa:function(a,b,c,d,e,f){var g=$$t.$ah.al(a);if(g!=null){g.width=$.ig.truncate(e*b);g.height=$.ig.truncate(f*b);g.style.left=c+"px";g.style.top=d+"px";g.style.width=e+"px";g.style.height=f+"px"}},ak:function(){return this.aj},al:function(a){var b=a.g();return a.g().canvas},$type:new $.ig.Type("CanvasContainer",$$t.$fy.$type)},true);$c("AppointmentDoubleClickedEventArgs:aj","EventArgs",{init:function(){$$0.$w.init.call(this)},_appointment:null,appointment:function(a){if(arguments.length===1){this._appointment=a;return a}else{return this._appointment}},_clickedInDate:new Date,clickedInDate:function(a){if(arguments.length===1){this._clickedInDate=a;return a}else{return this._clickedInDate}},_viewMode:0,viewMode:function(a){if(arguments.length===1){this._viewMode=a;return a}else{return this._viewMode}},$type:new $.ig.Type("AppointmentDoubleClickedEventArgs",$$0.$w.$type)},true);$c("LayoutUpdatedEventArgs:al","EventArgs",{init:function(){$$0.$w.init.call(this)},_viewMode:0,viewMode:function(a){if(arguments.length===1){this._viewMode=a;return a}else{return this._viewMode}},$type:new $.ig.Type("LayoutUpdatedEventArgs",$$0.$w.$type)},true);$c("IModelPresenter:fo","Object",{$type:new $.ig.Type("IModelPresenter",null)},true);$c("PresenterBase:am","Object",{init:function(a){$.ig.$op.init.call(this);this._a=a},_a:null,b:function(){return true},f:function(a,b,c){if(c==0){return a}if(c==1){return b}return $.ig.BrushUtil.prototype.g(a,c,b,0)},c:function(a){return a.a0()},nativeView:function(){return this._a},modelUpdated:function(a){this.d(a)},d:function(a){if((this._a.d()&8)!=0||a.ad("PaddingLeft")||a.ad("PaddingTop")||a.ad("PaddingRight")||a.ad("PaddingBottom")){this._a.ap(a.bh(),a.bj(),a.bi(),a.bg())}if((this._a.d()&16)!=0||a.ad("TextBrush")){this._a.as(a,a.dd())}if(a._ah){this._a.ah()}if((this._a.d()&2)!=0||a.ad("IsSelected")){this._a.an(a)}if(this.b()){if((this._a.d()&1)!=0||a._ab&&(a.ad("Background")||a.ad("SelectedStatus"))){this._a.am(a,a.db())}}if((this._a.d()&4)!=0||a._ab&&a.ad("Opacity")){this._a.ao(a.a0())}},e:function(a){if(this._a!=null){this._a.ar(a)}},$type:new $.ig.Type("PresenterBase",$.ig.$ot,[$$t.$fo.$type])},true);$c("SchedulerPresenterManager:an","Object",{b:null,init:function(a){$.ig.$op.init.call(this);this.b=a},a:function(a,b,c,d){var e=$b($$t.$fz.$type,b._i);if(e==null){e=new $$t.fz}var f=$b($$t.$am.$type,e.elementPresenter());var g=0;if(null!=f){var h=f._a;if(h!=null){g=h.c()}if(h!=null&&h.r()!=null&&h.r().parentNode==a){if(c){if($b($$t.$ay.$type,h)!==null){return f}}else{if(!($b($$t.$ay.$type,h)!==null)){return f}}}if(h!=null){h.ag()}b._i=null}var i=true;if(b.getType()==$$t.$fe.$type&&b.t()!=16&&b.t()!=46){f=new $$t.ap($$t.$ba.a9($b($$t.$fe.$type,b)))}else if($b($$t.$fh.$type,b)!==null){if(c){f=new $$t.aq(d!=null&&d.r()!=null?d:$$t.$ay.az($b($$t.$fh.$type,b)))}else{f=new $$t.aq($$t.$bb.ay($b($$t.$fh.$type,b)))}}else if($b($$t.$fe.$type,b)!==null){f=new $$t.ap($$t.$a9.az($b($$t.$fe.$type,b)))}else if($b($$t.$fa.$type,b)!==null){if(b.t()==51){i=this.b.b5==null;f=new $$t.ao($$t.$a7.aw($b($$t.$fa.$type,b),this.b.b5))}else{f=new $$t.ao($$t.$a7.aw($b($$t.$fa.$type,b),null))}}if(f!=null){e.elementPresenter(f);b._i=e;var j=f._a;if(j!=null){j.d(g)}f.e(b);var k=$b($$t.$av.$type,f.nativeView());if(i&&k!=null&&k.r()!=null){a.appendChild(k.r())}}return f},$type:new $.ig.Type("SchedulerPresenterManager",$.ig.$ot)},true);$c("ShapePresenter:ao","PresenterBase",{init:function(a){$$t.$am.init.call(this,a)},b:function(){return false},d:function(a){var b=$b($$t.$fa.$type,a);if(b._ab){this.shapeView().ay(b)}},shapeView:function(){return this._a},$type:new $.ig.Type("ShapePresenter",$$t.$am.$type)},true);$c("TextContentPresenter:ap","PresenterBase",{init:function(a){$$t.$am.init.call(this,a)},d:function(a){$$t.$am.d.call(this,a);var b=$b($$t.$fe.$type,a);if((this._a.d()&32)!=0||a._ab&&a.ad("Text")){b.ci(b.dg());this.textView().a7(b)}},textView:function(){return this._a},$type:new $.ig.Type("TextContentPresenter",$$t.$am.$type)},true);$c("TimeSlotPresenter:aq","PresenterBase",{init:function(a){$$t.$am.init.call(this,a)},$type:new $.ig.Type("TimeSlotPresenter",$$t.$am.$type)},true);$c("Scheduler_SizeChangeInfo:as","ValueType",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$0.$bh.init.call(this)},b:0,c:0,a:0,init1:function(a,b,c,d){$$0.$bh.init.call(this);this.b=b;this.c=c;this.a=d},$type:new $.ig.Type("Scheduler_SizeChangeInfo",$$0.$bh.$type)},true);$c("scheduler.SchedulerHitTestResult:at","Object",{_ab:null,_d:0,_k:0,_l:0,_m:0,_j:0,_a:null,_v:0,_u:0,_t:0,_r:0,_s:0,_f:false,_g:false,init:function(a,b,c){this._s=-1;$.ig.$op.init.call(this);this._d=b._c;var d=b._i;if(a!=null){var e=a._m;this._ab=$$t.$dd.$getName(a.t());this._v=e.a3();this._t=e.a1();this._a=e.c();this._u=e.a2();this._r=e.ay();this._s=e.az();this._f=e.ai();this._g=e.am();if(d.e()!=null){if(this._s<0&&this._r>0&&this._t>0&&this._v>0){this._s=d.e().n($.ig.Date.prototype.fromValues(this._v,this._t,this._r,0,0,0,0).getDay())}if(this._u<1&&this._t>0&&this._v>0){var f=$.ig.Date.prototype.fromValues(this._v,this._t,1,0,0,0,0);var g=d.e().o(f);var h=d.e().n(f.getDay());this._u=g+$a(this._r+h,7)}}this._k=a.bl()+c.__x-d.a1();this._l=a.bm()+c.__y-d.a3();this._m=a.bk();this._j=a.be()}else{switch(this._d){case 1:this._ab=$$t.$dd.$getName(1);break;case 0:this._ab=$$t.$dd.$getName(3);break;case 2:this._ab=$$t.$dd.$getName(2);break;case 3:this._ab=$$t.$dd.$getName(2);break}this._k=c.__x;this._l=c.__y;this._m=d.a4();this._j=d.a0()}},_c:function(a,b,c){return new $$t.at(a,b,c)},appointment:function(){return this._a},day:function(){return this._r},dayOfWeek:function(){return this._s},height:function(){return this._j},isLeading:function(){return this._f},isTrailing:function(){return this._g},left:function(){return this._k},month:function(){return this._t},roleDescription:function(){return this._ab},top:function(){return this._l},viewMode:function(){return this._d},week:function(){return this._u},width:function(){return this._m},year:function(){return this._v},$type:new $.ig.Type("scheduler.SchedulerHitTestResult",$.ig.$ot)},true);$c("SchedulerUtils:au","Object",{init:function(){$.ig.$op.init.call(this)},d:function(a){if(a.contains("px")){a=$5(a,"px","")}var b=0;var c=$ac(a,b);b=c.p1;return b},b:function(a){return a._r._br().a5(a.t())},h:function(a,b){$(a).addClass(b)},i:function(a,b){$(a).append($(b))},j:function(a){if(a._i!=null){var b=$b($$t.$av.$type,a._i.nativeView());if(b!=null){b.ag()}}},c:function(a){return a.charCodeAt(0)>="0".charCodeAt(0)&&a.charCodeAt(0)<="9".charCodeAt(0)},e:function(a){var b=document.createElement("div");b.className=a;return b},a:function(a){var b=$(a);var c=new $.ig.JQueryDomWrapper(a,b);return new $$al.c(c,new $.ig.JQueryDomRenderer(c,null),false)},l:function(a){$(a).remove()},m:function(a,b){$(a).removeClass(b)},g:function(a){if(a==0){return"0"}return a.toString()+"px"},k:function(source_){source_.style.msUserSelect="none";source_.style.webkitUserSelect="none";source_.style.khtmlUserSelect="none";source_.style.mozUserSelect="none";source_.style.userSelect="none"},$type:new $.ig.Type("SchedulerUtils",$.ig.$ot)},true);$c("INativeView:b7","Object",{$type:new $.ig.Type("INativeView",null)},true);$c("ElementView:av","Object",{q:null,ac:null,p:0,ae:null,ad:null,g:false,f:false,e:false,aa:$m($$t.$dd.$type,null),t:0,u:0,v:0,s:0,w:0,b:0,a:0,init:function(a){this.p=1;this.t=-1;this.u=-1;this.v=-1;this.s=-1;this.w=-1;this.b=0;this.a=0;$.ig.$op.init.call(this);this.q=a;if(this.q!=null){if(this.j()){this.q.style.position="absolute";this.q.style.left="0px";this.q.style.top="0px"}if(this.n()){this.q.style.margin="0px"}if(this.h()){this.q.style.overflow="hidden"}if(this.o()){this.q.style.boxSizing="border-box"}}},j:function(){return true},h:function(){return true},r:function(){return this.q},i:function(){return true},k:function(){return this.e},l:function(){return this.f},m:function(){return false},au:function(){return{__x:this.t,__y:this.u,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},av:function(){return new $$a.af(1,this.v,this.s)},ab:function(){return this.aa},d:function(a){if(arguments.length===1){this.b=a;this.a|=a;return a}else{return this.b}},c:function(){return this.a},n:function(){return true},o:function(){return true},x:function(a){if(arguments.length===1){if(a!=this.w){this.w=a;if(this.q!=null){this.q.style.zIndex=this.w}}return a}else{return this.w}},at:function(a,b){var c=a._r._br().a5(a.t());return c.ap()},af:function(a){return null},ag:function(){if(this.q!=null){this.q.remove();this.q=null}},ah:function(){this.g=false},ai:function(a){},aj:function(a,b,c){},ak:function(a){this.aa=$m($$t.$dd.$type,null);this.ar(a)},al:function(){this.t=-1e4;this.r().style.left=this.t+"px"},am:function(a,b){this.a|=1;if(!this.i()){return}var c="";var d=this.at(a,b);if(d!=b||b!=null&&!this.i()){c=this.i()?b!=null?b.__fill:null:"transparent"}if(c!=this.ac){this.ac=c;if(this.q!=null){this.q.style.backgroundColor=c}this.ah()}},an:function(a){this.a|=2;if(this.f!=a.ai()){this.f=a.ai();this.ai(a)}},ao:function(a){this.a|=4;if(this.p==a){return}this.p=a;this.ah();this.q.style.opacity=a.toString()},ap:function(a,b,c,d){this.a|=8;var e;if(a==0&&b==0&&c==0&&d==0){e=null}else if(a==b&&b==c&&c==d){e=a+"px"}else if(a==c&&b==d){e=b+"px "+a+"px"}else if(a==c){e=b+"px "+a+"px "+d+"px"}else{e=b+"px "+c+"px "+d+"px "+a+"px"}if(this.ad!=e){this.ad=e;this.q.style.padding=e;this.ah()}},aq:function(a,b,c,d,e){if(this.q==null){return}if(b!=this.t){this.q.style.left=b+"px";this.t=b}if(c!=this.u){this.q.style.top=c+"px";this.u=c}if(d!=this.v){this.q.style.width=d+"px";this.v=d}if(e!=this.s){this.q.style.height=e+"px";this.s=e}this.g=true},ar:function(a){var b=a.t();if($j(b,this.aa)){return}this.b|=2147483647;if(this.q!=null){var c=this.aa;this.aa=$m($$t.$dd.$type,b);this.e=false;if($l(this.aa,null)){var d=a._r._br().bh(this.aa.value());this.q.className=d;switch(this.aa.value()){case 5:case 8:this.e=true;break}}this.ah();this.aj(a,c,this.aa)}},as:function(a,b){this.a|=16;var c="";var d=a._r._br().a5(a.t());if(d.au()!=b){c=b!=null?b.__fill:null}if(c!=this.ae){this.ae=c;this.q.style.color=c;this.ah()}},$type:new $.ig.Type("ElementView",$.ig.$ot,[$$t.$b7.$type])},true);$c("FixedAreaView:ax","ElementView",{az:null,aw:null,a0:null,ax:null,init:function(a,b){this.a0=new $$4.x($$t.$fl.$type,0);$$t.$av.init.call(this,a);this.ax=b;a.style.zIndex=2},ay:function(a,b){var c=document.createElement("div");var d=new $$t.ax(c,b);d.az=a;return d},ag:function(){if(this.aw!=null){this.aw.q()}$$t.$av.ag.call(this)},a1:function(a){this.a0.add(a)},a2:function(){if(this.aw==null){this.aw=new $$t.ah(this.az.bd(),this.az.a4()._br());this.r().appendChild(this.aw.ak())}},a3:function(){var a=this.az.bb()._i;this.aw.af(new $$a.y(0));this.aw.ai($.ig.RectUtil.prototype.z(this.ax.c()));var b=0;var c=0;switch(this.ax._b){case 4:case 3:this.aw.o(0);this.aw.n($.ig.truncate(this.aw.ai().height()));break;case 2:case 0:this.aw.o(0);this.aw.n($.ig.truncate(this.aw.ai().height()));break;case 1:this.r().style.top=$.ig.truncate(a.a3())+"px";this.r().style.height=a._a9+"px";this.aw.o(150);this.aw.n(300);break}this.aw.ag({__x:b,__y:c,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});this.aw.h(2,this.a0,null);this.a0.clear()},$type:new $.ig.Type("FixedAreaView",$$t.$av.$type)},true);$c("SelectableViewBase:a6","ElementView",{aw:null,init:function(a){$$t.$av.init.call(this,a)},af:function(a){switch(a.t()){case 5:case 8:return a._r._br().bh(7);case 27:return a._r._br().bh(30);case 21:return a._r._br().bh(22);case 25:return a._r._br().bh(26);case 19:return a._r._br().bh(20);case 23:return a._r._br().bh(24)}return null},ai:function(a){this.ax(a)},aj:function(a,b,c){this.aw=null;this.ax(a)},ax:function(a){if(!a.ai()){if(this.aw!=null){$$t.$au.m(this.r(),this.aw)}this.aw=null;return}var b=this.af(a);if(b==this.aw){return}if(this.aw!=null){$$t.$au.m(this.r(),this.aw)}this.aw=b;if(this.aw!=null){$$t.$au.h(this.r(),this.aw)}},$type:new $.ig.Type("SelectableViewBase",$$t.$av.$type)},true);$c("TimeSlotView:bb","SelectableViewBase",{init:function(a){$$t.$a6.init.call(this,a)},ay:function(a){var b=document.createElement("div");var c=new $$t.bb(b);return c},af:function(a){switch(a.t()){case 5:case 8:return a._r._br().bh(7)}return null},aq:function(a,b,c,d,e){var f=$b($$t.$fh.$type,a);var g=f.ai();$$t.$a6.aq.call(this,a,b,c,d,e);
},$type:new $.ig.Type("TimeSlotView",$$t.$a6.$type)},true);$c("MonthViewSelectedDateView:ay","TimeSlotView",{a1:null,a0:null,a2:new Date,init:function(a){this.a1=new $$4.x($$t.$fl.$type,0);this.a2=$$0.$s.today();$$t.$bb.init.call(this,a)},az:function(a){var b=document.createElement("div");var c=new $$t.ay(b);return c},ag:function(){var b=this.a1.getEnumerator();while(b.moveNext()){var a=b.current();$$t.$au.j(a)}this.a1.clear();if(this.a0!=null){var d=this.a0.getEnumerator();while(d.moveNext()){var c=d.current();$$t.$au.j(c)}this.a0.clear()}$$t.$bb.ag.call(this)},at:function(a,b){var c=a._r._br().a5(7);if(c.ap()!=null||b==null){return c.ap()}return $$t.$bb.at.call(this,a,b)},a3:function(){return this.a2},a4:function(a){this.a0=new $$4.q($$t.$fl.$type,0);var b=+a!=+this.a2;var d=this.a1.getEnumerator();while(d.moveNext()){var c=d.current();if(b){$$t.$au.j(c)}else{this.a0.add(c)}}this.a2=a;this.a1.clear()},a5:function(){if(this.a0!=null){var b=this.a0.getEnumerator();while(b.moveNext()){var a=b.current();$$t.$au.j(a)}this.a0=null}},a6:function(a,b,c){this.a1.add(c);this.a0.remove(c);var d=a.a(this.r(),c,false,null);var e=$b($$t.$av.$type,d.nativeView());if(e==null){return}switch(c.o()){case 0:case 1:e.ah();break}c.o(2);e.ar(c);c._i.modelUpdated(c);c.cw();e.d(0);e.aq(c,c.bl()-b.bl(),c.bm()-b.bm(),c.bk(),c.be());c._ah=false;c._aj=false},$type:new $.ig.Type("MonthViewSelectedDateView",$$t.$bb.$type)},true);$c("ILayoutEngine:dr","Object",{$type:new $.ig.Type("ILayoutEngine",null)},true);$c("SchedulerLayoutPanel:az","ElementView",{a0:null,a1:null,a2:null,a6:false,a7:false,a4:false,a5:false,a3:null,bd:0,be:0,bf:0,ay:null,ax:null,bq:null,aw:null,init:function(a,b){this.a7=false;this.a3=null;$$t.$av.init.call(this,a);this.refresh(this.a2,false);this.a0=b;this.a4=false},az:function(a){var b=document.createElement("div");var c=new $$t.az(b,new $$t.an(a));c.a1=a;if(a.b5!=null){b.appendChild(a.b5)}c.bn(0);return c},ag:function(){if(this.aw!=null){this.aw.q()}$$t.$av.ag.call(this)},j:function(){return false},aq:function(a,b,c,d,e){},ba:function(){return this.a5},br:function(){return new $$a.af(1,this.bf,this.be)},bh:function(){if(this.aw==null){this.aw=new $$t.ah(this.a1.bd(),this.a1.a4()._br());this.r().appendChild(this.aw.ak())}if(this.a1.bl()){this.aw.ag(new $$a.y(0))}else{this.aw.o(0)}},refresh:function(a,b){this.a2=a;this.bk(b)},bk:function(a){this.bl(a?0:1)},bl:function(a){if(a==0){this.a6=true;this.a9();return}if(this.a6){return}this.a6=true;window.setTimeout(this.bg.runOn(this),a)},bo:function(a,b){var c=0;var d=0;var e=0;var f=0;var g=this.bf;var h=this.be;var i=g;if(this.a1.bl()){switch(this.a1.bd()){case 1:c=e=b;g=Math.max(g,a);break;case 0:d=f=b;h=Math.max(h,a);break;case 2:{d=f=b;h=Math.max(h,a);i+=this.a1.bb().z(2).width();break}}}var j=this.r().style;j.width=g+"px";j.height=h+"px";this.a1.c1(c,d,i,this.be);if(this.aw!=null){this.aw.ai(new $$a.af(1,this.bf,this.be));this.aw.af({__x:e,__y:f,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName})}},bm:function(a,b){this.bf=a;this.be=b},bc:function(){this.bn(this.a1.bd()==1?this.a2._ba:this.a2._a9);return this.a1.bs()},a8:function(a){var b=$b($$t.$fz.$type,a._i);if(b!=null){var c=b.elementPresenter();if(c!=null){var d=$b($$t.$av.$type,c.nativeView());if(d!=null){if(d==this.ay){b.elementPresenter(null);return false}}}}$$t.$au.j(a);return false},bg:function(){this.a9()},a9:function(){if(!this.a6){return false}this.a6=false;if(this.a7){this.a7=false;this.a5=true;this.a3();this.a5=false}if(this.a2==null){this.bl(50);return false}if($$a.$ae.l_op_Equality(this.a2._bq,null)||this.a2._bq.isEmpty()){this.bl(50);return false}if(this.r()==null){return false}if(!this.a1.br()){this.a1.c0(this.a1.cd().value());this.bl(1);return false}if(!this.bc()){this.bl(1);return false}var a=this.a2._bq.top();var b=this.a2._bq.left();var d=this.a2.ap().getEnumerator();while(d.moveNext()){var c=d.current();this.bj(c)}this.a2.b().u();this.bq={__x:0,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};if(!this.a1.bl()){switch(this.a1.bd()){case 1:this.bq.__x=b;break;case 0:this.bq.__y=a;break;default:case 2:this.bq.__x=b;this.bq.__y=a;break}}else{if(this.a1.bd()==2){this.bq.__x=b}}if(this.aw!=null){this.aw.ag(this.bq);this.ax=null;if(this.ay!=null&&this.ay.r()==null){this.ay=null}var e=this.aw.h(this.a1.bb()._c,this.a2.ao(false),this.bb.runOn(this));if(e){this.a4=true}else{this.bp()}if(this.ax!=null){if(this.ay!=null){this.ay.a5()}}else{if(this.ay!=null){this.ay.ag();this.ay=null}}if(e){this.a1.cv();this.a1.a4()._j3(this.a1.bb()._c)}return true}this.a1.c3();var f=this.a2.ar();var g=0;var h=f.count();for(var i=0;i<h;i++){g++;var j=f.__inner[i];var k=j._q.count();for(var l=0;l<k;l++){if(j._p.__inner[l]){continue}var m=j._q.__inner[l];var n=this.a0.a(this.r(),m,false,null);this.bi(this.bq,g,m,n)}}if(this.a4){this.a1.a4()._j3(this.a1.bb()._c)}this.bp();return true},bb:function(a){if(a._c!=5){var b=this.a1.a1(a._c);if(b!=null){switch(a.t()){case 46:var c=this.a0.a(b.r(),a,false,null);var d=this.a1.bb().z(3);this.bi({__x:0,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName},20,a,c);return true}b.a1(a)}return true}switch(a.t()){case 43:case 48:case 44:case 45:case 51:case 4:case 16:{var e=a.t()==43?18:20;var f=this.a0.a(this.r(),a,false,null);this.bi(this.bq,e,a,f);return true}case 12:case 13:return this.a8(a)}if(this.ax==null){if(!($b($$t.$fh.$type,a)!==null)){return this.a8(a)}switch(a.t()){default:return this.a8(a);case 5:case 7:case 8:if(!a.ai()){return this.a8(a)}this.ax=a;break}var g=this.a0.a(this.r(),a,true,this.ay);this.bi(this.bq,10,a,g);this.ay=$b($$t.$ay.$type,g.nativeView());var h=a._m;this.ay.a4($.ig.Date.prototype.fromValues(h.a3(),h.a1(),h.ay(),0,0,0,0));return true}if(this.ay==null){return this.a8(a)}if(this.ax==a){return true}var i=a._m;if(i.ai()||i.am()||!i.ag()){return this.a8(a)}var j=this.ax._m;if(i.ay()!=j.ay()||i.a1()!=j.a1()||i.a3()!=j.a3()){return this.a8(a)}this.ay.a6(this.a0,this.ax,a);return true},bi:function(a,b,c,d){var e=d.nativeView();if(e!=null){this.a4=true;switch(c.o()){case 0:case 1:e.ah();break}c.o(2);e.x(b);e.ar(c);c._i.modelUpdated(c);c.cw();e.d(0);e.aq(c,c.bl()-$.ig.truncate(a.__x),c.bm()-$.ig.truncate(a.__y),c.bk(),c.be());c._ah=false;c._aj=false}},bj:function(a){var b=$b($$t.$fz.$type,a._i);if(b==null){return}var c=b.elementPresenter();if(c==null){return}var d=$b($$t.$av.$type,c.nativeView());if(d!=null&&d.r()!=null&&d!=this.ay){$$t.$au.j(a)}},bn:function(a){if(this.r()!=null){var b=this.bf;var c=this.be;var d=this.a1.bf();if(d==null){this.bo(a,0)}else{this.bd=a;var e=0;var f=0;if(this.a1.bd()==1){e=-d.d();b=Math.max(b,a)}else{f=-d.g();c=Math.max(c,a)}var g;if(this.a1.bd()==1){g=this.a2.a1();d.c(a)}else{g=this.a2.a3();d.f(a)}this.bo(a,g)}}},bp:function(){if(this.a4){return}this.a1.a4()._kg(this.a1.bb().g(),this.a2._bq.left(),this.a2._bq.top(),this.a2._bq.right(),this.a2._bq.bottom()+1);this.bl(100);this.a4=true},initialRefreshFinished:function(){return this.a4},invalidateVisibility:function(a){this.a3=a;this.a7=true},viewportChanged:function(){this.bk(true)},$type:new $.ig.Type("SchedulerLayoutPanel",$$t.$av.$type,[$$t.$dr.$type])},true);$c("SchedulerScrollingView:a0","ElementView",{a8:null,ba:null,bc:0,a5:null,be:null,bi:false,bj:false,bh:false,cc:$m($$a.$ae.$type,null),ax:null,ay:null,b7:0,c4:null,bg:false,c6:null,bt:new Date,b1:null,b2:null,b3:null,b4:null,ce:null,bx:0,by:0,bu:0,bv:0,bw:0,bk:false,a9:0,aw:null,b5:null,cb:0,ca:0,b9:0,b8:0,init:function(a,b,c){this.c4=new $$a.y(0);this.c6=new $$a.af(0);this.cb=6;this.ca=1500;this.b9=6;this.b8=250;$$t.$av.init.call(this,a);this.a8=b;this.ba=c;if(this.ba.g()!=1){this.aw=new Array(5);this.b2=document.createElement("div");this.b2.style.position="absolute";this.b2.style.left="0";this.b2.style.top="0";this.b3=document.createElement("div");this.b3.style.margin="0px";this.b3.style.overflow="hidden";this.b3.style.boxSizing="border-box";this.b4=this.b6();this.b2.appendChild(this.b3);this.b2.appendChild(this.b4);if(this.ba.g()==2){this.b5=document.createElement("div");this.b5.style.position="absolute";this.b5.style.left="-10000px";this.b5.style.top="-10000px";var d=b.bh(51);this.b5.className=d}}this.bc=c._e;this.bh=true;switch(this.ba._c){case 0:this.bh=this.a8.a1()._bn()!=2;break}this.b1=this.b6()},b6:function(){var a=document.createElement("div");a.style.position="absolute";a.style.left="0";a.style.top="0";a.style.zIndex=100;a.tabIndex=0;return a},a7:function(a,b){var c=document.createElement("div");var d=new $$t.a0(c,a,b);$$t.$au.k(c);c.style.position="absolute";d.cf();d.a5=$$t.$az.az(d);if(d.bc==1){d.a5.r().style.height="10px;";d.a5.r().style.width="10000px;"}else{d.a5.r().style.width="10px;";d.a5.r().style.height="10000px;"}if(b.g()!=1){var f=b.q().getEnumerator();while(f.moveNext()){var e=f.current();var g=null;switch(e._b){case 3:case 0:case 1:case 2:if(b.g()==2){g=$$t.$ax.ay(d,e)}break;case 4:g=$$t.$ax.ay(d,e);break}if(g!=null){var h=e._b;d.aw[h]=g;if(h==1&&d.b2!=null){d.b3.appendChild(g.r())}else{c.appendChild(g.r())}}}}if(d.b2!=null){c.appendChild(d.b2);d.b3.appendChild(d.a5.r())}else{c.appendChild(d.a5.r())}c.appendChild(d.b1);a.r().appendChild(c);switch(b._c){case 0:d.a5.bh();break;case 2:case 3:d.a5.bh();break}if(d.aw!=null){for(var i=0;i<d.aw.length;i++){if(d.aw[i]!=null){d.aw[i].a2()}}}if(d.bl()){d.be=new $$t.b(d.b2!=null?d.b2:d.r(),null,function(j,k){d.cr(j,k)},function(j,k){d.cq(j,k)},null,function(j,k){d.cu(j,k)},null,null,null)}if(d.b2!=null){d.az($$t.$au.a(d.b1));d.a0($$t.$au.a(d.b4))}else{d.a0($$t.$au.a(d.b1))}d.cp();a.a1()._ke(d.a5,b.g());d.ch();return d},ag:function(){if(this.ba!=null&&this.ba._b==this.a5){this.ba._b=null}if(this.be!=null){this.be.k();this.be=null}if(this.ax!=null){this.az(null)}if(this.ay!=null){this.a0(null)}if(this.b1!=null){this.b1.remove();this.b1=null}if(this.b4!=null){this.b4.remove();this.b4=null}if(this.a5!=null){if(this.b5!=null){this.b5.remove()}this.a5.ag();this.a5=null}if(this.aw!=null){var c=this.aw;for(var b=0;b<c.length;b++){var a=c[b];if(a!=null){a.ag()}}this.aw=null}if(this.b2!=null){this.b2.remove();this.b2=null}$$t.$av.ag.call(this)},ci:function(a,b){this.co(a,false,1,2)},cj:function(a,b){this.ci(this.c5(a),b)},c5:function(a){return{__x:a.__x,__y:a.__y+this.bu,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}},ck:function(a,b){if(Math.abs(a.__x-this.c4.__x)>=this.b9||Math.abs(a.__y-this.c4.__y)>=this.b9){this.bg=false}this.co(a,false,1,1)},cl:function(a,b){this.ck(this.c5(a),b)},cm:function(a,b){this.b1.focus();var c=$$0.$s.now();if(this.bg&&Math.abs(a.__x-this.c4.__x)<this.b9&&Math.abs(a.__y-this.c4.__y)<this.b9&&$.ig.util.timeSpanTotalMilliseconds(c-this.bt)<this.b8){this.b7++;this.bg=false}else{this.bg=true;this.b7=1;this.bt=c;this.c4.__x=a.__x;this.c4.__y=a.__y}this.co(a,false,this.b7,0)},cn:function(a,b){this.cm(this.c5(a),b)},bm:function(a){if(this.ay==null){return false}switch(a){case 15:case 17:case 14:case 16:case 2:switch(this.ba._c){case 0:return this.bp(a);case 1:return this.bo(a)}break}return false},cr:function(a,b){this.cs()},cq:function(a,b){this.cs()},cu:function(a,b){this.cs()},az:function(a){if(arguments.length===1){if(a!=this.ax){if(this.ax!=null){var b=this.ax;b.onContactCompleted=$.ig.Delegate.prototype.remove(b.onContactCompleted,this.ci.runOn(this));var c=this.ax;c.onContactMoved=$.ig.Delegate.prototype.remove(c.onContactMoved,this.ck.runOn(this));var d=this.ax;d.onContactStarted=$.ig.Delegate.prototype.remove(d.onContactStarted,this.cm.runOn(this));var e=this.ax;e.onKeyDown=$.ig.Delegate.prototype.remove(e.onKeyDown,this.bm.runOn(this));this.ax._ai=null;this.ax.an()}this.ax=a;if(a!=null){this.ax._ai=this.bq.runOn(this);var f=this.ax;f.onContactCompleted=$.ig.Delegate.prototype.combine(f.onContactCompleted,this.ci.runOn(this));var g=this.ax;g.onContactMoved=$.ig.Delegate.prototype.combine(g.onContactMoved,this.ck.runOn(this));var h=this.ax;h.onContactStarted=$.ig.Delegate.prototype.combine(h.onContactStarted,this.cm.runOn(this));var i=this.ax;i.onKeyDown=$.ig.Delegate.prototype.combine(i.onKeyDown,this.bm.runOn(this));this.ax._bc=new $$a.ae(0,0,0,1,1)}}return a}else{return this.ax}},a0:function(a){if(arguments.length===1){if(a!=this.ay){if(this.ay!=null){var b=this.ay;b.onContactCompleted=$.ig.Delegate.prototype.remove(b.onContactCompleted,this.cj.runOn(this));var c=this.ay;c.onContactMoved=$.ig.Delegate.prototype.remove(c.onContactMoved,this.cl.runOn(this));var d=this.ay;d.onContactStarted=$.ig.Delegate.prototype.remove(d.onContactStarted,this.cn.runOn(this));var e=this.ay;e.onKeyDown=$.ig.Delegate.prototype.remove(e.onKeyDown,this.bm.runOn(this));this.ay._ai=null;this.ay.an()}this.ay=a;if(a!=null){this.ay._ai=this.bq.runOn(this);var f=this.ay;f.onContactCompleted=$.ig.Delegate.prototype.combine(f.onContactCompleted,this.cj.runOn(this));var g=this.ay;g.onContactMoved=$.ig.Delegate.prototype.combine(g.onContactMoved,this.cl.runOn(this));var h=this.ay;h.onContactStarted=$.ig.Delegate.prototype.combine(h.onContactStarted,this.cn.runOn(this));var i=this.ay;i.onKeyDown=$.ig.Delegate.prototype.combine(i.onKeyDown,this.bm.runOn(this));this.ay._bc=new $$a.ae(0,0,0,1,1)}}return a}else{return this.ay}},bz:function(){return this.be!=null&&this.ba.g()!=2?this.be.d():this.bx},bl:function(){return this.bh},cd:function(){return this.cc},a6:function(){return this.a5},a4:function(){return this.a8!=null?this.a8.a1():null},bd:function(a){if(arguments.length===1){if(a!=this.bc){this.bc=a;this.cp()}return a}else{return this.bc}},bf:function(){return this.be},b0:function(){return this.be!=null?this.be.g():this.by},bb:function(){return this.ba},a1:function(a){if(this.aw!=null){return this.aw[a]}return null},a2:function(a,b){var c=null;if(this.ba.g()!=1){c=this.a3(a,4,b);if(c!=null){return c}}if(this.ba.g()==2){c=this.a3(a,3,b);if(c!=null){return c}}return this.a3(a,5,b)},a3:function(a,b,c){var d;if(b==5){var e=this.ba._i;if(e==null){return null}var f=e._bq;if($$a.$ae.l_op_Equality(f,null)||f.isEmpty()){return null}d={__x:a.__x+f.x(),__y:a.__y+f.y(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};if(this.ba.g()==2){var g=this.ba.z(2);d.__x-=g.width();d.__y-=g.height()}if(this.ba.g()!=1){var h=this.ba.z(4);if(!h.isEmpty()){d.__y-=h.height()}}if(!e._bq.containsPoint(d)){return null}}else{var i=this.ba.z(b);if(i.isEmpty()||!i.containsPoint(a)){return null}d={__x:a.__x-i.left(),__y:a.__y-i.top(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}var k=this.ba._i.ao(true).getEnumerator();while(k.moveNext()){var j=k.current();if(!j.ae()){continue}if(j._c!=b){continue}if(j.bl()>d.__x||j.bm()>d.__y||j.bl()+j.bk()<d.__x||j.bm()+j.be()<d.__y){continue}if(c==null||c(j)){return j}}return null},cf:function(){var a=$m($$t.$dd.$type,null);switch(this.ba.g()){case 0:a=$m($$t.$dd.$type,3);break;case 1:a=$m($$t.$dd.$type,1);break;case 2:a=$m($$t.$dd.$type,2);break}if($l(a,null)){var b=this.a8.bh(a.value());if(b!=null){this.r().className=b}}},cg:function(){if(this.a5==null){return}if($$a.$af.l_op_Inequality(this.a5.br(),this.c6)){this.c6=this.a5.br();var a=this.ba.z(2);var b=a.isEmpty()?0:a.width();this.a8.a1()._kh(this.ba.g(),this.c6.width()+b,this.c6.height())}this.c2()},c2:function(){if(this.be!=null){if(this.ba.g()==2){this.a8.bn(this.ba.g(),$.ig.truncate(this.bx),$.ig.truncate(this.be.g()),$.ig.truncate(this.a5.br().width()),$.ig.truncate(this.a5.br().height()))}else{this.a8.bn(this.ba.g(),$.ig.truncate(this.be.d()),$.ig.truncate(this.be.g()),$.ig.truncate(this.a5.br().width()),$.ig.truncate(this.a5.br().height()))}this.be.l()}else{this.a8.bn(this.ba.g(),$.ig.truncate(this.bx),$.ig.truncate(this.by),$.ig.truncate(this.a5.br().width()),$.ig.truncate(this.a5.br().height()))}},ch:function(){this.a9=this.ba._c;if(this.r()!=null){this.r().style.backgroundColor=this.ba.x().__fill}},co:function(a,b,c,d){switch(d){case 0:this.bi=!b;if(this.bi){if(c==2){this.bi=false;this.cx(a)}}this.bt=$$0.$s.now();this.c4.__x=a.__x;this.c4.__y=a.__y;break;case 1:if(this.bi){if(Math.abs(a.__x-this.c4.__x)>this.cb||Math.abs(a.__x-this.c4.__x)>this.cb){this.bi=false}}break;case 2:if(this.bi){this.bi=false;if($.ig.util.timeSpanTotalMilliseconds($$0.$s.now()-this.bt)<this.ca){this.cw(a)}}break}},cp:function(){if(this.cc.hasValue()){this.c0(this.cc.value())}},cs:function(){if(this.bj){return}if(this.be!=null){var a=0;var b=0;if(this.bc==1){a=this.be.d()}else{b=this.be.g()}if(this.bc!=2){this.bx=a}this.by=b}this.c2()},ct:function(){this.cf();var b=this.ba._i.ao(false).getEnumerator();while(b.moveNext()){var a=b.current();var c=a._i;if(c==null){continue}var d=$b($$t.$av.$type,c.nativeView());if(d!=null){d.ak(a)}}},cw:function(a){var b=this.a2(a,null);if(b!=null){var c=new $$a.y(0);var d=this.ba.z(b._c);c.__x=d.x();c.__y=d.y();if(b._c==5){c.__x-=this.ba._i.a1();c.__y-=this.ba._i.a3()}this.a8.a1()._ji(b,$.ig.truncate(a.__x-c.__x)-b.bl(),$.ig.truncate(a.__y-c.__y)-b.bm())}},cx:function(a){var b=this.a2(a,this.bn.runOn(this));if(b==null){return}if(null!=b._m.c()){this.a8.a1()._jy(b,this.ba._c);return}switch(b.t()){case 5:case 6:case 8:case 10:case 7:this.a8.a1()._j1(b);break}},bn:function(a){switch(a.t()){case 5:case 6:case 8:case 10:case 7:return true}if(null!=a._m.c()){return true}return false},cv:function(){if(this.aw!=null){var b=this.ba.q().getEnumerator();while(b.moveNext()){var a=b.current();switch(a._b){case 5:break;default:{var c=this.aw[a._b];if(c!=null){c.a3()}break}}}}},bo:function(a){var b=false;switch(a){case 2:if((this.ay._a9&4)!=0){b=false}else{b=true}break;case 15:b=false;break;case 17:b=true;break;default:return false}this.a8.a1()._dd(b);return true},bp:function(a){var b=this.a8.a1().selectedDate();var c=b;switch(a){case 2:if((this.ay._a9&4)!=0){c=$.ig.Date.prototype.addDays(b,-1)}else{c=$.ig.Date.prototype.addDays(b,1)}break;case 15:c=$.ig.Date.prototype.addDays(b,-7);break;case 17:c=$.ig.Date.prototype.addDays(b,+7);break;case 14:c=$.ig.Date.prototype.addDays(b,-1);break;case 16:c=$.ig.Date.prototype.addDays(b,+1);break}if(+b==+c||$.ig.Date.prototype.getMonth(b)!=$.ig.Date.prototype.getMonth(c)){return false}if(c>this.a8.a1().maximumDate()||c<this.a8.a1().minimumDate()){return false}this.a8.a1().selectedDate(c);if(+this.a8.a1().selectedDate()==+c){this.a8.a1()._j5(function(){var $ret=new $$t.cn;$ret.selectedDate(c);return $ret}());var d=this.a8.az(c.getFullYear(),$.ig.Date.prototype.getMonth(c),c.getDate());if(d!=null){this.a8.a1()._ji(d,0,0)}}return true},refresh:function(){if(this.a5!=null){this.a5.refresh(this.ba._i,false)}},cz:function(a,b,c){this.bx=a;this.by=b;this.bj=true;if(this.be!=null){this.be.l()}var d=this.ba._i;if(this.bc==1){var e=d._ba;this.a5.bo(e,a);if(this.be!=null){this.be.c(e);this.be.d(a)}}else{var f=d._a9;this.a5.bo(f,b);if(this.be!=null){this.be.f(f);this.be.g(b)}}this.bj=false;if(this.a5!=null&&!this.a5.ba()){this.c2()}this.a5.bl(5)},c0:function(a){this.cc=$m($$a.$ae.$type,a);if(this.r()!=null){this.bu=0;this.bv=0;this.bk=false;var b=a.width();var c=a.height();var d=this.r();d.style.left=a.left()+"px";d.style.top=a.top()+"px";d.style.width=b+"px";d.style.height=c+"px";var e=this.ba._i;if(this.be!=null){if(this.bc==1){if(e._ba>b){c-=this.be.e()}}else{if(e._a9>c){b-=this.be.h()}}}this.bw=b;if(this.b2!=null){var f=this.ba.z(5);var g=e._a9;this.b2.style.width=a.width()+"px";this.b2.style.height=f.height()+"px";this.b3.style.width=a.width()+"px";this.b3.style.height=g+"px";var h=this.aw[4];if(h!=null){var i=this.ba.z(4);if(false==i.isEmpty()&&i.height()>0){h.aq(null,$.ig.truncate(i.left()),$.ig.truncate(i.top()),$.ig.truncate(b),$.ig.truncate(i.height()));this.bu=i.bottom();this.bk=true}}var j=this.aw[2];if(j!=null){var k=this.ba.z(2);var l=this.ba.z(0);var m=this.ba.z(3);var n=this.ba.z(1);this.bv=k.right();this.bu=k.bottom();j.aq(null,$.ig.truncate(k.left()),$.ig.truncate(k.top()),$.ig.truncate(k.width()),$.ig.truncate(k.height()));var o=this.aw[0];if(o!=null){o.aq(null,$.ig.truncate(l.left()),$.ig.truncate(l.top()),$.ig.truncate(Math.max(b-this.bv,0)),$.ig.truncate(l.height()))}var p=this.aw[3];if(p!=null){p.aq(null,$.ig.truncate(m.left()),$.ig.truncate(m.top()),$.ig.truncate(Math.max(b-this.bv,0)),$.ig.truncate(m.height()))}var q=this.aw[1];if(q!=null){q.aq(null,$.ig.truncate(n.left()),$.ig.truncate(n.top()),$.ig.truncate(n.width()),$.ig.truncate(n.height()))}}this.b2.style.top=this.bu+"px";this.b1.style.left="0px";this.b1.style.top="0px";this.b1.style.width=this.bw+"px";this.b1.style.height=this.bu+"px";this.a5.r().style.position="absolute";this.a5.r().style.left=this.bv+"px";b=Math.max(0,b-this.bv)}this.a5.bm(b,c);window.setTimeout(this.cg.runOn(this),1)}},c1:function(a,b,c,d){if(this.b4!=null){this.b4.style.left=a+"px";this.b4.style.top=b+"px";this.b4.style.width=c+"px";this.b4.style.height=d+"px"}else{this.b1.style.left=a+"px";this.b1.style.top=b+"px";this.b1.style.width=c+"px";this.b1.style.height=d+"px"}if(this.ay!=null){this.ay._bc=new $$a.ae(0,0,0,c,d)}},bq:function(a){switch(this.bc){case 0:if(a.__x>this.bw){return false}break;case 1:if(a.__y>this.a5.br().height()){return false}break;default:if(a.__x>this.bw||a.__y>this.a5.br().height()){return false}break}return true},c3:function(){var a=null;var b=1;switch(this.ba.g()){case 1:a=this.a8.a1().agendaViewBackgroundBrush();break;case 2:b=2;a=this.a8.a1().dayViewBackgroundBrush();break;case 0:b=3;a=this.a8.a1().monthViewBackgroundBrush();break}if(a==null){return}var c=this.a8.a5(b);var d=null;if(a!=c.ap()){d=a.__fill}if(d==this.ce){return}this.ce=d;this.r().style.backgroundColor=this.ce},br:function(){if(this.ba.g()==1){return true}if(this.a9!=this.ba._c){this.ch()}var a=this.a8.a1().navigationHeaderVisibility()==0;if(a==this.bk){var b=this.ba.z(2);if(!b.isEmpty()){if(b.right()==this.bv&&b.bottom()==this.bu){return true}}else{var c=this.ba.z(4);if(c.isEmpty()){if(this.bu==0){return true}}else if(c.bottom()==this.bu){return true}}}this.c0(this.cc.value());return false},bs:function(){if(!this.cc.hasValue()||!this.bh){return true}var a=this.cc.value();var b=a.width();var c=a.height();if(this.be!=null){var d=this.ba._i;if(this.bc==1){if(d._ba>b){c-=this.be.e()}if(c==this.a5.br().height()){return true}}else{if(d._a9>c){b-=this.be.h()}if(b==this.bw){return true}}}this.c0(a);return false},$type:new $.ig.Type("SchedulerScrollingView",$$t.$av.$type)},true);$c("INativeSchedulerView:b6","Object",{$type:new $.ig.Type("INativeSchedulerView",null)},true);$c("IRoleMetricsProvider:f0","Object",{$type:new $.ig.Type("IRoleMetricsProvider",null)},true);$c("SchedulerView:a1","ElementView",{a0:null,ay:null,aw:null,a6:null,ax:null,be:0,bd:0,a4:null,a7:false,staticInit:function(){},init:function(a,b,c){this.be=-1;this.bd=-1;$$t.$av.init.call(this,a);this.a0=b;this.a4=new $$t.a5(this,c)},a2:function(a,b,c){var d=document.createElement("div");var e=new $$t.a1(d,a,c);d.style.position="relative";d.style.width="100%";d.style.height="100%";b.appendChild(d);return e},a1:function(){return this.a0},a8:function(a){for(var b=0;b<this.ax.length;b++){var c=this.ax[b];if(c.containsPoint(a)){var d=this.aw[b];a.__x-=c.x();a.__y-=c.y();return d.bq(a)}}return false},ag:function(){this.bl();if(this.a0!=null){this.a0=null}$$t.$av.ag.call(this)},bj:function(){this.a4.k()},bf:function(a,b){return this.a4.item(a).q(b)},bc:function(a){return this.a4.g(a)},bh:function(a){return this.a4.i(a)},a9:function(a,b,c,d,e){var f=$$t.$e7.h(b);if(this.ay==null||!this.ay.d(f)){return null}var g=this.ay.item(f);var h=g.bb()._i;var j=h.ao(false).getEnumerator();while(j.moveNext()){var i=j.current();var k=i._m;if(a!=null&&a._x(k.c())&&e==k.ay()&&d==k.a1()&&c==k.a3()){var l=i._i;if(l!=null){var m=$b($$t.$av.$type,l.nativeView());if(m!=null){return m.r()}}}}return null},ba:function(a,b,c){var d=this.az(a,b,c);if(d==null){return null}var e=d._i;if(e!=null){var f=$b($$t.$av.$type,e.nativeView());if(f!=null){return f.r()}}return null},az:function(a,b,c){if(this.ay==null||!this.ay.d(0)){return null}var d=this.ay.item(0);var e=d.bb()._i;var g=e.ao(false).getEnumerator();while(g.moveNext()){var f=g.current();switch(f.t()){case 5:case 8:case 7:{var h=f._m;if(c==h.ay()&&b==h.a1()&&a==h.a3()){return f}break}}}return null},a5:function(a){return this.a4.item(a)},bi:function(a){if(this.ax==null||this.ax.length<1){return null}for(var b=0;b<this.ax.length;b++){var c=this.ax[b];if(c.containsPoint(a)){return $$6.$w.a($$t.$a0.$type,$$a.$ae.$type,this.aw[b],c)}}var d=a.__x<0||a.__y<0?0:this.ax.length-1;return $$6.$w.a($$t.$a0.$type,$$a.$ae.$type,this.aw[d],this.ax[d])},getSelectedTimeSlotElement:function(){if(this.aw!=null){var c=this.aw;for(var b=0;b<c.length;b++){var a=c[b];if(a.b5!=null){return a.b5}}}return null},bm:function(){var a=this.r().className;var b=this.bh(0);this.r().className=b;this.a0.navigationHeaderBackgroundBrush(this.a3($$a.$at.$type,52,0,this.a0.navigationHeaderBackgroundBrush()));this.a0.navigationHeaderBorderBrush(this.a3($$a.$at.$type,53,0,this.a0.navigationHeaderBorderBrush()));this.a0.agendaViewBackgroundBrush(this.a3($$a.$at.$type,1,0,this.a0.agendaViewBackgroundBrush()));this.a0.agendaViewMessageFontInfo(this.a3($.ig.FontInfo.prototype.$type,31,1,this.a0.agendaViewMessageFontInfo()));this.a0.agendaViewMessageTextBrush(this.a3($$a.$at.$type,31,2,this.a0.agendaViewMessageTextBrush()));this.a0.agendaViewAppointmentEndTimeBackgroundBrush(this.a3($$a.$at.$type,21,0,this.a0.agendaViewAppointmentEndTimeBackgroundBrush()));this.a0.agendaViewAppointmentEndTimeFontInfo(this.a3($.ig.FontInfo.prototype.$type,21,1,this.a0.agendaViewAppointmentEndTimeFontInfo()));this.a0.agendaViewAppointmentEndTimeTextBrush(this.a3($$a.$at.$type,21,2,this.a0.agendaViewAppointmentEndTimeTextBrush()));this.a0.agendaViewAppointmentEndTimeSelectedBackgroundBrush(this.a3($$a.$at.$type,22,0,this.a0.agendaViewAppointmentEndTimeSelectedBackgroundBrush()));this.a0.agendaViewAppointmentEndTimeSelectedTextBrush(this.a3($$a.$at.$type,22,2,this.a0.agendaViewAppointmentEndTimeSelectedTextBrush()));this.a0.agendaViewAppointmentLocationBackgroundBrush(this.a3($$a.$at.$type,25,0,this.a0.agendaViewAppointmentLocationBackgroundBrush()));this.a0.agendaViewAppointmentLocationFontInfo(this.a3($.ig.FontInfo.prototype.$type,25,1,this.a0.agendaViewAppointmentLocationFontInfo()));this.a0.agendaViewAppointmentLocationTextBrush(this.a3($$a.$at.$type,25,2,this.a0.agendaViewAppointmentLocationTextBrush()));this.a0.agendaViewAppointmentLocationSelectedBackgroundBrush(this.a3($$a.$at.$type,26,0,this.a0.agendaViewAppointmentLocationSelectedBackgroundBrush()));this.a0.agendaViewAppointmentLocationSelectedTextBrush(this.a3($$a.$at.$type,26,2,this.a0.agendaViewAppointmentLocationSelectedTextBrush()));this.a0.agendaViewAppointmentStartTimeBackgroundBrush(this.a3($$a.$at.$type,19,0,this.a0.agendaViewAppointmentStartTimeBackgroundBrush()));this.a0.agendaViewAppointmentStartTimeFontInfo(this.a3($.ig.FontInfo.prototype.$type,19,1,this.a0.agendaViewAppointmentStartTimeFontInfo()));this.a0.agendaViewAppointmentStartTimeTextBrush(this.a3($$a.$at.$type,19,2,this.a0.agendaViewAppointmentStartTimeTextBrush()));this.a0.agendaViewAppointmentStartTimeSelectedBackgroundBrush(this.a3($$a.$at.$type,20,0,this.a0.agendaViewAppointmentStartTimeSelectedBackgroundBrush()));this.a0.agendaViewAppointmentStartTimeSelectedTextBrush(this.a3($$a.$at.$type,20,2,this.a0.agendaViewAppointmentStartTimeSelectedTextBrush()));this.a0.agendaViewAppointmentSubjectBackgroundBrush(this.a3($$a.$at.$type,23,0,this.a0.agendaViewAppointmentSubjectBackgroundBrush()));this.a0.agendaViewAppointmentSubjectFontInfo(this.a3($.ig.FontInfo.prototype.$type,23,1,this.a0.agendaViewAppointmentSubjectFontInfo()));this.a0.agendaViewAppointmentSubjectTextBrush(this.a3($$a.$at.$type,23,2,this.a0.agendaViewAppointmentSubjectTextBrush()));this.a0.agendaViewAppointmentSubjectSelectedBackgroundBrush(this.a3($$a.$at.$type,24,0,this.a0.agendaViewAppointmentSubjectSelectedBackgroundBrush()));this.a0.agendaViewAppointmentSubjectSelectedTextBrush(this.a3($$a.$at.$type,24,2,this.a0.agendaViewAppointmentSubjectSelectedTextBrush()));this.a0.agendaViewDayHeaderBackgroundBrush(this.a3($$a.$at.$type,18,0,this.a0.agendaViewDayHeaderBackgroundBrush()));this.a0.agendaViewDayHeaderFontInfo(this.a3($.ig.FontInfo.prototype.$type,18,1,this.a0.agendaViewDayHeaderFontInfo()));this.a0.agendaViewDayHeaderTextBrush(this.a3($$a.$at.$type,18,2,this.a0.agendaViewDayHeaderTextBrush()));this.a0.agendaViewDayHeaderMargin(this.a3($$a.$ah.$type,18,3,this.a0.agendaViewDayHeaderMargin()));this.a0.agendaViewDayHeaderSeparatorLineBrush(this.a3($$a.$at.$type,32,0,this.a0.agendaViewDayHeaderSeparatorLineBrush()));this.a0.agendaViewAppointmentMargin(this.a3($$a.$ah.$type,27,3,this.a0.agendaViewAppointmentMargin()));this.a0.agendaViewInterDaySpacing(this.bg(18,this.a0.agendaViewInterDaySpacing()));this.a0.agendaViewAppointmentSeparatorLineBrush(this.a3($$a.$at.$type,29,0,this.a0.agendaViewAppointmentSeparatorLineBrush()));this.a0.dayViewBackgroundBrush(this.a3($$a.$at.$type,2,0,this.a0.dayViewBackgroundBrush()));this.a0.weekViewBackgroundBrush(this.a3($$a.$at.$type,2,0,this.a0.weekViewBackgroundBrush()));this.a0.allDayEventAreaBackgroundBrush(this.a3($$a.$at.$type,47,0,this.a0.allDayEventAreaBackgroundBrush()));this.a0.allDayEventBackgroundBrush(this.a3($$a.$at.$type,46,0,this.a0.allDayEventBackgroundBrush()));this.a0.allDayEventFontInfo(this.a3($.ig.FontInfo.prototype.$type,46,1,this.a0.allDayEventFontInfo()));this.a0.allDayEventTextBrush(this.a3($$a.$at.$type,46,2,this.a0.allDayEventTextBrush()));this.a0.dayViewAppointmentBackgroundBrush(this.a3($$a.$at.$type,43,0,this.a0.dayViewAppointmentBackgroundBrush()));this.a0.dayViewAppointmentLocationBackgroundBrush(this.a3($$a.$at.$type,45,0,this.a0.dayViewAppointmentLocationBackgroundBrush()));this.a0.dayViewAppointmentLocationFontInfo(this.a3($.ig.FontInfo.prototype.$type,45,1,this.a0.dayViewAppointmentLocationFontInfo()));this.a0.dayViewAppointmentLocationTextBrush(this.a3($$a.$at.$type,45,2,this.a0.dayViewAppointmentLocationTextBrush()));this.a0.dayViewAppointmentSubjectBackgroundBrush(this.a3($$a.$at.$type,44,0,this.a0.dayViewAppointmentSubjectBackgroundBrush()));this.a0.dayViewAppointmentSubjectFontInfo(this.a3($.ig.FontInfo.prototype.$type,44,1,this.a0.dayViewAppointmentSubjectFontInfo()));this.a0.dayViewAppointmentSubjectTextBrush(this.a3($$a.$at.$type,44,2,this.a0.dayViewAppointmentSubjectTextBrush()));this.a0.dayHeaderBackgroundBrush(this.a3($$a.$at.$type,41,0,this.a0.dayHeaderBackgroundBrush()));this.a0.dayHeaderFontInfo(this.a3($.ig.FontInfo.prototype.$type,41,1,this.a0.dayHeaderFontInfo()));this.a0.dayHeaderTextBrush(this.a3($$a.$at.$type,41,2,this.a0.dayHeaderTextBrush()));this.a0.dayViewNavigationHeaderDateFontInfo(this.a3($.ig.FontInfo.prototype.$type,56,1,this.a0.dayViewNavigationHeaderDateFontInfo()));this.a0.dayViewNavigationHeaderDateTextBrush(this.a3($$a.$at.$type,56,2,this.a0.dayViewNavigationHeaderDateTextBrush()));this.a0.resourceHeaderBackgroundBrush(this.a3($$a.$at.$type,42,0,this.a0.resourceHeaderBackgroundBrush()));this.a0.resourceHeaderFontInfo(this.a3($.ig.FontInfo.prototype.$type,42,1,this.a0.resourceHeaderFontInfo()));this.a0.resourceHeaderTextBrush(this.a3($$a.$at.$type,42,2,this.a0.resourceHeaderTextBrush()));this.a0.timeSlotDescriptorBackgroundBrush(this.a3($$a.$at.$type,38,0,this.a0.timeSlotDescriptorBackgroundBrush()));this.a0.timeSlotDescriptorFontInfo(this.a3($.ig.FontInfo.prototype.$type,38,1,this.a0.timeSlotDescriptorFontInfo()));this.a0.timeSlotDescriptorTextBrush(this.a3($$a.$at.$type,38,2,this.a0.timeSlotDescriptorTextBrush()));this.a0.timeSlotNonWorkingHourBackgroundBrush(this.a3($$a.$at.$type,49,0,this.a0.timeSlotNonWorkingHourBackgroundBrush()));this.a0.timeSlotSelectedBackgroundBrush(this.a3($$a.$at.$type,51,0,this.a0.timeSlotSelectedBackgroundBrush()));
this.a0.timeSlotWorkingHourBackgroundBrush(this.a3($$a.$at.$type,50,0,this.a0.timeSlotWorkingHourBackgroundBrush()));this.a0.weekViewBackgroundBrush(this.a3($$a.$at.$type,2,0,this.a0.weekViewBackgroundBrush()));this.a0.monthViewBackgroundBrush(this.a3($$a.$at.$type,3,0,this.a0.monthViewBackgroundBrush()));this.a0.monthViewDayActivityIndicatorBrush(this.a3($$a.$at.$type,4,0,this.a0.monthViewDayActivityIndicatorBrush()));this.a0.monthViewDayBackgroundBrush(this.a3($$a.$at.$type,5,0,this.a0.monthViewDayBackgroundBrush()));this.a0.monthViewDayFontInfo(this.a3($.ig.FontInfo.prototype.$type,5,1,this.a0.monthViewDayFontInfo()));this.a0.monthViewDayTextBrush(this.a3($$a.$at.$type,5,2,this.a0.monthViewDayTextBrush()));this.a0.monthViewAppointmentFontInfo(this.a3($.ig.FontInfo.prototype.$type,16,1,this.a0.monthViewAppointmentFontInfo()));this.a0.monthViewDayOfWeekHeaderBackgroundBrush(this.a3($$a.$at.$type,11,0,this.a0.monthViewDayBackgroundBrush()));this.a0.monthViewDayOfWeekHeaderFontInfo(this.a3($.ig.FontInfo.prototype.$type,11,1,this.a0.monthViewDayFontInfo()));this.a0.monthViewDayOfWeekHeaderTextBrush(this.a3($$a.$at.$type,11,2,this.a0.monthViewDayTextBrush()));this.a0.monthViewDayOfWeekHeaderMargin(this.a3($$a.$ah.$type,11,3,this.a0.monthViewDayOfWeekHeaderMargin()));this.a0.monthViewLeadingDayBackgroundBrush(this.a3($$a.$at.$type,6,0,this.a0.monthViewLeadingDayBackgroundBrush()));this.a0.monthViewLeadingDayFontInfo(this.a3($.ig.FontInfo.prototype.$type,6,1,this.a0.monthViewLeadingDayFontInfo()));this.a0.monthViewLeadingDayTextBrush(this.a3($$a.$at.$type,6,2,this.a0.monthViewLeadingDayTextBrush()));this.a0.monthViewNameBackgroundBrush(this.a3($$a.$at.$type,14,0,this.a0.monthViewNameBackgroundBrush()));this.a0.monthViewNameFontInfo(this.a3($.ig.FontInfo.prototype.$type,14,1,this.a0.monthViewNameFontInfo()));this.a0.monthViewNameTextBrush(this.a3($$a.$at.$type,14,2,this.a0.monthViewNameTextBrush()));this.a0.monthViewNameMargin(this.a3($$a.$ah.$type,14,3,this.a0.monthViewNameMargin()));this.a0.monthViewInterMonthSpacing(this.bg(14,this.a0.monthViewInterMonthSpacing()));this.a0.monthViewNavigationHeaderDateFontInfo(this.a3($.ig.FontInfo.prototype.$type,57,1,this.a0.monthViewNavigationHeaderDateFontInfo()));this.a0.monthViewNavigationHeaderDateTextBrush(this.a3($$a.$at.$type,57,2,this.a0.monthViewNavigationHeaderDateTextBrush()));this.a0.monthViewSelectedDayBackgroundBrush(this.a3($$a.$at.$type,7,0,this.a0.monthViewSelectedDayBackgroundBrush()));this.a0.monthViewSelectedDayTextBrush(this.a3($$a.$at.$type,7,2,this.a0.monthViewSelectedDayTextBrush()));this.a0.monthViewSeparatorLineBrush(this.a3($$a.$at.$type,12,0,this.a0.monthViewSeparatorLineBrush()));this.a0.monthViewTodayHighlightBrush(this.a3($$a.$at.$type,9,0,this.a0.monthViewTodayHighlightBrush()));this.a0.monthViewTodayTextBrush(this.a3($$a.$at.$type,8,2,this.a0.monthViewTodayTextBrush()));this.a0.monthViewTrailingDayBackgroundBrush(this.a3($$a.$at.$type,10,0,this.a0.monthViewTrailingDayBackgroundBrush()));this.a0.monthViewTrailingDayFontInfo(this.a3($.ig.FontInfo.prototype.$type,10,1,this.a0.monthViewTrailingDayFontInfo()));this.a0.monthViewTrailingDayTextBrush(this.a3($$a.$at.$type,10,2,this.a0.monthViewTrailingDayTextBrush()));this.a0.monthViewWeekNumberBackgroundBrush(this.a3($$a.$at.$type,15,0,this.a0.monthViewWeekNumberBackgroundBrush()));this.a0.monthViewWeekNumberFontInfo(this.a3($.ig.FontInfo.prototype.$type,15,1,this.a0.monthViewWeekNumberFontInfo()));this.a0.monthViewWeekNumberTextBrush(this.a3($$a.$at.$type,15,2,this.a0.monthViewWeekNumberTextBrush()));this.a4.j();if(this.aw!=null){var e=this.aw;for(var d=0;d<e.length;d++){var c=e[d];c.ct()}}},a3:function($t,a,b,c){var d=this.a4.item(a);var e=null;var f=null;switch(b){case 0:e=$b($t,d.av());f=$b($t,d.ap());break;case 1:e=$b($t,d.e());f=$b($t,d.d());break;case 2:e=$b($t,d.aw());f=$b($t,d.au());break;case 3:e=$b($t,d.a2());f=$b($t,d.a4());break}if(e!=null&&c!=e){return c}if(f!=null){return f}return c},bg:function(a,b){var c=this.a4.item(a);var d=c.x();var e=c.r();if($l(d,null)&&b!=d.value()){return b}return Math.max(0,e)},bn:function(a,b,c,d,e){this.a0._kg(a,b,c,b+d,c+e)},bp:function(){this.a7=false;if(this.ay==null||this.ay.r()==0){this.bk()}var b=this.ay._q.getEnumerator();while(b.moveNext()){var a=b.current();a.refresh()}},bs:function(a,b,c){this.a4.item(a).af(b,c)},bt:function(a,b){this.be=a;this.bd=b;this.bu(0,0,a,b,true);this.bp()},bk:function(){this.bl();if(this.ay==null){this.ay=new $.ig.FastIterationDictionary$2($$t.$dm.$type,$$t.$a0.$type,0)}var a=new $$4.x($$t.$a0.$type,0);var b=this.a0._bw().r();var d=b.getEnumerator();while(d.moveNext()){var c=d.current();var e=c._c;var f=$$t.$a0.a7(this,c);this.ay.s(c.g(),f);a.add(f)}this.aw=a.toArray()},bl:function(){if(null!=this.a6){this.a6.ag();this.a6=null}if(null!=this.ay){var c=this.aw;for(var b=0;b<c.length;b++){var a=c[b];a.ag()}this.ay.u();this.aw=null}},bo:function(a){var $self=this;this.bk();this.bu(0,0,this.be,this.bd,false);if($j(a,null)&&this.ay.d(0)){a=$m($$t.$dm.$type,0)}if($j(a,0)&&this.ay.d(a.value())){window.setTimeout(function(){$self.a0.ensureMonthVisibleInMonthView($self.a0.selectedDate(),false)},10)}if($j(a,2)&&this.ay.d(a.value())){window.setTimeout(function(){$self.a0.ensureDayVisibleInDayOrWeekView($self.a0.selectedDate(),false)},10)}},bq:function(a){this.ay.item(a).refresh()},br:function(a){if(a==0){this.bp();return}if(this.a7){return}this.a7=true;window.setTimeout(this.bp.runOn(this),a)},bu:function(a,b,c,d,e){var f=false;if(this.ay==null||this.ay.r()==0){this.bk();if(this.ay.r()==0){return}f=true}var g=this.a0._bw().r();var h=this.a0.viewSplitOrientation()==1;var i=this.a0.viewSplitOrientation()==0;var j=h?this.bd:this.be;var k=h?b:a;var l=0;var m=$$5.$e.aj($$t.$e4.$type,g);var n=m>1;this.ax=new Array(m);var p=g.getEnumerator();while(p.moveNext()){var o=p.current();var q=o.g();var r=this.ay.item(q);var s=0;if(l==m-1){s=j}else{if(h){s=$.ig.truncate(j*this.a0._bw()._u)}else{s=$.ig.truncate(j*this.a0._bw()._t)}j-=s}var t=0;var u=0;if(h){t=c;u=s;this.ax[l]=new $$a.ae(0,a,k,t,u)}else{t=s;u=d;this.ax[l]=new $$a.ae(0,k,b,t,u)}r.c0(this.ax[l]);k+=s;var v=r.a6().br();var w=0;var x=0;var y=this.be;var z=this.bd;switch(r.bd()){case 1:x=$.ig.truncate(r.bz());z=$.ig.truncate(v.height());v.width(t);break;case 0:w=$.ig.truncate(r.b0());y=$.ig.truncate(v.width());v.height(u);break;default:case 2:{var aa=r.cd();if(aa.hasValue()){v.width(aa.value().width())}x=$.ig.truncate(r.bz());w=$.ig.truncate(r.b0());y=$.ig.truncate(v.width());v.height(u);break}}this.a0._kh(q,v.width(),v.height());if(e&&!f){var ab=r.a6().br();r.c2()}if(n&&l==0){var ac=h?33:34;var ad=this.a5(ac);var ae=ad.a4();var af=0;var ag=0;var ah=0;var ai;if(h){ah=ad.s();ai=$.ig.truncate(ae._e+ae._b);af=k}else{ah=ad.t();ai=$.ig.truncate(ae._c+ae._d);ag=k}if(this.a6==null){this.a6=$$t.$a8.ax(this)}this.a6.ay(ac,ag,af);var aj=ah+ai;j-=aj;k+=aj}else if(false==n&&null!=this.a6){this.a6.ag();this.a6=null}l++}this.br(5)},invalidateOverallLayout:function(){this.bp()},measureString:function(stringToMeasure,font,role,constrainingWidth){return $.ig.util.sizeToLiteral(this._measureString$i.apply(this,arguments))},_measureString$i:function(a,b,c,d){return this.a4.item(c).ax(a,b,true,d)},onBackgroundBrushChanged:function(a){if(this.aw!=null){var d=this.aw;for(var c=0;c<d.length;c++){var b=d[c];if(b.bb().g()==a){b.ch()}}}},onContentSizeChanged:function(a){this.bq(a)},onPrimaryViewModeChanged:function(a){this.bo($m($$t.$dm.$type,a))},onScrollDirectionChanged:function(a,b){if(this.ay!=null&&this.ay.d(a)){this.ay.item(a).bd(b)}},onScrollModeChanged:function(a,b){this.bo($m($$t.$dm.$type,a))},onSecondaryViewModeAdded:function(a){if(this.aw!=null){var b=new $$4.x($$t.$a0.$type,1,this.aw);var c=this.a0._bw().r();var e=c.getEnumerator();while(e.moveNext()){var d=e.current();if(a==d.g()){if(!this.ay.d(a)){var f=$$t.$a0.a7(this,d);this.ay.item(a,f);b.add(f)}break}}this.aw=b.toArray();this.bu(0,0,this.be,this.bd,false)}},onSecondaryViewModeRemoved:function(a){if(this.aw!=null){var b=null;var c=new $$4.x($$t.$a0.$type,1,this.aw);for(var d=0;d<c.count();d++){if(this.aw[d].bb().g()==a){this.a0._ke(null,a);this.ay.f(a);b=c.__inner[d];b.ag();c.removeAt(d);d--;break}}if(b!=null){this.aw=c.toArray();this.bu(0,0,this.be,this.bd,false)}}},onViewSplitOrientationChanged:function(){this.bo($m($$t.$dm.$type,null))},scrollViewTo:function(a,b,c,d){this.ay.item(a).cz(b,c,d)},getBackground:function(a){var b=null;var c=false;switch(a){case 3:if(this.a0.monthViewBackgroundBrush()!=null){b=this.a0.monthViewBackgroundBrush()}c=true;break;case 1:if(this.a0.agendaViewBackgroundBrush()!=null){b=this.a0.agendaViewBackgroundBrush()}c=true;break;case 2:if(this.a0.dayViewBackgroundBrush()!=null){b=this.a0.dayViewBackgroundBrush()}c=true;break}if(c){return b}return this.a4.item(a).ap()},getBorderLeft:function(a){return this.a4.item(a).ar()},getBorderTop:function(a){return this.a4.item(a).at()},getBorderRight:function(a){return this.a4.item(a).as()},getBorderBottom:function(a){return this.a4.item(a).aq()},getBorderThickness:function(a){return this.a4.item(a).a1()},getFont:function(a){return this.a4.item(a).d()},getFontHeight:function(a,b){var c=this.bf(a,b);if(c<=0){var d=this.a4.item(a).ax("Wy",b,false,0);c=d.height();this.bs(a,b,$.ig.truncate(c))}return c},getPadding:function(a){return this.a4.item(a).a5()},getTextBrush:function(a){return this.a4.item(a).au()},measureText:function(text,role,font,constrainingWidth){return $.ig.util.sizeToLiteral(this._measureText$i.apply(this,arguments))},_measureText$i:function(a,b,c,d){return this.a4.item(b).ax(a,c,false,d)},$type:new $.ig.Type("SchedulerView",$$t.$av.$type,[$$t.$b6.$type,$$t.$f0.$type])},true);$c("SchedulerView_MetricsCache:a5","Object",{c:null,h:null,a:null,b:null,f:null,init:function(a,b){$.ig.$op.init.call(this);this.c=a;var c=-1e4+"px";this.f=$$t.$au.e(null);this.f.style.position="absolute";this.f.style.left=c;this.f.style.top=c;this.f.style.width="5000px";this.c.r().appendChild(this.f);this.h=b;var d=new $$4.x($$t.$dd.$type,0);var f=$.ig.$ep.getValues($$t.$dd.$type).getEnumerator();while(f.moveNext()){var e=f.current();d.add(e)}this.a=new Array(d.count());this.b=new Array(d.count());this.l(d.count());var g=this.a.length;for(var h=0;h<g;h++){var i=d.__inner[h];var j=$$t.$au.e(null);if(i==0){j=this.b[h]}else{j.style.position="absolute";j.style.left="0px";j.style.top="0px";this.b[h].appendChild(j)}var k=new $$t.a4(i,j);k.ae(this.h);this.a[i]=k}this.m(1);this.m(2);this.m(3);this.m(52)},item:function(a){return this.a[a]},j:function(){var a=this.a.length;for(var b=0;b<a;b++){var c=this.a[b];c.ad()}},k:function(){var a=this.a.length;for(var b=0;b<a;b++){var c=this.a[b];c.ae(this.h)}this.m(1);this.m(2);this.m(3)},l:function(a){var b=$$t.$a5.e();var c=$$t.$a5.e();var d=$$t.$a5.e();var e=$$t.$a5.e();this.f.appendChild(e);this.f.appendChild(b);this.f.appendChild(c);this.f.appendChild(d);var g=$.ig.$ep.getValues($$t.$dd.$type).getEnumerator();while(g.moveNext()){var f=g.current();var h=f;switch(f){case 0:this.b[h]=this.c.r();break;case 52:case 53:case 55:case 54:this.b[h]=e;break;case 1:case 18:case 32:case 31:case 28:case 23:case 24:case 21:case 22:case 29:case 25:case 26:case 19:case 20:case 30:case 27:this.b[h]=b;break;case 2:case 47:case 46:case 43:case 48:case 45:case 44:case 41:case 36:case 40:case 56:case 42:case 49:case 50:case 51:case 38:case 35:case 37:case 39:this.b[h]=c;break;case 3:case 4:case 5:case 16:case 12:case 6:case 11:case 7:case 8:case 9:case 10:case 13:case 14:case 17:case 57:case 15:this.b[h]=d;break;default:this.b[h]=this.f;break}h++}},e:function(){var a=$$t.$au.e(null);a.style.position="absolute";a.style.left="0px";a.style.top="0px";a.style.width="100%";return a},g:function(a){return this.a[a].l()},i:function(a){return this.a[a].aa()},m:function(a){this.b[a].className=this.i(a)},$type:new $.ig.Type("SchedulerView_MetricsCache",$.ig.$ot)},true);$c("SchedulerView_MetricsCache_MetricsCacheItem:a4","Object",{f:0,h:null,a:null,y:null,i:null,k:null,b:null,z:null,n:0,m:0,o:0,p:0,ah:null,am:null,c:null,an:null,ao:null,a0:null,az:null,u:$m($$0.$aw.$type,null),w:$m($$a.$ah.$type,null),v:$m($$a.$ah.$type,null),ay:null,aj:null,al:null,ak:null,ai:null,ab:null,init:function(a,b){this.a=new $.ig.FastIterationDictionary$2(String,$$a.$af.$type,0);this.ab="##defaultfont";$.ig.$op.init.call(this);this.f=a;this.h=b},ap:function(){if(this.ah==null){this.ah=$$a.$at.create(this.l().backgroundColor)}return this.ah},ar:function(){this.ag();return this.aj},at:function(){this.ag();return this.al},as:function(){this.ag();return this.ak},aq:function(){this.ag();return this.ai},a1:function(){this.ag();return this.ay},aa:function(){return this.y},l:function(){if(this.k==null){this.k=window.getComputedStyle(this.h)}return this.k},d:function(){if(this.b==null){this.b=$.ig.FontUtil.prototype.getFontInfoFromString(this.j(),this.l().font)}return this.b},r:function(){this.ag();return this.m},g:function(){switch(this.f){case 14:return true}return false},au:function(){if(this.am==null){this.am=$$a.$at.create(this.l().color)}return this.am},e:function(){return this.c},av:function(){return this.an},aw:function(){return this.ao},a3:function(){return this.a0},a2:function(){return this.az},x:function(){return this.u},a4:function(){this.ag();return this.v.value()},j:function(){if(this.i==null){this.i=new $.ig.JQueryDomRenderer(new $.ig.JQueryDomWrapper(this.h,$(this.h)),null)}return this.i},a5:function(){this.ag();return this.w.value()},s:function(){this.ag();return this.o},t:function(){this.ag();return this.p},ad:function(){this.c=this.b;this.an=this.ah;this.ao=this.am;this.az=this.v.hasValue()?this.v.value():new $$a.ah(0,(-1));this.a0=this.w.hasValue()?this.w.value():new $$a.ah(0,(-1));this.u=$m($$0.$aw.$type,this.m)},q:function(a){if(a!=null&&a.fontString()==null){$.ig.FontUtil.prototype.updateFontString(a)}var b=a==this.d()?this.ab:a.fontString();if(this.a.d(b)){return $.ig.truncate(this.a.item(b).height())}return 0},ae:function(a){var b=$$t.$dd.$getName(this.f);b=b.substr(0,1).toLowerCase()+b.substr(1);var c=a[b];if(this.y!=c){if(this.y!=null&&c==null){this.h.className=null}this.ac();this.y=c;if(this.y!=null){this.h.className=this.y}}},ax:function(a,b,c,d){var e=this.d();var f=b.fontString()!=this.z;if(f){this.z=b.fontString()}var g=false;var h=a!=null?a.length:0;if(b!=null&&b.fontString()==null){$.ig.FontUtil.prototype.updateFontString(b)}var i=b!=e?b.fontString():this.ab;var j=0;var k=0;var l=false;if(h>0&&h<3){if($$t.$au.c(a.charAt(0))&&(h==1||$$t.$au.c(a.charAt(1)))){g=true;if(this.a.d(i)){var m=this.a.item(i);var n=m.width();if(n>0){n*=h;j=n;k=m.height();l=true}}}}var o=this.a5();if(l&&d>0){if(j+o._c+o._d+this.ay._c+this.ay._d+1>d){l=false}}if(!l){if(f){this.h.style.font=b!=e?b.fontString():null}if(d!=this.n){this.h.style.maxWidth=d<=0?"":d+"px";this.h.style.wordWrap=d<=0?"":"break-word";this.n=d}this.h.innerText=a;j=this.h.offsetWidth;k=this.h.offsetHeight;j-=o._c+o._d+this.ay._c+this.ay._d;k-=o._e+o._b+this.ay._e+this.ay._b;if(b!=null&&d==0){if(g){this.a.item(i,new $$a.af(1,j/h,k))}else{if(!this.a.d(i)){this.a.item(i,new $$a.af(1,0,k))}}}}if(c){j+=this.ay._c+this.ay._d;k+=this.ay._e+this.ay._b;if(!this.g()){j+=o._c+o._d;k+=o._e+o._b}}return new $$a.af(1,j+1,k)},af:function(a,b){if(a!=null&&a.fontString()==null){$.ig.FontUtil.prototype.updateFontString(a)}var c=a==this.d()?this.ab:a.fontString();var d=0;if(this.a.d(c)){d=this.a.item(c).width()}this.a.item(c,new $$a.af(1,d,b))},ac:function(){this.c=this.b;this.an=this.ah;this.ao=this.am;this.w=$m($$a.$ah.$type,null);this.b=null;this.ah=null;this.am=null;this.z=null;this.k=null;this.a.u()},ag:function(){if(this.w.hasValue()){return}var a=this.l();this.w=$m($$a.$ah.$type,new $$a.ah(1,$$t.$au.d(a.paddingLeft),$$t.$au.d(a.paddingTop),$$t.$au.d(a.paddingRight),$$t.$au.d(a.paddingBottom)));this.v=$m($$a.$ah.$type,new $$a.ah(1,$$t.$au.d(a.marginLeft),$$t.$au.d(a.marginTop),$$t.$au.d(a.marginRight),$$t.$au.d(a.marginBottom)));this.ay=new $$a.ah(1,$$t.$au.d(a.borderLeftWidth),$$t.$au.d(a.borderTopWidth),$$t.$au.d(a.borderRightWidth),$$t.$au.d(a.borderBottomWidth));this.m=$.ig.truncate(Math.max(0,$$t.$au.d(a.marginTop)));this.o=$.ig.truncate(Math.max(0,$$t.$au.d(a.height)));this.p=$.ig.truncate(Math.max(0,$$t.$au.d(a.width)));var b=a.borderLeftColor;this.aj=$$a.$at.create(b);var c=this.k.borderTopColor;this.al=c==b?this.aj:$$a.$at.create(c);c=this.k.borderRightColor;this.ak=c==b?this.aj:$$a.$at.create(c);c=this.k.borderBottomColor;this.ai=c==b?this.aj:$$a.$at.create(c)},$type:new $.ig.Type("SchedulerView_MetricsCache_MetricsCacheItem",$.ig.$ot)},true);$c("ShapeView:a7","ElementView",{ax:null,init:function(a){this.ax=new $$4.x($$1.$m.$type,0);$$t.$av.init.call(this,a);a.style.borderRadius=null},aw:function(a,b){var c=b!=null?b:document.createElement("div");var d=new $$t.a7(c);d.az(a);return d},ag:function(){var b=this.ax.getEnumerator();while(b.moveNext()){var a=b.current();a.remove()}this.ax.clear();if($j(this.ab(),51)){var c=this.r();if(c!=null){c.style.left="-10000px";c.style.top="-10000px"}return}$$t.$av.ag.call(this)},aq:function(a,b,c,d,e){var f=$b($$t.$fa.$type,a);this.ay(f);switch(f.dg()){default:case 0:this.r().style.borderRadius=null;break;case 1:this.r().style.borderRadius="50%";break}$$t.$av.aq.call(this,a,b,c,d,e)},ay:function(a){if(this.r()==null){return}this.am(a,a.ds())},az:function(a){this.ay(a)},$type:new $.ig.Type("ShapeView",$$t.$av.$type)},true);$c("SplitterView:a8","ElementView",{aw:null,init:function(a,b){$$t.$av.init.call(this,a);this.aw=b},ax:function(a){var b=document.createElement("div");var c=new $$t.a8(b,a);a.r().appendChild(b);return c},n:function(){return false},ay:function(a,b,c){var d=this.r();if(d==null){return}d.style.position="absolute";d.style.left=b+"px";d.style.top=c+"px";if(a==33){d.style.width="100%"}else{d.style.height="100%"}var e=this.aw.bh(a);if(e!=null){d.className=e}},$type:new $.ig.Type("SplitterView",$$t.$av.$type)},true);$c("TextContentView:a9","SelectableViewBase",{a3:null,ay:0,a0:null,a2:null,init:function(a){$$t.$a6.init.call(this,a)},az:function(a){var b=$$t.$a9.a1();var c=new $$t.a9(b);c.a6(a);return c},a1:function(){return document.createElement("div")},ag:function(){if(this.a0!=null){this.a0.remove();this.a0=null}$$t.$a6.ag.call(this)},ai:function(a){$$t.$a6.ai.call(this,a);if(this.a0==null){return}this.a2=null;this.a8($b($$t.$fe.$type,a))},aj:function(a,b,c){if(this.a0==null){return}this.a2=null;this.a8($b($$t.$fe.$type,a))},aq:function(a,b,c,d,e){$$t.$a6.aq.call(this,a,b,c,d,e);if(this.a0==null){return}d-=a.bh()+a.bi();e-=a.bj()+a.bg();var f=0;if(this.ay!=0){var g=a.b();var h;if(a.k()==5){h=this.a0.offsetHeight}else{h=a._r._br().bf(a.t(),g);if(h==0){h=this.a0.offsetHeight;a._r._br().bs(a.t(),g,h)}}var i=e-h;if(i>0){switch(this.ay){case 2:f+=i;break;case 1:default:f+=$a(i,2);break}}}this.a0.style.top=f+"px"},text:function(){return this.a3},a5:function(a){this.a7(a)},a6:function(a){this.a5(a)},a7:function(a){this.a|=32;var b=a.dg();if(b!=this.text()){this.a3=b;this.ah();if(this.a3!=null){if(this.a0==null){this.a0=document.createElement("span");this.a0.style.position="relative";this.a0.style.width="100%";this.a8(a);this.r().appendChild(this.a0)}this.a0.innerText=this.a3}else{if(this.a0!=null){this.a0.remove()}this.a0=null}}},a8:function(a){if(this.a0==null){return}this.ay=a.g();var b=null;switch(a.e()){case 0:b="left";break;case 2:b="right";break;case 3:b="justify";break;default:case 1:b="center";break}var c=this.r().style;c.textAlign=b;var d="";var e=a._r._br().a5(a.t());if(this.l()||e.d()!=a.b()){var f=a.b();d=f!=null?f.fontString():null}var g="";var h="nowrap";var i="ellipsis";switch(a.k()){case 5:g="break-word";h="";i="";break;case 4:i="clip";break}c.textOverflow=i;c.wordWrap=g;c.whiteSpace=h;if(this.a2==d){return}this.a0.style.font=d;this.a2=d},$type:new $.ig.Type("TextContentView",$$t.$a6.$type)},true);$c("TextOnlyNoBackgroundView:ba","TextContentView",{init:function(a){$$t.$a9.init.call(this,a);a.style.backgroundColor="transparent"},a9:function(a){var b=$$t.$a9.a1();var c=new $$t.ba(b);c.a6(a);return c},i:function(){return false},$type:new $.ig.Type("TextOnlyNoBackgroundView",$$t.$a9.$type)},true);$c("InfoBase:bv","Object",{f:null,e:null,b:null,a:null,c:null,s:null,r:null,t:null,d:null,init:function(a,b){$.ig.$op.init.call(this);this._k=a;this._i=b;this._q=1},l:function(){return this._k.dataSource()},_i:null,j:function(){return this._k!=null?this._k._a8():$$t.$fx.f()},m:function(){},_k:null,_q:0,aa:function(){},ab:function(){if(false==this.m()){this.ai()}},u:function(a){return this.j().formatLongDate(a)},v:function(a){return this.j().formatShortTime(a,this._k.timeFormat())},h:function(){if(null==this.d){this.d=$$t.$fx.c(this.j())}return this.d},n:function(a){var b=this.h();var c=b.length;for(var d=0;d<c;d++){if(b[d]==a){return d}}return 0},g:function(a){if(a==3){if(null==this.b){this.b=this.j().getDayNames(3)}return this.b}else if(a==1){if(null==this.c){this.c=this.j().getDayNames(1)}return this.c}else{if(null==this.a){this.a=this.j().getDayNames(2)}return this.a}},w:function(a){return this.j().formatYearMonth(a)},x:function(a,b){return this.w($.ig.Date.prototype.fromValues(a,b,1,0,0,0,0))},y:function(a){if(String.isNullOrEmpty(this.s)){var b=this.g(a);var c=0;var d="";for(var f=0;f<b.length;f++){var e=b[f];var g=e.length;if(g>c){c=g;d=e}}switch(a){case 3:this.s=d;break;case 2:this.r=d;break;case 1:this.t=d;break}}switch(a){case 3:return this.s;case 2:return this.r;case 1:return this.t}return this.t},z:function(a,b){if(b==1){if(null==this.f){this.f=this.j().getMonthNames(1)}return this.f[a-1]}else{if(null==this.e){this.e=this.j().getMonthNames(0)}return this.e[a-1]}},o:function(a){return this.p(a.getFullYear(),$.ig.Date.prototype.getMonth(a))},p:function(a,b){if(b==1){return 1}var c=$.ig.Date.prototype.fromValues(a,b,1,0,0,0,0);var d=$.ig.Date.prototype.fromValues(a,1,1,0,0,0,0);var e=$$t.$fx.o(this.j(),d.getFullYear(),$.ig.Date.prototype.getMonth(d),0,this.j().firstDayOfWeekResolved());try{d=$.ig.Date.prototype.addDays(d,-1*e)}catch(f){}var g=$.ig.util.timeSpanTotalDays(c-d);return $a($.ig.truncate(g),7)+1},ac:function(){},ah:function(){},ae:function(){this.aa()},ad:function(){this.aa()},af:function(a){this._i=a;this.aa()},ag:function(){this.aa()},ai:function(){},$type:new $.ig.Type("InfoBase",$.ig.$ot)},true);$c("DWActivityAreaInfo:bc","InfoBase",{ak:null,am:null,init:function(a,b){$$t.$bv.init.call(this,a,b)},aa:function(){this.as()},m:function(){return null!=this.ak&&null!=this.am},ac:function(){this.an().ab()},ae:function(){$$t.$bv.ae.call(this)},af:function(a){$$t.$bv.af.call(this,a)},ah:function(){this.aa();this.ai()},ai:function(){this.as()},al:function(){if(null==this.ak){this.ak=new $$t.bg(this._aj,this._k._dh(),this._ap,this._at)}return this.ak},_at:0,_aj:0,an:function(){if(null==this.am){if(this._k.viewMode()==2){this.am=new $$t.br(0,this.al(),this._ap,this._k.selectedDate(),this._i,this.j(),this._aq)}else{this.am=new $$t.br(1,this.al(),this._k._c(),this._k.selectedDate(),this._i,this.j(),this._aq)}}return this.am},_ap:0,_aq:0,_ao:0,ar:function(a,b,c,d,e){if(a!=this._aj||b!=this._ap||d!=this._ao||c!=this._aq||e!=this._at){this._aj=a;this._ap=b;this._ao=d;this._aq=c;this._at=e;this.as()}},as:function(){this.ak=null;this.am=null;this._q++},$type:new $.ig.Type("DWActivityAreaInfo",$$t.$bv.$type)},true);$c("AgendaInfo:bd","InfoBase",{ao:null,ap:null,as:0,ak:null,an:null,init:function(a,b){$$t.$bv.init.call(this,a,b)},aa:function(){if(null!=this.ao){this.ao.clear();this.ao=null}if(null!=this.ap){this.ap.clear();this.ap=null}if(null!=this.an){this.an.clear();this.an=null}},m:function(){return null!=this.ao&&null!=this.ap},ac:function(){this.aa()},ae:function(){$$t.$bv.ae.call(this)},ah:function(){},ai:function(){this.a1()},_at:0,_au:0,am:function(a){var d__=new $$t.bf((-2));d__.___4__this=this;d__.___3__start=a;return d__},_aw:0,ax:function(){this.ab();return this.as},al:function(a){return this.ap.indexOf(a)>-1},ar:function(){if(null!=this.an){return this.an}this.an=new $$4.x($$t.$eb.$type,0);var a=new $$4.h(String,$$4.$x.$type.specialize($$t.$z.$type),0);if(null==this.l()){return this.an}this.l()._ay(this._i,null,function(b,c){if(c){}else{a=$$t.$b1.j(b)}});this.an=this.aq(a);return this.an},ay:function(a){this.ab();var c=this.ao.getEnumerator();while(c.moveNext()){var b=c.current();if(a<b._c+b._b){return $m($$0.$s.$type,b._a)}}return $m($$0.$s.$type,null)},aj:function(a){this.ab();return this.ao.__inner[this.ap.indexOf(a)]},av:function(a){this.ab();var b=$.ig.Date.prototype.getDate(a);var d=this.ao.getEnumerator();while(d.moveNext()){var c=d.current();if(b<=c._a){return c._c}}return-1},az:function(a,b,c){if(a!=this._au||b!=this._at||c!=this._aw){this._au=a;this._at=b;this._aw=c;this.a2()}},a2:function(){if(false==this.m()){this.a1()}else{this.as=0;var b=this.ao.getEnumerator();while(b.moveNext()){var a=b.current();a.f(this,this.as,a._d);this.as+=a._b}}},aq:function(a){var b=new $$4.x($$t.$eb.$type,0);var c=0;var e=a.keys().getEnumerator();while(e.moveNext()){var d=e.current();var f=$$t.$b1.k(d);if(f<$.ig.Date.prototype.getDate(this._i.start())){continue}if(f>$.ig.Date.prototype.getDate(this._i.end())){break}c+=this._au;var g=a.item(d);var i=g.getEnumerator();while(i.moveNext()){var h=i.current();b.add(new $$t.eb(1,h,c,f));c+=this._at}c+=this._aw}return b},a0:function(){var $self=this;this.ak=null;if(null!=this.l()){this.l()._ax(this._i,null,function(a,b){if(b){}else{$self.ak=a}})}},a1:function(){this.ao=new $$4.x($$t.$be.$type,0);this.ap=new $$4.x($$0.$s.$type,0);this.a0();if(null==this.ak){return}this.as=0;var b=this.ak.dates().getEnumerator();while(b.moveNext()){var a=b.current();var c=this.ak._item(a);if(c.hasValue()){var d=new $$t.be(this,a,this.as,c.value());this.ao.add(d);this.ap.add(a);this.as+=d._b}}this._q++},$type:new $.ig.Type("AgendaInfo",$$t.$bv.$type)},true);$c("AgendaDayMetrics:be","Object",{init:function(a,b,c,d){$.ig.$op.init.call(this);this._a=b;this.f(a,c,d)},toString:function(){return $7("Daay: {0}, ScrollOffset: {1}, ScrollExtent: {2}, TotalAppointments: {3}",[this._a,this._c,this._b,this._d])},_a:new Date,_b:0,_c:0,_d:0,f:function(a,b,c){this._d=c;this._b=a._au+this._d*a._at+a._aw;this._c=b},$type:new $.ig.Type("AgendaDayMetrics",$.ig.$ot)},true);$c("DWActivityColumnSetManager:bg","Object",{g:null,a:0,d:null,i:0,n:0,init:function(a,b,c,d){$.ig.$op.init.call(this);this.a=a;this.d=b;this.i=c;this.n=d;this.m()},o:function(){return this.n},b:function(){return this.a},h:function(){return this.g},e:function(){var d__=new $$t.bl((-2));d__.___4__this=this;return d__},f:function(){var d__=new $$t.bm((-2));d__.___4__this=this;return d__},c:function(){return this.b()!=0},j:function(){switch(this.a){case 1:case 2:return this._l*this.i;default:return this.i}},_k:0,_l:0,m:function(){var a=new $$4.x($$t.$bi.$type,0);this.g=new $$4.g($$t.$bi.$type,1,a);var b=new $$4.x($$t.$ac.$type,0);this._l=0;if(null!=this.d){this._l=$$5.$e.aj($$t.$ac.$type,this.d);b.addRange(this.d)}switch(this.a){case 1:{this._k=this.o()==1?1:2;var c=new $$4.x($$t.$bh.$type,0);var d=0;for(var e=0;e<this._l;e++){var f=b.__inner[e];var g=new $$4.x($$t.$bh.$type,0);for(var h=0;h<this.i;h++){g.add(new $$t.bj(d+h,1,f))}var i=g.count();c.add(function(){var $ret=new $$t.bk(f,d,i);$ret._c=new $$4.g($$t.$bh.$type,1,g);return $ret}());d+=i}a.add(function(){var $ret=new $$t.bi;$ret._a=new $$4.g($$t.$bh.$type,1,c);return $ret}());break}case 2:{this._k=this.o()==1?1:2;var j=new $$4.x($$t.$bh.$type,0);var k=0;for(var l=0;l<this.i;l++){var m=new $$4.x($$t.$bh.$type,0);for(var n=0;n<this._l;n++){m.add(new $$t.bk(b.__inner[n],k+n,1))}var o=m.count();j.add(function(){var $ret=new $$t.bj(k,o,b.__inner[0]);$ret._c=new $$4.g($$t.$bh.$type,1,m);return $ret}());k+=o}a.add(function(){var $ret=new $$t.bi;$ret._a=new $$4.g($$t.$bh.$type,1,j);return $ret}());break}case 0:{this._k=this.o()==1?0:1;var p=new $$4.x($$t.$bh.$type,0);for(var q=0;q<this.i;q++){p.add(new $$t.bj(q,1,null))}a.add(function(){var $ret=new $$t.bi;$ret._a=new $$4.g($$t.$bh.$type,1,p);return $ret}());break}}},$type:new $.ig.Type("DWActivityColumnSetManager",$.ig.$ot)},true);$c("DWActivityAreaColumn:bh","Object",{init:function(a,b,c,d){$.ig.$op.init.call(this);this._a=a;this._e=c;this._d=b;this._b=d},_c:null,_a:0,_d:0,_e:0,_b:null,$type:new $.ig.Type("DWActivityAreaColumn",$.ig.$ot)},true);$c("DWActivityAreaColumnSet:bi","Object",{init:function(){$.ig.$op.init.call(this)},_a:null,$type:new $.ig.Type("DWActivityAreaColumnSet",$.ig.$ot)},true);$c("DWActivityAreaDayColumn:bj","DWActivityAreaColumn",{init:function(a,b,c){$$t.$bh.init.call(this,0,a,b,c)},$type:new $.ig.Type("DWActivityAreaDayColumn",$$t.$bh.$type)},true);$c("DWActivityAreaResourceColumn:bk","DWActivityAreaColumn",{init:function(a,b,c){$$t.$bh.init.call(this,1,b,c,a)},$type:new $.ig.Type("DWActivityAreaResourceColumn",$$t.$bh.$type)},true);$c("DWActivityPage:bn","Object",{f:false,g:false,m:null,n:null,i:null,v:0,u:0,t:0,o:null,init:function(a,b,c,d){this.v=$.ig.truncate($$t.$b1.r(1));this.u=$.ig.truncate($$t.$b1.r(1));this.t=$.ig.truncate($$t.$b1.r(5));$.ig.$op.init.call(this);this._c=a;this._a=b;this._z=c;this._y=d;this.m=new $$4.x($$t.$bt.$type,0);this.n=new $$4.x($$t.$bu.$type,0);this.o=new $$4.x($$t.$bq.$type,0);this.ah();this.ae()},k:function(){return this.m},_b:null,_w:0,_a:null,p:function(){return this._a[0]},s:function(){return this._a[this._a.length-1]},_y:0,_z:0,l:function(){return this.n},j:function(){if(null==this.i){this.ae()}return this.i},_c:null,h:function(a){var b=$.ig.Date.prototype.getDate(a);var e=this._a;for(var d=0;d<e.length;d++){var c=e[d];if(+c==+$$0.$s.minValue()){break}if($$t.$b1.d($.ig.Date.prototype.getDate(c),b)){return true}}return false},ab:function(a,b,c,d){if(this.f){return}var e=new $$4.x($$a.$ae.$type,1,a.x(0));var f=$.ig.truncate(d*1.2);var i=this._a;for(var h=0;h<i.length;h++){var g=i[h];if(+g==+$$0.$s.minValue()){continue}var j=false;var k=null;j=function(){var l=b.tryGetValue($$t.$b1.u(g),k);k=l.p1;return l.ret}();if(false==j){continue}var l=new $$4.x($$t.$bt.$type,2,k.count());var n=k.getEnumerator();while(n.moveNext()){var m=n.current();if(m.isAllDay()){continue}var o=this.x(g,m.resource());if(o<0){continue}var p=$$t.$b1.b(m,g);var q=c.aj(p);if(null==q||q.length==0){continue}for(var s=0;s<q.length;s++){var r=q[s];var t=null;var u=function(){var v=r._ae(p,t);t=v.p1;return v.ret}();if(false==u){continue}var v=t[0];var w=t[t.length-1];var x=v._g+v.e(p.start());var y=w._g+w.e(p.end());var z=$.ig.truncate(e.__inner[o].left())+this._z;var aa=$.ig.truncate(e.__inner[o].width());if(aa-this.u>this.t){aa-=this.u}if(y-this.v>x){y-=this.v}var ab=y-x;if(ab<f){ab=f}this.m.add(new $$t.bt(m,new $$a.ae(0,z,x,aa,ab),r,$.ig.Date.prototype.getDate(g),t))}}}this.ag();this.f=true},ac:function(a,b,c,d){if(this.g){return}var e=this._c.b()!=0;var f=$.ig.Date.prototype.getDate($$0.$s.now());var g=$a(this._y,this._c.j());var h=new $$4.x($$a.$ae.$type,1,b.x(0));if(false==e){var i=$$t.$v.f(d,true,null);var j=new $$4.x($$t.$s.$type,0);var l=this._c.e().getEnumerator();while(l.moveNext()){var k=l.current();var m=k._d;if(false==m<this._a.length){break}f=this._a[m];if(+f==+$$0.$s.minValue()){break}var n=$$t.$v.d(d,true,null,true).contains(f.getDay());this.aa(f,null,n?i:j,c,h,m)}return}var o=0;var p=0;var q=this._c._l;var s=this._c.f().getEnumerator();while(s.moveNext()){var r=s.current();var t=r._b;var u=null;var v=r._d;switch(this._c.b()){case 0:break;case 2:f=this._a[o];if(+f==+$$0.$s.minValue()){break}p++;if(p>q-1){p=0;if(o<this._a.length-1){o++}}break;case 1:f=this._a[o];if(+f==+$$0.$s.minValue()){break}o++;if(o>this._a.length-1){o=0}break}var w;var x=function(){var y=t._l(f.getDay(),d.daysOfWeekSettings(),w);w=y.p2;return y.ret}();if(null!=x){u=x.toArray()}else{u=[]}this.aa(f,t,u,c,h,v)}this.g=true},r:function(a){var b=$a(this._y,this._c.j());var d=this.o.getEnumerator();while(d.moveNext()){var c=d.current();if(a<c._c+b){return c._b}}return $$0.$s.minValue()},q:function(a){
var b=a-this._z;return this.r(b)},x:function(a,b){var $self=this;var c=-1;if(false==this._c.c()){b=null}if(function(){var d=$self.j().tryGetValue($$t.$b1.t(a,b),c);c=d.p1;return d.ret}()){return c}return-1},e:function(a){if(false==this._c.c()){return null}var b=$a(this._y,this._c.j());var d=this.o.getEnumerator();while(d.moveNext()){var c=d.current();if(a<c._c+b){return c._a}}return null},d:function(a){var b=a-this._z;return this.e(b)},af:function(){this.f=false;this.m=new $$4.x($$t.$bt.$type,0)},aa:function(a,b,c,d,e,f){var g=new $$4.x($$t.$b0.$type,0);var i=d.aq().getEnumerator();while(i.moveNext()){var h=i.current();var j=false;var l=h.getEnumerator();while(l.moveNext()){var k=l.current();if(g.count()<1){j=$$t.$b1.i(k._a,c);g.add(k);continue}var m=$$t.$b1.i(k._a,c);if(m!=j){this.ad(a,b,j,g,e,f);j=m;g.clear()}g.add(k)}if(null!=g&&g.count()>0){this.ad(a,b,j,g,e,f)}}},ad:function(a,b,c,d,e,f){if(d.count()>0){var g=d.__inner[0];var h=d.__inner[d.count()-1];var i=g._g;var j=h._g+h._f;var k=$.ig.truncate(e.__inner[f].left())+this._z;var l=$.ig.truncate(e.__inner[f].width());var m=j-i;this.n.add(new $$t.bu(a,b,new $$a.ae(0,k,i,l,m),c,new $$t.s(g._a.start(),h._a.end())))}},ae:function(){var a=$.ig.Date.prototype.getDate($$0.$s.now());this.i=new $$4.h(String,$$0.$aw.$type,0);var b=$a(this._y,this._c.j());var c=0;if(false==this._c.c()){var e=this._c.e().getEnumerator();while(e.moveNext()){var d=e.current();var f=d._d;if(false==f<this._a.length){break}a=this._a[f];if(+a==+$$0.$s.minValue()){break}this.i.add($$t.$b1.t(a,d._b),f);this.o.add(function(){var $ret=new $$t.bq;$ret._b=a;$ret._a=null;$ret._c=c;return $ret}());c+=b}return}var g=0;var h=0;var i=this._c._l;var k=this._c.f().getEnumerator();while(k.moveNext()){var j=k.current();var l=j._d;switch(this._c.b()){case 0:break;case 2:a=this._a[g];if(+a==+$$0.$s.minValue()){break}h++;if(h>i-1){h=0;if(g<this._a.length-1){g++}}break;case 1:a=this._a[g];if(+a==+$$0.$s.minValue()){break}g++;if(g>this._a.length-1){g=0}break}this.i.add($$t.$b1.t(a,j._b),l);this.o.add(function(){var $ret=new $$t.bq;$ret._b=a;$ret._a=j._b;$ret._c=c;return $ret}());c+=b}},ag:function(){var a=new $$4.h(String,$$4.$x.$type.specialize($$t.$bo.$type),0);var b=null;var d=this.k().getEnumerator();while(d.moveNext()){var c=d.current();var e=c._d;var f=c._b;var g=this._c.b()==0?null:f.resource();var h=$$t.$b1.t(e,g);if(false==a.containsKey(h)){var i=new $$4.x($$t.$bo.$type,0);i.add(new $$t.bo(e));b=i;a.add(h,i)}else{b=a.item(h)}var j=false;var l=b.getEnumerator();while(l.moveNext()){var k=l.current();if(false==k.a(f)){k.e(c);j=true;break}}if(false==j){var m=new $$t.bo(e);m.e(c);b.add(m)}}var o=a.values().getEnumerator();while(o.moveNext()){var n=o.current();var p=n.count();var q=0;var s=n.getEnumerator();while(s.moveNext()){var r=s.current();var u=r.b().getEnumerator();while(u.moveNext()){var t=u.current();var v=t.b;var w=v._e;var x=$.ig.truncate(w.width()/p);var y=0;for(var z=q+1;z<p;z++){if(false==n.__inner[z].a(v._b)){y++}else{break}}var aa=x+y*x;if(aa-this.u>this.t){aa-=this.u}var ab=new $$a.ae(0,w.left()+q*x,w.top(),aa,w.height());v._e=ab}q++}}},ah:function(){if(this._a.length==1){return}var a=new $$4.x($$0.$s.$type,0);var b=this._a.length;var e=this._a;for(var d=0;d<e.length;d++){var c=e[d];if(+c!=+$$0.$s.minValue()){a.add(c)}else{break}}this._a=a.toArray()},$type:new $.ig.Type("DWActivityPage",$.ig.$ot)},true);$c("DWActivityPage_ActivityLayoutColumn:bo","Object",{c:null,init:function(a){this.c=new $$4.x($$t.$bp.$type,0);$.ig.$op.init.call(this);this.d=a},b:function(){return this.c},d:new Date,e:function(a){this.c.add(new $$t.bp(a))},a:function(a){var b=$$t.$b1.b(a,this.d);var d=this.c.getEnumerator();while(d.moveNext()){var c=d.current();if(c.c.intersectsWith(b,true)){return true}}return false},$type:new $.ig.Type("DWActivityPage_ActivityLayoutColumn",$.ig.$ot)},true);$c("DWActivityPage_ActivityLayoutInfo:bp","Object",{init:function(a){$.ig.$op.init.call(this);this.b=a;this.a=a._b;this.c=$$t.$b1.b(this.a,a._d)},b:null,a:null,c:null,$type:new $.ig.Type("DWActivityPage_ActivityLayoutInfo",$.ig.$ot)},true);$c("DWActivityPage_XOffsetInfo:bq","Object",{init:function(){$.ig.$op.init.call(this)},_c:0,_a:null,_b:new Date,$type:new $.ig.Type("DWActivityPage_XOffsetInfo",$.ig.$ot)},true);$c("DWActivityPageManager:br","Object",{t:0,a:null,n:new Date,e:null,g:null,u:0,v:0,l:null,h:null,init:function(a,b,c,d,e,f,g){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}this.v=-1;$.ig.$op.init.call(this);this.h=b;this.t=c;this.o($.ig.Date.prototype.getDate(d));this.e=e;this.g=f;this.u=g;this.l=new $$4.h($$0.$aw.$type,$$t.$bn.$type,1,3)},init1:function(a,b,c,d,e,f,g){this.v=-1;$.ig.$op.init.call(this);this.h=b;this.a=c;this.o($.ig.Date.prototype.getDate(d));this.g=f;this.u=g;this.e=this.f(e);this.l=new $$4.h($$0.$aw.$type,$$t.$bn.$type,1,3)},z:function(){return this.y()*this.u},o:function(a){if(arguments.length===1){this.n=$.ig.Date.prototype.getDate(a);return a}else{return this.n}},k:function(){if(this.t>0){return 0}return 1},y:function(){if(this.v>-1){return this.v}var a=this.p($.ig.Date.prototype.getDate(this.e.start()));var b=$.ig.Date.prototype.getDate(this.e.end())-$.ig.Date.prototype.getDate(a);switch(this.k()){case 0:{var c=$a($.ig.truncate($.ig.util.timeSpanTotalDays(b)),this.t);if(c*this.t<$.ig.truncate($.ig.util.timeSpanTotalDays(b))){c++}this.v=c;break}case 1:{var d=$a($.ig.truncate($.ig.util.timeSpanTotalDays(b)),7);if(d*7<$.ig.truncate($.ig.util.timeSpanTotalDays(b))){d++}this.v=d;break}}return this.v},aa:function(a){if(a!=-2147483648){var b=$$5.$e.a($$0.$aw.$type,this.l.keys());for(var d=0;d<b.length;d++){var c=b[d];if(c!=a){this.l.remove(c)}}}else{this.l.clear()}},ab:function(){var b=this.l.values().getEnumerator();while(b.moveNext()){var a=b.current();a.af()}},b:function(){var a=this.j(this.o());if(null!=a){return a._a}return new Array(0)},i:function(a){if(this.u==0){return null}var b=$a(a,this.u);var c=$.ig.Date.prototype.getDate(this.e.start());var d=this.p(c);if(d<c){if(this.k()==0){d=c}else{d=$.ig.Date.prototype.addDays(d,7)}}var e=this.k()==1?$.ig.Date.prototype.addDays($.ig.Date.prototype.getDate(d),7*b):$.ig.Date.prototype.addDays($.ig.Date.prototype.getDate(d),this.t*b);return this.j(e)},j:function(a){var $self=this;var b=[this.o()];if($.ig.Date.prototype.getDate(a)<$.ig.Date.prototype.getDate(this.e.start())){a=$.ig.Date.prototype.getDate(this.e.start())}switch(this.k()){case 0:{var c=$.ig.Date.prototype.getDate(a);b=new Array(this.t);for(var d=0;d<this.t;d++){if($.ig.Date.prototype.getDate(c)>$.ig.Date.prototype.getDate(this.e.end())){break}b[d]=$.ig.Date.prototype.getDate(c);c=$.ig.Date.prototype.addDays(c,1)}break}case 1:{var e=this.p(a);b=new Array(this.a.length);var f=0;var g=$.ig.Date.prototype.getDate(e);for(var h=0;h<7;h++){if($.ig.Date.prototype.getDate(g)>$.ig.Date.prototype.getDate(this.e.end())){break}if($$5.$e.e($$0.$u.$type,this.a,g.getDay())){b[f]=$.ig.Date.prototype.getDate(g);f++}g=$.ig.Date.prototype.addDays(g,1)}break}}var i=false;for(var k=0;k<b.length;k++){var j=b[k];if(+j!=+$$0.$s.minValue()){i=true;break}}if(false==i){return null}var l=this.x(this.w(b[0]));var m=null;if(function(){var n=$self.l.tryGetValue(l,m);m=n.p1;return n.ret}()){return m}m=new $$t.bn(this.h,b,l,this.u);this.l.add(l,m);return m},c:function(){this.o(this.r(this.o()));return this.b()},d:function(){this.o(this.s());return this.b()},m:function(a){var d__=new $$t.bs((-2));d__.___4__this=this;d__.___3__startPage=a;return d__},p:function(a){var b=a;var c=this.g.firstDayOfWeekResolved();while(b.getDay()!=c){b=$.ig.Date.prototype.addDays(b,-1)}return $.ig.Date.prototype.getDate(b)},w:function(a){var b=0;if(this.k()==1){var c=this.p(a);var d=this.p($.ig.Date.prototype.getDate(this.e.start()));if(c>d){b=$a($.ig.truncate($.ig.util.timeSpanTotalDays(c-d)),7)}}else{var e=$.ig.Date.prototype.getDate(this.e.start());if($.ig.Date.prototype.getDate(a)>=e){var f=a;if(this.t>1){while(0!=$.ig.util.timeSpanTotalDays(f-e)%this.t){f=$.ig.Date.prototype.addDays(f,-1)}}b=$a($.ig.truncate($.ig.util.timeSpanTotalDays(f-e)),this.t)}}return b},q:function(a){var b=a;var c=$$t.$fx.d(this.g.firstDayOfWeekResolved())[6];while(b.getDay()!=c){b=$.ig.Date.prototype.addDays(b,1)}return $.ig.Date.prototype.getDate(b)},r:function(a){var b=+null==+a?this.o():a;switch(this.k()){case 0:{var c=$.ig.Date.prototype.addDays($.ig.Date.prototype.getDate(b),this.t);if(c>$.ig.Date.prototype.getDate(this.e.end())){return $.ig.Date.prototype.getDate(b)}return c}case 1:{var d=$.ig.Date.prototype.addDays($.ig.Date.prototype.getDate(b),7);if(d>$.ig.Date.prototype.getDate(this.e.end())){return $.ig.Date.prototype.getDate(b)}return d}}return b},s:function(){switch(this.k()){case 0:{var a=$.ig.Date.prototype.addDays($.ig.Date.prototype.getDate(this.o()),-1*this.t);if(a<$.ig.Date.prototype.getDate(this.e.start())){return $.ig.Date.prototype.getDate(this.o())}return a}case 1:{var b=$.ig.Date.prototype.addDays($.ig.Date.prototype.getDate(this.o()),-7);if(b<$.ig.Date.prototype.getDate(this.e.start())){return $.ig.Date.prototype.getDate(this.o())}return b}}return this.o()},x:function(a){return a*this.u},f:function(a){var b=this.p(a.start());var c=this.q(a.end());return new $$t.a(b,c)},$type:new $.ig.Type("DWActivityPageManager",$.ig.$ot)},true);$c("DWActivityRectInfo:bt","Object",{init:function(a,b,c,d,e){$.ig.$op.init.call(this);this._b=a;this._e=b;this._c=c;this._d=d;this._a=e},_b:null,_e:null,_c:null,_d:new Date,_a:null,$type:new $.ig.Type("DWActivityRectInfo",$.ig.$ot)},true);$c("DWTimeSlotRectInfo:bu","Object",{init:function(a,b,c,d,e){$.ig.$op.init.call(this);this._d=a;this._a=b;this._c=d;this._e=c;this._b=e},_d:new Date,_c:false,_e:null,_b:null,_a:null,$type:new $.ig.Type("DWTimeSlotRectInfo",$.ig.$ot)},true);$c("MonthInfo:bw","InfoBase",{am:null,an:null,ao:null,ar:new Date,as:new Date,ap:new Date,aq:new Date,a0:0,init:function(a,b){this._bk=new $$a.af;$$t.$bv.init.call(this,a,b);this.ar=b.start();this.ap=b.end();this.as=$.ig.Date.prototype.fromValues(this.ar.getFullYear(),$.ig.Date.prototype.getMonth(this.ar),1,0,0,0,0);this.aq=$.ig.Date.prototype.fromValues(this.ap.getFullYear(),$.ig.Date.prototype.getMonth(this.ap),1,0,0,0,0);this._al=0},aa:function(){if(null!=this.am){this.am.clear();this.am=null}if(null!=this.ao){this.ao.clear();this.ao=null}if(null!=this.an){this.an.clear();this.an=null}},m:function(){return null!=this.am&&null!=this.ao&&null!=this.an},ac:function(){},ae:function(){$$t.$bv.ae.call(this)},af:function(a){$$t.$bv.af.call(this,a);var b=a.start();var c=a.end();if(+this.ar!=+b||+this.ap!=+c){this.ar=b;this.ap=c;this.as=$.ig.Date.prototype.fromValues(b.getFullYear(),$.ig.Date.prototype.getMonth(b),1,0,0,0,0);this.aq=$.ig.Date.prototype.fromValues(c.getFullYear(),$.ig.Date.prototype.getMonth(c),1,0,0,0,0)}},ah:function(){},ai:function(){this.bi()},_a2:0,_bk:null,_a3:0,_a4:0,_a6:0,av:function(){return this.ap},aw:function(){return this.aq},ax:function(){return this.ar},ay:function(){return this.as},_a8:0,_al:0,ba:function(){this.ab();return this.a0},a9:function(){this.ab();return this.ao.count()},_bb:0,_bd:0,_bc:0,a5:function(a){this.ab();var b=$$t.$fx.o(this.j(),a.getFullYear(),$.ig.Date.prototype.getMonth(a),0,this.j().firstDayOfWeekResolved());var c=a.getDate();var d=0;for(var e=0;e<32;e+=7){if(c<=e+(7-b)){return d}d++}return d},aj:function(a){return this.ak(a.getFullYear(),$.ig.Date.prototype.getMonth(a))},ak:function(a,b){this.ab();var c=this.az($.ig.Date.prototype.fromValues(a,b,1,0,0,0,0));return this.am.item(this.bf(c.getFullYear(),$.ig.Date.prototype.getMonth(c)))},au:function(a){this.ab();var b=0;if(b>=a){return this.at(this.ao.__inner[0])}var c=this.ao.count();for(var d=0;d<c;d++){b+=this.am.item(this.ao.__inner[d])._b;if(b>=a){return this.at(this.ao.__inner[d])}}return this.at(this.ao.__inner[c-1])},bh:function(a,b,c,d,e,f,g,h,i,j){if(a!=this._a8||b!=this._a2||c!=this._bb||d!=this._bd||e!=this._bc||f!=this._al||g!=this._a6||$$a.$af.l_op_Inequality(h,this._bk)||i!=this._a4||j!=this._a3){this._a8=a;this._a2=b;this._bb=c;this._bd=d;this._bc=e;this._al=f;this._a6=g;this._bk=h;this._a4=i;this._a3=j;this.bj()}},bj:function(){if(false==this.m()){this.bi()}else{this.a0=0;var b=this.an.getEnumerator();while(b.moveNext()){var a=b.current();a.g(this,this.a0);this.a0+=a._b}this._q++}},a1:function(a,b){var c=$$0.$aw.parseInt(a.substr(0,4));var d=$$0.$aw.parseInt(a.substr(4,2));var e=$$0.$aw.parseInt(b.substr(0,4));var f=$$0.$aw.parseInt(b.substr(4,2));if(c<e){return-1}if(c>e){return 1}if(d<f){return-1}if(d>f){return 1}return 0},bf:function(a,b){var c=b.toString();if(c.length==1){c="0"+c}else if(c.length==0){c="00"}var d=a.toString();if(d.length==1){d="000"+d}else if(d.length==2){d="00"+d}else if(d.length==3){d="0"+d}else if(d.length==0){d="0000"}return d+c},at:function(a){return $.ig.Date.prototype.fromValues(this.be(a),this.a7(a),1,0,0,0,0)},a7:function(a){return $$0.$aw.parseInt(a.substr(4,2))},az:function(a){if(a<this.ax()){return this.ax()}if(a>this.av()){return this.av()}return a},bi:function(){var a=0;if(this.ar.getFullYear()==this.ap.getFullYear()){a=$.ig.Date.prototype.getMonth(this.ap)-$.ig.Date.prototype.getMonth(this.ar)}else{a+=13-$.ig.Date.prototype.getMonth(this.ar);if(this.ap.getFullYear()-this.ar.getFullYear()>1){a+=(this.ap.getFullYear()-this.ar.getFullYear()-1)*12}if(this.ap.getFullYear()!=this.ar.getFullYear()){a+=$.ig.Date.prototype.getMonth(this.ap)}}this.am=new $$4.h(String,$$t.$bx.$type,1,a);this.ao=new $$4.x(String,2,a);this.an=new $$4.x($$t.$bx.$type,2,a);this.a0=0;var b=this.ar.getFullYear();var c=$.ig.Date.prototype.getMonth(this.ar);var d=this.ap.getFullYear();var e=$.ig.Date.prototype.getMonth(this.ap);var f=this.j().firstDayOfWeekResolved();for(var g=b;g<=d;g++){var h=g==d;var i=12;if(h){i=e}for(var j=c;j<=i;j++){var k=this.bf(g,j);var l=new $$t.bx(this,$$t.$fx.n(this.j(),g,j,0),$$t.$fx.q(this.j(),g,j,0,f),this.a0,$$t.$fx.o(this.j(),g,j,0,f),$$t.$fx.p(this.j(),g,j,0,f));this.am.add(k,l);this.ao.add(k);this.an.add(l);this.a0+=l._b}c=1;b++}this._q++},bg:function(){var b=this.an.getEnumerator();while(b.moveNext()){var a=b.current()}},be:function(a){return $$0.$aw.parseInt(a.substr(0,4))},$type:new $.ig.Type("MonthInfo",$$t.$bv.$type)},true);$c("MonthMetrics:bx","Object",{init:function(a,b,c,d,e,f){$.ig.$op.init.call(this);this._d=b;this._e=c;this._a=e;this._f=f;this.g(a,d)},_a:0,_d:0,_e:0,_b:0,_f:0,_c:0,g:function(a,b){if(a._al==0){if(a._a4!=-1){this._b=a._a4+a._a6}else{this._b=a._a8+a._a2+a._bb*this._e+a._a6}}else{if(a._a3!=-1){this._b=a._a3+a._a6}else{this._b=a._bd+a._a6}}this._c=b},$type:new $.ig.Type("MonthMetrics",$.ig.$ot)},true);$c("TimeSlot:b0","Object",{init:function(a,b,c){$.ig.$op.init.call(this);this._a=a;this._g=b;this._f=c;this._i=$.ig.util.timeSpanTicks(a.end())-$.ig.util.timeSpanTicks(a.start())},j:function(){return this._a.end()},k:function(){return this._a.start()},_a:null,c:function(){return $.ig.util.timeSpanHours(this._a.end())},_b:false,_g:0,_f:0,h:function(){return $.ig.util.timeSpanHours(this._a.start())},_i:0,d:function(a){return this.e($.ig.Date.prototype.getTimeOfDay(a))},e:function(a){if(false==this._a.contains(a,false)){return-1}var b=$.ig.util.timeSpanTicks(a)-$.ig.util.timeSpanTicks(this._a.start());if(b==0){return 0}return $.ig.truncate(this._f*(b/this._i))},$type:new $.ig.Type("TimeSlot",$.ig.$ot)},true);$c("TimeSlotGroup:by","List$1",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$$4.$x.init.call(this,$$t.$b0.$type,0)},init1:function(a,b){$$4.$x.init2.call(this,$$t.$b0.$type,2,b)},init2:function(a,b){$$4.$x.init1.call(this,$$t.$b0.$type,1,b)},_ac:function(){if(this.count()<1){return new $$t.s($.ig.util.timeSpanFromSeconds(0),$.ig.util.timeSpanFromSeconds(0))}return new $$t.s(this.__inner[0].k(),this.__inner[this.count()-1].j())},_ad:function(a){var $self=this;var b=null;return function(){var c=$self._ae(a,b);b=c.p1;return c.ret}()},_ae:function(a,b){b=null;var c=new $$4.x($$t.$b0.$type,2,this.count());var e=this.getEnumerator();while(e.moveNext()){var d=e.current();if(d._a.intersectsWith(a,true)){c.add(d)}}if(c.count()<1){return{ret:false,p1:b}}b=c.toArray();return{ret:true,p1:b}},$type:new $.ig.Type("TimeSlotGroup",$$4.$x.$type.specialize($$t.$b0.$type))},true);$c("TimeSlotInfo:bz","InfoBase",{au:0,as:null,ar:null,init:function(a,b){$$t.$bv.init.call(this,a,b)},aa:function(){if(null!=this.as){this.as.clear();this.as=null}if(null!=this.ar){this.ar.clear();this.ar=null}},m:function(){return null!=this.as},ac:function(){this.aa()},ae:function(){$$t.$bv.ae.call(this)},ah:function(){this.aa();this.ai()},ai:function(){this.a5()},_az:0,_a0:0,_an:0,at:function(){if(null==this.as){this.a3()}return this.as},aq:function(){if(null==this.as){this.a3()}return this.ar},a1:function(){this.ab();return this.au},_ao:0,al:function(a){this.ab();var c=this.as.getEnumerator();while(c.moveNext()){var b=c.current();var d=b._a;if(d.end()<a.start()){continue}if(a.intersectsWith(d,true)){return b}}return null},ap:function(a){this.ab();return null!=this.al(a)},aw:function(a){this.ab();var c=this.at().getEnumerator();while(c.moveNext()){var b=c.current();var d=b._a;if(d.end()<a.start()){continue}if(a.intersectsWith(d,true)){return b._g}}return-1},am:function(a){this.ab();var c=this.at().getEnumerator();while(c.moveNext()){var b=c.current();if(a<b._g+b._f){return b}}return $$5.$e.ad($$t.$b0.$type,this.at())},aj:function(a){this.ab();var b=new $$4.x($$t.$by.$type,2,$$5.$e.aj($$t.$by.$type,this.aq()));var d=this.aq().getEnumerator();while(d.moveNext()){var c=d.current();if(c._ad(a)){b.add(c)}}return b.toArray()},ax:function(a){switch(a){case 0:return $.ig.truncate($$t.$b1.r(10));case 1:return $.ig.truncate($$t.$b1.r(12));case 2:return $.ig.truncate($$t.$b1.r(15));case 3:return $.ig.truncate($$t.$b1.r(20));case 4:return $.ig.truncate($$t.$b1.r(30));case 5:return $.ig.truncate($$t.$b1.r(40));default:return $.ig.truncate($$t.$b1.r(20))}},a4:function(a,b,c,d){if(d!=this._ao||c!=this._an){this.aa()}if(a!=this._a0||b!=this._az||c!=this._an||d!=this._ao){this._a0=a;this._az=b;this._an=c;this._ao=d;this.a5()}},a3:function(){var a=this.a2();var b=$.ig.truncate($.ig.util.timeSpanTotalMinutes(a));var c=$.ig.util.timeSpanHours(a)==1?24:24*$a(60,$.ig.util.timeSpanMinutes(a));this.as=new $$4.x($$t.$b0.$type,2,c);this.ar=new $$4.x($$t.$by.$type,0);this.au=0;var d=this.ak();if(this._ao==0){for(var f=0;f<d.length;f++){var e=d[f];var g=e.start();var h=$.ig.util.timeSpanHours(g);var i=this.av(g);var j=new $$t.s($.ig.util.timeSpanInit1(h,i,0),$.ig.util.timeSpanInit1(h,i+b,0));var k=new $$4.x($$t.$b0.$type,0);while(j.intersectsWith(e,true)){k.add(new $$t.b0(new $$t.s($.ig.util.timeSpanFromTicks($.ig.util.timeSpanTicks(j.start())),$.ig.util.timeSpanFromTicks($.ig.util.timeSpanTicks(j.end()))),this.au,this._a0));j.end(j.end()+a);j.start(j.start()+a);this.au+=this._a0}this.as.addRange(k);this.ar.add(new $$t.by(2,k))}}else{var l=new $$t.s($.ig.util.timeSpanFromSeconds(0),a);while($.ig.util.timeSpanTotalSeconds(l.end())<=86400){var m=new $$t.s($.ig.util.timeSpanFromTicks($.ig.util.timeSpanTicks(l.start())),$.ig.util.timeSpanFromTicks($.ig.util.timeSpanTicks(l.end())));this.as.add(new $$t.b0(m,this.au,this._a0));l.end(l.end()+a);l.start(l.start()+a);this.au+=this._a0}this.ar.add(new $$t.by(2,this.as))}},av:function(a){var b=$.ig.truncate($.ig.util.timeSpanTotalMinutes(this.a2()));var c=$.ig.util.timeSpanMinutes(a);var d=0;while(d<60){if(c<d+b){return d}d+=b}return 0},a2:function(){switch(this._k.timeSlotInterval()){case 0:return $.ig.util.timeSpanFromMinutes(5);case 1:return $.ig.util.timeSpanFromMinutes(6);case 2:return $.ig.util.timeSpanFromMinutes(10);case 3:return $.ig.util.timeSpanFromMinutes(15);case 4:return $.ig.util.timeSpanFromMinutes(30);case 5:return $.ig.util.timeSpanFromMinutes(60);default:return $.ig.util.timeSpanFromMinutes(30)}},ak:function(){return $$5.$e.a($$t.$s.$type,$$t.$v.f(this._k,true,null))},a5:function(){var a=0;var c=this.at().getEnumerator();while(c.moveNext()){var b=c.current();b._f=this._a0;b._g=a;a+=this._a0}this.au=a;this._q++},$type:new $.ig.Type("TimeSlotInfo",$$t.$bv.$type)},true);$c("SchedulerUtils3:b1","Object",{init:function(){$.ig.$op.init.call(this)},x:function(a,b){var c=a.o();var d=a.n();var e=a.m();if(b<0){b=1+b;c*=b;d*=b;e*=b}else{c=(255-c)*b+c;d=(255-d)*b+d;e=(255-e)*b+e}return $$a.$ax.u(a.l(),$.ig.truncate(c),$.ig.truncate(d),$.ig.truncate(e))},t:function(a,b){return $$t.$b1.u(a)+(null!=b?b.id():String.empty())},c:function(a,b){var c=b.getTime();var e=a.getEnumerator();while(e.moveNext()){var d=e.current();if($$t.$b1.e(c,d)){return true}}return false},d:function(a,b){return a.getTime()==b.getTime()},e:function(a,b){return a==b.getTime()},k:function(a){return $$t.$b1.l(".",a,true)},l:function(a,b,c){var d=b.split(a);if(d.length!=3){throw new $$6.p(1,"Dictionary key does not contain valid date!")}var e,f,g;if(c){if(function(){var h=$z(d[0],e);e=h.p1;return h.ret}()&&function(){var h=$z(d[1],f);f=h.p1;return h.ret}()&&function(){var h=$z(d[2],g);g=h.p1;return h.ret}()){return $.ig.Date.prototype.fromValues(e,f,g,0,0,0,0)}}else{if(function(){var h=$z(d[0],f);f=h.p1;return h.ret}()&&function(){var h=$z(d[1],g);g=h.p1;return h.ret}()&&function(){var h=$z(d[2],e);e=h.p1;return h.ret}()){return $.ig.Date.prototype.fromValues(e,f,g,0,0,0,0)}}throw new $$6.p(1,"Dictionary key does not contain valid date!")},j:function(a){var b=new $$4.h(String,$$4.$x.$type.specialize($$t.$z.$type),0);var d=a.appointments().getEnumerator();while(d.moveNext()){var c=d.current();var e=$.ig.Date.prototype.getDate(c.start());var f=$$t.$b1.u(e);if(false==b.containsKey(f)){b.add(f,new $$4.x($$t.$z.$type,0))}b.item(f).add(c);var g=c.end();g=$$t.$fx.i(e,g);if(+$.ig.Date.prototype.getDate(g)!=+$.ig.Date.prototype.getDate(e)){var h=$.ig.util.timeSpanDays(g-e);var i=$.ig.Date.prototype.addDays(e,1);var j=$$t.$b1.u($.ig.Date.prototype.getDate(i));var k=a.range().end();for(var l=0;l<h;l++){if(i>k){break}if(false==b.containsKey(j)){b.add(j,new $$4.x($$t.$z.$type,0))}b.item(j).add(c);i=$.ig.Date.prototype.addDays(i,1);j=$$t.$b1.u($.ig.Date.prototype.getDate(i))}}}return b},u:function(a){return $6("{0}.{1}.{2}",a.getFullYear(),$.ig.Date.prototype.getMonth(a),a.getDate())},v:function(a,b){var c=null!=b?b.id():String.empty();return $7("{0}.{1}.{2}-{3}",[a.getFullYear(),$.ig.Date.prototype.getMonth(a),a.getDate(),c])},m:function(a){a=$.ig.Date.prototype.addDays($.ig.Date.prototype.getDate(a),1);return $$t.$fx.h(a)},a:function(a,b){return function(){var $ret=new $.ig.FontInfo;$ret.n(a.n());$ret.d(b?$$t.$b1.q(a.d()):a.d());$ret.o(a.o());$ret.q(a.q());$ret.r(a.r());$ret.s(a.s());return $ret}()},f:function(a,b){if(null==a&&null==b){return true}if(null==a||null==b){return false}return a.n()==b.n()&&a.d()==b.d()&&a.o()==b.o()&&a.q()==b.q()&&a.r()==b.r()&&a.s()==b.s()},b:function(a,b){if($.ig.Date.prototype.getDate($.ig.Date.prototype.getDate(a.end()))<$.ig.Date.prototype.getDate(b)||$.ig.Date.prototype.getDate($.ig.Date.prototype.getDate(a.start()))>$.ig.Date.prototype.getDate(b)){return new $$t.s($.ig.util.timeSpanFromSeconds(0),$.ig.util.timeSpanFromSeconds(0))}var c=$.ig.Date.prototype.getDate(a.start())<$.ig.Date.prototype.getDate(b)?$.ig.util.timeSpanFromSeconds(0):$.ig.Date.prototype.getTimeOfDay(a.start());var d=$.ig.Date.prototype.getDate(a.end())>$.ig.Date.prototype.getDate(b)?$.ig.util.timeSpanFromDays(1):$.ig.Date.prototype.getTimeOfDay(a.end());return new $$t.s(c,d)},n:function(a){return $.ig.Date.prototype.fromValues(a.getFullYear(),$.ig.Date.prototype.getMonth(a),1,0,0,0,0)},o:function(a,b){return $.ig.Date.prototype.fromValues(a.getFullYear(),$.ig.Date.prototype.getMonth(a),$$t.$fx.n(b,a.getFullYear(),$.ig.Date.prototype.getMonth(a),0),0,0,0,0)},g:function(a,b){if(null==b){return false}return a.contains(b.start(),true)},h:function(a,b){for(var d=0;d<b.length;d++){var c=b[d];if(a.intersectsWith(c,true)){return true}}return false},i:function(a,b){var d=b.getEnumerator();while(d.moveNext()){var c=d.current();if(a.intersectsWith(c,true)){return true}}return false},w:function(a,b,c,d,e){return a._a8().formatRange1($.ig.Date.prototype.getDate(b),$.ig.Date.prototype.getDate(c),d,e)},p:function(a){return $.ig.Date.prototype.fromValues(a.getFullYear(),$.ig.Date.prototype.getMonth(a),a.getDate(),0,0,0,0)},q:function(a){return $.ig.DeviceUtils.prototype.f(a)},r:function(a){return $.ig.DeviceUtils.prototype.g(a)},y:function(a){return new $$a.ah(1,$$t.$b1.r(a._c),$$t.$b1.r(a._e),$$t.$b1.r(a._d),$$t.$b1.r(a._b))},$type:new $.ig.Type("SchedulerUtils3",$.ig.$ot)},true);$c("Brushes:b2","Object",{q:null,r:null,c:null,k:null,j:null,l:null,m:null,h:null,f:null,g:null,d:null,i:null,e:null,n:null,o:null,p:null,init:function(){this.q=null;this.r=null;this.c=null;this.k=null;this.j=null;this.l=null;this.m=null;this.h=null;this.f=null;this.g=null;this.d=null;this.i=null;this.e=null;this.n=null;this.o=null;this.p=null;$.ig.$op.init.call(this)},b:function(){if($$t.$b2.a==null){$$t.$b2.a=new $$t.b2}return $$t.$b2.a},ah:function(){if(this.q==null){var a=function(){var $ret=new $$a.ax;$ret.l(0);$ret.o(255);$ret.n(255);$ret.m(255);return $ret}();this.q=function(){var $ret=new $$a.at;$ret.fill(a.colorString());$ret.color(a);return $ret}()}return this.q},ai:function(){if(this.r==null){var a=function(){var $ret=new $$a.ax;$ret.l(255);$ret.o(255);$ret.n(255);$ret.m(255);return $ret}();this.r=function(){var $ret=new $$a.at;$ret.fill(a.colorString());$ret.color(a);return $ret}()}return this.r},s:function(){if(this.c==null){var a=function(){var $ret=new $$a.ax;$ret.l(255);$ret.o(0);$ret.n(0);$ret.m(0);return $ret}();this.c=function(){var $ret=new $$a.at;$ret.fill(a.colorString());$ret.color(a);return $ret}()}return this.c},ab:function(){if(this.k==null){var a=function(){var $ret=new $$a.ax;$ret.l(255);$ret.o(236);$ret.n(236);$ret.m(236);return $ret}();this.k=function(){var $ret=new $$a.at;$ret.fill(a.colorString());$ret.color(a);return $ret}()}return this.k},aa:function(){if(this.j==null){var a=function(){var $ret=new $$a.ax;$ret.l(255);$ret.o(222);$ret.n(222);$ret.m(222);return $ret}();this.j=function(){var $ret=new $$a.at;$ret.fill(a.colorString());$ret.color(a);return $ret}()}return this.j},ac:function(){if(this.l==null){var a=function(){var $ret=new $$a.ax;$ret.l(255);$ret.o(192);$ret.n(192);$ret.m(192);return $ret}();this.l=function(){var $ret=new $$a.at;$ret.fill(a.colorString());$ret.color(a);return $ret}()}return this.l},ad:function(){if(this.m==null){var a=function(){var $ret=new $$a.ax;$ret.l(255);$ret.o(128);$ret.n(128);$ret.m(128);return $ret}();this.m=function(){var $ret=new $$a.at;$ret.fill(a.colorString());$ret.color(a);return $ret}()}return this.m},x:function(){if(this.h==null){var a=function(){var $ret=new $$a.ax;$ret.l(255);$ret.o(96);$ret.n(96);$ret.m(96);return $ret}();this.h=function(){var $ret=new $$a.at;$ret.fill(a.colorString());$ret.color(a);return $ret}()}return this.h},v:function(){if(this.f==null){var a=function(){var $ret=new $$a.ax;$ret.l(255);$ret.o(64);$ret.n(64);$ret.m(64);return $ret}();this.f=function(){var $ret=new $$a.at;$ret.fill(a.colorString());$ret.color(a);return $ret}()}return this.f},w:function(){if(this.g==null){var a=function(){var $ret=new $$a.ax;$ret.l(255);$ret.o(32);$ret.n(32);$ret.m(32);return $ret}();this.g=function(){var $ret=new $$a.at;$ret.fill(a.colorString());$ret.color(a);return $ret}()}return this.g},ag:function(){if(this.p==null){var a=function(){var $ret=new $$a.ax;$ret.l(128);$ret.o(0);$ret.n(0);$ret.m(0);return $ret}();this.p=function(){var $ret=new $$a.at;$ret.fill(a.colorString());$ret.color(a);return $ret}()}return this.p},t:function(){if(this.d==null){var a=function(){var $ret=new $$a.ax;$ret.l(255);$ret.o(0);$ret.n(128);$ret.m(192);return $ret}();this.d=function(){var $ret=new $$a.at;$ret.fill(a.colorString());$ret.color(a);return $ret}()}return this.d},z:function(){if(this.i==null){var a=function(){var $ret=new $$a.ax;$ret.l(255);$ret.o(173);$ret.n(216);$ret.m(230);return $ret}();this.i=function(){var $ret=new $$a.at;$ret.fill(a.colorString());$ret.color(a);return $ret}()}return this.i},u:function(){if(this.e==null){var a=function(){var $ret=new $$a.ax;$ret.l(255);$ret.o(0);$ret.n(74);$ret.m(111);return $ret}();this.e=function(){var $ret=new $$a.at;$ret.fill(a.colorString());$ret.color(a);return $ret}()}return this.e},ae:function(){if(this.n==null){var a=function(){var $ret=new $$a.ax;$ret.l(255);$ret.o(255);$ret.n(128);$ret.m(64);return $ret}();this.n=function(){var $ret=new $$a.at;$ret.fill(a.colorString());$ret.color(a);return $ret}()}return this.n},af:function(){if(this.o==null){var a=function(){var $ret=new $$a.ax;$ret.l(255);$ret.o(255);$ret.n(0);$ret.m(0);return $ret}();this.o=function(){var $ret=new $$a.at;$ret.fill(a.colorString());$ret.color(a);return $ret}()}return this.o},y:function(a){var b=a.color();var c=$.ig.truncate(Math.sqrt(b.o()*b.o()*.241+b.n()*b.n()*.691+b.m()*b.m()*.068));if(c<130){return this.ai()}else{return this.s()}},$type:new $.ig.Type("Brushes",$.ig.$ot)},true);$c("IModelActionManager:b3","Object",{$type:new $.ig.Type("IModelActionManager",null)},true);$c("DefaultModelActionManager:b4","Object",{b:null,a:null,init:function(a,b){$.ig.$op.init.call(this);this.b=a;this.a=b},clickCell:function(a,b){if(this.b!=null&&this.a!=null){this.b._ji(this.a,a,b)}},isClickActionDesired:function(){return this.b.__c5},$type:new $.ig.Type("DefaultModelActionManager",$.ig.$ot,[$$t.$b3.$type])},true);$c("ModelPath:b5","Object",{av:0,aw:0,a7:0,ax:0,au:0,aq:0,ab:false,ac:false,a:null,a4:0,a6:$m($$0.$s.$type,null),o:0,q:0,x:null,s:null,a8:null,ar:new Date,u:null,w:null,aa:false,d:0,init:function(a,b,c){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break;case 3:this.init3.apply(this,arguments);break;case 4:this.init4.apply(this,arguments);break;case 5:this.init5.apply(this,arguments);break;case 6:this.init6.apply(this,arguments);break;case 7:this.init7.apply(this,arguments);break;case 8:this.init8.apply(this,arguments);break;case 9:this.init9.apply(this,arguments);break}return}this.av=-1;this.aw=0;this.a7=-1;this.ax=0;this.au=0;this.aq=0;this.ab=false;this.ac=false;this.a8=null;$.ig.$op.init.call(this);this.o=b;this.q=c;this.bb()},init1:function(a,b,c,d){this.av=-1;this.aw=0;this.a7=-1;this.ax=0;this.au=0;this.aq=0;this.ab=false;this.ac=false;this.a8=null;$.ig.$op.init.call(this);this.o=b;this.q=c;this.ax=d;this.bb()},init2:function(a,b,c,d,e){this.av=-1;this.aw=0;this.a7=-1;this.ax=0;this.au=0;this.aq=0;this.ab=false;this.ac=false;this.a8=null;$.ig.$op.init.call(this);this.o=b;this.q=c;this.ax=d;this.aw=e;this.bb()},init3:function(a,b,c,d,e,f){this.av=-1;this.aw=0;this.a7=-1;this.ax=0;this.au=0;this.aq=0;this.ab=false;this.ac=false;this.a8=null;$.ig.$op.init.call(this);this.o=b;this.q=c;this.ax=d;this.aw=e;this.aq=f;this.bb()},init4:function(a,b,c,d,e,f,g,h){this.av=-1;this.aw=0;this.a7=-1;this.ax=0;this.au=0;this.aq=0;this.ab=false;this.ac=false;this.a8=null;$.ig.$op.init.call(this);this.o=b;this.q=c;this.ax=d;this.aw=e;this.au=f;this.ab=g;this.ac=h;this.bb()},init5:function(a,b,c,d,e,f,g,h,i,j){this.av=-1;this.aw=0;this.a7=-1;this.ax=0;this.au=0;this.aq=0;this.ab=false;this.ac=false;this.a8=null;$.ig.$op.init.call(this);this.o=b;this.q=c;this.ax=d;this.aw=e;this.au=f;this.ab=g;this.ac=h;this.a=i;this.a4=j;this.a6=$m($$0.$s.$type,$.ig.Date.prototype.fromTicks(j));if(null!=this.c()){this._at=this.c().start()}this.bb()},init6:function(a,b,c,d,e,f){this.av=-1;this.aw=0;this.a7=-1;this.ax=0;this.au=0;this.aq=0;this.ab=false;this.ac=false;this.a8=null;$.ig.$op.init.call(this);this.o=b;this.q=c;this.ax=d;this.aw=e;this.a7=f;this.bb()},init7:function(a,b,c,d,e,f,g){this.av=-1;this.aw=0;this.a7=-1;this.ax=0;this.au=0;this.aq=0;this.ab=false;this.ac=false;this.a8=null;$.ig.$op.init.call(this);this.o=b;this.q=c;this.ax=d;this.aw=e;this.a7=f;this.aq=g;this.bb()},init8:function(a,b,c,d){this.av=-1;this.aw=0;this.a7=-1;
this.ax=0;this.au=0;this.aq=0;this.ab=false;this.ac=false;this.a8=null;$.ig.$op.init.call(this);this.o=b;this.q=c;this.s=d;this.x=d._a;this.bb()},init9:function(a,b,c,d){this.av=-1;this.aw=0;this.a7=-1;this.ax=0;this.au=0;this.aq=0;this.ab=false;this.ac=false;this.a8=null;$.ig.$op.init.call(this);this.o=b;this.q=c;this.a8=d;this.bb()},equals:function(a){var b=a;if(a==null){return false}if(this.o!=b.o){return false}if(this.q!=b.q){return false}if(this.au!=b.au){return false}if(this.a7!=b.a7){return false}if(this.aw!=b.aw){return false}if(this.ax!=b.ax){return false}if(this.aq!=b.aq){return false}if(this.ab!=b.ab){return false}if(this.ac!=b.ac){return false}if(false==$.ig.$op.referenceEquals(this.a,b.a)){return false}if(this.a4!=b.a4){return false}if(null==this.x&&null!=b.x||null!=this.x&&false==this.x.equals(b.x)){return false}if(this.a8!=b.a8){return false}return true},getHashCode:function(){return this.av},toString:function(){var a=$.ig.$ep.getNames($$t.$c6.$type)[this.o-1];var b=$.ig.$ep.getNames($$t.$dd.$type)[this.q];if(null!=this.a8){return $6("TYPE:{0},ROLE:{1},IDENTIFIER:[{2}]",a,b,this.a8)}else{return $7("TYPE:{0},ROLE:{1},Y{2}.M{3}.D{4}.DOW{5},WK{6},LEADING:{7},TRAILING:{8},TIMERANGE:[{9}],RESID:[{10}]",[a,b,this.ax,this.aw,this.au,this.a7,this.aq,this.ab,this.ac,null!=this.x?this.x.toString():String.empty()])}},b:function(){return this.a},c:function(){if(null==this.b()){return null}if(this.b().isRecurrenceRoot()){if(null==this.b()._l()){return null}return $$t.$z._bz(this.b(),$.ig.Date.prototype.fromTicks(this.a5()))}return this.b()},a5:function(){return this.a4},ay:function(){return this.au},az:function(){return this.a7},a9:function(){return this.a8},e:function(){return this.d},as:function(){return this.ar},ae:function(){return this.aa},v:function(){return this.u},y:function(){return this.w},ag:function(){return this.ax>0&&this.aw>0&&this.au>0},af:function(){return this.ax>0&&this.aw>0&&this.au==0&&this.a7>-1&&this.aq==0},ah:function(){return this.r()==12},ai:function(){return this.ab},aj:function(){return this.ax>0&&this.aw>0&&this.au==0&&this.a7<0&&this.aq==0},ak:function(){return this.ax==0},al:function(){return null!=this.x},am:function(){return this.ac},an:function(){return this.r()==13},ao:function(){return this.ax>0&&this.aw>0&&this.au==0&&this.a7<0&&this.aq>0},ap:function(){return this.ax>0&&this.aw==0&&this.au==0&&this.a7<0},_at:new Date,p:function(){return this.o},a1:function(){return this.aw},r:function(){return this.q},a2:function(){return this.aq},z:function(){return this.x},t:function(){return this.s},a3:function(){return this.ax},bb:function(){this.av=1111111*this.au+2222222*this.a7+3333333*this.aw+4444444*this.ax+5555555*this.o+6666666*this.q+7777777*this.aq;if(this.ab){this.av+=8888888}if(this.ac){this.av+=9999999}if(null!=this.a){this.av+=this.a.getHashCode()}if(null!=this.x){this.av+=this.x.getHashCode()}if(null!=this.a8){this.av+=this.a8.getHashCode()}},f:function(a,b,c,d,e,f){var g=f.formatShortDate(c)+d.getHashCode().toString()+$$t.$cx.$getName(e);var h=d._t()?d.recurrenceRoot():d;var i=h.originalStart().getTime();var j=new $$t.b5(9,a,b,g);j.ar=c;j.d=e;j.a=d;j.a4=i;j.a6=$m($$0.$s.$type,$.ig.Date.prototype.fromTicks(i));j.ax=c.getFullYear();j.aw=$.ig.Date.prototype.getMonth(c);j.au=c.getDate();if(null!=j.c()){j._at=j.c().start()}j.bb();return j},g:function(a,b,c,d,e){var f=e.formatShortDate(c)+(null!=d?d.id():String.empty());var g=new $$t.b5(9,a,b,f);g.ar=c;g.u=d;g.ax=c.getFullYear();g.aw=$.ig.Date.prototype.getMonth(c);g.au=c.getDate();return g},h:function(a,b,c,d,e,f){var g=f.formatShortDate(c)+(null!=d?d.id():String.empty())+e.toString();var h=new $$t.b5(9,a,b,g);h.ar=c;h.u=d;h.aa=e;h.ax=c.getFullYear();h.aw=$.ig.Date.prototype.getMonth(c);h.au=c.getDate();return h},i:function(a,b,c,d,e){var f=e.formatShortDate(d)+$.ig.util.timeSpanTicks(c.start()).toString()+$.ig.util.timeSpanTicks(c.end()).toString();var g=new $$t.b5(9,a,b,f);g.ar=d;g.w=c;g.ax=d.getFullYear();g.aw=$.ig.Date.prototype.getMonth(d);g.au=d.getDate();g.x=c;return g},m:function(a,b,c,d,e,f){var g=f.formatShortDate(d)+$.ig.util.timeSpanTicks(c.start()).toString()+$.ig.util.timeSpanTicks(c.end()).toString()+(null!=e?e.id():String.empty());var h=new $$t.b5(9,a,b,g);h.ar=d;h.w=c;h.u=e;h.ax=d.getFullYear();h.aw=$.ig.Date.prototype.getMonth(d);h.au=d.getDate();h.x=c;return h},j:function(a,b,c,d,e,f){var g=f.formatShortDate(d)+$.ig.util.timeSpanTicks(c.start()).toString()+$.ig.util.timeSpanTicks(c.end()).toString()+e.getHashCode().toString();var h=e._t()?e.recurrenceRoot():e;var i=h.originalStart().getTime();var j=new $$t.b5(9,a,b,g);j.ar=d;j.w=c;j.a=e;j.a4=i;j.a6=$m($$0.$s.$type,$.ig.Date.prototype.fromTicks(i));j.ax=d.getFullYear();j.aw=$.ig.Date.prototype.getMonth(d);j.au=d.getDate();j.x=c;if(null!=j.c()){j._at=j.c().start()}j.bb();return j},k:function(a,b,c,d,e,f,g){var h=g.formatShortDate(d)+$.ig.util.timeSpanTicks(c.start()).toString()+$.ig.util.timeSpanTicks(c.end()).toString()+e.getHashCode().toString()+$$t.$cx.$getName(f);var i=e._t()?e.recurrenceRoot():e;var j=i.originalStart().getTime();var k=new $$t.b5(9,a,b,h);k.ar=d;k.w=c;k.d=f;k.a=e;k.a4=j;k.a6=$m($$0.$s.$type,$.ig.Date.prototype.fromTicks(j));k.ax=d.getFullYear();k.aw=$.ig.Date.prototype.getMonth(d);k.au=d.getDate();k.x=c;if(null!=k.c()){k._at=k.c().start()}k.bb();return k},l:function(a,b,c,d,e,f){var g=f.formatShortDate(d)+$.ig.util.timeSpanTicks(c.start()).toString()+$.ig.util.timeSpanTicks(c.end()).toString()+e.toString();var h=new $$t.b5(9,a,b,g);h.ar=d;h.w=c;h.aa=e;h.ax=d.getFullYear();h.aw=$.ig.Date.prototype.getMonth(d);h.au=d.getDate();h.x=c;return h},n:function(a,b,c){var d=$$t.$df.$getName(c);var e=new $$t.b5(9,a,b,d);return e},$type:new $.ig.Type("ModelPath",$.ig.$ot)},true);$c("ModelFactories:b8","Object",{c:null,init:function(){$.ig.$op.init.call(this);this.c=new $$4.h(String,$$t.$b9.$type,1,10)},a:function(a,b){if(String.isNullOrEmpty(a)){return null}if(false==this.c.containsKey(a)){return null}return this.c.item(a).a(b)},d:function(a){var $self=this;var b;if(function(){var c=$self.c.tryGetValue(a,b);b=c.p1;return c.ret}()){return $m($$t.$c6.$type,b._b)}return $m($$t.$c6.$type,null)},b:function(a,b){if(String.isNullOrEmpty(a._c)){return false}if(this.c.containsKey(a._c)){if(b){this.c.remove(a._c)}else{return false}}this.c.add(a._c,a);return true},$type:new $.ig.Type("ModelFactories",$.ig.$ot)},true);$c("ModelFactoryBase:b9","Object",{init:function(a,b){$.ig.$op.init.call(this);this._b=a;this._c=b},_c:null,_b:0,a:function(a){},$type:new $.ig.Type("ModelFactoryBase",$.ig.$ot)},true);$c("NativeSchedulerViewDummy:ca","Object",{init:function(){$.ig.$op.init.call(this)},a:function(){if(null==$$t.$ca.b){$$t.$ca.b=new $$t.ca}return $$t.$ca.b},invalidateOverallLayout:function(){},measureString:function(stringToMeasure,font,role,constrainingWidth){return $.ig.util.sizeToLiteral(this._measureString$i.apply(this,arguments))},_measureString$i:function(a,b,c,d){return new $$a.af(1,0,0)},onBackgroundBrushChanged:function(a){},onContentSizeChanged:function(a){},onPrimaryViewModeChanged:function(a){},onScrollDirectionChanged:function(a,b){},onScrollModeChanged:function(a,b){},onSecondaryViewModeAdded:function(a){},onSecondaryViewModeRemoved:function(a){},onViewSplitOrientationChanged:function(){},scrollViewTo:function(a,b,c,d){},$type:new $.ig.Type("NativeSchedulerViewDummy",$.ig.$ot,[$$t.$b6.$type])},true);$c("RecyclingManager:cb","Object",{c:null,init:function(){$.ig.$op.init.call(this);this.c=new $$4.h(String,$$4.$x.$type.specialize($$t.$fl.$type),0)},a:function(a,b,c){var d=this.d(a,b);if(!this.c.containsKey(d)){this.c.add(d,new $$4.x($$t.$fl.$type,0));return null}var e=this.c.item(d);var f=e.count();if(f>0){var g=null;if(null!=c){for(var h=0;h<f;h++){var i=e.__inner[h];if(this.b(i._bs,c)){g=i;break}}if(null==g){return null}}else{g=e.__inner[f-1]}e.remove(g);if(g.o()==2){g.o(1)}return g}return null},e:function(a){a.o(1);var b=this.d(a.t(),a.b9());if(!this.c.containsKey(b)){this.c.add(b,new $$4.x($$t.$fl.$type,0))}this.c.item(b).add(a)},d:function(a,b){return a.toString()+b},b:function(a,b){var c=a.getType();var d=b.getType();if(c!=d){return false}if(c==$$0.$aw.$type){return $h(a)==$h(b)}if(c==Number){return a==b}if(c==$$0.$s.$type){return+$.ig.Date.prototype.getDate(a)==+$.ig.Date.prototype.getDate(b)}return false},$type:new $.ig.Type("RecyclingManager",$.ig.$ot)},true);$c("AppointmentClickedEventArgs:cd","EventArgs",{init:function(){$$0.$w.init.call(this)},_allowSelection:false,allowSelection:function(a){if(arguments.length===1){this._allowSelection=a;return a}else{return this._allowSelection}},_clickedAppointment:null,clickedAppointment:function(a){if(arguments.length===1){this._clickedAppointment=a;return a}else{return this._clickedAppointment}},_clickedInDate:new Date,clickedInDate:function(a){if(arguments.length===1){this._clickedInDate=a;return a}else{return this._clickedInDate}},_viewMode:0,viewMode:function(a){if(arguments.length===1){this._viewMode=a;return a}else{return this._viewMode}},$type:new $.ig.Type("AppointmentClickedEventArgs",$$0.$w.$type)},true);$c("AppointmentSelectedEventArgs:cf","EventArgs",{init:function(){$$0.$w.init.call(this)},_selectedAppointment:null,selectedAppointment:function(a){if(arguments.length===1){this._selectedAppointment=a;return a}else{return this._selectedAppointment}},_selectedInDate:new Date,selectedInDate:function(a){if(arguments.length===1){this._selectedInDate=a;return a}else{return this._selectedInDate}},_viewMode:0,viewMode:function(a){if(arguments.length===1){this._viewMode=a;return a}else{return this._viewMode}},$type:new $.ig.Type("AppointmentSelectedEventArgs",$$0.$w.$type)},true);$c("DayClickedEventArgs:ch","EventArgs",{init:function(){$$0.$w.init.call(this)},_clickedDate:new Date,clickedDate:function(a){if(arguments.length===1){this._clickedDate=a;return a}else{return this._clickedDate}},_viewMode:0,viewMode:function(a){if(arguments.length===1){this._viewMode=a;return a}else{return this._viewMode}},$type:new $.ig.Type("DayClickedEventArgs",$$0.$w.$type)},true);$c("DayOfWeekHeaderClickedEventArgs:cj","EventArgs",{init:function(){$$0.$w.init.call(this)},_year:0,year:function(a){if(arguments.length===1){this._year=a;return a}else{return this._year}},_month:0,month:function(a){if(arguments.length===1){this._month=a;return a}else{return this._month}},_dayOfWeek:0,dayOfWeek:function(a){if(arguments.length===1){this._dayOfWeek=a;return a}else{return this._dayOfWeek}},$type:new $.ig.Type("DayOfWeekHeaderClickedEventArgs",$$0.$w.$type)},true);$c("MonthHeaderClickedEventArgs:cl","EventArgs",{init:function(){$$0.$w.init.call(this)},_year:0,year:function(a){if(arguments.length===1){this._year=a;return a}else{return this._year}},_month:0,month:function(a){if(arguments.length===1){this._month=a;return a}else{return this._month}},$type:new $.ig.Type("MonthHeaderClickedEventArgs",$$0.$w.$type)},true);$c("SelectedDateChangedEventArgs:cn","EventArgs",{init:function(){$$0.$w.init.call(this)},_selectedDate:new Date,selectedDate:function(a){if(arguments.length===1){this._selectedDate=a;return a}else{return this._selectedDate}},$type:new $.ig.Type("SelectedDateChangedEventArgs",$$0.$w.$type)},true);$c("TimeSlotClickedEventArgs:cp","EventArgs",{init:function(){$$0.$w.init.call(this)},_allowSelection:false,allowSelection:function(a){if(arguments.length===1){this._allowSelection=a;return a}else{return this._allowSelection}},_clickedTimeRange:null,clickedTimeRange:function(a){if(arguments.length===1){this._clickedTimeRange=a;return a}else{return this._clickedTimeRange}},_clickedInResource:null,clickedInResource:function(a){if(arguments.length===1){this._clickedInResource=a;return a}else{return this._clickedInResource}},_clickedInDate:new Date,clickedInDate:function(a){if(arguments.length===1){this._clickedInDate=a;return a}else{return this._clickedInDate}},_viewMode:0,viewMode:function(a){if(arguments.length===1){this._viewMode=a;return a}else{return this._viewMode}},$type:new $.ig.Type("TimeSlotClickedEventArgs",$$0.$w.$type)},true);$c("TimeSlotSelectedEventArgs:cr","EventArgs",{init:function(){$$0.$w.init.call(this)},_selectedTimeRange:null,selectedTimeRange:function(a){if(arguments.length===1){this._selectedTimeRange=a;return a}else{return this._selectedTimeRange}},_selectedInDate:new Date,selectedInDate:function(a){if(arguments.length===1){this._selectedInDate=a;return a}else{return this._selectedInDate}},_selectedInResource:null,selectedInResource:function(a){if(arguments.length===1){this._selectedInResource=a;return a}else{return this._selectedInResource}},_viewMode:0,viewMode:function(a){if(arguments.length===1){this._viewMode=a;return a}else{return this._viewMode}},$type:new $.ig.Type("TimeSlotSelectedEventArgs",$$0.$w.$type)},true);$c("WeekNumberClickedEventArgs:ct","EventArgs",{init:function(){$$0.$w.init.call(this)},_year:0,year:function(a){if(arguments.length===1){this._year=a;return a}else{return this._year}},_month:0,month:function(a){if(arguments.length===1){this._month=a;return a}else{return this._month}},_weekNumber:0,weekNumber:function(a){if(arguments.length===1){this._weekNumber=a;return a}else{return this._weekNumber}},$type:new $.ig.Type("WeekNumberClickedEventArgs",$$0.$w.$type)},true);$c("DayOfWeekIterator:cv","Object",{init:function(a){$.ig.$op.init.call(this);this._c=a},_c:0,d:function(a){var b=this._c;for(var c=0;c<7;c++){a(b);b+=1;if(b>=7){b=0}}},a:function(a,b){return $$t.$cv.b(a,b)},b:function(a,b){var c=a+b;if(c>=7){c=c%7}return c},$type:new $.ig.Type("DayOfWeekIterator",$.ig.$ot)},true);$c("LayoutPassData:ds","Object",{j:0,e:0,f:0,g:0,h:0,i:0,c:null,a:null,b:null,d:null,init:function(a){$.ig.$op.init.call(this);this.a=a.w();this.b=a.q();this.c=a},$type:new $.ig.Type("LayoutPassData",$.ig.$ot)},true);$c("LayoutPassDataMonthView:dt","LayoutPassData",{w:new Date,y:new Date,x:new Date,n:false,o:false,l:false,q:false,k:false,p:false,m:false,v:false,u:false,t:false,s:false,r:false,z:0,aa:0,ac:0,init:function(a){$$t.$ds.init.call(this,a)},ab:function(){if(this.v){return this.i}else{return this.h}},ad:function(a){if(this.v){this.h=0;this.i=a}else{this.h=a;this.i=0}},$type:new $.ig.Type("LayoutPassDataMonthView",$$t.$ds.$type)},true);$c("LayoutPassDataAgendaView:du","LayoutPassData",{l:false,k:null,m:0,init:function(a){$$t.$ds.init.call(this,a)},$type:new $.ig.Type("LayoutPassDataAgendaView",$$t.$ds.$type)},true);$c("LayoutPassDataDWView:dv","LayoutPassData",{ak:0,al:0,z:false,y:false,x:null,k:null,l:null,m:null,ah:0,ag:0,ai:0,af:0,am:0,an:0,ao:0,ae:null,ap:0,aj:0,o:null,s:null,w:null,r:null,p:null,q:null,t:null,v:null,u:null,ar:null,at:null,aq:null,as:null,aa:false,ac:false,ab:false,ad:false,n:null,init:function(a){$$t.$ds.init.call(this,a);this.o=a.v();this.s=a.v();this.w=a.u();this.t=a.w();this.v=a.q();this.u=a.y();this.r=a.r();this.p=a.t();this.q=a.x()},$type:new $.ig.Type("LayoutPassDataDWView",$$t.$ds.$type)},true);$c("MonthViewCurrentMonthLayoutData:dw","Object",{init:function(){$.ig.$op.init.call(this)},o:new Date,m:false,l:false,h:null,j:null,f:null,k:null,g:null,c:null,d:null,a:null,w:0,x:0,y:0,v:0,ab:0,z:0,ad:0,u:0,s:0,t:0,aa:0,ac:0,p:new Date,n:new Date,q:new Date,r:new Date,b:null,ae:null,i:null,e:function(a,b,c,d){var e=new $$t.dw;e.o=a;e.m=d.v;e.l=d.u;e.h=b.v();e.f=b.q();e.j=b.w();e.k=b.y();e.g=b.r();e.c=b.e();e.d=e.c.aj(a);e.a=e.c.g(b._bs);e.w=0;e.x=0;e.y=0;e.v=0;var f=b._b7;if(e.m){e.w=0;e.x=d.i;e.y=$.ig.truncate(b._b7.width());if(d.t){e.v=$.ig.truncate(f.height())}else{e.v=e.c._a8+e.c._bb*e.d._e;if(d.l){e.v+=e.c._a2}}}else{e.w=d.h;e.x=0;if(d.s){e.y=$.ig.truncate(f.width())}else{e.y=e.c._bd}if(d.t){e.v=$.ig.truncate(f.height())}else{e.v=e.c._a8+e.c._bb*e.d._e;if(d.l){e.v+=e.c._a2}}}var g=d.r?6:e.d._e;e.ab=1+g+(d.l?1:0);e.z=d.q?8:7;e.ad=d.q?e.c.o(a):0;e.u=d.l?2:1;e.s=e.d._a;if(d.q){e.s+=1}e.t=d.q?1:0;e.aa=e.z-e.t;e.ac=g;try{e.p=d.n?$.ig.Date.prototype.addDays(a,-1*e.d._a):a}catch(h){e.p=a}e.n=e.p;e.q=$.ig.Date.prototype.fromValues(a.getFullYear(),$.ig.Date.prototype.getMonth(a),e.d._d,0,0,0,0);if(d.o){var i=e.d._f;if(d.r){i+=(6-e.d._e)*7}e.r=$.ig.Date.prototype.addDays(e.q,i)}else{e.r=e.q}e.b=$$t.$i9.g(new $$a.af(1,e.y,e.v),e.ab,e.z);e.b.ag().__inner[0]._f(new $$t.jh(2,e.c._a8,1));if(d.q){e.b.ad().__inner[0]._f(new $$t.jh(2,e.c._bc,1))}if(d.l){e.b.ag().__inner[1]._f(new $$t.jh(2,e.c._a2,1))}if(d.t){for(var j=e.u;j<e.ab;j++){e.b.ag().__inner[j]._f(new $$t.jh(2,e.c._bb,1))}}e.b.ax(true);e.ae=$$t.$ea.fa(c);e.i=b.u();return e},$type:new $.ig.Type("MonthViewCurrentMonthLayoutData",$.ig.$ot)},true);$c("DWViewTimeSlotAreaLayoutData:dx","Object",{init:function(){$.ig.$op.init.call(this)},a:null,d:0,c:0,b:function(a,b,c){var d=new $$t.dx;c.ae=a;c.ap=a.count();d.d=c.ap;d.c=1;c.ao=c.x._a0;c.am=c.ap*c.ao;c.an=c.x._az;c.ah=$.ig.truncate(b.a6());c.ag=c.am;d.a=$$t.$i9.g(new $$a.af(1,c.an,c.am),d.d,d.c);d.a.ax(true);return d},$type:new $.ig.Type("DWViewTimeSlotAreaLayoutData",$.ig.$ot)},true);$c("DWViewCurrentPageLayoutData:dy","Object",{init:function(){$.ig.$op.init.call(this)},a:null,f:0,e:0,b:null,h:0,g:0,c:null,d:function(a,b,c,d,e,f){var g=new $$t.dy;g.c=a;e.af=e.l._k;var h=e.l;g.f=e.ap;g.e=h.j();g.a=$$t.$i9.g(new $$a.af(1,e.ah,e.ag),g.f,g.e);g.a.ax(true);g.h=e.af;g.g=h.j();g.b=$$t.$i9.g(new $$a.af(1,e.ah,e.ai),g.h,g.g);if(g.h>0){var i=f.ap();if(h.b()==2&&h.o()==1){i=f.aq()}g.b.ag().__inner[0]._f(new $$t.jh(2,i,1));if(g.h>1){var j=f.aq();if(j>0){g.b.ag().__inner[1]._f(new $$t.jh(2,j,1))}}}g.b.ax(true);return g},$type:new $.ig.Type("DWViewCurrentPageLayoutData",$.ig.$ot)},true);$c("SchedulerLayerController:dz","Object",{d:null,init:function(){$.ig.$op.init.call(this);this.d=new $$t.cb},a:function(a,b,c,d,e,f){var $self=this;var g=null;var h=function(){var i=$self.c(a,c,g);g=i.p2;return i.ret}();if(null==h){h=this.d.a(a.r(),e,f);if(h==null){h=b._bg(e,a)}else{h.c4()}if(c.b().d(a)){c.b().item(a).remove(h);if(c.b().item(a).count()==0){c.b().f(a)}}d.s(a,h);h.v(d);h._m=a;h.q(a.p())}else{this.g(a,c,d,g);h.q(a.p())}return h},e:function(a,b){var c=b.ar();var e=c.getEnumerator();while(e.moveNext()){var d=e.current();if(d.d(a)){return d}}return null},b:function(a,b){var $self=this;var c=null;return function(){var d=$self.c(a,b,c);c=d.p2;return d.ret}()},c:function(a,b,c){var d=b.ar();var f=d.getEnumerator();while(f.moveNext()){var e=f.current();if(e.d(a)){c=e;return{ret:e.item(a),p2:c}}}c=null;return{ret:null,p2:c}},g:function(a,b,c,d){if(d==null||d==c){return}var e=d.item(a);d.f(a);c.s(a,e);e.v(c)},f:function(a,b,c){var d=c.item(a);c.f(a);var e=null;if(b.b().d(a)){e=b.b().item(a)}else{e=new $$4.x($$t.$fl.$type,0);b.b().s(a,e)}e.add(d)},h:function(a,b,c,d,e,f){a.bl($.ig.truncate(Math.ceil(c+a.ay()+a.az()*a.bk())));a.bm($.ig.truncate(Math.ceil(d+a.a2()+a.a3()*a.be())));a.bk($.ig.truncate(Math.ceil(e)));a.be($.ig.truncate(Math.ceil(f)))},i:function(a,b){var $self=this;var c;var d=function(){var e=$self.c(a,b,c);c=e.p2;return e.ret}();if(null==d){return}this.f(a,b,c);this.d.e(d)},$type:new $.ig.Type("SchedulerLayerController",$.ig.$ot)},true);$c("SpatialEngine:d0","Object",{e:null,u:0,i:0,h:0,g:0,init:function(a){$.ig.$op.init.call(this);this._a=a;this._t=$$t.$b1.y(new $$a.ah(1,10,10,10,10));this._s=$$t.$b1.y(new $$a.ah(1,0,5,0,5));this._o=" > ";this._p=" < "},q:function(a){if(this._a._bw().f(this.b())._e==2){a._a9=$.ig.truncate(a.a5());a._ba=$.ig.truncate(a.a6())}else if(this._a._bw().f(this.b())._e==0){a._a9=0;a._ba=$.ig.truncate(a.a6())}else{a._a9=$.ig.truncate(a.a5());a._ba=0}if(this._a.dataSource()!=this.e){this.e=this._a.dataSource();a.bh(this.e)}if(this.f()){var b=this._a.__bd;var c=false;var d=this._a.navigationHeaderVisibility();if(d!=this.u){this.u=d;c=true}var e=0;if(this.d()==2){e=$.ig.truncate(b._measureString$i("January 1, 1900",$$t.$ea.w(this._a,false),56,0).height())}else if(this.d()==0){e=$.ig.truncate(b._measureString$i("January 1, 1900",$$t.$ea.ac(this._a),57,0).height())}if(e!=this.i){this.i=e;c=true}var f=0;var g=0;var h=$$a.$af.empty();if(this.d()==2){h=b._measureString$i(this._o,$$t.$ea.w(this._a,true),56,0)}else if(this.d()==0){h=b._measureString$i(this._o,$$t.$ea.ac(this._a),57,0)}f=$.ig.truncate(h.width());g=$.ig.truncate(h.height());if(f!=this.h){this.h=f}if(g!=this.g){this.g=g;c=true}if(c){var i=this.u==0?this.j():0;this.c().r(4,-1,i)}}this.r(a)},r:function(a){},j:function(){return this.m()+Math.max(this.i,this.g)},_s:null,_o:null,_p:null,k:function(){return this.h},_t:null,l:function(){return $.ig.truncate(this._t._c)+$.ig.truncate(this._t._d)},m:function(){return $.ig.truncate(this._t._e)+$.ig.truncate(this._t._b)},n:function(){return this.i},_a:null,c:function(){return this._a._bw().g(this.d())},d:function(){return $$t.$e7.h(this.b())},f:function(){},b:function(){},$type:new $.ig.Type("SpatialEngine",$.ig.$ot)},true);$c("SpatialEngineAgendaView:d1","SpatialEngine",{v:null,w:null,z:null,x:null,aa:null,y:null,ac:0,ah:0,ai:0,ad:0,ae:0,aj:0,ag:0,af:0,av:null,aw:null,ab:0,init:function(a){$$t.$d0.init.call(this,a);this._ar=$.ig.truncate($$t.$b1.r(1));this._at=$.ig.truncate($$t.$b1.r(2));this._aq=$.ig.truncate($$t.$b1.r(3));this._as=$.ig.truncate($$t.$b1.r(8))},r:function(a){var b=$b($$t.$er.$type,a);var c=b.bt();var d=false;var e=this._a.__bd;var f=this._a._d();if(f!=this.v){this.v=f;b._br=f;c.af(f)}if(this._a.agendaViewInterDaySpacing()!=this.af){this.af=this._a.agendaViewInterDaySpacing();d=true}var g=$$t.$ea.gw(this._a);if(g!=this.av){this.av=g;d=true}var h=$$t.$ea.q(this._a);var i=this._a.agendaViewAppointmentScope();var j=$$t.$ea.gx(this._a);if(h!=this.w||i!=this.ab&&this._a._c6()||j!=this.aw){if(i==0||false==this._a._c6()){var k=c.u(a._au);var l=e._measureString$i(k,h,18,0);this.aw=j;this.ac=$.ig.truncate(l.height())+$.ig.truncate(j._e)+$.ig.truncate(j._b)+this._at}else{this.ac=0}this.w=h;this.ab=i;this.aw=j;d=true}var m=this._a._gn("LIT_AgendaStartTime_AllDay");var n=c.v($$0.$s.now());var o=$$t.$ea.o(this._a);if(o!=this.z){var p=e._measureString$i(n,o,19,0);var q=e._measureString$i(m,o,19,0);this.ah=$.ig.truncate(p.height());this.ai=Math.max($.ig.truncate(q.width()),$.ig.truncate(p.width()));this.z=o;d=true}var r=$$t.$ea.m(this._a);if(r!=this.x){var s=e._measureString$i(n,r,21,0);var t=e._measureString$i(m,r,21,0);this.ad=$.ig.truncate(s.height());this.ae=Math.max($.ig.truncate(t.width()),$.ig.truncate(s.width()));this.x=r;d=true}this._au=Math.max(this.ai,this.ae)+this._as+$.ig.truncate($$t.$b1.r(25));var u=$$t.$ea.p(this._a);if(u!=this.aa){var v=e._measureString$i("Subject",u,23,0);this.aj=$.ig.truncate(v.height());this.aa=u;d=true}var w=$$t.$ea.n(this._a);if(w!=this.y){var x=e._measureString$i("Location",w,25,0);this.ag=$.ig.truncate(x.height());this.y=w;d=true}this._ao=Math.max(this.ah,this.aj)+this._aq*2;this._ap=Math.max(this.ad,this.ag)+this._aq*2;this._ax=this.av;var y=this._ao+this._ap+$.ig.truncate(this._ax._e)+$.ig.truncate(this._ax._b)+this._ar;if(d){c.az(this.ac,y,this.af)}var z=c.ax();if(z==0){b._a9=$.ig.truncate(b.a5())}else{b._a9=c.ax()}},f:function(){return false},b:function(){return 1},_ax:null,_ao:0,_ap:0,_aq:0,_ar:0,_as:0,ay:function(){return this.aw},_at:0,_au:0,$type:new $.ig.Type("SpatialEngineAgendaView",$$t.$d0.$type)},true);$c("SpatialEngineDWView:d2","SpatialEngine",{ad:0,x:null,ax:$m($$t.$dl.$type,null),az:$m($$t.$dp.$type,null),av:$m($$t.$cw.$type,null),ab:0,ay:$m($$t.$df.$type,null),y:0,z:0,aa:0,v:null,ac:0,w:null,ae:0,af:0,a3:0,aw:$m($$t.$dk.$type,null),init:function(a){this.ax=$m($$t.$dl.$type,null);this.az=$m($$t.$dp.$type,null);this.av=$m($$t.$cw.$type,null);this.ay=$m($$t.$df.$type,null);this.ae=-1;this.aw=$m($$t.$dk.$type,null);$$t.$d0.init.call(this,a);this._a2=$$t.$b1.y(new $$a.ah(1,3,1,3,1));this._a1=$$t.$b1.y(new $$a.ah(0,1));this._a0=$$t.$b1.y(new $$a.ah(0,1));this._ak=$.ig.truncate($$t.$b1.r(4))},r:function(a){var b=$b($$t.$et.$type,a);var c=b.bw();var d=b.b5();var e=false;var f=false;var g=this._a.__bd;var h=this._a.viewMode();if($l(h,this.ay)){this.ay=$m($$t.$df.$type,h);e=true}var i=$$t.$ea.ag(this._a);var j=this._a.timeFormat();var k=c.v($.ig.Date.prototype.fromValues(2017,12,31,12,12,12,0));var l=$$a.$af.empty();if(i!=this.x||$l(j,this.aw)){l=g._measureString$i(k,i,38,0);this.ad=$.ig.truncate(l.width()*1.3);this.x=i;this.aw=$m($$t.$dk.$type,j);f=true;e=true;this.c().r(1,this.ad,-1)}var m=this._a.timeSlotInterval();if($l(m,this.ax)){this.ax=$m($$t.$dl.$type,m);f=true;if($$a.$af.l_op_Equality(l,$$a.$af.empty())){l=g._measureString$i(k,i,38,0)}this.af=$.ig.truncate(Math.max(l.height()+$$t.$b1.r(8),$$t.$bz.ax(m)))}var n=this._a.workingHoursDisplayMode();if($l(n,this.az)){this.az=$m($$t.$dp.$type,n);f=true}if(f){d.a4(this.af,this.ad,this.ax.value(),this.az.value())}var o=1;if(this._a.viewMode()==2){o=this._a.dayViewNumberOfDays()}else if(this._a.viewMode()==3){o=this._a._c().length}if(o!=this.ab){this.ab=o;e=true}var p=this._a._a1();if($l(p,this.av)){this.av=$m($$t.$cw.$type,p);e=true}var q=$.ig.truncate(b.a6());if(q!=this.y){this.y=q;e=true}var r=$$t.$ea.t(this._a);if(r!=this.v){var s=g._measureString$i(k,r,41,0);this.z=$.ig.truncate(s.height());this.v=r;e=true}if(this._a._o9()!=this.a3){this.a3=this._a._o9();e=true}if(this._a._o9()==1){this.aa=0}else{this.aa=this.z}var t=$$t.$ea.af(this._a);if(t!=this.w){var u=g._measureString$i(k,t,42,0);this.ac=$.ig.truncate(u.height());this.w=t;if(this._a._c7()){e=true}}var v=this.ar();if(v!=this.ae){this.ae=v;this.c().r(0,-1,this.ae)}if(e){c.ar(this.av.value(),this.ab,this.y,this.ay.value(),this.a3)}var w=c.an().z();w=Math.max(w,$.ig.truncate(b.a6()));b._ba=w;var x=d.a1();x=Math.max(x,$.ig.truncate(b.a5()));b._a9=x},f:function(){return true},b:function(){return 2},_a0:null,ag:function(){return $.ig.truncate(this._a0._c)+$.ig.truncate(this._a0._d)},ah:function(){return $.ig.truncate(this._a0._e)+$.ig.truncate(this._a0._b)},_a1:null,ai:function(){return $.ig.truncate(this._a1._c)+$.ig.truncate(this._a1._d)},aj:function(){return $.ig.truncate(this._a1._e)+$.ig.truncate(this._a1._b)},_ak:0,_a2:null,al:function(){return $.ig.truncate(this._a2._c)+$.ig.truncate(this._a2._d)},am:function(){return $.ig.truncate(this._a2._e)+$.ig.truncate(this._a2._b)},an:function(){return this.z},ao:function(){return this.aa},as:function(){return this.ac},at:function(){return this.ad},au:function(){return this.af},ap:function(){if(this._a._c7()){if(this._a.activityGroupingMode()==1){return this.ac}}return this.aa},aq:function(){if(this._a._c7()){if(this._a.activityGroupingMode()==1){return this.aa}else if(this._a.activityGroupingMode()==2){return this.ac}}return 0},ar:function(){return this.ap()+this.aq()},$type:new $.ig.Type("SpatialEngineDWView",$$t.$d0.$type)},true);$c("SpatialEngineMonthView:d3","SpatialEngine",{z:null,ab:null,v:null,w:null,y:null,aa:null,ak:0,am:0,al:0,bb:null,x:null,a0:null,ay:null,az:null,ai:0,ba:null,a1:null,aw:null,a2:null,a3:null,ax:null,a4:null,av:null,bc:0,bf:0,bd:0,bg:0,be:0,ae:0,ad:0,ah:new Date,ag:new Date,aj:0,ac:0,init:function(a){this.a0=new $$a.af;this.ay=new $$a.af;this.az=new $$a.af;this.a1=new $$a.af;this.aw=new $$a.af;this.a2=new $$a.af;this.a3=new $$a.af;this.ax=new $$a.af;this.a4=new $$a.af;this.av=new $$a.af;this.bc=0;this.bf=0;this.bd=0;this.bg=0;this.be=0;this.ae=0;this.ad=0;$$t.$d0.init.call(this,a);this._ao=$.ig.truncate($$t.$b1.r(2));this._aq=$.ig.truncate($$t.$b1.r(12));this._ap=$.ig.truncate($$t.$b1.r(10))},r:function(a){var b=a.e();var c=false;var d=this._a.__bd;var e=$b($$t.$e2.$type,a);if(this._a.monthViewScrollDirection()!=this.ae){this.ae=this._a.monthViewScrollDirection();c=true}if(this._a._bn()!=this.ad){this.ad=this._a._bn();c=true}if(this._a.monthViewVerticalSeparatorVisibility()!=this.bf){this.bf=this._a.monthViewVerticalSeparatorVisibility();c=true}if(this._a.monthViewHorizontalSeparatorVisibility()!=this.bd){this.bd=this._a.monthViewHorizontalSeparatorVisibility();c=true}if(this._a.monthViewInterMonthSpacing()!=this.aj){this.aj=this._a.monthViewInterMonthSpacing();c=true}var f=this._a._e().start();var g=this._a._e().end();if(+g!=+this.ag||+f!=+this.ah){this.ag=g;this.ah=f;a._au=this.ah;a._at=this.ag;b.af(new $$t.a(this.ah,this.ag))}var h=$$t.$ea.ab(this._a);var i=$$t.$ea.gz(this._a);var j=this._a._pg();if(h!=this.z||i!=this.bb||j!=this.be){this.z=h;this.be=j;this.bb=i;if(j==0){var k=b.w(a._au);var l=d._measureString$i(k,h,14,0);this.am=$.ig.truncate(l.height())+$.ig.truncate(i._e)+$.ig.truncate(i._b);this.al=this._ao+this._aq+this._ap;this.ak=this.am+this.al}else{this.ak=0}c=true}var m=$$t.$ea.z(this._a);var n=$$t.$ea.gy(this._a);var o=this._a.monthViewDayOfWeekHeaderVisibility();if(m!=this.x||n!=this.ba||o!=this.bc){this.x=m;this.ba=n;this.bc=o;if(o==0){this.a0=d._measureString$i(b.y(1)+" ",m,11,0);this.ay=d._measureString$i(b.y(2)+" ",m,11,0);this.az=d._measureString$i(b.y(3)+" ",m,11,0);this.ai=$.ig.truncate(this.az.height())+$.ig.truncate(n._e)+$.ig.truncate(n._b)}else{this.ai=0}c=true}var p=$$t.$ea.ae(this._a);var q=this._a.monthViewWeekNumberVisibility();if(p!=this.ab||q!=this.bg){this.ab=p;this.bg=q;if(q==0){this.a4=d._measureString$i(" 53 ",p,15,0)}else{this.a4=new $$a.af(1,0,0)}c=true}var r=$$t.$ea.y(this._a);if(r!=this.w){this.aw=d._measureString$i("31",r,5,0);this.w=r;c=true}var s=$$t.$ea.aa(this._a);if(s!=this.w){this.a2=d._measureString$i("31",s,6,0);this.y=s;c=true}var t=$$t.$ea.ad(this._a);if(t!=this.w){this.a3=d._measureString$i("31",t,10,0);this.aa=t;c=true}var u=$$t.$ea.x(this._a);var v=this._a.monthViewDayContentDisplayMode();if(u!=this.v||v!=this.ac){if(v!=1){this.av=$$a.$af.empty()}else{this.av=d._measureString$i("Wy",u,16,0)}this.v=u;this.ac=v;c=true}var w=this.a5(this.ad,this.ae,e);if($$a.$af.l_op_Inequality(w,e._b7)){c=true}var x=this.af(a,w);if($$a.$af.l_op_Inequality(x.b,this.a1)){this.a1=x.b;c=true}if($$a.$af.l_op_Inequality(x.a,this.ax)){this.ax=x.a;c=true}if(c){var y=$.ig.truncate(this.a1.height());var z=$.ig.truncate(this.a1.width())*7+$.ig.truncate(this.a4.width());var aa=w.height()!=-1;var ab=this.ad==2?0:this.aj;b.bh(this.ak,this.ai,y,z,$.ig.truncate(this.a4.width()),this.ae,ab,this.a1,$.ig.truncate(w.height()),$.ig.truncate(w.width()))}var ac=$.ig.truncate(this.ax.width());if(this.az.width()<=ac){e._bs=2}else if(this.ay.width()<=ac){e._bs=1}else{e._bs=1}if(this.ae==0){a._a9=b.ba()}else{a._ba=b.ba()}e._b7=w},f:function(){return true},b:function(){return 0},af:function(a,b){var c=this._a.monthViewDayOfWeekHeaderVisibility()==0;var d=this._a.monthViewWeekNumberVisibility()==0;var e=0;var f=0;var g=1+(c?7:6);var h=d?8:7;var i;var j=b.width()!=-1;var k=b.height()!=-1;var l=new $$a.af(1,j?b.width():200,k?b.height():200);if(this._a.monthViewScrollDirection()==0){i=$$t.$i9.g(l,g,h);i.ag().__inner[0]._f(new $$t.jh(2,this.ak,1));if(c){i.ag().__inner[1]._f(new $$t.jh(2,this.ai,1))}if(d){i.ad().__inner[0]._f(new $$t.jh(2,this.a4.width(),1))}i.ax(true);e=$.ig.truncate(i.ay(2,1).width());f=k?$.ig.truncate(i.ay(2,1).height()):e}else{i=$$t.$i9.g(l,g,h);i.ag().__inner[0]._f(new $$t.jh(2,this.ak,1));if(c){i.ag().__inner[1]._f(new $$t.jh(2,this.ai,1))}if(d){i.ad().__inner[0]._f(new $$t.jh(2,this.a4.width(),1))}i.ax(true);f=$.ig.truncate(i.ay(2,1).height());e=j?$.ig.truncate(i.ay(2,1).width()):f}var m=new $$a.af(1,e,f);var n=new $$a.af;if(c){n=new $$a.af(1,e,i.ay(1,1).height())}else{n=new $$a.af(1,0,0)}return new $$t.d4(1,m,n)},a5:function(a,b,c){switch(a){case 1:case 2:return new $$a.af(1,c.a6(),c.a5());case 0:default:{if(b==0){return new $$a.af(1,c.a6(),(-1))}else{return new $$a.af(1,c.a6(),c.a5())}}}},a6:function(){return this.av},a7:function(){return this.aw},a8:function(){return this.a2},ar:function(){return this.am},an:function(){return this.al},_ao:0,_aq:0,_ap:0,a9:function(){return this.a3},$type:new $.ig.Type("SpatialEngineMonthView",$$t.$d0.$type)},true);$c("SpatialEngineMonthView_SizeInfo:d4","ValueType",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}this.b=new $$a.af;this.a=new $$a.af;$$0.$bh.init.call(this)},b:null,a:null,init1:function(a,b,c){this.b=new $$a.af;this.a=new $$a.af;$$0.$bh.init.call(this);this.b=b;this.a=c},$type:new $.ig.Type("SpatialEngineMonthView_SizeInfo",$$0.$bh.$type)
},true);$c("VisibilityEngine:d5","Object",{e:null,init:function(a){$.ig.$op.init.call(this);this._d=a},f:function(){if(null==this.e){this.e=new $$t.dz}return this.e},l:function(a,b,c,d){var e=b._bq;if(e.isEmpty()){return}if(e.width()==0||e.height()==0){return}this._b=this.a(b);this._b.j=$.ig.truncate(e.top());this._b.e=$.ig.truncate(e.bottom());this._b.f=$.ig.truncate(e.left());this._b.g=$.ig.truncate(e.right());var f=a._bw().f(this.g());if(null==f){return}if(f._e==2){this._b.h=Math.max(0,$.ig.truncate(e.left()));this._b.i=Math.max(0,$.ig.truncate(e.top()))}else if(f._e==0){this._b.h=0;this._b.i=Math.max(0,$.ig.truncate(e.top()))}else{this._b.h=Math.max(0,$.ig.truncate(e.left()));this._b.i=0}a._jm();this.m(b,c,this._b,d);a._jl(this.g());(function($obj){var $value=$obj.a8();$obj.a8($value-1);return $value})(b)},j:function(a,b,c,d){var $self=this;return function(){$self.l(a,b,c,d)}},m:function(a,b,c,d){},a:function(a){},k:function(a,b){var $self=this;var c=false;var d=$.ig.Date.prototype.getDate(a.start());while(true){if(d>b._d().end()){break}var e=$$t.$b1.u(d);var f;if(function(){var g=$self._b.d.tryGetValue(e,f);f=g.p1;return g.ret}()){var h=f.getEnumerator();while(h.moveNext()){var g=h.current();if(g==a){c=true;break}}}if(c){break}d=$.ig.Date.prototype.addDays(d,1)}return c},n:function(a,b,c,d,e,f,g){this.f().h(a,c,d,e,f,g)},c:function(a,b,c,d,e,f){return this.f().a(c,a,b,d,e,f)},o:function(a,b){var c=this._b.d;c.clear();if(b){}else{this._b.d=$$t.$b1.j(a)}},_b:null,_d:null,h:function(){return this._d._bw().g(this.i())},i:function(){return $$t.$e7.h(this.g())},g:function(){},$type:new $.ig.Type("VisibilityEngine",$.ig.$ot)},true);$c("VisibilityEngineAgendaView:d6","VisibilityEngine",{init:function(a){$$t.$d5.init.call(this,a)},m:function(a,b,c,d){var e=$b($$t.$er.$type,a);this._u=$b($$t.$du.$type,c);var f=e.bt();var g=e._b0;e._b0=f._q;try{this._d._da(true);var h=f.ay(this._u.i);var i=$$0.$s.now();var j;var k=null;if(h.hasValue()){this._u.l=true;i=h.value();j=f.av(i);if(j<this._u.i){this._u.i=j}k=this.z(i,j,f,e)}else{this._u.l=false}var l=new $$4.x($$0.$s.$type,0);if(this._u.l){e._bw=e._bv;e._bx=e._by;e._bu.clear();e._bu.addRange(k)}else{e._bw=$$0.$s.minValue();e._bx=$$0.$s.minValue();e._bu.clear()}if(this._u.l){this.ad(e)}this.ac(e,this.f(),g);if(null!=k){var n=k.getEnumerator();while(n.moveNext()){var m=n.current();var o=f.aj(m);if(l.indexOf(m)<0){this.aa(m,o,e,$b($$t.$d1.$type,b))}this._u.i+=o._b}}else{this.ab(e)}}finally{this._d._da(false)}},a:function(a){return new $$t.du(a)},g:function(){return 1},_u:null,aa:function(a,b,c,d){var $self=this;var e=$.ig.truncate(c.a4());var f=c.bt();var g;if(false==function(){var h=$self._u.d.tryGetValue($$t.$b1.u(a),g);g=h.p1;return h.ret}()){return}var h=Math.min(g.count(),b._d);var i=h*f._at;if(f._au>0){var j=this._u.i;var k=this.t(a,c,c.v(),d);this.n(k,this._d,c,0,j,e,f._au);j+=f._au;var l=this.x(a,null,false,c,c.u(),$$t.$ea.eh(this._d),32);var m=d._at;j-=m;this.n(l,this._d,c,0,j,e,m)}var n=this._u.i+f._au;var o=5;var p=o*h;var q=3;var r=$$t.$i9.g(new $$a.af(1,e,i),p,q);r.ad().__inner[0]._f(new $$t.jh(2,d._au,1));r.ad().__inner[1]._f(new $$t.jh(2,$$t.$b1.r(4),1));for(var s=0;s<p;s+=o){r.ag().__inner[s]._f(new $$t.jh(2,d._ax._e,1));r.ag().__inner[s+1]._f(new $$t.jh(2,d._ao,1));r.ag().__inner[s+2]._f(new $$t.jh(2,d._ap,1));r.ag().__inner[s+3]._f(new $$t.jh(2,d._ax._b,1));r.ag().__inner[s+4]._f(new $$t.jh(2,d._ar,1))}for(var t=0;t<h;t++){var u=g.__inner[t];var v=+$.ig.Date.prototype.getDate(u.start())!=+$.ig.Date.prototype.getDate(a)||+$.ig.Date.prototype.getDate(u.end())!=+$.ig.Date.prototype.getDate(a);var w=t==h-1;var x=u._isSameAs1(this._d.selectedAppointment());if(x){if(+$.ig.Date.prototype.getDate(a)!=+$.ig.Date.prototype.getDate(this._d.selectedDate())){x=false}}var y=this.v(a,u,x,c,c.q());r.af().add($$t.$je.c(y).d(t*o,0,o,q));var z=this.r(a,u,x,v,c,c.r(),d);r.af().add($$t.$je.c(z).d(t*o+1,0,1,1));var aa=this.p(a,u,x,v,c,c.r(),d);r.af().add($$t.$je.c(aa).d(t*o+2,0,1,1));var ab=this.s(a,u,x,c,c.r(),d);r.af().add($$t.$je.c(ab).d(t*o+1,3,1,1));var ac=this.q(a,u,x,c,c.r(),d);r.af().add($$t.$je.c(ac).d(t*o+2,2,1,1));var ad=this.w(a,u,x,c,c.u());r.af().add($$t.$je.c(ad).d(t*o+1,1,2,1));var ae=this.x(a,u,x,c,c.u(),$$t.$ea.d6(this._d),29);r.af().add($$t.$je.c(ae).d(t*o+4,0,1,3))}r.ax(true);var af=r.af();var ah=af.getEnumerator();while(ah.moveNext()){var ag=ah.current();var ai=ag._a0;var aj=ai.left();var ak=ai.top()+n;var al=$b($$t.$fl.$type,ag.item());this.n(al,this._d,c,aj,ak,ai.width(),ai.height())}},ab:function(a){var b=this.y($.ig.Date.prototype.getDate($$0.$s.now()),a,a.q());var c=this._d.__bd._measureString$i(b.dg()+"WWWWW",$$t.$ea.r(this._d),31,0);var d=$a($.ig.truncate(a.a6())-($.ig.truncate(c.width())+5),2);var e=$a($.ig.truncate(a.a5())-$.ig.truncate(c.height()),2);this.n(b,this._d,a,d,e,c.width(),c.height())},ac:function(a,b,c){var d=a.ar();var f=d.getEnumerator();while(f.moveNext()){var e=f.current();e.g(true);var g=e._o.count();for(var h=0;h<g;h++){if(e._p.__inner[h]){continue}var i=e._o.__inner[h];if(i.ak()){continue}var j=true;if(false==this._u.l){if(i.r()==31){continue}else{j=false}}else{if(i.r()==31){j=false}}if(j){if(c!=a.bt()._q){j=false}}if(j){if(null!=i.b()&&null==i.c()){j=false}else{var k=i.c();if(null!=k){if(null==k._l()||k._l()!=this._d.dataSource()){j=false}else if(k._u()&&k._y()){if(+k.start()!=+i._at){j=false;i._at=k.start()}}}}}if(j){var l=$.ig.Date.prototype.fromValues(i.a3(),i.a1(),i.ay(),0,0,0,0);if(i.r()==18||i.r()==32){if(a.bt()._au==0){j=false}else{if(false==a.bt().al(l)){j=false}}}}if(j){var m=$.ig.Date.prototype.fromValues(i.a3(),i.a1(),i.ay(),0,0,0,0);if(m<a._bv){j=false}else if(m>a._by){j=false}}if(false==j){b.i(i,a)}else{}}e.g(false)}},t:function(a,b,c,d){var e=18;var f=a;var g=new $$t.b5(4,2,e,a.getFullYear(),$.ig.Date.prototype.getMonth(a),a.getDate(),false,false);var h=$b($$t.$ec.$type,this.c(this._d,b,g,c,"agendadayheader",f));h.dg(b.bt().u(a));h.b($$t.$ea.q(this._d));h.e(0);h.bh($.ig.truncate(d.ay()._c));h.bi($.ig.truncate(d.ay()._d));h.bj($.ig.truncate(d.ay()._e));h.bg($.ig.truncate(d.ay()._b));h.db($$t.$ea.eg(this._d));h.dd($$t.$ea.ei(this._d));h.k(3);h.t(e);h._bs=f;return h},p:function(a,b,c,d,e,f,g){var h=21;var i=null;var j=b._t()?b.recurrenceRoot():b;var k=new $$t.b5(5,9,h,a.getFullYear(),$.ig.Date.prototype.getMonth(a),a.getDate(),false,false,j,b.originalStart().getTime());var l=$b($$t.$ef.$type,this.c(this._d,e,k,f,"agendaapptendtime",i));if(b.isAllDay()){l.dg("")}else if(false==d||+$.ig.Date.prototype.getDate($$t.$fx.i($.ig.Date.prototype.getDate(b.start()),b.end()))==+$.ig.Date.prototype.getDate(a)){l.dg(e.bt().v(b.end()))}else{l.dg("")}l.b($$t.$ea.m(this._d));l.e(2);l.bi(g._as);l.ai(c);l.db(c?$$t.$ea.dz(this._d):$$t.$ea.dy(this._d));l.dd(c?$$t.$ea.d0(this._d):$$t.$ea.d1(this._d));l.k(3);l.t(h);l._bs=i;return l},q:function(a,b,c,d,e,f){var g=25;var h=null;var i=b._t()?b.recurrenceRoot():b;var j=new $$t.b5(5,6,g,a.getFullYear(),$.ig.Date.prototype.getMonth(a),a.getDate(),false,false,i,b.originalStart().getTime());var k=$b($$t.$el.$type,this.c(this._d,d,j,e,"agendaapptlocation",h));k.dg(b.location());k.b($$t.$ea.n(this._d));k.e(0);k.bh(f._as);k.bi($.ig.truncate($$t.$b1.r(6)));k.ai(c);k.db(c?$$t.$ea.d3(this._d):$$t.$ea.d2(this._d));k.dd(c?$$t.$ea.d4(this._d):$$t.$ea.d5(this._d));k.k(3);k.t(g);k._bs=h;return k},r:function(a,b,c,d,e,f,g){var h=19;var i=null;var j=b._t()?b.recurrenceRoot():b;var k=new $$t.b5(5,9,h,a.getFullYear(),$.ig.Date.prototype.getMonth(a),a.getDate(),false,false,j,b.originalStart().getTime());var l=$b($$t.$eo.$type,this.c(this._d,e,k,f,"agendaapptstarttime",i));if(b.isAllDay()){l.dg(this._d._gn("LIT_AgendaStartTime_AllDay"))}else if(false==d||+$.ig.Date.prototype.getDate(b.start())==+$.ig.Date.prototype.getDate(a)){l.dg(e.bt().v(b.start()))}else if(+$.ig.Date.prototype.getDate(b.start())!=+$.ig.Date.prototype.getDate(a)&&+$.ig.Date.prototype.getDate($$t.$fx.i($.ig.Date.prototype.getDate(b.start()),b.end()))!=+$.ig.Date.prototype.getDate(a)){l.dg(this._d._gn("LIT_AgendaStartTime_AllDay"))}else if(+$.ig.Date.prototype.getDate(b.start())!=+$.ig.Date.prototype.getDate(a)){l.dg(this._d._gn("LIT_AgendaStartTime_Ends"))}l.b($$t.$ea.o(this._d));l.e(2);l.bi(g._as);l.ai(c);l.db(c?$$t.$ea.d8(this._d):$$t.$ea.d7(this._d));l.dd(c?$$t.$ea.d9(this._d):$$t.$ea.ea(this._d));l.k(3);l.t(h);l._bs=i;return l},s:function(a,b,c,d,e,f){var g=23;var h=null;var i=b._t()?b.recurrenceRoot():b;var j=new $$t.b5(5,9,g,a.getFullYear(),$.ig.Date.prototype.getMonth(a),a.getDate(),false,false,i,b.originalStart().getTime());var k=$b($$t.$ei.$type,this.c(this._d,d,j,e,"agendaapptsubject",h));k.dg(b.subject());k.b($$t.$ea.p(this._d));k.e(0);k.ai(c);k.db(c?$$t.$ea.ec(this._d):$$t.$ea.eb(this._d));k.dd(c?$$t.$ea.ed(this._d):$$t.$ea.ee(this._d));k.bh(f._as);k.bi($.ig.truncate($$t.$b1.r(6)));k.k(3);k.t(g);k._bs=h;return k},v:function(a,b,c,d,e){var f=27;var g=null;var h=b._t()?b.recurrenceRoot():b;var i=new $$t.b5(5,8,f,a.getFullYear(),$.ig.Date.prototype.getMonth(a),a.getDate(),false,false,h,b.originalStart().getTime());var j=$b($$t.$fa.$type,this.c(this._d,d,i,e,"shape",g));j.dg(0);j.ds(c?$$t.$ea.eb(this._d):$$t.$b2.b().ah());j.t(f);j.ai(c);j._bs=g;return j},w:function(a,b,c,d,e){var f=28;var g=null;var h=b._t()?b.recurrenceRoot():b;var i=new $$t.b5(5,5,f,a.getFullYear(),$.ig.Date.prototype.getMonth(a),a.getDate(),false,false,h,b.originalStart().getTime());var j=$b($$t.$fa.$type,this.c(this._d,d,i,e,"shape",g));j.dg(0);j.ds(b._bv()==null?$$t.$ea.ex(this._d):b._bv());j.ai(c);j.t(f);j._bs=g;return j},x:function(a,b,c,d,e,f,g){var h=null;var i=null==b?null:b._t()?b.recurrenceRoot():b;var j=null==b?0:b.originalStart().getTime();var k=new $$t.b5(5,5,g,a.getFullYear(),$.ig.Date.prototype.getMonth(a),a.getDate(),false,false,i,j);var l=$b($$t.$fa.$type,this.c(this._d,d,k,e,"shape",h));l.dg(0);l.ai(c);l.ds(f);l.t(g);l._bs=h;return l},y:function(a,b,c){var d=31;var e=null;var f=new $$t.b5(4,6,d,a.getFullYear(),$.ig.Date.prototype.getMonth(a),a.getDate(),false,false);var g=$b($$t.$fe.$type,this.c(this._d,b,f,c,"text",e));g.dg(this._d._gn("LIT_AgendaNoEventsMessage"));g.e(1);g.g(1);g.db($$t.$b2.b().ah());g.t(d);g._bs=e;g.dd($$t.$ea.ej(this._d));g.b($$t.$ea.r(this._d));g.k(3);return g},ad:function(a){this._u.d=new $$4.h(String,$$4.$x.$type.specialize($$t.$z.$type),0);if(null!=this._d.dataSource()){var b=a._bv;var c=a._by;var d=$$t.$b1.p(b);var e=$$t.$b1.m(c);this._d.dataSource()._ay(new $$t.a(d,e),null,this.o.runOn(this))}},z:function(a,b,c,d){d._bv=a;d._bz=b;d._by=a;d._b1=b+c.aj(a)._b;d._b2=0;var e=b;var f=this._u.e;var g=new $$4.x($$0.$s.$type,0);var i=c.am(a).getEnumerator();while(i.moveNext()){var h=i.current();if(e<f&&h<=d._br.end()){d._b2++;d._by=h;d._b1=e+c.aj(h)._b;e=d._b1;g.add(h)}else{break}}return g},$type:new $.ig.Type("VisibilityEngineAgendaView",$$t.$d5.$type)},true);$c("VisibilityEngineDWView:d7","VisibilityEngine",{init:function(a){$$t.$d5.init.call(this,a)},m:function(a,b,c,d){var e=$b($$t.$et.$type,a);var f=$b($$t.$d2.$type,b);this._q=$b($$t.$dv.$type,c);try{this._d._da(true);this._q.k=e.bw();this._q.m=e.bw().an();this._q.l=e.bw().al();this._q.x=e.b5();this._q.ab=this._d.timeSlotMajorVerticalSeparatorVisibility()==0;this._q.ad=this._d.timeSlotMinorVerticalSeparatorVisibility()==0;this._q.aa=this._d.timeSlotMajorHorizontalSeparatorVisibility()==0;this._q.ac=this._d.timeSlotMinorHorizontalSeparatorVisibility()==0;this._q.ar=$$t.$ea.fo(this._d);this._q.at=$$t.$ea.fq(this._d);this._q.aq=$$t.$ea.fn(this._d);this._q.as=$$t.$ea.fp(this._d);this._q.ai=f.ar();this._q.ak=this._q.h;this._q.al=this._q.i;var g=this._q.m;var h=this._q.x;var i=e._cj!=h._q;if(i){g.aa(-2147483648)}var j=h.am(this._q.i);var k;var l=null;if(null!=j){this._q.z=true;k=j._g;this._q.aj=this._q.i-k;l=this.an(j,k,h,e)}else{this._q.z=false}var m=e._cg!=this._q.k._q;if(m){g.aa(-2147483648)}var n=null;var o=g.i(this._q.h);this._q.y=null!=o;if(this._q.y){var p=o._z;if(p<this._q.h){this._q.h=p}n=this.am(o,p,this._q.k,e);e._b9=n.__inner[0].p();var q=n.__inner[n.count()-1];e._cc=q.s()}this.a1(e,this.f(),i,m,l,n);var r=e._ch!=this._q.ak;if(this._q.y&&o._z==this._q.ak){e._b6=true;g.aa(o._z);if(r){this._d.selectedDate(this.ao(o))}}else{e._b6=false}if(this._q.y){this.ay(o.p(),o.s(),e,f)}var s=$$t.$dx.b(l,e,this._q);this.az(l,s,e,$b($$t.$d2.$type,b));if(this._q.y){this.a2(e);var u=n.getEnumerator();while(u.moveNext()){var t=u.current();var v=$$t.$dy.d(t,s,e,this._d,this._q,$b($$t.$d2.$type,b));this.aw(v,e,$b($$t.$d2.$type,b));if(e._b6){this.h().r(3,-1,t._w)}}}e._ch=this._q.ak;e._ci=this._q.al;e._b8.clear();e._b7.clear();e._cg=this._q.k._q;e._cj=h._q;if(null!=l&&l.count()>0){e._b8.addRange(l);e._b1=l.__inner[0];e._b2=l.__inner[l.count()-1]}if(null!=n&&n.count()>0){var x=n.getEnumerator();while(x.moveNext()){var w=x.current();e._b7.addRange(w._a)}e._ca=e._b9;e._cb=e._cc;var y=n.__inner[n.count()-1];e._by=y;e._ck=y._z+y._y}if(null!=n){e._bs=n.__inner[0]._a}else{e._bs=[]}e._ct=this._d.allDayEventAreaVisibility();e._cq=this._d.allDayEventAreaBackgroundBrush();e._cr=this._d.allDayEventBackgroundBrush();e._cs=this._d.allDayEventTextBrush();e._bu=this._d.allDayEventFontInfo();e._bz=this._q.n}finally{this._d._da(false)}},a:function(a){return new $$t.dv(a)},g:function(){return 2},ak:function(){return this.g()==3&&this._d.weekViewDisplayMode()==0},_q:null,ar:function(a,b,c,d,e,f){var g;var h;var i=e?this._q.aq:this._q.as;g=this.u(a,b,i,e,f,this._q.r,false);h=$$t.$je.c(g).d(d,0,1,c.e);h.a4(0);h.az(3);h.ab($.ig.truncate($$t.$b1.r(1)));c.a.af().add(h)},at:function(a,b,c,d,e,f,g){var h;var i;var j=f?this._q.ar:this._q.at;h=this.y(a,b,j,f,g,this._q.r,true);i=$$t.$je.c(h).d(0,d,c.f,e);i.a4(3);i.az(2);i.ac($.ig.truncate($$t.$b1.r(1)));c.a.af().add(i)},as:function(a,b){var c=this._q.aa;var d=this._q.ac&&this._d.timeSlotInterval()!=5;if(false==c&&false==d){return}var e=this._q.x;var f=this._q.ae;var g=0;var h=a.f;var i=a.a;var j=a.c.p();for(var k=0;k<h;k++){var l=f.__inner[g];if(l._b){if(c){this.ar(j,l._a,a,k,true,b)}}else if(d){this.ar(j,l._a,a,k,false,b)}g++}},au:function(a,b,c){this.ax(a,b,c);var d=b.b5();var e=$.ig.truncate(this._d._be()._measureString$i("ARBITRARY TEXT",$$t.$ea.v(this._d),44,0).height());var f=$.ig.truncate(this._d._be()._measureString$i("ARBITRARY TEXT",$$t.$ea.u(this._d),45,0).height());a.c.ab(a.a,this._q.d,this._q.x,e);var g=a.c.k();var h=$.ig.truncate(b.a3());var i=$.ig.truncate(b.az());var k=g.getEnumerator();while(k.moveNext()){var j=k.current();var l=j._e;if(l.bottom()<=h||l.top()>=i){continue}var m=j._b;var n=$$t.$b1.b(m,j._d);var o=this.ae(n,j._c._ac());var p=this.r(j._b,j._d,o,b,this._q.p,c);this.n(p,this._d,b,l.left(),l.top(),l.width(),l.height());var q=$$t.$i9.g(new $$a.af(1,l.width(),l.height()),3,2);q.ad().__inner[0]._f(new $$t.jh(2,c._ak,1));var r=true;var s=this.t(m,j._d,o,b,this._q.q);q.af().add($$t.$je.c(s).d(0,0,3,1));var t=this.aa(j._b,j._d,o,b,this._q.q,c);var u=$$t.$b1.r(8);var v=this._d._be()._measureString$i(t.dg(),t.b(),44,$.ig.truncate(q.a1().width())-c.al()-$.ig.truncate(u)).height();var w=$$t.$b1.r(4);var x=c.am();r=v+f+x*2+w<=q.a1().height();q.ag().__inner[0]._f(new $$t.jh(2,v+x,1));q.af().add($$t.$je.c(t).d(0,1,1,1));var y=null;if(false==r){q.ag().__inner[1]._f(new $$t.jh(2,0,1))}else{y=this.z(j._b,j._d,o,b,this._q.q,c);q.af().add($$t.$je.c(y).d(1,1,1,1).t(0));q.ag().__inner[1]._f(new $$t.jh(2,f+x,1))}q.ax(true);var z=q.af();var ab=z.getEnumerator();while(ab.moveNext()){var aa=ab.current();var ac=aa._a0;var ad=ac.left()+l.left();var ae=ac.top()+l.top();var af=ac.height();var ag=$b($$t.$fl.$type,aa.item());if(ag==y&&af!=0){af=f+x}this.n(ag,this._d,b,ad,ae,ac.width(),af)}}},aw:function(a,b,c){this.av(a,b,c);this.as(a,b);a.a.ax(true);this.au(a,b,c);this.a0(a,b,c);a.a.ax(true);var d=a.a.af();var f=d.getEnumerator();while(f.moveNext()){var e=f.current();var g=e._a0;var h=g.left()+a.c._z;var i=g.top()+this._q.al;var j=$b($$t.$fl.$type,e.item());if(j.q()!=2){i-=this._q.aj}this.n(j,this._d,b,h,i,g.width(),g.height())}},av:function(a,b,c){var d=this._q.l;var e=this._q.k;var f=a.c._a;var g=f.length;var h=$.ig.Date.prototype.getDate($$0.$s.now());var i=this._d._o9()==0;var j=null;if(false==this._q.l.c()){var l=d.e().getEnumerator();while(l.moveNext()){var k=l.current();var m=k._d;if(false==m<g){break}h=f[m];if(i){j=this.ac(k,h,b,this._q.o,c);a.b.af().add($$t.$je.c(j).d(0,m,1,1))}if(this._q.ad){this.at(k,h,a,m,k._e,false,b)}}}else{var n=new $$4.x($$t.$ac.$type,0);if(this._d._c4()){n.addRange(this._d._dh())}var o=1;var p=0;var r=d.e().getEnumerator();while(r.moveNext()){var q=r.current();switch(e._aj){case 0:case 2:h=f[p];p++;if(p>g-1){p=0}break;case 1:h=f[0];break}var s=q._a==0&&i||q._a==1;if(s){j=this.ac(q,h,b,this._q.o,c);a.b.af().add($$t.$je.c(j).d(0,q._d,1,q._e))}else{o=0}if(this._q.ab){this.at(q,h,a,q._d,q._e,true,b)}}p=0;var t=0;var u=d._l;var w=d.f().getEnumerator();while(w.moveNext()){var v=w.current();switch(e._aj){case 0:break;case 2:h=f[p];t++;if(t>u-1){t=0;if(p<g-1){p++}}break;case 1:h=f[p];p++;if(p>g-1){p=0}break}var x=v._a==0&&i||v._a==1;if(x){j=this.ac(v,h,b,this._q.o,c);a.b.af().add($$t.$je.c(j).d(o,v._d,1,v._e))}if(this._q.ad){this.at(v,h,a,v._d,v._e,false,b)}}}a.b.ax(true);var y=a.b.af();var aa=y.getEnumerator();while(aa.moveNext()){var z=aa.current();var ab=z._a0;var ac=ab.left()-(this._q.ak-a.c._z);var ad=ab.top();var ae=$b($$t.$fl.$type,z.item());this.n(ae,this._d,b,ac,ad,ab.width(),ab.height())}},ax:function(a,b,c){if(this._d.allDayEventAreaVisibility()==1){a.c._w=0}else{var d=a.c._b;if(null==a.c._b||this._d.allDayEventAreaVisibility()!=b._ct||this._d.allDayEventAreaBackgroundBrush()!=b._cq||this._d.allDayEventBackgroundBrush()!=b._cr||this._d.allDayEventTextBrush()!=b._cs||this._d.allDayEventFontInfo()!=b._bu){a.c._b=this.p(a,b,c);d=a.c._b;var e=this.s(b,this._q.p,c);d.af().add($$t.$je.c(e).d(0,0,d.ag().count(),d.ad().count()))}d.ax(true);var f=d.af();var h=f.getEnumerator();while(h.moveNext()){var g=h.current();var i=g._a0;var j=i.left();var k=$b($$t.$fl.$type,g.item());if(k.t()!=47){j-=this._q.ak-a.c._z}this.n(k,this._d,b,j,i.top(),i.width(),i.height())}}},ay:function(a,b,c,d){var e=String.empty();var f=$$t.$ea.w(this._d,false);var g=this._d._bw().f(this.g());var h=g.z(4);var i=$.ig.truncate(h.width())-2*d.k()-d.l();var j=c._bz;if(null!=j&&+j._d==+a&&+j._e==+b&&j._f==i&&$$t.$b1.f(f,j._a)){e=j._g}else{var k=this._d.__bd;f=$$t.$ea.w(this._d,false);var l=false;var m=false;e=$$t.$b1.w(this._d,a,b,l,m);var n=$.ig.truncate(k._measureString$i(e,f,56,0).width());if(n>=i){m=true;e=$$t.$b1.w(this._d,a,b,l,m);n=$.ig.truncate(k._measureString$i(e,f,56,0).width());if(n>=i){l=true;e=$$t.$b1.w(this._d,a,b,l,m);n=$.ig.truncate(k._measureString$i(e,f,56,0).width())}}this._q.n=new $$t.d8(a,b,l,m,e,f,i)}$$t.$e9.e(this._d,this,this._q,e,56,$$t.$ea.w(this._d,false),$$t.$ea.w(this._d,true),$$t.$ea.ev(this._d),c,d)},az:function(a,b,c,d){if(false==this._q.z){return}var e=0;for(var f=0;f<b.d;f++){var g=a.__inner[e];if(g._b){var h=this.ad(g,c,this._q.s,$b($$t.$d2.$type,d));b.a.af().add($$t.$je.c(h).d(f,1,1,1))}e++}b.a.ax(true);var i=b.a.af();var k=i.getEnumerator();while(k.moveNext()){var j=k.current();var l=$b($$t.$fl.$type,j.item());var m=j._a0;var n=m.left();var o=m.top();if(l.t()==38){o-=this._q.aj;if(l._m.z()!=this._q.x.at().__inner[0]._a){o-=m.height()/2}else{o-=m.height()/4}}this.n(l,this._d,c,n,o,m.width(),m.height())}},a0:function(a,b,c){if(false==this._q.z){return}var d=a.c;d.ac(d._a,a.a,this._q.x,this._d);var e=d.l();var f=$.ig.truncate(b.a3());var g=$.ig.truncate(b.az());var i=e.getEnumerator();while(i.moveNext()){var h=i.current();var j=h._e;if(j.bottom()<=f||j.top()>=g){continue}var k=this.x(h,b,h._c?this._q.v:this._q.t);this.n(k,this._d,b,j.left(),j.top(),j.width(),j.height())}if(null!=this._d.selectedTimeRange()&&$$t.$b1.c(d._a,this._d.__d7)){var l=b.b5().al(this._d.selectedTimeRange());if(null!=l){var m=0;var n=this._q.ae;var o=d.p();var p=a.f;for(var q=0;q<p;q++){var r=n.__inner[m];if(r==l){var s=d.x(this._d.__d7,this._d.__cp);if(s<0){continue}var t=this.w(l,this._d.__d7,this._d.__cp,b,this._q.u);a.a.af().add($$t.$je.c(t).d(q,s,1,1));break}m++}}}},al:function(a){var $self=this;var b=new $$4.h(String,$$4.$x.$type.specialize($$t.$z.$type),0);var c=new $$4.q($$t.$z.$type,0);var d=a.c._a;var e=this._q.l.b()==2;for(var g=0;g<d.length;g++){var f=d[g];if(+f==+$$0.$s.minValue()){continue}var h=false;var i=null;var j=$$t.$b1.u(f);h=function(){var k=$self._q.d.tryGetValue($$t.$b1.u(f),i);i=k.p1;return k.ret}();if(false==h){continue}var l=i.getEnumerator();while(l.moveNext()){var k=l.current();if(k.isAllDay()){if(false==c.contains(k)||e){if(false==c.contains(k)){c.add(k)}if(false==b.containsKey(j)){b.add(j,new $$4.x($$t.$z.$type,0))}b.item(j).add(k)}}}}return b},ao:function(a){if($$t.$b1.c(a._a,this._d.selectedDate())){return this._d.selectedDate()}var b=$.ig.Date.prototype.getDate($$0.$s.now());if($$t.$b1.c(a._a,b)){return b}return a.p()},ap:function(a,b,c){var d=1;var e=new $$t.a(a.start(),$$t.$fx.h(a.end()));var f=c.indexOf(b)+1;for(var g=f;g<c.count();g++){if(e.contains(c.__inner[g])){d++}}return d},aq:function(a,b,c){for(var d=b;d<a.getLength(0);d++){if(true!=a[d][c]){return d}}return-1},ag:function(a){if(null!=a.b()&&null==a.c()){return false}else{var b=a.c();if(null!=b){if(null==b._l()||b._l()!=this._d.dataSource()){return false}else if(b._u()&&b._y()){if(+b.start()!=+a._at){a._at=b.start();return false}}}}return true},ah:function(a,b,c){if(null!=c&&false==this.aj(a.y(),c)){return false}if(false==this.ai(a.as(),b)){return false}return true},ai:function(a,b){var d=b.getEnumerator();while(d.moveNext()){var c=d.current();if(c.h(a)){return true}}return false},af:function(a){if(false==this._d._c4()){return false}var b=this._d._dh();var d=b.getEnumerator();while(d.moveNext()){var c=d.current();if(c==a){return true}}return false},aj:function(a,b){var d=b.getEnumerator();while(d.moveNext()){var c=d.current();var e=c._a;if(e.end()<a.start()){continue}if(a.intersectsWith(e,true)){return true}}return false},ae:function(a,b){var c=0;if($.ig.util.timeSpanTicks(a.start())<$.ig.util.timeSpanTicks(b.start())){c=$.ig.util.timeSpanTicks(b.start())}else{c=$.ig.util.timeSpanTicks(a.start())}var d=0;if($.ig.util.timeSpanTicks(a.end())>$.ig.util.timeSpanTicks(b.end())){d=$.ig.util.timeSpanTicks(b.end())}else{d=$.ig.util.timeSpanTicks(a.end())}if(d<c){d=c}return new $$t.s($.ig.util.timeSpanFromTicks(c),$.ig.util.timeSpanFromTicks(d))},a1:function(a,b,c,d,e,f){var g=a.ar();var i=g.getEnumerator();while(i.moveNext()){var h=i.current();h.g(true);var j=h._o.count();for(var k=0;k<j;k++){if(h._p.__inner[k]){continue}var l=h._o.__inner[k];if(l.p()==5){if(l.r()==2){continue}}var m=true;if(c){m=false}if(m&&d){m=false}if(m&&l.r()==47&&this._d.allDayEventAreaVisibility()==1){m=false}if(m&&this._d.navigationHeaderVisibility()==1&&(l.r()==52||l.r()==56||l.r()==53||l.r()==55||l.r()==54)){m=false}if(m&&l.p()==5&&l.r()==40){if(false==this._q.aa&&l.ae()){m=false}else if(false==this._q.ac&&l.ae()==false){m=false}else if(false==this.ai(l.as(),f)){m=false}else{m=this.aj(l.y(),e)}}if(m&&l.p()==5&&l.r()==39){if(false==this._q.ab&&l.ae()){m=false}else if(false==this._q.ad&&l.ae()==false){m=false}else if(null!=l.v()&&false==this._d._c7()){m=false}else if(null!=l.v()&&false==this.af(l.v())){m=false}else{m=this.ai(l.as(),f)}}if(m&&(l.p()==5||l.p()==6)&&(l.r()==43||l.r()==44||l.r()==45||l.r()==48||l.r()==46)){m=this.ag(l);if(m){if(l.r()==46){m=this._d.allDayEventAreaVisibility()==0;if(m){m=this.ah(l,f,null)}}else{m=this.ah(l,f,e)}}}if(m&&l.p()==9&&(l.r()==49||l.r()==50)){if(false==this.ai(l.as(),f)){m=false}if(m){m=this.aj(l.y(),e)}if(m){if(null!=l.v()&&false==this._d._c7()){m=false}else if(null!=l.v()&&false==this.af(l.v())){m=false}}}if(m&&l.p()==9&&l.r()==51){if(null==this._d.selectedTimeRange()){m=false}if(m){m=$$t.$b1.g(l.z(),this._d.selectedTimeRange())}if(m&&l.v()!=this._d.__cp){m=false}if(m&&+l.as()!=+this._d.__d7){m=false}if(m&&false==this.ai(l.as(),f)){m=false}if(m){m=this.aj(l.y(),e)}}if(m&&null!=l.z()){m=this.aj(l.z(),e)}if(m){if(l.r()==41){if(this._d._o9()==1){m=false}if(m&&(null==f||f.count()<1)){m=false}if(m){m=this.ai(l.as(),f)}}}if(m){if(l.r()==42){if(null==f||f.count()<1){m=false}if(m){m=this.ai(l.as(),f)}var n=l.v();if(m&&null!=n){m=$$5.$e.e($$t.$ac.$type,this._d._dh(),n)}}}if(false==m){b.i(l,a)}else{}}h.g(false)}},r:function(a,b,c,d,e,f){var g=43;var h=a;var i=$$t.$b5.j(5,g,c,b,a,this._d._a8());var j=$b($$t.$fa.$type,this.c(this._d,d,i,e,"shape",h));j.dg(0);var k=a._bv()==null?$$t.$ea.ep(this._d):a._bv();var l=$$t.$b1.x(k.color(),.699999988079071);j.ds(function(){var $ret=new $$a.at;$ret.fill(l.colorString());$ret.color(l);return $ret}());j.t(g);j._bs=h;return j},s:function(a,b,c){var d=47;var e=null;var f=$$t.$b5.n(5,d,this.g());var g=$b($$t.$fa.$type,this.c(this._d,a,f,b,"shape",e));g.dg(0);g._c=3;g.ds($$t.$ea.ek(this._d));g.t(d);g._bs=e;return g},t:function(a,b,c,d,e){var f=48;var g=null;var h=$$t.$b5.j(5,f,c,b,a,this._d._a8());var i=$b($$t.$fa.$type,this.c(this._d,d,h,e,"shape",g));i.dg(0);i.ds(a._bv()==null?$$t.$ea.ep(this._d):a._bv());i.t(f);i._bs=g;return i},u:function(a,b,c,d,e,f,g){var h=40;var i=b;var j=$$t.$b5.l(5,h,b,a,d,this._d._a8());var k=$b($$t.$fa.$type,this.c(this._d,e,j,f,"shape",i));k.dg(0);k.ds(c);k.t(h);k._bs=i;return k},v:function(a,b){var c=52;var d=null;var e=new $$t.b5(0,2,c);var f=$b($$t.$fa.$type,this.c(this._d,a,e,b,"shape",d));f.dg(0);f._c=4;f.ds($$t.$ea.fh(this._d));f.t(c);f._bs=d;return f},w:function(a,b,c,d,e){var f=51;var g=a._a;var h=$$t.$b5.m(9,f,a._a,b,c,this._d._a8());var i=$b($$t.$fa.$type,this.c(this._d,d,h,e,"shape",g));i.dg(0);i.ds($$t.$ea.fs(this._d));i.t(f);i._bs=g;return i},x:function(a,b,c){var d=a._c;var e=d?50:49;var f=a._b;var g=$$t.$b5.m(9,e,a._b,a._d,a._a,this._d._a8());var h=$b($$t.$fa.$type,this.c(this._d,b,g,c,"shape",f));h.dg(0);h.ds(d?$$t.$ea.ft(this._d):$$t.$ea.fr(this._d));h.t(e);h._bs=f;return h},y:function(a,b,c,d,e,f,g){var h=39;var i=b;var j=a._b;var k=$$t.$b5.h(5,h,b,j,d,this._d._a8());var l=$b($$t.$fa.$type,this.c(this._d,e,k,f,"shape",i));l.dg(0);l.ds(c);l.t(h);l._bs=i;return l},aa:function(a,b,c,d,e,f){var g=44;var h=null;var i=$$t.$b5.k(6,g,c,b,a,0,this._d._a8());var j=$b($$t.$fe.$type,this.c(this._d,d,i,e,"text",h));j.dg(a.subject());j.b($$t.$ea.v(this._d));j.g(3);j.e(0);j.bh($.ig.truncate(f._a2._c));j.bj($.ig.truncate(f._a2._e));j.bi($.ig.truncate(f._a2._d));j.bg($.ig.truncate(f._a2._b));j.db($$t.$ea.es(this._d));var k=a._bx(true);j.dd(null==k?$$t.$ea.et(this._d):k);j.k(5);j.bf(3);j.y(true);j.t(g);j._bs=h;return j},z:function(a,b,c,d,e,f){var g=45;var h=null;var i=$$t.$b5.k(5,g,c,b,a,1,this._d._a8());var j=$b($$t.$fe.$type,this.c(this._d,d,i,e,"text",h));j.dg(a.location());j.b($$t.$ea.u(this._d));j.g(0);j.e(0);j.bh($.ig.truncate(f._a2._c));j.bj($.ig.truncate(f._a2._e));j.bi($.ig.truncate(f._a2._d));j.bg($.ig.truncate(f._a2._b));j.db($$t.$ea.eq(this._d));j.dd($$t.$ea.er(this._d));j.k(3);j.y(true);j.t(g);j._bs=h;return j},ab:function(a,b,c,d,e){var f=46;var g=null;var h=$$t.$b5.f(5,f,b,a,2,this._d._a8());var i=$b($$t.$fe.$type,this.c(this._d,c,h,d,"text",g));i._c=3;i.dg(a.subject());i.b($$t.$ea.s(this._d));i.g(3);i.e(1);i.bh($.ig.truncate(e._a1._c));i.bj($.ig.truncate(e._a1._e));i.bi($.ig.truncate(e._a1._d));i.bg($.ig.truncate(e._a1._b));if(null!=this._d.allDayEventBackgroundBrush()){i.db(this._d.allDayEventBackgroundBrush())}else{var j=a._bv()==null?$$t.$ea.el(this._d):a._bv();var k=$$t.$b1.x(j.color(),.699999988079071);i.db(function(){var $ret=new $$a.at;$ret.fill(k.colorString());$ret.color(k);return $ret}())}i.dd(null!=this._d.allDayEventTextBrush()?this._d.allDayEventTextBrush():null!=a._bv()?a._bv():$$t.$ea.em(this._d));i.k(3);i.y(true);i.t(f);i._bs=g;return i},ac:function(a,b,c,d,e){var f=a._a==0?41:42;var g=b;var h=a._b;var i=$$t.$b5.g(2,f,b,h,this._d._a8());var j=$b($$t.$fe.$type,this.c(this._d,c,i,d,"text",g));if(a._a==0){j.dg($$t.$fx.t(this._d._a8(),b,2));j.b($$t.$ea.t(this._d));j.db($$t.$ea.en(this._d));j.dd($$t.$ea.eo(this._d))}else{var k=h.displayName();if(String.isNullOrEmpty(k)){k="NoName"}j.dg(k);j.b($$t.$ea.af(this._d));j.db($$t.$ea.fj(this._d));j.dd($$t.$ea.fk(this._d))}j._c=0;j.e(1);j.k(3);j.t(f);j._bs=g;return j},ad:function(a,b,c,d){var e=38;var f=a._a;var g=new $$t.b5(8,9,e,a);var h=$b($$t.$fe.$type,this.c(this._d,b,g,c,"text",f));var i=a.k();h._c=1;h.dg(b.b5().v($.ig.Date.prototype.fromValues(1,1,1,$.ig.util.timeSpanHours(i),$.ig.util.timeSpanMinutes(i),0,0)));h.b($$t.$ea.ag(this._d));h.g(3);h.e(2);h.bi($.ig.truncate($$t.$b1.r(5)));h.db($$t.$ea.fl(this._d));h.dd($$t.$ea.fm(this._d));h.k(3);h.t(e);h._bs=f;return h},p:function(a,b,c){var d=$.ig.truncate(this._d._be()._measureString$i("ARBITRARY TEXT",$$t.$ea.s(this._d),46,0).height());var e=this.al(a);var f=100;var g=a.e;var h=$$t.$i9.g(new $$a.af(1,this._q.ah,1),f,g);var i=a.c;var j=new $$4.x($$0.$s.$type,1,i._a);var k=j.__inner[j.count()-1];var l=function(){var $ret=new Array($firstRank=f);var $currRet=$ret;for(var $rankInit=0;$rankInit<$firstRank;$rankInit++){$currRet[$rankInit]=new Array(g)}return $ret}();var m=this._q.l.c();var n=this._q.l.b()==2;var o=-1;var q=j.getEnumerator();while(q.moveNext()){var p=q.current();if(+p==+$$0.$s.minValue()){continue}var r=$$t.$b1.u(p);var s=new $$4.h(String,$$0.$aw.$type,0);var t=null;var u=function(){var v=e.tryGetValue(r,t);t=v.p1;return v.ret}();if(false==u){continue}var w=t.getEnumerator();while(w.moveNext()){var v=w.current();var x=i.x(p,v.resource());if(x<0){continue}var y=m?v.resource():null;var z=$$t.$b1.t(p,y);if(false==s.containsKey(z)){s.add(z,0)}var aa=s.item(z,this.aq(l,s.item(z),x));o=Math.max(o,aa);var ab=n?1:this.ap(v,p,j);var ac=this.ab(v,p,b,this._q.q,c);h.af().add($$t.$je.c(ac).d(aa,x,1,ab).p(c._a0));this.a4(l,aa,x,ab);var ad=s.item(z);s.item(z,ad+1)}}var ae=f-1;var af=ae-o;while(af>0){h.ag().removeAt(ae);ae--;af--}a.c._w=h.ag().count()*(d+c.aj()+c.ah());h.a1(new $$a.af(1,this._q.ah,a.c._w));return h},a2:function(a){this._q.d=new $$4.h(String,$$4.$x.$type.specialize($$t.$z.$type),0);if(null!=this._d.dataSource()){var b=a._b9;var c=a._cc;var d=$$t.$b1.p(b);var e=$$t.$b1.m(c);this._d.dataSource()._ay(new $$t.a(d,e),null==this._d._dg()?null:this._d._dg(),this.o.runOn(this));this.a3()}},a3:function(){if(false==this.ak()){return}var a=$$5.$e.z($$0.$u.$type,$$t.$v.d(this._d,false,this._d._dh(),true));var b=$$5.$e.a(String,this._q.d.keys());for(var d=0;d<b.length;d++){var c=b[d];var e=$$t.$b1.k(c);if(false==a.contains(e.getDay())){this._q.d.remove(c)}}},a4:function(a,b,c,d){a[b][c]=true;var e=d-1;while(e>0){c++;a[b][c]=true;e--}},am:function(a,b,c,d){d._bx=a;d._cd=b;d._by=a;d._ck=b+a._y;d._cn=0;var e=b;var f=Math.max(this._q.g,$.ig.truncate(d.a6()));var g=new $$4.x($$t.$bn.$type,0);var h=c.an();var j=h.m(a).getEnumerator();while(j.moveNext()){var i=j.current();if(e<f){d._cn++;d._by=i;d._ck=e=e+i._y;g.add(i)}else{break}}d._br=g.toArray();return g},an:function(a,b,c,d){d._b0=a;d._cf=b;d._b3=a;d._cm=b+a._f;d._cp=0;var e=b;var f=$.ig.truncate(d.az());var g=new $$4.x($$t.$b0.$type,0);var h=c.at();var i=h.indexOf(a);if(i<0){return g}var j=h.count();for(var k=i;k<j;k++){if(e<f){var l=h.__inner[k];if(k==0){l._b=true}else{var m=l.h();var n=h.__inner[k-1].h();if(m!=n){l._b=true}else{l._b=false}}d._cp++;d._b3=l;d._cm=e=e+l._f;g.add(l)}else{break}}d._bt=g.toArray();return g},$type:new $.ig.Type("VisibilityEngineDWView",$$t.$d5.$type)},true);$c("NavigationTextMeasureInfo:d8","Object",{init:function(a,b,c,d,e,f,g){$.ig.$op.init.call(this);this._d=a;this._e=b;this._c=c;this._b=d;this._g=e;this._a=f;this._f=g},_d:new Date,_e:new Date,_c:false,_b:false,_g:null,_a:null,_f:0,$type:new $.ig.Type("NavigationTextMeasureInfo",$.ig.$ot)},true);$c("VisibilityEngineMonthView:d9","VisibilityEngine",{init:function(a){$$t.$d5.init.call(this,a)},m:function(a,b,c,d){try{var e=$b($$t.$e2.$type,a);this._q=$b($$t.$dt.$type,c);this._d._da(true);var f=a.e();var g=e._b1;e._b1=f._q;this._q.l=this._d.monthViewDayOfWeekHeaderVisibility()==0;this._q.n=this._d.monthViewLeadingDayVisibility()==0;this._q.o=this._d.monthViewTrailingDayVisibility()==0;
this._q.q=this._d.monthViewWeekNumberVisibility()==0;this._q.p=this._d.monthViewVerticalSeparatorVisibility()==0;this._q.m=this._d.monthViewHorizontalSeparatorVisibility()==0;this._q.k=this._q.m||this._q.p;var h=this._d.monthViewScrollDirection();this._q.u=h==1;this._q.v=h==0;var i=e._b7;this._q.t=i.height()!=-1;this._q.s=i.width()!=-1;this._q.r=this._q.t;this._q.ac=this._q.ab();var j=f.au(this._q.ab()+1);var k=f.aj(j);var l=k._c;if(l<this._q.ab()){this._q.ad(l)}this.ak(j,l,f,e);if(this._q.n){try{this._q.w=$.ig.Date.prototype.addDays(e._bt,-1*k._a)}catch(m){this._q.w=e._bt}}else{this._q.w=e._bt}var n=e._by;var o=f.aj(n);this._q.x=$.ig.Date.prototype.fromValues(n.getFullYear(),$.ig.Date.prototype.getMonth(n),o._d,0,0,0,0);if(this._q.o){var p=o._f;if(this._q.r){p+=(6-o._e)*7}this._q.y=$.ig.Date.prototype.addDays(this._q.x,p)}else{this._q.y=this._q.x}var q=new $$4.x($$0.$s.$type,0);if(false==e.ag()){if(+$.ig.Date.prototype.getDate(this._q.w)==+e._bu&&+$.ig.Date.prototype.getDate(this._q.y)==+e._bw){return}var r=e._bv;while(true){if(r>=j&&r<=n){q.add(r)}r=$.ig.Date.prototype.addMonths(r,1);if(r>e._bx){break}}}e._bu=$.ig.Date.prototype.getDate(this._q.w);e._bw=$.ig.Date.prototype.getDate(this._q.y);e._bv=j;e._bx=n;this.ai();this.ag(e,this.f(),g);e._br=$$t.$ea.x(this._d);e._b6=f._bk;var s=false;var t=e._b3!=this._q.ac;e._b3=this._q.ac;if(l==this._q.ac||l==this._q.ac-1||l==this._q.ac+1){if(t){s=true;var u=e._bt;var v=$$0.$s.now();var w=this._d.selectedDate();if(w.getFullYear()==u.getFullYear()&&$.ig.Date.prototype.getMonth(w)==$.ig.Date.prototype.getMonth(u)){}else if(u.getFullYear()==v.getFullYear()&&$.ig.Date.prototype.getMonth(u)==$.ig.Date.prototype.getMonth(v)){this._d.selectedDate($.ig.Date.prototype.getDate(v))}else{this._d.selectedDate($.ig.Date.prototype.getDate(e._bt))}}}var x=e.e().w(e._bt);$$t.$e9.e(this._d,this,this._q,x,57,$$t.$ea.ac(this._d),$$t.$ea.ac(this._d),$$t.$ea.e7(this._d),e,b);var y=0;if(this._q.v){y=this._q.e}else{y=this._q.g}var z=j;while(this._q.ab()<y&&z<=a._at){var aa=$$t.$dw.e(z,e,this._d,this._q);if(q.indexOf(z)<0||s){this.af(z,e,aa,$b($$t.$d3.$type,b))}this.aj(aa);z=$.ig.Date.prototype.addMonths(z,1)}e._b0=this._d.__en;e._b2=this._d.__eq}finally{this._d._da(false)}},a:function(a){return new $$t.dt(a)},g:function(){return 0},_q:null,ac:function(a,b,c,d,e){if(this._q.m){var f;var g;if(a){if(b){f=this.v(e.o,c,-1,e.ae,d,e.i,false);g=$$t.$je.c(f).d(c,e.t,1,e.aa);g.a4(0);g.ab($.ig.truncate($$t.$b1.r(1)));e.b.af().add(g)}f=this.v(e.o,c+1,-1,e.ae,d,e.i,false);g=$$t.$je.c(f).d(c,e.t,1,e.aa);g.a4(2);g.ab($.ig.truncate($$t.$b1.r(1)));e.b.af().add(g)}}},ad:function(a,b,c,d,e){var $self=this;var f=$.ig.Date.prototype.getDate(d.n);var g=+$.ig.Date.prototype.getDate(this._d.selectedDate())!=+null&&+f==+$.ig.Date.prototype.getDate(this._d.selectedDate());var h=+f==+$.ig.Date.prototype.getDate($$0.$s.now());var i=f<d.o&&this._q.n;var j=f>d.q&&this._q.o;var k=i?e.a8():j?e.a9():e.a7();var l=false;var m=new $$4.x($$t.$z.$type,0);if(false==i&&false==j){l=function(){var n=$self._q.d.tryGetValue($$t.$b1.u(f),m);m=n.p1;return n.ret}()}var n=this.z(f,i,j,g,h,l,c,d.f);d.b.af().add($$t.$je.c(n).d(a,b,1,1));var o=this._d.monthViewDayContentDisplayMode()==1;var p=this._d.monthViewDayContentDisplayMode()==0;var q=null;if(p){var r=d.b.ay(a,b);var s=e.a7().height();var t=$$t.$b1.y(new $$a.ah(1,2,0,2,1));var u=s+t._e+t._b;var v=Math.max(u,r.height()*.65);var w=$$t.$b1.r(4);var x=$$t.$b1.y(new $$a.ah(1,1.5,0,1.5,0));var y=$$t.$b1.r(6);var z=$$t.$b1.r(6);var aa=y+x._e+x._b;var ab=z+x._c+x._d;var ac=r.height()-v;var ad=r.width()-2*w;var ae=l?Math.min(3,m.count()):0;var af=Math.min(1,$.ig.truncate(Math.floor(ac/aa)));var ag=$.ig.truncate(Math.floor(ad/ab));var ah=af*ag;var ai=Math.max(1,af);var aj=Math.max(1,ae)+2;q=$$t.$i9.g($.ig.RectUtil.prototype.z(r),1+ai,aj);q.ag().__inner[0]._f(new $$t.jh(2,v,1));for(var ak=0;ak<aj;ak++){if(ak!=0&&ak!=aj-1){q.ad().__inner[ak]._f(new $$t.jh(2,ab,1))}}q.ax(true);var al=this.y(f,i,j,g,h,c,d.g);al.g(2);var am=$$t.$je.c(al).d(0,0,1,aj);am.az(1);am.a4(2);am.a2(t);q.af().add(am);if(h&&false==i&&false==j){var an=this.w(f,c,d.k);an.g(2);var ao=$$t.$je.c(an).d(0,0,1,aj);ao.ab(k.width()+$$t.$b1.r(4));ao.ac(ao.ab());ao.az(1);ao.a4(2);ao.a2(t);q.af().add(ao)}if(l&&af>0){var ap;var aq=1;var ar=aj-2;var as=aq;var at=1;var av=m.getEnumerator();while(av.moveNext()){var au=av.current();ap=this.t(f,c,d.k,au);ap.g(0);var aw=$$t.$je.c(ap).d(at,as,1,1);aw.ab(y);aw.ac(z);aw.az(1);aw.a4(0);aw.a2(x);q.af().add(aw);as++;if(as>ar){as=aq;at++;if(at>=af){break}}}}}else if(o){var ax=d.b.ay(a,b);var ay=e.a7().height();var az=$$t.$b1.y(new $$a.ah(1,4,2,4,2));var a0=ay+az._e+az._b;var a1=$$t.$b1.y(new $$a.ah(0,1));var a2=$$t.$b1.y(new $$a.ah(1,3,1,3,1));var a3=e.a6().height()+a1._e+a1._b;var a4=a3+a2._e+a2._b;var a5=ax.height()-a0;var a6=l?m.count():0;var a7=$.ig.truncate(Math.floor(a5/a4));var a8=Math.max(1,a7);q=$$t.$i9.g($.ig.RectUtil.prototype.z(ax),1+a8,1);q.ag().__inner[0]._f(new $$t.jh(2,a0,1));q.ax(true);var a9=this.y(f,i,j,g,h,c,d.g);q.af().add($$t.$je.c(a9).d(0,0,1,1).j(ay));if(h&&false==i&&false==j){var ba=this.w(f,c,d.k);var bb=$$t.$je.c(ba).d(0,0,1,1);bb.ab(k.width()+$$t.$b1.r(4));bb.ac(bb.ab());bb.az(1);bb.a4(1);q.af().add(bb)}if(a6>0&&a7>0){var bc=1;var bd=Math.min(a7,a6);for(var be=0;be<bd;be++){var bf=this.x(m.__inner[be],f,c,d.g,a1);q.af().add($$t.$je.c(bf).d(bc,0,1,1).p(a2).j(a3).t(1));bc++}}}q.ax(true);d.b.af().add($$t.$je.c(q).d(a,b,1,1))},ae:function(a,b,c,d,e,f,g){if(this._q.p){var h;var i;if(a&&b){if(c){h=this.v(g.o,0,d,g.ae,f,g.i,true);i=$$t.$je.c(h).d(g.u,e,g.ac,1);i.az(0);i.ac($.ig.truncate($$t.$b1.r(1)));g.b.af().add(i)}h=this.v(g.o,0,d+1,g.ae,f,g.i,true);i=$$t.$je.c(h).d(g.u,e,g.ac,1);i.az(2);i.ac($.ig.truncate($$t.$b1.r(1)));g.b.af().add(i)}}},ab:function(a,b){if(a.ai()){return $.ig.Date.prototype.addDays(b,7)}else if(a.am()){return $.ig.Date.prototype.addDays(b,-7)}else{return b}},af:function(a,b,c,d){for(var e=0;e<c.ab;e++){if(false==this._q.o&&c.n>c.r){break}var f=e==0;var g=true==this._q.l&&e==1;var h=e==c.u;var i=e==c.ab-1;var j=e>=c.u;this.ac(j,h,e,b,c);var k=this._d._a8().firstDayOfWeekResolved();for(var l=0;l<c.z;l++){var m=this._q.q&&l==0;var n=this._q.q?l-1:l;var o=$$t.$cv.b(k,n);var p=l==c.t;var q=l>=c.t;this.ae(j,q,p,o,l,b,c);if(f){if(l==0&&c.c._a8>0){var r=this.r(c.o,b,c.h);var s=$$t.$je.c(r).d(e,l,1,c.z);s.a4(0);s.ab(d.ar());c.b.af().add(s);var t=this.u(c.o,b,c.h);var u=$$t.$je.c(t).d(e,l,1,c.z);u.f(d._ap);u.ab(d._ao);u.a4(2);c.b.af().add(u)}l+=c.z;continue}if(g){if(m){continue}var v=this.p(c.o,o,c.a,b,c.h);c.b.af().add($$t.$je.c(v).d(e,l,1,1))}else{if(m){var w=c.b.ay(e,l);var x=this.s(c.o,c.ad,b,c.h,w.width(),w.height());c.b.af().add($$t.$je.c(x).d(e,l,1,1));c.ad++;continue}if(h&&l<c.s&&false==this._q.n){continue}this.ad(e,l,b,c,d);c.n=$.ig.Date.prototype.addDays(c.n,1);if(false==this._q.o){if(c.n>c.r){break}}}}}c.b.ax(true);var y;if(c.m){y=new $$a.ae(1,0,c.x,c.b.a1())}else{y=new $$a.ae(1,c.w,0,c.b.a1())}this.ah(c.b,y,b)},aa:function(a,b){var d=a.getEnumerator();while(d.moveNext()){var c=d.current();if(c._isSameAs1(b)){return true}}return false},ag:function(a,b,c){var d=a.ar();var f=d.getEnumerator();while(f.moveNext()){var e=f.current();e.g(true);var g=e._o.count();for(var h=0;h<g;h++){if(e._p.__inner[h]){continue}var i=e._o.__inner[h];if(i.ak()){continue}var j=true;if(c!=a.e()._q){j=false}else if(i.ah()&&false==this._q.m){j=false}else if(i.an()&&false==this._q.p){j=false}else if(i.ai()&&false==this._q.n){j=false}else if(i.am()&&false==this._q.o){j=false}else if(i.p()==7&&false==this._q.q){j=false}else if(i.p()==2&&i.r()==11&&false==this._q.l){j=false}else if(i.p()==2&&i.r()==14&&this._d._o9()==1){j=false}else if(i.p()==5&&i.r()==17&&this._d._pg()==1){j=false}else if(i.p()==6&&i.r()==16&&this._d.monthViewDayContentDisplayMode()!=1){j=false}else if(i.p()==6&&i.r()==16&&false==$$t.$b1.f($$t.$ea.x(this._d),a._br)){j=false}else if(i.p()==5&&i.r()==4&&this._d.monthViewDayContentDisplayMode()!=0){j=false}else if(this._d.__en!=a._b0||this._d.__eq!=a._b2){if(i.r()==4||i.r()==16){j=false}}if(j){var k=i.c();if(null!=i.b()&&null==i.c()){j=false}else if(null!=k){if(null==k._l()||k._l()!=this._d.dataSource()){j=false}}}if(j){if(null!=i.c()&&$$a.$af.l_op_Inequality(a._b6,a.e()._bk)){j=false}}if(j&&this._d.navigationHeaderVisibility()==1&&(i.r()==52||i.r()==57||i.r()==53||i.r()==55||i.r()==54)){j=false}if(j){var l;if(i.ay()==0){l=$.ig.Date.prototype.fromValues(i.a3(),i.a1(),1,0,0,0,0)}else{l=$.ig.Date.prototype.fromValues(i.a3(),i.a1(),i.ay(),0,0,0,0)}l=this.ab(i,l);if(l<this._q.w){j=false}else if(l>this._q.y){j=false}else if(false==i.ai()&&false==i.am()&&(l>this._q.x||l<a._bt)){j=false}else if(i.aj()||i.ao()||i.af()){j=l<=a._by}else if(i.r()==4||i.r()==16){if(null!=this._q.d&&this._q.d.count()>0){var m=$$t.$b1.u(l);if(false==this._q.d.containsKey(m)){j=false}else{var n=i.c();if(null==n){j=false}else if(false==this.aa(this._q.d.item(m),n)){j=false}}}else{j=false}}}if(false==j){b.i(i,a)}else{}}e.g(false)}},p:function(a,b,c,d,e){var f=11;var g=b;var h=new $$t.b5(6,2,f,a.getFullYear(),$.ig.Date.prototype.getMonth(a),b);var i=$b($$t.$fj.$type,this.c(this._d,d,h,e,"dayofweekheader",g));i.dg(c[b].toUpperCase());i.e(1);i.db($$t.$ea.ez(this._d));i.dd($$t.$ea.e0(this._d));i.b($$t.$ea.z(this._d));i.t(f);i._bs=g;return i},r:function(a,b,c){var d=14;var e=null;var f=new $$t.b5(2,2,d,a.getFullYear(),$.ig.Date.prototype.getMonth(a));var g=$b($$t.$ew.$type,this.c(this._d,b,f,c,"monthname",e));g.dg(b.e().w(a));g.b($$t.$ea.ab(this._d));g.e(0);g.g(0);var h=$$t.$ea.gz(this._d);g.bh($.ig.truncate(h._c));g.bj($.ig.truncate(h._e));g.bi($.ig.truncate(h._d));g.bg($.ig.truncate(h._b));g.db($$t.$ea.e4(this._d));g.dd($$t.$ea.e6(this._d));g.t(d);g._bs=e;return g},s:function(a,b,c,d,e,f){var g=15;var h=b;var i=new $$t.b5(3,7,g,a.getFullYear(),$.ig.Date.prototype.getMonth(a),b);var j=$b($$t.$ez.$type,this.c(this._d,c,i,d,"monthweeknumber",h));j.dg(b.toString());j.g(1);j.e(0);j.db($$t.$ea.ff(this._d));j.dd($$t.$ea.fg(this._d));j.t(g);j._bs=h;j.b($$t.$ea.ae(this._d));return j},t:function(a,b,c,d){var e=4;var f=a.getDate();var g=d._t()?d.recurrenceRoot():d;var h=new $$t.b5(5,5,e,a.getFullYear(),$.ig.Date.prototype.getMonth(a),a.getDate(),false,false,g,d.originalStart().getTime());var i=$b($$t.$fa.$type,this.c(this._d,b,h,c,"shape",f));i.dg(0);i.ds(d._bv()==null?$$t.$ea.ex(this._d):d._bv());i.e(1);i.g(1);i.t(e);i._bs=f;return i},u:function(a,b,c){var d=17;var e=null;var f=new $$t.b5(2,5,d,a.getFullYear(),$.ig.Date.prototype.getMonth(a));var g=$b($$t.$fa.$type,this.c(this._d,b,f,c,"shape",e));g.dg(0);g.ds($$t.$ea.e5(this._d));g.t(d);g._bs=null;return g},v:function(a,b,c,d,e,f,g){var h=g?13:12;var i=null;var j=new $$t.b5(7,5,h,a.getFullYear(),$.ig.Date.prototype.getMonth(a),c,b);var k=$b($$t.$fa.$type,this.c(this._d,e,j,f,"shape",i));k.dg(0);k.ds(d);k.t(h);k._bs=null;return k},w:function(a,b,c){var d=9;var e=null;var f=new $$t.b5(4,5,d,a.getFullYear(),$.ig.Date.prototype.getMonth(a),a.getDate(),false,false);var g=$b($$t.$fa.$type,this.c(this._d,b,f,c,"shape",e));g.dg(1);g.ds($$t.$ea.fb(this._d));g.e(1);g.t(d);g._bs=e;return g},x:function(a,b,c,d,e){var f=16;var g=b.getDate();var h=a._t()?a.recurrenceRoot():a;var i=new $$t.b5(5,6,f,b.getFullYear(),$.ig.Date.prototype.getMonth(b),b.getDate(),false,false,h,a.originalStart().getTime());var j=$b($$t.$fe.$type,this.c(this._d,c,i,d,"text",g));j.dg(a.subject());j.e(0);j.bh($.ig.truncate(e._c));j.bj($.ig.truncate(e._e));j.bi($.ig.truncate(e._d));j.bg($.ig.truncate(e._b));j.db(a._bv()==null?$$t.$ea.ex(this._d):a._bv());j.dd($$t.$b2.b().y(j.db()));j.t(f);j._bs=g;j.b($$t.$ea.x(this._d));j.k(3);return j},y:function(a,b,c,d,e,f,g){var h=b?6:c?10:e?8:5;var i=a.getDate();var j=new $$t.b5(4,6,h,a.getFullYear(),$.ig.Date.prototype.getMonth(a),a.getDate(),b,c);var k=$b($$t.$fe.$type,this.c(this._d,f,j,g,"text",i));k.dg(a.getDate().toString());k.e(1);k.db($$t.$b2.b().ah());k.t(h);k._bs=i;k.ai(d);if(b){k.dd($$t.$ea.e3(this._d));k.b($$t.$ea.aa(this._d))}else if(c){k.dd($$t.$ea.fe(this._d));k.b($$t.$ea.ad(this._d))}else{if(e){k.dd($$t.$ea.fc(this._d))}else if(d){k.dd($$t.$ea.e9(this._d))}else{k.dd($$t.$ea.e1(this._d))}k.b($$t.$ea.y(this._d))}return k},z:function(a,b,c,d,e,f,g,h){var i=b?6:c?10:e?8:5;var j=a.getDate();var k=new $$t.b5(4,1,i,a.getFullYear(),$.ig.Date.prototype.getMonth(a),a.getDate(),b,c);var l=$b($$t.$fh.$type,this.c(this._d,g,k,h,"timeslot",j));l.g(1);l.e(1);l.dr($$t.$b1.p(a));l.dq($$t.$b1.m(a));l.dj(f);l.dk(b);l.dl(e);l.dm(c);l.ai(b||c?false:d);l.t(i);l._bs=j;if(b){l.db($$t.$ea.e2(this._d))}else if(c){l.db($$t.$ea.fd(this._d))}else if(d){l.db($$t.$ea.e8(this._d))}else{l.db($$t.$ea.ey(this._d))}return l},ah:function(a,b,c){var d=a.af();var f=d.getEnumerator();while(f.moveNext()){var e=f.current();var g=e._a0;var h=g.left()+b.left();var i=g.top()+b.top();if($b($$t.$i9.$type,e.item())!==null){this.ah($b($$t.$i9.$type,e.item()),new $$a.ae(1,h,i,$.ig.RectUtil.prototype.z(g)),c);continue}var j=$b($$t.$fl.$type,e.item());this.n(j,this._d,c,h,i,g.width(),g.height())}},ai:function(){this._q.d=new $$4.h(String,$$4.$x.$type.specialize($$t.$z.$type),0);if(null!=this._d.dataSource()){this._d.dataSource()._ay(new $$t.a(this._q.w,this._q.y),null,this.o.runOn(this))}},aj:function(a){this._q.ad(this._q.ab()+a.d._b)},ak:function(a,b,c,d){d._bt=a;d._bz=b;d._by=a;d._b4=b+c.aj(a)._b;d._b5=0;var e=b;var f=a;var g=0;if(this._q.v){g=this._q.e}else{g=this._q.g}while(e<g&&f<=d._at){d._b5++;d._by=f;d._b4=e+c.aj(f)._b;e=d._b4;f=$.ig.Date.prototype.addMonths(f,1);if(f>c.aw()){break}}},$type:new $.ig.Type("VisibilityEngineMonthView",$$t.$d5.$type)},true);$c("SchedulerDefaultThemeInfo:ea","Object",{init:function(){$.ig.$op.init.call(this)},cg:function(){$$t.$ea.ah=function(){var $ret=new $.ig.FontInfo;$ret.n("Verdana");$ret.d($$t.$b1.q(7));return $ret}();$$t.$ea.ai=function(){var $ret=new $.ig.FontInfo;$ret.n("Verdana");$ret.d($$t.$b1.q(18));return $ret}();$$t.$ea.aj=function(){var $ret=new $.ig.FontInfo;$ret.n("Verdana");$ret.d($$t.$b1.q(14));$ret.s("Bold");return $ret}();$$t.$ea.al=function(){var $ret=new $.ig.FontInfo;$ret.n("Verdana");$ret.d($$t.$b1.q(22));return $ret}();$$t.$ea.ao=function(){var $ret=new $.ig.FontInfo;$ret.n("Verdana");$ret.d($$t.$b1.q(12));return $ret}();$$t.$ea.ak=function(){var $ret=new $.ig.FontInfo;$ret.n("Verdana");$ret.d($$t.$b1.q(18));return $ret}();$$t.$ea.an=function(){var $ret=new $.ig.FontInfo;$ret.n("Verdana");$ret.d($$t.$b1.q(18));return $ret}();$$t.$ea.am=function(){var $ret=new $.ig.FontInfo;$ret.n("Verdana");$ret.d($$t.$b1.q(22));return $ret}();$$t.$ea.e=function(){var $ret=new $.ig.FontInfo;$ret.n("Verdana");$ret.d($$t.$b1.q(22));return $ret}();$$t.$ea.a=function(){var $ret=new $.ig.FontInfo;$ret.n("Verdana");$ret.d($$t.$b1.q(15));return $ret}();$$t.$ea.c=function(){var $ret=new $.ig.FontInfo;$ret.n("Verdana");$ret.d($$t.$b1.q(15));return $ret}();$$t.$ea.d=function(){var $ret=new $.ig.FontInfo;$ret.n("Verdana");$ret.d($$t.$b1.q(18));return $ret}();$$t.$ea.b=function(){var $ret=new $.ig.FontInfo;$ret.n("Verdana");$ret.d($$t.$b1.q(18));return $ret}();$$t.$ea.f=function(){var $ret=new $.ig.FontInfo;$ret.n("Verdana");$ret.d($$t.$b1.q(22));return $ret}();$$t.$ea.aq=function(){var $ret=new $.ig.FontInfo;$ret.n("Verdana");$ret.d($$t.$b1.q(12));return $ret}();$$t.$ea.h=function(){var $ret=new $.ig.FontInfo;$ret.n("Verdana");$ret.d($$t.$b1.q(12));return $ret}();$$t.$ea.ap=function(){var $ret=new $.ig.FontInfo;$ret.n("Verdana");$ret.d($$t.$b1.q(12));return $ret}();$$t.$ea.j=function(){var $ret=new $.ig.FontInfo;$ret.n("Verdana");$ret.d($$t.$b1.q(10));$ret.s("Bold");return $ret}();$$t.$ea.i=function(){var $ret=new $.ig.FontInfo;$ret.n("Verdana");$ret.d($$t.$b1.q(9));return $ret}();$$t.$ea.g=function(){var $ret=new $.ig.FontInfo;$ret.n("Verdana");$ret.d($$t.$b1.q(10));return $ret}();$$t.$ea.k=function(){var $ret=new $.ig.FontInfo;$ret.n("Verdana");$ret.d($$t.$b1.q(22));return $ret}();$$t.$ea.l=function(){var $ret=new $.ig.FontInfo;$ret.n("Verdana");$ret.d($$t.$b1.q(22*1.6));return $ret}();$$t.$ea.fx=$$t.$ea.cy;$$t.$ea.f0=$$t.$ea.cl;$$t.$ea.fy=$$t.$ea.cy;$$t.$ea.fz=$$t.$ea.cp;$$t.$ea.f3=$$t.$ea.cy;$$t.$ea.f5=$$t.$ea.cl;$$t.$ea.f7=$$t.$ea.ct;$$t.$ea.f8=$$t.$ea.cl;$$t.$ea.ge=$$t.$ea.cy;$$t.$ea.gf=$$t.$ea.cr;$$t.$ea.f1=$$t.$ea.cy;$$t.$ea.f2=$$t.$ea.cm;$$t.$ea.gc=$$t.$ea.cy;$$t.$ea.gd=$$t.$ea.cm;$$t.$ea.f9=$$t.$ea.cm;$$t.$ea.fw=$$t.$ea.cs;$$t.$ea.ga=$$t.$ea.cy;$$t.$ea.gb=$$t.$ea.ch;$$t.$ea.fv=$$t.$ea.cy;$$t.$ea.f4=$$t.$ea.cu;$$t.$ea.dh=$$t.$ea.cy;$$t.$ea.dj=$$t.$ea.cl;$$t.$ea.cz=$$t.$ea.cy;$$t.$ea.c2=$$t.$ea.co;$$t.$ea.c0=$$t.$ea.ct;$$t.$ea.c1=$$t.$ea.co;$$t.$ea.c8=$$t.$ea.cy;$$t.$ea.db=$$t.$ea.ck;$$t.$ea.c9=$$t.$ea.ct;$$t.$ea.da=$$t.$ea.ck;$$t.$ea.dc=$$t.$ea.cy;$$t.$ea.df=$$t.$ea.ck;$$t.$ea.dd=$$t.$ea.ct;$$t.$ea.de=$$t.$ea.ck;$$t.$ea.c3=$$t.$ea.cy;$$t.$ea.c6=$$t.$ea.co;$$t.$ea.c4=$$t.$ea.ct;$$t.$ea.c5=$$t.$ea.co;$$t.$ea.c7=$$t.$ea.cv;$$t.$ea.di=$$t.$ea.cu;$$t.$ea.dg=$$t.$ea.cy;$$t.$ea.dk=$$t.$ea.cn;$$t.$ea.dw=$$t.$ea.cy;$$t.$ea.ds=$$t.$ea.cy;$$t.$ea.du=$$t.$ea.cy;$$t.$ea.dr=$$t.$ea.cs;$$t.$ea.dv=$$t.$ea.ck;$$t.$ea.dt=$$t.$ea.co;$$t.$ea.gt=$$t.$ea.cy;$$t.$ea.dp=$$t.$ea.cy;$$t.$ea.dq=$$t.$ea.cp;$$t.$ea.gi=$$t.$ea.cy;$$t.$ea.gj=$$t.$ea.cp;$$t.$ea.gm=$$t.$ea.cs;$$t.$ea.go=$$t.$ea.cu;$$t.$ea.gn=$$t.$ea.cs;$$t.$ea.gp=$$t.$ea.cu;$$t.$ea.gk=$$t.$ea.cy;$$t.$ea.gl=$$t.$ea.co;$$t.$ea.gq=$$t.$ea.cv;$$t.$ea.gs=$$t.$ea.cq;$$t.$ea.gr=$$t.$ea.cs;$$t.$ea.dm=$$t.$ea.cs;$$t.$ea.dn=$$t.$ea.ck;$$t.$ea.dl=$$t.$ea.cv;$$t.$ea.gg=$$t.$ea.cy;$$t.$ea.gh=$$t.$ea.cu;$$t.$ea.dx=$$t.$ea.cl;$$t.$ea.f6=$$t.$ea.cl;$$t.$ea.g1=$$t.$b1.y(new $$a.ah(1,15,6,3,2));$$t.$ea.g0=$$t.$b1.y(new $$a.ah(1,0,0,0,8));$$t.$ea.gu=$$t.$b1.y(new $$a.ah(1,0,8,0,8));$$t.$ea.gv=$$t.$b1.y(new $$a.ah(1,15,4,3,14))},ey:function(a){return null==a.monthViewDayBackgroundBrush()?$$t.$ea.fx:a.monthViewDayBackgroundBrush()},e1:function(a){return null==a.monthViewDayTextBrush()?$$t.$ea.f0:a.monthViewDayTextBrush()},ez:function(a){return null==a.monthViewDayOfWeekHeaderBackgroundBrush()?$$t.$ea.fy:a.monthViewDayOfWeekHeaderBackgroundBrush()},e0:function(a){return null==a.monthViewDayOfWeekHeaderTextBrush()?$$t.$ea.fz:a.monthViewDayOfWeekHeaderTextBrush()},e4:function(a){return null==a.monthViewNameBackgroundBrush()?$$t.$ea.f3:a.monthViewNameBackgroundBrush()},e6:function(a){return null==a.monthViewNameTextBrush()?$$t.$ea.f5:a.monthViewNameTextBrush()},e8:function(a){return null==a.monthViewSelectedDayBackgroundBrush()?$$t.$ea.f7:a.monthViewSelectedDayBackgroundBrush()},e9:function(a){return null==a.monthViewSelectedDayTextBrush()?$$t.$ea.f8:a.monthViewSelectedDayTextBrush()},ff:function(a){return null==a.monthViewWeekNumberBackgroundBrush()?$$t.$ea.ge:a.monthViewWeekNumberBackgroundBrush()},fg:function(a){return null==a.monthViewWeekNumberTextBrush()?$$t.$ea.gf:a.monthViewWeekNumberTextBrush()},e2:function(a){return null==a.monthViewLeadingDayBackgroundBrush()?$$t.$ea.f1:a.monthViewLeadingDayBackgroundBrush()},e3:function(a){return null==a.monthViewLeadingDayTextBrush()?$$t.$ea.f2:a.monthViewLeadingDayTextBrush()},fd:function(a){return null==a.monthViewTrailingDayBackgroundBrush()?$$t.$ea.gc:a.monthViewTrailingDayBackgroundBrush()},fe:function(a){return null==a.monthViewTrailingDayTextBrush()?$$t.$ea.gd:a.monthViewTrailingDayTextBrush()},fa:function(a){return null==a.monthViewSeparatorLineBrush()?$$t.$ea.f9:a.monthViewSeparatorLineBrush()},ex:function(a){return null==a.monthViewDayActivityIndicatorBrush()?$$t.$ea.fw:a.monthViewDayActivityIndicatorBrush()},fb:function(a){return null==a.monthViewTodayHighlightBrush()?$$t.$ea.ga:a.monthViewTodayHighlightBrush()},fc:function(a){return null==a.monthViewTodayTextBrush()?$$t.$ea.gb:a.monthViewTodayTextBrush()},ew:function(a){return null==a.monthViewBackgroundBrush()?$$t.$ea.fv:a.monthViewBackgroundBrush()},e5:function(a){return null==a.monthViewNameSeparatorLineBrush()?$$t.$ea.f4:a.monthViewNameSeparatorLineBrush()},eg:function(a){return null==a.agendaViewDayHeaderBackgroundBrush()?$$t.$ea.dh:a.agendaViewDayHeaderBackgroundBrush()},ei:function(a){return null==a.agendaViewDayHeaderTextBrush()?$$t.$ea.dj:a.agendaViewDayHeaderTextBrush()},dy:function(a){return null==a.agendaViewAppointmentEndTimeBackgroundBrush()?$$t.$ea.cz:a.agendaViewAppointmentEndTimeBackgroundBrush()},d1:function(a){return null==a.agendaViewAppointmentEndTimeTextBrush()?$$t.$ea.c2:a.agendaViewAppointmentEndTimeTextBrush()},dz:function(a){return null==a.agendaViewAppointmentEndTimeSelectedBackgroundBrush()?$$t.$ea.c0:a.agendaViewAppointmentEndTimeSelectedBackgroundBrush()},d0:function(a){return null==a.agendaViewAppointmentEndTimeSelectedTextBrush()?$$t.$ea.c1:a.agendaViewAppointmentEndTimeSelectedTextBrush()},d7:function(a){return null==a.agendaViewAppointmentStartTimeBackgroundBrush()?$$t.$ea.c8:a.agendaViewAppointmentStartTimeBackgroundBrush()},ea:function(a){return null==a.agendaViewAppointmentStartTimeTextBrush()?$$t.$ea.db:a.agendaViewAppointmentStartTimeTextBrush()},d8:function(a){return null==a.agendaViewAppointmentStartTimeSelectedBackgroundBrush()?$$t.$ea.c9:a.agendaViewAppointmentStartTimeSelectedBackgroundBrush()},d9:function(a){return null==a.agendaViewAppointmentStartTimeSelectedTextBrush()?$$t.$ea.da:a.agendaViewAppointmentStartTimeSelectedTextBrush()},eb:function(a){return null==a.agendaViewAppointmentSubjectBackgroundBrush()?$$t.$ea.dc:a.agendaViewAppointmentSubjectBackgroundBrush()},ee:function(a){return null==a.agendaViewAppointmentSubjectTextBrush()?$$t.$ea.df:a.agendaViewAppointmentSubjectTextBrush()},ec:function(a){return null==a.agendaViewAppointmentSubjectSelectedBackgroundBrush()?$$t.$ea.dd:a.agendaViewAppointmentSubjectSelectedBackgroundBrush()},ed:function(a){return null==a.agendaViewAppointmentSubjectSelectedTextBrush()?$$t.$ea.de:a.agendaViewAppointmentSubjectSelectedTextBrush()},d2:function(a){return null==a.agendaViewAppointmentLocationBackgroundBrush()?$$t.$ea.c3:a.agendaViewAppointmentLocationBackgroundBrush()},d5:function(a){return null==a.agendaViewAppointmentLocationTextBrush()?$$t.$ea.c6:a.agendaViewAppointmentLocationTextBrush()},d3:function(a){return null==a.agendaViewAppointmentLocationSelectedBackgroundBrush()?$$t.$ea.c4:a.agendaViewAppointmentLocationSelectedBackgroundBrush()},d4:function(a){return null==a.agendaViewAppointmentLocationSelectedTextBrush()?$$t.$ea.c5:a.agendaViewAppointmentLocationSelectedTextBrush()},d6:function(a){return null==a.agendaViewAppointmentSeparatorLineBrush()?$$t.$ea.c7:a.agendaViewAppointmentSeparatorLineBrush()},eh:function(a){return null==a.agendaViewDayHeaderSeparatorLineBrush()?$$t.$ea.di:a.agendaViewDayHeaderSeparatorLineBrush()},ef:function(a){return null==a.agendaViewBackgroundBrush()?$$t.$ea.dg:a.agendaViewBackgroundBrush()},ej:function(a){return null==a.agendaViewMessageTextBrush()?$$t.$ea.dk:a.agendaViewMessageTextBrush()},eu:function(a){return null==a.dayViewBackgroundBrush()?$$t.$ea.dw:a.dayViewBackgroundBrush()},ep:function(a){return null==a.dayViewAppointmentBackgroundBrush()?$$t.$ea.dr:a.dayViewAppointmentBackgroundBrush()},es:function(a){return null==a.dayViewAppointmentSubjectBackgroundBrush()?$$t.$ea.du:a.dayViewAppointmentSubjectBackgroundBrush()},eq:function(a){return null==a.dayViewAppointmentLocationBackgroundBrush()?$$t.$ea.ds:a.dayViewAppointmentLocationBackgroundBrush()},et:function(a){return null==a.dayViewAppointmentSubjectTextBrush()?$$t.$ea.dv:a.dayViewAppointmentSubjectTextBrush()},er:function(a){return null==a.dayViewAppointmentLocationTextBrush()?$$t.$ea.dt:a.dayViewAppointmentLocationTextBrush()},fu:function(a){return null==a.weekViewBackgroundBrush()?$$t.$ea.gt:a.weekViewBackgroundBrush()},en:function(a){return null==a.dayHeaderBackgroundBrush()?$$t.$ea.dp:a.dayHeaderBackgroundBrush()},eo:function(a){return null==a.dayHeaderTextBrush()?$$t.$ea.dq:a.dayHeaderTextBrush()},fj:function(a){return null==a.resourceHeaderBackgroundBrush()?$$t.$ea.gi:a.resourceHeaderBackgroundBrush()},fk:function(a){return null==a.resourceHeaderTextBrush()?$$t.$ea.gj:a.resourceHeaderTextBrush()},fn:function(a){return null==a.timeSlotMajorHorizontalSeparatorBrush()?$$t.$ea.gm:a.timeSlotMajorHorizontalSeparatorBrush()},fp:function(a){return null==a.timeSlotMinorHorizontalSeparatorBrush()?$$t.$ea.go:a.timeSlotMinorHorizontalSeparatorBrush()},fo:function(a){return null==a.timeSlotMajorVerticalSeparatorBrush()?$$t.$ea.gn:a.timeSlotMajorVerticalSeparatorBrush()},fq:function(a){return null==a.timeSlotMinorVerticalSeparatorBrush()?$$t.$ea.gp:a.timeSlotMinorVerticalSeparatorBrush()},fm:function(a){return null==a.timeSlotDescriptorTextBrush()?$$t.$ea.gl:a.timeSlotDescriptorTextBrush()},fl:function(a){return null==a.timeSlotDescriptorBackgroundBrush()?$$t.$ea.gk:a.timeSlotDescriptorBackgroundBrush()},fr:function(a){return null==a.timeSlotNonWorkingHourBackgroundBrush()?$$t.$ea.gq:a.timeSlotNonWorkingHourBackgroundBrush()},ft:function(a){return null==a.timeSlotWorkingHourBackgroundBrush()?$$t.$ea.gs:a.timeSlotWorkingHourBackgroundBrush()},fs:function(a){return null==a.timeSlotSelectedBackgroundBrush()?$$t.$ea.gr:a.timeSlotSelectedBackgroundBrush()},el:function(a){return null==a.allDayEventBackgroundBrush()?$$t.$ea.dm:a.allDayEventBackgroundBrush()},ek:function(a){return null==a.allDayEventAreaBackgroundBrush()?$$t.$ea.dl:a.allDayEventAreaBackgroundBrush()},em:function(a){return null==a.allDayEventTextBrush()?$$t.$ea.dn:a.allDayEventTextBrush()},fh:function(a){return null==a.navigationHeaderBackgroundBrush()?$$t.$ea.gg:a.navigationHeaderBackgroundBrush()},fi:function(a){return null==a.navigationHeaderBorderBrush()?$$t.$ea.gh:a.navigationHeaderBorderBrush()},ev:function(a){return null==a.dayViewNavigationHeaderDateTextBrush()?$$t.$ea.dx:a.dayViewNavigationHeaderDateTextBrush()},e7:function(a){return null==a.monthViewNavigationHeaderDateTextBrush()?$$t.$ea.f6:a.monthViewNavigationHeaderDateTextBrush()},y:function(a){return null==a.monthViewDayFontInfo()?$$t.$ea.ai:a.monthViewDayFontInfo()},z:function(a){return null==a.monthViewDayOfWeekHeaderFontInfo()?$$t.$ea.aj:a.monthViewDayOfWeekHeaderFontInfo()},ab:function(a){return null==a.monthViewNameFontInfo()?$$t.$ea.al:a.monthViewNameFontInfo()},ae:function(a){return null==a.monthViewWeekNumberFontInfo()?$$t.$ea.ao:a.monthViewWeekNumberFontInfo()},aa:function(a){return null==a.monthViewLeadingDayFontInfo()?$$t.$ea.ak:a.monthViewLeadingDayFontInfo()},ad:function(a){return null==a.monthViewTrailingDayFontInfo()?$$t.$ea.an:a.monthViewTrailingDayFontInfo()},x:function(a){return null==a.monthViewAppointmentFontInfo()?$$t.$ea.ah:a.monthViewAppointmentFontInfo()},q:function(a){return null==a.agendaViewDayHeaderFontInfo()?$$t.$ea.e:a.agendaViewDayHeaderFontInfo()},m:function(a){return null==a.agendaViewAppointmentEndTimeFontInfo()?$$t.$ea.a:a.agendaViewAppointmentEndTimeFontInfo()},o:function(a){return null==a.agendaViewAppointmentStartTimeFontInfo()?$$t.$ea.c:a.agendaViewAppointmentStartTimeFontInfo()},p:function(a){return null==a.agendaViewAppointmentSubjectFontInfo()?$$t.$ea.d:a.agendaViewAppointmentSubjectFontInfo()},n:function(a){return null==a.agendaViewAppointmentLocationFontInfo()?$$t.$ea.b:a.agendaViewAppointmentLocationFontInfo()},r:function(a){return null==a.agendaViewMessageFontInfo()?$$t.$ea.f:a.agendaViewMessageFontInfo()},ag:function(a){return null==a.timeSlotDescriptorFontInfo()?$$t.$ea.aq:a.timeSlotDescriptorFontInfo()},t:function(a){return null==a.dayHeaderFontInfo()?$$t.$ea.h:a.dayHeaderFontInfo()},af:function(a){return null==a.resourceHeaderFontInfo()?$$t.$ea.ap:a.resourceHeaderFontInfo()},v:function(a){return null==a.dayViewAppointmentSubjectFontInfo()?$$t.$ea.j:a.dayViewAppointmentSubjectFontInfo()},u:function(a){return null==a.dayViewAppointmentLocationFontInfo()?$$t.$ea.i:a.dayViewAppointmentLocationFontInfo()},s:function(a){return null==a.allDayEventFontInfo()?$$t.$ea.g:a.allDayEventFontInfo()},w:function(a,b){if(null==a.dayViewNavigationHeaderDateFontInfo()){if(b){return $$t.$ea.l}else{return $$t.$ea.k}}else{return a.dayViewNavigationHeaderDateFontInfo()}},ac:function(a){return null==a.monthViewNavigationHeaderDateFontInfo()?$$t.$ea.am:a.monthViewNavigationHeaderDateFontInfo()},gz:function(a){return null==a.monthViewNameMargin()?$$t.$ea.g1:a.monthViewNameMargin()},gy:function(a){return null==a.monthViewDayOfWeekHeaderMargin()?$$t.$ea.g0:a.monthViewDayOfWeekHeaderMargin()},gw:function(a){return null==a.agendaViewAppointmentMargin()?$$t.$ea.gu:a.agendaViewAppointmentMargin()},gx:function(a){return null==a.agendaViewDayHeaderMargin()?$$t.$ea.gv:a.agendaViewDayHeaderMargin()},$type:new $.ig.Type("SchedulerDefaultThemeInfo",$.ig.$ot)},true);$c("AgendaViewAppointmentInfo:eb","ValueType",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$0.$bh.init.call(this)},a:null,c:0,b:new Date,init1:function(a,b,c,d){$$0.$bh.init.call(this);this.a=b;this.c=c;this.b=d},$type:new $.ig.Type("AgendaViewAppointmentInfo",$$0.$bh.$type)},true);$c("ModelBase:fl","Object",{ak:null,am:null,init:function(a,b){this.ak=new $$4.h(String,$$0.$aq.$type,0);this.am=null;this.ap=1;this.u=null;this.d=0;this.aq=0;this.ar=0;this.j=0;this.a6=1;this.as=1;this.bo=null;this.a8=0;this.ba=0;this.a9=0;this.a7=0;this.bv="";this.au=0;this.av=0;this.f=1;$.ig.$op.init.call(this);this.o(0);this.q(a);this.b9(b);this.c4();this.db($$t.$b2.b().ai());this._c=5},cw:function(){this.cx()},cx:function(){this._ah=false;this._aj=false;this._ab=false;this._af=false;this._ac=false;this.ak.clear()},l:function(a){if(null==a){a=new $$t.fm}a.x(this.bl());a.y(this.bm());a.height(this.be());a.width(this.bk());a.selectedStatus(this.a1());a.isSelected(this.ai());a.horizontalAlignment(this.e());a.verticalAlignment(this.g());a.renderValue(this.ci());a.virtualizationPercentage(this.a4());a.role(this.t());if(this.b()!=null){if(this.b().n()!=null){a.fontFamily(this.b().n())}if(!$.ig.util.isNaN(this.b().d())){a.fontSize(this.b().d())}if(this.b().s()!=null){a.fontWeight(this.b().s())}if(this.b().q()!=null){a.fontStyle(this.b().q())}if(this.b().o()!=null){a.fontStretch(this.b().q())}}return a},cz:function(){if($$t.$fl.an==null){$$t.$fl.an=new $$4.h(String,$$0.$e.$type.specialize($$t.$fl.$type,$.ig.$op.$type),0);$$t.$fl.an.add("X",function(a,b){a.bl($h(b))});$$t.$fl.an.add("Y",function(a,b){a.bm($h(b))});$$t.$fl.an.add("ContentOpacity",function(a,b){a.ax(b)});$$t.$fl.an.add("ClipContents",function(a,b){a.y(b)});$$t.$fl.an.add("Opacity",function(a,b){a.a0(b)});$$t.$fl.an.add("LeftOffset",function(a,b){a.ay(b)});$$t.$fl.an.add("LeftPercentOffset",function(a,b){a.az(b)});$$t.$fl.an.add("TopOffset",function(a,b){a.a2(b)});$$t.$fl.an.add("TopPercentOffset",function(a,b){a.a3(b)});$$t.$fl.an.add("Height",function(a,b){a.be($h(b))});$$t.$fl.an.add("Width",function(a,b){a.bk($h(b))});$$t.$fl.an.add("ModelType",function(a,b){a.q($g(b))});$$t.$fl.an.add("Role",function(a,b){a.t($g(b))});$$t.$fl.an.add("LineBreakStyle",function(a,b){a.k($g(b))});$$t.$fl.an.add("MaxLines",function(a,b){a.bf($h(b))});$$t.$fl.an.add("HorizontalAlignment",function(a,b){a.e($g(b))});$$t.$fl.an.add("VerticalAlignment",function(a,b){a.g($g(b))});$$t.$fl.an.add("Background",function(a,b){a.db(b)});$$t.$fl.an.add("SelectedBackground",function(a,b){a.dc(b)});$$t.$fl.an.add("RenderValue",function(a,b){a.ci(b)});$$t.$fl.an.add("OriginalValue",function(a,b){a.br(b)});$$t.$fl.an.add("TextBrush",function(a,b){a.dd(b)});$$t.$fl.an.add("FontInfo",function(a,b){a.b(b)});$$t.$fl.an.add("VirtualizationPercentage",function(a,b){a.a4(b)});$$t.$fl.an.add("PaddingLeft",function(a,b){a.bh($h(b))});$$t.$fl.an.add("PaddingTop",function(a,b){a.bj($h(b))});$$t.$fl.an.add("PaddingRight",function(a,b){a.bi($h(b))});$$t.$fl.an.add("PaddingBottom",function(a,b){a.bg($h(b))})}},cy:function(){if($$t.$fl.al==null){$$t.$fl.al=new $$4.h(String,$$0.$z.$type.specialize($$t.$fl.$type,$.ig.$op.$type),0);$$t.$fl.al.add("X",function(a){return a.bl()});$$t.$fl.al.add("Y",function(a){return a.bm()});$$t.$fl.al.add("ContentOpacity",function(a){return a.ax()});$$t.$fl.al.add("ClipContents",function(a){
return a.y()});$$t.$fl.al.add("Opacity",function(a){return a.a0()});$$t.$fl.al.add("LeftOffset",function(a){return a.ay()});$$t.$fl.al.add("LeftPercentOffset",function(a){return a.az()});$$t.$fl.al.add("TopOffset",function(a){return a.a2()});$$t.$fl.al.add("TopPercentOffset",function(a){return a.a3()});$$t.$fl.al.add("Height",function(a){return a.be()});$$t.$fl.al.add("Width",function(a){return a.bk()});$$t.$fl.al.add("ModelType",function(a){return $$t.$c6.getBox(a.q())});$$t.$fl.al.add("Role",function(a){return $$t.$dd.getBox(a.t())});$$t.$fl.al.add("LineBreakStyle",function(a){return $$t.$c5.getBox(a.k())});$$t.$fl.al.add("MaxLines",function(a){return a.bf()});$$t.$fl.al.add("HorizontalAlignment",function(a){return $$t.$c0.getBox(a.e())});$$t.$fl.al.add("VerticalAlignment",function(a){return $$t.$c1.getBox(a.g())});$$t.$fl.al.add("Background",function(a){return a.db()});$$t.$fl.al.add("SelectedBackground",function(a){return a.dc()});$$t.$fl.al.add("RenderValue",function(a){return a.ci()});$$t.$fl.al.add("OriginalValue",function(a){return a.br()});$$t.$fl.al.add("TextBrush",function(a){return a.dd()});$$t.$fl.al.add("FontInfo",function(a){return a.b()});$$t.$fl.al.add("VirtualizationPercentage",function(a){return a.a4()});$$t.$fl.al.add("PaddingLeft",function(a){return a.bh()});$$t.$fl.al.add("PaddingTop",function(a){return a.bj()});$$t.$fl.al.add("PaddingRight",function(a){return a.bi()});$$t.$fl.al.add("PaddingBottom",function(a){return a.bg()})}},bp:function(a){if(this.ao().containsKey(a)){return this.ao().item(a)}return null},bq:function(a){this.cy();if($$t.$fl.al.containsKey(a)){return $$t.$fl.al.item(a)(this)}if(this.z(a)){return this.bp(a)}return null},z:function(a){return this.ao().containsKey(a)},aa:function(a){return a.startsWith("")},ad:function(a){var $self=this;var b=false;if(function(){var c=$self.ak.tryGetValue(a,b);b=c.p1;return c.ret}()){return b}return b},c0:function(a){this.ak.item(a,true)},c1:function(a,b,c){this.c0(a);this.c2(a,b,c);if(this._r!=null){this._r.refresh()}},c2:function(a,b,c){switch(a){case"State":this._ah=true;this._aj=true;this._ab=true;break;case"LeftOffset":case"TopOffset":case"LeftPercentOffset":case"TopPercentOffset":case"X":case"Y":this._ah=true;break;case"Width":case"Height":this._aj=true;break;default:this._ab=true;break}},c3:function(a){if(this.ao().containsKey(a)){this.ao().remove(a)}},c4:function(){this.c5()},c5:function(){this.ak.clear();if(this.ao()!=null){this.ao().clear()}this._ab=true;this._ah=true;this._aj=true;this._af=false},c6:function(a,b){var c=null;if(this.ao().containsKey(a)){c=this.ao().item(a)}this.ao().item(a,b);var d=false;if(c==null&&b!=null){d=true}if(c!=null){if(!c.equals(b)){d=true}}if(d){this.c0(a);this._ab=true;if(this._r!=null){this._r.refresh()}}},c7:function(a,b){this.cz();if($$t.$fl.an.containsKey(a)){$$t.$fl.an.item(a)(this,b)}else{this.c6(a,b)}},_h:null,c8:null,db:function(a){if(arguments.length===1){var b=this.c8;this.c8=a;if(this.c8!=b){this.c1("Background",b,this.c8)}return a}else{return this.c8}},w:false,y:function(a){if(arguments.length===1){var b=this.w;this.w=a;if(this.w!=b){this.c1("ClipContents",b,this.w)}return a}else{return this.w}},_c:0,ap:0,ax:function(a){if(arguments.length===1){var b=this.ap;this.ap=a;if(this.ap!=b){this.c1("ContentOpacity",b,this.ap)}return a}else{return this.ap}},u:null,v:function(a){if(arguments.length===1){var b=this.u;this.u=a;if(this.u!=b){this._af=true}return a}else{return this.u}},a:null,b:function(a){if(arguments.length===1){var b=this.a;this.a=a;if(this.a!=b){this.c1("FontInfo",b,this.a)}return a}else{return this.a}},a5:0,be:function(a){if(arguments.length===1){var b=this.a5;this.a5=a;if(this.a5!=b){this.c1("Height",b,this.a5)}return a}else{return this.a5}},d:0,e:function(a){if(arguments.length===1){var b=this.d;this.d=a;if(this.d!=b){this.c1("HorizontalAlignment",$$t.$c0.getBox(b),$$t.$c0.getBox(this.d))}return a}else{return this.d}},_ab:false,_ac:false,ae:function(){return false},_af:false,_ag:false,_ah:false,x:false,ai:function(a){if(arguments.length===1){var b=this.x;this.x=a;if(this.x!=b){this.c1("IsSelected",b,this.x)}return a}else{return this.x}},_aj:false,aq:0,ay:function(a){if(arguments.length===1){var b=this.aq;this.aq=a;if(this.aq!=b){this.c1("LeftOffset",b,this.aq)}return a}else{return this.aq}},ar:0,az:function(a){if(arguments.length===1){var b=this.ar;this.ar=a;if(this.ar!=b){this.c1("LeftPercentOffset",b,this.ar)}return a}else{return this.ar}},j:0,k:function(a){if(arguments.length===1){var b=this.j;this.j=a;if(this.j!=b){this.c1("LineBreakStyle",$$t.$c5.getBox(b),$$t.$c5.getBox(this.j))}return a}else{return this.j}},a6:0,bf:function(a){if(arguments.length===1){var b=this.a6;this.a6=a;if(this.a6!=b){this.c1("MaxLines",b,this.a6)}return a}else{return this.a6}},bu:null,b9:function(a){if(arguments.length===1){var b=this.bu;this.bu=a;if(this.bu!=b){this.c1("ModelKey",b,this.bu)}return a}else{return this.bu}},p:0,q:function(a){if(arguments.length===1){var b=this.p;this.p=a;if(this.p!=b){this.c1("ModelType",$$t.$c6.getBox(b),$$t.$c6.getBox(this.p))}return a}else{return this.p}},ao:function(){if(null==this.am){this.am=new $$4.h(String,$.ig.$op.$type,0)}return this.am},as:0,a0:function(a){if(arguments.length===1){var b=this.as;this.as=a;if(this.as!=b){this.c1("Opacity",b,this.as)}return a}else{return this.as}},bo:null,br:function(a){if(arguments.length===1){var b=this.bo;this.bo=a;if(this.bo!=b){this.c1("OriginalValue",b,this.bo)}return a}else{return this.bo}},_r:null,a8:0,bh:function(a){if(arguments.length===1){var b=this.a8;this.a8=a;if(this.a8!=b){this.c1("PaddingLeft",b,this.a8)}return a}else{return this.a8}},ba:0,bj:function(a){if(arguments.length===1){var b=this.ba;this.ba=a;if(this.ba!=b){this.c1("PaddingTop",b,this.ba)}return a}else{return this.ba}},a9:0,bi:function(a){if(arguments.length===1){var b=this.a9;this.a9=a;if(this.a9!=b){this.c1("PaddingRight",b,this.a9)}return a}else{return this.a9}},a7:0,bg:function(a){if(arguments.length===1){var b=this.a7;this.a7=a;if(this.a7!=b){this.c1("PaddingBottom",b,this.a7)}return a}else{return this.a7}},_m:null,_i:null,bv:null,ci:function(a){if(arguments.length===1){var b=this.bv;this.bv=a;if(this.bv!=b){this.c1("RenderValue",b,this.bv)}return a}else{return this.bv}},_bs:null,s:0,t:function(a){if(arguments.length===1){var b=this.s;this.s=a;if(this.s!=b){this.c1("Role",$$t.$dd.getBox(b),$$t.$dd.getBox(this.s))}return a}else{return this.s}},c9:null,dc:function(a){if(arguments.length===1){var b=this.c9;this.c9=a;if(this.c9!=b){this.c1("SelectedBackground",b,this.c9)}return a}else{return this.c9}},at:0,a1:function(a){if(arguments.length===1){var b=this.at;this.at=a;if(this.at!=b){this.c1("SelectedStatus",b,this.at)}return a}else{return this.at}},n:0,o:function(a){if(arguments.length===1){var b=this.n;this.n=a;if(this.n!=b){this.c1("State",$$t.$c7.getBox(b),$$t.$c7.getBox(this.n))}return a}else{return this.n}},_bt:null,da:null,dd:function(a){if(arguments.length===1){var b=this.da;this.da=a;if(this.da!=b){this.c1("TextBrush",b,this.da)}return a}else{return this.da}},au:0,a2:function(a){if(arguments.length===1){var b=this.au;this.au=a;if(this.au!=b){this.c1("TopOffset",b,this.au)}return a}else{return this.au}},av:0,a3:function(a){if(arguments.length===1){var b=this.av;this.av=a;if(this.av!=b){this.c1("TopPercentOffset",b,this.av)}return a}else{return this.av}},f:0,g:function(a){if(arguments.length===1){var b=this.f;this.f=a;if(this.f!=b){this.c1("VerticalAlignment",$$t.$c1.getBox(b),$$t.$c1.getBox(this.f))}return a}else{return this.f}},aw:0,a4:function(a){if(arguments.length===1){var b=this.aw;this.aw=a;if(this.aw!=b){this.c1("VirtualizationPercentage",b,this.aw)}return a}else{return this.aw}},bb:0,bk:function(a){if(arguments.length===1){var b=this.bb;this.bb=a;if(this.bb!=b){this.c1("Width",b,this.bb)}return a}else{return this.bb}},bc:0,bl:function(a){if(arguments.length===1){var b=this.bc;this.bc=a;if(this.bc!=b){this.c1("X",b,this.bc)}return a}else{return this.bc}},bd:0,bm:function(a){if(arguments.length===1){var b=this.bd;this.bd=a;if(this.bd!=b){this.c1("Y",b,this.bd)}return a}else{return this.bd}},_bn:0,$type:new $.ig.Type("ModelBase",$.ig.$ot)},true);$c("TextModel:fe","ModelBase",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}this.df="";$$t.$fl.init.call(this,6,"text")},init1:function(a,b,c){this.df="";$$t.$fl.init.call(this,b,c)},l:function(a){if(a==null){a=new $$t.ff}a=$$t.$fl.l.call(this,a);var b=a;b.text(this.dg());return b},bq:function(a){if(a=="Text"){return this.dg()}return $$t.$fl.bq.call(this,a)},ae:function(){switch(this.t()){case 31:case 46:case 16:case 55:case 54:return true}return false},c7:function(a,b){$$t.$fl.c7.call(this,a,b);if(a=="Text"){this.dg(b)}},df:null,dg:function(a){if(arguments.length===1){var b=this.df;this.df=a;if(this.df!=b){this.c1("Text",b,this.df)}return a}else{return this.df}},$type:new $.ig.Type("TextModel",$$t.$fl.$type)},true);$c("AgendaDayHeaderModel:ec","TextModel",{init:function(){$$t.$fe.init1.call(this,1,2,"agendadayheader")},l:function(a){if(a==null){a=new $$t.ed}a=$$t.$fe.l.call(this,a);var b=a;return b},ae:function(){return true},$type:new $.ig.Type("AgendaDayHeaderModel",$$t.$fe.$type)},true);$c("scheduler.ModelBaseExport:fm","Object",{init:function(){$.ig.$op.init.call(this)},_t:function(){var a=new $$6.aj(0);a.l("{ ");a.l('type : "'+this.type()+'", ');a.l("x : "+this.x()+", ");a.l("y : "+this.y()+", ");a.l("height : "+this.height()+", ");a.l("width : "+this.width()+", ");a.l("selectedStatus : "+this.selectedStatus()+", ");a.l("isSelected : '"+this.isSelected()+"', ");a.l("virtualizationPercentage : "+this.virtualizationPercentage()+", ");a.l("backgroundBrushData : "+this.backgroundBrushData().serialize()+", ");a.l("horizontalAlignment : "+this.horizontalAlignment()+", ");a.l("verticalAlignment : "+this.verticalAlignment()+", ");a.l("role : "+this.role()+", ");a.l('renderValue : "'+this.renderValue()+'", ');if(this.textColor()!=null){a.l("textColor : "+this.textColor().serialize()+", ")}if(!String.isNullOrEmpty(this.fontStyle())){a.l('fontStyle : "'+this.fontStyle()+'", ')}if(!String.isNullOrEmpty(this.fontVariant())){a.l('fontVariant : "'+this.fontVariant()+'", ')}if(!String.isNullOrEmpty(this.fontWeight())){a.l('fontWeight : "'+this.fontWeight()+'", ')}if(!String.isNullOrEmpty(this.fontFamily())){a.l('fontFamily : "'+this.fontFamily()+'", ')}if(!String.isNullOrEmpty(this.fontStretch())){a.l('fontStretch : "'+this.fontStretch()+'", ')}if(!$.ig.util.isNaN(this.fontSize())){a.l("fontSize : "+this.fontSize()+", ")}this.serializeOverride(a);var b=a.toString();if(b.endsWith(", ")){b=b.substr(0,b.length-2)}b+="} ";return b},serializeOverride:function(a){},_backgroundBrushData:null,backgroundBrushData:function(a){if(arguments.length===1){this._backgroundBrushData=a;return a}else{return this._backgroundBrushData}},_fontStyle:null,fontStyle:function(a){if(arguments.length===1){this._fontStyle=a;return a}else{return this._fontStyle}},_fontVariant:null,fontVariant:function(a){if(arguments.length===1){this._fontVariant=a;return a}else{return this._fontVariant}},_fontWeight:null,fontWeight:function(a){if(arguments.length===1){this._fontWeight=a;return a}else{return this._fontWeight}},_fontSize:0,fontSize:function(a){if(arguments.length===1){this._fontSize=a;return a}else{return this._fontSize}},_fontFamily:null,fontFamily:function(a){if(arguments.length===1){this._fontFamily=a;return a}else{return this._fontFamily}},_fontStretch:null,fontStretch:function(a){if(arguments.length===1){this._fontStretch=a;return a}else{return this._fontStretch}},_height:0,height:function(a){if(arguments.length===1){this._height=a;return a}else{return this._height}},_horizontalAlignment:0,horizontalAlignment:function(a){if(arguments.length===1){this._horizontalAlignment=a;return a}else{return this._horizontalAlignment}},_isSelected:false,isSelected:function(a){if(arguments.length===1){this._isSelected=a;return a}else{return this._isSelected}},_renderValue:null,renderValue:function(a){if(arguments.length===1){this._renderValue=a;return a}else{return this._renderValue}},_role:0,role:function(a){if(arguments.length===1){this._role=a;return a}else{return this._role}},_selectedStatus:0,selectedStatus:function(a){if(arguments.length===1){this._selectedStatus=a;return a}else{return this._selectedStatus}},_textColor:null,textColor:function(a){if(arguments.length===1){this._textColor=a;return a}else{return this._textColor}},type:function(){return"Model"},_verticalAlignment:0,verticalAlignment:function(a){if(arguments.length===1){this._verticalAlignment=a;return a}else{return this._verticalAlignment}},_virtualizationPercentage:0,virtualizationPercentage:function(a){if(arguments.length===1){this._virtualizationPercentage=a;return a}else{return this._virtualizationPercentage}},_width:0,width:function(a){if(arguments.length===1){this._width=a;return a}else{return this._width}},_x:0,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},_y:0,y:function(a){if(arguments.length===1){this._y=a;return a}else{return this._y}},$type:new $.ig.Type("scheduler.ModelBaseExport",$.ig.$ot)},true);$c("scheduler.TextModelExport:ff","scheduler.ModelBaseExport",{init:function(){$$t.$fm.init.call(this)},serializeOverride:function(a){$$t.$fm.serializeOverride.call(this,a);a.l('text : "'+this.text()+'", ')},type:function(){return"text"},_text:null,text:function(a){if(arguments.length===1){this._text=a;return a}else{return this._text}},$type:new $.ig.Type("scheduler.TextModelExport",$$t.$fm.$type)},true);$c("scheduler.AgendaDayHeaderModelExport:ed","scheduler.TextModelExport",{init:function(){$$t.$ff.init.call(this)},serializeOverride:function(a){$$t.$ff.serializeOverride.call(this,a)},type:function(){return"agendadayheader"},$type:new $.ig.Type("scheduler.AgendaDayHeaderModelExport",$$t.$ff.$type)},true);$c("AgendaDayHeaderModelFactory:ee","ModelFactoryBase",{init:function(){$$t.$b9.init.call(this,2,"agendadayheader")},a:function(a){return new $$t.ec},$type:new $.ig.Type("AgendaDayHeaderModelFactory",$$t.$b9.$type)},true);$c("AgendaApptEndTimeModel:ef","TextModel",{init:function(){$$t.$fe.init1.call(this,1,6,"agendaapptendtime")},l:function(a){if(a==null){a=new $$t.eg}a=$$t.$fe.l.call(this,a);var b=a;return b},$type:new $.ig.Type("AgendaApptEndTimeModel",$$t.$fe.$type)},true);$c("scheduler.AgendaApptEndTimeModelExport:eg","scheduler.TextModelExport",{init:function(){$$t.$ff.init.call(this)},serializeOverride:function(a){$$t.$ff.serializeOverride.call(this,a)},type:function(){return"agendaapptendtime"},$type:new $.ig.Type("scheduler.AgendaApptEndTimeModelExport",$$t.$ff.$type)},true);$c("AgendaApptEndTimeModelFactory:eh","ModelFactoryBase",{init:function(){$$t.$b9.init.call(this,6,"agendaapptendtime")},a:function(a){return new $$t.ef},$type:new $.ig.Type("AgendaApptEndTimeModelFactory",$$t.$b9.$type)},true);$c("AgendaApptSubjectModel:ei","TextModel",{init:function(){$$t.$fe.init1.call(this,1,2,"agendaapptsubject")},l:function(a){if(a==null){a=new $$t.ej}a=$$t.$fe.l.call(this,a);var b=a;return b},$type:new $.ig.Type("AgendaApptSubjectModel",$$t.$fe.$type)},true);$c("scheduler.AgendaApptSubjectModelExport:ej","scheduler.TextModelExport",{init:function(){$$t.$ff.init.call(this)},serializeOverride:function(a){$$t.$ff.serializeOverride.call(this,a)},type:function(){return"agendaapptsubject"},$type:new $.ig.Type("scheduler.AgendaApptSubjectModelExport",$$t.$ff.$type)},true);$c("AgendaApptSubjectModelFactory:ek","ModelFactoryBase",{init:function(){$$t.$b9.init.call(this,2,"agendaapptsubject")},a:function(a){return new $$t.ei},$type:new $.ig.Type("AgendaApptSubjectModelFactory",$$t.$b9.$type)},true);$c("AgendaApptLocationModel:el","TextModel",{init:function(){$$t.$fe.init1.call(this,1,2,"agendaapptlocation")},l:function(a){if(a==null){a=new $$t.em}a=$$t.$fe.l.call(this,a);var b=a;return b},$type:new $.ig.Type("AgendaApptLocationModel",$$t.$fe.$type)},true);$c("scheduler.AgendaApptLocationModelExport:em","scheduler.TextModelExport",{init:function(){$$t.$ff.init.call(this)},serializeOverride:function(a){$$t.$ff.serializeOverride.call(this,a)},type:function(){return"agendaapptlocation"},$type:new $.ig.Type("scheduler.AgendaApptLocationModelExport",$$t.$ff.$type)},true);$c("AgendaApptLocationModelFactory:en","ModelFactoryBase",{init:function(){$$t.$b9.init.call(this,2,"agendaapptlocation")},a:function(a){return new $$t.el},$type:new $.ig.Type("AgendaApptLocationModelFactory",$$t.$b9.$type)},true);$c("AgendaApptStartTimeModel:eo","TextModel",{init:function(){$$t.$fe.init1.call(this,1,6,"agendaapptstarttime")},l:function(a){if(a==null){a=new $$t.ep}a=$$t.$fe.l.call(this,a);var b=a;return b},$type:new $.ig.Type("AgendaApptStartTimeModel",$$t.$fe.$type)},true);$c("scheduler.AgendaApptStartTimeModelExport:ep","scheduler.TextModelExport",{init:function(){$$t.$ff.init.call(this)},serializeOverride:function(a){$$t.$ff.serializeOverride.call(this,a)},type:function(){return"agendaapptstarttime"},$type:new $.ig.Type("scheduler.AgendaApptStartTimeModelExport",$$t.$ff.$type)},true);$c("AgendaApptStartTimeModelFactory:eq","ModelFactoryBase",{init:function(){$$t.$b9.init.call(this,6,"agendaapptstarttime")},a:function(a){return new $$t.eo},$type:new $.ig.Type("AgendaApptStartTimeModelFactory",$$t.$b9.$type)},true);$c("VisualModel:fr","Object",{aq:null,m:null,g:null,o:null,h:null,j:null,n:null,l:null,k:null,p:null,i:null,d:null,as:new Date,aw:0,av:0,a7:0,an:null,a:null,init:function(a){$.ig.$op.init.call(this);this._f=a;this._bq=$$a.$ae.empty();this.an=new $$4.h(String,$$t.$fs.$type,1,4);this.bn()},ag:function(){return this.a8()>0},a8:function(a){if(arguments.length===1){this.a7=Math.max(0,a);return a}else{return this.a7}},q:function(){if(null==this.g){this.g=new $$t.fp("ContentLayer")}return this.g},r:function(){if(null==this.h){this.h=new $$t.fp("DecoratorLayer")}return this.h},s:function(){if(null==this.i){this.i=new $$t.fp("FixedHeaderLayer")}return this.i},t:function(){if(null==this.j){this.j=new $$t.fp("FixedLayer")}return this.j},v:function(){if(null==this.l){this.l=new $$t.fp("HeaderLayer")}return this.l},u:function(){if(null==this.k){this.k=new $$t.fp("HeaderDecoratorLayer")}return this.k},b:function(){if(null==this.a){this.a=new $.ig.FastIterationDictionary$2($$t.$b5.$type,$$4.$x.$type.specialize($$t.$fl.$type),0)}return this.a},_at:new Date,_au:new Date,e:function(){if(null==this.d){var a=$.ig.Date.prototype.getDate($$0.$s.now());this.d=new $$t.bw(this._f,new $$t.a(a,a))}return this.d},ay:function(a){if(arguments.length===1){this.aw=a;return a}else{return this.aw}},ax:function(a){if(arguments.length===1){this.av=a;return a}else{return this.av}},_f:null,ar:function(){return this.aq},az:function(){return $.ig.truncate(this._bq.bottom())},a0:function(){return $.ig.truncate(this._bq.height())},a1:function(){return $.ig.truncate(this._bq.left())},_bq:null,a2:function(){return $.ig.truncate(this._bq.right())},a3:function(){return $.ig.truncate(this._bq.top())},a4:function(){return $.ig.truncate(this._bq.width())},a6:function(){return this.ac().aa().width()},a5:function(){return this.ac().aa().height()},_a9:0,_ba:0,w:function(){if(null==this.m){this.m=new $$t.fp("SubContentLayer")}return this.m},x:function(){if(null==this.n){this.n=new $$t.fp("SubHeaderLayer")}return this.n},y:function(){if(null==this.o){this.o=new $$t.fp("SuperContentLayer")}return this.o},z:function(){if(null==this.p){this.p=new $$t.fp("SuperHeaderLayer")}return this.p},ad:function(){return $$t.$e7.h(this.ab())},ac:function(){return this._f._bw().g(this.ad())},ab:function(){},bd:function(){this.an.clear()},ae:function(a){},af:function(){var a=this.ae(this);a.scrollAreaActualVisibleRegion(new $.ig.RectData(this._bq.x(),this._bq.y(),this._bq.width(),this._bq.height()));a.scrollAreaContentWidth(this._ba);a.scrollAreaContentHeight(this._a9);a.scrollAreaActualVisibleTop(this.a3());a.scrollAreaActualVisibleLeft(this.a1());a.scrollAreaActualVisibleRight(this.a2());a.scrollAreaActualVisibleBottom(this.az());a.scrollAreaActualVisibleHeight(this.a0());a.scrollAreaActualVisibleWidth(this.a4());a.minimumDate(this._au);a.maximumDate(this._at);a.subContentLayerExport(this.aa(this.w()));a.contentLayerExport(this.aa(this.q()));a.superContentLayerExport(this.aa(this.y()));a.decoratorLayerExport(this.aa(this.r()));a.fixedLayerExport(this.aa(this.t()));a.subHeaderLayerExport(this.aa(this.x()));a.headerLayerExport(this.aa(this.v()));a.headerDecoratorLayerExport(this.aa(this.u()));a.superHeaderLayerExport(this.aa(this.z()));a.fixedHeaderLayerExport(this.aa(this.s()));a._z();return a},ao:function(a){var d__=new $$t.ft((-2));d__.___4__this=this;d__.___3__backwards=a;return d__},c:function(a,b,c,d,e,f,g,h){var $self=this;var i;if(function(){var j=$self.an.tryGetValue(a,i);i=j.p1;return j.ret}()){if($$t.$b1.f(b,i.a)&&null!=i.b&&c==i.d&&d==i.c&&e==i.e&&f==i.f){return i.b}}else{i=function(){var $ret=new $$t.fs;$ret.a=$$t.$b1.a(b,false);$ret.d=c;$ret.c=d;$ret.e=e;$ret.f=f;return $ret}();this.an.add(a,i)}return i.b=g._al(f,b,c,d,e,h)},ap:function(){var d__=new $$t.fu((-2));d__.___4__this=this;return d__},ah:function(a){return true},ai:function(a){return true},aj:function(){return false},ak:function(a,b){return false},al:function(a){return true},am:function(a){return true},bo:function(a,b){var c=this.e().aj(b);var d=c._c;if(a==0){d+=this.e()._a8;d+=this.e()._a2;d+=this.e()._bb*this.e().a5(b);return{__x:0,__y:d,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}else{d+=this.e()._bc;d+=this.e().n(b.getDay())*$.ig.truncate(this.e()._bk.width());return{__x:d,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}},bp:function(a,b){var c=this.e().aj(b);if(a==0){return{__x:0,__y:c._c,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}else{return{__x:c._c,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName}}},be:function(a){},bf:function(a){},bg:function(){},bh:function(a){},bi:function(){},bj:function(a,b){},bk:function(a){},bl:function(a){},aa:function(a){var b=new $$t.fq(a.__v);var c=a==this.v();var e=a.n().getEnumerator();while(e.moveNext()){var d=e.current();b._e(d.l(null))}return b},bm:function(){var b=this.ar().getEnumerator();while(b.moveNext()){var a=b.current();a.u()}},bn:function(){this.aq=new $$4.x($$t.$fp.$type,0);this.aq.add(this.w());this.aq.add(this.q());this.aq.add(this.y());this.aq.add(this.r());this.aq.add(this.t());this.aq.add(this.x());this.aq.add(this.v());this.aq.add(this.u());this.aq.add(this.z());this.aq.add(this.s())},$type:new $.ig.Type("VisualModel",$.ig.$ot)},true);$c("VisualModelAgendaView:er","VisualModel",{bs:null,init:function(a){$$t.$fr.init.call(this,a);this._bu=new $$4.x($$0.$s.$type,0)},ae:function(a){var b=$b($$t.$er.$type,a);var c=new $$t.es;if(null!=b){c.firstVisibleDay(b._bv);c.firstVisibleDayScrollOffsetStart(b._bz);c.lastVisibleDay(b._by);c.lastVisibleDayScrollOffsetEnd(b._b1);c.totalVisibleDays(b._b2)}return c},ah:function(a){if(a.property()==4||a.property()==5){return true}var b=a.activity();if(a.hasRecurrenceChanged()){return true}var c=new $$t.a(b.start(),b.end());var d=new $$t.a(this._bw,$$t.$b1.m(this._bx));if(+this._bw==+$$0.$s.minValue()||+this._bx==+$$0.$s.minValue()){return true}return c._intersectsWith(d,false)},ai:function(a){if(null==a.affectedRange()){return true}if(+this._bw==+$$0.$s.minValue()||+this._bx==+$$0.$s.minValue()){return true}return a.affectedRange()._intersectsWith(this._f._d(),false)},al:function(a){return false},am:function(a){return false},be:function(a){this.bt().ac()},bf:function(a){this.bt().ac()},bg:function(){$$t.$fr.bg.call(this);this.bt().ad()},bh:function(a){$$t.$fr.bh.call(this,a);this.bt().ae()},ab:function(){return 1},bt:function(){if(null==this.bs){var a=$$0.$s.now();this.bs=new $$t.bd(this._f,this._f._d())}return this.bs},_br:null,_bv:new Date,_bz:0,_b0:0,_bw:new Date,_bx:new Date,_bu:null,_by:new Date,_b1:0,_b2:0,$type:new $.ig.Type("VisualModelAgendaView",$$t.$fr.$type)},true);$c("scheduler.VisualModelExport:fv","Object",{init:function(){$.ig.$op.init.call(this);this.subContentLayerExport(new $$t.fq("SubContentLayer"));this.contentLayerExport(new $$t.fq("ContentLayer"));this.superContentLayerExport(new $$t.fq("SuperContentLayer"));this.decoratorLayerExport(new $$t.fq("DecoratorLayer"));this.fixedLayerExport(new $$t.fq("FixedLayer"));this.subHeaderLayerExport(new $$t.fq("SubHeaderLayer"));this.headerLayerExport(new $$t.fq("HeaderLayer"));this.headerDecoratorLayerExport(new $$t.fq("HeaderDecoratorLayer"));this.superHeaderLayerExport(new $$t.fq("SuperHeaderLayer"));this.fixedHeaderLayerExport(new $$t.fq("FixedHeaderLayer"));this.dipScalingRatio(1);this._z()},_contentLayerExport:null,contentLayerExport:function(a){if(arguments.length===1){this._contentLayerExport=a;return a}else{return this._contentLayerExport}},_decoratorLayerExport:null,decoratorLayerExport:function(a){if(arguments.length===1){this._decoratorLayerExport=a;return a}else{return this._decoratorLayerExport}},_dipScalingRatio:0,dipScalingRatio:function(a){if(arguments.length===1){this._dipScalingRatio=a;return a}else{return this._dipScalingRatio}},_fixedHeaderLayerExport:null,fixedHeaderLayerExport:function(a){if(arguments.length===1){this._fixedHeaderLayerExport=a;return a}else{return this._fixedHeaderLayerExport}},_fixedLayerExport:null,fixedLayerExport:function(a){if(arguments.length===1){this._fixedLayerExport=a;return a}else{return this._fixedLayerExport}},_headerLayerExport:null,headerLayerExport:function(a){if(arguments.length===1){this._headerLayerExport=a;return a}else{return this._headerLayerExport}},_headerDecoratorLayerExport:null,headerDecoratorLayerExport:function(a){if(arguments.length===1){this._headerDecoratorLayerExport=a;return a}else{return this._headerDecoratorLayerExport}},_layerExports:null,layerExports:function(a){if(arguments.length===1){this._layerExports=a;return a}else{return this._layerExports}},_minimumDate:new Date,minimumDate:function(a){if(arguments.length===1){this._minimumDate=a;return a}else{return this._minimumDate}},_maximumDate:new Date,maximumDate:function(a){if(arguments.length===1){this._maximumDate=a;return a}else{return this._maximumDate}},_scrollAreaActualVisibleHeight:0,scrollAreaActualVisibleHeight:function(a){if(arguments.length===1){this._scrollAreaActualVisibleHeight=a;return a}else{return this._scrollAreaActualVisibleHeight}},_scrollAreaActualVisibleLeft:0,scrollAreaActualVisibleLeft:function(a){if(arguments.length===1){this._scrollAreaActualVisibleLeft=a;return a}else{return this._scrollAreaActualVisibleLeft}},_scrollAreaActualVisibleRegion:null,scrollAreaActualVisibleRegion:function(a){if(arguments.length===1){this._scrollAreaActualVisibleRegion=a;return a}else{return this._scrollAreaActualVisibleRegion}},_scrollAreaActualVisibleRight:0,scrollAreaActualVisibleRight:function(a){if(arguments.length===1){this._scrollAreaActualVisibleRight=a;return a}else{return this._scrollAreaActualVisibleRight}},_scrollAreaActualVisibleTop:0,scrollAreaActualVisibleTop:function(a){if(arguments.length===1){this._scrollAreaActualVisibleTop=a;return a}else{return this._scrollAreaActualVisibleTop}},_scrollAreaActualVisibleBottom:0,scrollAreaActualVisibleBottom:function(a){if(arguments.length===1){this._scrollAreaActualVisibleBottom=a;return a}else{return this._scrollAreaActualVisibleBottom}},_scrollAreaActualVisibleWidth:0,scrollAreaActualVisibleWidth:function(a){if(arguments.length===1){this._scrollAreaActualVisibleWidth=a;return a}else{return this._scrollAreaActualVisibleWidth}},_scrollAreaContentHeight:0,scrollAreaContentHeight:function(a){if(arguments.length===1){this._scrollAreaContentHeight=a;return a}else{return this._scrollAreaContentHeight}},_scrollAreaContentWidth:0,scrollAreaContentWidth:function(a){if(arguments.length===1){this._scrollAreaContentWidth=a;return a}else{return this._scrollAreaContentWidth}},_subContentLayerExport:null,subContentLayerExport:function(a){if(arguments.length===1){this._subContentLayerExport=a;return a}else{return this._subContentLayerExport}},_subHeaderLayerExport:null,subHeaderLayerExport:function(a){if(arguments.length===1){this._subHeaderLayerExport=a;return a}else{return this._subHeaderLayerExport}},_superContentLayerExport:null,superContentLayerExport:function(a){if(arguments.length===1){this._superContentLayerExport=a;return a}else{return this._superContentLayerExport}},_superHeaderLayerExport:null,superHeaderLayerExport:function(a){if(arguments.length===1){this._superHeaderLayerExport=a;return a}else{return this._superHeaderLayerExport}},_x:function(){var a=new $$6.aj(0);a.l("{");a.l("scrollAreaActualVisibleTop : "+this.scrollAreaActualVisibleTop()+", ");a.l("scrollAreaActualVisibleLeft : "+this.scrollAreaActualVisibleLeft()+", ");a.l("scrollAreaActualVisibleBottom : "+this.scrollAreaActualVisibleBottom()+", ");a.l("scrollAreaActualVisibleRight : "+this.scrollAreaActualVisibleRight()+", ");a.l("scrollAreaActualVisibleHeight : "+this.scrollAreaActualVisibleHeight()+", ");a.l("scrollAreaActualVisibleWidth : "+this.scrollAreaActualVisibleWidth()+", ");a.l("scrollAreaContentWidth : "+this.scrollAreaContentWidth()+", ");a.l("scrollAreaContentHeight : "+this.scrollAreaContentHeight()+", ");a.l("minimumDate : '"+$.ig.Date.prototype.toStringFormat(this.minimumDate(),"MM-dd-yyyy",null)+"', ");a.l("maximumDate : '"+$.ig.Date.prototype.toStringFormat(this.maximumDate(),"MM-dd-yyyy",null)+"', ");a.l("scrollAreaActualVisibleRegion: { left: "+this.scrollAreaActualVisibleRegion().left()+", top: "+this.scrollAreaActualVisibleRegion().top()+", width: "+this.scrollAreaActualVisibleRegion().width()+", height: "+this.scrollAreaActualVisibleRegion().height()+"}, ");this.serializeOverride(a);a.l("subContentLayerExport : "+this.subContentLayerExport()._d()+", ");a.l("contentLayerExport : "+this.contentLayerExport()._d()+", ");a.l("superContentLayerExport : "+this.superContentLayerExport()._d()+", ");a.l("decoratorLayerExport : "+this.decoratorLayerExport()._d()+", ");a.l("fixedLayerExport : "+this.fixedLayerExport()._d()+", ");a.l("subHeaderLayerExport : "+this.subHeaderLayerExport()._d()+", ");a.l("headerLayerExport : "+this.headerLayerExport()._d()+", ");a.l("headerDecoratorLayerExport : "+this.headerDecoratorLayerExport()._d()+", ");a.l("superHeaderLayerExport : "+this.superHeaderLayerExport()._d()+", ");a.l("fixedHeaderLayerExport : "+this.fixedHeaderLayerExport()._d()+", ");a.l("}");return a.toString()},serializeOverride:function(a){},_z:function(){this.layerExports(new $$4.x($$t.$fq.$type,0));this.layerExports().add(this.subContentLayerExport());this.layerExports().add(this.contentLayerExport());this.layerExports().add(this.superContentLayerExport());this.layerExports().add(this.decoratorLayerExport());this.layerExports().add(this.fixedLayerExport());this.layerExports().add(this.subHeaderLayerExport());this.layerExports().add(this.headerLayerExport());this.layerExports().add(this.headerDecoratorLayerExport());this.layerExports().add(this.superHeaderLayerExport());this.layerExports().add(this.fixedHeaderLayerExport())},$type:new $.ig.Type("scheduler.VisualModelExport",$.ig.$ot)},true);$c("scheduler.VisualModelAgendaViewExport:es","scheduler.VisualModelExport",{init:function(){$$t.$fv.init.call(this)},serializeOverride:function(a){a.l("firstVisibleDay : '"+$.ig.Date.prototype.toStringFormat(this.firstVisibleDay(),"MM-dd-yyyy",null)+"', ");a.l("firstVisibleDayScrollOffsetStart : "+this.firstVisibleDayScrollOffsetStart()+", ");a.l("lastVisibleDay : '"+$.ig.Date.prototype.toStringFormat(this.lastVisibleDay(),"MM-dd-yyyy",null)+"', ");a.l("lastVisibleDayScrollOffsetEnd : "+this.lastVisibleDayScrollOffsetEnd()+", ");a.l("totalVisibleDays : "+this.totalVisibleDays()+", ")},_firstVisibleDay:new Date,firstVisibleDay:function(a){
if(arguments.length===1){this._firstVisibleDay=a;return a}else{return this._firstVisibleDay}},_firstVisibleDayScrollOffsetStart:0,firstVisibleDayScrollOffsetStart:function(a){if(arguments.length===1){this._firstVisibleDayScrollOffsetStart=a;return a}else{return this._firstVisibleDayScrollOffsetStart}},_lastVisibleDay:new Date,lastVisibleDay:function(a){if(arguments.length===1){this._lastVisibleDay=a;return a}else{return this._lastVisibleDay}},_lastVisibleDayScrollOffsetEnd:0,lastVisibleDayScrollOffsetEnd:function(a){if(arguments.length===1){this._lastVisibleDayScrollOffsetEnd=a;return a}else{return this._lastVisibleDayScrollOffsetEnd}},_totalVisibleDays:0,totalVisibleDays:function(a){if(arguments.length===1){this._totalVisibleDays=a;return a}else{return this._totalVisibleDays}},$type:new $.ig.Type("scheduler.VisualModelAgendaViewExport",$$t.$fv.$type)},true);$c("VisualModelDWView:et","VisualModel",{bv:null,b4:null,init:function(a){$$t.$fr.init.call(this,a);this._b7=new $$4.x($$0.$s.$type,0);this._b8=new $$4.x($$t.$b0.$type,0)},ae:function(a){var b=$b($$t.$et.$type,a);var c=new $$t.eu;if(null!=b){c.totalVisibleDays(b._co);c.totalVisibleTimeSlots(b._cp);c.visibleDays(b._bs);c.__ab=b._bt}return c},ah:function(a){if(a.property()==4||a.property()==5){return true}var b=a.activity();if(a.hasRecurrenceChanged()){return true}var c=new $$t.a(b.start(),b.end());var d=new $$t.a(this._ca,$$t.$b1.m(this._cb));if(+this._ca==+$$0.$s.minValue()||+this._cb==+$$0.$s.minValue()){return true}return c._intersectsWith(d,false)},ai:function(a){if(null==a.affectedRange()){return true}if(+this._ca==+$$0.$s.minValue()||+this._cb==+$$0.$s.minValue()){return true}return true},aj:function(){return true},ak:function(a,b){return true},al:function(a){if(this._f.workingHoursDisplayMode()==0||this._f._c7()){return true}return false},am:function(a){if(this._f.workingHoursDisplayMode()==0||this._f._c7()){return true}return false},be:function(a){this.bw().ac()},bf:function(a){this.bw().ac()},bg:function(){$$t.$fr.bg.call(this);this.bw().ad()},bh:function(a){$$t.$fr.bh.call(this,a);this.bw().ae()},bi:function(){this.bw().ag()},bj:function(a,b){this.bw().ag()},bk:function(a){this.bw().ah();this.b5().ah()},bl:function(a){this.bw().ah();this.b5().ah()},ab:function(){return 2},bw:function(){if(null==this.bv){this.bv=new $$t.bc(this._f,this._f._e())}return this.bv},_bx:null,_cd:0,_b9:new Date,_ce:0,_b0:null,_cf:0,_cg:0,_cq:null,_ct:0,_cr:null,_bu:null,_cs:null,_ca:new Date,_cb:new Date,_b1:null,_bz:null,_b6:false,_b2:null,_ch:0,_ci:0,_cj:0,_b7:null,_b8:null,_by:null,_ck:0,_cc:new Date,_cl:0,_b3:null,_cm:0,b5:function(){if(null==this.b4){this.b4=new $$t.bz(this._f,this._f._e())}return this.b4},_cn:0,_co:0,_cp:0,_br:null,_bs:null,_bt:null,$type:new $.ig.Type("VisualModelDWView",$$t.$fr.$type)},true);$c("scheduler.VisualModelDWViewExport:eu","scheduler.VisualModelExport",{init:function(){$$t.$fv.init.call(this)},serializeOverride:function(a){a.l("totalVisibleDays : "+this.totalVisibleDays()+", ");if(this.totalVisibleDays()>0&&this.visibleDays().length>0){a.l("visibleDays : ");var b=Math.min(7,this.visibleDays().length);for(var c=0;c<b;c++){a.l($.ig.Date.prototype.toStringFormat(this.visibleDays()[c],"MM-dd-yyy",null)+", ")}a.l("visibleTimeSlots : ");b=this.__ab.length;for(var d=0;d<b;d++){var e=this.__ab[d]._a;a.l($.ig.util.timeSpanTicks(e.start()).toString()+"-"+$.ig.util.timeSpanTicks(e.start()).toString()+", ")}}},_totalVisibleDays:0,totalVisibleDays:function(a){if(arguments.length===1){this._totalVisibleDays=a;return a}else{return this._totalVisibleDays}},_totalVisibleTimeSlots:0,totalVisibleTimeSlots:function(a){if(arguments.length===1){this._totalVisibleTimeSlots=a;return a}else{return this._totalVisibleTimeSlots}},_visibleDays:null,visibleDays:function(a){if(arguments.length===1){this._visibleDays=a;return a}else{return this._visibleDays}},__ab:null,$type:new $.ig.Type("scheduler.VisualModelDWViewExport",$$t.$fv.$type)},true);$c("scheduler.TimeSlotModelExport:fi","scheduler.ModelBaseExport",{init:function(){$$t.$fm.init.call(this)},serializeOverride:function(a){$$t.$fm.serializeOverride.call(this,a);a.l("end : '"+$.ig.Date.prototype.toStringFormat(this.end(),"s",null)+"', ");a.l("hasActivity : '"+this.hasActivity()+"', ");a.l("isLeadingDay : '"+this.isLeadingDay()+"', ");a.l("isToday : '"+this.isToday()+"', ");a.l("isTrailingDay : '"+this.isTrailingDay()+"', ");a.l("start : '"+$.ig.Date.prototype.toStringFormat(this.start(),"s",null)+"', ")},type:function(){return"timeslot"},_end:new Date,end:function(a){if(arguments.length===1){this._end=a;return a}else{return this._end}},_hasActivity:false,hasActivity:function(a){if(arguments.length===1){this._hasActivity=a;return a}else{return this._hasActivity}},_isLeadingDay:false,isLeadingDay:function(a){if(arguments.length===1){this._isLeadingDay=a;return a}else{return this._isLeadingDay}},_isToday:false,isToday:function(a){if(arguments.length===1){this._isToday=a;return a}else{return this._isToday}},_isTrailingDay:false,isTrailingDay:function(a){if(arguments.length===1){this._isTrailingDay=a;return a}else{return this._isTrailingDay}},_start:new Date,start:function(a){if(arguments.length===1){this._start=a;return a}else{return this._start}},$type:new $.ig.Type("scheduler.TimeSlotModelExport",$$t.$fm.$type)},true);$c("scheduler.DayOfWeekHeaderModelExport:fk","scheduler.TextModelExport",{init:function(){$$t.$ff.init.call(this)},serializeOverride:function(a){$$t.$ff.serializeOverride.call(this,a)},type:function(){return"dayofweekheader"},$type:new $.ig.Type("scheduler.DayOfWeekHeaderModelExport",$$t.$ff.$type)},true);$c("scheduler.MonthNameModelExport:ex","scheduler.TextModelExport",{init:function(){$$t.$ff.init.call(this)},serializeOverride:function(a){$$t.$ff.serializeOverride.call(this,a)},type:function(){return"monthname"},$type:new $.ig.Type("scheduler.MonthNameModelExport",$$t.$ff.$type)},true);$c("scheduler.MonthWeekNumberModelExport:e0","scheduler.TextModelExport",{init:function(){$$t.$ff.init.call(this)},serializeOverride:function(a){$$t.$ff.serializeOverride.call(this,a)},type:function(){return"monthweeknumber"},$type:new $.ig.Type("scheduler.MonthWeekNumberModelExport",$$t.$ff.$type)},true);$c("scheduler.ShapeModelExport:fc","scheduler.ModelBaseExport",{init:function(){$$t.$fm.init.call(this)},serializeOverride:function(a){$$t.$fm.serializeOverride.call(this,a);a.l('shapeType : "'+$$t.$dj.$getName(this.shapeType())+'", ');if(null!=this.fill()){a.l("fill : "+this.fill().serialize()+", ")}},type:function(){return"shape"},_fill:null,fill:function(a){if(arguments.length===1){this._fill=a;return a}else{return this._fill}},_shapeType:0,shapeType:function(a){if(arguments.length===1){this._shapeType=a;return a}else{return this._shapeType}},$type:new $.ig.Type("scheduler.ShapeModelExport",$$t.$fm.$type)},true);$c("scheduler.ModelTypeToExportClassMap:ev","Object",{init:function(){$.ig.$op.init.call(this)},_staticInit:function(){$$t.$ev.mappings=new $$4.h(String,$$0.$bc.$type,0);$$t.$ev.mappings.add("timeslot",$$t.$fi.$type);$$t.$ev.mappings.add("dayofweekheader",$$t.$fk.$type);$$t.$ev.mappings.add("monthname",$$t.$ex.$type);$$t.$ev.mappings.add("monthweeknumber",$$t.$e0.$type);$$t.$ev.mappings.add("text",$$t.$ff.$type);$$t.$ev.mappings.add("shape",$$t.$fc.$type)},$type:new $.ig.Type("scheduler.ModelTypeToExportClassMap",$.ig.$ot)},true);$c("MonthNameModel:ew","TextModel",{init:function(){$$t.$fe.init1.call(this,1,2,"monthname")},l:function(a){if(a==null){a=new $$t.ex}a=$$t.$fe.l.call(this,a);var b=a;return b},ae:function(){return true},$type:new $.ig.Type("MonthNameModel",$$t.$fe.$type)},true);$c("MonthNameModelFactory:ey","ModelFactoryBase",{init:function(){$$t.$b9.init.call(this,2,"monthname")},a:function(a){return new $$t.ew},$type:new $.ig.Type("MonthNameModelFactory",$$t.$b9.$type)},true);$c("MonthWeekNumberModel:ez","TextModel",{init:function(){$$t.$fe.init1.call(this,1,7,"monthweeknumber")},l:function(a){if(a==null){a=new $$t.e0}a=$$t.$fe.l.call(this,a);var b=a;return b},ae:function(){return true},$type:new $.ig.Type("MonthWeekNumberModel",$$t.$fe.$type)},true);$c("MonthWeekNumberModelFactory:e1","ModelFactoryBase",{init:function(){$$t.$b9.init.call(this,7,"monthweeknumber")},a:function(a){return new $$t.ez},$type:new $.ig.Type("MonthWeekNumberModelFactory",$$t.$b9.$type)},true);$c("VisualModelMonthView:e2","VisualModel",{init:function(a){this._b6=new $$a.af;this._b7=new $$a.af;$$t.$fr.init.call(this,a)},ae:function(a){var b=$b($$t.$e2.$type,a);var c=new $$t.e3;if(null!=b){c.firstVisibleMonth(b._bt);c.firstVisibleMonthScrollOffsetStart(b._bz);c.lastVisibleMonth(b._by);c.lastVisibleMonthScrollOffsetEnd(b._b4);c.totalVisibleMonths(b._b5)}return c},ah:function(a){if(a.property()==4||a.property()==5){return true}var b=a.activity();if(a.hasRecurrenceChanged()){return true}var c=new $$t.a(b.start(),b.end());var d=new $$t.a(this._bu,this._bw);return c._intersectsWith(d,true)},ai:function(a){if(null==a.affectedRange()){return true}return a.affectedRange()._intersectsWith(new $$t.a(this._bu,this._bw),true)},al:function(a){return false},am:function(a){return false},bg:function(){$$t.$fr.bg.call(this);this.e().ad()},bh:function(a){$$t.$fr.bh.call(this,a);this.e().ae()},ab:function(){return 0},_bs:0,_bt:new Date,_bz:0,_br:null,_b0:0,_b6:null,_bu:new Date,_bw:new Date,_bv:new Date,_bx:new Date,_b1:0,_b2:0,_b3:0,_by:new Date,_b4:0,_b7:null,_b5:0,$type:new $.ig.Type("VisualModelMonthView",$$t.$fr.$type)},true);$c("scheduler.VisualModelMonthViewExport:e3","scheduler.VisualModelExport",{init:function(){$$t.$fv.init.call(this)},serializeOverride:function(a){a.l("firstVisibleMonth : '"+$.ig.Date.prototype.toStringFormat(this.firstVisibleMonth(),"MM-dd-yyyy",null)+"', ");a.l("firstVisibleMonthScrollOffsetStart : "+this.firstVisibleMonthScrollOffsetStart()+", ");a.l("lastVisibleMonth : '"+$.ig.Date.prototype.toStringFormat(this.lastVisibleMonth(),"MM-dd-yyyy",null)+"', ");a.l("lastVisibleMonthScrollOffsetEnd : "+this.lastVisibleMonthScrollOffsetEnd()+", ");a.l("totalVisibleMonths : "+this.totalVisibleMonths()+", ")},_firstVisibleMonth:new Date,firstVisibleMonth:function(a){if(arguments.length===1){this._firstVisibleMonth=a;return a}else{return this._firstVisibleMonth}},_firstVisibleMonthScrollOffsetStart:0,firstVisibleMonthScrollOffsetStart:function(a){if(arguments.length===1){this._firstVisibleMonthScrollOffsetStart=a;return a}else{return this._firstVisibleMonthScrollOffsetStart}},_lastVisibleMonth:new Date,lastVisibleMonth:function(a){if(arguments.length===1){this._lastVisibleMonth=a;return a}else{return this._lastVisibleMonth}},_lastVisibleMonthScrollOffsetEnd:0,lastVisibleMonthScrollOffsetEnd:function(a){if(arguments.length===1){this._lastVisibleMonthScrollOffsetEnd=a;return a}else{return this._lastVisibleMonthScrollOffsetEnd}},_totalVisibleMonths:0,totalVisibleMonths:function(a){if(arguments.length===1){this._totalVisibleMonths=a;return a}else{return this._totalVisibleMonths}},$type:new $.ig.Type("scheduler.VisualModelMonthViewExport",$$t.$fv.$type)},true);$c("SchedulerViewModeInfo:e4","Object",{p:null,a:null,y:null,w:null,init:function(a,b,c,d,e,f,g,h,i,j){$.ig.$op.init.call(this);this._d=a;this._c=b;this._i=c;this._h=d;this._f=e;this._e=f;this._n=g;this._k=h;this._o=i;this.w=j;this._l=false},x:function(a){if(arguments.length===1){if(a!=this.w){this.w=a;this._d.b()._be().onBackgroundBrushChanged(this.g())}return a}else{return this.w}},q:function(){var d__=new $$t.e6((-2));d__.___4__this=this;return d__},_k:false,_l:false,_m:false,_n:false,_b:null,aa:function(){if($$a.$ae.l_op_Equality(null,this.y)){this.y=this.z(5)}return this.y},_e:0,_f:null,_o:false,g:function(){return $$t.$e7.h(this._c)},_d:null,_c:0,_i:null,_h:null,j:function(a,b,c,d,e){if(null==this.a){return false}var f=new $$t.e5(a);f._a=$$t.$je.c(f).d(b,c,d,e);this.a.af().add(f._a);this.p.add(a,f);this.t();return true},z:function(a){var $self=this;var b=null;if(function(){var c=$self.p.tryGetValue(a,b);b=c.p1;return c.ret}()){return b.c()}return $$a.$ae.empty()},t:function(){if(null==this.a){return}this.a.ax(true);this.y=null},s:function(a){if(null==this.a){return}this.a.a1(a);this.t()},r:function(a,b,c){if(null==this.a){return}var d=false;var e=this.p.item(a)._a;if(c>-1){var f=this.a.ag().__inner[e._aq];if(f._f()._i()&&e.ab()!=c){e.ab(c);d=true}}if(b>-1){var g=this.a.ad().__inner[e._am];if(g._f()._i()&&e.ac()!=b){e.ac(b);d=true}}if(d){this.t();this._d.b().__bd.invalidateOverallLayout()}},u:function(a){this.a=a;this.p=new $$4.h($$t.$cz.$type,$$t.$e5.$type,0);this.y=null},v:function(a){if(null==this.a){return}this.a.a1(a);this.t()},$type:new $.ig.Type("SchedulerViewModeInfo",$.ig.$ot)},true);$c("ContainingAreaInfo:e5","Object",{init:function(a){$.ig.$op.init.call(this);this._b=a},_b:0,c:function(){return this._a._a0},_a:null,$type:new $.ig.Type("ContainingAreaInfo",$.ig.$ot)},true);$c("SchedulerViewModeManager:e7","Object",{a:null,q:null,init:function(a){this.q=new $$4.h($$t.$dm.$type,$$t.$e4.$type,1,2);$.ig.$op.init.call(this);this.a=a;this._t=.6;this._u=.6},b:function(){return this.a},w:function(){return this.q.count()},i:function(a){switch(a){case 1:this.q.add($$t.$e7.h(a),this.c());return true;case 0:this.q.add($$t.$e7.h(a),this.e());return true;case 3:case 2:this.q.add($$t.$e7.h(a),this.d(a));return true}return false},j:function(a){var b=$$t.$e7.h(a);if(this.q.containsKey(b)){return a==this.q.item(b)._c}return false},k:function(a){return this.q.containsKey(a)},y:function(a,b){var c=this.g(b).z(a);return new $$a.af(1,c.width(),c.height())},z:function(a){return this.y(5,a)},v:function(a){if(this.q.count()<1){return-1}return $$5.$e.z($$t.$dm.$type,this.q.keys()).indexOf(a)},l:function(a){if(this.q.count()<1){return false}var b=$$5.$e.z($$t.$dm.$type,this.q.keys());return b.__inner[0]==$$t.$e7.h(a)},m:function(a){if(this.q.count()<2){return false}var b=$$5.$e.z($$t.$dm.$type,this.q.keys());return b.__inner[1]==$$t.$e7.h(a)},x:function(a){if(this.q.count()<1){return $m($$t.$dm.$type,null)}if(a>this.q.count()-1){return $m($$t.$dm.$type,null)}return $m($$t.$dm.$type,$$5.$e.a($$t.$dm.$type,this.q.keys())[a])},f:function(a){return this.g($$t.$e7.h(a))},g:function(a){var $self=this;var b=null;if(function(){var c=$self.q.tryGetValue(a,b);b=c.p1;return c.ret}()){return b}return null},n:function(a){var b=$$t.$e7.h(a);if(this.q.containsKey(b)){this.q.remove(b);return true}return false},o:function(a,b){var c=this.g(b);if(null!=c){c._b=a;a.refresh(c._i,false);return true}return false},p:function(a){if(this.w()>0){var b=$$5.$e.ad($$t.$e4.$type,this.r());if($$t.$e7.h(a)==b.g()){if(b._c!=a){b._c=a;if(b.g()==2){if(a==2){b.x(this.b().dayViewBackgroundBrush())}else{b.x(this.b().weekViewBackgroundBrush())}}}return true}}this.q.clear();return this.i(a)},h:function(a){switch(a){case 1:return 1;case 0:return 0;case 2:case 3:default:return 2}},c:function(){var a=new $$t.e4(this,1,new $$t.er(this.a),new $$t.d6(this.a),new $$t.d1(this.a),0,false,false,false,this.b().agendaViewBackgroundBrush());a.u($$t.$i9.g(new $$a.af(1,0,0),1,1));a.j(5,0,0,1,1);return a},d:function(a){var b=new $$t.e4(this,a,new $$t.et(this.a),new $$t.d7(this.a),new $$t.d2(this.a),2,false,true,false,a==2?this.b().dayViewBackgroundBrush():this.b().weekViewBackgroundBrush());var c=$$t.$i9.g(new $$a.af(1,0,0),4,2);b.u(c);c.ag().__inner[0]._f(new $$t.jh(2,1,0));c.ag().__inner[1]._f(new $$t.jh(2,1,0));c.ag().__inner[2]._f(new $$t.jh(2,1,0));c.ad().__inner[0]._f(new $$t.jh(2,1,0));b.j(5,3,1,1,1);b.j(0,1,1,1,1);b.j(1,3,0,1,1);b.j(2,1,0,2,1);b.j(3,2,1,1,1);b.j(4,0,0,1,2);return b},e:function(){var a=this.a._bn()==2;var b=new $$t.e4(this,0,new $$t.e2(this.a),new $$t.d9(this.a),new $$t.d3(this.a),$$t.$ar._b3(this.a.monthViewScrollDirection()),a,a,true,this.b().monthViewBackgroundBrush());var c=$$t.$i9.g(new $$a.af(1,0,0),2,1);b.u(c);c.ag().__inner[0]._f(new $$t.jh(2,1,0));b.j(5,1,0,1,1);b.j(4,0,0,1,1);return b},_u:0,_t:0,r:function(){return this.q.values()},s:function(){return this.q.keys()},$type:new $.ig.Type("SchedulerViewModeManager",$.ig.$ot)},true);$c("DayOfWeekHeaderModelFactory:e8","ModelFactoryBase",{init:function(){$$t.$b9.init.call(this,2,"dayofweekheader")},a:function(a){return new $$t.fj},$type:new $.ig.Type("DayOfWeekHeaderModelFactory",$$t.$b9.$type)},true);$c("ModelHelpers:e9","Object",{init:function(){$.ig.$op.init.call(this)},e:function(a,b,c,d,e,f,g,h,i,j){if(1==a.navigationHeaderVisibility()){return}var k=a._bw().f(j.b());var l=k.z(4);var m=3;var n=5;var o=0;var p=1;var q=2;var r=n-2;var s=n-1;var t=$$t.$i9.g(new $$a.af(1,l.width(),l.height()),m,n);t.ag().__inner[0]._f(new $$t.jh(2,j._t._e,1));t.ag().__inner[2]._f(new $$t.jh(2,j._t._b,1));t.ad().__inner[o]._f(new $$t.jh(2,j._t._c,1));t.ad().__inner[p]._f(new $$t.jh(2,j.k(),1));t.ad().__inner[r]._f(new $$t.jh(2,j.k(),1));t.ad().__inner[s]._f(new $$t.jh(2,j._t._d,1));var u=$$t.$e9.a(a,b,i,c.a);t.af().add($$t.$je.c(u).d(0,0,m,n).p(j._s));var v=$$t.$e9.b(a,b,i,c.b);t.af().add($$t.$je.c(v).d(2,0,1,n).j($$t.$b1.r(1)).t(2).k(3));var w=$$t.$e9.c(a,b,d,e,f,h,i,c.b);t.af().add($$t.$je.c(w).d(1,q,1,1));var x=$$t.$e9.d(a,b,0,g,h,i,c.b,j);t.af().add($$t.$je.c(x).d(1,p,1,1));var y=$$t.$e9.d(a,b,1,g,h,i,c.b,j);t.af().add($$t.$je.c(y).d(1,r,1,1));t.ax(true);var z=t.af();var ab=z.getEnumerator();while(ab.moveNext()){var aa=ab.current();var ac=$b($$t.$fl.$type,aa.item());var ad=aa._a0;b.n(ac,a,i,ad.left(),ad.top(),ad.width(),ad.height())}},a:function(a,b,c,d){var e=52;var f=null;var g=new $$t.b5(0,2,e);var h=$b($$t.$fa.$type,b.c(a,c,g,d,"shape",f));h.dg(0);h._c=4;h.ds($$t.$ea.fh(a));h.t(e);h._bs=f;return h},b:function(a,b,c,d){var e=53;var f=null;var g=new $$t.b5(0,2,e);var h=$b($$t.$fa.$type,b.c(a,c,g,d,"shape",f));h._c=4;h.dg(0);h.ds($$t.$ea.fi(a));h.t(e);h._bs=f;return h},d:function(a,b,c,d,e,f,g,h){var i=c==0?54:55;var j=null;var k=new $$t.b5(0,6,i);var l=$b($$t.$fe.$type,b.c(a,f,k,g,"text",j));l.dg(c==0?h._p:h._o);l.b(d);l.db($$t.$ea.cq);l.dd(e);l._c=4;l.k(3);l.g(1);l.t(i);l._bs=j;return l},c:function(a,b,c,d,e,f,g,h){var i=d;var j=null;var k=new $$t.b5(0,6,i);var l=$b($$t.$fe.$type,b.c(a,g,k,h,"text",j));l.dg(c);l.b(e);l.db($$t.$b2.b().ah());l.dd(f);l._c=4;l.e(1);l.g(1);l.k(3);l.t(i);l._bs=j;return l},$type:new $.ig.Type("ModelHelpers",$.ig.$ot)},true);$c("ShapeModel:fa","ModelBase",{init:function(){this.dq=null;this.di=null;this.df=0;this.dr=null;$$t.$fl.init.call(this,5,"shape")},l:function(a){if(a==null){a=new $$t.fc}a=$$t.$fl.l.call(this,a);var b=a;b.shapeType(this.dg());return b},bq:function(a){if(a=="ShapeType"){return $$t.$dj.getBox(this.dg())}return $$t.$fl.bq.call(this,a)},ae:function(){switch(this.t()){case 27:case 4:case 43:case 49:case 51:case 50:return true}return false},c2:function(a,b,c){$$t.$fl.c2.call(this,a,b,c);switch(a){case"Fill":case"ShapeType":case"Lines":this._ab=true;break;default:this._ab=true;break}},c7:function(a,b){$$t.$fl.c7.call(this,a,b);if(a=="ShapeType"){this.dg($g(b))}},dq:null,ds:function(a){if(arguments.length===1){var b=this.dq;this.dq=a;if(this.dq!=b){this.c1("Fill",b,this.dq)}return a}else{return this.dq}},di:null,dh:function(){if(null==this.di){this.di=new $$4.x($$t.$fb.$type,0)}return this.di},df:0,dg:function(a){if(arguments.length===1){var b=this.df;this.df=a;if(this.df!=b){this.c1("ShapeType",$$t.$dj.getBox(b),$$t.$dj.getBox(this.df))}return a}else{return this.df}},dr:null,dt:function(a){if(arguments.length===1){var b=this.dr;this.dr=a;if(this.dr!=b){this.c1("Stroke",b,this.dr)}return a}else{return this.dr}},dp:function(a,b){if(null==this.di){this.di=new $$4.x($$t.$fb.$type,0)}var c=this.di.toArray();if(false==b){this.di.clear()}this.di.addRange(a);var d=this.di.toArray();if(d!=c){this.c1("Lines",c,d)}},$type:new $.ig.Type("ShapeModel",$$t.$fl.$type)},true);$c("ShapeModelLineSegment:fb","Object",{init:function(a,b,c,d){$.ig.$op.init.call(this);this._d=a;this._c=b;this._b=c;this._a=d},_c:null,_d:null,_b:null,_a:0,$type:new $.ig.Type("ShapeModelLineSegment",$.ig.$ot)},true);$c("ShapeModelFactory:fd","ModelFactoryBase",{init:function(){$$t.$b9.init.call(this,5,"shape")},a:function(a){return new $$t.fa},$type:new $.ig.Type("ShapeModelFactory",$$t.$b9.$type)},true);$c("TextModelFactory:fg","ModelFactoryBase",{init:function(){$$t.$b9.init.call(this,6,"text")},a:function(a){return new $$t.fe(0)},$type:new $.ig.Type("TextModelFactory",$$t.$b9.$type)},true);$c("TimeSlotModel:fh","ModelBase",{init:function(){$$t.$fl.init.call(this,1,"timeslot")},l:function(a){if(a==null){a=new $$t.fi}a=$$t.$fl.l.call(this,a);var b=a;b.end(this.dq());b.hasActivity(this.dj());b.isLeadingDay(this.dk());b.isToday(this.dl());b.isTrailingDay(this.dm());b.start(this.dr());return b},bq:function(a){if(a=="End"){return this.dq()}if(a=="HasActivity"){return this.dj()}if(a=="IsLeadingDay"){return this.dk()}if(a=="IsToday"){return this.dl()}if(a=="IsTrailingDay"){return this.dm()}if(a=="Start"){return this.dr()}return $$t.$fl.bq.call(this,a)},ae:function(){return true},c2:function(a,b,c){$$t.$fl.c2.call(this,a,b,c);switch(a){case"End":case"HasActivity":case"IsLeadingDay":case"IsToday":case"IsTrailingDay":case"Start":this._ab=true;break;default:this._ab=true;break}},c7:function(a,b){$$t.$fl.c7.call(this,a,b);if(a=="End"){this.dq(b)}if(a=="HasActivity"){this.dj(b)}if(a=="IsLeadingDay"){this.dk(b)}if(a=="IsToday"){this.dl(b)}if(a=="IsTrailingDay"){this.dm(b)}if(a=="Start"){this.dr(b)}},dn:new Date,dq:function(a){if(arguments.length===1){var b=this.dn;this.dn=a;if(+this.dn!=+b){this.c1("End",b,this.dn)}return a}else{return this.dn}},df:false,dj:function(a){if(arguments.length===1){var b=this.df;this.df=a;if(this.df!=b){this.c1("HasActivity",b,this.df)}return a}else{return this.df}},dg:false,dk:function(a){if(arguments.length===1){var b=this.dg;this.dg=a;if(this.dg!=b){this.c1("IsLeadingDay",b,this.dg)}return a}else{return this.dg}},dh:false,dl:function(a){if(arguments.length===1){var b=this.dh;this.dh=a;if(this.dh!=b){this.c1("IsToday",b,this.dh)}return a}else{return this.dh}},di:false,dm:function(a){if(arguments.length===1){var b=this.di;this.di=a;if(this.di!=b){this.c1("IsTrailingDay",b,this.di)}return a}else{return this.di}},dp:new Date,dr:function(a){if(arguments.length===1){var b=this.dp;this.dp=a;if(+this.dp!=+b){this.c1("Start",b,this.dp)}return a}else{return this.dp}},$type:new $.ig.Type("TimeSlotModel",$$t.$fl.$type)},true);$c("DayOfWeekHeaderModel:fj","TextModel",{init:function(){$$t.$fe.init1.call(this,1,2,"dayofweekheader")},l:function(a){if(a==null){a=new $$t.fk}a=$$t.$fe.l.call(this,a);var b=a;return b},ae:function(){return true},$type:new $.ig.Type("DayOfWeekHeaderModel",$$t.$fe.$type)},true);$c("TimeSlotModelFactory:fn","ModelFactoryBase",{init:function(){$$t.$b9.init.call(this,1,"timeslot")},a:function(a){return new $$t.fh},$type:new $.ig.Type("TimeSlotModelFactory",$$t.$b9.$type)},true);$c("SchedulerLayer:fp","FastIterationDictionary$2",{init:function(a){$.ig.FastIterationDictionary$2.prototype.init.call(this,$$t.$b5.$type,$$t.$fl.$type,0);this.__v=a},__v:null,$type:new $.ig.Type("SchedulerLayer",$.ig.FastIterationDictionary$2.prototype.$type.specialize($$t.$b5.$type,$$t.$fl.$type))},true);$c("scheduler.SchedulerLayerExport:fq","Object",{_a:null,init:function(a){$.ig.$op.init.call(this);this.name(a)},modelExports:function(){if(null==this._a){this._a=new $$4.x($$t.$fm.$type,0)}return this._a},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},_e:function(a){this.modelExports().add(a)},_d:function(){var a=new $$6.aj(0);a.u("{");a.u('name: "'+this.name()+'", modelExports: [');for(var b=0;b<this.modelExports().count();b++){a.l(this.modelExports().__inner[b]._t());if(b<this.modelExports().count()-1){a.l(", ")}}a.l("]");a.l("}");return a.toString()},$type:new $.ig.Type("scheduler.SchedulerLayerExport",$.ig.$ot)},true);$c("CachedFontInfo:fs","Object",{init:function(){$.ig.$op.init.call(this)},d:0,c:0,e:0,f:null,a:null,b:null,$type:new $.ig.Type("CachedFontInfo",$.ig.$ot)},true);$c("SchedulerUtils2:fw","Object",{init:function(){$.ig.$op.init.call(this)},withHelper$1:function($t,a,b){for(var c=0,d=a.count();c<d;c++){var e=a.__inner[c];b(e,c)}},toList$1:function($t,a){return new $$4.x($t,1,a)},stringEquals:function(a,b,c){var d=c?1:0;return!$.ig.util.stringCompare1(a,b,d)},isNullOrEmpty:function(a){if(a==null){return true}var b=$b(String,a);if(b!=null&&b.length==0){return true}return false},verifyNotNull:function(a,b){if(a==null){throw new $$6.e(0,b)}},toString1:function(a){if(a==null){return null}var b=$b(String,a);if(b!=null){return b}return a.toString()},tryCreateInstance:function(a,b){b=null;if(a==null){return{ret:false,p1:b}}return{ret:false,p1:b}},hasParameterlessCtor:function(a,b){return false},parseAppointmentProperty:function(a){var b;if(function(){var c=$.ig.$ep.tryParse$1($$t.$h8.$type,a,true,b);b=c.p2;return c.ret}()==false){return-1}return b},parseScheduleResourceProperty:function(a){var b;if(function(){var c=$.ig.$ep.tryParse$1($$t.$h9.$type,a,true,b);b=c.p2;return c.ret}()==false){return-1}return b},convertToDateTime:function(a,b){b=null;if($b($$0.$s.$type,a)!==null){return{ret:a,p1:b}}try{return{ret:$$6.$g.toDateTime(a),p1:b}}catch(c){b=c;return{ret:$$0.$s.minValue(),p1:b}}},convertToString:function(a,b,c){b=null;if(typeof a==="string"){return{ret:a,p1:b}}else if(a==null){return{ret:null,p1:b}}try{return{ret:a.toString(),p1:b}}catch(d){b=d;return{ret:null,p1:b}}},convertToInt32:function(a,b){b=null;if(typeof a==="number"){return{ret:$h(a),p1:b}}try{return{ret:$$6.$g.toInt321(a),p1:b}}catch(c){b=c;return{ret:-2147483648,p1:b}}},convertToDouble:function(a,b){b=null;if(typeof a==="number"){return{ret:a,p1:b}}try{return{ret:$$6.$g.toDouble3(a),p1:b}}catch(c){b=c;return{ret:-1.7976931348623157e308,p1:b}}},convertToDecimal:function(a,b){b=null;if(typeof a==="number"){return{ret:a,p1:b}}try{return{ret:$$6.$g.toDecimal2(a),p1:b}}catch(c){b=c;return{ret:-7.922816251426434e28,p1:b}}},convertToBoolean:function(a,b){b=null;if($b($$0.$aq.$type,a)!==null){return{ret:a,p1:b}}try{return{ret:$$6.$g.toBoolean(a),p1:b}}catch(c){b=c;return{ret:false,p1:b}}},convertToColor:function(a,b){b=null;if(a==null){return{ret:$m($$a.$ax.$type,null),p1:b}}try{return{ret:$m($$a.$ax.$type,$$a.$ax.create(a)),p1:b}}catch(c){b=c;return{ret:$m($$a.$ax.$type,null),p1:b}}},convertIGColor:function(a,b){if(b==$$a.$ax.$type){return a}if(b!=String){return null}var c=new $$6.aj(0);if(a.l()==255){c.s("#{0:X2}{1:X2}{2:X2}",a.o(),a.n(),a.m())}else{c.p("#{0:X2}{1:X2}{2:X2}{3:X2}",[a.l(),a.o(),a.n(),a.m()])}return c.toString()},convertColorScheme:function(a,b,c,d){d=null;if(a.hasValue()==false){return{ret:null,p3:d}}if(c==$$t.$ia.$type){return{ret:$s(a),p3:d}}else if(c==String){return{ret:a.toString(),p3:d}}else if(c==$$0.$aw.$type){return{ret:a.value(),p3:d}}else{var e;if(b!=null){e=b._ar("LE_CouldNotConvertColorScheme")}else{e=$$t.$ag.c("LE_CouldNotConvertColorScheme",null)}d=new $$0.n(1,e)}return{ret:null,p3:d}},convertToColorScheme:function(a,b,c){c=null;if(a==null){return{ret:$m($$t.$ia.$type,null),p2:c}}if($b($$t.$ia.$type,a)!==null){return{ret:$m($$t.$ia.$type,$g(a)),p2:c}}var d=$$t.$ia.$type;if(typeof a==="number"){var e=$.ig.$ep.getValues(d);var f=$h(a);if(f>=0&&f<e.length){var g=f;return{ret:$m($$t.$ia.$type,g),p2:c}}else{if(b!=null){c=new $$0.n(1,b._as("LE_CouldNotConvertValue",[f,d]))}else{c=new $$0.n(1,$$t.$ag.d("LE_CouldNotConvertValue",null,[f,d]))}return{ret:$m($$t.$ia.$type,null),p2:c}}}if(typeof a==="string"){var h=$b(String,a);if(String.isNullOrEmpty(h)){return{ret:$m($$t.$ia.$type,null),p2:c}}var i;if(function(){var j=$.ig.$ep.tryParse$1($$t.$ia.$type,h,true,i);i=j.p2;return j.ret}()){return{ret:$m($$t.$ia.$type,i),p2:c}}else{if(b!=null){c=new $$0.n(1,b._as("LE_CouldNotConvertValue",[h,d]))}else{c=new $$0.n(1,$$t.$ag.d("LE_CouldNotConvertValue",null,[h,d]))}return{ret:$m($$t.$ia.$type,null),p2:c}}}if(b!=null){c=new $$0.n(1,b._as("LE_CouldNotConvertValue",[a,d]))}else{c=new $$0.n(1,$$t.$ag.d("LE_CouldNotConvertValue",null,[a,d]))}return{ret:$m($$t.$ia.$type,null),p2:c}},listSeparator:function(){return","},parseTagContent:function(a,b){var c=$6("<{0}>",a);var d=$6("</{0}>",a);var e=b.indexOf(c);var f=b.indexOf(d);if(e<0||f<0){return null}e+=c.length;var g=f-e;return b.substr(e,g)},getArrayValue:function(a,b){return a[b]},createException:function(a){return $$t.$fw.createException1(a,null)},createException1:function(a,b){var c=$$t.$ag.d(a,null,b);return new $$0.n(1,c)},isSameInstance:function(a,b){return a!=null&&a==b},listFromIEnumerable:function(a,b){var c=new $$4.x($.ig.$op.$type,2,b);var e=a.getEnumerator();while(e.moveNext()){var d=e.current();c.add1(d)}return c},pascalCaseToCamelCase:function(a){if(String.isNullOrEmpty(a)){return a}var b=a.charAt(0);if($al(b)){return a}var c=new $$6.aj(0);c.l(b.toString().toLowerCase());if(a.length>1){c.l(a.substr(1))}return c.toString()},fromSelect$2:function($t,$u,a,b,c){var d=new $$4.x($t,0);var e=c?new $$4.q($t,0):null;var g=a.getEnumerator();while(g.moveNext()){var f=g.current();if($e($u,f)==null){continue}var h=b(f);if(e!=null&&e.add(h)==false){continue}d.add(h)}return d},distinct$1:function($t,a){var b=new $$4.q($t,0);var d=a.getEnumerator();while(d.moveNext()){var c=d.current();b.add(c)}return b},$type:new $.ig.Type("SchedulerUtils2",$.ig.$ot)},true);$c("DateUtils:fx","Object",{init:function(){$.ig.$op.init.call(this)},a:function(){return[0,1,2,3,4,5,6]},u:function(a,b){return a.formatYearMonth(b)},b:function(a,b){return a.getDayNames(b)},n:function(a,b,c,d){return a.getDaysInMonth(b,c,d)},m:function(a,b,c,d){var e=$$t.$fx.n(a,b,c,d);var f=$a(e,7);var g=$.ig.truncate(Math.ceil(f));return g},o:function(a,b,c,d,e){var f=$.ig.Date.prototype.fromValues(b,c,1,0,0,0,0);var g=f.getDay();var h=g-e;return h<0?7+h:h>0?h:0},p:function(a,b,c,d,e){var f=$.ig.Date.prototype.fromValues(b,c,1,0,0,0,0);var g=$$t.$fx.n(a,b,c,d);var h;try{h=$.ig.Date.prototype.addDays(f,g)}catch(i){return 0}var j=e-h.getDay();return j<0?7+j:j>0?j:0},c:function(a){return $$t.$fx.d(a.firstDayOfWeekResolved())},d:function(a){var b=$$t.$fx.a();var c=new Array(b.length);var d=new $$t.cv(a);var e=0;d.d(function(f){var g=f;c[e]=b[g];e+=1});return c},s:function(a,b,c){var d=new $$6.aj(0);if(b){d.j($.ig.Date.prototype.getMonth(a));d.l("/");d.j(a.getDate());d.l("/");d.j(a.getFullYear())}if(c){if(b){d.l(" ")}d.j(a.getHours());d.l(":");d.j(a.getMinutes())}return d.toString()},q:function(a,b,c,d,e){var f=a.getDaysInMonth(b,c,0);var g=7-$$t.$fx.o(a,b,c,0,e);var h=7-$$t.$fx.p(a,b,c,0,e);return 2+$a(f-g-h,7)},f:function(){if($$t.$fx.e==null){$$t.$fx.e=new $$t.g2(null)}return $$t.$fx.e},g:function(a,b,c,d){d=$$0.$s.minValue();try{d=$.ig.Date.prototype.parseExact(a,b,c);return{ret:true,p3:d}}catch(e){return{ret:false,p3:d}}},j:function(a){var b=a.getTime()-1;a=$.ig.Date.prototype.fromTicks(b);return a},h:function(a){if(+a==+$$0.$s.minValue()){return a}return $$t.$fx.j(a)},i:function(a,b){b=$$t.$fx.h(b);return b>a?b:a},l:function(date_){var a=date_.getFullYear();var b=(a&3)!=0?false:a%100!=0||a%400==0;var c=[0,31,59,90,120,151,181,212,243,273,304,334];var d=date_.getMonth();var e=date_.getDate();var f=c[d]+e;if(d>1&&b){f+=1}return f},t:function(a,b,c){var d=a.formatDayOfWeek(b,c);return $6("{0} {1}",d,b.getDate())},v:function(){return"-"},w:function(a,b,c){var d=c.getMonthNames(1);var e=$b(String,$$t.$fw.getArrayValue(d,b-1));d=c.getMonthNames(0);var f=$b(String,$$t.$fw.getArrayValue(d,b-1));return $5(a,e,f)},$type:new $.ig.Type("DateUtils",$.ig.$ot)},true);$c("HybridModelPresenter:fz","Object",{init:function(){$.ig.$op.init.call(this)},_elementPresenter:null,elementPresenter:function(a){if(arguments.length===1){this._elementPresenter=a;return a}else{return this._elementPresenter}},_canvasPresenter:null,canvasPresenter:function(a){if(arguments.length===1){this._canvasPresenter=a;return a}else{return this._canvasPresenter}},nativeView:function(){if(this.elementPresenter()!=null){return this.elementPresenter().nativeView()}if(this.canvasPresenter()!=null){return this.canvasPresenter().nativeView()}return null;
},modelUpdated:function(a){if(this.elementPresenter()!=null){this.elementPresenter().modelUpdated(a)}if(this.canvasPresenter()!=null){this.canvasPresenter().modelUpdated(a)}},$type:new $.ig.Type("HybridModelPresenter",$.ig.$ot,[$$t.$fo.$type])},true);$c("CanvasPresenterBase:f2","Object",{a:null,init:function(a){$.ig.$op.init.call(this);this.a=a},b:function(){return this.a},c:function(a){},nativeView:function(){return this.b()},modelUpdated:function(a){this.c(a)},$type:new $.ig.Type("CanvasPresenterBase",$.ig.$ot,[$$t.$fo.$type])},true);$c("CanvasNonTextPresenter:f1","CanvasPresenterBase",{init:function(a){$$t.$f2.init.call(this,a)},$type:new $.ig.Type("CanvasNonTextPresenter",$$t.$f2.$type)},true);$c("CanvasPresenterManager:f3","Object",{a:null,init:function(a){$.ig.$op.init.call(this);this.a=a},b:function(a){var b=$b($$t.$fz.$type,a._i);if(b==null){b=new $$t.fz;b.elementPresenter(a._i)}var c=b.canvasPresenter();if(c!=null){return c}if($b($$t.$fe.$type,a)!==null){c=new $$t.f5(new $$t.f9(a.getType()!=$$t.$fe.$type||a.t()==46))}else if($b($$t.$fa.$type,a)!==null){c=new $$t.f4(new $$t.f8)}else{c=new $$t.f1(new $$t.f7)}b.canvasPresenter(c);a._i=b;return c},$type:new $.ig.Type("CanvasPresenterManager",$.ig.$ot)},true);$c("CanvasShapePresenter:f4","CanvasPresenterBase",{init:function(a){$$t.$f2.init.call(this,a)},$type:new $.ig.Type("CanvasShapePresenter",$$t.$f2.$type)},true);$c("CanvasTextPresenter:f5","CanvasPresenterBase",{init:function(a){$$t.$f2.init.call(this,a)},$type:new $.ig.Type("CanvasTextPresenter",$$t.$f2.$type)},true);$c("CanvasElementView:f6","Object",{init:function(){$.ig.$op.init.call(this)},a:function(){return true},b:function(a,b,c,d,e,f){if(this.a()){var g=b.t();var h=b.db();if(h==null){h=c.getBackground(g)}var i=b.bl()+d;var j=b.bm()+e;if(h!=null){f.height(b.be());f.width(b.bk());f._o=j;f._n=i;f.__fill=h;a.v(f)}var k=c.getBorderThickness(g);var l;if(k._c>0){l=c.getBorderLeft(g);if(l!=null){f.height(b.be());f.width(k._c);f.__fill=l;a.v(f)}}if(k._e>0){l=c.getBorderTop(g);if(l!=null){f.height(k._e);f.width(b.bk());f.__fill=l;a.v(f)}}if(k._d>0){l=c.getBorderRight(g);if(l!=null){f._o=j;f._n=i+b.bk()-k._d;f.height(b.be());f.width(k._d);f.__fill=l;a.v(f)}}if(k._b>0){l=c.getBorderBottom(g);if(l!=null){f._o=j+b.be()-k._d;f._n=i;f.height(k._b);f.width(b.bk());f.__fill=l;a.v(f)}}}},$type:new $.ig.Type("CanvasElementView",$.ig.$ot,[$$t.$b7.$type])},true);$c("CanvasNonTextView:f7","CanvasElementView",{init:function(){$$t.$f6.init.call(this)},$type:new $.ig.Type("CanvasNonTextView",$$t.$f6.$type)},true);$c("CanvasShapeView:f8","CanvasElementView",{init:function(){$$t.$f6.init.call(this)},b:function(a,b,c,d,e,f){var g=$b($$t.$fa.$type,b);var h=g.ds();if(h==null){h=c.getBackground(b.t())}if(h==null){return}switch(g.dg()){default:case 0:f.height(b.be());f.width(b.bk());f._o=b.bm()+e;f._n=b.bl()+d;f.__fill=h;a.v(f);break;case 1:var i=new $$a.a6;i._b=$a(b.bk(),2);i._c=$a(b.be(),2);i._d={__x:b.bl()+b.bk()/2+d,__y:b.bm()+b.be()/2+e,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};var j=function(){var $ret=new $$a.bs;$ret._aj=i;$ret.fill(h);$ret._ab=false;$ret.stroke(null);return $ret}();a.s(j);break}},$type:new $.ig.Type("CanvasShapeView",$$t.$f6.$type)},true);$c("CanvasTextView:f9","CanvasElementView",{c:false,d:null,init:function(a){$$t.$f6.init.call(this);this.c=a},a:function(){return this.c},b:function(a,b,c,d,e,f){if(this.c){$$t.$f6.b.call(this,a,b,c,d,e,f)}var g=$b($$t.$fe.$type,b);var h=g.dg();if(h==null||h.length==0){return}var i=g.e();var j=g.g();var k=c.getBorderThickness(b.t());var l=c.getPadding(b.t());var m=b.bl()+d+b.bh();var n=b.bm()+e+b.bj();var o=b.bk()-(k._c+k._d+b.bh()+b.bi());var p=b.be()-(k._e+k._b+b.bj()+b.bg());var q=b.b();if(q==null){q=c.getFont(b.t())}if(q==null){return}var r=g.dd();if(r==null){r=c.getTextBrush(b.t())}if(this.d==null){this.d=new $$a.an}this.d._am=r;this.d.ak(h);a.ac(q);var s=c.getFontHeight(b.t(),q);var t=this.d.ag(q,q.g());if(t<0){t=a.e(this.d);this.d.al(q,q.g(),t)}var u=false;if(t>o){t=o;u=true;a.z();a.ae(new $$a.ae(0,m,n,o,p))}if(i!=0){var v=o-t;if(v>0){switch(i){default:case 1:m+=v/2;break;case 2:m+=v;break}}}if(j!=0){var w=p-s;if(w>0){switch(i){default:case 1:n+=w/2;break;case 2:n+=w;break}}}this.d._n=m;this.d._o=n;a.w(this.d);if(u){a.y()}},$type:new $.ig.Type("CanvasTextView",$$t.$f6.$type)},true);$c("GridLayout___GetCellRects__IteratorClass:ja","Object",{_b:0,_e:null,_d:0,_c:0,___4__this:null,init:function(a){$.ig.$op.init.call(this);this._b=a},moveNext:function(){while(this._b>=0){switch(this._b){case 0:this._b=-1;this._d=0;this._b=1;break;case 1:this._b=-1;if(this._d<this.___4__this.ak){this._c=0;this._b=2;break}break;case 2:this._b=-1;if(this._c<this.___4__this.aj){this._e=this.___4__this.ay(this._d,this._c);this._b=3;return true}this._d++;this._b=1;break;case 3:this._b=-1;this._c++;this._b=2;break}}return false},getEnumerator:function(){var d__;if(this._b==-2){this._b=0;d__=this}else{d__=new $$t.ja(0);d__.___4__this=this.___4__this}return d__},reset:function(){throw new $$0.r(0)},dispose:function(){},current:function(){return this._e},current1:function(){return this._e},$type:new $.ig.Type("GridLayout___GetCellRects__IteratorClass",$.ig.$ot,[$$0.$bw.$type.specialize($$a.$ae.$type),$$0.$bt.$type,$$0.$bx.$type.specialize($$a.$ae.$type),$$0.$bu.$type,$$0.$au.$type])},true);$c("GridLayout___GetCellRectsInRow__IteratorClass:jb","Object",{_b:0,_f:null,_d:0,_e:0,___3__row:0,___4__this:null,init:function(a){$.ig.$op.init.call(this);this._b=a},moveNext:function(){while(this._b>=0){switch(this._b){case 0:this._b=-1;this._d=0;this._b=1;break;case 1:this._b=-1;if(this._d<this.___4__this.aj){this._f=this.___4__this.ay(this._e,this._d);this._b=2;return true}break;case 2:this._b=-1;this._d++;this._b=1;break}}return false},getEnumerator:function(){var d__;if(this._b==-2){this._b=0;d__=this}else{d__=new $$t.jb(0);d__.___4__this=this.___4__this}d__._e=this.___3__row;return d__},reset:function(){throw new $$0.r(0)},dispose:function(){},current:function(){return this._f},current1:function(){return this._f},$type:new $.ig.Type("GridLayout___GetCellRectsInRow__IteratorClass",$.ig.$ot,[$$0.$bw.$type.specialize($$a.$ae.$type),$$0.$bt.$type,$$0.$bx.$type.specialize($$a.$ae.$type),$$0.$bu.$type,$$0.$au.$type])},true);$c("GridLayout___GetCellRectsInColumn__IteratorClass:jc","Object",{_b:0,_f:null,_d:0,_e:0,___3__col:0,___4__this:null,init:function(a){$.ig.$op.init.call(this);this._b=a},moveNext:function(){while(this._b>=0){switch(this._b){case 0:this._b=-1;this._d=0;this._b=1;break;case 1:this._b=-1;if(this._d<this.___4__this.ak){this._f=this.___4__this.ay(this._d,this._e);this._b=2;return true}break;case 2:this._b=-1;this._d++;this._b=1;break}}return false},getEnumerator:function(){var d__;if(this._b==-2){this._b=0;d__=this}else{d__=new $$t.jc(0);d__.___4__this=this.___4__this}d__._e=this.___3__col;return d__},reset:function(){throw new $$0.r(0)},dispose:function(){},current:function(){return this._f},current1:function(){return this._f},$type:new $.ig.Type("GridLayout___GetCellRectsInColumn__IteratorClass",$.ig.$ot,[$$0.$bw.$type.specialize($$a.$ae.$type),$$0.$bt.$type,$$0.$bx.$type.specialize($$a.$ae.$type),$$0.$bu.$type,$$0.$au.$type])},true);$c("VisualModel___GetHiddenModels__IteratorClass:fu","Object",{_h:0,_b:null,_a:null,_e:null,_i:0,_f:null,_j:0,_g:null,_k:0,_c:null,___4__this:null,init:function(a){$.ig.$op.init.call(this);this._h=a},moveNext:function(){while(this._h>=0){switch(this._h){case 0:this._h=-1;this._a=this.___4__this.b();this._e=this.___4__this.b()._o;this._i=this._e.count();this._f=this.___4__this.b()._p;this._j=0;this._h=1;break;case 1:this._h=-1;if(this._j<this._i){if(this._f.__inner[this._j]){this._h=4;break}this._g=this._a.item(this._e.__inner[this._j]);this._k=0;this._h=2;break}break;case 2:this._h=-1;if(this._k<this._g.count()){this._c=this._g.__inner[this._k];if(this._c!=null){this._b=this._c;this._h=3;return true}this._h=3;break}this._h=4;break;case 3:this._h=-1;this._k++;this._h=2;break;case 4:this._h=-1;this._j++;this._h=1;break}}return false},getEnumerator:function(){var d__;if(this._h==-2){this._h=0;d__=this}else{d__=new $$t.fu(0);d__.___4__this=this.___4__this}return d__},reset:function(){throw new $$0.r(0)},dispose:function(){},current:function(){return this._b},current1:function(){return this._b},$type:new $.ig.Type("VisualModel___GetHiddenModels__IteratorClass",$.ig.$ot,[$$0.$bw.$type.specialize($$t.$fl.$type),$$0.$bt.$type,$$0.$bx.$type.specialize($$t.$fl.$type),$$0.$bu.$type,$$0.$au.$type])},true);$c("DWActivityPageManager___Pages__IteratorClass:bs","Object",{_g:0,_a:null,_c:null,_f:new Date,_d:null,___3__startPage:null,___4__this:null,init:function(a){$.ig.$op.init.call(this);this._g=a},moveNext:function(){while(this._g>=0){switch(this._g){case 0:this._g=-1;this._c=this._d;this._g=1;break;case 1:this._g=-1;if(true){this._f=this._c.p();this._a=this.___4__this.j(this._f);this._g=2;return true}break;case 2:{this._g=-1;var a=this.___4__this.r(this._f);if(+a==+this._f){return false}this._c=this.___4__this.j(a);this._g=1;break}}}return false},getEnumerator:function(){var d__;if(this._g==-2){this._g=0;d__=this}else{d__=new $$t.bs(0);d__.___4__this=this.___4__this}d__._d=this.___3__startPage;return d__},reset:function(){throw new $$0.r(0)},dispose:function(){},current:function(){return this._a},current1:function(){return this._a},$type:new $.ig.Type("DWActivityPageManager___Pages__IteratorClass",$.ig.$ot,[$$0.$bw.$type.specialize($$t.$bn.$type),$$0.$bt.$type,$$0.$bx.$type.specialize($$t.$bn.$type),$$0.$bu.$type,$$0.$au.$type])},true);$c("DWActivityColumnSetManager___get_ColumnsRow2__IteratorClass:bm","Object",{_i:0,_a:null,_h:null,_d:null,_g:null,_c:null,_f:null,_b:null,___4__this:null,init:function(a){$.ig.$op.init.call(this);this._i=a},_j:function(){this._i=-1;if(this._h!=null){this._h.dispose()}},_k:function(){this._i=1;if(this._g!=null){this._g.dispose()}},_l:function(){this._i=3;if(this._f!=null){this._f.dispose()}},moveNext:function(){var __hasError__=false;try{while(this._i>=0){switch(this._i){case 0:this._i=-1;if(this.___4__this.b()==0){return false}this._i=1;this._h=this.___4__this.h().getEnumerator();this._i=2;break;case 2:this._i=1;if(this._h.moveNext()){this._d=this._h.current();this._i=3;this._g=this._d._a.getEnumerator();this._i=4;break}this._j();break;case 4:this._i=3;if(this._g.moveNext()){this._c=this._g.current();this._i=5;this._f=this._c._c.getEnumerator();this._i=6;break}this._k();this._i=2;break;case 6:this._i=5;if(this._f.moveNext()){this._b=this._f.current();this._a=this._b;this._i=6;return true}this._l();this._i=4;break}}}catch(a){__hasError__=true;throw a}finally{if(__hasError__){this.dispose()}}return false},getEnumerator:function(){var d__;if(this._i==-2){this._i=0;d__=this}else{d__=new $$t.bm(0);d__.___4__this=this.___4__this}return d__},reset:function(){throw new $$0.r(0)},dispose:function(){switch(this._i){case 1:case 2:this._j();break;case 3:case 4:try{this._k()}finally{this._j()}break;case 5:case 6:try{try{this._l()}finally{this._k()}}finally{this._j()}break}},current:function(){return this._a},current1:function(){return this._a},$type:new $.ig.Type("DWActivityColumnSetManager___get_ColumnsRow2__IteratorClass",$.ig.$ot,[$$0.$bw.$type.specialize($$t.$bh.$type),$$0.$bt.$type,$$0.$bx.$type.specialize($$t.$bh.$type),$$0.$bu.$type,$$0.$au.$type])},true);$c("DWActivityColumnSetManager___get_ColumnsRow1__IteratorClass:bl","Object",{_g:0,_a:null,_f:null,_c:null,_e:null,_b:null,___4__this:null,init:function(a){$.ig.$op.init.call(this);this._g=a},_h:function(){this._g=-1;if(this._f!=null){this._f.dispose()}},_i:function(){this._g=1;if(this._e!=null){this._e.dispose()}},moveNext:function(){var __hasError__=false;try{while(this._g>=0){switch(this._g){case 0:this._g=1;this._f=this.___4__this.h().getEnumerator();this._g=2;break;case 2:this._g=1;if(this._f.moveNext()){this._c=this._f.current();this._g=3;this._e=this._c._a.getEnumerator();this._g=4;break}this._h();break;case 4:this._g=3;if(this._e.moveNext()){this._b=this._e.current();this._a=this._b;this._g=4;return true}this._i();this._g=2;break}}}catch(a){__hasError__=true;throw a}finally{if(__hasError__){this.dispose()}}return false},getEnumerator:function(){var d__;if(this._g==-2){this._g=0;d__=this}else{d__=new $$t.bl(0);d__.___4__this=this.___4__this}return d__},reset:function(){throw new $$0.r(0)},dispose:function(){switch(this._g){case 1:case 2:this._h();break;case 3:case 4:try{this._i()}finally{this._h()}break}},current:function(){return this._a},current1:function(){return this._a},$type:new $.ig.Type("DWActivityColumnSetManager___get_ColumnsRow1__IteratorClass",$.ig.$ot,[$$0.$bw.$type.specialize($$t.$bh.$type),$$0.$bt.$type,$$0.$bx.$type.specialize($$t.$bh.$type),$$0.$bu.$type,$$0.$au.$type])},true);$c("AgendaInfo___Days__IteratorClass:bf","Object",{_g:0,_c:new Date,_b:null,_e:new Date,_f:new Date,___3__start:new Date,___4__this:null,init:function(a){$.ig.$op.init.call(this);this._g=a},_h:function(){this._g=-1;if(this._b!=null){this._b.dispose()}},moveNext:function(){var __hasError__=false;try{while(this._g>=0){switch(this._g){case 0:this._g=-1;this.___4__this.ab();this._g=1;this._b=this.___4__this.ap.getEnumerator();this._g=2;break;case 2:this._g=1;if(this._b.moveNext()){this._e=this._b.current();if(this._e>=this._f){this._c=this._e;this._g=2;return true}this._g=2;break}this._h();break}}}catch(a){__hasError__=true;throw a}finally{if(__hasError__){this.dispose()}}return false},getEnumerator:function(){var d__;if(this._g==-2){this._g=0;d__=this}else{d__=new $$t.bf(0);d__.___4__this=this.___4__this}d__._f=this.___3__start;return d__},reset:function(){throw new $$0.r(0)},dispose:function(){switch(this._g){case 1:case 2:this._h();break}},current:function(){return this._c},current1:function(){return this._c},$type:new $.ig.Type("AgendaInfo___Days__IteratorClass",$.ig.$ot,[$$0.$bw.$type.specialize($$0.$s.$type),$$0.$bt.$type,$$0.$bx.$type.specialize($$0.$s.$type),$$0.$bu.$type,$$0.$au.$type])},true);$c("SchedulerViewModeInfo___get_ContainingAreas__IteratorClass:e6","Object",{_e:0,_b:null,_d:null,_a:null,___4__this:null,init:function(a){$.ig.$op.init.call(this);this._e=a},_f:function(){this._e=-1;if(this._d!=null){this._d.dispose()}},moveNext:function(){var __hasError__=false;try{while(this._e>=0){switch(this._e){case 0:this._e=-1;if(null==this.___4__this.a){return false}this._e=1;this._d=this.___4__this.a.af().getEnumerator();this._e=2;break;case 2:this._e=1;if(this._d.moveNext()){this._a=this._d.current();this._b=$b($$t.$e5.$type,this._a.item());this._e=2;return true}this._f();break}}}catch(a){__hasError__=true;throw a}finally{if(__hasError__){this.dispose()}}return false},getEnumerator:function(){var d__;if(this._e==-2){this._e=0;d__=this}else{d__=new $$t.e6(0);d__.___4__this=this.___4__this}return d__},reset:function(){throw new $$0.r(0)},dispose:function(){switch(this._e){case 1:case 2:this._f();break}},current:function(){return this._b},current1:function(){return this._b},$type:new $.ig.Type("SchedulerViewModeInfo___get_ContainingAreas__IteratorClass",$.ig.$ot,[$$0.$bw.$type.specialize($$t.$e5.$type),$$0.$bt.$type,$$0.$bx.$type.specialize($$t.$e5.$type),$$0.$bu.$type,$$0.$au.$type])},true);$c("VisualModel___GetAllModels__IteratorClass:ft","Object",{_h:0,_a:null,_g:null,_j:0,_l:0,_k:0,_c:null,_m:0,_i:0,_b:null,_f:false,___3__backwards:false,___4__this:null,init:function(a){$.ig.$op.init.call(this);this._h=a},moveNext:function(){while(this._h>=0){switch(this._h){case 0:{this._h=-1;this._g=this.___4__this.ar();var a=this._g.count();var b=this._f?a-1:0;this._j=this._f?-1:a;this._l=this._f?-1:1;this._k=b;this._h=1;break}case 1:this._h=-1;if(this._k!=this._j){this._c=this._g.__inner[this._k];this._m=this._c._q.count();this._i=0;this._h=2;break}break;case 2:this._h=-1;if(this._i<this._m){if(this._c._p.__inner[this._i]){this._h=3;break}this._b=this._c._q.__inner[this._i];if(this._b!=null){this._a=this._b;this._h=3;return true}this._h=3;break}this._k+=this._l;this._h=1;break;case 3:this._h=-1;this._i++;this._h=2;break}}return false},getEnumerator:function(){var d__;if(this._h==-2){this._h=0;d__=this}else{d__=new $$t.ft(0);d__.___4__this=this.___4__this}d__._f=this.___3__backwards;return d__},reset:function(){throw new $$0.r(0)},dispose:function(){},current:function(){return this._a},current1:function(){return this._a},$type:new $.ig.Type("VisualModel___GetAllModels__IteratorClass",$.ig.$ot,[$$0.$bw.$type.specialize($$t.$fl.$type),$$0.$bt.$type,$$0.$bx.$type.specialize($$t.$fl.$type),$$0.$bu.$type,$$0.$au.$type])},true);$$t.$jh._c=new $$t.jh(2,1,0);$$t.$jh._d=new $$t.jh(2,1,2);$$t.$jj.p=$$t.$jj.n();$$t.$c._a=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];$$t.c._a=$$t.$c._a;$$t.$d._k=null;$$t.d._k=$$t.$d._k;$$t.$s._a=null;$$t.s._a=$$t.$s._a;$$t.$u._u="Start";$$t.u._u=$$t.$u._u;$$t.$u._t="End";$$t.u._t=$$t.$u._t;$$t.$u._v=$.ig.util.timeSpanFromHours(24);$$t.u._v=$$t.$u._v;$$t.$x._a0="Id";$$t.x._a0=$$t.$x._a0;$$t.$x._be="Subject";$$t.x._be=$$t.$x._be;$$t.$x._bc="Start";$$t.x._bc=$$t.$x._bc;$$t.$x._ay="End";$$t.x._ay=$$t.$x._ay;$$t.$x._ba="ResourceId";$$t.x._ba=$$t.$x._ba;$$t.$x._bb="Resource";$$t.x._bb=$$t.$x._bb;$$t.$x._a7="Recurrence";$$t.x._a7=$$t.$x._a7;$$t.$x._a8="RecurrenceRoot";$$t.x._a8=$$t.$x._a8;$$t.$x._a6="RecurrenceId";$$t.x._a6=$$t.$x._a6;$$t.$x._a3="OriginalStart";$$t.x._a3=$$t.$x._a3;$$t.$x._a2="IsRemoved";$$t.x._a2=$$t.$x._a2;$$t.$x._ax="Description";$$t.x._ax=$$t.$x._ax;$$t.$x._a1="IsAllDay";$$t.x._a1=$$t.$x._a1;$$t.$z._b9="Location";$$t.z._b9=$$t.$z._b9;$$t.$ac._ag="Id";$$t.ac._ag=$$t.$ac._ag;$$t.$ac._ae="DisplayName";$$t.ac._ae=$$t.$ac._ae;$$t.$ac._ab="ColorScheme";$$t.ac._ab=$$t.$ac._ab;$$t.$ac._ac="DaysOfWeekSettings";$$t.ac._ac=$$t.$ac._ac;$$t.$ar._ey="AgendaViewAppointmentEndTimeBackgroundBrush";$$t.$ar._e0="AgendaViewAppointmentEndTimeSelectedBackgroundBrush";$$t.$ar._e1="AgendaViewAppointmentEndTimeSelectedTextBrush";$$t.$ar._e3="AgendaViewAppointmentLocationBackgroundBrush";$$t.$ar._e5="AgendaViewAppointmentLocationSelectedBackgroundBrush";$$t.$ar._e6="AgendaViewAppointmentLocationSelectedTextBrush";$$t.$ar._fb="AgendaViewAppointmentStartTimeBackgroundBrush";$$t.$ar._fd="AgendaViewAppointmentStartTimeSelectedBackgroundBrush";$$t.$ar._fe="AgendaViewAppointmentStartTimeSelectedTextBrush";$$t.$ar._fg="AgendaViewAppointmentSubjectBackgroundBrush";$$t.$ar._fi="AgendaViewAppointmentSubjectSelectedBackgroundBrush";$$t.$ar._fj="AgendaViewAppointmentSubjectSelectedTextBrush";$$t.$ar._ga="DayViewAppointmentLocationBackgroundBrush";$$t.$ar._gd="DayViewAppointmentSubjectBackgroundBrush";$$t.$ar._id="TimeSlotMajorHorizontalSeparatorVisibility";$$t.$ar._ig="TimeSlotMajorVerticalSeparatorVisibility";$$t.$ar._ii="TimeSlotMinorHorizontalSeparatorVisibility";$$t.$ar._ik="TimeSlotMinorVerticalSeparatorVisibility";$$t.$ar._dj=new $$4.x(String,0);$$t.$ag.b=null;$$t.$iz._b8=true;$$t.iz._b8=$$t.$iz._b8;$$t.$i5._p="Property";$$t.i5._p=$$t.$i5._p;$$t.$i5._n="DataObjectPropertyName";$$t.i5._n=$$t.$i5._n;$$t.$i5._l="ConvertCallback";$$t.i5._l=$$t.$i5._l;$$t.$i5._k="ConvertBackCallback";$$t.i5._k=$$t.$i5._k;$$t.$id.c=["SU","MO","TU","WE","TH","FR","SA"];$$t.$id.a=[$$t.$g.getBox(0),"YEARLY",$$t.$g.getBox(1),"MONTHLY",$$t.$g.getBox(2),"WEEKLY",$$t.$g.getBox(3),"DAILY",$$t.$g.getBox(4),"HOURLY",$$t.$g.getBox(5),"MINUTELY",$$t.$g.getBox(6),"SECONDLY"];$$t.$g3.u=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(255,255,255,255));return $ret}();$$t.$g3.t=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(255,68,68,68));return $ret}();$$t.$g3.k=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(225,116,70,185));return $ret}();$$t.$g3.j=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(225,220,63,118));return $ret}();$$t.$g3.o=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(225,249,98,50));return $ret}();$$t.$g3.m=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(225,67,156,71));return $ret}();$$t.$g3.p=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(225,43,138,234));return $ret}();$$t.$g3.i=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(225,121,85,72));return $ret}();$$t.$g3.n=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(225,159,179,40));return $ret}();$$t.$g3.r=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(225,255,152,0));return $ret}();$$t.$g3.s=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(225,46,156,166));return $ret}();$$t.$g3.l=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(225,63,81,181));return $ret}();$$t.$g3.q=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(225,235,71,63));return $ret}();$$t.$g3.v=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(225,116,118,130));return $ret}();$$t.$cu.rangeFormatString="{0} {1} {2}";$$t.$ah.am=null;if($$t.$a1.staticInit&&!$$t.$a1.schedulerViewStaticInitCalled){$$t.$a1.staticInit();$$t.$a1.schedulerViewStaticInitCalled=true}$$t.$b2.a=null;$$t.$ca.b=null;$$t.$ea.cy=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(0,255,255,255));return $ret}();$$t.$ea.cq=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(1,255,255,255));return $ret}();$$t.$ea.cl=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(255,102,102,102));return $ret}();$$t.$ea.cm=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(77,102,102,102));return $ret}();$$t.$ea.cn=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(128,102,102,102));return $ret}();$$t.$ea.ch=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(255,0,153,255));return $ret}();$$t.$ea.ci=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(255,51,51,51));return $ret}();$$t.$ea.cj=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(77,51,51,51));return $ret}();$$t.$ea.ck=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(255,68,68,68));return $ret}();$$t.$ea.co=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(255,136,136,136));return $ret}();$$t.$ea.cp=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(255,153,153,153));return $ret}();$$t.$ea.cr=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(255,187,187,187));return $ret}();$$t.$ea.ct=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(77,204,204,204));return $ret}();$$t.$ea.cs=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(255,192,192,192));return $ret}();$$t.$ea.cu=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(255,221,221,221));return $ret}();$$t.$ea.cv=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(255,238,238,238));return $ret}();$$t.$ea.cw=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(255,255,255,255));return $ret}();$$t.$ea.cx=function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(255,0,153,255));return $ret}();$$t.$ea.g2=null;$$t.$ea.fx=null;$$t.$ea.f0=null;$$t.$ea.fy=null;$$t.$ea.fz=null;$$t.$ea.f3=null;$$t.$ea.f5=null;$$t.$ea.f7=null;$$t.$ea.f8=null;$$t.$ea.ge=null;$$t.$ea.gf=null;$$t.$ea.f1=null;$$t.$ea.f2=null;$$t.$ea.gc=null;$$t.$ea.gd=null;$$t.$ea.f9=null;$$t.$ea.fw=null;$$t.$ea.ga=null;$$t.$ea.gb=null;$$t.$ea.fv=null;$$t.$ea.f4=null;$$t.$ea.dh=null;$$t.$ea.dj=null;$$t.$ea.cz=null;$$t.$ea.c2=null;$$t.$ea.c0=null;$$t.$ea.c1=null;$$t.$ea.c8=null;$$t.$ea.db=null;$$t.$ea.c9=null;$$t.$ea.da=null;$$t.$ea.dc=null;$$t.$ea.df=null;$$t.$ea.dd=null;$$t.$ea.de=null;$$t.$ea.c3=null;$$t.$ea.c6=null;$$t.$ea.c4=null;$$t.$ea.c5=null;$$t.$ea.c7=null;$$t.$ea.di=null;$$t.$ea.dg=null;$$t.$ea.dk=null;$$t.$ea.dw=null;$$t.$ea.ds=null;$$t.$ea.dt=null;$$t.$ea.du=null;$$t.$ea.dv=null;$$t.$ea.dr=null;$$t.$ea.gt=null;$$t.$ea.dp=null;$$t.$ea.dq=null;$$t.$ea.gi=null;$$t.$ea.gj=null;$$t.$ea.gm=null;$$t.$ea.go=null;$$t.$ea.gn=null;$$t.$ea.gp=null;$$t.$ea.gk=null;$$t.$ea.gl=null;$$t.$ea.gq=null;$$t.$ea.gs=null;$$t.$ea.gr=null;$$t.$ea.dm=null;$$t.$ea.dn=null;$$t.$ea.dl=null;$$t.$ea.gg=null;$$t.$ea.gh=null;$$t.$ea.dx=null;$$t.$ea.f6=null;$$t.$ea.ai=null;$$t.$ea.aj=null;$$t.$ea.al=null;$$t.$ea.ao=null;$$t.$ea.ak=null;$$t.$ea.an=null;$$t.$ea.ah=null;$$t.$ea.e=null;$$t.$ea.a=null;$$t.$ea.c=null;$$t.$ea.d=null;$$t.$ea.b=null;$$t.$ea.f=null;$$t.$ea.aq=null;$$t.$ea.h=null;$$t.$ea.ap=null;$$t.$ea.i=null;$$t.$ea.j=null;$$t.$ea.g=null;$$t.$ea.k=null;$$t.$ea.l=null;$$t.$ea.am=null;$$t.$ea.g1=null;$$t.$ea.g0=null;$$t.$ea.gu=null;$$t.$ea.gv=null;$$t.$fl.an=null;$$t.$fl.al=null;$$t.$ev.mappings=null;$$t.ev.mappings=$$t.$ev.mappings;if($$t.$ev._staticInit&&!$$t.$ev.modelTypeToExportClassMapStaticInitCalled){$$t.$ev._staticInit();$$t.$ev.modelTypeToExportClassMapStaticInitCalled=true}$$t.$fw.dPINormal=96;$$t.$fw.maxListSize=10;$$t.$fx.e=null;if($.ig.scheduler){$.ig.scheduler._isNamespace=true}})($);/*!@license
* Infragistics.Web.ClientUI Scheduler 19.1.20191.172
*
* Copyright (c) 2016-2019 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends on:
* jquery.js
* jquery-ui.js
* infragistics.util.js
* infragistics.util.jquery.js
* infragistics.ui.widget.js
* infragistics.ui.scroll.js
* infragistics.ext_core.js
* infragistics.ext_collections.js
* infragistics.ext_collectionsExtended.js
* infragistics.ext_io.js
* infragistics.ext_text.js
* infragistics.ext_web.js
* infragistics.dv_core.js
* infragistics.dv_jquerydom.js
* infragistics.dv_interactivity.js
* infragistics.ext_ui.js
* infragistics.scheduler.core.js
*/
(function($){$.widget("ui.igSchedulerCore",$.ui.igWidget,{localeWidgetName:"schedulerCore",css:{unsupportedBrowserClass:"ui-html5-non-html5-supported-message ui-helper-clearfix ui-html5-non-html5",scheduler:"ui-igscheduler-core",tooltip:"ui-igscheduler-tooltip ui-corner-all",agendaView:"ui-igscheduler-agendaview",agendaViewDayHeader:"ui-igscheduler-agendaview-day-header",agendaDayHeaderHorizontalSeparator:"ui-igscheduler-agendaview-day-header-horizontal-separator",agendaViewMessage:"ui-igscheduler-agendaview-message",agendaApptStartTime:"ui-igscheduler-agenda-appt-start-time",agendaApptStartTimeSelected:"ui-igscheduler-agenda-appt-start-time-selected",agendaApptEndTime:"ui-igscheduler-agenda-appt-end-time",agendaApptEndTimeSelected:"ui-igscheduler-agenda-appt-end-time-selected",agendaApptSubject:"ui-igscheduler-agenda-appt-subject",agendaApptSubjectSelected:"ui-igscheduler-agenda-appt-subject-selected",agendaApptLocation:"ui-igscheduler-agenda-appt-location",agendaApptLocationSelected:"ui-igscheduler-agenda-appt-location-selected",agendaApptArea:"ui-igscheduler-agenda-appt-area",agendaApptSelected:"ui-igscheduler-agenda-appt-selected",agendaApptColorBar:"ui-igscheduler-agenda-appt-color-bar",agendaApptHorizontalSeparator:"ui-igscheduler-agenda-appt-horizontal-separator",dayWeekView:"ui-igscheduler-dayweekview",allDayEventArea:"ui-igscheduler-allday-event-area",allDayEventSubject:"ui-igscheduler-allday-event-subject",dayWeekAppt:"ui-igscheduler-dayweek-appt",dayWeekApptColorBar:"ui-igscheduler-dayweek-appt-color-bar",dayWeekApptLocation:"ui-igscheduler-dayweek-appt-location",dayWeekApptSubject:"ui-igscheduler-dayweek-appt-subject",dayWeekDayHeader:"ui-igscheduler-dayweek-day-header",dayWeekHeaderAreaBackground:"ui-igscheduler-dayweek-header-area",dayWeekHorizontalSeparator:"ui-igscheduler-dayweek-horizontal-separator",dayWeekNavigationHeaderDateText:"ui-igscheduler-dayweek-navigation-header-date-text",dayWeekResourceHeader:"ui-igscheduler-dayweek-resource-header",dayWeekTimeSlot:"ui-igscheduler-dayweek-timeslot",dayWeekTimeSlotDescriptor:"ui-igscheduler-dayweek-timeslot-descriptor",dayWeekTimeSlotDescriptorAreaBackground:"ui-igscheduler-dayweek-timeslot-descriptor-area",dayWeekTimeSlotSelected:"ui-igscheduler-dayweek-timeslot-selected",dayWeekTimeSlotWorkingHour:"ui-igscheduler-dayweek-timeslot-working-hour",dayWeekTopLeftCornerBackground:"ui-igscheduler-dayweek-topleft-corner",dayWeekVerticalSeparator:"ui-igscheduler-dayweek-vertical-separator",horizontalViewSplitter:"ui-igscheduler-horizontal-view-splitter",navigationHeader:"ui-igscheduler-navigation-header",navigationHeaderBorder:"ui-igscheduler-navigation-header-border",navigationHeaderNavigateNextButton:"ui-igscheduler-navigation-header-navigate-next-button",navigationHeaderNavigatePreviousButton:"ui-igscheduler-navigation-header-navigate-previous-button",monthView:"ui-igscheduler-monthview",monthViewActivityIndicator:"ui-igscheduler-monthview-activity-indicator",monthViewDay:"ui-igscheduler-monthview-day",monthViewDayAppointment:"ui-igscheduler-monthview-day-appointment",monthViewDayLeading:"ui-igscheduler-monthview-day-leading",monthViewDayHorizontalSeparator:"ui-igscheduler-monthview-day-horizontal-separator",monthViewDayOfWeekHeader:"ui-igscheduler-monthview-day-of-week-header",monthViewNavigationHeaderDateText:"ui-igscheduler-monthview-navigation-header-date-text",monthViewDaySelected:"ui-igscheduler-monthview-day-selected",monthViewDayToday:"ui-igscheduler-monthview-day-today",monthViewDayTodayIndicator:"ui-igscheduler-monthview-day-today-indicator",monthViewDayTrailing:"ui-igscheduler-monthview-day-trailing",monthViewDayVerticalSeparator:"ui-igscheduler-monthview-day-vertical-separator",monthViewMonthHeader:"ui-igscheduler-monthview-month-header",monthViewMonthHeaderHorizontalSeparator:"ui-igscheduler-monthview-month-header-horizontal-separator",monthViewWeekHeader:"ui-igscheduler-monthview-week-header",verticalViewSplitter:"ui-igscheduler-vertical-view-splitter"},events:{appointmentDoubleClicked:null,dayDoubleClicked:null,layoutUpdated:null,appointmentClicked:null,appointmentSelected:null,dayClicked:null,dayOfWeekHeaderClicked:null,monthHeaderClicked:null,selectedDateChanged:null,timeSlotClicked:null,timeSlotSelected:null,weekNumberClicked:null},options:{width:null,height:null,height:0,width:0,cultureName:null,activityGroupingMode:"noGrouping",agendaViewAppointmentEndTimeBackgroundBrush:null,agendaViewAppointmentEndTimeFontInfo:null,agendaViewAppointmentEndTimeSelectedBackgroundBrush:null,agendaViewAppointmentEndTimeSelectedTextBrush:null,agendaViewAppointmentEndTimeTextBrush:null,agendaViewAppointmentLocationBackgroundBrush:null,agendaViewAppointmentLocationFontInfo:null,agendaViewAppointmentLocationSelectedBackgroundBrush:null,agendaViewAppointmentLocationSelectedTextBrush:null,agendaViewAppointmentLocationTextBrush:null,agendaViewAppointmentMargin:null,agendaViewAppointmentScope:"onlyAppointmentsForSelectedDate",agendaViewAppointmentSeparatorLineBrush:null,agendaViewAppointmentStartTimeBackgroundBrush:null,agendaViewAppointmentStartTimeFontInfo:null,agendaViewAppointmentStartTimeSelectedBackgroundBrush:null,agendaViewAppointmentStartTimeSelectedTextBrush:null,agendaViewAppointmentStartTimeTextBrush:null,agendaViewAppointmentSubjectBackgroundBrush:null,agendaViewAppointmentSubjectFontInfo:null,agendaViewAppointmentSubjectSelectedBackgroundBrush:null,agendaViewAppointmentSubjectSelectedTextBrush:null,agendaViewAppointmentSubjectTextBrush:null,agendaViewBackgroundBrush:null,agendaViewDayHeaderBackgroundBrush:null,agendaViewDayHeaderFontInfo:null,agendaViewDayHeaderMargin:null,agendaViewDayHeaderSeparatorLineBrush:null,agendaViewDayHeaderTextBrush:null,agendaViewInterDaySpacing:10,agendaViewMaximumDate:null,agendaViewMessageFontInfo:null,agendaViewMessageTextBrush:null,agendaViewMinimumDate:null,allDayEventBackgroundBrush:null,allDayEventAreaBackgroundBrush:null,allDayEventAreaVisibility:"visible",allDayEventFontInfo:null,allDayEventTextBrush:null,dataSource:null,dayHeaderBackgroundBrush:null,dayHeaderFontInfo:null,dayHeaderTextBrush:null,daysOfWeekSettings:null,dayViewAppointmentBackgroundBrush:null,dayViewAppointmentLocationBackgroundBrush:null,dayViewAppointmentLocationFontInfo:null,dayViewAppointmentLocationTextBrush:null,dayViewAppointmentSubjectBackgroundBrush:null,dayViewAppointmentSubjectFontInfo:null,dayViewAppointmentSubjectTextBrush:null,dayViewBackgroundBrush:null,dayViewNavigationHeaderDateFontInfo:null,dayViewNavigationHeaderDateTextBrush:null,dayViewNumberOfDays:1,firstDayOfWeekOverride:null,maximumDate:null,minimumDate:null,monthViewDayActivityIndicatorBrush:null,monthViewAgendaVisibility:"visible",monthViewAppointmentFontInfo:null,monthViewBackgroundBrush:null,monthViewDayContentDisplayMode:"squareIndicator",monthViewDayBackgroundBrush:null,monthViewDayFontInfo:null,monthViewDayTextBrush:null,monthViewDayOfWeekHeaderBackgroundBrush:null,monthViewDayOfWeekHeaderFontInfo:null,monthViewDayOfWeekHeaderMargin:null,monthViewDayOfWeekHeaderTextBrush:null,monthViewDayOfWeekHeaderVisibility:"visible",monthViewHorizontalSeparatorVisibility:"collapsed",monthViewInterMonthSpacing:10,monthViewLeadingDayBackgroundBrush:null,monthViewLeadingDayFontInfo:null,monthViewLeadingDayTextBrush:null,monthViewLeadingDayVisibility:"visible",monthViewNameBackgroundBrush:null,monthViewNameSeparatorLineBrush:null,monthViewNameTextBrush:null,monthViewNameFontInfo:null,monthViewNameMargin:null,monthViewNameVisibility:"collapsed",monthViewNavigationHeaderDateFontInfo:null,monthViewNavigationHeaderDateTextBrush:null,monthViewScrollDirection:"horizontal",monthViewSelectedDayBackgroundBrush:null,monthViewSelectedDayTextBrush:null,monthViewSeparatorLineBrush:null,monthViewTodayHighlightBrush:null,monthViewTodayTextBrush:null,monthViewTrailingDayBackgroundBrush:null,monthViewTrailingDayFontInfo:null,monthViewTrailingDayTextBrush:null,monthViewTrailingDayVisibility:"visible",monthViewVerticalSeparatorVisibility:"collapsed",monthViewWeekNumberBackgroundBrush:null,monthViewWeekNumberFontInfo:null,monthViewWeekNumberTextBrush:null,monthViewWeekNumberVisibility:"collapsed",navigationHeaderBackgroundBrush:null,navigationHeaderBorderBrush:null,navigationHeaderVisibility:"collapsed",resourceHeaderBackgroundBrush:null,resourceHeaderFontInfo:null,resourceHeaderTextBrush:null,selectedAppointment:null,selectedDate:null,timeFormat:"useSystem",timeSlotDescriptorBackgroundBrush:null,timeSlotDescriptorFontInfo:null,timeSlotDescriptorTextBrush:null,timeSlotInterval:"thirtyMinutes",timeSlotMajorHorizontalSeparatorBrush:null,timeSlotMajorHorizontalSeparatorVisibility:"visible",timeSlotMajorVerticalSeparatorBrush:null,timeSlotMajorVerticalSeparatorVisibility:"visible",timeSlotMinorHorizontalSeparatorBrush:null,timeSlotMinorHorizontalSeparatorVisibility:"visible",timeSlotMinorVerticalSeparatorBrush:null,timeSlotMinorVerticalSeparatorVisibility:"visible",timeSlotNonWorkingHourBackgroundBrush:null,timeSlotSelectedBackgroundBrush:null,timeSlotWorkingHourBackgroundBrush:null,viewSplitOrientation:"horizontal",viewMode:null,weekViewBackgroundBrush:null,weekViewDisplayMode:"all7Days",workingHoursDisplayMode:"workingHoursAndNonWorkingHours"},_setOption:function(key,value,checkPrev){var schedulerCore=this._schedulerCore,o=this.options;if(checkPrev&&o[key]===value){return}this._superApply(arguments);if(this._set_option(schedulerCore,key,value)){return this}return this},_set_generated_option:function(schedulerCore,key,value){switch(key){case"height":schedulerCore.height(value);return true;case"width":schedulerCore.width(value);return true;case"cultureName":schedulerCore.cultureName(value);return true;case"activityGroupingMode":switch(value){case"noGrouping":schedulerCore.activityGroupingMode(0);break;case"datesWithinResource":schedulerCore.activityGroupingMode(1);break;case"resourcesWithinDate":schedulerCore.activityGroupingMode(2);break}return true;case"agendaViewAppointmentEndTimeBackgroundBrush":if(value==null){schedulerCore.agendaViewAppointmentEndTimeBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.agendaViewAppointmentEndTimeBackgroundBrush($tempBrush)}return true;case"agendaViewAppointmentEndTimeFontInfo":schedulerCore.agendaViewAppointmentEndTimeFontInfo(value);return true;case"agendaViewAppointmentEndTimeSelectedBackgroundBrush":if(value==null){schedulerCore.agendaViewAppointmentEndTimeSelectedBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.agendaViewAppointmentEndTimeSelectedBackgroundBrush($tempBrush)}return true;case"agendaViewAppointmentEndTimeSelectedTextBrush":if(value==null){schedulerCore.agendaViewAppointmentEndTimeSelectedTextBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.agendaViewAppointmentEndTimeSelectedTextBrush($tempBrush)}return true;case"agendaViewAppointmentEndTimeTextBrush":if(value==null){schedulerCore.agendaViewAppointmentEndTimeTextBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.agendaViewAppointmentEndTimeTextBrush($tempBrush)}return true;case"agendaViewAppointmentLocationBackgroundBrush":if(value==null){schedulerCore.agendaViewAppointmentLocationBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.agendaViewAppointmentLocationBackgroundBrush($tempBrush)}return true;case"agendaViewAppointmentLocationFontInfo":schedulerCore.agendaViewAppointmentLocationFontInfo(value);return true;case"agendaViewAppointmentLocationSelectedBackgroundBrush":if(value==null){schedulerCore.agendaViewAppointmentLocationSelectedBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.agendaViewAppointmentLocationSelectedBackgroundBrush($tempBrush)}return true;case"agendaViewAppointmentLocationSelectedTextBrush":if(value==null){schedulerCore.agendaViewAppointmentLocationSelectedTextBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.agendaViewAppointmentLocationSelectedTextBrush($tempBrush)}return true;case"agendaViewAppointmentLocationTextBrush":if(value==null){schedulerCore.agendaViewAppointmentLocationTextBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.agendaViewAppointmentLocationTextBrush($tempBrush)}return true;case"agendaViewAppointmentMargin":schedulerCore.agendaViewAppointmentMargin(value);return true;case"agendaViewAppointmentScope":switch(value){case"allAppointments":schedulerCore.agendaViewAppointmentScope(0);break;case"onlyAppointmentsForSelectedDate":schedulerCore.agendaViewAppointmentScope(1);break}return true;case"agendaViewAppointmentSeparatorLineBrush":if(value==null){schedulerCore.agendaViewAppointmentSeparatorLineBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.agendaViewAppointmentSeparatorLineBrush($tempBrush)}return true;case"agendaViewAppointmentStartTimeBackgroundBrush":if(value==null){schedulerCore.agendaViewAppointmentStartTimeBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.agendaViewAppointmentStartTimeBackgroundBrush($tempBrush)}return true;case"agendaViewAppointmentStartTimeFontInfo":schedulerCore.agendaViewAppointmentStartTimeFontInfo(value);return true;case"agendaViewAppointmentStartTimeSelectedBackgroundBrush":if(value==null){schedulerCore.agendaViewAppointmentStartTimeSelectedBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.agendaViewAppointmentStartTimeSelectedBackgroundBrush($tempBrush)}return true;case"agendaViewAppointmentStartTimeSelectedTextBrush":if(value==null){schedulerCore.agendaViewAppointmentStartTimeSelectedTextBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.agendaViewAppointmentStartTimeSelectedTextBrush($tempBrush)}return true;case"agendaViewAppointmentStartTimeTextBrush":if(value==null){schedulerCore.agendaViewAppointmentStartTimeTextBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.agendaViewAppointmentStartTimeTextBrush($tempBrush)}return true;case"agendaViewAppointmentSubjectBackgroundBrush":if(value==null){schedulerCore.agendaViewAppointmentSubjectBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.agendaViewAppointmentSubjectBackgroundBrush($tempBrush)}return true;case"agendaViewAppointmentSubjectFontInfo":schedulerCore.agendaViewAppointmentSubjectFontInfo(value);return true;case"agendaViewAppointmentSubjectSelectedBackgroundBrush":if(value==null){schedulerCore.agendaViewAppointmentSubjectSelectedBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.agendaViewAppointmentSubjectSelectedBackgroundBrush($tempBrush)}return true;case"agendaViewAppointmentSubjectSelectedTextBrush":if(value==null){schedulerCore.agendaViewAppointmentSubjectSelectedTextBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.agendaViewAppointmentSubjectSelectedTextBrush($tempBrush)}return true;case"agendaViewAppointmentSubjectTextBrush":if(value==null){schedulerCore.agendaViewAppointmentSubjectTextBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.agendaViewAppointmentSubjectTextBrush($tempBrush)}return true;case"agendaViewBackgroundBrush":if(value==null){schedulerCore.agendaViewBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.agendaViewBackgroundBrush($tempBrush)}return true;case"agendaViewDayHeaderBackgroundBrush":if(value==null){schedulerCore.agendaViewDayHeaderBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.agendaViewDayHeaderBackgroundBrush($tempBrush)}return true;case"agendaViewDayHeaderFontInfo":schedulerCore.agendaViewDayHeaderFontInfo(value);return true;case"agendaViewDayHeaderMargin":schedulerCore.agendaViewDayHeaderMargin(value);return true;case"agendaViewDayHeaderSeparatorLineBrush":if(value==null){schedulerCore.agendaViewDayHeaderSeparatorLineBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.agendaViewDayHeaderSeparatorLineBrush($tempBrush)}return true;case"agendaViewDayHeaderTextBrush":if(value==null){schedulerCore.agendaViewDayHeaderTextBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.agendaViewDayHeaderTextBrush($tempBrush)}return true;case"agendaViewInterDaySpacing":schedulerCore.agendaViewInterDaySpacing(value);return true;case"agendaViewMaximumDate":schedulerCore.agendaViewMaximumDate(value);return true;case"agendaViewMessageFontInfo":schedulerCore.agendaViewMessageFontInfo(value);return true;case"agendaViewMessageTextBrush":if(value==null){schedulerCore.agendaViewMessageTextBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.agendaViewMessageTextBrush($tempBrush)}return true;case"agendaViewMinimumDate":schedulerCore.agendaViewMinimumDate(value);return true;case"allDayEventBackgroundBrush":if(value==null){schedulerCore.allDayEventBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.allDayEventBackgroundBrush($tempBrush)}return true;case"allDayEventAreaBackgroundBrush":if(value==null){schedulerCore.allDayEventAreaBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.allDayEventAreaBackgroundBrush($tempBrush)}return true;case"allDayEventAreaVisibility":switch(value){case"visible":schedulerCore.allDayEventAreaVisibility(0);break;case"collapsed":schedulerCore.allDayEventAreaVisibility(1);break}return true;case"allDayEventFontInfo":schedulerCore.allDayEventFontInfo(value);return true;case"allDayEventTextBrush":if(value==null){schedulerCore.allDayEventTextBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.allDayEventTextBrush($tempBrush)}return true;case"dataSource":schedulerCore.dataSource(value);return true;case"dayHeaderBackgroundBrush":if(value==null){schedulerCore.dayHeaderBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.dayHeaderBackgroundBrush($tempBrush)}return true;case"dayHeaderFontInfo":schedulerCore.dayHeaderFontInfo(value);return true;case"dayHeaderTextBrush":if(value==null){schedulerCore.dayHeaderTextBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.dayHeaderTextBrush($tempBrush)}return true;case"daysOfWeekSettings":schedulerCore.daysOfWeekSettings(value);return true;case"dayViewAppointmentBackgroundBrush":if(value==null){schedulerCore.dayViewAppointmentBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.dayViewAppointmentBackgroundBrush($tempBrush)}return true;case"dayViewAppointmentLocationBackgroundBrush":if(value==null){schedulerCore.dayViewAppointmentLocationBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.dayViewAppointmentLocationBackgroundBrush($tempBrush)}return true;case"dayViewAppointmentLocationFontInfo":schedulerCore.dayViewAppointmentLocationFontInfo(value);return true;case"dayViewAppointmentLocationTextBrush":if(value==null){schedulerCore.dayViewAppointmentLocationTextBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.dayViewAppointmentLocationTextBrush($tempBrush)}return true;case"dayViewAppointmentSubjectBackgroundBrush":if(value==null){schedulerCore.dayViewAppointmentSubjectBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.dayViewAppointmentSubjectBackgroundBrush($tempBrush)}return true;case"dayViewAppointmentSubjectFontInfo":schedulerCore.dayViewAppointmentSubjectFontInfo(value);return true;case"dayViewAppointmentSubjectTextBrush":if(value==null){schedulerCore.dayViewAppointmentSubjectTextBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.dayViewAppointmentSubjectTextBrush($tempBrush)}return true;case"dayViewBackgroundBrush":if(value==null){schedulerCore.dayViewBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.dayViewBackgroundBrush($tempBrush)}return true;case"dayViewNavigationHeaderDateFontInfo":schedulerCore.dayViewNavigationHeaderDateFontInfo(value);return true;case"dayViewNavigationHeaderDateTextBrush":if(value==null){schedulerCore.dayViewNavigationHeaderDateTextBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.dayViewNavigationHeaderDateTextBrush($tempBrush)}return true;case"dayViewNumberOfDays":schedulerCore.dayViewNumberOfDays(value);return true;case"firstDayOfWeekOverride":switch(value){case"sunday":schedulerCore.firstDayOfWeekOverride(0);break;case"monday":schedulerCore.firstDayOfWeekOverride(1);break;case"tuesday":schedulerCore.firstDayOfWeekOverride(2);break;case"wednesday":schedulerCore.firstDayOfWeekOverride(3);break;case"thursday":schedulerCore.firstDayOfWeekOverride(4);break;case"friday":schedulerCore.firstDayOfWeekOverride(5);break;case"saturday":schedulerCore.firstDayOfWeekOverride(6);break}return true;case"maximumDate":schedulerCore.maximumDate(value);return true;case"minimumDate":schedulerCore.minimumDate(value);return true;case"monthViewDayActivityIndicatorBrush":if(value==null){schedulerCore.monthViewDayActivityIndicatorBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.monthViewDayActivityIndicatorBrush($tempBrush)}return true;case"monthViewAgendaVisibility":switch(value){case"visible":schedulerCore.monthViewAgendaVisibility(0);break;case"collapsed":schedulerCore.monthViewAgendaVisibility(1);break}return true;case"monthViewAppointmentFontInfo":schedulerCore.monthViewAppointmentFontInfo(value);return true;case"monthViewBackgroundBrush":if(value==null){schedulerCore.monthViewBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.monthViewBackgroundBrush($tempBrush)}return true;case"monthViewDayContentDisplayMode":switch(value){case"squareIndicator":schedulerCore.monthViewDayContentDisplayMode(0);break;case"activitySubject":schedulerCore.monthViewDayContentDisplayMode(1);break}return true;case"monthViewDayBackgroundBrush":if(value==null){schedulerCore.monthViewDayBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.monthViewDayBackgroundBrush($tempBrush)}return true;case"monthViewDayFontInfo":schedulerCore.monthViewDayFontInfo(value);return true;case"monthViewDayTextBrush":if(value==null){schedulerCore.monthViewDayTextBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.monthViewDayTextBrush($tempBrush)}return true;case"monthViewDayOfWeekHeaderBackgroundBrush":if(value==null){schedulerCore.monthViewDayOfWeekHeaderBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.monthViewDayOfWeekHeaderBackgroundBrush($tempBrush)}return true;case"monthViewDayOfWeekHeaderFontInfo":schedulerCore.monthViewDayOfWeekHeaderFontInfo(value);return true;case"monthViewDayOfWeekHeaderMargin":schedulerCore.monthViewDayOfWeekHeaderMargin(value);return true;case"monthViewDayOfWeekHeaderTextBrush":if(value==null){schedulerCore.monthViewDayOfWeekHeaderTextBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.monthViewDayOfWeekHeaderTextBrush($tempBrush)}return true;case"monthViewDayOfWeekHeaderVisibility":switch(value){case"visible":schedulerCore.monthViewDayOfWeekHeaderVisibility(0);break;case"collapsed":schedulerCore.monthViewDayOfWeekHeaderVisibility(1);break}return true;case"monthViewHorizontalSeparatorVisibility":switch(value){case"visible":schedulerCore.monthViewHorizontalSeparatorVisibility(0);break;case"collapsed":schedulerCore.monthViewHorizontalSeparatorVisibility(1);break}return true;case"monthViewInterMonthSpacing":schedulerCore.monthViewInterMonthSpacing(value);return true;case"monthViewLeadingDayBackgroundBrush":if(value==null){schedulerCore.monthViewLeadingDayBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.monthViewLeadingDayBackgroundBrush($tempBrush)}return true;case"monthViewLeadingDayFontInfo":schedulerCore.monthViewLeadingDayFontInfo(value);return true;case"monthViewLeadingDayTextBrush":if(value==null){schedulerCore.monthViewLeadingDayTextBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.monthViewLeadingDayTextBrush($tempBrush)}return true;case"monthViewLeadingDayVisibility":switch(value){case"visible":schedulerCore.monthViewLeadingDayVisibility(0);break;case"collapsed":schedulerCore.monthViewLeadingDayVisibility(1);break}return true;case"monthViewNameBackgroundBrush":if(value==null){schedulerCore.monthViewNameBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.monthViewNameBackgroundBrush($tempBrush)}return true;case"monthViewNameSeparatorLineBrush":if(value==null){schedulerCore.monthViewNameSeparatorLineBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.monthViewNameSeparatorLineBrush($tempBrush)}return true;case"monthViewNameTextBrush":if(value==null){schedulerCore.monthViewNameTextBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.monthViewNameTextBrush($tempBrush)}return true;case"monthViewNameFontInfo":schedulerCore.monthViewNameFontInfo(value);return true;case"monthViewNameMargin":schedulerCore.monthViewNameMargin(value);return true;case"monthViewNameVisibility":switch(value){case"visible":schedulerCore.monthViewNameVisibility(0);break;case"collapsed":schedulerCore.monthViewNameVisibility(1);break}return true;case"monthViewNavigationHeaderDateFontInfo":schedulerCore.monthViewNavigationHeaderDateFontInfo(value);return true;case"monthViewNavigationHeaderDateTextBrush":if(value==null){schedulerCore.monthViewNavigationHeaderDateTextBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.monthViewNavigationHeaderDateTextBrush($tempBrush)}return true;case"monthViewScrollDirection":switch(value){case"vertical":schedulerCore.monthViewScrollDirection(0);break;case"horizontal":schedulerCore.monthViewScrollDirection(1);break}return true;case"monthViewSelectedDayBackgroundBrush":if(value==null){schedulerCore.monthViewSelectedDayBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.monthViewSelectedDayBackgroundBrush($tempBrush)}return true;case"monthViewSelectedDayTextBrush":if(value==null){schedulerCore.monthViewSelectedDayTextBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.monthViewSelectedDayTextBrush($tempBrush)}return true;case"monthViewSeparatorLineBrush":if(value==null){schedulerCore.monthViewSeparatorLineBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.monthViewSeparatorLineBrush($tempBrush)}return true;case"monthViewTodayHighlightBrush":if(value==null){schedulerCore.monthViewTodayHighlightBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.monthViewTodayHighlightBrush($tempBrush)}return true;case"monthViewTodayTextBrush":if(value==null){schedulerCore.monthViewTodayTextBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.monthViewTodayTextBrush($tempBrush)}return true;case"monthViewTrailingDayBackgroundBrush":if(value==null){schedulerCore.monthViewTrailingDayBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.monthViewTrailingDayBackgroundBrush($tempBrush)}return true;case"monthViewTrailingDayFontInfo":schedulerCore.monthViewTrailingDayFontInfo(value);return true;case"monthViewTrailingDayTextBrush":if(value==null){schedulerCore.monthViewTrailingDayTextBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.monthViewTrailingDayTextBrush($tempBrush)}return true;case"monthViewTrailingDayVisibility":switch(value){case"visible":schedulerCore.monthViewTrailingDayVisibility(0);break;case"collapsed":schedulerCore.monthViewTrailingDayVisibility(1);break}return true;case"monthViewVerticalSeparatorVisibility":switch(value){case"visible":schedulerCore.monthViewVerticalSeparatorVisibility(0);break;case"collapsed":schedulerCore.monthViewVerticalSeparatorVisibility(1);break}return true;case"monthViewWeekNumberBackgroundBrush":if(value==null){schedulerCore.monthViewWeekNumberBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.monthViewWeekNumberBackgroundBrush($tempBrush)}return true;case"monthViewWeekNumberFontInfo":schedulerCore.monthViewWeekNumberFontInfo(value);return true;case"monthViewWeekNumberTextBrush":if(value==null){schedulerCore.monthViewWeekNumberTextBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.monthViewWeekNumberTextBrush($tempBrush)}return true;case"monthViewWeekNumberVisibility":switch(value){case"visible":schedulerCore.monthViewWeekNumberVisibility(0);break;case"collapsed":schedulerCore.monthViewWeekNumberVisibility(1);break}return true;case"navigationHeaderBackgroundBrush":if(value==null){schedulerCore.navigationHeaderBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.navigationHeaderBackgroundBrush($tempBrush)}return true;case"navigationHeaderBorderBrush":if(value==null){schedulerCore.navigationHeaderBorderBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.navigationHeaderBorderBrush($tempBrush)}return true;case"navigationHeaderVisibility":switch(value){case"visible":schedulerCore.navigationHeaderVisibility(0);break;case"collapsed":schedulerCore.navigationHeaderVisibility(1);break}return true;case"resourceHeaderBackgroundBrush":if(value==null){schedulerCore.resourceHeaderBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.resourceHeaderBackgroundBrush($tempBrush)}return true;case"resourceHeaderFontInfo":schedulerCore.resourceHeaderFontInfo(value);return true;case"resourceHeaderTextBrush":if(value==null){schedulerCore.resourceHeaderTextBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.resourceHeaderTextBrush($tempBrush)}return true;case"selectedAppointment":schedulerCore.selectedAppointment(value);return true;case"selectedDate":schedulerCore.selectedDate(value);return true;case"timeFormat":switch(value){case"useSystem":schedulerCore.timeFormat(0);break;case"twelveHour":schedulerCore.timeFormat(1);break;case"twentyFourHour":schedulerCore.timeFormat(2);break}return true;case"timeSlotDescriptorBackgroundBrush":if(value==null){schedulerCore.timeSlotDescriptorBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.timeSlotDescriptorBackgroundBrush($tempBrush)}return true;case"timeSlotDescriptorFontInfo":schedulerCore.timeSlotDescriptorFontInfo(value);return true;case"timeSlotDescriptorTextBrush":if(value==null){schedulerCore.timeSlotDescriptorTextBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.timeSlotDescriptorTextBrush($tempBrush)}return true;case"timeSlotInterval":switch(value){case"fiveMinutes":schedulerCore.timeSlotInterval(0);break;case"sixMinutes":schedulerCore.timeSlotInterval(1);break;case"tenMinutes":schedulerCore.timeSlotInterval(2);break;case"fifteenMinutes":schedulerCore.timeSlotInterval(3);break;case"thirtyMinutes":schedulerCore.timeSlotInterval(4);break;case"sixtyMinutes":schedulerCore.timeSlotInterval(5);break}return true;case"timeSlotMajorHorizontalSeparatorBrush":if(value==null){schedulerCore.timeSlotMajorHorizontalSeparatorBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.timeSlotMajorHorizontalSeparatorBrush($tempBrush)}return true;case"timeSlotMajorHorizontalSeparatorVisibility":switch(value){case"visible":schedulerCore.timeSlotMajorHorizontalSeparatorVisibility(0);break;case"collapsed":schedulerCore.timeSlotMajorHorizontalSeparatorVisibility(1);break}return true;case"timeSlotMajorVerticalSeparatorBrush":
if(value==null){schedulerCore.timeSlotMajorVerticalSeparatorBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.timeSlotMajorVerticalSeparatorBrush($tempBrush)}return true;case"timeSlotMajorVerticalSeparatorVisibility":switch(value){case"visible":schedulerCore.timeSlotMajorVerticalSeparatorVisibility(0);break;case"collapsed":schedulerCore.timeSlotMajorVerticalSeparatorVisibility(1);break}return true;case"timeSlotMinorHorizontalSeparatorBrush":if(value==null){schedulerCore.timeSlotMinorHorizontalSeparatorBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.timeSlotMinorHorizontalSeparatorBrush($tempBrush)}return true;case"timeSlotMinorHorizontalSeparatorVisibility":switch(value){case"visible":schedulerCore.timeSlotMinorHorizontalSeparatorVisibility(0);break;case"collapsed":schedulerCore.timeSlotMinorHorizontalSeparatorVisibility(1);break}return true;case"timeSlotMinorVerticalSeparatorBrush":if(value==null){schedulerCore.timeSlotMinorVerticalSeparatorBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.timeSlotMinorVerticalSeparatorBrush($tempBrush)}return true;case"timeSlotMinorVerticalSeparatorVisibility":switch(value){case"visible":schedulerCore.timeSlotMinorVerticalSeparatorVisibility(0);break;case"collapsed":schedulerCore.timeSlotMinorVerticalSeparatorVisibility(1);break}return true;case"timeSlotNonWorkingHourBackgroundBrush":if(value==null){schedulerCore.timeSlotNonWorkingHourBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.timeSlotNonWorkingHourBackgroundBrush($tempBrush)}return true;case"timeSlotSelectedBackgroundBrush":if(value==null){schedulerCore.timeSlotSelectedBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.timeSlotSelectedBackgroundBrush($tempBrush)}return true;case"timeSlotWorkingHourBackgroundBrush":if(value==null){schedulerCore.timeSlotWorkingHourBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.timeSlotWorkingHourBackgroundBrush($tempBrush)}return true;case"viewSplitOrientation":switch(value){case"vertical":schedulerCore.viewSplitOrientation(0);break;case"horizontal":schedulerCore.viewSplitOrientation(1);break}return true;case"viewMode":switch(value){case"monthView":schedulerCore.viewMode(0);break;case"agendaView":schedulerCore.viewMode(1);break;case"dayView":schedulerCore.viewMode(2);break;case"weekView":schedulerCore.viewMode(3);break}return true;case"weekViewBackgroundBrush":if(value==null){schedulerCore.weekViewBackgroundBrush(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);schedulerCore.weekViewBackgroundBrush($tempBrush)}return true;case"weekViewDisplayMode":switch(value){case"workingDaysOnly":schedulerCore.weekViewDisplayMode(0);break;case"all7Days":schedulerCore.weekViewDisplayMode(1);break}return true;case"workingHoursDisplayMode":switch(value){case"workingHoursOnly":schedulerCore.workingHoursDisplayMode(0);break;case"workingHoursAndNonWorkingHours":schedulerCore.workingHoursDisplayMode(1);break}return true}},_set_option:function(schedulerCore,key,value){var self=this;var currentKey;switch(key){case"width":this._setSize(schedulerCore,"width",value);return true;case"height":this._setSize(schedulerCore,"height",value);return true;default:if(this._set_generated_option(schedulerCore,key,value))return true;return false}},_creationOptions:null,_schedulerCore:null,_menuPropertyChangeHandlers:null,_createWidget:function(options,element,widget){this._creationOptions=options;this._superApply([options,element])},_create:function(){var key,v,size,schedulerCore,width,height,i=-1,self=this,elem=self.element,style=elem[0].style,o=this._creationOptions;self._old_state={style:{position:style.position,width:style.width,height:style.height,visibility:style.visibility},css:elem[0].className,elems:elem.find("*")};if(!$.ig.util._isCanvasSupported()){$.ig.util._renderUnsupportedBrowser(this);return}schedulerCore=this._createScheduler();this.options.selectedDate=schedulerCore.selectedDate();if(+this.options.selectedDate!=+null)this.options.selectedDate=$.ig.Date.prototype.fromTicks(this.options.selectedDate.getTime());self._schedulerCore=schedulerCore;self._schedulerPropertyChangeHandlers={};self._schedulerPropertyChangeHandlers["SelectedDate"]=function(schedulerCore){var selDate=schedulerCore.selectedDate();if(+selDate==+null){this.options.selectedDate=selDate}else{this.options.selectedDate=$.ig.Date.prototype.fromTicks(selDate.getTime())}};self._schedulerPropertyChangeHandlers["SelectedAppointment"]=function(schedulerCore){this.options.selectedAppointment=schedulerCore.selectedAppointment()};self._schedulerPropertyChangeHandlers["SelectedTimeRange"]=function(schedulerCore){var selTimeRange=schedulerCore.selectedTimeRange();if(selTimeRange==+null){this.options.selectedTimeRange=null}else{this.options.selectedTimeRange=selTimeRange.clone()}};schedulerCore.propertyChanged=$.ig.Delegate.prototype.combine(schedulerCore.propertyChanged,jQuery.proxy(this._onSchedulerPropChanged,this));schedulerCore.appointmentDoubleClicked=$.ig.Delegate.prototype.combine(schedulerCore.appointmentDoubleClicked,$.proxy(this._fireSchedulerCore_appointmentDoubleClicked,this));schedulerCore.dayDoubleClicked=$.ig.Delegate.prototype.combine(schedulerCore.dayDoubleClicked,$.proxy(this._fireSchedulerCore_dayDoubleClicked,this));schedulerCore.layoutUpdated=$.ig.Delegate.prototype.combine(schedulerCore.layoutUpdated,$.proxy(this._fireSchedulerCore_layoutUpdated,this));schedulerCore.appointmentClicked=$.ig.Delegate.prototype.combine(schedulerCore.appointmentClicked,$.proxy(this._fireSchedulerCore_appointmentClicked,this));schedulerCore.appointmentSelected=$.ig.Delegate.prototype.combine(schedulerCore.appointmentSelected,$.proxy(this._fireSchedulerCore_appointmentSelected,this));schedulerCore.dayClicked=$.ig.Delegate.prototype.combine(schedulerCore.dayClicked,$.proxy(this._fireSchedulerCore_dayClicked,this));schedulerCore.dayOfWeekHeaderClicked=$.ig.Delegate.prototype.combine(schedulerCore.dayOfWeekHeaderClicked,$.proxy(this._fireSchedulerCore_dayOfWeekHeaderClicked,this));schedulerCore.monthHeaderClicked=$.ig.Delegate.prototype.combine(schedulerCore.monthHeaderClicked,$.proxy(this._fireSchedulerCore_monthHeaderClicked,this));schedulerCore.selectedDateChanged=$.ig.Delegate.prototype.combine(schedulerCore.selectedDateChanged,$.proxy(this._fireSchedulerCore_selectedDateChanged,this));schedulerCore.timeSlotClicked=$.ig.Delegate.prototype.combine(schedulerCore.timeSlotClicked,$.proxy(this._fireSchedulerCore_timeSlotClicked,this));schedulerCore.timeSlotSelected=$.ig.Delegate.prototype.combine(schedulerCore.timeSlotSelected,$.proxy(this._fireSchedulerCore_timeSlotSelected,this));schedulerCore.weekNumberClicked=$.ig.Delegate.prototype.combine(schedulerCore.weekNumberClicked,$.proxy(this._fireSchedulerCore_weekNumberClicked,this));if(o.hasOwnProperty("width"))elem[0].style.width=o["width"];if(o.hasOwnProperty("height"))elem[0].style.height=o["height"];schedulerCore.initializeCss(this.css);schedulerCore.provideContainer(elem[0],$.proxy(this._getLocaleValue,this));for(key in o){if(o.hasOwnProperty(key)){v=o[key];if(v!==null){this._setOption(key,v,false)}}}while(i++<1){key=i===0?"width":"height";if(o[key]){size=key;v=o[key]}else{v=elem[0].style[key]}if(v&&v.indexOf("%")>0){self._setSize(schedulerCore,size=key,v)}}if(!size){self._setSize(schedulerCore,"width")}if(self.css&&self.css.schedulerCore){elem.addClass(self.css.schedulerCore)}schedulerCore._language(this.options.language);schedulerCore.onInitialized()},_createScheduler:function(){return new $.ig.Scheduler},_onSchedulerPropChanged:function(schedulerCore,evt){var handler=this._schedulerPropertyChangeHandlers[evt._propertyName];if(handler)handler.call(this,schedulerCore)},_fireSchedulerCore_appointmentSelected:function(schedulerCore,evt){var opts={};opts.owner=this;opts.selectedAppointment=evt.selectedAppointment();opts.selectedInDate=evt.selectedInDate();opts.viewMode=evt.viewMode();this._trigger("appointmentSelected",null,opts)},_fireSchedulerCore_appointmentClicked:function(schedulerCore,evt){var opts={};opts.owner=this;opts.appointment=evt.clickedAppointment();opts.clickedInDate=evt.clickedInDate();opts.viewMode=evt.viewMode();opts.allowSelection=evt.allowSelection();this._trigger("appointmentClicked",null,opts);evt.allowSelection(opts.allowSelection)},_fireSchedulerCore_appointmentDoubleClicked:function(schedulerCore,evt){var opts={};opts.owner=this;opts.appointment=evt.appointment();opts.clickedInDate=evt.clickedInDate();opts.viewMode=evt.viewMode();this._trigger("appointmentDoubleClicked",null,opts)},_fireSchedulerCore_dayClicked:function(schedulerCore,evt){var opts={};opts.owner=this;opts.clickedDate=evt.clickedDate();opts.viewMode=evt.viewMode();this._trigger("dayClicked",null,opts)},_fireSchedulerCore_dayDoubleClicked:function(schedulerCore,evt){var opts={};opts.owner=this;opts.clickedDate=evt.clickedDate();opts.viewMode=evt.viewMode();this._trigger("dayDoubleClicked",null,opts)},_fireSchedulerCore_dayOfWeekHeaderClicked:function(schedulerCore,evt){var opts={};opts.owner=this;opts.year=evt.year();opts.month=evt.month();opts.dayOfWeek=evt.dayOfWeek();this._trigger("dayOfWeekHeaderClicked",null,opts)},_fireSchedulerCore_layoutUpdated:function(schedulerCore,evt){var opts={};opts.owner=this;opts.viewMode=evt.viewMode();this._trigger("layoutUpdated",null,opts)},_fireSchedulerCore_monthHeaderClicked:function(schedulerCore,evt){var opts={};opts.owner=this;opts.year=evt.year();opts.month=evt.month();this._trigger("monthHeaderClicked",null,opts)},_fireSchedulerCore_selectedDateChanged:function(schedulerCore,evt){var opts={};opts.owner=this;opts.selectedDate=evt.selectedDate();this._trigger("selectedDateChanged",null,opts)},_fireSchedulerCore_timeSlotClicked:function(schedulerCore,evt){var opts={};opts.owner=this;opts.clickedTimeRange=evt.clickedTimeRange().clone();opts.clickedInDate=evt.clickedInDate();opts.clickedInResource=evt.clickedInResource();opts.viewMode=evt.viewMode();opts.allowSelection=evt.allowSelection();this._trigger("timeSlotClicked",null,opts);evt.allowSelection(opts.allowSelection)},_fireSchedulerCore_timeSlotSelected:function(schedulerCore,evt){var opts={};opts.owner=this;opts.selectedTimeRange=evt.selectedTimeRange();opts.selectedInDate=evt.selectedInDate();opts.selectedInResource=evt.selectedInResource();opts.viewMode=evt.viewMode();this._trigger("timeSlotSelected",null,opts)},_fireSchedulerCore_weekNumberClicked:function(schedulerCore,evt){var opts={};opts.owner=this;opts.year=evt.year();opts.month=evt.month();opts.weekNumber=evt.weekNumber();this._trigger("weekNumberClicked",null,opts)},_setSize:function(schedulerCore,key,val){$.ig.util.setSize(this.element,key,val,schedulerCore,this._getNotifyResizeName())},_getNotifyResizeName:function(){return"containerResized"},ensureDayVisibleInMonthView:function(date,animate){if(this._schedulerCore){return this._schedulerCore.ensureDayVisibleInMonthView(date,animate)}return false},ensureDayVisibleInAgendaView:function(date,animate,scrollDayToTop){if(this._schedulerCore){return this._schedulerCore.ensureDayVisibleInAgendaView(date,animate,scrollDayToTop)}return false},ensureDayVisibleInDayOrWeekView:function(date,animate){if(this._schedulerCore){return this._schedulerCore.ensureDayVisibleInDayOrWeekView(date,animate)}return false},ensureMonthVisibleInMonthView:function(date,animate){if(this._schedulerCore){return this._schedulerCore.ensureMonthVisibleInMonthView(date,animate)}return false},flush:function(){if(this._schedulerCore&&this._schedulerCore.flush)this._schedulerCore.flush()},getElementAtPoint:function(x,y){if(this._schedulerCore){var point=$.ig.APIFactory.prototype.createPoint(x,y);return this._schedulerCore.getElementAtPoint(point)}return null},getElementForActivity:function(activity,viewMode,date){if(this._schedulerCore){return this._schedulerCore.getElementForActivity(activity,viewMode,date)}return null},getElementForDay:function(date){if(this._schedulerCore){return this._schedulerCore.getElementForDay(date)}return null},getSelectedTimeSlotElement:function(){if(this._schedulerCore){return this._schedulerCore.getSelectedTimeSlotElement()}return null},hitTest:function(x,y){if(this._schedulerCore){var point=$.ig.APIFactory.prototype.createPoint(x,y);return this._schedulerCore.hitTest(point)}return null},destroy:function(){var key,style,schedulerCore=this._schedulerCore,old=this._old_state,elem=this.element;if(!old){return}elem.find("*").not(old.elems).remove();if(this.css.schedulerCore){elem.removeClass(this.css.schedulerCore)}old=old.style;style=elem[0].style;for(key in old){if(old.hasOwnProperty(key)){if(style[key]!==old[key]){style[key]=old[key]}}}if(schedulerCore){this._setSize(schedulerCore)}this._superApply(arguments);if(schedulerCore&&schedulerCore.destroy){schedulerCore.destroy()}delete this._schedulerCore;delete this._old_state},changeLocale:function($container){this._super($container);if(this._schedulerCore)return this._schedulerCore._language(this.options.language)},styleUpdated:function(){if(this._schedulerCore){this._schedulerCore.styleUpdated()}}});$.extend($.ui.igSchedulerCore,{version:"19.1.20191.172"})})($);/*!@license
* Infragistics.Web.ClientUI Scheduler 19.1.20
*
* Copyright (c) 2011-2019 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends on:
* jquery-1.9.1.js
* jquery.ui.core.js
* jquery.ui.widget.js
* Intl.js
* infragistics.templating.js
* infragistics.util.js
* infragistics.util.jquery.js
* infragistics.ui.scroll.js
* infragistics.ext_core.js
* infragistics.ext_text.js
* infragistics.ext_collections.js
* infragistics.ext_io.js
* infragistics.ext_ui.js
* infragistics.ext_collectionsExtended.js
* infragistics.ext_threading.js
* infragistics.ext_web.js
* infragistics.xml.js
* infragistics.dv_core.js
* infragistics.dv_jquerydom.js
* infragistics.datasource.js
* infragistics.ui.widget.js
* infragistics.scheduler.core.js
* infragistics.ui.scheduler.core.js
* infragistics.ui.shared.js
* infragistics.ui.popover.js
* infragistics.ui.validator.js
* infragistics.ui.notifier.js
* infragistics.ui.editors.js
* infragistics.ui.combo.js
*
* Example to use:
* <script type="text/javascript">
* $(function () {
* $("#scheduler").igScheduler({
* height: "100%",
* width: "100%",
* views: ["month", "agenda"],
* viewMode: "monthView",
* selectedDate: new Date(2017, 3, 15),
* dataSource: new $.ig.DataSource(data);
* });
* </script>
* <input id="scheduler" />
*/
(function($){$.widget("ui.igScheduler",$.ui.igWidget,{localeWidgetName:"SchedulerLocale",options:{views:["monthView","agendaView","weekView","dayView"],viewMode:null,selectedDate:new Date,enableTodayButton:true,width:"100%",height:"100%",agendaViewSettings:{dateRangeInterval:7},weekViewSettings:{weekViewDisplayMode:"workingDaysOnly",workingHoursDisplayMode:"workingHoursOnly",timeSlotInterval:"fiveMinutes"},dayViewSettings:{timeSlotInterval:"fiveMinutes",dayViewNumberOfDays:1,workingHoursDisplayMode:"workingHoursOnly"},monthViewSettings:{appointmentMode:"auto",isAgendaVisible:false,agendaVisibilityType:"allAppointments",viewSplitOrientation:"auto",isHorizontalSeparatorVisibile:true,isVerticalSeparatorVisibile:false,isWeekdayVisible:true,isWeekNumberVisible:false,isPreviousMonthShown:true,isNextMonthShown:true},appointmentDialogSuppress:false,dataSource:null,resources:null},css:{scheduler:"ui-igscheduler",container:"ui-widget ui-corner-all ui-state-default",header:"ui-igscheduler-header",body:"ui-igscheduler-body",todayButton:"ui-igscheduler-today-button",todayButtonIcon:"ui-icon ui-icon-calendar-day",navigator:"ui-igscheduler-navigator",dateRangeButton:"ui-igscheduler-navigator-date-range-button",disabledDateRangeButton:"ui-igscheduler-navigator-disabled-date-range-button",dateRangeButtonSpan:"date-range-button-text",previousButton:"ui-igscheduler-navigator-previous-button",nextButton:"ui-igscheduler-navigator-next-button",tabsContainer:"ui-igscheduler-tabs-container",tabs:"ui-igscheduler-tabs",monthTabIcon:"ui-icon ui-icon-calendar",agendaTabIcon:"ui-icon ui-icon-note",weekTabIcon:"ui-icon ui-icon-week",dayTabIcon:"ui-icon ui-icon-day",selectedTab:"ui-igscheduler-tabs-selected",sideBySideGroup:"ui-igscheduler-side-by-side-group",dayPopoverContent:"ui-igscheduler-day-popover-content",dayPopoverCreateButton:"ui-igscheduler-day-popover-create-button",appointmentPopoverContent:"ui-igscheduler-appointment-popover-content",appointmentPopoverSubject:"ui-igscheduler-appointment-popover-subject",appointmentPopoverFromTo:"ui-igscheduler-appointment-popover-from-to",appointmentPopoverActions:"ui-igscheduler-appointment-actions",appointmentPopoverDeleteButton:"ui-igscheduler-appointment-popover-delete-button ui-igdanger-btn",appointmentPopoverOpenButton:"ui-igscheduler-appointment-popover-open-button",appointmentDialog:"ui-igscheduler-appointment-dialog",appointmentDialogForm:"ui-igscheduler-appointment-dialog-form",appointmentDialogFormGroup:"ui-igscheduler-appointment-form-group",appointmentDialogSubject:"ui-igscheduler-appointment-dialog-subject",appointmentDialogLocation:"ui-igscheduler-appointment-dialog-location",appointmentDialogFromDate:"ui-igscheduler-appointment-dialog-from-date",appointmentDialogFromDateTimeLabel:"ui-igscheduler-appointment-dialog-from-date-time-label",appointmentDialogFromTime:"ui-igscheduler-appointment-dialog-from-time",appointmentDialogToDate:"ui-igscheduler-appointment-dialog-to-date",appointmentDialogToDateTimeLabel:"ui-igscheduler-appointment-dialog-to-date-time-label",appointmentDialogToTime:"ui-igscheduler-appointment-dialog-to-time",appointmentDialogDescription:"ui-igscheduler-appointment-dialog-description",appointmentDialogCreateButton:"ui-igscheduler-appointment-dialog-create-button",appointmentDialogSaveButton:"ui-igscheduler-appointment-dialog-save-button",appointmentDialogCancelButton:"ui-igscheduler-appointment-dialog-cancel-button",deleteAppointmentDialogConfirmation:"ui-igscheduler-delete-appointment-dialog-confirmation",deleteAppointmentDialogActions:"ui-igscheduler-delete-appointment-dialog-actions",deleteAppointmentDialogCancelButton:"ui-igscheduler-delete-appointment-dialog-cancel-button",deleteAppointmentDialogDeleteButton:"ui-igscheduler-delete-appointment-dialog-delete-button ui-igdanger-btn",deleteOccurrenceDialogText:"ui-igscheduler-delete-occurrence-dialog-text",deleteOccurrenceDialogActions:"ui-igscheduler-delete-occurrence-dialog-actions",deleteOccurrenceDialogDeleteButton:"ui-igscheduler-delete-occurrence-dialog-delete-button ui-igdanger-btn",deleteOccurrenceDialogDeleteSeriesButton:"ui-igscheduler-delete-occurrence-dialog-delete-series-button ui-igdanger-btn",deleteOccurrenceDialogCancelButton:"ui-igscheduler-delete-occurrence-dialog-cancel-button",editAppointmentDialogConfirmation:"ui-igscheduler-edit-appointment-dialog-confirmation",editAppointmentDialogActions:"ui-igscheduler-edit-appointment-dialog-actions",editAppointmentDialogOccurrenceButton:"ui-igscheduler-edit-appointment-dialog-occurrence-button",editAppointmentDialogSeriesButton:"ui-igscheduler-delete-appointment-dialog-series-button",resourcesCombo:"ui-igscheduler-resources-combo",resourcesComboItemColor:"ui-igscheduler-resources-combo-item-color",resourcesComboItemDisplayText:"ui-igscheduler-resources-combo-item-text",recurrenceCheckbox:"ui-igscheduler-recurrence-checkbox"},events:{agendaRangeChanging:"agendaRangeChanging",agendaRangeChanged:"agendaRangeChanged",daySelected:"daySelected",monthChanging:"monthChanging",monthChanged:"monthChanged",rendering:"rendering",rendered:"rendered",weekChanging:"weekChanging",weekChanged:"weekChanged",dayChanging:"dayChanging",dayChanged:"dayChanged",viewChanging:"viewChanging",viewChanged:"viewChanged",appointmentDialogOpening:"appointmentDialogOpening",appointmentDialogOpened:"appointmentDialogOpened",appointmentDialogClosing:"appointmentDialogClosing",appointmentDialogClosed:"appointmentDialogClosed",appointmentCreating:"appointmentCreating",appointmentCreated:"appointmentCreated",appointmentDeleting:"appointmentDeleting",appointmentDeleted:"appointmentDeleted",appointmentEditing:"appointmentEditing",appointmentEdited:"appointmentEdited"},_createWidget:function(){this._superApply(arguments)},_initDataSource:function(ds){var schema,dataSource,scheduleListDataSource;schema=new $.ig.DataSchema("array",{fields:[{name:"id",type:"string"},{name:"resourceId",type:"string"},{name:"subject",type:"string"},{name:"location",type:"string"},{name:"description",type:"string"},{name:"recurrence",type:"string"},{name:"start",type:"date"},{name:"end",type:"date"}]});ds=ds||[];ds=schema.transform(ds);dataSource=new $.ig.DataSource({dataSource:ds}).dataBind();scheduleListDataSource=new $.ig.scheduler.ScheduleListDataSource;scheduleListDataSource.appointmentItemsSource(dataSource);if(this.options.resources!==null){scheduleListDataSource.resourceItemsSource(this.options.resources)}this.options.dataSource=scheduleListDataSource;this.options.dataSource.createAppointmentDataObjectCallback=$.proxy(this._createAppointmentCallback,this)},_create:function(){this._options={resoucesById:{},resourcesComboItemTemplate:"<span class='"+this.css.resourcesComboItemColor+"'></span>"+"<span class='"+this.css.resourcesComboItemDisplayText+"'>${displayName}</span>",tabletBreakpoint:768,mobileBreakpoint:576,$header:undefined,$body:undefined,$scheduler:undefined,$todayButton:undefined,$navigator:undefined,$previousButton:undefined,$dateRangeButton:undefined,$nextButton:undefined,$calendar:undefined,$tabs:undefined,monthFormat:this._getRegionalValue("dateTitleMonthPattern"),agendaFormat:this._getRegionalValue("dateTitleFullPattern"),timeFormat:this._getRegionalValue("timePattern"),$dateRangeButtonTextContainer:undefined,$appointmentDialog:undefined,$appointmentDialogSubject:undefined,$appointmentDialogResourceCombo:undefined,$appointmentDialogLocation:undefined,$appointmentDialogFromDate:undefined,$appointmentDialogFromTime:undefined,$appointmentDialogToDate:undefined,$appointmentDialogToTime:undefined,$appointmentDialogDescription:undefined,$appointmentDialogCreateButton:undefined,$appointmentDialogSaveButton:undefined,$appointmentDialogCancelButton:undefined,$appointmentPopover:undefined,$appointmentPopoverContainer:undefined,$appointmentPopoverSubject:undefined,$appointmentPopoverFromTo:undefined,$appointmentPopoverDeleteButton:undefined,$appointmentPopoverOpenButton:undefined,$dayPopover:undefined,$dayPopoverContainer:undefined,$dayPopoverCreateButton:undefined,appointmentDialogDatePickersOptions:{dateInputFormat:"date",dateDisplayFormat:"date"},appointmentDialogTimePickersOptions:{buttonType:"spin",dateInputFormat:"time",dateDisplayFormat:"time"},appointmentDialogDefaultFromTimeHours:9,appointmentDialogDefaultToTimeHours:18,appointmentDialogSpinMinutesDelta:15,appointmentHalfHourTimeRange:18e5,appointmentDialogWidth:"500px",appointmentDialogMobileWidth:"100%",appointmentDialogPosition:"center",appointmentDialogMobilePosition:"top",preventDayClickedEvent:false,currentAppointment:null,$deleteAppointmentDialog:undefined,$deleteAppointmentDialogCancelButton:undefined,$deleteAppointmentDialogDeleteButton:undefined,$deleteOccurrenceDialog:undefined,$deleteOccurrenceDialogDeleteButton:undefined,$deleteOccurrenceDialogDeleteSeriesButton:undefined,$deleteOccurrenceDialogCancelButton:undefined,$editAppointmentDialog:undefined,$editAppointmentDialogOccurrenceButton:undefined,$editAppointmentDialogSeriesButton:undefined};this._initDataSource(this.options.dataSource);this._saveInitialState();$.datepicker.setDefaults($.datepicker.regional[this.options.language]);this._render();this._storeResourcesColorsById()},_render:function(){this._triggerRendering();this._renderContainer();this._renderHeader();this._renderBody();this._attachEventHandlers();this._triggerRendered()},_renderContainer:function(){if(!this.element.is("div")){throw new Error(this._getLocaleValue("nonDivError"))}this.element.addClass(this.css.scheduler).addClass(this.css.container);if(this.options.width){this.element.css("width",this.options.width)}if(this.options.height){this.element.css("height",this.options.height)}},_renderHeader:function(){this._options.$header=$("<div></div>").addClass(this.css.header).appendTo(this.element);this._renderTodayButton();this._renderNavigator();this._renderTabs()},_renderBody:function(){var self=this;this._options.$body=$("<div></div>").addClass(this.css.body).appendTo(this.element);this._options.$scheduler=$("<div></div>").appendTo(this._options.$body).igSchedulerCore(this._setDefaults());this._options.$scheduler.one("igschedulercorelayoutupdated",function(){self._viewMode(self.options.viewMode);self._selectDate(self.options.selectedDate)})},_renderTodayButton:function(){if(this.options.enableTodayButton){this._options.$todayButton=$("<div></div>").addClass(this.css.todayButton).appendTo(this._options.$header);this._options.$todayButton.append($("<span></span>").addClass(this.css.todayButtonIcon));this._options.$todayButton.append("<span data-localeid='todayButton'>"+this._getLocaleValue("todayButton")+"</span>")}},_renderNavigator:function(){this._options.$navigator=$("<div></div>").addClass(this.css.navigator).appendTo(this._options.$header);this._options.$previousButton=$("<div><span></span></div>").addClass(this.css.previousButton).attr({title:this._getLocaleValue("previous"),"data-localeid":"previous","data-localeattr":"title"}).appendTo(this._options.$navigator);this._options.$dateRangeButton=$("<div></div>").addClass(this.css.dateRangeButton).attr({title:this._getLocaleValue("dateRange"),"data-localeid":"dateRange","data-localeattr":"title"}).appendTo(this._options.$navigator);this._renderCalendar();this._options.$dateRangeButtonTextContainer=$("<span></span>").addClass(this.css.dateRangeButtonSpan).appendTo(this._options.$dateRangeButton);this._options.$nextButton=$("<div><span></span></div>").addClass(this.css.nextButton).attr({title:this._getLocaleValue("next"),"data-localeid":"next","data-localeattr":"title"}).appendTo(this._options.$navigator)},_renderCalendar:function(){var pickerOptions,self=this;pickerOptions={onSelect:function(){var date=$(this).datepicker("getDate");self._selectDate(date);self._triggerDaySelected()}};this._options.$calendar=$("<input />").appendTo(this._options.$dateRangeButton).datepicker(pickerOptions);this._options.$calendar.datepicker("setDate",new Date)},_renderTabs:function(){var self=this;this._options.$tabs=$("<div></div>").addClass(this.css.tabsContainer).appendTo(this._options.$header);$.each(this.options.views,function(index,value){self._renderTab(value.replace("View",""))})},_renderTab:function(value){var self=this;this._options["$"+value+"ViewButton"]=$("<div></div>").addClass(self.css.tabs).appendTo(this._options.$tabs).append($("<span></span>").addClass(self.css[value+"TabIcon"])).append("<span data-localeid='"+value+"'>"+this._getLocaleValue(value)+"</span>")},_setDefaults:function(){var selDate=this.options.selectedDate,interval=this.options.agendaViewSettings.dateRangeInterval,settings=this.options.monthViewSettings,orientation=this._getSplitOrientation(),coreOptions;this.options.viewMode=this.options.viewMode!==null?this.options.viewMode:this.options.views[0]||"monthView";coreOptions=$.extend(true,{},this.options);coreOptions.width="100%";coreOptions.height="100%";coreOptions.monthViewScrollMode="paged";coreOptions.monthViewNameVisibility="collapsed";coreOptions.cultureName=this._getLocaleValue("tag");coreOptions.agendaViewMinimumDate=selDate;coreOptions.agendaViewMaximumDate=new $.ig.Date.prototype.addDays(selDate,interval);coreOptions.monthViewAgendaVisibility=settings.isAgendaVisible?"visible":"collapsed";coreOptions.agendaViewAppointmentScope=settings.agendaVisibilityType;coreOptions.viewSplitOrientation=orientation;coreOptions.monthViewDayContentDisplayMode=orientation==="vertical"?"activitySubject":"squareIndicator";coreOptions.monthViewHorizontalSeparatorVisibility=settings.isHorizontalSeparatorVisibile?"visible":"collapsed";coreOptions.monthViewVerticalSeparatorVisibility=settings.isVerticalSeparatorVisibile?"visible":"collapsed";coreOptions.monthViewDayOfWeekHeaderVisibility=settings.isWeekdayVisible?"visible":"collapsed";coreOptions.monthViewWeekNumberVisibility=settings.isWeekNumberVisible?"visible":"collapsed";coreOptions.monthViewLeadingDayVisibility=settings.isPreviousMonthShown?"visible":"collapsed";coreOptions.monthViewTrailingDayVisibility=settings.isNextMonthShown?"visible":"collapsed";return coreOptions},_dateRangeButtonText:function(date){var viewMode=this.options.viewMode,pattern;if(viewMode==="monthView"){pattern=this._options.monthFormat}else if(viewMode==="agendaView"||viewMode==="weekView"||viewMode==="dayView"){pattern=this._options.agendaFormat}this._options.$dateRangeButtonTextContainer.text($.datepicker.formatDate(pattern,date))},_tabSwitcher:function(mode,event){var currentSelectedView=this.options.viewMode,noCancel=this._triggerViewChanging(event,mode,currentSelectedView);if(noCancel){switch(mode){case"monthView":this._viewMode("monthView");break;case"agendaView":this._viewMode("agendaView");break;case"weekView":this._viewMode("weekView");break;case"dayView":this._viewMode("dayView");break}this._triggerViewChanged(event,mode)}},_viewMode:function(mode){switch(mode){case"monthView":this._options.$scheduler.igSchedulerCore("option","viewMode","monthView");this.options.viewMode="monthView";this._options.$calendar.datepicker("option","dateFormat",this._options.monthFormat);var minDate=this._options.$scheduler.igSchedulerCore("option","agendaViewMinimumDate");this._selectDate(minDate);this._options.$calendar.datepicker("hide");this._options.$dateRangeButton.removeClass(this.css.dateRangeButton);this._options.$dateRangeButton.addClass(this.css.disabledDateRangeButton);if(this._options.$monthViewButton){this._options.$monthViewButton.addClass(this.css.selectedTab)}if(this._options.$agendaViewButton){this._options.$agendaViewButton.removeClass(this.css.selectedTab)}if(this._options.$weekViewButton){this._options.$weekViewButton.removeClass(this.css.selectedTab)}if(this._options.$dayViewButton){this._options.$dayViewButton.removeClass(this.css.selectedTab)}break;case"agendaView":this._options.$scheduler.igSchedulerCore("option","viewMode","agendaView");this.options.viewMode="agendaView";this._options.$calendar.datepicker("option","dateFormat",this._options.agendaFormat);this._selectDate(this._options.$scheduler.igSchedulerCore("option","selectedDate"));this._options.$dateRangeButton.removeClass(this.css.disabledDateRangeButton);this._options.$dateRangeButton.addClass(this.css.dateRangeButton);if(this._options.$agendaViewButton){this._options.$agendaViewButton.addClass(this.css.selectedTab)}if(this._options.$monthViewButton){this._options.$monthViewButton.removeClass(this.css.selectedTab)}if(this._options.$weekViewButton){this._options.$weekViewButton.removeClass(this.css.selectedTab)}if(this._options.$dayViewButton){this._options.$dayViewButton.removeClass(this.css.selectedTab)}break;case"weekView":this._options.$scheduler.igSchedulerCore("option","viewMode","weekView");this.options.viewMode="weekView";this._setDayWeekViewSettings(this.options.weekViewSettings);this._options.$calendar.datepicker("option","dateFormat",this._options.agendaFormat);this._selectDate(this._options.$scheduler.igSchedulerCore("option","selectedDate"));this._options.$dateRangeButton.removeClass(this.css.disabledDateRangeButton);this._options.$dateRangeButton.addClass(this.css.dateRangeButton);if(this._options.$agendaViewButton){this._options.$agendaViewButton.removeClass(this.css.selectedTab)}if(this._options.$monthViewButton){this._options.$monthViewButton.removeClass(this.css.selectedTab)}if(this._options.$weekViewButton){this._options.$weekViewButton.addClass(this.css.selectedTab)}if(this._options.$dayViewButton){this._options.$dayViewButton.removeClass(this.css.selectedTab)}break;case"dayView":this._options.$scheduler.igSchedulerCore("option","viewMode","dayView");this.options.viewMode="dayView";this._setDayWeekViewSettings(this.options.dayViewSettings);this._options.$calendar.datepicker("option","dateFormat",this._options.agendaFormat);this._selectDate(this._options.$scheduler.igSchedulerCore("option","selectedDate"));this._options.$dateRangeButton.removeClass(this.css.disabledDateRangeButton);this._options.$dateRangeButton.addClass(this.css.dateRangeButton);if(this._options.$agendaViewButton){this._options.$agendaViewButton.removeClass(this.css.selectedTab)}if(this._options.$monthViewButton){this._options.$monthViewButton.removeClass(this.css.selectedTab)}if(this._options.$weekViewButton){this._options.$weekViewButton.removeClass(this.css.selectedTab)}if(this._options.$dayViewButton){this._options.$dayViewButton.addClass(this.css.selectedTab)}break}},_changeTimePeriod:function(event,delta){var newDate,startAgendaRangeDate,agendaRange,noCancel,daysInWeek=7;if(this._options.$scheduler.igSchedulerCore("option","viewMode")==="monthView"){newDate=new Date(this._options.$scheduler.igSchedulerCore("option","selectedDate"));newDate.setMonth(newDate.getMonth()+delta);noCancel=this._triggerMonthChanging(event,newDate);if(noCancel){this._selectDate(newDate);this._triggerMonthChanged(event)}}else if(this._options.$scheduler.igSchedulerCore("option","viewMode")==="agendaView"){agendaRange=this.options.agendaViewSettings.dateRangeInterval;startAgendaRangeDate=this._options.$scheduler.igSchedulerCore("option","agendaViewMinimumDate");startAgendaRangeDate=new Date(startAgendaRangeDate.getFullYear(),startAgendaRangeDate.getMonth(),startAgendaRangeDate.getDate()+delta*agendaRange);noCancel=this._triggerAgendaRangeChanging(event,startAgendaRangeDate);if(noCancel){this._selectDate(startAgendaRangeDate);this._triggerAgendaRangeChanged(event)}}else if(this._options.$scheduler.igSchedulerCore("option","viewMode")==="weekView"){newDate=new Date(this._options.$scheduler.igSchedulerCore("option","selectedDate"));newDate.setDate(newDate.getDate()+daysInWeek*delta);noCancel=this._triggerWeekChanging(event,newDate);if(noCancel){this._selectDate(newDate);this._triggerWeekChanged(event)}}else if(this._options.$scheduler.igSchedulerCore("option","viewMode")==="dayView"){newDate=new Date(this._options.$scheduler.igSchedulerCore("option","selectedDate"));newDate.setDate(newDate.getDate()+delta);noCancel=this._triggerDayChanging(event,newDate);if(noCancel){this._selectDate(newDate);this._triggerDayChanged(event)}}},_selectDate:function(date){var monthDate=this._options.$scheduler.igSchedulerCore("option","selectedDate");if(this.options.selectedDate!==date){this.options.selectedDate=date}this._dateRangeButtonText(date);if(this._options.$calendar.datepicker("getDate")!==date){this._options.$calendar.datepicker("setDate",date)}if(monthDate.getTime()!==date.getTime()){this._options.$scheduler.igSchedulerCore("option","selectedDate",date)}this._options.$scheduler.igSchedulerCore("ensureMonthVisibleInMonthView",date);this._options.$scheduler.igSchedulerCore("ensureDayVisibleInMonthView",date);this._options.$scheduler.igSchedulerCore("ensureDayVisibleInDayOrWeekView",date);this._setOption("agendaViewMinimumDate",date);this._setOption("agendaViewMaximumDate",new $.ig.Date.prototype.addDays(date,this.options.agendaViewSettings.dateRangeInterval))},_attachEventHandlers:function(){this._attachHeaderEventHandlers();this._attachSchedulerEventHandlers();this._attachDocumentEventHandlers()},_attachHeaderEventHandlers:function(){var self=this;this._options.$todayButton.on("click",function(){self._selectDate(new Date)});this._options.$previousButton.on("click",function(event){self._changeTimePeriod(event,-1)});this._options.$dateRangeButton.on("click",function(){var view=self._options.$scheduler.igSchedulerCore("option","viewMode");if(view==="monthView"){return}else{self._options.$calendar.datepicker("show")}});this._options.$nextButton.on("click",function(event){self._changeTimePeriod(event,1)});if(this._options.$monthViewButton){this._options.$monthViewButton.on("click",function(event){self._tabSwitcher("monthView",event)})}if(this._options.$agendaViewButton){this._options.$agendaViewButton.on("click",function(event){self._tabSwitcher("agendaView",event)})}if(this._options.$weekViewButton){this._options.$weekViewButton.on("click",function(event){self._tabSwitcher("weekView",event)})}if(this._options.$dayViewButton){this._options.$dayViewButton.on("click",function(event){self._tabSwitcher("dayView",event)})}},_detachHeaderEventHandlers:function(){this._options.$todayButton.off();this._options.$previousButton.off();this._options.$dateRangeButton.off();this._options.$nextButton.off();if(this._options.$monthViewButton){this._options.$monthViewButton.off()}if(this._options.$agendaViewButton){this._options.$agendaViewButton.off()}if(this._options.$weekViewButton){this._options.$weekViewButton.off()}if(this._options.$dayViewButton){this._options.$dayViewButton.off()}},_attachSchedulerEventHandlers:function(){this._options.$scheduler.on("igschedulercoredayclicked",$.proxy(this._onDayClicked,this));this._options.$scheduler.on("igschedulercoreappointmentselected",$.proxy(this._onAppointmentSelected,this));this._options.$scheduler.on("igschedulercoreappointmentclicked",$.proxy(this._onAppointmentClicked,this));this._options.$scheduler.on("igschedulercoretimeslotclicked",$.proxy(this._onTimeSlotClicked,this))},_detachSchedulerEventHandlers:function(){this._options.$scheduler.off("igschedulercoredayclicked",$.proxy(this._onDayClicked,this));this._options.$scheduler.off("igschedulercoreappointmentselected",$.proxy(this._onAppointmentSelected,this));this._options.$scheduler.off("igschedulercoreappointmentclicked",$.proxy(this._onAppointmentClicked,this));this._options.$scheduler.off("igschedulercoretimeslotclicked",$.proxy(this._onTimeSlotClicked,this))},_attachDocumentEventHandlers:function(){$(document).on("click",$.proxy(this._onDocumentClicked,this));$(window).on("resize",$.proxy(this._onWindowResize,this))},_detachDocumentEventHandlers:function(){$(document).off("click",$.proxy(this._onDocumentClicked,this));$(window).off("resize",$.proxy(this._onWindowResize,this))},_onDayClicked:function(event,args){this._selectDate(args.clickedDate);if(this.options.appointmentDialogSuppress){return}if(this._options.preventDayClickedEvent){this._options.preventDayClickedEvent=false;return}if(this._options.$dayPopover===undefined){this._renderDayPopover()}if(args.clickedDate.getMonth()!==this.options.selectedDate.getMonth()){this._options.$dayPopover.igPopover("hide");return}if(this._options.$appointmentPopover&&this._options.$appointmentPopoverContainer.css("display")!=="none"){this._options.$appointmentPopover.igPopover("hide")}setTimeout(function(self,clickedDate){try{var selectedDayElement=self._options.$scheduler.igSchedulerCore("getElementForDay",clickedDate);self._options.$dayPopover.igPopover("show",$(selectedDayElement))}catch(e){console.log(e)}},100,this,args.clickedDate)},_onAppointmentClicked:function(event,args){if(this.options.appointmentDialogSuppress){return}if(args.viewMode===$.ig.scheduler.SchedulerViewMode.monthView||args.viewMode===$.ig.scheduler.SchedulerViewMode.weekView||args.viewMode===$.ig.scheduler.SchedulerViewMode.dayView){var element,fromTo;this._options.preventDayClickedEvent=true;if(this._options.$appointmentPopover===undefined){this._renderAppointmentPopover()}if(this._options.$appointmentPopoverContainer.css("display")!=="none"){this._options.$appointmentPopover.igPopover("hide")}this._options.currentAppointment=args.appointment;this._options.$appointmentPopoverSubject.text(args.appointment.subject());fromTo=this._formatDateToAMPM(args.appointment.start())+" - "+this._formatDateToAMPM(args.appointment.end());this._options.$appointmentPopoverFromTo.text(fromTo);element=this._options.$scheduler.igSchedulerCore("getElementForActivity",args.appointment,args.viewMode,args.clickedInDate);setTimeout(function(self){try{self._options.$appointmentPopover.igPopover("show",$(element))}catch(e){console.log(e)}},100,this)}},_onAppointmentSelected:function(event,args){var newSelectedDay=args.selectedAppointment.start();this.options.selectedDate=newSelectedDay;this._dateRangeButtonText(newSelectedDay);this._options.$calendar.datepicker("setDate",newSelectedDay)},_onTimeSlotClicked:function(event,args){var element;if(this._options.$dayPopover===undefined){this._renderDayPopover()}setTimeout(function(self){element=self._options.$scheduler.igSchedulerCore("getSelectedTimeSlotElement",args.appointment,args.viewMode,args.clickedInDate);self._selectDate(new Date(args.clickedInDate.getTime()+args.clickedTimeRange.start()));self._options.$dayPopover.igPopover("show",$(element))},100,this)},_openAppointmentDialogForCreating:function(event){var noCancel;if(this._options.$appointmentDialog===undefined){this._renderAppointmentDialog()}this._toggleAppointmentDialogRecurrenceFrequencyRequiredValidaton(this._options.$appointmentDialogRecurrenceCheckbox.igCheckboxEditor("value"));noCancel=this._triggerAppointmentDialogOpening(true,event);if(noCancel){this._options.currentAppointment=undefined;this._clearAppointmentDialogData();this._options.$appointmentDialog.dialog("option","title",this._getLocaleValue("createNewAppointmentDialogTitle"));this._updateAppointmentDialogTitleColor("");this._options.$appointmentDialogSaveButton.hide();this._options.$appointmentDialogCreateButton.show();this._options.$appointmentDialog.dialog("open");this._triggerAppointmentDialogOpened(true,event)}},_openAppointmentDialogForEditing:function(event){var appointment,fromDate,toDate,noCancel,resourceColor=null,recurrenceRoot,recurrenceICalendarString,recurrence;if(this._options.$appointmentDialog===undefined){this._renderAppointmentDialog()}this._toggleAppointmentDialogRecurrenceFrequencyRequiredValidaton(this._options.$appointmentDialogRecurrenceCheckbox.igCheckboxEditor("value"));noCancel=this._triggerAppointmentDialogOpening(false,event);if(noCancel){appointment=this._options.currentAppointment;this._clearAppointmentDialogData();this._options.$appointmentDialogSubject.igTextEditor("value",appointment.subject());this._options.$appointmentDialogLocation.igTextEditor("value",appointment.location());this._options.$appointmentDialog.dialog("option","title",this._getLocaleValue("editAppointmentDialogTitle"));if(appointment.resourceId()!==null){this._options.$appointmentDialogResourceCombo.igCombo("value",appointment.resourceId());resourceColor=this._getResourceColorById(appointment.resourceId())}if(appointment.isRecurrenceRoot()){recurrenceRoot=appointment;recurrenceICalendarString=recurrenceRoot.recurrence();recurrence=$.ig.scheduler.DateRecurrence.fromICalendarString(recurrenceICalendarString);this._options.$appointmentDialogRecurrenceCheckbox.igCheckboxEditor("value",true);this._options.$appointmentDialogRecurrenceCountNumericEditor.igNumericEditor("value",recurrence.count());this._options.$appointmentDialogRecurrenceFrequencyCombo.igCombo("value",recurrence.frequency());this._options.$appointmentDialogRecurrenceOptions.show();this._options.$appointmentDialog.dialog("option","title",this._getLocaleValue("editSeriesDialogTitle"))}if(appointment.recurrenceRoot()!==null){this._showResourceGroupElements(false);this._showRecurrenceGroupElements(false);this._options.$appointmentDialog.dialog("option","title",this._getLocaleValue("editOccurrenceDialogTitle"))}fromDate=appointment.start();toDate=appointment.end();this._setAppointmentDialogFromToDates(fromDate,toDate);this._options.$appointmentDialogDescription.igTextEditor("value",appointment.description());this._updateAppointmentDialogTitleColor(resourceColor);this._options.$appointmentDialogSaveButton.show();this._options.$appointmentDialogCreateButton.hide();this._options.$appointmentDialog.dialog("open");this._triggerAppointmentDialogOpened(false,event)}},_onWindowResize:function(){this._setResponsiveUI()},_setResponsiveUI:function(){var currentOrientation,newOrientation;currentOrientation=this._options.$scheduler.igSchedulerCore("option","viewSplitOrientation");newOrientation=this._getSplitOrientation();if(currentOrientation!==newOrientation){this._options.$scheduler.igSchedulerCore("option","viewSplitOrientation",newOrientation);this._options.$scheduler.igSchedulerCore("option","monthViewDayContentDisplayMode",newOrientation==="vertical"?"activitySubject":"squareIndicator")}if(this._options.$appointmentDialog){this._options.$appointmentDialog.dialog("option","position",this._getDialogPosition());this._options.$appointmentDialog.dialog("option","width",this._getDialogWidth())}if(this._options.$deleteAppointmentDialog){this._options.$deleteAppointmentDialog.dialog("option","position",this._getDialogPosition());this._options.$deleteAppointmentDialog.dialog("option","width",this._getDialogWidth())}},_getSplitOrientation:function(){var orientation=this.options.monthViewSettings.viewSplitOrientation,containerWidth=this.element.outerWidth();if(orientation==="auto"){if(containerWidth<this._options.tabletBreakpoint){orientation="horizontal"}else{orientation="vertical"}}return orientation},_getDialogPosition:function(){var containerWidth=this.element.outerWidth(),position;if(containerWidth<this._options.mobileBreakpoint){position=this._options.appointmentDialogMobilePosition}else{position=this._options.appointmentDialogPosition}return{my:position,at:position,of:this.element}},_getDialogWidth:function(){return this.element.outerWidth()<this._options.mobileBreakpoint?this._options.appointmentDialogMobileWidth:this._options.appointmentDialogWidth},_clearAppointmentDialogData:function(){this._options.$appointmentDialogSubject.igTextEditor("value","");this._options.$appointmentDialogLocation.igTextEditor("value","");this._setAppointmentDialogDefaultDateTime();this._options.$appointmentDialogDescription.igTextEditor("value","");this._options.$appointmentDialogResourceCombo.igCombo("deselectAll");this._options.$appointmentDialogRecurrenceCheckbox.igCheckboxEditor("value",false);this._clearAppointmentDialogRecurrenceData()},_clearAppointmentDialogRecurrenceData:function(){this._options.$appointmentDialogRecurrenceFrequencyCombo.igCombo("deselectAll");this._options.$appointmentDialogRecurrenceCountNumericEditor.igNumericEditor("value",1)},_setAppointmentDialogDefaultDateTime:function(){var selectedDate=this.options.selectedDate,selectedDateYear=selectedDate.getFullYear(),selectedDateMonth=selectedDate.getMonth(),selectedDateDay=selectedDate.getDate(),selectedDateHours=selectedDate.getHours(),selectedDateMinutes=selectedDate.getMinutes(),fromDate,fromHours=this._options.appointmentDialogDefaultFromTimeHours,toDate,toMinutes=new Date(selectedDate.getTime()+this._options.appointmentHalfHourTimeRange).getMinutes(),toHours=new Date(selectedDate.getTime()+this._options.appointmentHalfHourTimeRange).getHours();
if(selectedDateHours===0){fromHours=this._options.appointmentDialogDefaultFromTimeHours;toHours=this._options.appointmentDialogDefaultToTimeHours}fromDate=new Date(selectedDateYear,selectedDateMonth,selectedDateDay,selectedDateHours,selectedDateMinutes);toDate=new Date(selectedDateYear,selectedDateMonth,selectedDateDay,toHours,toMinutes);this._setAppointmentDialogFromToDates(fromDate,toDate)},_setAppointmentDialogFromToDates:function(fromDate,toDate){this._setDateValue(this._options.$appointmentDialogFromDate,this._options.$appointmentDialogFromTime,fromDate);this._setDateValue(this._options.$appointmentDialogToDate,this._options.$appointmentDialogToTime,toDate)},_setDateValue:function(picker,editor,value){if(picker){picker.igDatePicker("option","value",value)}if(editor){editor.igDateEditor("option","value",value)}},_renderAppointmentDialog:function(){var self=this,$appointmentDialogForm=$("<form></form>").addClass(this.css.appointmentDialogForm),$subjectLocationContainer=$("<div></div>").addClass(this.css.sideBySideGroup);this._options.$appointmentDialog=$appointmentDialogForm.appendTo(this.element).dialog({autoOpen:false,modal:true,width:this._getDialogWidth(),position:this._getDialogPosition(),resizable:false,closeText:this._getLocaleValue("dialogCloseButtonText"),dialogClass:this.css.appointmentDialog,create:function(){$appointmentDialogForm.append($subjectLocationContainer);self._renderAppointmentDialogSubject($subjectLocationContainer);self._renderAppointmentDialogLocation($subjectLocationContainer);self._renderAppointmentDialogFromDateTime($appointmentDialogForm);self._renderAppointmentDialogToDateTime($appointmentDialogForm);self._renderAppointmentDialogResource($appointmentDialogForm);self._renderAppointmentDialogRecurrence($appointmentDialogForm);self._renderAppointmentDialogDescription($appointmentDialogForm);self._renderAppointmentDialogActions($appointmentDialogForm);self._initializeAppointmentDialogFieldsValidator($appointmentDialogForm)},beforeClose:function(event){var isAppointmentNew=self._options.currentAppointment?false:true,noCancel=self._triggerAppointmentDialogClosing(isAppointmentNew,event);if(noCancel){self._options.$appointmentDialog.igValidator("hide");self._options.$appointmentDialogRecurrenceOptions.hide()}else{return false}self._showRecurrenceGroupElements(true);self._showResourceGroupElements(true)},close:function(event){var isAppointmentNew=self._options.currentAppointment?false:true;self._triggerAppointmentDialogClosed(isAppointmentNew,event)},dragStart:function(event){if(self.element.outerWidth()<self._options.mobileBreakpoint){event.preventDefault()}}})},_renderAppointmentDialogSubject:function(container){var $subjectContainer=$("<div></div").addClass(this.css.appointmentDialogFormGroup),$subjectLabel=$("<label></label>").text(this._getLocaleValue("appointmentDialogSubjectLabel")).attr("data-localeid","appointmentDialogSubjectLabel");this._options.$appointmentDialogSubject=$("<input type='text' />").addClass(this.css.appointmentDialogSubject);container.append($subjectContainer.append($subjectLabel).append(this._options.$appointmentDialogSubject));this._options.$appointmentDialogSubject.igTextEditor({placeHolder:this._getLocaleValue("appointmentDialogSubjectLabel")})},_renderAppointmentDialogLocation:function(container){var $locationContainer=$("<div></div>").addClass(this.css.appointmentDialogFormGroup),$locationLabel=$("<label></label>").text(this._getLocaleValue("appointmentDialogLocationLabel")).attr("data-localeid","appointmentDialogLocationLabel");this._options.$appointmentDialogLocation=$("<input type='text' />").addClass(this.css.appointmentDialogLocation);container.append($locationContainer.append($locationLabel).append(this._options.$appointmentDialogLocation));this._options.$appointmentDialogLocation.igTextEditor({placeHolder:this._getLocaleValue("appointmentDialogLocationLabel")})},_renderAppointmentDialogFromDateTime:function(container){var self=this,$fromContainer=$("<div></div>").addClass(this.css.sideBySideGroup),$fromLabel=$("<label></label>").addClass(this.css.appointmentDialogFromDateTimeLabel).text(this._getLocaleValue("appointmentDialogFromLabel")).attr("data-localeid","appointmentDialogFromLabel"),$fromDateContainer=$("<div></div>").addClass(this.css.appointmentDialogFormGroup),$fromTimeContainer=$("<div></div>").addClass(this.css.appointmentDialogFormGroup),fromDateOptions,fromTimeOptions;this._options.$appointmentDialogFromDate=$("<input type='date' autocomplete='off' />").addClass(this.css.appointmentDialogFromDate);this._options.$appointmentDialogFromTime=$("<input type='date' autocomplete='off' />").addClass(this.css.appointmentDialogFromTime);$fromDateContainer.append(this._options.$appointmentDialogFromDate);$fromTimeContainer.append(this._options.$appointmentDialogFromTime);container.append($fromLabel).append($fromContainer.append($fromDateContainer).append($fromTimeContainer));fromDateOptions=$.extend({},{valueChanged:function(){self._triggerValidationForToDate()},language:this.options.language,regional:this.options.language},this._options.appointmentDialogDatePickersOptions);fromTimeOptions=$.extend({},{valueChanged:function(){self._triggerValidationForToDate()},rendered:function(evt,ui){self._overwriteSpinHandlers(ui.owner)},language:this.options.language,regional:this.options.language},this._options.appointmentDialogTimePickersOptions);this._options.$appointmentDialogFromDate.igDatePicker(fromDateOptions);this._options.$appointmentDialogFromTime.igDateEditor(fromTimeOptions)},_triggerValidationForToDate:function(){this._options.$appointmentDialog.igValidator("validate",3)},_renderAppointmentDialogToDateTime:function(container){var self=this,$toContainer=$("<div></div>").addClass(this.css.sideBySideGroup),$toLabel=$("<label></label>").addClass(this.css.appointmentDialogToDateTimeLabel).text(this._getLocaleValue("appointmentDialogToLabel")).attr("data-localeid","appointmentDialogToLabel"),$toDateContainer=$("<div></div>").addClass(this.css.appointmentDialogFormGroup),$toTimeContainer=$("<div></div>").addClass(this.css.appointmentDialogFormGroup),toDateOptions,toTimeOptions;this._options.$appointmentDialogToDate=$("<input type='text' autocomplete='off' />").addClass(this.css.appointmentDialogToDate);this._options.$appointmentDialogToTime=$("<input type='date' autocomplete='off' />").addClass(this.css.appointmentDialogToTime);$toDateContainer.append(this._options.$appointmentDialogToDate);$toTimeContainer.append(this._options.$appointmentDialogToTime);container.append($toLabel).append($toContainer.append($toDateContainer).append($toTimeContainer));toDateOptions=$.extend({},{language:this.options.language,regional:this.options.language},this._options.appointmentDialogDatePickersOptions);toTimeOptions=$.extend({},{valueChanged:function(){self._triggerValidationForToDate()},rendered:function(evt,ui){self._overwriteSpinHandlers(ui.owner)},language:this.options.language,regional:this.options.language},this._options.appointmentDialogTimePickersOptions);this._options.$appointmentDialogToDate.igDatePicker(toDateOptions);this._options.$appointmentDialogToTime.igDateEditor(toTimeOptions)},_overwriteSpinHandlers:function(editor){var self=this,spinMinutesDelta=this._options.appointmentDialogSpinMinutesDelta,oldSpinEditMode,oldSpinDisplayMode;oldSpinEditMode=editor._spinEditMode;editor._spinEditMode=function(delta,userInteraction){oldSpinEditMode.apply(editor,[delta*self._getDelta(editor,spinMinutesDelta,delta),userInteraction])};oldSpinDisplayMode=editor._spinDisplayMode;editor._spinDisplayMode=function(delta,userInteraction){oldSpinDisplayMode.apply(editor,[delta*spinMinutesDelta,userInteraction])}},_getDelta:function(editor,delta){return editor._getTimePosition().name==="minutes"?delta:1},_renderAppointmentDialogResource:function(container){var $ownerLabel=$("<label></label>").text(this._getLocaleValue("appointmentDialogResourceLabel")).attr("data-localeid","appointmentDialogResourceLabel"),comboOptions;this._options.$appointmentDialogResourceOwnerContainer=$("<div></div>").addClass(this.css.appointmentDialogFormGroup);this._options.$appointmentDialogResourceCombo=$("<div></div>").addClass(this.css.resourcesCombo);comboOptions={selectionChanged:$.proxy(this._appointmentDialogResourceComboSelectionChanged,this),itemsRendered:$.proxy(this._onAppointmentDialogResourcesComboItemsRendered,this),textKey:"displayName",valueKey:"id",itemTemplate:this._options.resourcesComboItemTemplate,dataSource:this.options.dataSource.resourceItemsSource(),language:this.options.language};this._options.$appointmentDialogResourceCombo.igCombo(comboOptions);container.append(this._options.$appointmentDialogResourceOwnerContainer.append($ownerLabel).append(this._options.$appointmentDialogResourceCombo))},_appointmentDialogResourceComboSelectionChanged:function(evt,ui){var $colorContainer,color=null;if(ui.items.length>0){$colorContainer=$(ui.items[0].element).find("."+this.css.resourcesComboItemColor);color=$colorContainer.css("background-color")}this._updateAppointmentDialogTitleColor(color)},_renderAppointmentDialogRecurrence:function(container){var $ownerLabel=$("<label></label>").text(this._getLocaleValue("recurringEventLabel")).attr("data-localeid","recurringEventLabel"),self=this,checkboxOptions;this._options.$appointmentDialogRecurrenceOwnerContainer=$("<div></div>").addClass(this.css.appointmentDialogFormGroup);this._options.$appointmentDialogRecurrenceCheckbox=$("<div></div>").addClass(this.css.recurrenceCheckbox);checkboxOptions={checked:false,valueChanged:function(evt,ui){if(ui.newValue===true){self._options.$appointmentDialogRecurrenceOptions.show()}else{self._options.$appointmentDialogRecurrenceOptions.hide();self._clearAppointmentDialogRecurrenceData()}self._toggleAppointmentDialogRecurrenceFrequencyRequiredValidaton(ui.newValue)}};this._options.$appointmentDialogRecurrenceCheckbox.igCheckboxEditor(checkboxOptions);container.append(this._options.$appointmentDialogRecurrenceOwnerContainer.append($ownerLabel).append(this._options.$appointmentDialogRecurrenceCheckbox));this._renderAppointmentDialogRecurrenceOptions(container);this._options.$appointmentDialogRecurrenceOptions.hide()},_renderAppointmentDialogRecurrenceOptions:function(container){var $frequencyContainer=$("<div></div>").addClass(this.css.appointmentDialogFormGroup),$countContainer=$("<div></div>").addClass(this.css.appointmentDialogFormGroup),$frequencyLabel=$("<label></label>").text(this._getLocaleValue("frequencyComboLabel")).attr("data-localeid","frequencyComboLabel"),$countLabel=$("<label></label>").text(this._getLocaleValue("countNumericEditorLabel")).attr("data-localeid","countNumericEditorLabel"),recurrenceFrequencyComboOptions,recurrenceCountNumberEditorOptions;this._options.$appointmentDialogRecurrenceOptions=$("<div></div>").addClass(this.css.sideBySideGroup);this._options.$appointmentDialogRecurrenceFrequencyCombo=$("<div></div>");recurrenceFrequencyComboOptions={textKey:"displayName",valueKey:"id",dataSource:this._getRecurrenceFrequency(),language:this.options.language};this._options.$appointmentDialogRecurrenceCountNumericEditor=$("<div></div>");recurrenceCountNumberEditorOptions={dataMode:"int",minValue:1,value:1,buttonType:"spin",language:this.options.language,suppressNotifications:true};this._options.$appointmentDialogRecurrenceFrequencyCombo.igCombo(recurrenceFrequencyComboOptions);this._options.$appointmentDialogRecurrenceCountNumericEditor.igNumericEditor(recurrenceCountNumberEditorOptions);this._options.$appointmentDialogRecurrenceOptions.append($frequencyContainer.append($frequencyLabel).append(this._options.$appointmentDialogRecurrenceFrequencyCombo));this._options.$appointmentDialogRecurrenceOptions.append($countContainer.append($countLabel).append(this._options.$appointmentDialogRecurrenceCountNumericEditor));container.append(this._options.$appointmentDialogRecurrenceOptions)},_getRecurrenceFrequency:function(){return[{id:$.ig.scheduler.DateRecurrenceFrequency.daily,displayName:this._getLocaleValue("dateRecurrenceFrequencyDaily")},{id:$.ig.scheduler.DateRecurrenceFrequency.weekly,displayName:this._getLocaleValue("dateRecurrenceFrequencyWeekly")},{id:$.ig.scheduler.DateRecurrenceFrequency.monthly,displayName:this._getLocaleValue("dateRecurrenceFrequencyMonthly")},{id:$.ig.scheduler.DateRecurrenceFrequency.yearly,displayName:this._getLocaleValue("dateRecurrenceFrequencyYearly")}]},_toggleAppointmentDialogRecurrenceFrequencyRequiredValidaton:function(isRequired){var $appointmentDialog=this._options.$appointmentDialog;$appointmentDialog.igValidator("updateField",5,{required:isRequired})},_renderAppointmentDialogDescription:function(container){var $descriptionContainer=$("<div></div>").addClass(this.css.appointmentDialogFormGroup),$descirptionLabel=$("<label></label>").text(this._getLocaleValue("appointmentDialogDescriptionLabel")).attr("data-localeid","appointmentDialogDescriptionLabel");this._options.$appointmentDialogDescription=$("<textarea></textarea>").addClass(this.css.appointmentDialogDescription);container.append($descriptionContainer.append($descirptionLabel).append(this._options.$appointmentDialogDescription));this._options.$appointmentDialogDescription.igTextEditor({textMode:"multiline",height:100})},_renderAppointmentDialogActions:function(container){var $actionsContainer=$("<div></div>").addClass(this.css.appointmentDialogFormGroup);this._options.$appointmentDialogCreateButton=$("<input type='submit' />").addClass(this.css.appointmentDialogCreateButton).appendTo($actionsContainer).igButton({labelText:this._getLocaleValue("appointmentDialogCreateButtonLabel")}).on("igbuttonclick",$.proxy(this._onCreateAppointmentClicked,this));this._options.$appointmentDialogSaveButton=$("<input type='submit' />").addClass(this.css.appointmentDialogSaveButton).appendTo($actionsContainer).igButton({labelText:this._getLocaleValue("appointmentDialogSaveButtonLabel")}).on("igbuttonclick",$.proxy(this._onEditAppointmentClicked,this));this._options.$appointmentDialogCancelButton=$("<input type='button' />").addClass(this.css.appointmentDialogCancelButton).appendTo($actionsContainer).igButton({labelText:this._getLocaleValue("appointmentDialogCancelButtonLabel")}).on("igbuttonclick",$.proxy(this._onCancelAppointmentClicked,this));container.append($actionsContainer)},_renderDayPopover:function(){var $dayPopoverContent=$("<div></div>").addClass(this.css.dayPopoverContent);this._options.$dayPopoverCreateButton=$("<input type='button' />").addClass(this.css.dayPopoverCreateButton).appendTo($dayPopoverContent).igButton({labelText:this._getLocaleValue("appointmentDialogCreateAppointmentButtonLabel")}).on("igbuttonclick",$.proxy(this._onDayPopoverCreateButtonClicked,this));this._options.$dayPopover=$("<div></div>").appendTo(this.element).igPopover({animationDuration:50,contentTemplate:$dayPopoverContent,headerTemplate:{closeButton:true,title:this._getLocaleValue("dayPopoverTitle")}});this._options.$dayPopoverContainer=$dayPopoverContent.closest(".ui-igpopover")},_renderAppointmentPopover:function(){var $appointmentPopoverContent=$("<div></div>").addClass(this.css.appointmentPopoverContent),$appointmentPopoverActions=$("<div></div>").addClass(this.css.appointmentPopoverDeleteButton);this._options.$appointmentPopoverSubject=$("<div></div>").addClass(this.css.appointmentPopoverSubject).appendTo($appointmentPopoverContent);this._options.$appointmentPopoverFromTo=$("<div></div>").addClass(this.css.appointmentPopoverFromTo).appendTo($appointmentPopoverContent);this._options.$appointmentPopoverOpenButton=$("<input type='button' />").addClass(this.css.appointmentPopoverOpenButton).appendTo($appointmentPopoverActions).igButton({labelText:this._getLocaleValue("appointmentPopoverOpenButtonLabel")}).on("click",$.proxy(this._onOpenAppointmentClicked,this));this._options.$appointmentPopoverDeleteButton=$("<input type='button' />").addClass(this.css.appointmentPopoverDeleteButton).appendTo($appointmentPopoverActions).igButton({labelText:this._getLocaleValue("appointmentPopoverDeleteButtonLabel")}).on("click",$.proxy(this._onDeleteAppointmentClicked,this));$appointmentPopoverContent.append($appointmentPopoverActions);this._options.$appointmentPopover=$("<div></div>").appendTo(this.element).igPopover({animationDuration:50,contentTemplate:$appointmentPopoverContent,headerTemplate:{closeButton:true,title:this._getLocaleValue("appointmentPopoverTitle")}});this._options.$appointmentPopoverContainer=$appointmentPopoverContent.closest(".ui-igpopover")},_renderDeleteAppointmentDialog:function(){var $dialogContainer=$("<div></div>"),$dialogConfirmation=$("<div></div>").addClass(this.css.deleteAppointmentDialogConfirmation).text(this._getLocaleValue("deleteAppointmentDialogConfirmation")).attr("data-localeid","deleteAppointmentDialogConfirmation"),$dialogActions=$("<div></div>").addClass(this.css.deleteAppointmentDialogActions);$dialogConfirmation.appendTo($dialogContainer);this._options.$deleteAppointmentDialogDeleteButton=$("<input type='button' />").addClass(this.css.deleteAppointmentDialogDeleteButton).appendTo($dialogActions).igButton({labelText:this._getLocaleValue("deleteAppointmentDialogDeleteButtonLabel")}).on("igbuttonclick",$.proxy(this._onConfirmDeletingAppointmentClicked,this));this._options.$deleteAppointmentDialogCancelButton=$("<input type='button' />").addClass(this.css.deleteAppointmentDialogCancelButton).appendTo($dialogActions).igButton({labelText:this._getLocaleValue("deleteAppointmentDialogCancelButtonLabel")}).on("igbuttonclick",$.proxy(this._onCancelDeletingAppointmentClicked,this));$dialogContainer.append($dialogActions);this._options.$deleteAppointmentDialog=$dialogContainer.appendTo(this.element).dialog({autoOpen:false,title:this._getLocaleValue("deleteAppointmentDialogTitle"),modal:true,width:this._getDialogWidth(),position:this._getDialogPosition(),resizable:false,closeText:this._getLocaleValue("dialogCloseButtonText")})},_renderDeleteOccurrenceDialog:function(){var $dialogContainer=$("<div></div>"),$dialogText=$("<div></div>").addClass(this.css.deleteOccurrenceDialogText).text(this._getLocaleValue("deleteOccurrenceDialogText")).attr("data-localeid","deleteOccurrenceDialogText"),$dialogActions=$("<div></div>").addClass(this.css.deleteOccurrenceDialogActions);$dialogText.appendTo($dialogContainer);this._options.$deleteOccurrenceDialogDeleteButton=$("<input type='button' />").addClass(this.css.deleteOccurrenceDialogDeleteButton).appendTo($dialogActions).igButton({labelText:this._getLocaleValue("deleteOccurrenceDialogDeleteButtonLabel")}).on("igbuttonclick",$.proxy(this._onConfirmDeletingOccurrenceClicked,this));this._options.$deleteOccurrenceDialogDeleteSeriesButton=$("<input type='button' />").addClass(this.css.deleteOccurrenceDialogDeleteSeriesButton).appendTo($dialogActions).igButton({labelText:this._getLocaleValue("deleteOccurrenceDialogDeleteSeriesLabel")}).on("igbuttonclick",$.proxy(this._onCofirmDeletingSeriesClicked,this));this._options.$deleteOccurrenceDialogCancelButton=$("<input type='button' />").addClass(this.css.deleteOccurrenceDialogCancelButton).appendTo($dialogActions).igButton({labelText:this._getLocaleValue("deleteOccurrenceDialogCancelLabel")}).on("igbuttonclick",$.proxy(this._onCancelDeletingOccurrenceClicked,this));$dialogContainer.append($dialogActions);this._options.$deleteOccurrenceDialog=$dialogContainer.appendTo(this.element).dialog({autoOpen:false,title:this._getLocaleValue("deleteOccurrenceDialogTitle"),modal:true,width:this._getDialogWidth(),position:this._getDialogPosition(),resizable:false,closeText:this._getLocaleValue("dialogCloseButtonText")})},_renderEditAppointmentDialog:function(){var $editDialogContainer=$("<div></div>"),$editDialogConfirmation=$("<div></div>").addClass(this.css.editAppointmentDialogConfirmation).text(this._getLocaleValue("editAppointmentDialogConfirmation")).attr("data-localeid","editAppointmentDialogConfirmation"),$editDialogActions=$("<div></div>").addClass(this.css.editAppointmentDialogActions);$editDialogConfirmation.appendTo($editDialogContainer);this._options.$editAppointmentDialogoccurrenceButton=$("<input type='button' />").addClass(this.css.editAppointmentDialogOccurrenceButton).appendTo($editDialogActions).igButton({labelText:this._getLocaleValue("editAppointmentDialogOccurrenceButtonLabel")}).on("igbuttonclick",$.proxy(this._onOccurrenceEditAppointmentClicked,this));this._options.$editAppointmentDialogSeriesButton=$("<input type='button' />").addClass(this.css.editAppointmentDialogSeriesButton).appendTo($editDialogActions).igButton({labelText:this._getLocaleValue("editAppointmentDialogSeriesButtonLabel")}).on("igbuttonclick",$.proxy(this._onSeriesEditAppointmentClicked,this));$editDialogContainer.append($editDialogActions);this._options.$editAppointmentDialog=$editDialogContainer.appendTo(this.element).dialog({autoOpen:false,title:this._getLocaleValue("editAppointmentDialogTitle"),modal:true,width:this._getDialogWidth(),position:this._getDialogPosition(),resizable:false,closeText:this._getLocaleValue("editSeriesButtonText")})},_initializeAppointmentDialogFieldsValidator:function(container){var self=this;container.igValidator({onchange:true,onblur:false,fields:[{selector:this._options.$appointmentDialogSubject,required:true},{selector:this._options.$appointmentDialogFromDate,required:true},{selector:this._options.$appointmentDialogFromTime,required:true},{selector:this._options.$appointmentDialogToDate,required:true,custom:{method:function(value){var isTimeSpanValid=self._isTimeSpanValid(value),$editorContainer=self._options.$appointmentDialogToTime.igDateEditor("editorContainer");if(isTimeSpanValid){$editorContainer.removeClass($.ui.igNotifier.prototype.css.errorState)}else{$editorContainer.addClass($.ui.igNotifier.prototype.css.errorState)}return isTimeSpanValid},errorMessage:this._getLocaleValue("invalidIntervalErrorMessage")}},{selector:this._options.$appointmentDialogToTime,required:true},{selector:this._options.$appointmentDialogRecurrenceFrequencyCombo,required:this._options.$appointmentDialogRecurrenceCheckbox.igCheckboxEditor("value")}]})},_isTimeSpanValid:function(toValue){var from=this._getFromValue(),to=this._getToValue(toValue),isFromBeforeTo=true;if(from!==null&&to!==null){isFromBeforeTo=to.getTime()>from.getTime()}return isFromBeforeTo},_getFromValue:function(){return this._getMergedDateAndTime(this._options.$appointmentDialogFromDate.igDatePicker("value"),this._options.$appointmentDialogFromTime.igDateEditor("value"))},_getToValue:function(toValue){return this._getMergedDateAndTime(toValue,this._options.$appointmentDialogToTime.igDateEditor("value"))},_getMergedDateAndTime:function(date,time){if(!date||!time){return null}var dateTime=new Date(date.getFullYear(),date.getMonth(),date.getDate(),time.getHours(),time.getMinutes(),time.getSeconds(),time.getMilliseconds());return dateTime},_onConfirmDeletingAppointmentClicked:function(event){var appointmentId=this._options.currentAppointment.id(),noCancel=this._triggerAppointmentDeleting(this._options.currentAppointment,event);if(noCancel){this.deleteAppointment(this._options.currentAppointment);this._triggerAppointmentDeleted(appointmentId,event);this._options.currentAppointment=null;this._options.$deleteAppointmentDialog.dialog("close")}},_onConfirmDeletingOccurrenceClicked:function(event){var occurrenceId=this._options.currentAppointment.id(),noCancel=this._triggerAppointmentDeleting(this._options.currentAppointment,event);if(noCancel){this.deleteAppointment(this._options.currentAppointment);this._triggerAppointmentDeleted(occurrenceId,event);this._options.currentAppointment=null;this._options.$deleteOccurrenceDialog.dialog("close")}},_onCofirmDeletingSeriesClicked:function(event){var series=this._options.currentAppointment.recurrenceRoot(),seriesId=series.id(),noCancel=this._triggerAppointmentDeleting(series,event);if(noCancel){this.deleteAppointment(series);this._triggerAppointmentDeleted(seriesId,event);this._options.$deleteOccurrenceDialog.dialog("close")}},_onCancelDeletingAppointmentClicked:function(){this._options.currentAppointment=null;this._options.$deleteAppointmentDialog.dialog("close")},_onCancelDeletingOccurrenceClicked:function(){this._options.currentAppointment=null;this._options.$deleteOccurrenceDialog.dialog("close")},_onOccurrenceEditAppointmentClicked:function(event){this._openAppointmentDialogForEditing(event);this._options.$editAppointmentDialog.dialog("close")},_onSeriesEditAppointmentClicked:function(event){this._options.currentAppointment=this._options.currentAppointment.recurrenceRoot();this._openAppointmentDialogForEditing(event);this._options.$editAppointmentDialog.dialog("close")},_onAppointmentDialogResourcesComboItemsRendered:function(event,ui){var resources=ui.dataSource.data(),$appointmentDialogResourceCombo=this._options.$appointmentDialogResourceCombo,resource,comboItem,colorContainer,color;for(var i=0;i<resources.length;i++){resource=resources[i];comboItem=$appointmentDialogResourceCombo.igCombo("itemsFromValue",resource.id);colorContainer=comboItem.element.find("."+this.css.resourcesComboItemColor);color=this._getResourceColorById(resource.id);colorContainer.css("background-color",color)}},_updateDeleteAppointmenDialogTitleColor:function(color){this._updateDialogTitleColor(this._options.$deleteAppointmentDialog,color)},_updateDeleteOccurrenceDialogTitleColor:function(color){this._updateDialogTitleColor(this._options.$deleteOccurrenceDialog,color)},_updateAppointmentDialogTitleColor:function(color){this._updateDialogTitleColor(this._options.$appointmentDialog,color)},_updateEditAppointmentDialogTitleColor:function(color){this._updateDialogTitleColor(this._options.$editAppointmentDialog,color)},_updateDialogTitleColor:function(dialogElement,color){var titlebar=dialogElement.dialog("widget").find(".ui-dialog-titlebar");if(color){titlebar.css("background-color",color)}else{titlebar.css("background-color","")}},_onDocumentClicked:function(event){var $dayPopoverContainer=this._options.$dayPopoverContainer,$appointmentPopoverContainer=this._options.$appointmentPopoverContainer;if($dayPopoverContainer!==undefined&&$dayPopoverContainer.css("display")!=="none"){if(!$dayPopoverContainer.is(event.target)&&$dayPopoverContainer.has(event.target).length===0){this._options.$dayPopover.igPopover("hide")}}if($appointmentPopoverContainer!==undefined&&$appointmentPopoverContainer.css("display")!=="none"){if(!$appointmentPopoverContainer.is(event.target)&&$appointmentPopoverContainer.has(event.target).length===0){this._options.$appointmentPopover.igPopover("hide")}}},_onDeleteAppointmentClicked:function(event){var resourceColor=null,isOccurrence=this._options.currentAppointment.recurrenceRoot();event.preventDefault();this._options.$appointmentPopover.igPopover("hide");if(this._options.currentAppointment.resourceId()!==null){resourceColor=this._getResourceColorById(this._options.currentAppointment.resourceId())}if(isOccurrence){if(this._options.$deleteOccurrenceDialog===undefined){this._renderDeleteOccurrenceDialog()}this._updateDeleteOccurrenceDialogTitleColor(resourceColor);this._options.$deleteOccurrenceDialog.dialog("open")}else{if(this._options.$deleteAppointmentDialog===undefined){this._renderDeleteAppointmentDialog()}this._updateDeleteAppointmenDialogTitleColor(resourceColor);this._options.$deleteAppointmentDialog.dialog("open")}},_onOpenAppointmentClicked:function(event){var resourceColor=null;event.preventDefault();this._options.$appointmentPopover.igPopover("hide");if(this._options.currentAppointment.recurrenceRoot()!==null){if(this._options.$editAppointmentDialog===undefined){this._renderEditAppointmentDialog()}this._options.$appointmentPopover.igPopover("hide");if(this._options.currentAppointment.resourceId()!==null){resourceColor=this._getResourceColorById(this._options.currentAppointment.resourceId())}this._updateEditAppointmentDialogTitleColor(resourceColor);this._options.$editAppointmentDialog.dialog("open")}else{this._openAppointmentDialogForEditing(event)}},_onCancelAppointmentClicked:function(event){event.preventDefault();this._options.$appointmentDialog.dialog("close")},_getAppointmentFromDialog:function(){var fromDateValue=this._options.$appointmentDialogFromDate.igDatePicker("value"),fromTimeValue=this._options.$appointmentDialogFromTime.igDateEditor("value"),toDateValue=this._options.$appointmentDialogToDate.igDatePicker("value"),toTimeValue=this._options.$appointmentDialogToTime.igDateEditor("value"),appointment,start,end,resourceId;start=new Date(fromDateValue.getFullYear(),fromDateValue.getMonth(),fromDateValue.getDate(),fromTimeValue.getHours(),fromTimeValue.getMinutes());end=new Date(toDateValue.getFullYear(),toDateValue.getMonth(),toDateValue.getDate(),toTimeValue.getHours(),toTimeValue.getMinutes());resourceId=this._options.$appointmentDialogResourceCombo.igCombo("value");appointment={subject:this._options.$appointmentDialogSubject.igTextEditor("value"),location:this._options.$appointmentDialogLocation.igTextEditor("value"),start:start,end:end,description:this._options.$appointmentDialogDescription.igTextEditor("value"),resourceId:resourceId};if(this._options.$appointmentDialogRecurrenceCheckbox.igCheckboxEditor("value")===true){var recurrence=new $.ig.scheduler.DateRecurrence;recurrence.frequency(this._options.$appointmentDialogRecurrenceFrequencyCombo.igCombo("value"));recurrence.count(this._options.$appointmentDialogRecurrenceCountNumericEditor.igNumericEditor("value"));appointment.recurrence=recurrence.toICalendarString()}else{appointment.recurrence=null}return appointment},_onCreateAppointmentClicked:function(event){var noCancel,appointmentData;event.preventDefault();if(!this._options.$appointmentDialog.igValidator("validate")){return}appointmentData=this._getAppointmentFromDialog();noCancel=this._triggerAppointmentCreating(appointmentData,event);if(noCancel){appointmentData=this.createAppointment(appointmentData);this._options.$appointmentDialog.dialog("close");this._triggerAppointmentCreated(appointmentData,event)}},_createAppointmentCallback:function(){return function(appointment){return{id:appointment.id(),description:appointment.description(),location:appointment.location(),subject:appointment.subject(),start:appointment.start(),end:appointment.end(),resourceId:appointment.resourceId(),recurrence:appointment.recurrence(),recurrenceId:appointment.recurrenceId()}}},_setAppointmentData:function(appointment,appointmentData){if(appointment.recurrenceRoot()===null){appointment.resourceId(appointmentData.resourceId);appointment.recurrence(appointmentData.recurrence)}if(appointment.recurrenceRoot()===null&&appointment.isRecurrenceRoot()===false){appointment.recurrence(appointmentData.recurrence);appointment.recurrenceId(appointmentData.recurrenceId)}appointment.start(appointmentData.start);appointment.end(appointmentData.end);appointment.subject(appointmentData.subject);appointment.location(appointmentData.location);appointment.description(appointmentData.description)},_onEditAppointmentClicked:function(event){var noCancel,appointmentDialog=this._options.$appointmentDialog;event.preventDefault();if(!this._options.currentAppointment.isRecurrenceRoot()){if(!(appointmentDialog.igValidator("validate",0)&&appointmentDialog.igValidator("validate",1)&&appointmentDialog.igValidator("validate",2)&&appointmentDialog.igValidator("validate",3)&&appointmentDialog.igValidator("validate",4))){return}}else if(!this._options.$appointmentDialog.igValidator("validate")){return}var appointmentNewData=this._getAppointmentFromDialog();appointmentNewData.id=this._options.currentAppointment.id();noCancel=this._triggerAppointmentEditing(this._options.currentAppointment,appointmentNewData,event);if(noCancel){this.editAppointment(this._options.currentAppointment,appointmentNewData);this._triggerAppointmentEdited(this._options.currentAppointment,event);this._options.currentAppointment=null;this._options.$appointmentDialog.dialog("close");
}},createAppointment:function(appointment){var dataSource=this.options.dataSource,newAppointment;newAppointment=dataSource.createAppointment();this._setAppointmentData(newAppointment,appointment);dataSource.endEdit(newAppointment);return newAppointment},getAppointmentsInRange:function(start,end){var dataSource=this.options.dataSource,appointmentsResult,range,translatedAppointmentObjects;range=new $.ig.scheduler.DateTimeRange(start,end);appointmentsResult=dataSource.getAppointmentsInRange(range);translatedAppointmentObjects=appointmentsResult.appointments();if(translatedAppointmentObjects.count()<=0){return null}return translatedAppointmentObjects.toArray()},deleteAppointment:function(appointment){if(!appointment){return}this.options.dataSource.deleteAppointment(appointment);return appointment},editAppointment:function(appointment,updateAppoinment){if(!appointment){return}this.options.dataSource.beginEdit(appointment);this._setAppointmentData(appointment,updateAppoinment);this.options.dataSource.endEdit(appointment);return appointment},_onDayPopoverCreateButtonClicked:function(event){this._options.$dayPopover.igPopover("hide");this._openAppointmentDialogForCreating(event)},_formatDateToAMPM:function(date){var time,hours=date.getHours(),minutes=date.getMinutes(),ampm="";if(this._options.timeFormat.indexOf("tt")>=0){ampm=hours>=12?" PM":" AM";hours=hours%12;hours=hours?hours:12}minutes=minutes<10?"0"+minutes:minutes;time=hours+":"+minutes+ampm;return time},_triggerRendering:function(){var args={owner:this,element:this.element};return this._trigger(this.events.rendering,null,args)},_triggerRendered:function(){var args={owner:this,element:this.element};this._trigger(this.events.rendered,null,args)},_triggerViewChanging:function(event,newSelectedView,currentSelectedView){var args={owner:this,element:event.target,currentSelectedView:currentSelectedView,newSelectedView:newSelectedView};return this._trigger(this.events.viewChanging,event,args)},_triggerViewChanged:function(event){var args={owner:this,element:event.target,newSelectedView:this.options.viewMode};this._trigger(this.events.viewChanged,event,args)},_triggerDaySelected:function(){var args={owner:this,element:this.element,date:this.options.selectedDate};this._trigger(this.events.daySelected,null,args)},_triggerMonthChanging:function(event,newSelectedDate){var args={owner:this,element:event.target,currentSelectedDate:this.options.selectedDate,newSelectedDate:newSelectedDate};return this._trigger(this.events.monthChanging,event,args)},_triggerMonthChanged:function(event){var args={owner:this,element:event.target,newSelectedDate:this.options.selectedDate};this._trigger(this.events.monthChanged,event,args)},_triggerAgendaRangeChanging:function(event,newAgendaRangeStartDate){var args={owner:this,element:event.target,dateRangeInterval:this.options.agendaViewSettings.dateRangeInterval,currentAgendaRangeStartDate:this.options.selectedDate,newAgendaRangeStartDate:newAgendaRangeStartDate};return this._trigger(this.events.agendaRangeChanging,event,args)},_triggerAgendaRangeChanged:function(event){var args={owner:this,element:event.target,dateRangeInterval:this.options.agendaViewSettings.dateRangeInterval,newAgendaRangeStartDate:this.options.selectedDate};this._trigger(this.events.agendaRangeChanged,event,args)},_triggerWeekChanging:function(event,newSelectedDate){var args={owner:this,element:event.target,currentSelectedDate:this.options.selectedDate,newSelectedDate:newSelectedDate};return this._trigger(this.events.weekChanging,event,args)},_triggerWeekChanged:function(event){var args={owner:this,element:event.target,newSelectedDate:this.options.selectedDate};this._trigger(this.events.weekChanged,event,args)},_triggerDayChanging:function(event,newSelectedDate){var args={owner:this,element:event.target,currentSelectedDate:this.options.selectedDate,newSelectedDate:newSelectedDate};return this._trigger(this.events.dayChanging,event,args)},_triggerDayChanged:function(event){var args={owner:this,element:event.target,newSelectedDate:this.options.selectedDate};this._trigger(this.events.dayChanged,event,args)},_triggerAppointmentDialogOpening:function(isAppointmentNew,event){var args={owner:this,element:this._options.$appointmentDialog,isAppointmentNew:isAppointmentNew};return this._trigger(this.events.appointmentDialogOpening,event,args)},_triggerAppointmentDialogOpened:function(isAppointmentNew,event){var args={owner:this,element:this._options.$appointmentDialog,isAppointmentNew:isAppointmentNew};this._trigger(this.events.appointmentDialogOpened,event,args)},_triggerAppointmentDialogClosing:function(isAppointmentNew,event){var args={owner:this,element:this._options.$appointmentDialog,isAppointmentNew:isAppointmentNew};return this._trigger(this.events.appointmentDialogClosing,event,args)},_triggerAppointmentDialogClosed:function(isAppointmentNew,event){var args={owner:this,element:this._options.$appointmentDialog,isAppointmentNew:isAppointmentNew};this._trigger(this.events.appointmentDialogClosed,event,args)},_triggerAppointmentCreating:function(appointment,event){var args={owner:this,appointment:appointment};return this._trigger(this.events.appointmentCreating,event,args)},_triggerAppointmentCreated:function(appointment,event){var args={owner:this,appointment:appointment};this._trigger(this.events.appointmentCreated,event,args)},_triggerAppointmentEditing:function(appointment,newAppointment,event){var args={owner:this,appointment:appointment,newAppointment:newAppointment};return this._trigger(this.events.appointmentEditing,event,args)},_triggerAppointmentEdited:function(appointment,event){var args={owner:this,appointment:appointment};this._trigger(this.events.appointmentEdited,event,args)},_triggerAppointmentDeleting:function(appointment,event){var args={owner:this,appointment:appointment};return this._trigger(this.events.appointmentDeleting,event,args)},_triggerAppointmentDeleted:function(appointmentId,event){var args={owner:this,appointmentId:appointmentId};this._trigger(this.events.appointmentDeleted,event,args)},_setOption:function(key,value){this._super(key,value);switch(key){case"viewMode":this._viewMode(value);break;case"selectedDate":this._selectDate(value);break;case"agendaViewSettings":this._setAgendaViewSettings(value);break;case"monthViewSettings":this._setMonthViewSettings(value);break;case"weekViewSettings":this._setDayWeekViewSettings(value);break;case"dayViewSettings":this._setDayWeekViewSettings(value);break;case"width":this.element.css("width",value);break;case"height":this.element.css("height",value);break;case"appointmentDialogSuppress":this.options.appointmentDialogSuppress=value;break;case"dataSource":this._initDataSource(value);this._options.$scheduler.igSchedulerCore("option",key,this.options.dataSource);break;default:this._options.$scheduler.igSchedulerCore("option",key,value)}},changeLocale:function(){this._super(this.todayButton());this._super(this._options.$navigator);this._super(this._options.$tabs);if(this._options.$appointmentDialog!==undefined){if(this._options.currentAppointment===undefined){this._options.$appointmentDialog.dialog("option","title",this._getLocaleValue("createNewAppointmentDialogTitle"))}else{this._options.$appointmentDialog.dialog("option","title",this._getLocaleValue("editAppointmentDialogTitle"))}this._super(this._options.$appointmentDialog);this._options.$appointmentDialog.dialog("option","closeText",this._getLocaleValue("dialogCloseButtonText"));this._options.$appointmentDialogSubject.igTextEditor("option","placeHolder",this._getLocaleValue("appointmentDialogSubjectLabel"));this._options.$appointmentDialogLocation.igTextEditor("option","placeHolder",this._getLocaleValue("appointmentDialogLocationLabel"));this._options.$appointmentDialogCreateButton.igButton("option","labelText",this._getLocaleValue("appointmentDialogCreateButtonLabel"));this._options.$appointmentDialogSaveButton.igButton("option","labelText",this._getLocaleValue("appointmentDialogSaveButtonLabel"));this._options.$appointmentDialogCancelButton.igButton("option","labelText",this._getLocaleValue("appointmentDialogCancelButtonLabel"));this._options.$appointmentDialogFromDate.igDatePicker("option","language",this.options.language);this._options.$appointmentDialogFromTime.igDateEditor("option","language",this.options.language);this._options.$appointmentDialogToDate.igDatePicker("option","language",this.options.language);this._options.$appointmentDialogToTime.igDateEditor("option","language",this.options.language);this._options.$appointmentDialogResourceCombo.igCombo("option","language",this.options.language);this._options.$appointmentDialogRecurrenceFrequencyCombo.igCombo("option","language",this.options.language);this._options.$appointmentDialogRecurrenceFrequencyCombo.igCombo("option","dataSource",this._getRecurrenceFrequency());this._options.$appointmentDialogRecurrenceCountNumericEditor.igNumericEditor("option","language",this.options.language)}if(this._options.$dayPopoverContainer!==undefined){this._destroyDayPopover();this._renderDayPopover()}if(this._options.$appointmentPopoverContainer!==undefined){this._destroyAppointmentPopover();this._renderAppointmentPopover()}if(this._options.$deleteAppointmentDialog!==undefined){this._super(this._options.$deleteAppointmentDialog);this._options.$deleteAppointmentDialogCancelButton.igButton("option","labelText",this._getLocaleValue("deleteAppointmentDialogCancelButtonLabel"));this._options.$deleteAppointmentDialogDeleteButton.igButton("option","labelText",this._getLocaleValue("deleteAppointmentDialogDeleteButtonLabel"));this._options.$deleteAppointmentDialog.dialog({title:this._getLocaleValue("deleteAppointmentDialogTitle"),closeText:this._getLocaleValue("dialogCloseButtonText")})}},_setAgendaViewSettings:function(settings){var date=this.options.selectedDate,newValue,name;for(name in settings){newValue=settings[name];switch(name){case"dateRangeInterval":this._options.$scheduler.igSchedulerCore("option","agendaViewMinimumDate",date);this._options.$scheduler.igSchedulerCore("option","agendaViewMaximumDate",new $.ig.Date.prototype.addDays(date,newValue));break}}},_setMonthViewSettings:function(settings){var newValue,name;for(name in settings){newValue=settings[name];switch(name){case"isHorizontalSeparatorVisibile":this._options.$scheduler.igSchedulerCore("option","monthViewHorizontalSeparatorVisibility",newValue?"visible":"collapsed");break;case"isVerticalSeparatorVisibile":this._options.$scheduler.igSchedulerCore("option","monthViewVerticalSeparatorVisibility",newValue?"visible":"collapsed");break;case"isWeekdayVisible":this._options.$scheduler.igSchedulerCore("option","monthViewDayOfWeekHeaderVisibility",newValue?"visible":"collapsed");break;case"isWeekNumberVisible":this._options.$scheduler.igSchedulerCore("option","monthViewWeekNumberVisibility",newValue?"visible":"collapsed");break;case"isPreviousMonthShown":this._options.$scheduler.igSchedulerCore("option","monthViewLeadingDayVisibility",newValue?"visible":"collapsed");break;case"isNextMonthShown":this._options.$scheduler.igSchedulerCore("option","monthViewTrailingDayVisibility",newValue?"visible":"collapsed");break}}},_setDayWeekViewSettings:function(settings){var newValue,name;for(name in settings){newValue=settings[name];switch(name){case"dayViewNumberOfDays":this._options.$scheduler.igSchedulerCore("option","dayViewNumberOfDays",newValue);break;case"weekViewDisplayMode":this._options.$scheduler.igSchedulerCore("option","weekViewDisplayMode",newValue);break;case"timeSlotInterval":this._options.$scheduler.igSchedulerCore("option","timeSlotInterval",newValue);break;case"workingHoursDisplayMode":this._options.$scheduler.igSchedulerCore("option","workingHoursDisplayMode",newValue)}}},_saveInitialState:function(){var index,element=this.element[0],attr;if(this.element.children().length>0){this._initialDOMContent=this.element.children().clone(true);this._removeAttributes();this.element.off();this.element.empty()}this._initialAttributes=[];attr=element.attributes;for(index=0;index<attr.length;index++){if(attr[index].name!=="id"){this._initialAttributes.push({name:attr[index].name,attrValue:attr[index].value})}}},_restoreInitialSate:function(){var index;if(this._initialDOMContent){this._initialDOMContent.appendTo(this.element);delete this._initialDOMContent}if(this._initialAttributes){for(index=0;index<this._initialAttributes.length;index++){if(this._initialAttributes[index].name!=="id"){this.element.attr(this._initialAttributes[index].name,this._initialAttributes[index].attrValue)}}delete this._initialAttributes}},_removeAttributes:function(){var element=this.element,attr=element[0].attributes,concatenatedAttr="",i;for(i=0;i<attr.length;i++){if(attr[i].name!=="id"){concatenatedAttr+=attr[i].name+" "}}element.removeAttr(concatenatedAttr.trim(" "))},_showRecurrenceGroupElements:function(showGroup){if(showGroup){this._options.$appointmentDialogRecurrenceOwnerContainer.show()}else{this._options.$appointmentDialogRecurrenceOwnerContainer.hide();this._options.$appointmentDialogRecurrenceOptions.hide()}},_showResourceGroupElements:function(showGroup){if(showGroup){this._options.$appointmentDialogResourceOwnerContainer.show()}else{this._options.$appointmentDialogResourceOwnerContainer.hide()}},_destroyDayPopover:function(){if(this._options.$dayPopover===undefined){return}this._options.$dayPopoverCreateButton.igButton("destroy");this._options.$dayPopover.igPopover("destroy")},_destroyAppointmentPopover:function(){if(this._options.$appointmentPopover===undefined){return}this._options.$appointmentPopoverDeleteButton.igButton("destroy");this._options.$appointmentPopoverOpenButton.igButton("destroy");this._options.$appointmentPopover.igPopover("destroy")},_destroyDeleteAppointmentDialog:function(){if(this._options.$deleteAppointmentDialog===undefined){return}this._options.$deleteAppointmentDialogCancelButton.igButton("destroy");this._options.$deleteAppointmentDialogDeleteButton.igButton("destroy");this._options.$deleteAppointmentDialog.dialog("destroy")},_destroyDeleteOccurrenceDialog:function(){if(this._options.$deleteOccurrenceDialog===undefined){return}this._options.$deleteOccurrenceDialogDeleteButton.igButton("destroy");this._options.$deleteOccurrenceDialogDeleteSeriesButton.igButton("destroy");this._options.$deleteOccurrenceDialogCancelButton.igButton("destroy");this._options.$deleteOccurrenceDialog.dialog("destroy")},_destroyAppointmentDialog:function(){if(this._options.$appointmentDialog===undefined){return}this._options.$appointmentDialogSubject.igTextEditor("destroy");this._options.$appointmentDialogLocation.igTextEditor("destroy");this._options.$appointmentDialogFromDate.igDatePicker("destroy");this._options.$appointmentDialogFromTime.igDateEditor("destroy");this._options.$appointmentDialogToDate.igDatePicker("destroy");this._options.$appointmentDialogToTime.igDateEditor("destroy");this._options.$appointmentDialogDescription.igTextEditor("destroy");this._options.$appointmentDialogCreateButton.igButton("destroy");this._options.$appointmentDialogSaveButton.igButton("destroy");this._options.$appointmentDialogCancelButton.igButton("destroy");this._options.$appointmentDialog.dialog("destroy");this._options.$appointmentDialogResourceCombo.igCombo("destroy");this._options.$appointmentDialogRecurrenceFrequencyCombo.igCombo("destroy");this._options.$appointmentDialogRecurrenceCheckbox.igCheckboxEditor("destroy");this._options.$appointmentDialogRecurrenceCountNumericEditor.igNumericEditor("destroy");this._options.$appointmentDialog.igValidator("destroy")},_destroyEditAppointmentDialog:function(){if(this._options.$editAppointmentDialog===undefined){return}this._options.$editAppointmentDialogOccurrenceButton.igButton("destroy");this._options.$editAppointmentDialogSeriesButton.igButton("destroy");this._options.$editAppointmentDialog.dialog("destroy")},_storeResourcesColorsById:function(){var resources=this.options.dataSource.getResources(),resourcesEnumerator=resources.getEnumerator(),resource;while(resourcesEnumerator.moveNext()){resource=resourcesEnumerator.current();this._options.resoucesById[resource.id()]={color:this.options.dataSource.getAppointmentBackgroundColor(resource),displayName:resource.displayName()}}},_getResourceColorById:function(id){var resource=this._options.resoucesById[id];if(!resource){return""}return resource.color},destroy:function(){this._detachHeaderEventHandlers();this._detachSchedulerEventHandlers();this._detachDocumentEventHandlers();this._removeAttributes();this._options.$calendar.datepicker("destroy");this._destroyDayPopover();this._destroyAppointmentPopover();this._destroyDeleteAppointmentDialog();this._destroyDeleteOccurrenceDialog();this._destroyEditAppointmentDialog();this._destroyAppointmentDialog();this._options.$scheduler.igSchedulerCore("destroy");this.element.empty();delete this._options;this._superApply(arguments);this._restoreInitialSate();return this},todayButton:function(){return this._options.$todayButton},previousButton:function(){return this._options.$previousButton},dateRangeButton:function(){return this._options.$dateRangeButton},nextButton:function(){return this._options.$nextButton},getCalendar:function(){return this._options.$calendar}});$.extend($.ui.igScheduler,{version:"19.1.20"})})($)});