/*!@license
* Infragistics.Web.ClientUI infragistics.scheduler.core.js 21.2.20212.99
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
*     jquery-1.4.4.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*     infragistics.ext_core.js
*     infragistics.ext_collections.js
*     infragistics.ext_collectionsExtended.js
*     infragistics.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(factory){if(typeof define==="function"&&define.amd){define(["./infragistics.util","./infragistics.ext_core","./infragistics.ext_collections","./infragistics.ext_collectionsExtended","./infragistics.ext_io","./infragistics.ext_text","./infragistics.ext_web","./infragistics.dv_core","./infragistics.dv_jquerydom","./infragistics.dv_visualdata","./infragistics.dv_interactivity","./infragistics.ext_ui"],factory)}else{factory(igRoot)}})(function($){/*!@license
* Infragistics.Web.ClientUI infragistics.scheduler.core.js resources 21.2.20212.99
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function(){$=$||{};$.ig=$.ig||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.locale.en.schedulerCore=$.ig.locale.en.schedulerCore||{};var l=$.ig.locale.en.schedulerCore;l["ActivityBase_Exception_CannotModifyOccurrenceProperty"]="The value of the {0} property cannot be modified on this {1} instance because it is a member of a recurrence.";l["LE_ActivityBase_DisassociatedResource"]="The specified resource is not associated with the same data source as this activity.";l["LE_AppointmentItemsSource_CannotEdit"]="The appointment item source does not support modification of its contents.";l["LE_AppointmentItemsSource_InvalidValue_JS"]="The specified value must be a JSON array or an $.ig.DataSource instance.";l["LE_AppointmentItemsSource_NoIList_DOTNET"]="The AppointmentItemsSource does not support modification of its contents. The item source must implement System.Collections.IList in order to support modifications.";l["LE_AppointmentPropertyMapping_RecurrenceRoot"]="The RecurrenceRoot property is not bindable and cannot be mapped. Create a mapping for the RecurrenceId property instead.";l["LE_AppointmentPropertyMapping_Resource"]="The Resource property is not bindable and cannot be mapped. Create a mapping for the ResourceId property instead.";l["LE_BeginEdit_CreatePending"]="The specified activity cannot be edited because there is a 'Create' operation pending.";l["LE_CannotCreateDataObject_DOTNET"]="Could not create new data object instance. Ensure that your data object type has a parameterless constructor. If it does not, assign a delegate to the CreateAppointmentDataObjectCallback property which creates new instances of this type.";l["LE_CannotModifyApppointmentsWhenDataSourceSet"]="Operation is not valid while DataSource is in use. Access and modify elements with Scheduler.DataSource instead.";l["LE_CannotSetDataSourceWhenAppointmentsAreDefined"]="Appointments collection must be empty before using DataSource.";l["LE_CouldNotConvertColorScheme"]="The value '{0}' could not be converted to a ScheduleResourceColorScheme value.";l["LE_CouldNotConvertValue"]="The value '{0}' could not be converted to type {1}.";l["LE_CreateDataObjectFailed"]="Could not create new data object instance.";l["LE_DataObjectNotAssociated"]="The specified data object is not associated with an Appointment.";l["LE_DuplicateIdentifier"]="The identifier '{0}' is already in use. Activity/Resource identifiers must be unique.";l["LE_EndEdit_DataObjectAlreadyAssociated"]="This data object is already associated with an activity.";l["LE_EndEdit_NotInEditMode"]="EndEdit cannot be called on the specified activity because it is not in edit mode. BeginEdit must be called first before an activity edit operation can be committed.";l["LE_InvalidDayOfWeekRule"]="The specified day of week rule is invalid.";l["LE_MissingIdentifier"]="Missing identifier.";l["LE_NoAppointmentItemsSource"]="The AppointmentItemsSource has not been assigned.";l["LE_NoCreateAppointmentDataObjectCallback_JS"]="A new data object instance could not be created. You must specify a value for the CreateAppointmentDataObjectCallback property.";l["LE_NoDataObject"]="The specified activity's underlying data object does not exist in the item source.";l["LE_NoPropertyMapping_Appointment"]="No property mapping exists for Appointment property '{0}'.";l["LE_RecurrenceParsing"]="Error parsing recurrence, context: {0}";l["LE_RecurrenceSerializing"]="Error serializing recurrence, context: {0}";l["LE_SchedulePropertyMap_Missing"]="The following required property mappings were not defined:";l["LE_SchedulePropertyMap_NoPropertyFound"]="No public property named '{0}' was found on the underlying data object.";l["LIT_AgendaDayHeader_Today"]="Today";l["LIT_AgendaNoEventsMessage"]="No Events";l["LIT_AgendaStartTime_AllDay"]="all-day";l["LIT_AgendaStartTime_Ends"]="Ends";l["RD_And"]="and";l["RD_AtTime"]="at {0}";l["RD_Effective1"]="effective {0}";l["RD_Effective2"]="effective {0} until {1}";l["RD_Effective3"]="effective {0} from {1} to {2}";l["RD_Effective4"]="effective {0} at {1}";l["RD_Effective5"]="effective {0} until {1} at {2}";l["RD_Effective6"]="effective {0} until {1} from {2} to {3}";l["RD_Every"]="every {0} {1}";l["RD_FrequencyLiterals"]="year,month,week,day,hour,minute,second";l["RD_FrequencyLiterals2"]="yearly,monthly,weekly,daily,hourly,minutely,secondly";l["RD_FrequencyLiteralsPlural"]="years,months,weeks,days,hours,minutes,seconds";l["RD_InMonth"]="in {0}";l["RD_Last"]="last";l["RD_NumberSuffix_nd"]="nd";l["RD_NumberSuffix_rd"]="rd";l["RD_NumberSuffix_st"]="st";l["RD_NumberSuffix_th"]="th";l["RD_OccurrenceOfThe"]="occurrence of the";l["RD_OfEveryMinuteOrHour"]="of every {0}";l["RD_OfTheMonthOrYear"]="of the {0}";l["RD_OfTheNthMinuteOrHour"]="of the {0} {1}";l["RD_OnEach"]="on each";l["RD_OnEverySecond"]="on every second";l["RD_OnThe"]="on the";l["RD_OnTheNthSecond"]="on the {0} second";l["RD_Or"]="or";l["RD_OrdinalDayOfMonthUsesSuffix"]="true";l["RD_OrdinalNumberWithSuffix"]="{0}{1}";l["RD_RecurrenceDescriptionOverallStructure"]="Occurs {0}{1}{2}";l["RD_RepeatingMultipleTimes"]="repeating {0} times";l["RD_RepeatingOneTime"]="repeating once";l["RD_RulesInMonth"]="{0} {1}";l["RD_ToTheLast"]="to the last";l["RD_Weekday"]="weekday";l["RD_WeekendDay"]="weekend day";l["RD_WeekOrDayOfTheMonthOrYear"]="{0} {1}";l["ScheduleDayOfWeekSettings_Exception_InvalidValue"]="The value '{0}' could not be successfully parsed.";l["WorkingHourTimeRange_Exception_CannotModifyTime"]="The {0} property cannot be modified because this instance has already been added to a WorkingHours collection.";$.ig.schedulerCore=$.ig.schedulerCore||{};$.ig.schedulerCore.locale=$.ig.schedulerCore.locale||l;return l})($);$.ig=$.ig||{};var $$t={};$.ig.scheduler=$.ig.scheduler||{};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$aj=$$t;var $$0=$.ig.globalDefs.$$0;var $$4=$.ig.globalDefs.$$4;var $$5=$.ig.globalDefs.$$5;var $$7=$.ig.globalDefs.$$7;var $$8=$.ig.globalDefs.$$8;var $$b=$.ig.globalDefs.$$b;var $$1=$.ig.globalDefs.$$1;var $$w=$.ig.globalDefs.$$w;var $$ag=$.ig.globalDefs.$$ag;var $$ap=$.ig.globalDefs.$$ap;var $$al=$.ig.globalDefs.$$al;var $$6=$.ig.globalDefs.$$6;var $$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.compare,$x=$.ig.util.replace,$y=$.ig.util.stringFormat,$z=$.ig.util.stringFormat1,$0=$.ig.util.stringFormat2,$1=$.ig.util.stringCompare1,$2=$.ig.util.stringCompare2,$3=$.ig.util.stringCompare3,$4=$.ig.util.compareSimple,$5=$.ig.util.tryParseNumber,$6=$.ig.util.tryParseNumber1,$7=$.ig.util.numberToString,$8=$.ig.util.numberToString1,$9=$.ig.util.parseNumber,$aa=$.ig.util.equalsSimple,$ab=$.ig.util.tryParseInt32_1,$ac=$.ig.util.tryParseInt32_2,$ad=$.ig.util.intToString1,$ae=$.ig.util.parseInt32_1,$af=$.ig.util.parseInt32_2,$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 $y("{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 $firstRank;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=$5(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=$5(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.$bx.$type,a)!==null){var c=$b($$a.$bx.$type,a);c._ak=b.left();c._al=b.right();c._am=b.top();c._an=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=$5(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=$ab(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.$bx.$type,c.item())!==null){a.r($b($$a.$bx.$type,c.item()))}else if($b($$a.$by.$type,c.item())!==null){a.s($b($$a.$by.$type,c.item()))}else if($b($$a.$bz.$type,c.item())!==null){a.t($b($$a.$bz.$type,c.item()))}else if($b($$a.$b0.$type,c.item())!==null){a.u($b($$a.$b0.$type,c.item()))}else if($b($$a.$b1.$type,c.item())!==null){a.v($b($$a.$b1.$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=$5(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)},_u: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._u(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);$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 $y("{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=$ab(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 $4(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 $w(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 $z("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 $y("{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();if($.ig.Date.prototype.getMonth(a)==2&&a.getDate()==29){return $.ig.Date.prototype.fromValues(a.getFullYear()+5,$.ig.Date.prototype.getMonth(a),a.getDate()-1,0,0,0,0)}else{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}var i=false;if(this.monthViewScrollDirection()==1&&b!=h){i=true}else if(this.monthViewScrollDirection()==0&&c!=g){i=true}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){if(i){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,$y("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.getString("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.getString("schedulerCore",a,c)}var d=b(a);if(String.isNullOrEmpty(d)){return d}return $z(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)?$y("{0} (not mapped)",this._o()):$y("{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 $4(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,ah:null,init:function(a){this.ah=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)}]},aj:function(a,b,c){if(c){this.ah.h(";")}this.ah.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.ak("Unknown type of rule",a.getType().typeName());return null},ak: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.ak("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=$ab(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.ak("Invalid frequency.",a);return 0},al: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.am(g,h,b.rules());break}}else{this.ak("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($$t.$id.ag==null){$$t.$id.ag=new $$8.l("(\\d{8})(T(\\d{6}))?",0)}var e=$$t.$id.ag.i(a);if(!e.i()){this.ak("Invalid date value",a)}var f=e.m().item(1).g();var g=e.m().item(3).g();var h=g.length>0;try{b=$.ig.Date.prototype.fromValues($$0.$aw.parseInt(f.substr(0,4)),$$0.$aw.parseInt(f.substr(4,2)),$$0.$aw.parseInt(f.substr(6,2)),h?$$0.$aw.parseInt(g.substr(0,2)):0,h?$$0.$aw.parseInt(g.substr(2,2)):0,h?$$0.$aw.parseInt(g.substr(4,2)):0,0)}catch(i){this.ak("Invalid date value",a);b=$$0.$s.minValue()}return b},am: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.ak($y("Incorrect value of {1} for rule {0}.",a,b),null)}}return}}}this.ak("Unknown rule",a)},an:function(){var a=this.ah;var b=this.e;this.aj("FREQ",this.ac(b.frequency()),false);this.aj("INTERVAL",$$t.$id.ad(b.interval()),true);var c=b.count();if(c>0){this.aj("COUNT",$$t.$id.ad(c),true)}var d=b._until$i();if(d.hasValue()){this.aj("UNTIL",$$t.$id.ab(d.value(),true,false),true)}this.aj("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))}}},ai: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=$ab(a,b);b=c.p1;return c.ret}()){this.ak("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.ak("Invalid frequency.",$$t.$g.$getName(a));return String.empty()},ad:function(a){return $7(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.al(a);b=c.d;return{ret:null==b?c.e:null,p1:b}},z:function(a,b){var c=new $$t.id(a);c.ah=new $$6.aj(0);c.an();b=c.d;return{ret:null==b?c.ah.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.ai(aw).l($$t.$ag.c("RD_OnThe",null));$$t.$id.ai(aw).l(s(ax?x:y,0));$$t.$id.ai(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.ai(aw).l($$t.$ag.c("RD_OnThe",null));$$t.$id.ai(aw).l(s(ah,0));$$t.$id.ai(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.ai(aw).l($$t.$ag.c("RD_OnThe",null));$$t.$id.ai(aw).l(s(z,0));$$t.$id.ai(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.ai(aw).l($$t.$ag.c("RD_OnThe",null));$$t.$id.ai(aw).l(s($$5.$e.o($$0.$aw.$type,String,al,n),0));a3=true}else{$$t.$id.ai(aw).l($$t.$ag.c("RD_OnEach",null))}if(a0){$$t.$id.ai(aw).l($$t.$ag.c("RD_Weekday",null))}else if(a1){$$t.$id.ai(aw).l($$t.$ag.c("RD_WeekendDay",null))}else if(a2){$$t.$id.ai(aw).l($$t.$ag.c(g[3],null))}else{$$t.$id.ai(aw).l(s(ae,a3?1:0))}av=true}if(aq>0&&(t==1||t==0)){if(av){aw.l(",")}$$t.$id.ai(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.ai(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.ai(aw).l($$t.$ag.c("RD_OccurrenceOfThe",null));bd=false}if(bd){if(be){$$t.$id.ai(aw).l(n(ba.value()))}if(a6){$$t.$id.ai(aw).l($$t.$ag.c("RD_Weekday",null))}else if(a7){$$t.$id.ai(aw).l($$t.$ag.c("RD_WeekendDay",null))}else if(a8){$$t.$id.ai(aw).l($$t.$ag.c(g[3],null))}}else{$$t.$id.ai(aw).l(s(ag,bb?1:0))}if(t==1){$$t.$id.ai(aw).l($$t.$ag.d("RD_OfTheMonthOrYear",null,[g[1],null]))}else if(t==0&&am<1){$$t.$id.ai(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.ai(k).l(bg)}else{var bh=$$t.$ag.d("RD_RulesInMonth",null,[bf,String.empty()]).trim([" "]);$$t.$id.ai(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.ai(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.ai(k).l($$t.$ag.c("RD_OnThe",null));$$t.$id.ai(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.ai(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.ai(k).l(bn);$$t.$id.ai(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.ai(k).l(bn);$$t.$id.ai(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.ai(k).l(bn);$$t.$id.ai(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.ai(k).l(bn);$$t.$id.ai(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.ai(k).l($$t.$ag.c("RD_RepeatingOneTime",null))}else{$$t.$id.ai(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.ai(l).l($$t.$ag.d("RD_Effective2",null,[br]))}else if(true==bq.hasValue()&&true==d.hasValue()&&false==e.hasValue()){$$t.$id.ai(l).l($$t.$ag.d("RD_Effective5",null,[br,bs,bt]))}else if(false==bq.hasValue()&&true==d.hasValue()&&true==e.hasValue()){$$t.$id.ai(l).l($$t.$ag.d("RD_Effective3",null,[br,bt,bu]))}else if(false==bq.hasValue()&&true==d.hasValue()&&false==e.hasValue()){$$t.$id.ai(l).l($$t.$ag.d("RD_Effective4",null,[br,bt]))}else if(true==bq.hasValue()&&true==d.hasValue()&&true==e.hasValue()){$$t.$id.ai(l).l($$t.$ag.d("RD_Effective6",null,[br,bs,bt,bu]))}else if(true==bq.hasValue()){$$t.$id.ai(l).l($$t.$ag.d("RD_Effective2",null,[br,bs]))}else{$$t.$id.ai(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 $y("{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 $y("{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 $y("{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 $y("{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=$y("{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($y("DefaultDateTimeFormatInfo {0} = new DefaultDateTimeFormatInfo(",a));b.l($y("{0},",this._ab));b.l($y("{0},",this._aa?"1":"0"));b.l($y("{0},",this._g));b.l($y("{0},",this._x));b.l($y("{0},",this._e));b.l($y("{0},",this._r));b.l($y("{0},",this._y));b.l($y("{0},",this._l));b.l($y("{0},",this._c));b.l($y("{0},",this._h));b.l($y("{0},",this._i));b.l($y("{0},",this._j));b.l($y("{0},",this._k));b.l($y("{0},",this._z));b.l($y("{0},",this._n));b.l($y("{0},",this._d));b.l($y("{0},",this._m));b.l($y("{0},",this._o));b.l($y("{0},",this._p));b.l($y("{0},",this._q));b.l($y("{0},",this._t));b.l($y("{0},",this._f));b.l($y("{0},",this._s));b.l($y("{0},",this._u));b.l($y("{0},",this._v));b.l($y("{0}",this._w));b.u($y(");",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.b1;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.k(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=$x(a,"px","");
}var b=0;var c=$5(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._an=null;this.ax.au()}this.ax=a;if(a!=null){this.ax._an=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._bk=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._an=null;this.ay.au()}this.ay=a;if(a!=null){this.ay._an=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._bk=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._bh&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._bh&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._bk=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.$n.$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 $z("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=$ab(d[0],e);e=h.p1;return h.ret}()&&function(){var h=$ab(d[1],f);f=h.p1;return h.ret}()&&function(){var h=$ab(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=$ab(d[0],f);f=h.p1;return h.ret}()&&function(){var h=$ab(d[1],g);g=h.p1;return h.ret}()&&function(){var h=$ab(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 $y("{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 $z("{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 $y("TYPE:{0},ROLE:{1},IDENTIFIER:[{2}]",a,b,this.a8)}else{return $z("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 $firstRank;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=$y("<{0}>",a);var d=$y("</{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 $y("{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 $x(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._c=$a(b.bk(),2);i._d=$a(b.be(),2);i._e={__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.by;$ret._ak=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.$id.ag=null;$$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}});