var $AdfDhtmlCalendarPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfRichUIPeer$$, "AdfDhtmlCalendarPeer", !1);
$goog$exportSymbol$$("AdfDhtmlCalendarPeer", $AdfDhtmlCalendarPeer$$);
$AdfDhtmlCalendarPeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlCalendarPeer$$$$$InitDomElement$$($component$$730$$, $domElement$$83$$) {
  $AdfDhtmlCalendarPeer$$.$superclass$.$InitDomElement$.call(this, $component$$730$$, $domElement$$83$$);
  this.$_splitterid$ = $component$$730$$.$getClientId$() + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_SPLITTER_COMPONENT_ID$;
  if ($AdfDomUtils$$.$isInVisibleSubtree$($domElement$$83$$)) {
    this.$_restoreScrollPosition$($component$$730$$, $domElement$$83$$);
    this.$_deferredFromInitDOM$ = !1;
    var $dragSource$$8_providerGridDOM_splitterDOM$$ = $AdfAgent$$.$AGENT$.getElementById(this.$_splitterid$);
    if ($dragSource$$8_providerGridDOM_splitterDOM$$) {
      $dragSource$$8_providerGridDOM_splitterDOM$$.style.top = $dragSource$$8_providerGridDOM_splitterDOM$$.parentNode.firstChild.offsetHeight + "px";
    } else {
      if ($dragSource$$8_providerGridDOM_splitterDOM$$ = $JSCompiler_StaticMethods__getProviderGridElement$$($component$$730$$)) {
        $dragSource$$8_providerGridDOM_splitterDOM$$.children[1].style.top = $dragSource$$8_providerGridDOM_splitterDOM$$.firstChild.offsetHeight + "px";
      }
    }
  } else {
    this.$_deferredFromInitDOM$ = !0;
  }
  this.$_nextZIndex$ = 10;
  null != $component$$730$$.$getDropTarget$() && null == $component$$730$$.$getDragSource$() && ($dragSource$$8_providerGridDOM_splitterDOM$$ = new $AdfCalendarDragSource$$($AdfDnDContext$$.$ACTION_MOVE$, $AdfDnDContext$$.$ACTION_MOVE$), $component$$730$$.$setDragSource$($dragSource$$8_providerGridDOM_splitterDOM$$));
  this.$_isBusy$ = !1;
  this.$_currentActivityId$ = null;
  $AdfDhtmlCalendarPeer$$.$_initFlexListSizeBreakpoints$();
  $AdfDhtmlCalendarPeer$$.$_initProviderGroupingSizeBreakpoints$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlCalendarPeer$$.prototype.$InitDomElement$});
$AdfDhtmlCalendarPeer$$.prototype.$BindToComponent$ = function $$AdfDhtmlCalendarPeer$$$$$BindToComponent$$($component$$731$$, $domNode$$22$$) {
  $AdfDhtmlCalendarPeer$$.$superclass$.$BindToComponent$.call(this, $component$$731$$, $domNode$$22$$);
  var $clientId$$121_page$$90$$ = $AdfPage$$.$PAGE$, $activeDescendantElement_announceText_laf$$56$$ = $clientId$$121_page$$90$$.$getLookAndFeel$(), $arc_dateRangeTextDOM_dateRangeTextId$$ = $component$$731$$.$getClientId$() + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_DATE_RANGE_TOOLBAR_ITEM_ID$;
  if ($arc_dateRangeTextDOM_dateRangeTextId$$ = $AdfAgent$$.$AGENT$.getElementById($arc_dateRangeTextDOM_dateRangeTextId$$)) {
    $activeDescendantElement_announceText_laf$$56$$ = $activeDescendantElement_announceText_laf$$56$$.$getTranslatedString$($AdfDhtmlCalendarPeer$$.$_CAL_CURRENT_ACTIVITY_DISPLAY_RANGE_ANNOUNCE_MSG$, $arc_dateRangeTextDOM_dateRangeTextId$$.innerHTML), $clientId$$121_page$$90$$.$announceToAssistiveTechnology$($activeDescendantElement_announceText_laf$$56$$);
  }
  if ($component$$731$$.$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$) == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$) {
    $clientId$$121_page$$90$$ = $component$$731$$.$getClientId$();
    $activeDescendantElement_announceText_laf$$56$$ = null;
    for ($arc_dateRangeTextDOM_dateRangeTextId$$ = 0;null == $activeDescendantElement_announceText_laf$$56$$ && 7 > $arc_dateRangeTextDOM_dateRangeTextId$$;$arc_dateRangeTextDOM_dateRangeTextId$$++) {
      $activeDescendantElement_announceText_laf$$56$$ = $JSCompiler_StaticMethods__getAllDayActFocus$$($clientId$$121_page$$90$$, $arc_dateRangeTextDOM_dateRangeTextId$$, $AdfDhtmlCalendarPeer$$.$_CAL_WEEK_FOCUS_FIRST_ALLDAY$);
    }
    $activeDescendantElement_announceText_laf$$56$$ && $activeDescendantElement_announceText_laf$$56$$.setAttribute("tabIndex", "0");
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.BindToComponent", {$BindToComponent$:$AdfDhtmlCalendarPeer$$.prototype.$BindToComponent$});
$AdfDhtmlCalendarPeer$$.prototype.$ComponentRemoved$ = function $$AdfDhtmlCalendarPeer$$$$$ComponentRemoved$$($component$$732$$) {
  var $activeDay$$inline_1231_clientId$$inline_1225_subId$$inline_1229$$ = $component$$732$$.$getClientId$(), $agent$$inline_1226_scrollElem$$inline_1230$$ = $AdfAgent$$.$AGENT$, $view$$inline_1227$$ = $component$$732$$.$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$), $key$$inline_1228$$ = null;
  if ($view$$inline_1227$$ != $AdfDhtmlCalendarPeer$$.$_VIEW_MONTH$) {
    if ($view$$inline_1227$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_LIST$) {
      $key$$inline_1228$$ = $AdfDhtmlCalendarPeer$$.$_SCROLL_LIST_KEY$;
    } else {
      if ($view$$inline_1227$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ || $view$$inline_1227$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$) {
        $key$$inline_1228$$ = $AdfDhtmlCalendarPeer$$.$_SCROLL_DAY_KEY$;
      }
    }
    $activeDay$$inline_1231_clientId$$inline_1225_subId$$inline_1229$$ = $AdfRichUIPeer$$.$CreateSubId$($activeDay$$inline_1231_clientId$$inline_1225_subId$$inline_1229$$, $key$$inline_1228$$);
    if ($agent$$inline_1226_scrollElem$$inline_1230$$ = $agent$$inline_1226_scrollElem$$inline_1230$$.getElementById($activeDay$$inline_1231_clientId$$inline_1225_subId$$inline_1229$$)) {
      $activeDay$$inline_1231_clientId$$inline_1225_subId$$inline_1229$$ = $JSCompiler_StaticMethods__getActiveDayFromDom$$($component$$732$$), this.$_setPageProperty$($component$$732$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVE_DATE_KEY$, $activeDay$$inline_1231_clientId$$inline_1225_subId$$inline_1229$$), $AdfDomUtils$$.$isInVisibleSubtree$($agent$$inline_1226_scrollElem$$inline_1230$$) && (this.$_setPageProperty$($component$$732$$, $key$$inline_1228$$, $agent$$inline_1226_scrollElem$$inline_1230$$.scrollTop), 
      $view$$inline_1227$$ != $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ && $view$$inline_1227$$ != $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$ || this.$_setPageProperty$($component$$732$$, $AdfDhtmlCalendarPeer$$.$_SCROLL_DAY_HEIGHT$, $agent$$inline_1226_scrollElem$$inline_1230$$.scrollHeight));
    }
  }
  $JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$$(this);
  $AdfDhtmlCalendarPeer$$.$superclass$.$ComponentRemoved$.call(this, $component$$732$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.ComponentRemoved", {$ComponentRemoved$:$AdfDhtmlCalendarPeer$$.prototype.$ComponentRemoved$});
$AdfDhtmlCalendarPeer$$.$InitSubclass$ = function $$AdfDhtmlCalendarPeer$$$$InitSubclass$$() {
  $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$MOUSE_DOWN_EVENT_TYPE$, $AdfUIInputEvent$$.$CLICK_EVENT_TYPE$, $AdfUIInputEvent$$.$DOUBLE_CLICK_EVENT_TYPE$, $AdfActionEvent$$.$ACTION_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_UP_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_DOWN_EVENT_TYPE$, $AdfComponentEvent$$.$CONTEXT_MENU_EVENT_TYPE$, $AdfUIInputEvent$$.$MOUSE_IN_EVENT_TYPE$);
  this.$_CALENDAR_ACTIVITY_KEY$ = "_adfAct";
  this.$_CALENDAR_ACTIVITY_ALL_DAY_KEY$ = "_adfActAD";
  this.$_CALENDAR_ACTIVITY_DURATION_KEY$ = "_adfActDu";
  this.$_CALENDAR_DAY_KEY$ = "_adfDay";
  this.$_CALENDAR_DAY_CELL_KEY$ = "_adfDyCl";
  this.$_CALENDAR_ACTIVE_DATE_KEY$ = "_adfActive";
  this.$_CALENDAR_TIME_SLOT_KEY$ = "_adfTm";
  this.$_RESIZE_TIME_INDICATOR_KEY$ = "_adfRi";
  this.$_RESIZE_All_DAY_INDICATOR_KEY$ = "_adfRiAD";
  this.$_KILL_HOVER_INDICATOR_KEY$ = "_adfNoHov";
  this.$_ALL_DAY_DURATION_TEXT_KEY$ = "_adDurtxt";
  this.$_ALL_DAY_HEADER_TEXT_KEY$ = "_adHdtxt";
  this.$_HAS_CALENDAR_DAY_LINK$ = "_adfcdl";
  this.$_TIME_ACTIVITY_COLUMN_KEY$ = "_adfTmAtCm";
  this.$_SCROLL_DAY_KEY$ = "scrDay";
  this.$_SCROLL_LIST_KEY$ = "scrList";
  this.$_ALL_DAY_CONTAINER_SUB_ID$ = "allDayC";
  this.$_SPLITTER_COMPONENT_ID$ = "_adfCalSp";
  this.$_DATE_RANGE_TOOLBAR_ITEM_ID$ = "_adfCalDR";
  this.$_START_HOUR_SUBID_KEY$ = "startHour";
  this.$_FACET_ID_ACTIVITY_HOVER$ = "_adfIdAH";
  this.$_FACET_ID_ACTIVITY_DETAIL$ = "_adfIdATL";
  this.$_FACET_ID_ACTIVITY_CONTEXT_MENU$ = "_adfIdACM";
  this.$_FACET_ID_ACTIVITY_DELETE$ = "_adfIdAD";
  this.$_FACET_ID_CREATE$ = "_adfIdC";
  this.$_FACET_ID_CONTEXT_MENU$ = "_adfIdCM";
  this.$_MONTH_MORE_LINK_TEXT$ = "_adfCalMLT";
  this.$_VIEW_KEY$ = "view";
  this.$_VIEW_DAY$ = "day";
  this.$_VIEW_WEEK$ = "week";
  this.$_VIEW_MONTH$ = "month";
  this.$_VIEW_LIST$ = "list";
  this.$_TIME_SLOTS_PER_HOUR$ = "timeSlotsPerHour";
  this.$_SCROLL_DAY_HEIGHT$ = "scrDayHeight";
  this.$_ALLDAY$ = "ALLDAY";
  this.$_TIME$ = "TIME";
  this.$_DURATION$ = "DURATION";
  this.$_VIEW_BUTTON_ID_DAY$ = "_adfCalDV";
  this.$_VIEW_BUTTON_ID_WEEK$ = "_adfCalWV";
  this.$_VIEW_BUTTON_ID_MONTH$ = "_adfCalMV";
  this.$_VIEW_BUTTON_ID_LIST$ = "_adfCalLV";
  this.$_DATE_BUTTON_ID_TODAY$ = "_adfCalTD";
  this.$_DATE_BUTTON_ID_PREVIOUS$ = "_adfCalPD";
  this.$_DATE_BUTTON_ID_NEXT$ = "_adfCalND";
  this.$_EVENT_TRIGGER_MOUSE$ = "MOUSE";
  this.$_EVENT_TRIGGER_KEY$ = "KEY";
  this.$_EVENT_TRIGGER_HOVER$ = "HOVER";
  this.$_EVENT_TRIGGER_CONTEXT_MENU$ = "CONTEXT_MENU";
  this.$_EVENT_BUTTON_NONE$ = "NONE";
  this.$_EVENT_BUTTON_LEFT$ = "LEFT";
  this.$_MONTH_GRID_ID$ = "mg";
  this.$_MONTH_HEADER_ID$ = "mh";
  this.$_CAL_MONTH_OVERFLOW_LINK$ = "ol";
  this.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$ = "taw";
  this.$_CAL_MONTH_OVERFLOW_LINK_CLASS$ = "af|calendar::month-overflow-link";
  this.$_CAL_MONTH_OVERFLOW_LINK_WRAPPER_CLASS$ = "af|calendar::month-overflow-link-wrapper";
  this.$_CAL_MONTH_NUM_OVERFLOW$ = "no";
  this.$_CAL_MONTH_OVERFLOW_LINK_TEXT$ = "af_calendar.LABEL_OVERFLOW";
  this.$_CAL_MONTH_OVERFLOW_LINK_LABEL$ = "af_calendar.TIP_MORE_ACTIVITIES";
  this.$_CAL_CURRENT_ACTIVITY_DISPLAY_RANGE_ANNOUNCE_MSG$ = "af_calendar.TIP_CURRENT_ACTIVITY_DISPLAY_RANGE_ANNOUNCE_MSG";
  this.$_MONTH_ROW_ID$ = "_adfCalMR";
  this.$_CALENDAR_WEEK_TIMED_ACTIVITIES_CELL_SUB_ID$ = "tact";
  this.$_CALENDAR_WEEK_HEADER_SUB_ID$ = "wh";
  this.$_CALENDAR_DAY_HEADER_SUB_ID$ = "dh";
  this.$_DAY_HEADER_PROVIDER_SUB_ID$ = "dhp";
  this.$_WEEK_HEADER_PROVIDER_SUB_ID$ = "whp";
  this.$_CAL_WEEK_FOCUS_FIRST_ALLDAY$ = 0;
  this.$_CAL_WEEK_FOCUS_LAST_ALLDAY$ = 1;
  this.$_CAL_WEEK_FOCUS_PREV_ALLDAY$ = 2;
  this.$_CAL_WEEK_FOCUS_NEXT_ALLDAY$ = 3;
  this.$_CAL_ACT_COL_NUM$ = "arc";
  this.$_CAL_ACT_ROW_NUM$ = "arw";
  this.$_DROP_TARGET_CLASS$ = "p_AFDropTarget";
  this.$_DRAG_SOURCE_CLASS$ = "p_AFDragSource";
  this.$_DRAG_END_CLASS$ = "p_AFDragEnd";
  this.$_MOVEABLE_CLASS$ = "p_AFMoveable";
  this.$_AUTOSCROLL_MARGIN$ = 20;
  this.$_PADDING_AFTER_ALL_DAY_ACTIVITIES$ = 15;
  this.$_NAMING_SEP$ = ":";
  this.$_MONTH_VIEW_ALLDAY_HT$ = "af|calendar-tr-month-all-day-activity-height";
  this.$_CAL_SIZE_STATE_PREFIX$ = "p_AFCalendarSize";
  this.$_CAL_SIZE_SM_STATE$ = this.$_CAL_SIZE_STATE_PREFIX$ + "Sm";
  this.$_CAL_SIZE_MD_STATE$ = this.$_CAL_SIZE_STATE_PREFIX$ + "Md";
  this.$_CAL_SIZE_LG_STATE$ = this.$_CAL_SIZE_STATE_PREFIX$ + "Lg";
  this.$_CAL_SIZE_XL_STATE$ = this.$_CAL_SIZE_STATE_PREFIX$ + "Xl";
  this.$_CAL_SIZE_STATE_LENGTH$ = this.$_CAL_SIZE_XL_STATE$.length;
  this.$_CAL_SIZE_SM_SKIN_PROPERTY$ = "af|calendar-tr-flexList-size-sm";
  this.$_CAL_SIZE_MD_SKIN_PROPERTY$ = "af|calendar-tr-flexList-size-md";
  this.$_CAL_SIZE_LG_SKIN_PROPERTY$ = "af|calendar-tr-flexList-size-lg";
  this.$_CAL_PROV_GRP_SIZE_SM_SKIN_PROPERTY$ = "af|calendar-tr-provider-grouping-size-sm";
  this.$_CAL_PROV_GRP_SIZE_MD_SKIN_PROPERTY$ = "af|calendar-tr-provider-grouping-size-md";
  this.$_CAL_PROV_GRP_SIZE_LG_SKIN_PROPERTY$ = "af|calendar-tr-provider-grouping-size-lg";
  this.$_CALENDAR_PROVIDER_GRID_SUB_ID$ = "proGrid";
  this.$_CALENDAR_PROVIDER_CONTAINER_SUB_ID$ = "prdrs";
  this.$_CALENDAR_PROVIDER_ID_EXPANDO$ = "data-afr-pid";
};
$goog$exportSymbol$$("AdfDhtmlCalendarPeer.InitSubclass", $AdfDhtmlCalendarPeer$$.$InitSubclass$);
$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentContextMenu$ = function $$AdfDhtmlCalendarPeer$$$$$HandleComponentContextMenu$$($componentEvent$$106$$) {
  var $eventTarget$$34$$ = $componentEvent$$106$$.$getNativeEventTarget$();
  if ($eventTarget$$34$$) {
    var $calendarRootElement$$ = this.$getDomElement$(), $activityRootElement_component$$733$$ = $JSCompiler_StaticMethods__getParentActivity$$($calendarRootElement$$, $eventTarget$$34$$);
    $activityRootElement_component$$733$$ && $calendarRootElement$$ != $activityRootElement_component$$733$$ ? $JSCompiler_StaticMethods__isBusyWithDifferentActivity$$(this, $activityRootElement_component$$733$$) ? $componentEvent$$106$$.cancel() : $JSCompiler_StaticMethods__handleActivityContextMenu$$(this, $componentEvent$$106$$, $calendarRootElement$$, $activityRootElement_component$$733$$, !1) : ($activityRootElement_component$$733$$ = $JSCompiler_StaticMethods__getComponentEventSource$$(this, 
    $componentEvent$$106$$), $JSCompiler_StaticMethods__queueCalendarEvent$$(this, $activityRootElement_component$$733$$, $componentEvent$$106$$, $calendarRootElement$$, $eventTarget$$34$$, 0, $AdfDhtmlCalendarPeer$$.$_EVENT_BUTTON_NONE$, $AdfDhtmlCalendarPeer$$.$_EVENT_TRIGGER_CONTEXT_MENU$) && this.$_showContextMenu$($activityRootElement_component$$733$$, $calendarRootElement$$, $componentEvent$$106$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_CONTEXT_MENU$));
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.HandleComponentContextMenu", {$HandleComponentContextMenu$:$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentContextMenu$});
$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentMouseDown$ = function $$AdfDhtmlCalendarPeer$$$$$HandleComponentMouseDown$$($componentEvent$$107$$) {
  var $eventTarget$$35_evt$$inline_1236_evt$$inline_1250_isAlldayResizeIndicator$$ = $componentEvent$$107$$.$getNativeEventTarget$(), $agent$$174_agent$$inline_1237_resizedActivity$$inline_1253$$ = $AdfAgent$$.$AGENT$;
  delete this.$_eatMouseClick$;
  var $eventTarget$$inline_1235_eventTarget$$inline_1249_isTimeResizeIndicator$$ = $agent$$174_agent$$inline_1237_resizedActivity$$inline_1253$$.getAttribute($eventTarget$$35_evt$$inline_1236_evt$$inline_1250_isAlldayResizeIndicator$$, $AdfDhtmlCalendarPeer$$.$_RESIZE_TIME_INDICATOR_KEY$), $eventTarget$$35_evt$$inline_1236_evt$$inline_1250_isAlldayResizeIndicator$$ = $agent$$174_agent$$inline_1237_resizedActivity$$inline_1253$$.getAttribute($eventTarget$$35_evt$$inline_1236_evt$$inline_1250_isAlldayResizeIndicator$$, 
  $AdfDhtmlCalendarPeer$$.$_RESIZE_All_DAY_INDICATOR_KEY$);
  if ($componentEvent$$107$$.$isLeftButtonPressed$() && ($eventTarget$$inline_1235_eventTarget$$inline_1249_isTimeResizeIndicator$$ || $eventTarget$$35_evt$$inline_1236_evt$$inline_1250_isAlldayResizeIndicator$$)) {
    $JSCompiler_StaticMethods__hideActivityHoverPopup$$(this);
    if ($eventTarget$$inline_1235_eventTarget$$inline_1249_isTimeResizeIndicator$$) {
      var $eventTarget$$inline_1235_eventTarget$$inline_1249_isTimeResizeIndicator$$ = $componentEvent$$107$$.$getNativeEventTarget$(), $eventTarget$$35_evt$$inline_1236_evt$$inline_1250_isAlldayResizeIndicator$$ = $componentEvent$$107$$.$getNativeEvent$(), $agent$$174_agent$$inline_1237_resizedActivity$$inline_1253$$ = $AdfAgent$$.$AGENT$, $alldayContainerWidth$$inline_1259_childNodes$$inline_1243_component$$inline_1238_component$$inline_1256$$ = this.$getComponent$(), $alldayContainer$$inline_1255_calendarRootElement$$inline_1239_dayWidth$$inline_1262_i$$inline_1244$$ = 
      this.$getDomElement$();
      $agent$$174_agent$$inline_1237_resizedActivity$$inline_1253$$.$disableUserSelect$($alldayContainer$$inline_1255_calendarRootElement$$inline_1239_dayWidth$$inline_1262_i$$inline_1244$$);
      var $agent$$inline_1251_alldayContainerX$$inline_1260_resizedActivity$$inline_1240$$ = $JSCompiler_StaticMethods__getParentActivity$$($alldayContainer$$inline_1255_calendarRootElement$$inline_1239_dayWidth$$inline_1262_i$$inline_1244$$, $eventTarget$$inline_1235_eventTarget$$inline_1249_isTimeResizeIndicator$$);
      this.$_resizedActivity$ = $agent$$inline_1251_alldayContainerX$$inline_1260_resizedActivity$$inline_1240$$;
      var $activityEndPadding$$inline_1258_allDayId$$inline_1257_calendarRootElement$$inline_1252_monthRow$$inline_1254_resizedActivityContainer$$inline_1241$$ = $agent$$inline_1251_alldayContainerX$$inline_1260_resizedActivity$$inline_1240$$.firstChild.firstChild;
      this.$_resizedActivityInitHeight$ = $activityEndPadding$$inline_1258_allDayId$$inline_1257_calendarRootElement$$inline_1252_monthRow$$inline_1254_resizedActivityContainer$$inline_1241$$.clientHeight;
      this.$_resizedActivityInitWidth$ = $activityEndPadding$$inline_1258_allDayId$$inline_1257_calendarRootElement$$inline_1252_monthRow$$inline_1254_resizedActivityContainer$$inline_1241$$.clientWidth;
      this.$_resizedActivityInitHeightInEM$ = parseFloat($activityEndPadding$$inline_1258_allDayId$$inline_1257_calendarRootElement$$inline_1252_monthRow$$inline_1254_resizedActivityContainer$$inline_1241$$.style.height);
      this.$_EMToPxRatio$ = this.$_resizedActivityInitHeightInEM$ / this.$_resizedActivityInitHeight$;
      this.$_resizeStartY$ = $eventTarget$$35_evt$$inline_1236_evt$$inline_1250_isAlldayResizeIndicator$$.clientY;
      this.$_resizeStartX$ = $eventTarget$$35_evt$$inline_1236_evt$$inline_1250_isAlldayResizeIndicator$$.clientX;
      $activityEndPadding$$inline_1258_allDayId$$inline_1257_calendarRootElement$$inline_1252_monthRow$$inline_1254_resizedActivityContainer$$inline_1241$$.style.height = this.$_resizedActivityInitHeight$ + "px";
      $activityEndPadding$$inline_1258_allDayId$$inline_1257_calendarRootElement$$inline_1252_monthRow$$inline_1254_resizedActivityContainer$$inline_1241$$.$_newHeight$ = this.$_resizedActivityInitHeight$;
      var $dGCRContainer$$inline_1242_isRTL$$inline_1261_node$$inline_1245$$ = this.$_dayGridCellRowsContainer$;
      if (!$dGCRContainer$$inline_1242_isRTL$$inline_1261_node$$inline_1245$$) {
        $dGCRContainer$$inline_1242_isRTL$$inline_1261_node$$inline_1245$$ = $JSCompiler_StaticMethods__getParentWithAttr$$($alldayContainer$$inline_1255_calendarRootElement$$inline_1239_dayWidth$$inline_1262_i$$inline_1244$$, $agent$$inline_1251_alldayContainerX$$inline_1260_resizedActivity$$inline_1240$$, $AdfDhtmlCalendarPeer$$.$_TIME_ACTIVITY_COLUMN_KEY$);
        $AdfAssert$$.$assertDomElement$($dGCRContainer$$inline_1242_isRTL$$inline_1261_node$$inline_1245$$);
        this.$_dayGridCellRowsContainer$ = $dGCRContainer$$inline_1242_isRTL$$inline_1261_node$$inline_1245$$;
        -1 == $alldayContainerWidth$$inline_1259_childNodes$$inline_1243_component$$inline_1238_component$$inline_1256$$.getShowActivityTypes().indexOf($AdfDhtmlCalendarPeer$$.$_TIME$) && $alldayContainerWidth$$inline_1259_childNodes$$inline_1243_component$$inline_1238_component$$inline_1256$$.getShowActivityTypes().indexOf($AdfDhtmlCalendarPeer$$.$_DURATION$);
        $alldayContainerWidth$$inline_1259_childNodes$$inline_1243_component$$inline_1238_component$$inline_1256$$ = $dGCRContainer$$inline_1242_isRTL$$inline_1261_node$$inline_1245$$.childNodes;
        for ($alldayContainer$$inline_1255_calendarRootElement$$inline_1239_dayWidth$$inline_1262_i$$inline_1244$$ = 0;$alldayContainer$$inline_1255_calendarRootElement$$inline_1239_dayWidth$$inline_1262_i$$inline_1244$$ < $alldayContainerWidth$$inline_1259_childNodes$$inline_1243_component$$inline_1238_component$$inline_1256$$.length;$alldayContainer$$inline_1255_calendarRootElement$$inline_1239_dayWidth$$inline_1262_i$$inline_1244$$++) {
          if ($dGCRContainer$$inline_1242_isRTL$$inline_1261_node$$inline_1245$$ = $alldayContainerWidth$$inline_1259_childNodes$$inline_1243_component$$inline_1238_component$$inline_1256$$[$alldayContainer$$inline_1255_calendarRootElement$$inline_1239_dayWidth$$inline_1262_i$$inline_1244$$], null != $agent$$174_agent$$inline_1237_resizedActivity$$inline_1253$$.getAttribute($dGCRContainer$$inline_1242_isRTL$$inline_1261_node$$inline_1245$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_TIME_SLOT_KEY$)) {
            this.$_minIncrementSize$ = $dGCRContainer$$inline_1242_isRTL$$inline_1261_node$$inline_1245$$.clientHeight;
            break;
          }
        }
        this.$_dateTimeGridContainer$ = $JSCompiler_StaticMethods__getDateTimeGridContainer$$(this);
      }
      $JSCompiler_StaticMethods__isActivityDraggableAcrossDays$$(this, $agent$$inline_1251_alldayContainerX$$inline_1260_resizedActivity$$inline_1240$$) && ($JSCompiler_StaticMethods__setTimeActDragInfo$$(this, $agent$$inline_1251_alldayContainerX$$inline_1260_resizedActivity$$inline_1240$$, $activityEndPadding$$inline_1258_allDayId$$inline_1257_calendarRootElement$$inline_1252_monthRow$$inline_1254_resizedActivityContainer$$inline_1241$$.clientHeight), this.$_gridTop$ = $agent$$174_agent$$inline_1237_resizedActivity$$inline_1253$$.$getElementTop$(this.$_dateTimeGridContainer$), 
      this.$_gridLeftBoundary$ = $agent$$174_agent$$inline_1237_resizedActivity$$inline_1253$$.$getElementLeft$(this.$_dateTimeGridContainer$), this.$_gridRightBoundary$ = $agent$$174_agent$$inline_1237_resizedActivity$$inline_1253$$.$getElementLeft$(this.$_dateTimeGridContainer$) + this.$_dateTimeGridContainer$.clientWidth, this.$_deltaDays$ = 0);
      this.$_scrollTopBeforeDrag$ = this.$_dateTimeGridContainer$.scrollTop;
      this.$_resizedActivityContainer$ = $activityEndPadding$$inline_1258_allDayId$$inline_1257_calendarRootElement$$inline_1252_monthRow$$inline_1254_resizedActivityContainer$$inline_1241$$;
      $agent$$inline_1251_alldayContainerX$$inline_1260_resizedActivity$$inline_1240$$.style.zIndex = ++this.$_nextZIndex$;
      this.$_activityResizeDragCallback$ || (this.$_activityResizeDragCallback$ = this.$createCallback$(this.$_handleTimeActivityResizeDrag$), this.$_activityResizeDropCallback$ = this.$createCallback$(this.$_handleTimeActivityResizeDrop$), this.$_activityResizeAbortCallback$ = this.$createCallback$(this.$_handleTimeActivityResizeAbort$));
      $AdfPage$$.$PAGE$.$startDrag$($eventTarget$$35_evt$$inline_1236_evt$$inline_1250_isAlldayResizeIndicator$$, this.$_activityResizeDragCallback$, this.$_activityResizeDropCallback$, this.$_activityResizeAbortCallback$);
    } else {
      $eventTarget$$inline_1235_eventTarget$$inline_1249_isTimeResizeIndicator$$ = $componentEvent$$107$$.$getNativeEventTarget$();
      $eventTarget$$35_evt$$inline_1236_evt$$inline_1250_isAlldayResizeIndicator$$ = $componentEvent$$107$$.$getNativeEvent$();
      $agent$$inline_1251_alldayContainerX$$inline_1260_resizedActivity$$inline_1240$$ = $AdfAgent$$.$AGENT$;
      $activityEndPadding$$inline_1258_allDayId$$inline_1257_calendarRootElement$$inline_1252_monthRow$$inline_1254_resizedActivityContainer$$inline_1241$$ = this.$getDomElement$();
      $agent$$inline_1251_alldayContainerX$$inline_1260_resizedActivity$$inline_1240$$.$disableUserSelect$($activityEndPadding$$inline_1258_allDayId$$inline_1257_calendarRootElement$$inline_1252_monthRow$$inline_1254_resizedActivityContainer$$inline_1241$$);
      this.$_resizedActivity$ = $agent$$174_agent$$inline_1237_resizedActivity$$inline_1253$$ = $JSCompiler_StaticMethods__getParentActivity$$($activityEndPadding$$inline_1258_allDayId$$inline_1257_calendarRootElement$$inline_1252_monthRow$$inline_1254_resizedActivityContainer$$inline_1241$$, $eventTarget$$inline_1235_eventTarget$$inline_1249_isTimeResizeIndicator$$);
      this.$_resizedActivityInitWidthInPercent$ = $agent$$174_agent$$inline_1237_resizedActivity$$inline_1253$$.style.width;
      this.$_resizeStartX$ = $eventTarget$$35_evt$$inline_1236_evt$$inline_1250_isAlldayResizeIndicator$$.clientX;
      if ($activityEndPadding$$inline_1258_allDayId$$inline_1257_calendarRootElement$$inline_1252_monthRow$$inline_1254_resizedActivityContainer$$inline_1241$$ = $JSCompiler_StaticMethods__getParentWithAttr$$($activityEndPadding$$inline_1258_allDayId$$inline_1257_calendarRootElement$$inline_1252_monthRow$$inline_1254_resizedActivityContainer$$inline_1241$$, $agent$$174_agent$$inline_1237_resizedActivity$$inline_1253$$, $AdfDhtmlCalendarPeer$$.$_MONTH_ROW_ID$)) {
        this.$_initMonthRowTop$ = $agent$$inline_1251_alldayContainerX$$inline_1260_resizedActivity$$inline_1240$$.$getElementTop$($activityEndPadding$$inline_1258_allDayId$$inline_1257_calendarRootElement$$inline_1252_monthRow$$inline_1254_resizedActivityContainer$$inline_1241$$), this.$_monthRowHeight$ = $activityEndPadding$$inline_1258_allDayId$$inline_1257_calendarRootElement$$inline_1252_monthRow$$inline_1254_resizedActivityContainer$$inline_1241$$.clientHeight, this.$_deltaWeeks$ = 0;
      }
      $alldayContainer$$inline_1255_calendarRootElement$$inline_1239_dayWidth$$inline_1262_i$$inline_1244$$ = this.$_alldayContainer$;
      $alldayContainer$$inline_1255_calendarRootElement$$inline_1239_dayWidth$$inline_1262_i$$inline_1244$$ || ($alldayContainerWidth$$inline_1259_childNodes$$inline_1243_component$$inline_1238_component$$inline_1256$$ = $JSCompiler_StaticMethods__getComponentEventSource$$(this, $componentEvent$$107$$), "month" == $alldayContainerWidth$$inline_1259_childNodes$$inline_1243_component$$inline_1238_component$$inline_1256$$.getView() ? $alldayContainer$$inline_1255_calendarRootElement$$inline_1239_dayWidth$$inline_1262_i$$inline_1244$$ = 
      $activityEndPadding$$inline_1258_allDayId$$inline_1257_calendarRootElement$$inline_1252_monthRow$$inline_1254_resizedActivityContainer$$inline_1241$$ : ($activityEndPadding$$inline_1258_allDayId$$inline_1257_calendarRootElement$$inline_1252_monthRow$$inline_1254_resizedActivityContainer$$inline_1241$$ = $AdfRichUIPeer$$.$CreateSubId$($alldayContainerWidth$$inline_1259_childNodes$$inline_1243_component$$inline_1238_component$$inline_1256$$.$getClientId$(), $AdfDhtmlCalendarPeer$$.$_ALL_DAY_CONTAINER_SUB_ID$), 
      $alldayContainer$$inline_1255_calendarRootElement$$inline_1239_dayWidth$$inline_1262_i$$inline_1244$$ = $agent$$inline_1251_alldayContainerX$$inline_1260_resizedActivity$$inline_1240$$.getElementById($activityEndPadding$$inline_1258_allDayId$$inline_1257_calendarRootElement$$inline_1252_monthRow$$inline_1254_resizedActivityContainer$$inline_1241$$)));
      $AdfAssert$$.$assertDomElement$($alldayContainer$$inline_1255_calendarRootElement$$inline_1239_dayWidth$$inline_1262_i$$inline_1244$$);
      this.$_alldayContainer$ = $alldayContainer$$inline_1255_calendarRootElement$$inline_1239_dayWidth$$inline_1262_i$$inline_1244$$;
      var $activityEndPadding$$inline_1258_allDayId$$inline_1257_calendarRootElement$$inline_1252_monthRow$$inline_1254_resizedActivityContainer$$inline_1241$$ = Math.ceil(.005 * $alldayContainer$$inline_1255_calendarRootElement$$inline_1239_dayWidth$$inline_1262_i$$inline_1244$$.clientWidth), $alldayContainerWidth$$inline_1259_childNodes$$inline_1243_component$$inline_1238_component$$inline_1256$$ = $alldayContainer$$inline_1255_calendarRootElement$$inline_1239_dayWidth$$inline_1262_i$$inline_1244$$.clientWidth, 
      $agent$$inline_1251_alldayContainerX$$inline_1260_resizedActivity$$inline_1240$$ = $agent$$inline_1251_alldayContainerX$$inline_1260_resizedActivity$$inline_1240$$.$getElementLeft$($alldayContainer$$inline_1255_calendarRootElement$$inline_1239_dayWidth$$inline_1262_i$$inline_1244$$), $dGCRContainer$$inline_1242_isRTL$$inline_1261_node$$inline_1245$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$(), $alldayContainer$$inline_1255_calendarRootElement$$inline_1239_dayWidth$$inline_1262_i$$inline_1244$$ = 
      $alldayContainer$$inline_1255_calendarRootElement$$inline_1239_dayWidth$$inline_1262_i$$inline_1244$$.clientWidth / 7, $activityX$$inline_1263$$ = $JSCompiler_StaticMethods__getActivityX$$($agent$$174_agent$$inline_1237_resizedActivity$$inline_1253$$, $dGCRContainer$$inline_1242_isRTL$$inline_1261_node$$inline_1245$$);
      this.$_minX$ = $dGCRContainer$$inline_1242_isRTL$$inline_1261_node$$inline_1245$$ ? $activityX$$inline_1263$$ - $alldayContainer$$inline_1255_calendarRootElement$$inline_1239_dayWidth$$inline_1262_i$$inline_1244$$ + $activityEndPadding$$inline_1258_allDayId$$inline_1257_calendarRootElement$$inline_1252_monthRow$$inline_1254_resizedActivityContainer$$inline_1241$$ : $activityX$$inline_1263$$ + $alldayContainer$$inline_1255_calendarRootElement$$inline_1239_dayWidth$$inline_1262_i$$inline_1244$$ - 
      $activityEndPadding$$inline_1258_allDayId$$inline_1257_calendarRootElement$$inline_1252_monthRow$$inline_1254_resizedActivityContainer$$inline_1241$$;
      this.$_maxX$ = $dGCRContainer$$inline_1242_isRTL$$inline_1261_node$$inline_1245$$ ? $agent$$inline_1251_alldayContainerX$$inline_1260_resizedActivity$$inline_1240$$ + $activityEndPadding$$inline_1258_allDayId$$inline_1257_calendarRootElement$$inline_1252_monthRow$$inline_1254_resizedActivityContainer$$inline_1241$$ : $agent$$inline_1251_alldayContainerX$$inline_1260_resizedActivity$$inline_1240$$ + $alldayContainerWidth$$inline_1259_childNodes$$inline_1243_component$$inline_1238_component$$inline_1256$$ - 
      $activityEndPadding$$inline_1258_allDayId$$inline_1257_calendarRootElement$$inline_1252_monthRow$$inline_1254_resizedActivityContainer$$inline_1241$$;
      this.$_alldayContainerX$ = $agent$$inline_1251_alldayContainerX$$inline_1260_resizedActivity$$inline_1240$$;
      this.$_dayWidth$ = $alldayContainer$$inline_1255_calendarRootElement$$inline_1239_dayWidth$$inline_1262_i$$inline_1244$$;
      this.$_activityX$ = $activityX$$inline_1263$$;
      this.$_activityEndPadding$ = $activityEndPadding$$inline_1258_allDayId$$inline_1257_calendarRootElement$$inline_1252_monthRow$$inline_1254_resizedActivityContainer$$inline_1241$$;
      $AdfDomUtils$$.$addCSSClassName$($agent$$174_agent$$inline_1237_resizedActivity$$inline_1253$$, $AdfDhtmlCalendarPeer$$.$_DRAG_END_CLASS$);
      $agent$$174_agent$$inline_1237_resizedActivity$$inline_1253$$.style.zIndex = ++this.$_nextZIndex$;
      this.$_alldayActivityResizeDragCallback$ || (this.$_alldayActivityResizeDragCallback$ = this.$createCallback$(this.$_handleAlldayActivityResizeDrag$), this.$_alldayActivityResizeDropCallback$ = this.$createCallback$(this.$_handleAlldayActivityResizeDrop$), this.$_alldayActivityResizeAbortCallback$ = this.$createCallback$(this.$_handleAlldayActivityResizeAbort$));
      $AdfPage$$.$PAGE$.$startDrag$($eventTarget$$35_evt$$inline_1236_evt$$inline_1250_isAlldayResizeIndicator$$, this.$_alldayActivityResizeDragCallback$, this.$_alldayActivityResizeDropCallback$, this.$_alldayActivityResizeAbortCallback$);
    }
    $eventTarget$$inline_1235_eventTarget$$inline_1249_isTimeResizeIndicator$$.style.cursor = "default";
    this.$_activityResizeIndicator$ = $eventTarget$$inline_1235_eventTarget$$inline_1249_isTimeResizeIndicator$$;
    $componentEvent$$107$$.cancel();
    $componentEvent$$107$$.$stopBubbling$();
    this.$_eatMouseClick$ = !0;
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.HandleComponentMouseDown", {$HandleComponentMouseDown$:$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentMouseDown$});
$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentMouseOver$ = function $$AdfDhtmlCalendarPeer$$$$$HandleComponentMouseOver$$($componentEvent$$108_state$$27$$) {
  var $calendarRootElement$$1_isTimedActivityRegion$$ = this.$getDomElement$(), $clientId$$122_component$$734$$ = this.$getComponent$(), $eventTarget$$36$$ = $componentEvent$$108_state$$27$$.$getNativeEventTarget$(), $activityId$$8_activityRootElement$$1$$ = $JSCompiler_StaticMethods__getParentActivity$$($calendarRootElement$$1_isTimedActivityRegion$$, $eventTarget$$36$$);
  if ($activityId$$8_activityRootElement$$1$$ && null != $clientId$$122_component$$734$$.$getDragSource$() && !this.$_resizedActivity$) {
    var $activityHoverId_popup$$8_view$$inline_1268$$ = $clientId$$122_component$$734$$.$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$);
    if ($activityHoverId_popup$$8_view$$inline_1268$$ != $AdfDhtmlCalendarPeer$$.$_VIEW_LIST$) {
      var $isAllDay$$inline_1269_isNoHoverTarget_mouseId$$ = null != $AdfAgent$$.$AGENT$.getAttribute($activityId$$8_activityRootElement$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_ALL_DAY_KEY$), $isDuration$$inline_1270_timeout$$1$$ = null != $AdfAgent$$.$AGENT$.getAttribute($activityId$$8_activityRootElement$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_DURATION_KEY$), $isDurationInBottomRegion$$inline_1271$$ = -1 == $clientId$$122_component$$734$$.getShowActivityTypes().indexOf($AdfDhtmlCalendarPeer$$.$_TIME$);
      $isDuration$$inline_1270_timeout$$1$$ && $isDurationInBottomRegion$$inline_1271$$ && $activityHoverId_popup$$8_view$$inline_1268$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ || $isAllDay$$inline_1269_isNoHoverTarget_mouseId$$ && $activityHoverId_popup$$8_view$$inline_1268$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ || $AdfDomUtils$$.$containsCSSClassName$($activityId$$8_activityRootElement$$1$$, $AdfDhtmlCalendarPeer$$.$_MOVEABLE_CLASS$) || $AdfDomUtils$$.$addCSSClassName$($activityId$$8_activityRootElement$$1$$, 
      $AdfDhtmlCalendarPeer$$.$_MOVEABLE_CLASS$);
    }
  }
  if ($activityHoverId_popup$$8_view$$inline_1268$$ = $AdfAgent$$.$AGENT$.getAttribute($calendarRootElement$$1_isTimedActivityRegion$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_HOVER$)) {
    $isAllDay$$inline_1269_isNoHoverTarget_mouseId$$ = !1, 1 == $eventTarget$$36$$.nodeType && "IMG" == $eventTarget$$36$$.tagName && ($isAllDay$$inline_1269_isNoHoverTarget_mouseId$$ = !0), $isAllDay$$inline_1269_isNoHoverTarget_mouseId$$ || ($isAllDay$$inline_1269_isNoHoverTarget_mouseId$$ = $JSCompiler_StaticMethods__getParentWithAttr$$($activityId$$8_activityRootElement$$1$$, $eventTarget$$36$$, $AdfDhtmlCalendarPeer$$.$_KILL_HOVER_INDICATOR_KEY$)), $isAllDay$$inline_1269_isNoHoverTarget_mouseId$$ ? 
    $JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$$(this) : $activityId$$8_activityRootElement$$1$$ && $calendarRootElement$$1_isTimedActivityRegion$$ != $activityId$$8_activityRootElement$$1$$ ? ($activityId$$8_activityRootElement$$1$$ = $activityId$$8_activityRootElement$$1$$.id, $isAllDay$$inline_1269_isNoHoverTarget_mouseId$$ = this.$_calendarActivityMouseId$, ($isDuration$$inline_1270_timeout$$1$$ = this.$_calendarActivityMouseTimeout$) && $isAllDay$$inline_1269_isNoHoverTarget_mouseId$$ && 
    $isAllDay$$inline_1269_isNoHoverTarget_mouseId$$ != $activityId$$8_activityRootElement$$1$$ && $JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$$(this), null != $isDuration$$inline_1270_timeout$$1$$ || this.$_resizedActivity$ || this.$_draggedActivity$ || ($activityHoverId_popup$$8_view$$inline_1268$$ = $clientId$$122_component$$734$$.$findComponent$($activityHoverId_popup$$8_view$$inline_1268$$), null != $isAllDay$$inline_1269_isNoHoverTarget_mouseId$$ && $isAllDay$$inline_1269_isNoHoverTarget_mouseId$$ == 
    $activityId$$8_activityRootElement$$1$$ && $activityHoverId_popup$$8_view$$inline_1268$$.$isPopupVisible$() || (this.$_calendarActivityMouseId$ = $activityId$$8_activityRootElement$$1$$, $clientId$$122_component$$734$$ = $clientId$$122_component$$734$$.$getClientId$(), $calendarRootElement$$1_isTimedActivityRegion$$ = null != $JSCompiler_StaticMethods__getParentWithAttr$$($calendarRootElement$$1_isTimedActivityRegion$$, $eventTarget$$36$$, $AdfDhtmlCalendarPeer$$.$_TIME_ACTIVITY_COLUMN_KEY$), 
    $componentEvent$$108_state$$27$$ = {$componentId$:$clientId$$122_component$$734$$, $activityRootId$:$activityId$$8_activityRootElement$$1$$, $mousePosition$:{x:$componentEvent$$108_state$$27$$.$getPageX$(), y:$componentEvent$$108_state$$27$$.$getPageY$()}, $isInTimeRegion$:$calendarRootElement$$1_isTimedActivityRegion$$}, this.$_calendarActivityMouseTimeout$ = page.$scheduleTimer$(this, this.$_onMouseOverTimeout$, $componentEvent$$108_state$$27$$, 1E3)))) : null != this.$_calendarActivityMouseId$ && 
    $JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$$(this);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.HandleComponentMouseOver", {$HandleComponentMouseOver$:$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentMouseOver$});
$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentClick$ = function $$AdfDhtmlCalendarPeer$$$$$HandleComponentClick$$($componentEvent$$109$$) {
  this.$_eatMouseClick$ || $JSCompiler_StaticMethods__handleClickEvents$$(this, $componentEvent$$109$$, 1);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentDblClick$ = function $$AdfDhtmlCalendarPeer$$$$$HandleComponentDblClick$$($componentEvent$$110$$) {
  $JSCompiler_StaticMethods__handleClickEvents$$(this, $componentEvent$$110$$, 2);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.HandleComponentDblClick", {$HandleComponentDblClick$:$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentDblClick$});
$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentKeyDown$ = function $$AdfDhtmlCalendarPeer$$$$$HandleComponentKeyDown$$($componentEvent$$111_keyStroke$$8$$) {
  var $domEvent$$12$$ = $componentEvent$$111_keyStroke$$8$$.$getNativeEvent$(), $keyCode$$39$$ = $domEvent$$12$$.keyCode;
  if ($AdfKeyStroke$$.$ENTER_KEY$ == $keyCode$$39$$ || $AdfKeyStroke$$.$M_KEY$ == $keyCode$$39$$) {
    var $calendarRootElement$$2$$ = this.$getDomElement$(), $component$$735$$ = this.$getComponent$(), $eventTarget$$37$$ = $componentEvent$$111_keyStroke$$8$$.$getNativeEventTarget$(), $activityRootElement$$2_displayChangeElement_newDate$$ = $JSCompiler_StaticMethods__getParentActivity$$($calendarRootElement$$2$$, $eventTarget$$37$$);
    if ($activityRootElement$$2_displayChangeElement_newDate$$ && $calendarRootElement$$2$$ != $activityRootElement$$2_displayChangeElement_newDate$$) {
      $JSCompiler_StaticMethods__isBusyWithDifferentActivity$$(this, $activityRootElement$$2_displayChangeElement_newDate$$) || ($AdfKeyStroke$$.$M_KEY$ == $keyCode$$39$$ && $domEvent$$12$$.ctrlKey && $domEvent$$12$$.altKey ? $JSCompiler_StaticMethods__handleActivityContextMenu$$(this, $componentEvent$$111_keyStroke$$8$$, $calendarRootElement$$2$$, $activityRootElement$$2_displayChangeElement_newDate$$, !0) : $AdfKeyStroke$$.$ENTER_KEY$ == $keyCode$$39$$ && ($componentEvent$$111_keyStroke$$8$$ = 
      $componentEvent$$111_keyStroke$$8$$.$getKeyStroke$(), $JSCompiler_StaticMethods__queueCalendarActivityEvent$$(this, $component$$735$$, $activityRootElement$$2_displayChangeElement_newDate$$, $componentEvent$$111_keyStroke$$8$$, 0, $AdfDhtmlCalendarPeer$$.$_EVENT_BUTTON_NONE$, $AdfDhtmlCalendarPeer$$.$_EVENT_TRIGGER_KEY$), $JSCompiler_StaticMethods__launchPopupFacet$$(this, $component$$735$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_DETAIL$)));
    } else {
      if ($activityRootElement$$2_displayChangeElement_newDate$$ = $JSCompiler_StaticMethods__getParentWithAttr$$($calendarRootElement$$2$$, $eventTarget$$37$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$)) {
        $JSCompiler_StaticMethods__hideActivityHoverPopup$$(this), $activityRootElement$$2_displayChangeElement_newDate$$ = $AdfAgent$$.$AGENT$.getAttribute($activityRootElement$$2_displayChangeElement_newDate$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$), $AdfCalendarDisplayChangeEvent$$.$queue$($component$$735$$, $activityRootElement$$2_displayChangeElement_newDate$$, $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$);
      }
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.HandleComponentKeyDown", {$HandleComponentKeyDown$:$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentKeyDown$});
$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentKeyUp$ = function $$AdfDhtmlCalendarPeer$$$$$HandleComponentKeyUp$$($componentEvent$$112$$) {
  var $calendarRootElement$$3$$ = this.$getDomElement$(), $eventTarget$$38$$ = $componentEvent$$112$$.$getNativeEventTarget$(), $activityRootElement$$3_providerTarget$$ = $JSCompiler_StaticMethods__getParentActivity$$($calendarRootElement$$3$$, $eventTarget$$38$$), $calendar$$1_clientId$$inline_1276$$ = this.$getComponent$(), $view$$9$$ = $calendar$$1_clientId$$inline_1276$$.$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$), $component$$736$$ = this.$getComponent$(), $keyStroke$$9$$ = $componentEvent$$112$$.$getKeyStroke$(), 
  $keyCode$$40$$ = $componentEvent$$112$$.$getKeyCode$(), $providerId$$11$$, $JSCompiler_temp$$70_providerContainerId_target$$inline_1275$$;
  if ($JSCompiler_temp$$70_providerContainerId_target$$inline_1275$$ = null != $JSCompiler_StaticMethods__getProviderGridElement$$($calendar$$1_clientId$$inline_1276$$)) {
    a: {
      $JSCompiler_temp$$70_providerContainerId_target$$inline_1275$$ = $eventTarget$$38$$;
      for (var $calendar$$1_clientId$$inline_1276$$ = $calendar$$1_clientId$$inline_1276$$.$getClientId$(), $activityGridContainerId$$inline_1277$$ = $AdfRichUIPeer$$.$CreateSubId$($calendar$$1_clientId$$inline_1276$$, $AdfDhtmlCalendarPeer$$.$_SCROLL_DAY_KEY$), $root$$inline_1278$$ = this.$getDomElement$();$JSCompiler_temp$$70_providerContainerId_target$$inline_1275$$ && $JSCompiler_temp$$70_providerContainerId_target$$inline_1275$$.id != $calendar$$1_clientId$$inline_1276$$ && $JSCompiler_temp$$70_providerContainerId_target$$inline_1275$$ != 
      $root$$inline_1278$$;) {
        if ($JSCompiler_temp$$70_providerContainerId_target$$inline_1275$$.id == $activityGridContainerId$$inline_1277$$) {
          $JSCompiler_temp$$70_providerContainerId_target$$inline_1275$$ = !0;
          break a;
        }
        $JSCompiler_temp$$70_providerContainerId_target$$inline_1275$$ = $JSCompiler_temp$$70_providerContainerId_target$$inline_1275$$.parentNode;
      }
      $JSCompiler_temp$$70_providerContainerId_target$$inline_1275$$ = !1;
    }
  }
  if ($JSCompiler_temp$$70_providerContainerId_target$$inline_1275$$) {
    if (null != $AdfAgent$$.$AGENT$.getAttribute($eventTarget$$38$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$)) {
      $providerId$$11$$ = $AdfAgent$$.$AGENT$.getAttribute($eventTarget$$38$$.parentNode, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$);
    } else {
      if (!$activityRootElement$$3_providerTarget$$ && $eventTarget$$38$$.parentNode) {
        for ($activityRootElement$$3_providerTarget$$ = $eventTarget$$38$$.parentNode, $JSCompiler_temp$$70_providerContainerId_target$$inline_1275$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$736$$.$getClientId$(), $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_CONTAINER_SUB_ID$);$JSCompiler_temp$$70_providerContainerId_target$$inline_1275$$ != $activityRootElement$$3_providerTarget$$.id && !($providerId$$11$$ = $AdfAgent$$.$AGENT$.getAttribute($activityRootElement$$3_providerTarget$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$));) {
          $activityRootElement$$3_providerTarget$$ = $activityRootElement$$3_providerTarget$$.parentNode;
        }
      }
    }
  }
  if ($activityRootElement$$3_providerTarget$$ && $calendarRootElement$$3$$ != $activityRootElement$$3_providerTarget$$) {
    if (!$JSCompiler_StaticMethods__isBusyWithDifferentActivity$$(this, $activityRootElement$$3_providerTarget$$) && $AdfKeyStroke$$.$ENTER_KEY$ != $keyCode$$40$$ && $AdfKeyStroke$$.$SHIFT_KEY$ != $keyCode$$40$$) {
      if ($AdfKeyStroke$$.$TAB_KEY$ == $keyCode$$40$$ || $AdfKeyStroke$$.$ARROWDOWN_KEY$ == $keyCode$$40$$ || $AdfKeyStroke$$.$ARROWUP_KEY$ == $keyCode$$40$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $keyCode$$40$$ || $AdfKeyStroke$$.$ARROWLEFT_KEY$ == $keyCode$$40$$) {
        if ($view$$9$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_MONTH$) {
          return $JSCompiler_StaticMethods__handleKeyUpForMonth$$(this, $keyCode$$40$$, $activityRootElement$$3_providerTarget$$, $componentEvent$$112$$);
        }
        if ($view$$9$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$) {
          return $JSCompiler_StaticMethods__handleKeyUpForWeek$$(this, $keyCode$$40$$, $activityRootElement$$3_providerTarget$$, $componentEvent$$112$$, $providerId$$11$$);
        }
        if ($view$$9$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$) {
          return $JSCompiler_StaticMethods__handleKeyUpForDay$$(this, $keyCode$$40$$, $activityRootElement$$3_providerTarget$$, $componentEvent$$112$$, $providerId$$11$$);
        }
        if ($view$$9$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_LIST$) {
          return $JSCompiler_StaticMethods__handleKeyUpForList$$($keyCode$$40$$, $activityRootElement$$3_providerTarget$$, $componentEvent$$112$$);
        }
      }
      $JSCompiler_StaticMethods__queueCalendarActivityEvent$$(this, $component$$736$$, $activityRootElement$$3_providerTarget$$, $keyStroke$$9$$, 0, $AdfDhtmlCalendarPeer$$.$_EVENT_BUTTON_NONE$, $AdfDhtmlCalendarPeer$$.$_EVENT_TRIGGER_KEY$);
      $AdfKeyStroke$$.$DELETE_KEY$ == $keyCode$$40$$ && $JSCompiler_StaticMethods__launchPopupFacet$$(this, $component$$736$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_DELETE$);
    }
  } else {
    if (null != $AdfAgent$$.$AGENT$.getAttribute($eventTarget$$38$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$)) {
      return $view$$9$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ ? $JSCompiler_StaticMethods__handleKeyUpForDay$$(this, $keyCode$$40$$, $eventTarget$$38$$, $providerId$$11$$) : $view$$9$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$ ? $JSCompiler_StaticMethods__handleKeyUpForWeek$$(this, $keyCode$$40$$, $eventTarget$$38$$, $providerId$$11$$) : $view$$9$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_MONTH$ ? $JSCompiler_StaticMethods__handleKeyUpForMonth$$(this, $keyCode$$40$$, $eventTarget$$38$$) : $view$$9$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_LIST$ ? 
      $JSCompiler_StaticMethods__handleKeyUpForList$$($keyCode$$40$$, $eventTarget$$38$$) : !1;
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.HandleComponentKeyUp", {$HandleComponentKeyUp$:$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentKeyUp$});
$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentAction$ = function $$AdfDhtmlCalendarPeer$$$$$HandleComponentAction$$($componentEvent$$113$$) {
  var $component$$737$$ = this.$getComponent$(), $calId$$ = $component$$737$$.$getClientId$(), $eventId$$1$$ = $JSCompiler_StaticMethods__getComponentEventSource$$(this, $componentEvent$$113$$).$getClientId$();
  $calId$$ + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_VIEW_BUTTON_ID_DAY$ == $eventId$$1$$ ? $JSCompiler_StaticMethods__actionToDisplayChange$$(this, $componentEvent$$113$$, $component$$737$$, $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$) : $calId$$ + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_VIEW_BUTTON_ID_WEEK$ == $eventId$$1$$ ? $JSCompiler_StaticMethods__actionToDisplayChange$$(this, $componentEvent$$113$$, $component$$737$$, $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$) : 
  $calId$$ + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_VIEW_BUTTON_ID_MONTH$ == $eventId$$1$$ ? $JSCompiler_StaticMethods__actionToDisplayChange$$(this, $componentEvent$$113$$, $component$$737$$, $AdfDhtmlCalendarPeer$$.$_VIEW_MONTH$) : $calId$$ + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_VIEW_BUTTON_ID_LIST$ == $eventId$$1$$ ? $JSCompiler_StaticMethods__actionToDisplayChange$$(this, $componentEvent$$113$$, $component$$737$$, $AdfDhtmlCalendarPeer$$.$_VIEW_LIST$) : 
  $calId$$ + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_DATE_BUTTON_ID_TODAY$ == $eventId$$1$$ ? $JSCompiler_StaticMethods__actionToDisplayChange$$(this, $componentEvent$$113$$, $component$$737$$, null, $AdfCalendarDisplayChangeEvent$$.$DATE_TODAY$) : $calId$$ + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_DATE_BUTTON_ID_NEXT$ == $eventId$$1$$ ? $JSCompiler_StaticMethods__actionToDisplayChange$$(this, $componentEvent$$113$$, $component$$737$$, null, $AdfCalendarDisplayChangeEvent$$.$DATE_NEXT$) : 
  $calId$$ + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_DATE_BUTTON_ID_PREVIOUS$ == $eventId$$1$$ && $JSCompiler_StaticMethods__actionToDisplayChange$$(this, $componentEvent$$113$$, $component$$737$$, null, $AdfCalendarDisplayChangeEvent$$.$DATE_PREVIOUS$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.HandleComponentAction", {$HandleComponentAction$:$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentAction$});
$AdfDhtmlCalendarPeer$$.prototype.$IsBusy$ = function $$AdfDhtmlCalendarPeer$$$$$IsBusy$$() {
  return this.$_isBusy$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.IsBusy", {$IsBusy$:$AdfDhtmlCalendarPeer$$.prototype.$IsBusy$});
$AdfDhtmlCalendarPeer$$.prototype.$SetBusy$ = function $$AdfDhtmlCalendarPeer$$$$$SetBusy$$($isBusy$$6$$) {
  this.$_isBusy$ = $isBusy$$6$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.SetBusy", {$SetBusy$:$AdfDhtmlCalendarPeer$$.prototype.$SetBusy$});
$AdfDhtmlCalendarPeer$$.prototype.$handleMonthOverflowLinkClick$ = function $$AdfDhtmlCalendarPeer$$$$$handleMonthOverflowLinkClick$$() {
  return !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.handleMonthOverflowLinkClick", {$handleMonthOverflowLinkClick$:$AdfDhtmlCalendarPeer$$.prototype.$handleMonthOverflowLinkClick$});
$AdfDhtmlCalendarPeer$$.prototype.$needsResizeNotify$ = function $$AdfDhtmlCalendarPeer$$$$$needsResizeNotify$$() {
  var $view$$10$$ = this.$getComponent$().$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$);
  if ($view$$10$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_MONTH$ || $view$$10$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ || $view$$10$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$ || $view$$10$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_LIST$) {
    return !0;
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.needsResizeNotify", {$needsResizeNotify$:$AdfDhtmlCalendarPeer$$.prototype.$needsResizeNotify$});
$AdfDhtmlCalendarPeer$$.prototype.$resizeNotify$ = function $$AdfDhtmlCalendarPeer$$$$$resizeNotify$$($component$$738$$, $oldWidth$$5$$, $oldHeight$$5$$, $newWidth$$6$$, $newHeight$$7$$) {
  var $view$$11$$ = this.$getComponent$().$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$);
  $oldWidth$$5$$ != $newWidth$$6$$ && ($view$$11$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_LIST$ ? $AdfDhtmlCalendarPeer$$.$_adjustViewSizeState$(this.$getDomElement$(), $newWidth$$6$$) : null == $JSCompiler_StaticMethods__getProviderGridElement$$($component$$738$$) || $view$$11$$ != $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$ && $view$$11$$ != $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ || $AdfDhtmlCalendarPeer$$.$_adjustProviderGroupingViewSizeState$(this.$getDomElement$(), $newWidth$$6$$));
  if (null != $JSCompiler_StaticMethods__getProviderGridElement$$($component$$738$$)) {
    for (var $agent$$inline_1282$$ = $AdfAgent$$.$AGENT$, $clientId$$inline_1283$$ = $component$$738$$.$getClientId$(), $providersCntId$$inline_1284$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$inline_1283$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_CONTAINER_SUB_ID$), $providersContainer$$inline_1285$$ = $agent$$inline_1282$$.getElementById($providersCntId$$inline_1284$$), $providerWrapperNodes$$inline_1286$$ = $AdfDomUtils$$.$getChildElements$($providersContainer$$inline_1285$$), $maxProviderWidth$$inline_1287$$ = 
    0, $providerheight$$inline_1288$$ = {}, $i$$inline_1289$$ = 0;$i$$inline_1289$$ < $providerWrapperNodes$$inline_1286$$.length;$i$$inline_1289$$++) {
      var $providerWrapperNode$$inline_1290$$ = $providerWrapperNodes$$inline_1286$$[$i$$inline_1289$$], $pid$$inline_1291$$ = $agent$$inline_1282$$.getAttribute($providerWrapperNode$$inline_1290$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$);
      $providerheight$$inline_1288$$[$pid$$inline_1291$$] = Math.round($providerWrapperNode$$inline_1290$$.getBoundingClientRect().height);
      $maxProviderWidth$$inline_1287$$ = Math.max($maxProviderWidth$$inline_1287$$, Math.round($providerWrapperNode$$inline_1290$$.getBoundingClientRect().width));
    }
    providerHeaderSubid = $component$$738$$.getView() == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ ? $AdfDhtmlCalendarPeer$$.$_DAY_HEADER_PROVIDER_SUB_ID$ : $AdfDhtmlCalendarPeer$$.$_WEEK_HEADER_PROVIDER_SUB_ID$;
    var $providerHeaderCntId$$inline_1292$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$inline_1283$$, providerHeaderSubid), $providerHeaderContainer$$inline_1293$$ = $AdfAgent$$.$AGENT$.getElementById($providerHeaderCntId$$inline_1292$$), $maxProviderWidth$$inline_1287$$ = Math.max($maxProviderWidth$$inline_1287$$, Math.round($providerHeaderContainer$$inline_1293$$.getBoundingClientRect().width));
    $providerHeaderContainer$$inline_1293$$.style.width = $maxProviderWidth$$inline_1287$$ + "px";
    var $dayHeaderSubid$$inline_1294$$ = $component$$738$$.getView() == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ ? $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_HEADER_SUB_ID$ : $AdfDhtmlCalendarPeer$$.$_CALENDAR_WEEK_HEADER_SUB_ID$, $dayHeaderCntId$$inline_1295$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$inline_1283$$, $dayHeaderSubid$$inline_1294$$), $dayHeaderContainer$$inline_1296$$ = $AdfAgent$$.$AGENT$.getElementById($dayHeaderCntId$$inline_1295$$), $headerComputedStyle$$inline_1297$$ = window.getComputedStyle($dayHeaderContainer$$inline_1296$$);
    $dayHeaderContainer$$inline_1296$$.style.width = "calc(100% - " + ($maxProviderWidth$$inline_1287$$ + parseFloat($headerComputedStyle$$inline_1297$$.marginRight) + parseFloat($headerComputedStyle$$inline_1297$$.marginLeft)) + "px)";
    var $providersGroupActsContId$$inline_1298$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$738$$.$getClientId$(), $AdfDhtmlCalendarPeer$$.$_CALENDAR_WEEK_TIMED_ACTIVITIES_CELL_SUB_ID$), $providersGroupActsContainer$$inline_1299$$ = $AdfAgent$$.$AGENT$.getElementById($providersGroupActsContId$$inline_1298$$), $providerActGroups$$inline_1300$$ = $AdfDomUtils$$.$getChildElementsByMatch$($providersGroupActsContainer$$inline_1299$$, $AdfDhtmlCalendarPeer$$.$_providerWrapperFilter$, "div", null);
    $providerActGroups$$inline_1300$$ || ($providerActGroups$$inline_1300$$ = []);
    for ($i$$inline_1289$$ = 0;$i$$inline_1289$$ < $providerActGroups$$inline_1300$$.length;$i$$inline_1289$$++) {
      var $providerActGroup$$inline_1301$$ = $providerActGroups$$inline_1300$$[$i$$inline_1289$$], $pid$$inline_1291$$ = $agent$$inline_1282$$.getAttribute($providerActGroup$$inline_1301$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$);
      $providerheight$$inline_1288$$[$pid$$inline_1291$$] = Math.max($providerheight$$inline_1288$$[$pid$$inline_1291$$], Math.round($providerActGroup$$inline_1301$$.getBoundingClientRect().height));
    }
    for ($i$$inline_1289$$ = 0;$i$$inline_1289$$ < $providerWrapperNodes$$inline_1286$$.length;$i$$inline_1289$$++) {
      $providerWrapperNode$$inline_1290$$ = $providerWrapperNodes$$inline_1286$$[$i$$inline_1289$$], $pid$$inline_1291$$ = $agent$$inline_1282$$.getAttribute($providerWrapperNode$$inline_1290$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$), $providerWrapperNode$$inline_1290$$.style.width = $maxProviderWidth$$inline_1287$$ + "px", $providerWrapperNode$$inline_1290$$.style.height = $providerheight$$inline_1288$$[$pid$$inline_1291$$] + "px";
    }
    $providersContainer$$inline_1285$$.style.width = $maxProviderWidth$$inline_1287$$ + "px";
    $providersContainer$$inline_1285$$.parentNode.style.width = $maxProviderWidth$$inline_1287$$ + "px";
    for ($i$$inline_1289$$ = 0;$i$$inline_1289$$ < $providerActGroups$$inline_1300$$.length;$i$$inline_1289$$++) {
      $providerActGroup$$inline_1301$$ = $providerActGroups$$inline_1300$$[$i$$inline_1289$$], $pid$$inline_1291$$ = $agent$$inline_1282$$.getAttribute($providerActGroup$$inline_1301$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$), $providerActGroup$$inline_1301$$.style.height = $providerheight$$inline_1288$$[$pid$$inline_1291$$] + "px";
    }
  }
  if ($newHeight$$7$$ != $oldHeight$$5$$) {
    if ($view$$11$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ || $view$$11$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$) {
      var $page$$inline_1304$$ = $AdfPage$$.$PAGE$, $calendar$$inline_1305$$ = this.$getComponent$();
      if ("auto" == $calendar$$inline_1305$$.getSplitterPosition()) {
        var $clientId$$inline_1306$$ = $calendar$$inline_1305$$.$getClientId$();
        this.$_splitterComponent$ = $page$$inline_1304$$.$findComponent$(this.$_splitterid$);
        var $agent$$inline_1307$$ = $AdfAgent$$.$AGENT$, $allDaySubId$$inline_1308$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$inline_1306$$, $AdfDhtmlCalendarPeer$$.$_ALL_DAY_CONTAINER_SUB_ID$), $allDayActContainer$$inline_1309$$ = $agent$$inline_1307$$.getElementById($allDaySubId$$inline_1308$$);
        if ($allDayActContainer$$inline_1309$$) {
          var $splitterDOM$$inline_1310$$ = $agent$$inline_1307$$.getElementById(this.$_splitterid$), $maxAllDayActsHeight$$inline_1311$$ = Math.floor(.4 * $splitterDOM$$inline_1310$$.offsetHeight);
          if (null == this.$_EMToPxRatio$) {
            var $viewRoot$$inline_1312$$ = $splitterDOM$$inline_1310$$.parentNode;
            this.$_EMToPxRatio$ = parseFloat($viewRoot$$inline_1312$$.style.top) / $viewRoot$$inline_1312$$.offsetTop;
          }
          var $allDayActContStretchedHeight$$inline_1313$$ = $AdfDhtmlCalendarPeer$$.$_PADDING_AFTER_ALL_DAY_ACTIVITIES$, $allDayActivityDOMs$$inline_1314$$ = $AdfDomUtils$$.$getChildElements$($allDayActContainer$$inline_1309$$);
          if ($allDayActivityDOMs$$inline_1314$$) {
            var $length$$inline_1315$$ = $allDayActivityDOMs$$inline_1314$$.length, $maxTopOffset$$inline_1316$$ = 0, $activityHeight$$inline_1317$$ = 0;
            if (1 == this.$_splitterComponent$.getCollapsed()) {
              var $splitterFirstFacet$$inline_1318$$ = $AdfDomUtils$$.$getFirstChildElement$($splitterDOM$$inline_1310$$);
              $splitterFirstFacet$$inline_1318$$.style.visibility = "hidden";
              $splitterFirstFacet$$inline_1318$$.style.display = "";
            }
            for (var $i$$inline_1319$$ = 0;$i$$inline_1319$$ < $length$$inline_1315$$;$i$$inline_1319$$++) {
              var $domElement$$inline_1320$$ = $allDayActivityDOMs$$inline_1314$$[$i$$inline_1319$$];
              if ("true" == $agent$$inline_1307$$.getAttribute($domElement$$inline_1320$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$)) {
                var $activityTopOffset$$inline_1321$$ = $domElement$$inline_1320$$.offsetTop;
                $activityTopOffset$$inline_1321$$ > $maxTopOffset$$inline_1316$$ && ($maxTopOffset$$inline_1316$$ = $activityTopOffset$$inline_1321$$);
                0 == $activityHeight$$inline_1317$$ && ($activityHeight$$inline_1317$$ = $domElement$$inline_1320$$.offsetHeight);
              }
            }
            1 == this.$_splitterComponent$.getCollapsed() && ($splitterFirstFacet$$inline_1318$$.style.display = "none", $splitterFirstFacet$$inline_1318$$.style.visibility = "");
            $allDayActContStretchedHeight$$inline_1313$$ += $maxTopOffset$$inline_1316$$ + $activityHeight$$inline_1317$$;
          }
          var $newSplitterPos$$inline_1322$$ = Math.min($maxAllDayActsHeight$$inline_1311$$, $allDayActContStretchedHeight$$inline_1313$$);
          $agent$$inline_1307$$.$getPlatform$() == $AdfAgent$$.$GECKO_PLATFORM$ && ($newSplitterPos$$inline_1322$$ = Math.max(36, $newSplitterPos$$inline_1322$$));
          this.$_splitterComponent$.getSplitterPosition() != $newSplitterPos$$inline_1322$$ && $page$$inline_1304$$.$scheduleTimer$(this, this.$_setSplitterPositionCallback$, $newSplitterPos$$inline_1322$$, 0);
        }
      }
      if (-1 == this.$getComponent$().getShowActivityTypes().indexOf($AdfDhtmlCalendarPeer$$.$_TIME$)) {
        var $durGridContainer$$inline_1325$$ = $JSCompiler_StaticMethods__getDateTimeGridContainer$$(this);
        if ($durGridContainer$$inline_1325$$) {
          for (var $timeActivityContainer$$inline_1326$$ = $AdfDomUtils$$.$getChildElementByAttributeValue$($durGridContainer$$inline_1325$$, $AdfDhtmlCalendarPeer$$.$_TIME_ACTIVITY_COLUMN_KEY$, "true", "div"), $containerHeight$$inline_1327$$ = $timeActivityContainer$$inline_1326$$.scrollHeight, $potentialDayCellNodes$$inline_1328$$ = $timeActivityContainer$$inline_1326$$.childNodes, $i$$inline_1329$$ = 0;$i$$inline_1329$$ < $potentialDayCellNodes$$inline_1328$$.length;$i$$inline_1329$$++) {
            var $dayCellNode$$inline_1330$$ = $potentialDayCellNodes$$inline_1328$$[$i$$inline_1329$$];
            null == $dayCellNode$$inline_1330$$.getAttribute($AdfDhtmlCalendarPeer$$.$_CALENDAR_TIME_SLOT_KEY$) && ($dayCellNode$$inline_1330$$.style.minHeight = $containerHeight$$inline_1327$$ + "px", $dayCellNode$$inline_1330$$.style.height = "100%");
          }
        }
      }
    } else {
      if ($view$$11$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_MONTH$) {
        var $isRTL$$inline_1335$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$(), $isShrinking$$inline_1336$$ = null == $oldHeight$$5$$ || $newHeight$$7$$ < $oldHeight$$5$$, $calendar$$inline_1337$$ = this.$getComponent$(), $clientId$$inline_1338$$ = $calendar$$inline_1337$$.$getClientId$(), $monthGridId$$inline_1339$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$inline_1338$$, $AdfDhtmlCalendarPeer$$.$_MONTH_GRID_ID$), $monthGrid$$inline_1340$$ = $AdfAgent$$.$AGENT$.getElementById($monthGridId$$inline_1339$$);
        if ($monthGrid$$inline_1340$$) {
          for (var $monthRows$$inline_1341$$ = $monthGrid$$inline_1340$$.childNodes, $numRows$$inline_1342$$ = $monthRows$$inline_1341$$.length, $monthHeaderId$$inline_1343$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$inline_1338$$, $AdfDhtmlCalendarPeer$$.$_MONTH_HEADER_ID$), $monthHeader$$inline_1344$$ = $AdfAgent$$.$AGENT$.getElementById($monthHeaderId$$inline_1343$$), $gridInfo$$inline_1345$$ = $JSCompiler_StaticMethods__calculateMonthGridInfo$$($monthGrid$$inline_1340$$, $monthHeader$$inline_1344$$), 
          $i$$inline_1346$$ = 0;$i$$inline_1346$$ < $numRows$$inline_1342$$;$i$$inline_1346$$++) {
            for (var $currDaysArray$$inline_1347$$ = Array($gridInfo$$inline_1345$$.$numDaysInWeek$), $overflowAnchorArr$$inline_1348$$ = Array($gridInfo$$inline_1345$$.$numDaysInWeek$), $firstHiddenActArr$$inline_1349$$ = Array($gridInfo$$inline_1345$$.$numDaysInWeek$), $overflowLinkArr$$inline_1350$$ = Array($gridInfo$$inline_1345$$.$numDaysInWeek$), $prevOverflowInfo$$inline_1351$$ = Array($gridInfo$$inline_1345$$.$numDaysInWeek$), $overflowDeltaInfo$$inline_1352$$ = Array($gridInfo$$inline_1345$$.$numDaysInWeek$), 
            $d$$inline_1353$$ = 0;$d$$inline_1353$$ < $gridInfo$$inline_1345$$.$numDaysInWeek$;$d$$inline_1353$$++) {
              $overflowDeltaInfo$$inline_1352$$[$d$$inline_1353$$] = 0;
            }
            for (var $row$$inline_1354$$ = $monthRows$$inline_1341$$[$i$$inline_1346$$], $monthRowChildren$$inline_1355$$ = $row$$inline_1354$$.childNodes, $numEntries$$inline_1356$$ = $monthRowChildren$$inline_1355$$.length, $actsPerDayOfWeek$$inline_1357$$ = Array($gridInfo$$inline_1345$$.$numDaysInWeek$), $c$$inline_1358$$ = 0;$c$$inline_1358$$ < $gridInfo$$inline_1345$$.$numDaysInWeek$;$c$$inline_1358$$++) {
              $actsPerDayOfWeek$$inline_1357$$[$c$$inline_1358$$] = 0;
            }
            for ($c$$inline_1358$$ = 0;$c$$inline_1358$$ < $monthRowChildren$$inline_1355$$.length;$c$$inline_1358$$++) {
              var $col$$inline_1359$$ = parseInt($AdfAgent$$.$AGENT$.getAttribute($monthRowChildren$$inline_1355$$[$c$$inline_1358$$], $AdfDhtmlCalendarPeer$$.$_CAL_ACT_COL_NUM$));
              if (!isNaN($col$$inline_1359$$)) {
                var $isAllDayAct$$inline_1360$$ = $AdfAgent$$.$AGENT$.getAttribute($monthRowChildren$$inline_1355$$[$c$$inline_1358$$], $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_ALL_DAY_KEY$), $isTimedActWrapper$$inline_1361$$ = $AdfAgent$$.$AGENT$.getAttribute($monthRowChildren$$inline_1355$$[$c$$inline_1358$$], $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$);
                if ($isAllDayAct$$inline_1360$$) {
                  for (var $actInfo$$inline_1362$$ = $JSCompiler_StaticMethods__getActivityInfo$$($monthRowChildren$$inline_1355$$[$c$$inline_1358$$], $gridInfo$$inline_1345$$), $j$$inline_1363$$ = 0;$j$$inline_1363$$ < $actInfo$$inline_1362$$.$activityLength$;$j$$inline_1363$$++) {
                    $actsPerDayOfWeek$$inline_1357$$[$actInfo$$inline_1362$$.$startDay$ + $j$$inline_1363$$]++;
                  }
                } else {
                  if ($isTimedActWrapper$$inline_1361$$) {
                    for (var $timedActWrapper$$inline_1364$$ = $monthRowChildren$$inline_1355$$[$c$$inline_1358$$], $d$$inline_1353$$ = 0;$d$$inline_1353$$ < $timedActWrapper$$inline_1364$$.children.length;$d$$inline_1353$$++) {
                      for ($actInfo$$inline_1362$$ = $JSCompiler_StaticMethods__getActivityInfo$$($timedActWrapper$$inline_1364$$.children[$d$$inline_1353$$], $gridInfo$$inline_1345$$), $j$$inline_1363$$ = 0;$j$$inline_1363$$ < $actInfo$$inline_1362$$.$activityLength$;$j$$inline_1363$$++) {
                        $actsPerDayOfWeek$$inline_1357$$[$actInfo$$inline_1362$$.$startDay$ + $j$$inline_1363$$]++;
                      }
                    }
                  }
                }
              }
            }
            for ($j$$inline_1363$$ = 0;$j$$inline_1363$$ < $numEntries$$inline_1356$$;$j$$inline_1363$$++) {
              var $isAllDayAct$$inline_1360$$ = $AdfAgent$$.$AGENT$.getAttribute($monthRowChildren$$inline_1355$$[$j$$inline_1363$$], $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_ALL_DAY_KEY$), $allDayActivity$$inline_1365$$, $isTimedActWrapper$$inline_1361$$ = $AdfAgent$$.$AGENT$.getAttribute($monthRowChildren$$inline_1355$$[$j$$inline_1363$$], $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$), $isOverflowLink$$inline_1366$$ = $AdfAgent$$.$AGENT$.getAttribute($monthRowChildren$$inline_1355$$[$j$$inline_1363$$], 
              $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$), $currIndex$$inline_1367$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($gridInfo$$inline_1345$$, $monthRowChildren$$inline_1355$$[$j$$inline_1363$$]);
              if ($isAllDayAct$$inline_1360$$) {
                $allDayActivity$$inline_1365$$ = $monthRowChildren$$inline_1355$$[$j$$inline_1363$$], null == $gridInfo$$inline_1345$$.$activityInfo$ && $JSCompiler_StaticMethods__calculateMonthGridCapacity$$($allDayActivity$$inline_1365$$, $gridInfo$$inline_1345$$);
              } else {
                if ($isTimedActWrapper$$inline_1361$$) {
                  var $sampleTimedActivity$$inline_1368$$ = $monthRowChildren$$inline_1355$$[$j$$inline_1363$$].childNodes[0];
                  null == $gridInfo$$inline_1345$$.$activityInfo$ && $JSCompiler_StaticMethods__calculateMonthGridCapacity$$($sampleTimedActivity$$inline_1368$$, $gridInfo$$inline_1345$$);
                } else {
                  if ($isOverflowLink$$inline_1366$$) {
                    var $numOverflow$$inline_1369$$ = $AdfAgent$$.$AGENT$.getAttribute($monthRowChildren$$inline_1355$$[$j$$inline_1363$$], $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_NUM_OVERFLOW$);
                    $prevOverflowInfo$$inline_1351$$[$currIndex$$inline_1367$$] = $numOverflow$$inline_1369$$;
                    $row$$inline_1354$$.removeChild($monthRowChildren$$inline_1355$$[$j$$inline_1363$$]);
                    $j$$inline_1363$$--;
                    $numEntries$$inline_1356$$--;
                    continue;
                  } else {
                    $currDaysArray$$inline_1347$$[$currIndex$$inline_1367$$] = $monthRowChildren$$inline_1355$$[$j$$inline_1363$$];
                  }
                }
              }
              if ($isAllDayAct$$inline_1360$$ || $isTimedActWrapper$$inline_1361$$ || $isOverflowLink$$inline_1366$$) {
                if ($isShrinking$$inline_1336$$) {
                  var $rowNum$$inline_1370$$, $colNum$$inline_1371$$, $totalActivitiesInCell$$inline_1372$$, $availableDayCellHeight$$inline_1373$$ = $gridInfo$$inline_1345$$.$dayCellHt$ - ($gridInfo$$inline_1345$$.$dayHeaderHt$ + $gridInfo$$inline_1345$$.$activityInfo$.$spacerHt$);
                  if ($isAllDayAct$$inline_1360$$) {
                    $allDayActivity$$inline_1365$$ = $monthRowChildren$$inline_1355$$[$j$$inline_1363$$];
                    $rowNum$$inline_1370$$ = parseInt($AdfAgent$$.$AGENT$.getAttribute($allDayActivity$$inline_1365$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$));
                    $colNum$$inline_1371$$ = parseInt($AdfAgent$$.$AGENT$.getAttribute($allDayActivity$$inline_1365$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_COL_NUM$));
                    $totalActivitiesInCell$$inline_1372$$ = $actsPerDayOfWeek$$inline_1357$$[$colNum$$inline_1371$$];
                    var $currentActivityStackHeight$$inline_1374$$ = ($rowNum$$inline_1370$$ + 1) * $gridInfo$$inline_1345$$.$activityInfo$.$activityHt$;
                    if ($rowNum$$inline_1370$$ >= $gridInfo$$inline_1345$$.$maxNumActivities$ || 1 < $totalActivitiesInCell$$inline_1372$$ && $currentActivityStackHeight$$inline_1374$$ + $gridInfo$$inline_1345$$.$activityInfo$.$overflowHt$ >= $availableDayCellHeight$$inline_1373$$) {
                      "none" != $allDayActivity$$inline_1365$$.style.display && $JSCompiler_StaticMethods__hideMonthGridActivity$$($allDayActivity$$inline_1365$$, $gridInfo$$inline_1345$$, $overflowDeltaInfo$$inline_1352$$), null == $overflowAnchorArr$$inline_1348$$[$currIndex$$inline_1367$$] && ($overflowAnchorArr$$inline_1348$$[$currIndex$$inline_1367$$] = $allDayActivity$$inline_1365$$), null == $firstHiddenActArr$$inline_1349$$[$currIndex$$inline_1367$$] && ($firstHiddenActArr$$inline_1349$$[$currIndex$$inline_1367$$] = 
                      $allDayActivity$$inline_1365$$);
                    }
                  } else {
                    if ($isTimedActWrapper$$inline_1361$$) {
                      $timedActWrapper$$inline_1364$$ = $monthRowChildren$$inline_1355$$[$j$$inline_1363$$];
                      $colNum$$inline_1371$$ = parseInt($AdfAgent$$.$AGENT$.getAttribute($timedActWrapper$$inline_1364$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_COL_NUM$));
                      $totalActivitiesInCell$$inline_1372$$ = $actsPerDayOfWeek$$inline_1357$$[$colNum$$inline_1371$$];
                      for (var $numTimedActs$$inline_1375$$ = $timedActWrapper$$inline_1364$$.childNodes.length, $numHidden$$inline_1376$$ = 0, $k$$inline_1377$$ = 0;$k$$inline_1377$$ < $numTimedActs$$inline_1375$$;$k$$inline_1377$$++) {
                        var $timedAct$$inline_1378$$ = $timedActWrapper$$inline_1364$$.childNodes[$k$$inline_1377$$];
                        $rowNum$$inline_1370$$ = parseInt($AdfAgent$$.$AGENT$.getAttribute($timedAct$$inline_1378$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$));
                        $currentActivityStackHeight$$inline_1374$$ = ($rowNum$$inline_1370$$ + 1) * $gridInfo$$inline_1345$$.$activityInfo$.$activityHt$;
                        if ($rowNum$$inline_1370$$ >= $gridInfo$$inline_1345$$.$maxNumActivities$ || 1 < $totalActivitiesInCell$$inline_1372$$ && $currentActivityStackHeight$$inline_1374$$ + $gridInfo$$inline_1345$$.$activityInfo$.$overflowHt$ >= $availableDayCellHeight$$inline_1373$$) {
                          "none" != $timedAct$$inline_1378$$.style.display && $JSCompiler_StaticMethods__hideMonthGridActivity$$($timedAct$$inline_1378$$, $gridInfo$$inline_1345$$, $overflowDeltaInfo$$inline_1352$$), $numHidden$$inline_1376$$++, null == $firstHiddenActArr$$inline_1349$$[$currIndex$$inline_1367$$] && ($firstHiddenActArr$$inline_1349$$[$currIndex$$inline_1367$$] = $timedAct$$inline_1378$$);
                        }
                      }
                      if (null == $overflowAnchorArr$$inline_1348$$[$currIndex$$inline_1367$$]) {
                        if ($numHidden$$inline_1376$$ == $numTimedActs$$inline_1375$$) {
                          $overflowAnchorArr$$inline_1348$$[$currIndex$$inline_1367$$] = $timedActWrapper$$inline_1364$$;
                        } else {
                          if (0 < $numHidden$$inline_1376$$) {
                            for (var $nextSibling$$inline_1379$$ = $AdfDomUtils$$.$getNextElement$($timedActWrapper$$inline_1364$$);null != $AdfAgent$$.$AGENT$.getAttribute($nextSibling$$inline_1379$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$);) {
                              $nextSibling$$inline_1379$$ = $AdfDomUtils$$.$getNextElement$($nextSibling$$inline_1379$$);
                            }
                            $overflowAnchorArr$$inline_1348$$[$currIndex$$inline_1367$$] = $nextSibling$$inline_1379$$;
                          }
                        }
                      }
                    }
                  }
                } else {
                  if ($availableDayCellHeight$$inline_1373$$ = $gridInfo$$inline_1345$$.$dayCellHt$ - ($gridInfo$$inline_1345$$.$dayHeaderHt$ + $gridInfo$$inline_1345$$.$activityInfo$.$spacerHt$), $isAllDayAct$$inline_1360$$) {
                    $allDayActivity$$inline_1365$$ = $monthRowChildren$$inline_1355$$[$j$$inline_1363$$], $rowNum$$inline_1370$$ = parseInt($AdfAgent$$.$AGENT$.getAttribute($allDayActivity$$inline_1365$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$)), $AdfAgent$$.$AGENT$.getAttribute($allDayActivity$$inline_1365$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_COL_NUM$), $currentActivityStackHeight$$inline_1374$$ = ($rowNum$$inline_1370$$ + 1) * $gridInfo$$inline_1345$$.$activityInfo$.$activityHt$, $rowNum$$inline_1370$$ < 
                    $gridInfo$$inline_1345$$.$maxNumActivities$ && $currentActivityStackHeight$$inline_1374$$ + $gridInfo$$inline_1345$$.$activityInfo$.$overflowHt$ < $availableDayCellHeight$$inline_1373$$ ? "none" == $allDayActivity$$inline_1365$$.style.display && $JSCompiler_StaticMethods__showMonthGridActivity$$($allDayActivity$$inline_1365$$, $gridInfo$$inline_1345$$, $overflowDeltaInfo$$inline_1352$$) : (null == $overflowAnchorArr$$inline_1348$$[$currIndex$$inline_1367$$] && ($overflowAnchorArr$$inline_1348$$[$currIndex$$inline_1367$$] = 
                    $allDayActivity$$inline_1365$$), null == $firstHiddenActArr$$inline_1349$$[$currIndex$$inline_1367$$] && ($firstHiddenActArr$$inline_1349$$[$currIndex$$inline_1367$$] = $allDayActivity$$inline_1365$$));
                  } else {
                    if ($isTimedActWrapper$$inline_1361$$) {
                      var $timedActWrapper$$inline_1364$$ = $monthRowChildren$$inline_1355$$[$j$$inline_1363$$], $numHiddenInReshow$$inline_1380$$ = 0;
                      $AdfAgent$$.$AGENT$.getAttribute($timedActWrapper$$inline_1364$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_COL_NUM$);
                      for (var $numActs$$inline_1381$$ = $timedActWrapper$$inline_1364$$.childNodes.length, $l$$inline_1382$$ = 0;$l$$inline_1382$$ < $numActs$$inline_1381$$;$l$$inline_1382$$++) {
                        var $act$$inline_1383$$ = $timedActWrapper$$inline_1364$$.childNodes[$l$$inline_1382$$];
                        $rowNum$$inline_1370$$ = parseInt($AdfAgent$$.$AGENT$.getAttribute($act$$inline_1383$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$));
                        $currentActivityStackHeight$$inline_1374$$ = ($rowNum$$inline_1370$$ + 1) * $gridInfo$$inline_1345$$.$activityInfo$.$activityHt$;
                        $rowNum$$inline_1370$$ < $gridInfo$$inline_1345$$.$maxNumActivities$ && $currentActivityStackHeight$$inline_1374$$ + $gridInfo$$inline_1345$$.$activityInfo$.$overflowHt$ < $availableDayCellHeight$$inline_1373$$ ? "none" == $act$$inline_1383$$.style.display && $JSCompiler_StaticMethods__showMonthGridActivity$$($act$$inline_1383$$, $gridInfo$$inline_1345$$, $overflowDeltaInfo$$inline_1352$$) : (null == $firstHiddenActArr$$inline_1349$$[$currIndex$$inline_1367$$] && ($firstHiddenActArr$$inline_1349$$[$currIndex$$inline_1367$$] = 
                        $act$$inline_1383$$), $numHiddenInReshow$$inline_1380$$++);
                      }
                      if (null == $overflowAnchorArr$$inline_1348$$[$currIndex$$inline_1367$$]) {
                        if ($numHiddenInReshow$$inline_1380$$ == $numActs$$inline_1381$$) {
                          $overflowAnchorArr$$inline_1348$$[$currIndex$$inline_1367$$] = $timedActWrapper$$inline_1364$$;
                        } else {
                          if (0 < $numHiddenInReshow$$inline_1380$$) {
                            for ($nextSibling$$inline_1379$$ = $AdfDomUtils$$.$getNextElement$($timedActWrapper$$inline_1364$$);null != $AdfAgent$$.$AGENT$.getAttribute($nextSibling$$inline_1379$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$);) {
                              $nextSibling$$inline_1379$$ = $AdfDomUtils$$.$getNextElement$($nextSibling$$inline_1379$$);
                            }
                            $overflowAnchorArr$$inline_1348$$[$currIndex$$inline_1367$$] = $nextSibling$$inline_1379$$;
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
            for (var $m$$inline_1384$$ = 0;$m$$inline_1384$$ < $gridInfo$$inline_1345$$.$numDaysInWeek$;$m$$inline_1384$$++) {
              var $overflowAnchorElem$$inline_1385$$ = $overflowAnchorArr$$inline_1348$$[$m$$inline_1384$$], $numOverflowActs$$inline_1386$$ = (parseInt($prevOverflowInfo$$inline_1351$$[$m$$inline_1384$$]) || 0) + (parseInt($overflowDeltaInfo$$inline_1352$$[$m$$inline_1384$$]) || 0);
              if (0 < $numOverflowActs$$inline_1386$$) {
                for (var $reshowActivity$$inline_1387$$ = null != $firstHiddenActArr$$inline_1349$$[$m$$inline_1384$$], $actInfo$$inline_1362$$ = $JSCompiler_StaticMethods__getActivityInfo$$($firstHiddenActArr$$inline_1349$$[$m$$inline_1384$$], $gridInfo$$inline_1345$$), $n$$inline_1388$$ = 0;$reshowActivity$$inline_1387$$ && $n$$inline_1388$$ < $actInfo$$inline_1362$$.$activityLength$;$n$$inline_1388$$++) {
                  1 < (parseInt($prevOverflowInfo$$inline_1351$$[$m$$inline_1384$$ + $n$$inline_1388$$]) || 0) + (parseInt($overflowDeltaInfo$$inline_1352$$[$m$$inline_1384$$ + $n$$inline_1388$$]) || 0) && ($reshowActivity$$inline_1387$$ = !1);
                }
                if (1 == $reshowActivity$$inline_1387$$ && $AdfAgent$$.$AGENT$.getAttribute($firstHiddenActArr$$inline_1349$$[$m$$inline_1384$$], $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$) < $gridInfo$$inline_1345$$.$maxNumActivities$) {
                  $firstHiddenActArr$$inline_1349$$[$m$$inline_1384$$].style.display = $firstHiddenActArr$$inline_1349$$[$m$$inline_1384$$].style.$_display$ || "";
                  for (var $na$$inline_1389$$ = 0;$na$$inline_1389$$ < $actInfo$$inline_1362$$.$activityLength$;$na$$inline_1389$$++) {
                    --$overflowDeltaInfo$$inline_1352$$[$m$$inline_1384$$ + $na$$inline_1389$$];
                  }
                } else {
                  if (null == $overflowAnchorElem$$inline_1385$$) {
                    for (var $pi$$inline_1390$$ = $m$$inline_1384$$ - 1;0 <= $pi$$inline_1390$$;$pi$$inline_1390$$--) {
                      if (null != $overflowLinkArr$$inline_1350$$[$pi$$inline_1390$$]) {
                        $overflowAnchorElem$$inline_1385$$ = $AdfDomUtils$$.$getNextElement$($overflowLinkArr$$inline_1350$$[$pi$$inline_1390$$]);
                        break;
                      }
                    }
                  }
                  var $olink$$inline_1391$$, $calendar$$inline_5630$$ = $calendar$$inline_1337$$, $numOverflow$$inline_5631$$ = $numOverflowActs$$inline_1386$$, $currDayDom$$inline_5632$$ = $currDaysArray$$inline_1347$$[$m$$inline_1384$$], $gridInfo$$inline_5633$$ = $gridInfo$$inline_1345$$, $laf$$inline_5634$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $agent$$inline_5635$$ = $AdfAgent$$.$AGENT$, $newdiv$$inline_5636$$ = document.createElement("div");
                  $AdfDomUtils$$.$addCSSClassName$($newdiv$$inline_5636$$, $laf$$inline_5634$$.getStyleClass($AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK_WRAPPER_CLASS$));
                  $agent$$inline_5635$$.setAttribute($newdiv$$inline_5636$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$);
                  $agent$$inline_5635$$.setAttribute($newdiv$$inline_5636$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_NUM_OVERFLOW$, $numOverflow$$inline_5631$$);
                  $agent$$inline_5635$$.setAttribute($newdiv$$inline_5636$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$, $gridInfo$$inline_5633$$.$maxNumActivities$);
                  var $dayString$$inline_5637$$ = $JSCompiler_StaticMethods__getDayCellAttrValue$$($calendar$$inline_5630$$, $currDayDom$$inline_5632$$);
                  $agent$$inline_5635$$.setAttribute($newdiv$$inline_5636$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$, $dayString$$inline_5637$$);
                  var $anchor$$inline_5638$$ = document.createElement("a");
                  $AdfDomUtils$$.$addCSSClassName$($anchor$$inline_5638$$, $laf$$inline_5634$$.getStyleClass($AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK_CLASS$));
                  $anchor$$inline_5638$$.href = "#";
                  $anchor$$inline_5638$$.onclick = this.$handleMonthOverflowLinkClick$;
                  $anchor$$inline_5638$$.tabIndex = -1;
                  var $monthGridId$$inline_5639$$ = $AdfRichUIPeer$$.$CreateSubId$($calendar$$inline_5630$$.$getClientId$(), $AdfDhtmlCalendarPeer$$.$_MONTH_GRID_ID$), $monthGrid$$inline_5640$$ = $AdfAgent$$.$AGENT$.getElementById($monthGridId$$inline_5639$$), $moreLinkText$$inline_5641$$ = $AdfAgent$$.$AGENT$.getAttribute($monthGrid$$inline_5640$$, $AdfDhtmlCalendarPeer$$.$_MONTH_MORE_LINK_TEXT$), $overflowText$$inline_5642$$ = null != $moreLinkText$$inline_5641$$ ? TrFastMessageFormatUtils.format($moreLinkText$$inline_5641$$, 
                  $numOverflow$$inline_5631$$) : $laf$$inline_5634$$.$getTranslatedString$($AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK_TEXT$, $numOverflow$$inline_5631$$);
                  $anchor$$inline_5638$$.innerHTML = $overflowText$$inline_5642$$;
                  $newdiv$$inline_5636$$.appendChild($anchor$$inline_5638$$);
                  $agent$$inline_5635$$.setAttribute($newdiv$$inline_5636$$, "role", "link");
                  var $overflowLabel$$inline_5643$$ = $laf$$inline_5634$$.$getTranslatedString$($AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK_LABEL$, $numOverflow$$inline_5631$$);
                  $agent$$inline_5635$$.setAttribute($newdiv$$inline_5636$$, "aria-label", $overflowLabel$$inline_5643$$);
                  $newdiv$$inline_5636$$.tabIndex = -1;
                  $olink$$inline_1391$$ = $newdiv$$inline_5636$$;
                  $isRTL$$inline_1335$$ ? $olink$$inline_1391$$.style.right = $currDaysArray$$inline_1347$$[$m$$inline_1384$$].style.right : $olink$$inline_1391$$.style.left = $currDaysArray$$inline_1347$$[$m$$inline_1384$$].style.left;
                  $olink$$inline_1391$$.style.top = $gridInfo$$inline_1345$$.$dayCellHt$ - $gridInfo$$inline_1345$$.$activityInfo$.$overflowHt$ - $gridInfo$$inline_1345$$.$activityInfo$.$spacerHt$ + "px";
                  $olink$$inline_1391$$.style.width = $currDaysArray$$inline_1347$$[$m$$inline_1384$$].style.width;
                  $row$$inline_1354$$.insertBefore($olink$$inline_1391$$, $overflowAnchorElem$$inline_1385$$);
                  $overflowLinkArr$$inline_1350$$[$m$$inline_1384$$] = $olink$$inline_1391$$;
                }
              }
            }
          }
        }
      }
    }
    if (this.$_deferredFromInitDOM$) {
      this.$_restoreScrollPosition$($component$$738$$, this.$getDomElement$());
      this.$_deferredFromInitDOM$ = !1;
      var $splitterDOM$$1$$ = $AdfAgent$$.$AGENT$.getElementById(this.$_splitterid$);
      if ($splitterDOM$$1$$) {
        $splitterDOM$$1$$.style.top = $splitterDOM$$1$$.parentNode.firstChild.offsetHeight + "px";
      } else {
        var $providerGridDOM$$1$$ = $JSCompiler_StaticMethods__getProviderGridElement$$($component$$738$$);
        $providerGridDOM$$1$$ && ($providerGridDOM$$1$$.children[1].style.top = $providerGridDOM$$1$$.firstChild.offsetHeight + "px");
      }
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.resizeNotify", {$resizeNotify$:$AdfDhtmlCalendarPeer$$.prototype.$resizeNotify$});
$AdfDhtmlCalendarPeer$$.prototype.$showActivityPopup$ = function $$AdfDhtmlCalendarPeer$$$$$showActivityPopup$$($popup$$9_popupId$$30$$, $alignElement$$14_alignId$$6_providerId$$12$$, $activityId$$9_hints$$55$$) {
  var $calendar$$4$$ = this.$getComponent$();
  $popup$$9_popupId$$30$$ = $calendar$$4$$.$findComponent$($popup$$9_popupId$$30$$);
  $alignElement$$14_alignId$$6_providerId$$12$$ = $calendar$$4$$.$getClientId$() + "::" + $alignElement$$14_alignId$$6_providerId$$12$$ + "::" + $activityId$$9_hints$$55$$;
  if ($alignElement$$14_alignId$$6_providerId$$12$$ = $AdfAgent$$.$AGENT$.getElementById($alignElement$$14_alignId$$6_providerId$$12$$)) {
    $activityId$$9_hints$$55$$ = {}, $activityId$$9_hints$$55$$.alignElement = $alignElement$$14_alignId$$6_providerId$$12$$, $activityId$$9_hints$$55$$[AdfRichPopup.$HINT_ALIGN$] = AdfRichPopup.$ALIGN_AFTER_START$, $activityId$$9_hints$$55$$.autodismiss = "autodismissMouseOut", $activityId$$9_hints$$55$$.autodismissMouseOut = $alignElement$$14_alignId$$6_providerId$$12$$, $popup$$9_popupId$$30$$.show($activityId$$9_hints$$55$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.showActivityPopup", {$showActivityPopup$:$AdfDhtmlCalendarPeer$$.prototype.$showActivityPopup$});
$AdfDhtmlCalendarPeer$$.prototype.$getActivityForEvent$ = function $$AdfDhtmlCalendarPeer$$$$$getActivityForEvent$$($calendarRootElement$$4_inputEvent$$51$$) {
  if (this.$_resizedActivity$) {
    return null;
  }
  var $ids$$1_nativeTarget$$1_view$$12$$ = $calendarRootElement$$4_inputEvent$$51$$.$getNativeEventTarget$(), $component$$739_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$ = $AdfAgent$$.$AGENT$.getAttribute($ids$$1_nativeTarget$$1_view$$12$$, $AdfDhtmlCalendarPeer$$.$_RESIZE_TIME_INDICATOR_KEY$);
  $component$$739_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$ || ($component$$739_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$ = $AdfAgent$$.$AGENT$.getAttribute($ids$$1_nativeTarget$$1_view$$12$$, $AdfDhtmlCalendarPeer$$.$_RESIZE_All_DAY_INDICATOR_KEY$));
  if ($component$$739_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$) {
    return null;
  }
  $component$$739_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$ = this.$getComponent$();
  $ids$$1_nativeTarget$$1_view$$12$$ = $component$$739_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$.$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$);
  if ($ids$$1_nativeTarget$$1_view$$12$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_LIST$) {
    return null;
  }
  var $activityRootElement$$4_eventTarget$$39$$ = $calendarRootElement$$4_inputEvent$$51$$.$getNativeEventTarget$();
  $calendarRootElement$$4_inputEvent$$51$$ = this.$getDomElement$();
  var $activityRootElement$$4_eventTarget$$39$$ = $JSCompiler_StaticMethods__getParentActivity$$($calendarRootElement$$4_inputEvent$$51$$, $activityRootElement$$4_eventTarget$$39$$), $isDuration$$ = null != $activityRootElement$$4_eventTarget$$39$$ && null != $AdfAgent$$.$AGENT$.getAttribute($activityRootElement$$4_eventTarget$$39$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_DURATION_KEY$), $component$$739_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$ = -1 == $component$$739_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$.getShowActivityTypes().indexOf($AdfDhtmlCalendarPeer$$.$_TIME$);
  return $ids$$1_nativeTarget$$1_view$$12$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ && $isDuration$$ && $component$$739_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$ ? null : $activityRootElement$$4_eventTarget$$39$$ && $calendarRootElement$$4_inputEvent$$51$$ != $activityRootElement$$4_eventTarget$$39$$ ? ($ids$$1_nativeTarget$$1_view$$12$$ = $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($activityRootElement$$4_eventTarget$$39$$), $component$$739_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$ = 
  null != $AdfAgent$$.$AGENT$.getAttribute($activityRootElement$$4_eventTarget$$39$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_ALL_DAY_KEY$), new $AdfCalendarActivity$$($ids$$1_nativeTarget$$1_view$$12$$.$providerId$, $ids$$1_nativeTarget$$1_view$$12$$.$activityId$, $component$$739_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$)) : null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.getActivityForEvent", {$getActivityForEvent$:$AdfDhtmlCalendarPeer$$.prototype.$getActivityForEvent$});
$AdfDhtmlCalendarPeer$$.prototype.$getDragNodeForActivity$ = function $$AdfDhtmlCalendarPeer$$$$$getDragNodeForActivity$$($inputEvent$$52$$, $activity$$3$$) {
  var $activityElement_activityId$$10_component$$740$$ = this.$getComponent$(), $agent$$175_cloneStyle$$1$$ = $AdfAgent$$.$AGENT$;
  $JSCompiler_StaticMethods__hideActivityHoverPopup$$(this);
  $activityElement_activityId$$10_component$$740$$ = $activityElement_activityId$$10_component$$740$$.$getClientId$() + "::" + $activity$$3$$.$getProviderId$() + "::" + $activity$$3$$.$getActivityId$();
  ($activityElement_activityId$$10_component$$740$$ = $agent$$175_cloneStyle$$1$$.getElementById($activityElement_activityId$$10_component$$740$$)) || ($activityElement_activityId$$10_component$$740$$ = $JSCompiler_StaticMethods__getParentActivity$$(this.$getDomElement$(), $inputEvent$$52$$.$getNativeEventTarget$()));
  this.$_draggedActivity$ = $activityElement_activityId$$10_component$$740$$;
  var $activityClone$$ = $activityElement_activityId$$10_component$$740$$.cloneNode(!0);
  $agent$$175_cloneStyle$$1$$.$copyStyle$($activityElement_activityId$$10_component$$740$$, $activityClone$$);
  $agent$$175_cloneStyle$$1$$ = $activityClone$$.style;
  $agent$$175_cloneStyle$$1$$.left = $agent$$175_cloneStyle$$1$$.top = "0px";
  $agent$$175_cloneStyle$$1$$.height = $activityElement_activityId$$10_component$$740$$.clientHeight + "px";
  var $childNodes$$inline_1395_childSpans$$ = null, $agent$$inline_1397_durationSpanNode$$ = null;
  if ($activity$$3$$.$isAllDay$()) {
    for (var $childNodes$$inline_1395_childSpans$$ = $activityClone$$.getElementsByTagName("span"), $activityElement$$inline_1393_dayCell$$inline_1401_elemCount$$ = $childNodes$$inline_1395_childSpans$$.length, $elemCount$$inline_1398_i$$236$$ = 0;$elemCount$$inline_1398_i$$236$$ < $activityElement$$inline_1393_dayCell$$inline_1401_elemCount$$;$elemCount$$inline_1398_i$$236$$++) {
      var $i$$inline_1399_span$$3$$ = $childNodes$$inline_1395_childSpans$$[$elemCount$$inline_1398_i$$236$$];
      if (null != $i$$inline_1399_span$$3$$.getAttribute($AdfDhtmlCalendarPeer$$.$_ALL_DAY_DURATION_TEXT_KEY$)) {
        $agent$$inline_1397_durationSpanNode$$ = $i$$inline_1399_span$$3$$;
        break;
      }
    }
  }
  if (null != $agent$$inline_1397_durationSpanNode$$) {
    var $activityElement$$inline_1393_dayCell$$inline_1401_elemCount$$ = $activityElement_activityId$$10_component$$740$$, $durationSpanNode$$inline_1396$$ = $agent$$inline_1397_durationSpanNode$$, $agent$$inline_1397_durationSpanNode$$ = $AdfAgent$$.$AGENT$;
    $durationSpanNode$$inline_1396$$.style.display = "";
    $elemCount$$inline_1398_i$$236$$ = $childNodes$$inline_1395_childSpans$$.length;
    for ($i$$inline_1399_span$$3$$ = 0;$i$$inline_1399_span$$3$$ < $elemCount$$inline_1398_i$$236$$;$i$$inline_1399_span$$3$$++) {
      var $span$$inline_1400$$ = $childNodes$$inline_1395_childSpans$$[$i$$inline_1399_span$$3$$];
      null != $agent$$inline_1397_durationSpanNode$$.getAttribute($span$$inline_1400$$, $AdfDhtmlCalendarPeer$$.$_ALL_DAY_HEADER_TEXT_KEY$) || $span$$inline_1400$$ === $durationSpanNode$$inline_1396$$ || $AdfDomUtils$$.$isAncestor$($span$$inline_1400$$, $durationSpanNode$$inline_1396$$) || ($span$$inline_1400$$.style.display = "none");
    }
    $childNodes$$inline_1395_childSpans$$ = $activityElement$$inline_1393_dayCell$$inline_1401_elemCount$$.parentNode.childNodes;
    $elemCount$$inline_1398_i$$236$$ = $childNodes$$inline_1395_childSpans$$.length;
    for ($i$$inline_1399_span$$3$$ = 0;$i$$inline_1399_span$$3$$ < $elemCount$$inline_1398_i$$236$$;$i$$inline_1399_span$$3$$++) {
      if ($activityElement$$inline_1393_dayCell$$inline_1401_elemCount$$ = $childNodes$$inline_1395_childSpans$$[$i$$inline_1399_span$$3$$], null != $agent$$inline_1397_durationSpanNode$$.getAttribute($activityElement$$inline_1393_dayCell$$inline_1401_elemCount$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_CELL_KEY$)) {
        $agent$$175_cloneStyle$$1$$.width = $activityElement$$inline_1393_dayCell$$inline_1401_elemCount$$.clientWidth + "px";
        break;
      }
    }
  } else {
    $agent$$175_cloneStyle$$1$$.width = $activityElement_activityId$$10_component$$740$$.clientWidth + "px";
  }
  $AdfDomUtils$$.$addCSSClassName$($activityElement_activityId$$10_component$$740$$, $AdfDhtmlCalendarPeer$$.$_DRAG_SOURCE_CLASS$);
  return $activityClone$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.getDragNodeForActivity", {$getDragNodeForActivity$:$AdfDhtmlCalendarPeer$$.prototype.$getDragNodeForActivity$});
$AdfDhtmlCalendarPeer$$.prototype.$dragDropEnd$ = function $$AdfDhtmlCalendarPeer$$$$$dragDropEnd$$($dndContext$$67$$, $dropAction$$2$$) {
  var $draggedActivity$$ = this.$_draggedActivity$;
  $draggedActivity$$ && ($dropAction$$2$$ == $AdfDnDContext$$.$ACTION_NONE$ && $AdfDomUtils$$.$removeCSSClassName$($draggedActivity$$, $AdfDhtmlCalendarPeer$$.$_DRAG_SOURCE_CLASS$), this.$_draggedActivity$ = null);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.dragDropEnd", {$dragDropEnd$:$AdfDhtmlCalendarPeer$$.prototype.$dragDropEnd$});
$AdfDhtmlCalendarPeer$$.prototype.$getDragOffsetForActivity$ = function $$AdfDhtmlCalendarPeer$$$$$getDragOffsetForActivity$$($inputEvent$$53$$, $activity$$4$$) {
  var $agent$$176_mousePos$$2$$ = $AdfAgent$$.$AGENT$, $activityElement$$1_activityId$$11_elemPos$$ = this.$getComponent$().$getClientId$() + "::" + $activity$$4$$.$getProviderId$() + "::" + $activity$$4$$.$getActivityId$();
  ($activityElement$$1_activityId$$11_elemPos$$ = $agent$$176_mousePos$$2$$.getElementById($activityElement$$1_activityId$$11_elemPos$$)) || ($activityElement$$1_activityId$$11_elemPos$$ = $JSCompiler_StaticMethods__getParentActivity$$(this.$getDomElement$(), $inputEvent$$53$$.$getNativeEventTarget$()));
  $activityElement$$1_activityId$$11_elemPos$$ = $agent$$176_mousePos$$2$$.$getElementPosition$($activityElement$$1_activityId$$11_elemPos$$);
  $agent$$176_mousePos$$2$$ = $agent$$176_mousePos$$2$$.$getMousePosition$($inputEvent$$53$$.$getNativeEvent$());
  xOffset = $agent$$176_mousePos$$2$$.x - $activityElement$$1_activityId$$11_elemPos$$.x;
  yOffset = $agent$$176_mousePos$$2$$.y - $activityElement$$1_activityId$$11_elemPos$$.y;
  return {x:xOffset, y:yOffset};
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.getDragOffsetForActivity", {$getDragOffsetForActivity$:$AdfDhtmlCalendarPeer$$.prototype.$getDragOffsetForActivity$});
$AdfDhtmlCalendarPeer$$.prototype.$getDropSiteAndDataFromHints$ = function $$AdfDhtmlCalendarPeer$$$$$getDropSiteAndDataFromHints$$($activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$, $gridCell$$inline_5675_gridCellBounds$$inline_5679_pageX$$34$$, $dropSiteData$$inline_5678_dropSiteData$$inline_5726_pageY$$34$$, $hints$$56$$) {
  $AdfAssert$$.$assertNumber$($gridCell$$inline_5675_gridCellBounds$$inline_5679_pageX$$34$$);
  $AdfAssert$$.$assertNumber$($dropSiteData$$inline_5678_dropSiteData$$inline_5726_pageY$$34$$);
  $AdfAssert$$.assert(null != $hints$$56$$);
  var $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$ = $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_LAST_DROP_SITE$], $calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$ = 
  $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_LAST_DROP_SITE_DATA$];
  if ($agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$ && $calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$) {
    var $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$ = $calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$.$bounds$;
    $AdfAssert$$.$assertObject$($allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$);
    if ($gridCell$$inline_5675_gridCellBounds$$inline_5679_pageX$$34$$ >= $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$.left && $dropSiteData$$inline_5678_dropSiteData$$inline_5726_pageY$$34$$ >= $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$.top && 
    $gridCell$$inline_5675_gridCellBounds$$inline_5679_pageX$$34$$ <= $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$.right && $dropSiteData$$inline_5678_dropSiteData$$inline_5726_pageY$$34$$ <= $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$.bottom) {
      $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE$] = $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$;
      $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE_DATA$] = $calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$;
      return;
    }
  }
  $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$ = this.$getComponent$();
  $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$ = $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$.$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$);
  $calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$ = !1;
  $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$ = $AdfAgent$$.$AGENT$.getElementById($AdfRichUIPeer$$.$CreateSubId$($allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$.$getClientId$(), 
  $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_GRID_SUB_ID$));
  if ($agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$ != $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ || $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$) {
    if ($agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$) {
      var $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$ = $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$ ? 
      $AdfDhtmlCalendarPeer$$.$_CALENDAR_WEEK_TIMED_ACTIVITIES_CELL_SUB_ID$ : $AdfDhtmlCalendarPeer$$.$_ALL_DAY_CONTAINER_SUB_ID$, $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$ = $AdfAgent$$.$AGENT$, $allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$ = 
      this.$getComponent$();
      $activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$ = $JSCompiler_StaticMethods__getDragSourceActivity$$($activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$);
      $calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$ = !1;
      if ($JSCompiler_StaticMethods__isAllDayRegionDisplayed$$(this) && ($allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$ = $allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$.$getClientId$(), 
      $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$ = $AdfRichUIPeer$$.$CreateSubId$($allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$, 
      $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$), $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$ = 
      $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$.getElementById($allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$), 
      $AdfAssert$$.$assertDomElement$($allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$), $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$.$pointInElementBounds$($allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$, 
      $gridCell$$inline_5675_gridCellBounds$$inline_5679_pageX$$34$$, $dropSiteData$$inline_5678_dropSiteData$$inline_5726_pageY$$34$$) && (!$activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$ || $activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$.$isAllDay$()))) {
        a: {
          var $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$ = $AdfAgent$$.$AGENT$, $allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$ = 
          $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$.childNodes, $childCount$$inline_5660_childNode$$inline_5724_dropSite$$inline_5694_gridCell$$inline_6357_gridCellRowsContainer$$inline_5721_scrollTop$$inline_5667_timeSlot$$inline_5676$$ = 
          $allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$.length;
          for (i = 0;i < $childCount$$inline_5660_childNode$$inline_5724_dropSite$$inline_5694_gridCell$$inline_6357_gridCellRowsContainer$$inline_5721_scrollTop$$inline_5667_timeSlot$$inline_5676$$;i++) {
            if ($calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$ = $allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$[i], $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$ = 
            $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$.getAttribute($calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$, 
            $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_CELL_KEY$), null != $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$ && $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$.$pointInElementBounds$($calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$, 
            $gridCell$$inline_5675_gridCellBounds$$inline_5679_pageX$$34$$, $dropSiteData$$inline_5678_dropSiteData$$inline_5726_pageY$$34$$)) {
              $allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$ = -1 != this.$getComponent$().getShowActivityTypes().indexOf($AdfDhtmlCalendarPeer$$.$_ALLDAY$) ? $AdfDhtmlCalendarPeer$$.$_ALLDAY$ : $AdfDhtmlCalendarPeer$$.$_DURATION$;
              $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE$] = {date:$allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$, timeType:$allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$};
              $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$ = {};
              $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$.$domElement$ = $calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$;
              $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$.$bounds$ = $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$.$getElementPageBounds$($calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$);
              $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE_DATA$] = $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$;
              $calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$ = !0;
              break a;
            }
          }
          $calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$ = !1;
        }
      }
      if (!($calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$ || $activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$ && $activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$.$isAllDay$())) {
        a: {
          $activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$ = $AdfAgent$$.$AGENT$;
          $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$ = $JSCompiler_StaticMethods__getDateTimeGridContainer$$(this);
          $childCount$$inline_5660_childNode$$inline_5724_dropSite$$inline_5694_gridCell$$inline_6357_gridCellRowsContainer$$inline_5721_scrollTop$$inline_5667_timeSlot$$inline_5676$$ = $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$.scrollTop;
          $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$ = $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$.firstChild.rows[0].cells[1].firstChild;
          if ($activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$.$pointInElementBounds$($agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$, $gridCell$$inline_5675_gridCellBounds$$inline_5679_pageX$$34$$, 
          $dropSiteData$$inline_5678_dropSiteData$$inline_5726_pageY$$34$$)) {
            $calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$ = $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$.childNodes;
            $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$ = $calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$.length;
            $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$ = $allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$ = 
            null;
            for (i = 0;i < $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$;i++) {
              var $dayCell$$inline_5673_gridCellPos$$inline_5677_i$$inline_5695_timeSlot$$inline_5725$$ = $calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$[i], $cell$$inline_5700_date$$inline_5674_monthRow$$inline_5696$$ = $activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$.getAttribute($dayCell$$inline_5673_gridCellPos$$inline_5677_i$$inline_5695_timeSlot$$inline_5725$$, 
              $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_CELL_KEY$);
              if (null != $cell$$inline_5700_date$$inline_5674_monthRow$$inline_5696$$ && $dayCell$$inline_5673_gridCellPos$$inline_5677_i$$inline_5695_timeSlot$$inline_5725$$.offsetTop + $dayCell$$inline_5673_gridCellPos$$inline_5677_i$$inline_5695_timeSlot$$inline_5725$$.offsetHeight > $childCount$$inline_5660_childNode$$inline_5724_dropSite$$inline_5694_gridCell$$inline_6357_gridCellRowsContainer$$inline_5721_scrollTop$$inline_5667_timeSlot$$inline_5676$$ && $activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$.$pointInElementBounds$($dayCell$$inline_5673_gridCellPos$$inline_5677_i$$inline_5695_timeSlot$$inline_5725$$, 
              $gridCell$$inline_5675_gridCellBounds$$inline_5679_pageX$$34$$, $dropSiteData$$inline_5678_dropSiteData$$inline_5726_pageY$$34$$)) {
                $allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$ = $cell$$inline_5700_date$$inline_5674_monthRow$$inline_5696$$;
                $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$ = $dayCell$$inline_5673_gridCellPos$$inline_5677_i$$inline_5695_timeSlot$$inline_5725$$;
                break;
              }
            }
            if (null != $allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$) {
              for (i = 0;i < $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$;i++) {
                if ($childCount$$inline_5660_childNode$$inline_5724_dropSite$$inline_5694_gridCell$$inline_6357_gridCellRowsContainer$$inline_5721_scrollTop$$inline_5667_timeSlot$$inline_5676$$ = $gridCell$$inline_5675_gridCellBounds$$inline_5679_pageX$$34$$ = $calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$[i], $childCount$$inline_5660_childNode$$inline_5724_dropSite$$inline_5694_gridCell$$inline_6357_gridCellRowsContainer$$inline_5721_scrollTop$$inline_5667_timeSlot$$inline_5676$$ = 
                $AdfAgent$$.$AGENT$.getElementById($AdfRichUIPeer$$.$CreateSubId$(this.$getComponent$().$getClientId$(), $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_GRID_SUB_ID$)) ? 0 : $AdfAgent$$.$AGENT$.getAttribute($childCount$$inline_5660_childNode$$inline_5724_dropSite$$inline_5694_gridCell$$inline_6357_gridCellRowsContainer$$inline_5721_scrollTop$$inline_5667_timeSlot$$inline_5676$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_TIME_SLOT_KEY$), null != $childCount$$inline_5660_childNode$$inline_5724_dropSite$$inline_5694_gridCell$$inline_6357_gridCellRowsContainer$$inline_5721_scrollTop$$inline_5667_timeSlot$$inline_5676$$ && 
                ($dayCell$$inline_5673_gridCellPos$$inline_5677_i$$inline_5695_timeSlot$$inline_5725$$ = $activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$.$getElementPosition$($gridCell$$inline_5675_gridCellBounds$$inline_5679_pageX$$34$$), $dropSiteData$$inline_5678_dropSiteData$$inline_5726_pageY$$34$$ > $dayCell$$inline_5673_gridCellPos$$inline_5677_i$$inline_5695_timeSlot$$inline_5725$$.y && $dropSiteData$$inline_5678_dropSiteData$$inline_5726_pageY$$34$$ < 
                $dayCell$$inline_5673_gridCellPos$$inline_5677_i$$inline_5695_timeSlot$$inline_5725$$.y + $gridCell$$inline_5675_gridCellBounds$$inline_5679_pageX$$34$$.offsetHeight)) {
                  $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE$] = $JSCompiler_StaticMethods__getDropSiteForTimeSlot$$(this, $allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$, $childCount$$inline_5660_childNode$$inline_5724_dropSite$$inline_5694_gridCell$$inline_6357_gridCellRowsContainer$$inline_5721_scrollTop$$inline_5667_timeSlot$$inline_5676$$);
                  $dropSiteData$$inline_5678_dropSiteData$$inline_5726_pageY$$34$$ = {};
                  $dropSiteData$$inline_5678_dropSiteData$$inline_5726_pageY$$34$$.$domElement$ = $gridCell$$inline_5675_gridCellBounds$$inline_5679_pageX$$34$$;
                  $dropSiteData$$inline_5678_dropSiteData$$inline_5726_pageY$$34$$.$siteDayCell$ = $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$;
                  $gridCell$$inline_5675_gridCellBounds$$inline_5679_pageX$$34$$ = $activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$.$getElementPageBounds$($gridCell$$inline_5675_gridCellBounds$$inline_5679_pageX$$34$$);
                  $activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$ = $activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$.$getElementPageBounds$($agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$);
                  $dropSiteData$$inline_5678_dropSiteData$$inline_5726_pageY$$34$$.$bounds$ = {top:$gridCell$$inline_5675_gridCellBounds$$inline_5679_pageX$$34$$.top, left:$activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$.left, bottom:$gridCell$$inline_5675_gridCellBounds$$inline_5679_pageX$$34$$.bottom, right:$activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$.right};
                  $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE_DATA$] = $dropSiteData$$inline_5678_dropSiteData$$inline_5726_pageY$$34$$;
                  $calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$ = !0;
                  break a;
                }
              }
            }
          }
          $calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$ = !1;
        }
      }
    } else {
      if ($agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_MONTH$) {
        $activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$ = $AdfAgent$$.$AGENT$;
        $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$ = !1;
        $calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$ = this.$getComponent$().$getClientId$();
        $calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$ = $AdfRichUIPeer$$.$CreateSubId$($calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$, 
        $AdfDhtmlCalendarPeer$$.$_MONTH_GRID_ID$);
        if (($calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$ = $AdfAgent$$.$AGENT$.getElementById($calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$)) && 
        $activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$.$pointInElementBounds$($calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$, $gridCell$$inline_5675_gridCellBounds$$inline_5679_pageX$$34$$, $dropSiteData$$inline_5678_dropSiteData$$inline_5726_pageY$$34$$)) {
          for ($allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$ = $calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$.childNodes, 
          $allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$ = $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$.length, 
          $childCount$$inline_5660_childNode$$inline_5724_dropSite$$inline_5694_gridCell$$inline_6357_gridCellRowsContainer$$inline_5721_scrollTop$$inline_5667_timeSlot$$inline_5676$$ = null, $dayCell$$inline_5673_gridCellPos$$inline_5677_i$$inline_5695_timeSlot$$inline_5725$$ = 0;$dayCell$$inline_5673_gridCellPos$$inline_5677_i$$inline_5695_timeSlot$$inline_5725$$ < $allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$ && 
          !$childCount$$inline_5660_childNode$$inline_5724_dropSite$$inline_5694_gridCell$$inline_6357_gridCellRowsContainer$$inline_5721_scrollTop$$inline_5667_timeSlot$$inline_5676$$;$dayCell$$inline_5673_gridCellPos$$inline_5677_i$$inline_5695_timeSlot$$inline_5725$$++) {
            if ($cell$$inline_5700_date$$inline_5674_monthRow$$inline_5696$$ = $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$[$dayCell$$inline_5673_gridCellPos$$inline_5677_i$$inline_5695_timeSlot$$inline_5725$$], 
            $activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$.$pointInElementBounds$($calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$, $gridCell$$inline_5675_gridCellBounds$$inline_5679_pageX$$34$$, $dropSiteData$$inline_5678_dropSiteData$$inline_5726_pageY$$34$$)) {
              for (var $monthCells$$inline_5697$$ = $cell$$inline_5700_date$$inline_5674_monthRow$$inline_5696$$.childNodes, $cellCount$$inline_5698$$ = $monthCells$$inline_5697$$.length, $j$$inline_5699$$ = 0;$j$$inline_5699$$ < $cellCount$$inline_5698$$;$j$$inline_5699$$++) {
                var $cell$$inline_5700_date$$inline_5674_monthRow$$inline_5696$$ = $monthCells$$inline_5697$$[$j$$inline_5699$$], $date$$inline_5701$$ = $activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$.getAttribute($cell$$inline_5700_date$$inline_5674_monthRow$$inline_5696$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_CELL_KEY$);
                if (null != $date$$inline_5701$$ && $activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$.$pointInElementBounds$($cell$$inline_5700_date$$inline_5674_monthRow$$inline_5696$$, $gridCell$$inline_5675_gridCellBounds$$inline_5679_pageX$$34$$, $dropSiteData$$inline_5678_dropSiteData$$inline_5726_pageY$$34$$)) {
                  $childCount$$inline_5660_childNode$$inline_5724_dropSite$$inline_5694_gridCell$$inline_6357_gridCellRowsContainer$$inline_5721_scrollTop$$inline_5667_timeSlot$$inline_5676$$ = {};
                  $childCount$$inline_5660_childNode$$inline_5724_dropSite$$inline_5694_gridCell$$inline_6357_gridCellRowsContainer$$inline_5721_scrollTop$$inline_5667_timeSlot$$inline_5676$$.date = $date$$inline_5701$$;
                  $childCount$$inline_5660_childNode$$inline_5724_dropSite$$inline_5694_gridCell$$inline_6357_gridCellRowsContainer$$inline_5721_scrollTop$$inline_5667_timeSlot$$inline_5676$$.timeType = "UNKNOWN";
                  $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE$] = $childCount$$inline_5660_childNode$$inline_5724_dropSite$$inline_5694_gridCell$$inline_6357_gridCellRowsContainer$$inline_5721_scrollTop$$inline_5667_timeSlot$$inline_5676$$;
                  $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$ = {};
                  $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$.$domElement$ = $cell$$inline_5700_date$$inline_5674_monthRow$$inline_5696$$;
                  $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$.$bounds$ = $activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$.$getElementPageBounds$($cell$$inline_5700_date$$inline_5674_monthRow$$inline_5696$$);
                  $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE_DATA$] = $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$;
                  $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$ = !0;
                  break;
                }
              }
            }
          }
        }
        $calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$ = $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$;
      }
    }
  } else {
    $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$ = $AdfAgent$$.$AGENT$;
    $calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$ = this.$getComponent$();
    $activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$ = $JSCompiler_StaticMethods__getDragSourceActivity$$($activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$);
    $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$ = !1;
    $JSCompiler_StaticMethods__isAllDayRegionDisplayed$$(this) && ($allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$ = $calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$.$getClientId$(), 
    $allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$ = $AdfRichUIPeer$$.$CreateSubId$($allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$, 
    $AdfDhtmlCalendarPeer$$.$_ALL_DAY_CONTAINER_SUB_ID$), $allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$ = $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$.getElementById($allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$), 
    $AdfAssert$$.$assertDomElement$($allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$), $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$.$pointInElementBounds$($allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$, 
    $gridCell$$inline_5675_gridCellBounds$$inline_5679_pageX$$34$$, $dropSiteData$$inline_5678_dropSiteData$$inline_5726_pageY$$34$$) && !$activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$ && ($allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$ = 
    {}, $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$.date = $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$.getAttribute($allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$, 
    $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_CELL_KEY$), -1 != $calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$.getShowActivityTypes().indexOf($AdfDhtmlCalendarPeer$$.$_ALLDAY$) ? $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$.timeType = 
    $AdfDhtmlCalendarPeer$$.$_ALLDAY$ : $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$.timeType = $AdfDhtmlCalendarPeer$$.$_DURATION$, $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE$] = $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$, 
    dropSiteData = {}, dropSiteData.$domElement$ = $allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$, dropSiteData.$bounds$ = $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$.$getElementPageBounds$($allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$), 
    $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE_DATA$] = dropSiteData, $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$ = !0));
    if (!($allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$ || $activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$ && 
    $activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$.$isAllDay$())) {
      a: {
        $activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$ = $AdfAgent$$.$AGENT$;
        $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$ = null;
        $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$ = $JSCompiler_StaticMethods__getDateTimeGridContainer$$(this);
        $calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$ = $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$.scrollTop;
        $childCount$$inline_5660_childNode$$inline_5724_dropSite$$inline_5694_gridCell$$inline_6357_gridCellRowsContainer$$inline_5721_scrollTop$$inline_5667_timeSlot$$inline_5676$$ = $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$.firstChild.rows[0].cells[1].firstChild;
        $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$ = $childCount$$inline_5660_childNode$$inline_5724_dropSite$$inline_5694_gridCell$$inline_6357_gridCellRowsContainer$$inline_5721_scrollTop$$inline_5667_timeSlot$$inline_5676$$.childNodes;
        $allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$ = $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$.length;
        if ($activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$.$pointInElementBounds$($childCount$$inline_5660_childNode$$inline_5724_dropSite$$inline_5694_gridCell$$inline_6357_gridCellRowsContainer$$inline_5721_scrollTop$$inline_5667_timeSlot$$inline_5676$$, $gridCell$$inline_5675_gridCellBounds$$inline_5679_pageX$$34$$, $dropSiteData$$inline_5678_dropSiteData$$inline_5726_pageY$$34$$)) {
          for (i = 0;i < $allDayContainer$$inline_5715_allDayId$$inline_5714_calendar$$inline_5652_childCount$$inline_5723_childNodes$$inline_5659_clientId$$inline_5655_clientId$$inline_5713_numRows$$inline_5693_siteDate$$inline_5671_timeType$$inline_5663$$;i++) {
            if ($childCount$$inline_5660_childNode$$inline_5724_dropSite$$inline_5694_gridCell$$inline_6357_gridCellRowsContainer$$inline_5721_scrollTop$$inline_5667_timeSlot$$inline_5676$$ = $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$[i], 
            $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$ || ($agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$ = 
            $activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$.getAttribute($childCount$$inline_5660_childNode$$inline_5724_dropSite$$inline_5694_gridCell$$inline_6357_gridCellRowsContainer$$inline_5721_scrollTop$$inline_5667_timeSlot$$inline_5676$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_CELL_KEY$)), $childCount$$inline_5660_childNode$$inline_5724_dropSite$$inline_5694_gridCell$$inline_6357_gridCellRowsContainer$$inline_5721_scrollTop$$inline_5667_timeSlot$$inline_5676$$.offsetTop + 
            $childCount$$inline_5660_childNode$$inline_5724_dropSite$$inline_5694_gridCell$$inline_6357_gridCellRowsContainer$$inline_5721_scrollTop$$inline_5667_timeSlot$$inline_5676$$.offsetHeight > $calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$ && ($dayCell$$inline_5673_gridCellPos$$inline_5677_i$$inline_5695_timeSlot$$inline_5725$$ = 
            $activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$.getAttribute($childCount$$inline_5660_childNode$$inline_5724_dropSite$$inline_5694_gridCell$$inline_6357_gridCellRowsContainer$$inline_5721_scrollTop$$inline_5667_timeSlot$$inline_5676$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_TIME_SLOT_KEY$), null != $dayCell$$inline_5673_gridCellPos$$inline_5677_i$$inline_5695_timeSlot$$inline_5725$$ && $activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$.$pointInElementBounds$($childCount$$inline_5660_childNode$$inline_5724_dropSite$$inline_5694_gridCell$$inline_6357_gridCellRowsContainer$$inline_5721_scrollTop$$inline_5667_timeSlot$$inline_5676$$, 
            $gridCell$$inline_5675_gridCellBounds$$inline_5679_pageX$$34$$, $dropSiteData$$inline_5678_dropSiteData$$inline_5726_pageY$$34$$))) {
              $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE$] = $JSCompiler_StaticMethods__getDropSiteForTimeSlot$$(this, $agent$$inline_5651_agent$$inline_5658_agent$$inline_5709_dropSiteData$$inline_5702_dropSiteDate$$inline_5718_dropSiteFound$$inline_5688_dtGridContainer$$inline_5666_gridCellRowsContainer$$inline_5668_hintDropSite_siteDayCell$$inline_5672_view$$inline_1409$$, $dayCell$$inline_5673_gridCellPos$$inline_5677_i$$inline_5695_timeSlot$$inline_5725$$);
              $dropSiteData$$inline_5678_dropSiteData$$inline_5726_pageY$$34$$ = {};
              $dropSiteData$$inline_5678_dropSiteData$$inline_5726_pageY$$34$$.$domElement$ = $childCount$$inline_5660_childNode$$inline_5724_dropSite$$inline_5694_gridCell$$inline_6357_gridCellRowsContainer$$inline_5721_scrollTop$$inline_5667_timeSlot$$inline_5676$$;
              $dropSiteData$$inline_5678_dropSiteData$$inline_5726_pageY$$34$$.$bounds$ = $activity$$inline_5653_activity$$inline_5711_agent$$inline_5665_agent$$inline_5687_agent$$inline_5717_dndContext$$68_siteDayCellBounds$$inline_5680$$.$getElementPageBounds$($childCount$$inline_5660_childNode$$inline_5724_dropSite$$inline_5694_gridCell$$inline_6357_gridCellRowsContainer$$inline_5721_scrollTop$$inline_5667_timeSlot$$inline_5676$$);
              $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE_DATA$] = $dropSiteData$$inline_5678_dropSiteData$$inline_5726_pageY$$34$$;
              $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$ = !0;
              break a;
            }
          }
        }
        $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$ = !1;
      }
    }
    $calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$ = $allDayContainer$$inline_5657_allDayId$$inline_5656_bounds$$2_calendar$$inline_1408_childCount$$inline_5670_childNodes$$inline_5722_containerSubIdSuffix$$inline_5650_date$$inline_5662_dropSite$$inline_5716_dropSiteData$$inline_5664_dropSiteFound$$inline_5712_dtGridContainer$$inline_5719_monthRows$$inline_5692_providerGridDOM$$inline_1411$$;
  }
  $calendar$$inline_5710_childNodes$$inline_5669_clientId$$inline_5689_dayCell$$inline_5661_dropSiteFound$$inline_1410_dropSiteFound$$inline_5654_hintDropSiteData_monthGrid$$inline_5691_monthGridId$$inline_5690_scrollTop$$inline_5720$$ || ($hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE$] = null, $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE_DATA$] = null);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.getDropSiteAndDataFromHints", {$getDropSiteAndDataFromHints$:$AdfDhtmlCalendarPeer$$.prototype.$getDropSiteAndDataFromHints$});
$AdfDhtmlCalendarPeer$$.prototype.$showDragFeedback$ = function $$AdfDhtmlCalendarPeer$$$$$showDragFeedback$$($dndContext$$69$$, $dropSite$$4$$, $dropSiteData$$2$$, $userAction$$5$$, $lastDropSite$$1$$, $lastDropSiteData$$1$$) {
  $lastDropSite$$1$$ != $dropSite$$4$$ && (null != $lastDropSite$$1$$ && ($AdfAssert$$.$assertObject$($lastDropSiteData$$1$$), $AdfAssert$$.$assertDomElement$($lastDropSiteData$$1$$.$domElement$), $AdfDomUtils$$.$removeCSSClassName$($lastDropSiteData$$1$$.$domElement$, $AdfDhtmlCalendarPeer$$.$_DROP_TARGET_CLASS$), $lastDropSiteData$$1$$.$siteDayCell$ && $AdfDomUtils$$.$removeCSSClassName$($lastDropSiteData$$1$$.$siteDayCell$, $AdfDhtmlCalendarPeer$$.$_DROP_TARGET_CLASS$)), null != $dropSite$$4$$ && 
  ($AdfAssert$$.$assertObject$($dropSiteData$$2$$), $AdfAssert$$.$assertDomElement$($dropSiteData$$2$$.$domElement$), $AdfDomUtils$$.$addCSSClassName$($dropSiteData$$2$$.$domElement$, $AdfDhtmlCalendarPeer$$.$_DROP_TARGET_CLASS$), $dropSiteData$$2$$.$siteDayCell$ && $AdfDomUtils$$.$addCSSClassName$($dropSiteData$$2$$.$siteDayCell$, $AdfDhtmlCalendarPeer$$.$_DROP_TARGET_CLASS$)));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.showDragFeedback", {$showDragFeedback$:$AdfDhtmlCalendarPeer$$.prototype.$showDragFeedback$});
$AdfDhtmlCalendarPeer$$.$_providerWrapperFilter$ = function $$AdfDhtmlCalendarPeer$$$$_providerWrapperFilter$$($domNode$$23$$) {
  return $domNode$$23$$ && null != $AdfAgent$$.$AGENT$.getAttribute($domNode$$23$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$);
};
function $JSCompiler_StaticMethods__getDragSourceActivity$$($dndContext$$71_objects_transferable$$9$$) {
  if ($dndContext$$71_objects_transferable$$9$$ = $dndContext$$71_objects_transferable$$9$$.$getTransferable$()) {
    if ($dndContext$$71_objects_transferable$$9$$ = $dndContext$$71_objects_transferable$$9$$.$getTransferData$($AdfDataFlavor$$.$OBJECT_FLAVOR$), null != $dndContext$$71_objects_transferable$$9$$) {
      for (var $objectCount$$ = $dndContext$$71_objects_transferable$$9$$.length, $i$$239$$ = 0;$i$$239$$ < $objectCount$$;$i$$239$$++) {
        var $object$$25$$ = $dndContext$$71_objects_transferable$$9$$[$i$$239$$];
        if ($object$$25$$ instanceof $AdfCalendarActivity$$) {
          return $object$$25$$;
        }
      }
    }
  }
  return null;
}
function $JSCompiler_StaticMethods__isAllDayRegionDisplayed$$($JSCompiler_StaticMethods__isAllDayRegionDisplayed$self_activityTypesEnabled$$1$$) {
  $JSCompiler_StaticMethods__isAllDayRegionDisplayed$self_activityTypesEnabled$$1$$ = $JSCompiler_StaticMethods__isAllDayRegionDisplayed$self_activityTypesEnabled$$1$$.$getComponent$().getShowActivityTypes();
  return -1 != $JSCompiler_StaticMethods__isAllDayRegionDisplayed$self_activityTypesEnabled$$1$$.indexOf($AdfDhtmlCalendarPeer$$.$_ALLDAY$) || -1 != $JSCompiler_StaticMethods__isAllDayRegionDisplayed$self_activityTypesEnabled$$1$$.indexOf($AdfDhtmlCalendarPeer$$.$_DURATION$) && -1 != $JSCompiler_StaticMethods__isAllDayRegionDisplayed$self_activityTypesEnabled$$1$$.indexOf($AdfDhtmlCalendarPeer$$.$_TIME$);
}
function $JSCompiler_StaticMethods__getDropSiteForTimeSlot$$($JSCompiler_StaticMethods__getDropSiteForTimeSlot$self$$, $dropSiteDate$$1$$, $timeSlot$$1$$) {
  var $dropSite$$6$$ = {}, $timeSlotsPerHour$$ = $JSCompiler_StaticMethods__getTimeSlotsPerHour$$($JSCompiler_StaticMethods__getDropSiteForTimeSlot$self$$);
  $dropSite$$6$$.$date$ = $dropSiteDate$$1$$;
  $dropSite$$6$$.$hour$ = Math.round($timeSlot$$1$$ / $timeSlotsPerHour$$ - .5);
  $dropSite$$6$$.min = $timeSlot$$1$$ % $timeSlotsPerHour$$ * (60 / $timeSlotsPerHour$$);
  -1 != $JSCompiler_StaticMethods__getDropSiteForTimeSlot$self$$.$getComponent$().getShowActivityTypes().indexOf($AdfDhtmlCalendarPeer$$.$_TIME$) ? $dropSite$$6$$.timeType = $AdfDhtmlCalendarPeer$$.$_TIME$ : $dropSite$$6$$.timeType = $AdfDhtmlCalendarPeer$$.$_DURATION$;
  return $dropSite$$6$$;
}
function $JSCompiler_StaticMethods__getProviderGridElement$$($clientId$$131_component$$742_providerSubId$$) {
  $clientId$$131_component$$742_providerSubId$$ = $clientId$$131_component$$742_providerSubId$$.$getClientId$();
  $clientId$$131_component$$742_providerSubId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$131_component$$742_providerSubId$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_GRID_SUB_ID$);
  return $AdfAgent$$.$AGENT$.getElementById($clientId$$131_component$$742_providerSubId$$);
}
function $JSCompiler_StaticMethods__actionToDisplayChange$$($JSCompiler_StaticMethods__actionToDisplayChange$self$$, $componentEvent$$114$$, $component$$745$$, $view$$14$$, $activeDay$$) {
  $JSCompiler_StaticMethods__hideActivityHoverPopup$$($JSCompiler_StaticMethods__actionToDisplayChange$self$$);
  $componentEvent$$114$$.cancel();
  $componentEvent$$114$$.$stopBubbling$();
  $AdfCalendarDisplayChangeEvent$$.$queue$($component$$745$$, $activeDay$$, $view$$14$$);
}
function $JSCompiler_StaticMethods__calculateMonthGridCapacity$$($sampleActivity$$, $gridInfo$$) {
  var $activityInfo$$ = {}, $activityHt_agent$$185$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$().$getSkinProperty$($AdfDhtmlCalendarPeer$$.$_MONTH_VIEW_ALLDAY_HT$);
  $activityInfo$$.$activityHt$ = null != $activityHt_agent$$185$$ ? parseFloat($activityHt_agent$$185$$) : 0 < $sampleActivity$$.clientHeight ? $sampleActivity$$.clientHeight : $gridInfo$$.$dayHeaderHt$;
  $activityInfo$$.$spacerHt$ = 1.1;
  var $activityHt_agent$$185$$ = $AdfAgent$$.$AGENT$, $activityStyle$$ = $activityHt_agent$$185$$.getComputedStyle($sampleActivity$$), $margin_overflowStyle$$ = $activityHt_agent$$185$$.$getStyleProperty$($activityStyle$$, "margin-bottom");
  null == $margin_overflowStyle$$ && ($margin_overflowStyle$$ = $activityHt_agent$$185$$.$getStyleProperty$($activityStyle$$, "marginBottom"));
  if (null != $margin_overflowStyle$$) {
    var $emIndex_pxIndex$$ = $margin_overflowStyle$$.lastIndexOf("px");
    -1 != $emIndex_pxIndex$$ ? $activityInfo$$.$spacerHt$ = parseFloat($margin_overflowStyle$$.substring(0, $emIndex_pxIndex$$)) : ($emIndex_pxIndex$$ = $margin_overflowStyle$$.lastIndexOf("em"), -1 != $emIndex_pxIndex$$ && ($margin_overflowStyle$$ = $margin_overflowStyle$$.substring(0, $emIndex_pxIndex$$), $activityInfo$$.$spacerHt$ = parseFloat($margin_overflowStyle$$) * $gridInfo$$.$_EMToPxRatio$));
  }
  $activityInfo$$.$overflowHt$ = $activityInfo$$.$activityHt$;
  $margin_overflowStyle$$ = $activityHt_agent$$185$$.$getStyleProperty$($activityStyle$$, "font-size");
  null == $margin_overflowStyle$$ && ($margin_overflowStyle$$ = $activityHt_agent$$185$$.$getStyleProperty$($activityStyle$$, "fontSize"));
  null != $margin_overflowStyle$$ && ($emIndex_pxIndex$$ = $margin_overflowStyle$$.lastIndexOf("px"), -1 != $emIndex_pxIndex$$ && ($activityInfo$$.$overflowHt$ = parseFloat($margin_overflowStyle$$.substring(0, $emIndex_pxIndex$$))));
  $gridInfo$$.$activityInfo$ = $activityInfo$$;
  $gridInfo$$.$maxNumActivities$ = Math.floor(($gridInfo$$.$dayCellHt$ - ($gridInfo$$.$dayHeaderHt$ + $activityInfo$$.$spacerHt$)) / ($activityInfo$$.$spacerHt$ + $activityInfo$$.$activityHt$));
}
function $JSCompiler_StaticMethods__calculateMonthGridInfo$$($grid$$5$$, $header$$3$$) {
  var $gridInfo$$1$$ = {}, $isRTL$$8$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$();
  if (null != $grid$$5$$) {
    for (var $day$$3_monthRowChildren_numDaysInWeek_topInEM$$ = $grid$$5$$.childNodes[0].childNodes, $dayHeader_numEntries_percentToIndexMap$$ = $day$$3_monthRowChildren_numDaysInWeek_topInEM$$.length, $i$$241_percentArray$$ = 0;$i$$241_percentArray$$ < $dayHeader_numEntries_percentToIndexMap$$;$i$$241_percentArray$$++) {
      var $isAllDayAct_j$$23$$ = $AdfAgent$$.$AGENT$.getAttribute($day$$3_monthRowChildren_numDaysInWeek_topInEM$$[$i$$241_percentArray$$], $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$), $headerLeft_isTimedActWrapper$$ = $AdfAgent$$.$AGENT$.getAttribute($day$$3_monthRowChildren_numDaysInWeek_topInEM$$[$i$$241_percentArray$$], $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$), $isOverflowLink$$ = $AdfAgent$$.$AGENT$.getAttribute($day$$3_monthRowChildren_numDaysInWeek_topInEM$$[$i$$241_percentArray$$], 
      $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$);
      if (!($isAllDayAct_j$$23$$ || $headerLeft_isTimedActWrapper$$ || $isOverflowLink$$)) {
        $day$$3_monthRowChildren_numDaysInWeek_topInEM$$ = $day$$3_monthRowChildren_numDaysInWeek_topInEM$$[$i$$241_percentArray$$];
        $dayHeader_numEntries_percentToIndexMap$$ = $day$$3_monthRowChildren_numDaysInWeek_topInEM$$.childNodes[0];
        $gridInfo$$1$$.$dayCellHt$ = $day$$3_monthRowChildren_numDaysInWeek_topInEM$$.clientHeight;
        $gridInfo$$1$$.$dayHeaderHt$ = $dayHeader_numEntries_percentToIndexMap$$.clientHeight;
        break;
      }
    }
    $day$$3_monthRowChildren_numDaysInWeek_topInEM$$ = $grid$$5$$.style.top;
    $day$$3_monthRowChildren_numDaysInWeek_topInEM$$ = parseFloat($day$$3_monthRowChildren_numDaysInWeek_topInEM$$.substring(0, $day$$3_monthRowChildren_numDaysInWeek_topInEM$$.lastIndexOf("em")));
    $gridInfo$$1$$.$_EMToPxRatio$ = $grid$$5$$.offsetTop / $day$$3_monthRowChildren_numDaysInWeek_topInEM$$;
  }
  if (null != $header$$3$$) {
    $day$$3_monthRowChildren_numDaysInWeek_topInEM$$ = $header$$3$$.childNodes.length;
    $gridInfo$$1$$.$numDaysInWeek$ = $day$$3_monthRowChildren_numDaysInWeek_topInEM$$;
    $dayHeader_numEntries_percentToIndexMap$$ = {};
    $i$$241_percentArray$$ = Array($day$$3_monthRowChildren_numDaysInWeek_topInEM$$);
    for ($isAllDayAct_j$$23$$ = 0;$isAllDayAct_j$$23$$ < $day$$3_monthRowChildren_numDaysInWeek_topInEM$$;$isAllDayAct_j$$23$$++) {
      $headerLeft_isTimedActWrapper$$ = $isRTL$$8$$ ? $header$$3$$.childNodes[$isAllDayAct_j$$23$$].style.right : $header$$3$$.childNodes[$isAllDayAct_j$$23$$].style.left, $dayHeader_numEntries_percentToIndexMap$$[$headerLeft_isTimedActWrapper$$] = $isAllDayAct_j$$23$$, $i$$241_percentArray$$[$isAllDayAct_j$$23$$] = parseFloat($headerLeft_isTimedActWrapper$$);
    }
    $gridInfo$$1$$.$percentToIndexMap$ = $dayHeader_numEntries_percentToIndexMap$$;
    $gridInfo$$1$$.$percentArray$ = $i$$241_percentArray$$;
    $gridInfo$$1$$.$cellWidth$ = $i$$241_percentArray$$[1] - $i$$241_percentArray$$[0];
  }
  return $gridInfo$$1$$;
}
function $JSCompiler_StaticMethods__getActivityInfo$$($activity$$7$$, $gridInfo$$3$$) {
  if (null == $activity$$7$$) {
    return null;
  }
  var $actInfo$$ = {};
  $actInfo$$.$startDay$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($gridInfo$$3$$, $activity$$7$$);
  var $activityWidth_width$$23$$;
  $activityWidth_width$$23$$ = $AdfAgent$$.$AGENT$.getAttribute($activity$$7$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_ALL_DAY_KEY$) ? $activity$$7$$.style.width : $activity$$7$$.parentNode.style.width;
  $activityWidth_width$$23$$ = parseFloat($activityWidth_width$$23$$.substring(0, $activityWidth_width$$23$$.lastIndexOf("%")));
  $actInfo$$.$activityLength$ = $gridInfo$$3$$.$numDaysInWeek$;
  for (var $i$$242$$ = 0;$i$$242$$ < $gridInfo$$3$$.$numDaysInWeek$;$i$$242$$++) {
    if ($activityWidth_width$$23$$ <= $gridInfo$$3$$.$percentArray$[$i$$242$$]) {
      $actInfo$$.$activityLength$ = $i$$242$$;
      break;
    }
  }
  return $actInfo$$;
}
function $JSCompiler_StaticMethods__getActivityLinkInList$$($listCell_listRow$$) {
  var $agent$$187$$ = $AdfAgent$$.$AGENT$;
  for ($listCell_listRow$$ = $AdfDomUtils$$.$getFirstChildElement$($listCell_listRow$$);null != $listCell_listRow$$;) {
    var $child$$13$$ = $AdfDomUtils$$.$getFirstChildElement$($listCell_listRow$$);
    if (null != $child$$13$$ && null != $agent$$187$$.getAttribute($child$$13$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$)) {
      return $child$$13$$;
    }
    $listCell_listRow$$ = $AdfDomUtils$$.$getNextElement$($listCell_listRow$$);
  }
}
function $JSCompiler_StaticMethods__getListRowWithDayLink$$($currRow$$, $goToNextDay$$) {
  for (var $agent$$188$$ = $AdfAgent$$.$AGENT$, $listRow$$1$$ = $goToNextDay$$ ? $AdfDomUtils$$.$getNextElement$($currRow$$) : $AdfDomUtils$$.$getPreviousElement$($currRow$$);null != $listRow$$1$$;) {
    if (null != $agent$$188$$.getAttribute($listRow$$1$$, $AdfDhtmlCalendarPeer$$.$_HAS_CALENDAR_DAY_LINK$)) {
      return $listRow$$1$$;
    }
    $listRow$$1$$ = $goToNextDay$$ ? $AdfDomUtils$$.$getNextElement$($listRow$$1$$) : $AdfDomUtils$$.$getPreviousElement$($listRow$$1$$);
  }
}
function $JSCompiler_StaticMethods__getActiveDayFromDom$$($component$$746_domElement$$84$$) {
  $component$$746_domElement$$84$$ = $AdfRichUIPeer$$.$getDomElementForComponent$($component$$746_domElement$$84$$);
  return $AdfAgent$$.$AGENT$.getAttribute($component$$746_domElement$$84$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVE_DATE_KEY$);
}
function $JSCompiler_StaticMethods__getParentActivity$$($calendarRootElement$$6$$, $target$$109$$) {
  return $JSCompiler_StaticMethods__getParentWithAttr$$($calendarRootElement$$6$$, $target$$109$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$);
}
function $JSCompiler_StaticMethods__getDayCellAttrValue$$($calendarRootElement$$7$$, $target$$110$$) {
  var $dayCellValue$$ = $JSCompiler_StaticMethods__getValueWithAttr$$($calendarRootElement$$7$$, $target$$110$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_CELL_KEY$);
  return null == $dayCellValue$$ ? null : $dayCellValue$$;
}
function $JSCompiler_StaticMethods__getAllDayActFocus$$($allDayActGrid_allDayActGridId_clientId$$133_nextElement$$, $currColIndex$$, $focusType$$) {
  $allDayActGrid_allDayActGridId_clientId$$133_nextElement$$ = $AdfRichUIPeer$$.$CreateSubId$($allDayActGrid_allDayActGridId_clientId$$133_nextElement$$, $AdfDhtmlCalendarPeer$$.$_ALL_DAY_CONTAINER_SUB_ID$);
  $allDayActGrid_allDayActGridId_clientId$$133_nextElement$$ = $AdfAgent$$.$AGENT$.getElementById($allDayActGrid_allDayActGridId_clientId$$133_nextElement$$);
  if (!$allDayActGrid_allDayActGridId_clientId$$133_nextElement$$) {
    return null;
  }
  $allDayActGrid_allDayActGridId_clientId$$133_nextElement$$ = $AdfDomUtils$$.$getFirstChildElement$($allDayActGrid_allDayActGridId_clientId$$133_nextElement$$);
  for (var $bestMatchRowNum$$ = $focusType$$ == $AdfDhtmlCalendarPeer$$.$_CAL_WEEK_FOCUS_FIRST_ALLDAY$ ? 99999 : -1, $bestMatchElement$$ = null;null != $allDayActGrid_allDayActGridId_clientId$$133_nextElement$$ && null != $AdfAgent$$.$AGENT$.getAttribute($allDayActGrid_allDayActGridId_clientId$$133_nextElement$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$);) {
    var $actColIndex_rowNum$$ = $AdfAgent$$.$AGENT$.getAttribute($allDayActGrid_allDayActGridId_clientId$$133_nextElement$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_COL_NUM$);
    if ($actColIndex_rowNum$$ == $currColIndex$$) {
      $actColIndex_rowNum$$ = parseInt($AdfAgent$$.$AGENT$.getAttribute($allDayActGrid_allDayActGridId_clientId$$133_nextElement$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$)), $focusType$$ == $AdfDhtmlCalendarPeer$$.$_CAL_WEEK_FOCUS_FIRST_ALLDAY$ ? $actColIndex_rowNum$$ < $bestMatchRowNum$$ && ($bestMatchRowNum$$ = $actColIndex_rowNum$$, $bestMatchElement$$ = $allDayActGrid_allDayActGridId_clientId$$133_nextElement$$) : $actColIndex_rowNum$$ > $bestMatchRowNum$$ && ($bestMatchRowNum$$ = $actColIndex_rowNum$$, 
      $bestMatchElement$$ = $allDayActGrid_allDayActGridId_clientId$$133_nextElement$$);
    } else {
      if ($actColIndex_rowNum$$ > $currColIndex$$) {
        break;
      }
    }
    $allDayActGrid_allDayActGridId_clientId$$133_nextElement$$ = $AdfDomUtils$$.$getNextElement$($allDayActGrid_allDayActGridId_clientId$$133_nextElement$$);
  }
  return $bestMatchElement$$;
}
function $JSCompiler_StaticMethods__getAdjacentAllDayActToFocus$$($allDayActGridId$$1_clientId$$134_contextRowNum$$, $contextColNum_contextElem$$, $focusType$$1$$) {
  $allDayActGridId$$1_clientId$$134_contextRowNum$$ = $AdfRichUIPeer$$.$CreateSubId$($allDayActGridId$$1_clientId$$134_contextRowNum$$, $AdfDhtmlCalendarPeer$$.$_ALL_DAY_CONTAINER_SUB_ID$);
  var $allDayActGrid$$1_nextElement$$1$$ = $AdfAgent$$.$AGENT$.getElementById($allDayActGridId$$1_clientId$$134_contextRowNum$$);
  if (!$allDayActGrid$$1_nextElement$$1$$) {
    return null;
  }
  $allDayActGridId$$1_clientId$$134_contextRowNum$$ = $AdfAgent$$.$AGENT$.getAttribute($contextColNum_contextElem$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$);
  $contextColNum_contextElem$$ = $AdfAgent$$.$AGENT$.getAttribute($contextColNum_contextElem$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_COL_NUM$);
  for (var $allDayActGrid$$1_nextElement$$1$$ = $AdfDomUtils$$.$getFirstChildElement$($allDayActGrid$$1_nextElement$$1$$), $bestMatchRowNum$$1$$ = $focusType$$1$$ == $AdfDhtmlCalendarPeer$$.$_CAL_WEEK_FOCUS_NEXT_ALLDAY$ ? 99999 : -1, $bestMatchElement$$1$$ = null;null != $allDayActGrid$$1_nextElement$$1$$ && null != $AdfAgent$$.$AGENT$.getAttribute($allDayActGrid$$1_nextElement$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$);) {
    var $actColIndex$$1_rowNum$$1$$ = $AdfAgent$$.$AGENT$.getAttribute($allDayActGrid$$1_nextElement$$1$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_COL_NUM$);
    if ($actColIndex$$1_rowNum$$1$$ == $contextColNum_contextElem$$) {
      $actColIndex$$1_rowNum$$1$$ = parseInt($AdfAgent$$.$AGENT$.getAttribute($allDayActGrid$$1_nextElement$$1$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$)), $focusType$$1$$ == $AdfDhtmlCalendarPeer$$.$_CAL_WEEK_FOCUS_NEXT_ALLDAY$ ? $actColIndex$$1_rowNum$$1$$ > $allDayActGridId$$1_clientId$$134_contextRowNum$$ && $actColIndex$$1_rowNum$$1$$ < $bestMatchRowNum$$1$$ && ($bestMatchRowNum$$1$$ = $actColIndex$$1_rowNum$$1$$, $bestMatchElement$$1$$ = $allDayActGrid$$1_nextElement$$1$$) : $actColIndex$$1_rowNum$$1$$ < 
      $allDayActGridId$$1_clientId$$134_contextRowNum$$ && $actColIndex$$1_rowNum$$1$$ > $bestMatchRowNum$$1$$ && ($bestMatchRowNum$$1$$ = $actColIndex$$1_rowNum$$1$$, $bestMatchElement$$1$$ = $allDayActGrid$$1_nextElement$$1$$);
    } else {
      if ($actColIndex$$1_rowNum$$1$$ > $contextColNum_contextElem$$) {
        break;
      }
    }
    $allDayActGrid$$1_nextElement$$1$$ = $AdfDomUtils$$.$getNextElement$($allDayActGrid$$1_nextElement$$1$$);
  }
  return $bestMatchElement$$1$$;
}
function $JSCompiler_StaticMethods__getDayFocusInWeek$$($clientId$$135$$, $dayIndex$$) {
  var $weekHeader_weekHeaderId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$135$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_WEEK_HEADER_SUB_ID$), $weekHeader_weekHeaderId$$ = $AdfAgent$$.$AGENT$.getElementById($weekHeader_weekHeaderId$$);
  return 0 > $dayIndex$$ || $dayIndex$$ >= $weekHeader_weekHeaderId$$.childNodes.length ? null : $AdfDomUtils$$.$getFirstChildElement$($weekHeader_weekHeaderId$$.childNodes[$dayIndex$$]);
}
function $JSCompiler_StaticMethods__getTimedActFocusInHourGrid$$($clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$, $currIndex$$, $providerId$$13$$) {
  $clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_WEEK_TIMED_ACTIVITIES_CELL_SUB_ID$);
  $clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$ = $AdfAgent$$.$AGENT$.getElementById($clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$);
  if (!$clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$) {
    return null;
  }
  $clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$ = $AdfDomUtils$$.$getFirstChildElement$($clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$);
  do {
    if (null == $clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$) {
      break;
    }
    var $actIndex_index$$123$$ = $AdfAgent$$.$AGENT$.getAttribute($clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_COL_NUM$);
    if (null == $actIndex_index$$123$$ || $actIndex_index$$123$$ < $currIndex$$) {
      $clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$ = $AdfDomUtils$$.$getNextElement$($clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$);
    } else {
      if ($providerId$$13$$ && $actIndex_index$$123$$ >= $currIndex$$) {
        for ($actIndex_index$$123$$ = 0;$actIndex_index$$123$$ < $clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$.childNodes[0].children.length;$actIndex_index$$123$$++) {
          var $child$$14$$ = $clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$.childNodes[0].childNodes[$actIndex_index$$123$$];
          if ($AdfAgent$$.$AGENT$.getAttribute($child$$14$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$) == $providerId$$13$$ && $child$$14$$.hasChildNodes()) {
            return $child$$14$$.firstElementChild;
          }
        }
        $clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$ = $AdfDomUtils$$.$getNextElement$($clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$);
      } else {
        $clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$ = $actIndex_index$$123$$ == $currIndex$$ ? $clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$.childNodes[0].childNodes[0] : null;
        break;
      }
    }
  } while (1);
  return $clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$;
}
function $JSCompiler_StaticMethods__getDayFocusInMonthWeek$$($day$$5_targetWeek$$, $currIndex$$1_numDaysToSkip$$, $gridInfo$$4_i$$243$$) {
  if (null != $day$$5_targetWeek$$) {
    $day$$5_targetWeek$$ = $AdfDomUtils$$.$getLastChildElement$($day$$5_targetWeek$$);
    $currIndex$$1_numDaysToSkip$$ = $gridInfo$$4_i$$243$$.$numDaysInWeek$ - 1 - $currIndex$$1_numDaysToSkip$$;
    for ($gridInfo$$4_i$$243$$ = 0;$gridInfo$$4_i$$243$$ < $currIndex$$1_numDaysToSkip$$;$gridInfo$$4_i$$243$$++) {
      $day$$5_targetWeek$$ = $AdfDomUtils$$.$getPreviousElement$($day$$5_targetWeek$$);
    }
    if (null != $day$$5_targetWeek$$) {
      return $day$$5_targetWeek$$.childNodes[0].childNodes[0];
    }
  }
  return null;
}
function $JSCompiler_StaticMethods__getTimeSlotsPerHour$$($JSCompiler_StaticMethods__getTimeSlotsPerHour$self$$) {
  return $JSCompiler_StaticMethods__getTimeSlotsPerHour$self$$.$getComponent$().$getProperty$($AdfDhtmlCalendarPeer$$.$_TIME_SLOTS_PER_HOUR$);
}
function $JSCompiler_StaticMethods__getParentWithAttr$$($calendarRootElement$$9$$, $domElem$$1_target$$112$$, $attr$$2$$) {
  for (;$domElem$$1_target$$112$$ && $domElem$$1_target$$112$$ != $calendarRootElement$$9$$;) {
    if (1 == $domElem$$1_target$$112$$.nodeType && $AdfAgent$$.$AGENT$.getAttribute($domElem$$1_target$$112$$, $attr$$2$$)) {
      return $domElem$$1_target$$112$$;
    }
    $domElem$$1_target$$112$$ = $domElem$$1_target$$112$$.parentNode;
  }
  return null;
}
function $JSCompiler_StaticMethods__getNextMonthElement$$($currElement$$10$$, $isNext$$1$$) {
  var $nextElement$$4$$ = $isNext$$1$$ ? $AdfDomUtils$$.$getNextElement$($currElement$$10$$) : $AdfDomUtils$$.$getPreviousElement$($currElement$$10$$);
  null == $nextElement$$4$$ && null != $AdfAgent$$.$AGENT$.getAttribute($currElement$$10$$.parentNode, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$) && ($nextElement$$4$$ = $isNext$$1$$ ? $AdfDomUtils$$.$getNextElement$($currElement$$10$$.parentNode) : $AdfDomUtils$$.$getPreviousElement$($currElement$$10$$.parentNode));
  null != $nextElement$$4$$ && null != $AdfAgent$$.$AGENT$.getAttribute($nextElement$$4$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$) && ($nextElement$$4$$ = $isNext$$1$$ ? $AdfDomUtils$$.$getFirstChildElement$($nextElement$$4$$) : $AdfDomUtils$$.$getLastChildElement$($nextElement$$4$$));
  return $nextElement$$4$$;
}
function $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($gridInfo$$5$$, $gridElem$$) {
  for (var $isRTL$$9$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$(), $elem$$17$$ = $gridElem$$, $index$$124_styleLR$$;;) {
    $index$$124_styleLR$$ = $AdfAgent$$.$AGENT$.getAttribute($elem$$17$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_COL_NUM$);
    if (null != $index$$124_styleLR$$) {
      break;
    }
    if (null != $gridInfo$$5$$ && ($index$$124_styleLR$$ = $isRTL$$9$$ ? $elem$$17$$.style.right : $elem$$17$$.style.left, 0 < $index$$124_styleLR$$.length)) {
      $index$$124_styleLR$$ = $gridInfo$$5$$.$percentToIndexMap$[$index$$124_styleLR$$];
      break;
    }
    $elem$$17$$ = $elem$$17$$.parentNode;
  }
  return parseInt($index$$124_styleLR$$);
}
function $JSCompiler_StaticMethods__getValueWithAttr$$($calendarRootElement$$10$$, $domElem$$2_target$$113$$, $attr$$3$$) {
  for (var $attributeValue$$;$domElem$$2_target$$113$$ && $domElem$$2_target$$113$$ != $calendarRootElement$$10$$;) {
    1 == $domElem$$2_target$$113$$.nodeType && ($attributeValue$$ = $AdfAgent$$.$AGENT$.getAttribute($domElem$$2_target$$113$$, $attr$$3$$));
    if (1 == $domElem$$2_target$$113$$.nodeType && $attributeValue$$) {
      return $attributeValue$$;
    }
    $domElem$$2_target$$113$$ = $domElem$$2_target$$113$$.parentNode;
  }
  return null;
}
function $JSCompiler_StaticMethods__handleKeyUpForDay$$($JSCompiler_StaticMethods__handleKeyUpForDay$self_calendar$$10$$, $keyCode$$41$$, $targetElement$$23$$, $componentEvent$$115$$, $providerId$$14$$) {
  $JSCompiler_StaticMethods__handleKeyUpForDay$self_calendar$$10$$ = $JSCompiler_StaticMethods__handleKeyUpForDay$self_calendar$$10$$.$getComponent$();
  var $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$ = $JSCompiler_StaticMethods__handleKeyUpForDay$self_calendar$$10$$.$getClientId$(), $nextElement$$5$$, $agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$ = null != $AdfAgent$$.$AGENT$.getAttribute($targetElement$$23$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$), $retainOldActiveElement$$ = !1, $isRTL$$10$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$();
  if ($agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$) {
    $agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$ = null != $AdfAgent$$.$AGENT$.getAttribute($targetElement$$23$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_ALL_DAY_KEY$);
    if ($AdfKeyStroke$$.$ARROWDOWN_KEY$ == $keyCode$$41$$) {
      if ($nextElement$$5$$ = $AdfDomUtils$$.$getNextElement$($targetElement$$23$$), null == $nextElement$$5$$ && $agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$) {
        $nextElement$$5$$ = $JSCompiler_StaticMethods__getTimedActFocusInHourGrid$$($clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$, 0), $retainOldActiveElement$$ = !0;
      } else {
        if (null == $nextElement$$5$$ && null != $JSCompiler_StaticMethods__getProviderGridElement$$($JSCompiler_StaticMethods__handleKeyUpForDay$self_calendar$$10$$)) {
          for (var $agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$ = $AdfAgent$$.$AGENT$, $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_CONTAINER_SUB_ID$), $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$ = $agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$.getElementById($clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$), 
          $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$ = $AdfDomUtils$$.$getChildElements$($clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$), $i$$244$$ = 0;$i$$244$$ < $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$.length;$i$$244$$++) {
            var $providerWrapperNode$$1$$ = $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$[$i$$244$$], $pid$$1$$ = $agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$.getAttribute($providerWrapperNode$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$);
            if ($pid$$1$$ == $providerId$$14$$) {
              ($providerWrapperNode$$1$$ = $AdfDomUtils$$.$getNextElement$($providerWrapperNode$$1$$)) && ($nextElement$$5$$ = $providerWrapperNode$$1$$.childNodes[0]);
              break;
            }
          }
        }
      }
    } else {
      if ($AdfKeyStroke$$.$ARROWUP_KEY$ == $keyCode$$41$$ && ($nextElement$$5$$ = $AdfDomUtils$$.$getPreviousElement$($targetElement$$23$$), null == $nextElement$$5$$ && !$agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$ && ($agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$, $AdfDhtmlCalendarPeer$$.$_ALL_DAY_CONTAINER_SUB_ID$), 
      $agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$ = $AdfAgent$$.$AGENT$.getElementById($agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$)) && ($nextElement$$5$$ = $AdfDomUtils$$.$getLastChildElement$($agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$), $retainOldActiveElement$$ = !0), null == $nextElement$$5$$ && null != $JSCompiler_StaticMethods__getProviderGridElement$$($JSCompiler_StaticMethods__handleKeyUpForDay$self_calendar$$10$$))) {
        for ($agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$ = $AdfAgent$$.$AGENT$, $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_CONTAINER_SUB_ID$), $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$ = $agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$.getElementById($clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$), 
        $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$ = $AdfDomUtils$$.$getChildElements$($clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$), $i$$244$$ = 0;$i$$244$$ < $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$.length;$i$$244$$++) {
          if ($providerWrapperNode$$1$$ = $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$[$i$$244$$], $pid$$1$$ = $agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$.getAttribute($providerWrapperNode$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$), $pid$$1$$ == $providerId$$14$$) {
            ($providerWrapperNode$$1$$ = $AdfDomUtils$$.$getPreviousElement$($providerWrapperNode$$1$$)) && ($nextElement$$5$$ = $providerWrapperNode$$1$$.childNodes[0]);
            break;
          }
        }
      }
    }
    if (($AdfKeyStroke$$.$ARROWLEFT_KEY$ == $keyCode$$41$$ && !$isRTL$$10$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $keyCode$$41$$ && $isRTL$$10$$) && null != $JSCompiler_StaticMethods__getProviderGridElement$$($JSCompiler_StaticMethods__handleKeyUpForDay$self_calendar$$10$$)) {
      for ($agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$ = $AdfAgent$$.$AGENT$, $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$ = $JSCompiler_StaticMethods__handleKeyUpForDay$self_calendar$$10$$.$getClientId$(), $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_CONTAINER_SUB_ID$), 
      $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$ = $agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$.getElementById($clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$), $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$ = $AdfDomUtils$$.$getChildElements$($clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$), $i$$244$$ = 0;$i$$244$$ < $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$.length;$i$$244$$++) {
        $providerWrapperNode$$1$$ = $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$[$i$$244$$], $pid$$1$$ = $agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$.getAttribute($providerWrapperNode$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$), $pid$$1$$ == $providerId$$14$$ && ($nextElement$$5$$ = $providerWrapperNode$$1$$.childNodes[0]);
      }
    }
  } else {
    null != $JSCompiler_StaticMethods__getProviderGridElement$$($JSCompiler_StaticMethods__handleKeyUpForDay$self_calendar$$10$$) && ($AdfKeyStroke$$.$ARROWLEFT_KEY$ == $keyCode$$41$$ && $isRTL$$10$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $keyCode$$41$$ && !$isRTL$$10$$) && ($nextElement$$5$$ = $JSCompiler_StaticMethods__getTimedActFocusInHourGrid$$($clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$, 0, $providerId$$14$$));
  }
  return $nextElement$$5$$ ? ($JSCompiler_StaticMethods__switchfocusAndMarkActiveDescendant$$($targetElement$$23$$, $nextElement$$5$$, $componentEvent$$115$$, $retainOldActiveElement$$), !0) : !1;
}
function $JSCompiler_StaticMethods__handleKeyUpForList$$($goToNextAct_keyCode$$42$$, $targetElement$$24$$, $componentEvent$$116$$) {
  var $isActivity$$2_isRTL$$11$$ = null != $AdfAgent$$.$AGENT$.getAttribute($targetElement$$24$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$), $agent$$190$$ = $AdfAgent$$.$AGENT$, $dayLinkCell_listCell$$1_nextElement$$6$$, $dayCell$$3_listRow$$2$$ = $targetElement$$24$$.parentNode.parentNode;
  if ($isActivity$$2_isRTL$$11$$) {
    if ($AdfKeyStroke$$.$ARROWDOWN_KEY$ == $goToNextAct_keyCode$$42$$ || $AdfKeyStroke$$.$ARROWUP_KEY$ == $goToNextAct_keyCode$$42$$) {
      $dayCell$$3_listRow$$2$$ = ($goToNextAct_keyCode$$42$$ = $AdfKeyStroke$$.$ARROWDOWN_KEY$ == $goToNextAct_keyCode$$42$$) ? $AdfDomUtils$$.$getNextElement$($dayCell$$3_listRow$$2$$) : $AdfDomUtils$$.$getPreviousElement$($dayCell$$3_listRow$$2$$), null != $dayCell$$3_listRow$$2$$ && 1 == $dayCell$$3_listRow$$2$$.childNodes.length && ($dayCell$$3_listRow$$2$$ = $goToNextAct_keyCode$$42$$ ? $AdfDomUtils$$.$getNextElement$($dayCell$$3_listRow$$2$$) : $AdfDomUtils$$.$getPreviousElement$($dayCell$$3_listRow$$2$$)), 
      null != $dayCell$$3_listRow$$2$$ && ($dayLinkCell_listCell$$1_nextElement$$6$$ = $JSCompiler_StaticMethods__getActivityLinkInList$$($dayCell$$3_listRow$$2$$));
    } else {
      if ($AdfKeyStroke$$.$ARROWLEFT_KEY$ == $goToNextAct_keyCode$$42$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $goToNextAct_keyCode$$42$$) {
        $isActivity$$2_isRTL$$11$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$(), !$isActivity$$2_isRTL$$11$$ && $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $goToNextAct_keyCode$$42$$ || $isActivity$$2_isRTL$$11$$ && $AdfKeyStroke$$.$ARROWLEFT_KEY$ == $goToNextAct_keyCode$$42$$ ? ($dayCell$$3_listRow$$2$$ = $JSCompiler_StaticMethods__getListRowWithDayLink$$($dayCell$$3_listRow$$2$$, !0), null != $dayCell$$3_listRow$$2$$ && ($dayLinkCell_listCell$$1_nextElement$$6$$ = $AdfDomUtils$$.$getFirstChildElement$($dayCell$$3_listRow$$2$$), 
        $dayLinkCell_listCell$$1_nextElement$$6$$ = $AdfDomUtils$$.$getFirstChildElement$($AdfDomUtils$$.$getNextElement$($dayLinkCell_listCell$$1_nextElement$$6$$)), null == $dayLinkCell_listCell$$1_nextElement$$6$$ && ($dayLinkCell_listCell$$1_nextElement$$6$$ = $JSCompiler_StaticMethods__getActivityLinkInList$$($dayCell$$3_listRow$$2$$)))) : (null == $agent$$190$$.getAttribute($dayCell$$3_listRow$$2$$, $AdfDhtmlCalendarPeer$$.$_HAS_CALENDAR_DAY_LINK$) && ($dayCell$$3_listRow$$2$$ = $JSCompiler_StaticMethods__getListRowWithDayLink$$($dayCell$$3_listRow$$2$$, 
        !1)), $dayLinkCell_listCell$$1_nextElement$$6$$ = $AdfDomUtils$$.$getChildElements$($dayCell$$3_listRow$$2$$)[1], $dayLinkCell_listCell$$1_nextElement$$6$$ = $AdfDomUtils$$.$getFirstChildElement$($dayLinkCell_listCell$$1_nextElement$$6$$), null == $dayLinkCell_listCell$$1_nextElement$$6$$ && ($dayCell$$3_listRow$$2$$ = $AdfDomUtils$$.$getPreviousElement$($dayCell$$3_listRow$$2$$), null != $dayCell$$3_listRow$$2$$ && ($dayCell$$3_listRow$$2$$ = $AdfDomUtils$$.$getPreviousElement$($dayCell$$3_listRow$$2$$), 
        $dayLinkCell_listCell$$1_nextElement$$6$$ = $JSCompiler_StaticMethods__getActivityLinkInList$$($dayCell$$3_listRow$$2$$))));
      }
    }
  } else {
    null != $AdfAgent$$.$AGENT$.getAttribute($targetElement$$24$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$) && ($AdfKeyStroke$$.$ARROWDOWN_KEY$ == $goToNextAct_keyCode$$42$$ || $AdfKeyStroke$$.$ARROWUP_KEY$ == $goToNextAct_keyCode$$42$$ ? ($dayCell$$3_listRow$$2$$ = $JSCompiler_StaticMethods__getListRowWithDayLink$$($dayCell$$3_listRow$$2$$, $AdfKeyStroke$$.$ARROWDOWN_KEY$ == $goToNextAct_keyCode$$42$$), null != $dayCell$$3_listRow$$2$$ && ($dayCell$$3_listRow$$2$$ = $AdfDomUtils$$.$getChildElements$($dayCell$$3_listRow$$2$$)[1], 
    $dayLinkCell_listCell$$1_nextElement$$6$$ = $AdfDomUtils$$.$getFirstChildElement$($dayCell$$3_listRow$$2$$))) : $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $goToNextAct_keyCode$$42$$ ? ($dayLinkCell_listCell$$1_nextElement$$6$$ = $AdfDomUtils$$.$getNextElement$($AdfDomUtils$$.$getNextElement$($targetElement$$24$$.parentNode)), null != $dayLinkCell_listCell$$1_nextElement$$6$$ && ($dayLinkCell_listCell$$1_nextElement$$6$$ = $AdfDomUtils$$.$getFirstChildElement$($dayLinkCell_listCell$$1_nextElement$$6$$))) : 
    $AdfKeyStroke$$.$ARROWLEFT_KEY$ == $goToNextAct_keyCode$$42$$ && ($dayCell$$3_listRow$$2$$ = $AdfDomUtils$$.$getPreviousElement$($dayCell$$3_listRow$$2$$), null != $dayCell$$3_listRow$$2$$ && ($dayCell$$3_listRow$$2$$ = $AdfDomUtils$$.$getPreviousElement$($dayCell$$3_listRow$$2$$), $dayLinkCell_listCell$$1_nextElement$$6$$ = $JSCompiler_StaticMethods__getActivityLinkInList$$($dayCell$$3_listRow$$2$$))));
  }
  return $dayLinkCell_listCell$$1_nextElement$$6$$ ? ($JSCompiler_StaticMethods__switchfocusAndMarkActiveDescendant$$($targetElement$$24$$, $dayLinkCell_listCell$$1_nextElement$$6$$, $componentEvent$$116$$), !0) : !1;
}
function $JSCompiler_StaticMethods__handleKeyUpForMonth$$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$, $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$, $targetElement$$25$$, $componentEvent$$117$$) {
  var $isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$();
  $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$ = $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$.$getComponent$().$getClientId$();
  var $activity$$inline_1462_nextElement$$7_nextWeek$$, $isActivity$$3_isFound$$ = null != $AdfAgent$$.$AGENT$.getAttribute($targetElement$$25$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$), $isOverflowLink$$1_rowNum$$2$$ = null != $AdfAgent$$.$AGENT$.getAttribute($targetElement$$25$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$), $isDayLink$$ = null != $AdfAgent$$.$AGENT$.getAttribute($targetElement$$25$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$);
  $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$ = $AdfRichUIPeer$$.$CreateSubId$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$, $AdfDhtmlCalendarPeer$$.$_MONTH_HEADER_ID$);
  $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$ = $AdfAgent$$.$AGENT$.getElementById($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$);
  $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$ = $JSCompiler_StaticMethods__calculateMonthGridInfo$$(null, $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$);
  var $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$, $targetElement$$25$$);
  if ($isActivity$$3_isFound$$ || $isOverflowLink$$1_rowNum$$2$$) {
    var $currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ = null != $AdfAgent$$.$AGENT$.getAttribute($targetElement$$25$$.parentNode, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$);
    if ($AdfKeyStroke$$.$ARROWDOWN_KEY$ == $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$) {
      if ($isOverflowLink$$1_rowNum$$2$$) {
        $activity$$inline_1462_nextElement$$7_nextWeek$$ = $AdfDomUtils$$.$getNextElement$($targetElement$$25$$.parentNode), $activity$$inline_1462_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getDayFocusInMonthWeek$$($activity$$inline_1462_nextElement$$7_nextWeek$$, $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$, $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$);
      } else {
        $activity$$inline_1462_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getNextMonthElement$$($targetElement$$25$$, !0);
        if (null != $activity$$inline_1462_nextElement$$7_nextWeek$$) {
          if ($currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$, $activity$$inline_1462_nextElement$$7_nextWeek$$), $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ != $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$) {
            $activity$$inline_1462_nextElement$$7_nextWeek$$ = null;
          } else {
            if ("none" == $activity$$inline_1462_nextElement$$7_nextWeek$$.style.display) {
              a: {
                $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = $activity$$inline_1462_nextElement$$7_nextWeek$$;
                $AdfAgent$$.$AGENT$.getAttribute($activity$$inline_1462_nextElement$$7_nextWeek$$.parentNode, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$) && ($currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = $activity$$inline_1462_nextElement$$7_nextWeek$$.parentNode);
                for (;null != ($currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = $AdfDomUtils$$.$getNextElement$($currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$));) {
                  if (null != $AdfAgent$$.$AGENT$.getAttribute($currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$)) {
                    $activity$$inline_1462_nextElement$$7_nextWeek$$ = $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$;
                    break a;
                  }
                }
                $activity$$inline_1462_nextElement$$7_nextWeek$$ = null;
              }
            }
          }
        }
        null == $activity$$inline_1462_nextElement$$7_nextWeek$$ && ($activity$$inline_1462_nextElement$$7_nextWeek$$ = $AdfDomUtils$$.$getNextElement$($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ ? $targetElement$$25$$.parentNode.parentNode : $targetElement$$25$$.parentNode), $activity$$inline_1462_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getDayFocusInMonthWeek$$($activity$$inline_1462_nextElement$$7_nextWeek$$, $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$, 
        $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$));
      }
    } else {
      if ($AdfKeyStroke$$.$ARROWUP_KEY$ == $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$) {
        $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = !1;
        for ($isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$ = $targetElement$$25$$;!$currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$;) {
          $activity$$inline_1462_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getNextMonthElement$$($isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$, !1);
          if (null == $activity$$inline_1462_nextElement$$7_nextWeek$$) {
            break;
          }
          if ("none" == $activity$$inline_1462_nextElement$$7_nextWeek$$.style.display) {
            $isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$ = $activity$$inline_1462_nextElement$$7_nextWeek$$;
          } else {
            if ($currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$, $activity$$inline_1462_nextElement$$7_nextWeek$$), $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ == $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$) {
              $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = !0;
            } else {
              $activity$$inline_1462_nextElement$$7_nextWeek$$ = null;
              break;
            }
          }
        }
        null == $activity$$inline_1462_nextElement$$7_nextWeek$$ && ($activity$$inline_1462_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getDayFocusInMonthWeek$$($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ ? $targetElement$$25$$.parentNode.parentNode : $targetElement$$25$$.parentNode, $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$, $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$));
      } else {
        if ($AdfKeyStroke$$.$ARROWLEFT_KEY$ == $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$) {
          $isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$ = $AdfKeyStroke$$.$ARROWLEFT_KEY$ == $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ && $isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ && !$isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$;
          $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$, $targetElement$$25$$);
          $isOverflowLink$$1_rowNum$$2$$ = $AdfAgent$$.$AGENT$.getAttribute($targetElement$$25$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$);
          $isActivity$$3_isFound$$ = !1;
          for ($currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = $targetElement$$25$$;!$isActivity$$3_isFound$$;) {
            $activity$$inline_1462_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getNextMonthElement$$($currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$, $isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$);
            if (null == $activity$$inline_1462_nextElement$$7_nextWeek$$) {
              break;
            }
            if ("none" != $activity$$inline_1462_nextElement$$7_nextWeek$$.style.display && ($currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$, $activity$$inline_1462_nextElement$$7_nextWeek$$), $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ != $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$)) {
              if ($currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = Math.abs($currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ - $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$), 1 == $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$) {
                $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = $AdfAgent$$.$AGENT$.getAttribute($activity$$inline_1462_nextElement$$7_nextWeek$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$);
                if (null == $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$) {
                  $activity$$inline_1462_nextElement$$7_nextWeek$$ = null;
                  break;
                }
                $isOverflowLink$$1_rowNum$$2$$ == $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ && ($isActivity$$3_isFound$$ = !0);
              } else {
                if (1 < $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$) {
                  $activity$$inline_1462_nextElement$$7_nextWeek$$ = null;
                  break;
                }
              }
            }
            $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = $activity$$inline_1462_nextElement$$7_nextWeek$$;
          }
          null == $activity$$inline_1462_nextElement$$7_nextWeek$$ && ($currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ = $isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$ ? $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ + 1 : $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ - 1, 0 <= $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ && $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ < $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$.$numDaysInWeek$ && 
          ($activity$$inline_1462_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getDayFocusInMonthWeek$$($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ ? $targetElement$$25$$.parentNode.parentNode : $targetElement$$25$$.parentNode, $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$, $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$)));
        }
      }
    }
  } else {
    if ($isDayLink$$) {
      if ($AdfKeyStroke$$.$ARROWLEFT_KEY$ == $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$) {
        $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ = ($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ = $AdfKeyStroke$$.$ARROWLEFT_KEY$ == $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ && $isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ && !$isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$) ? 
        $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ + 1 : $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ - 1, 0 <= $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ && $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ < $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$.$numDaysInWeek$ ? $activity$$inline_1462_nextElement$$7_nextWeek$$ = $AdfDomUtils$$.$getFirstChildElement$($AdfDomUtils$$.$getFirstChildElement$($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ ? 
        $AdfDomUtils$$.$getNextElement$($targetElement$$25$$.parentNode.parentNode) : $AdfDomUtils$$.$getPreviousElement$($targetElement$$25$$.parentNode.parentNode))) : ($currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ = $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ == $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$.$numDaysInWeek$ && $currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ ? $AdfDomUtils$$.$getNextElement$($targetElement$$25$$.parentNode.parentNode.parentNode) : 
        $AdfDomUtils$$.$getPreviousElement$($targetElement$$25$$.parentNode.parentNode.parentNode), null != $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ && ($activity$$inline_1462_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getDayFocusInMonthWeek$$($currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$, $currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ ? 0 : $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$.$numDaysInWeek$ - 
        1, $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$)));
      } else {
        if ($AdfKeyStroke$$.$ARROWUP_KEY$ == $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$) {
          if ($isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$ = $AdfDomUtils$$.$getPreviousElement$($targetElement$$25$$.parentNode.parentNode.parentNode), null != $isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$) {
            if ($isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$.childNodes.length != $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$.$numDaysInWeek$) {
              $activity$$inline_1462_nextElement$$7_nextWeek$$ = $AdfDomUtils$$.$getFirstChildElement$($isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$);
              null != $AdfAgent$$.$AGENT$.getAttribute($activity$$inline_1462_nextElement$$7_nextWeek$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$) && ($activity$$inline_1462_nextElement$$7_nextWeek$$ = $AdfDomUtils$$.$getFirstChildElement$($activity$$inline_1462_nextElement$$7_nextWeek$$));
              do {
                if (null == $activity$$inline_1462_nextElement$$7_nextWeek$$) {
                  break;
                }
                if (null == $AdfAgent$$.$AGENT$.getAttribute($activity$$inline_1462_nextElement$$7_nextWeek$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$) && null == $AdfAgent$$.$AGENT$.getAttribute($activity$$inline_1462_nextElement$$7_nextWeek$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$)) {
                  break;
                }
                $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$, $activity$$inline_1462_nextElement$$7_nextWeek$$);
                if ($currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ == $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$) {
                  "none" != $activity$$inline_1462_nextElement$$7_nextWeek$$.style.display && ($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ = $activity$$inline_1462_nextElement$$7_nextWeek$$);
                } else {
                  if ($currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ > $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$) {
                    break;
                  }
                }
                $activity$$inline_1462_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getNextMonthElement$$($activity$$inline_1462_nextElement$$7_nextWeek$$, !0);
              } while (1);
            }
            $activity$$inline_1462_nextElement$$7_nextWeek$$ = null != $currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ ? $currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ : $JSCompiler_StaticMethods__getDayFocusInMonthWeek$$($isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$, $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$, $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$);
          }
        } else {
          if ($AdfKeyStroke$$.$ARROWDOWN_KEY$ == $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$) {
            $currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ = $targetElement$$25$$.parentNode.parentNode.parentNode;
            if ($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$.childNodes.length != $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$.$numDaysInWeek$) {
              $activity$$inline_1462_nextElement$$7_nextWeek$$ = $AdfDomUtils$$.$getFirstChildElement$($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$);
              null != $AdfAgent$$.$AGENT$.getAttribute($activity$$inline_1462_nextElement$$7_nextWeek$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$) && ($activity$$inline_1462_nextElement$$7_nextWeek$$ = $AdfDomUtils$$.$getFirstChildElement$($activity$$inline_1462_nextElement$$7_nextWeek$$));
              do {
                if (null == $activity$$inline_1462_nextElement$$7_nextWeek$$) {
                  break;
                }
                if (null == $AdfAgent$$.$AGENT$.getAttribute($activity$$inline_1462_nextElement$$7_nextWeek$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$) && null == $AdfAgent$$.$AGENT$.getAttribute($activity$$inline_1462_nextElement$$7_nextWeek$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$)) {
                  $activity$$inline_1462_nextElement$$7_nextWeek$$ = null;
                  break;
                }
                $currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$, $activity$$inline_1462_nextElement$$7_nextWeek$$);
                if ($currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ == $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$) {
                  break;
                } else {
                  if ($currNode$$inline_1463_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ > $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$) {
                    $activity$$inline_1462_nextElement$$7_nextWeek$$ = null;
                    break;
                  }
                }
                $activity$$inline_1462_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getNextMonthElement$$($activity$$inline_1462_nextElement$$7_nextWeek$$, !0);
              } while (1);
            }
            null == $activity$$inline_1462_nextElement$$7_nextWeek$$ && ($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ = $AdfDomUtils$$.$getNextElement$($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$), null != $currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ && ($activity$$inline_1462_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getDayFocusInMonthWeek$$($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$, $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$, 
            $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$)));
          }
        }
      }
    }
  }
  return $activity$$inline_1462_nextElement$$7_nextWeek$$ ? ($JSCompiler_StaticMethods__switchfocusAndMarkActiveDescendant$$($targetElement$$25$$, $activity$$inline_1462_nextElement$$7_nextWeek$$, $componentEvent$$117$$), !0) : !1;
}
function $JSCompiler_StaticMethods__handleKeyUpForWeek$$($JSCompiler_StaticMethods__handleKeyUpForWeek$self_isNext$$3$$, $i$$245_keyCode$$44$$, $targetElement$$26$$, $componentEvent$$118$$, $isNextDay$$1_providerId$$15$$) {
  var $isRTL$$13_providerWrapperNode$$2$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$(), $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$ = $JSCompiler_StaticMethods__handleKeyUpForWeek$self_isNext$$3$$.$getComponent$(), $clientId$$139_targetDayIndex$$1$$ = $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$.$getClientId$(), $diff$$5_nextIndex$$3_nextRowNum$$1$$, $nextElement$$8$$, $isActivity$$4_isAllDayAct$$3$$ = null != $AdfAgent$$.$AGENT$.getAttribute($targetElement$$26$$, 
  $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$), $pid$$2_rowNum$$3_weekHeaderId$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$139_targetDayIndex$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_WEEK_HEADER_SUB_ID$), $retainOldActiveElement$$1_weekHeader$$1$$ = $AdfAgent$$.$AGENT$.getElementById($pid$$2_rowNum$$3_weekHeaderId$$1$$), $agent$$191_gridInfo$$7$$ = $JSCompiler_StaticMethods__calculateMonthGridInfo$$(null, $retainOldActiveElement$$1_weekHeader$$1$$), $currIndex$$3$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($agent$$191_gridInfo$$7$$, 
  $targetElement$$26$$), $retainOldActiveElement$$1_weekHeader$$1$$ = !1;
  if ($isActivity$$4_isAllDayAct$$3$$) {
    if ($isActivity$$4_isAllDayAct$$3$$ = null != $AdfAgent$$.$AGENT$.getAttribute($targetElement$$26$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_ALL_DAY_KEY$), $AdfKeyStroke$$.$ARROWDOWN_KEY$ == $i$$245_keyCode$$44$$) {
      $nextElement$$8$$ = $isActivity$$4_isAllDayAct$$3$$ ? $JSCompiler_StaticMethods__getAdjacentAllDayActToFocus$$($clientId$$139_targetDayIndex$$1$$, $targetElement$$26$$, $AdfDhtmlCalendarPeer$$.$_CAL_WEEK_FOCUS_NEXT_ALLDAY$) : $AdfDomUtils$$.$getNextElement$($targetElement$$26$$);
      $isActivity$$4_isAllDayAct$$3$$ && null == $nextElement$$8$$ && ($nextElement$$8$$ = $JSCompiler_StaticMethods__getTimedActFocusInHourGrid$$($clientId$$139_targetDayIndex$$1$$, $currIndex$$3$$), null != $nextElement$$8$$ && ($retainOldActiveElement$$1_weekHeader$$1$$ = !0));
      if (null == $nextElement$$8$$ && null != $JSCompiler_StaticMethods__getProviderGridElement$$($calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$)) {
        for ($agent$$191_gridInfo$$7$$ = $AdfAgent$$.$AGENT$, $clientId$$139_targetDayIndex$$1$$ = $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$.$getClientId$(), $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$139_targetDayIndex$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_CONTAINER_SUB_ID$), $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$ = $agent$$191_gridInfo$$7$$.getElementById($calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$), 
        $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$ = $AdfDomUtils$$.$getChildElements$($calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$), $i$$245_keyCode$$44$$ = 0;$i$$245_keyCode$$44$$ < $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$.length;$i$$245_keyCode$$44$$++) {
          if ($isRTL$$13_providerWrapperNode$$2$$ = $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$[$i$$245_keyCode$$44$$], $pid$$2_rowNum$$3_weekHeaderId$$1$$ = $agent$$191_gridInfo$$7$$.getAttribute($isRTL$$13_providerWrapperNode$$2$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$), $pid$$2_rowNum$$3_weekHeaderId$$1$$ == $isNextDay$$1_providerId$$15$$) {
            ($isRTL$$13_providerWrapperNode$$2$$ = $AdfDomUtils$$.$getNextElement$($isRTL$$13_providerWrapperNode$$2$$)) && ($nextElement$$8$$ = $isRTL$$13_providerWrapperNode$$2$$.childNodes[0]);
            break;
          }
        }
      }
      null == $nextElement$$8$$ && ($nextElement$$8$$ = $JSCompiler_StaticMethods__getDayFocusInWeek$$($clientId$$139_targetDayIndex$$1$$, $currIndex$$3$$));
    } else {
      if ($AdfKeyStroke$$.$ARROWUP_KEY$ == $i$$245_keyCode$$44$$) {
        $nextElement$$8$$ = $isActivity$$4_isAllDayAct$$3$$ ? $JSCompiler_StaticMethods__getAdjacentAllDayActToFocus$$($clientId$$139_targetDayIndex$$1$$, $targetElement$$26$$, $AdfDhtmlCalendarPeer$$.$_CAL_WEEK_FOCUS_PREV_ALLDAY$) : $AdfDomUtils$$.$getPreviousElement$($targetElement$$26$$);
        $isActivity$$4_isAllDayAct$$3$$ || null != $nextElement$$8$$ || ($nextElement$$8$$ = $JSCompiler_StaticMethods__getAllDayActFocus$$($clientId$$139_targetDayIndex$$1$$, $currIndex$$3$$, $JSCompiler_StaticMethods__handleKeyUpForWeek$self_isNext$$3$$.$_CAL_WEEK_FOCUS_LAST_ALLDAY$), null != $nextElement$$8$$ && ($retainOldActiveElement$$1_weekHeader$$1$$ = !0));
        if (null == $nextElement$$8$$ && null != $JSCompiler_StaticMethods__getProviderGridElement$$($calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$)) {
          for ($agent$$191_gridInfo$$7$$ = $AdfAgent$$.$AGENT$, $clientId$$139_targetDayIndex$$1$$ = $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$.$getClientId$(), $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$139_targetDayIndex$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_CONTAINER_SUB_ID$), $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$ = $agent$$191_gridInfo$$7$$.getElementById($calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$), 
          $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$ = $AdfDomUtils$$.$getChildElements$($calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$), $i$$245_keyCode$$44$$ = 0;$i$$245_keyCode$$44$$ < $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$.length;$i$$245_keyCode$$44$$++) {
            if ($isRTL$$13_providerWrapperNode$$2$$ = $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$[$i$$245_keyCode$$44$$], $pid$$2_rowNum$$3_weekHeaderId$$1$$ = $agent$$191_gridInfo$$7$$.getAttribute($isRTL$$13_providerWrapperNode$$2$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$), $pid$$2_rowNum$$3_weekHeaderId$$1$$ == $isNextDay$$1_providerId$$15$$) {
              ($isRTL$$13_providerWrapperNode$$2$$ = $AdfDomUtils$$.$getPreviousElement$($isRTL$$13_providerWrapperNode$$2$$)) && ($nextElement$$8$$ = $isRTL$$13_providerWrapperNode$$2$$.childNodes[0]);
              break;
            }
          }
        }
        null == $nextElement$$8$$ && ($nextElement$$8$$ = $JSCompiler_StaticMethods__getDayFocusInWeek$$($clientId$$139_targetDayIndex$$1$$, $currIndex$$3$$));
      } else {
        if ($AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $i$$245_keyCode$$44$$ || $AdfKeyStroke$$.$ARROWLEFT_KEY$ == $i$$245_keyCode$$44$$) {
          $nextElement$$8$$ = ($JSCompiler_StaticMethods__handleKeyUpForWeek$self_isNext$$3$$ = $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $i$$245_keyCode$$44$$ && !$isRTL$$13_providerWrapperNode$$2$$ || $AdfKeyStroke$$.$ARROWLEFT_KEY$ == $i$$245_keyCode$$44$$ && $isRTL$$13_providerWrapperNode$$2$$) ? $AdfDomUtils$$.$getNextElement$($targetElement$$26$$) : $AdfDomUtils$$.$getPreviousElement$($targetElement$$26$$);
          if ($isActivity$$4_isAllDayAct$$3$$) {
            for ($pid$$2_rowNum$$3_weekHeaderId$$1$$ = $AdfAgent$$.$AGENT$.getAttribute($targetElement$$26$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$);null != $nextElement$$8$$;) {
              $diff$$5_nextIndex$$3_nextRowNum$$1$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($agent$$191_gridInfo$$7$$, $nextElement$$8$$);
              $diff$$5_nextIndex$$3_nextRowNum$$1$$ = Math.abs($diff$$5_nextIndex$$3_nextRowNum$$1$$ - $currIndex$$3$$);
              if (1 == $diff$$5_nextIndex$$3_nextRowNum$$1$$) {
                $diff$$5_nextIndex$$3_nextRowNum$$1$$ = $AdfAgent$$.$AGENT$.getAttribute($nextElement$$8$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$);
                if (null == $diff$$5_nextIndex$$3_nextRowNum$$1$$) {
                  $nextElement$$8$$ = null;
                  break;
                }
                if ($pid$$2_rowNum$$3_weekHeaderId$$1$$ == $diff$$5_nextIndex$$3_nextRowNum$$1$$) {
                  break;
                }
              } else {
                if (1 < $diff$$5_nextIndex$$3_nextRowNum$$1$$) {
                  $nextElement$$8$$ = null;
                  break;
                }
              }
              $nextElement$$8$$ = $JSCompiler_StaticMethods__handleKeyUpForWeek$self_isNext$$3$$ ? $AdfDomUtils$$.$getNextElement$($nextElement$$8$$) : $AdfDomUtils$$.$getPreviousElement$($nextElement$$8$$);
            }
          } else {
            $nextElement$$8$$ = $JSCompiler_StaticMethods__getTimedActFocusInHourGrid$$($clientId$$139_targetDayIndex$$1$$, $JSCompiler_StaticMethods__handleKeyUpForWeek$self_isNext$$3$$ ? $currIndex$$3$$ + 1 : $currIndex$$3$$ - 1, $isNextDay$$1_providerId$$15$$);
          }
          if (($AdfKeyStroke$$.$ARROWLEFT_KEY$ == $i$$245_keyCode$$44$$ && !$isRTL$$13_providerWrapperNode$$2$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $i$$245_keyCode$$44$$ && $isRTL$$13_providerWrapperNode$$2$$) && $nextElement$$8$$ == $targetElement$$26$$ && null != $JSCompiler_StaticMethods__getProviderGridElement$$($calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$)) {
            for ($agent$$191_gridInfo$$7$$ = $AdfAgent$$.$AGENT$, $clientId$$139_targetDayIndex$$1$$ = $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$.$getClientId$(), $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$139_targetDayIndex$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_CONTAINER_SUB_ID$), $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$ = $agent$$191_gridInfo$$7$$.getElementById($calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$), 
            $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$ = $AdfDomUtils$$.$getChildElements$($calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$), $i$$245_keyCode$$44$$ = 0;$i$$245_keyCode$$44$$ < $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$.length;$i$$245_keyCode$$44$$++) {
              $isRTL$$13_providerWrapperNode$$2$$ = $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$[$i$$245_keyCode$$44$$], $pid$$2_rowNum$$3_weekHeaderId$$1$$ = $agent$$191_gridInfo$$7$$.getAttribute($isRTL$$13_providerWrapperNode$$2$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$), $pid$$2_rowNum$$3_weekHeaderId$$1$$ == $isNextDay$$1_providerId$$15$$ && ($nextElement$$8$$ = $isRTL$$13_providerWrapperNode$$2$$.childNodes[0]);
            }
          }
          null == $nextElement$$8$$ && ($nextElement$$8$$ = $JSCompiler_StaticMethods__getDayFocusInWeek$$($clientId$$139_targetDayIndex$$1$$, $JSCompiler_StaticMethods__handleKeyUpForWeek$self_isNext$$3$$ ? $currIndex$$3$$ + 1 : $currIndex$$3$$ - 1), $isActivity$$4_isAllDayAct$$3$$ || ($retainOldActiveElement$$1_weekHeader$$1$$ = !0));
        }
      }
    }
  } else {
    if ($targetElement$$26$$.parentNode.parentNode.id == $pid$$2_rowNum$$3_weekHeaderId$$1$$) {
      if ($AdfKeyStroke$$.$ARROWDOWN_KEY$ == $i$$245_keyCode$$44$$) {
        $nextElement$$8$$ = $JSCompiler_StaticMethods__getAllDayActFocus$$($clientId$$139_targetDayIndex$$1$$, $currIndex$$3$$, $AdfDhtmlCalendarPeer$$.$_CAL_WEEK_FOCUS_FIRST_ALLDAY$), null == $nextElement$$8$$ && ($nextElement$$8$$ = $JSCompiler_StaticMethods__getTimedActFocusInHourGrid$$($clientId$$139_targetDayIndex$$1$$, $currIndex$$3$$), null != $JSCompiler_StaticMethods__getProviderGridElement$$($calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$) && $nextElement$$8$$ && 
        ($nextElement$$8$$ = $nextElement$$8$$.firstElementChild));
      } else {
        if ($AdfKeyStroke$$.$ARROWLEFT_KEY$ == $i$$245_keyCode$$44$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $i$$245_keyCode$$44$$) {
          $clientId$$139_targetDayIndex$$1$$ = ($isNextDay$$1_providerId$$15$$ = $AdfKeyStroke$$.$ARROWLEFT_KEY$ == $i$$245_keyCode$$44$$ && $isRTL$$13_providerWrapperNode$$2$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $i$$245_keyCode$$44$$ && !$isRTL$$13_providerWrapperNode$$2$$) ? $currIndex$$3$$ + 1 : $currIndex$$3$$ - 1, 0 <= $clientId$$139_targetDayIndex$$1$$ && $clientId$$139_targetDayIndex$$1$$ < $agent$$191_gridInfo$$7$$.$numDaysInWeek$ && ($nextElement$$8$$ = $AdfDomUtils$$.$getFirstChildElement$($isNextDay$$1_providerId$$15$$ ? 
          $AdfDomUtils$$.$getNextElement$($targetElement$$26$$.parentNode) : $AdfDomUtils$$.$getPreviousElement$($targetElement$$26$$.parentNode)));
        }
      }
    } else {
      null != $JSCompiler_StaticMethods__getProviderGridElement$$($calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$) && ($AdfKeyStroke$$.$ARROWLEFT_KEY$ == $i$$245_keyCode$$44$$ && $isRTL$$13_providerWrapperNode$$2$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $i$$245_keyCode$$44$$ && !$isRTL$$13_providerWrapperNode$$2$$) && ($nextElement$$8$$ = $JSCompiler_StaticMethods__getTimedActFocusInHourGrid$$($clientId$$139_targetDayIndex$$1$$, 0, $isNextDay$$1_providerId$$15$$));
    }
  }
  return $nextElement$$8$$ ? ($JSCompiler_StaticMethods__switchfocusAndMarkActiveDescendant$$($targetElement$$26$$, $nextElement$$8$$, $componentEvent$$118$$, $retainOldActiveElement$$1_weekHeader$$1$$), !0) : !1;
}
function $JSCompiler_StaticMethods__hideMonthGridActivity$$($actInfo$$1_activity$$9$$, $gridInfo$$8_j$$24$$, $overflowDeltaInfo$$) {
  $actInfo$$1_activity$$9$$.style.$_display$ = $actInfo$$1_activity$$9$$.style.display;
  $actInfo$$1_activity$$9$$.style.display = "none";
  $actInfo$$1_activity$$9$$ = $JSCompiler_StaticMethods__getActivityInfo$$($actInfo$$1_activity$$9$$, $gridInfo$$8_j$$24$$);
  for ($gridInfo$$8_j$$24$$ = 0;$gridInfo$$8_j$$24$$ < $actInfo$$1_activity$$9$$.$activityLength$;$gridInfo$$8_j$$24$$++) {
    var $numOverflow$$1$$ = $overflowDeltaInfo$$[$actInfo$$1_activity$$9$$.$startDay$ + $gridInfo$$8_j$$24$$];
    $overflowDeltaInfo$$[$actInfo$$1_activity$$9$$.$startDay$ + $gridInfo$$8_j$$24$$] = ++$numOverflow$$1$$;
  }
}
function $JSCompiler_StaticMethods__isActivityDraggableAcrossDays$$($JSCompiler_StaticMethods__isActivityDraggableAcrossDays$self$$, $activityElement$$3$$) {
  return $JSCompiler_StaticMethods__isActivityDraggableAcrossDays$self$$.$getComponent$().getView() == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$ ? null == $AdfAgent$$.$AGENT$.getAttribute($activityElement$$3$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_DURATION_KEY$) : !1;
}
$JSCompiler_prototypeAlias$$ = $AdfDhtmlCalendarPeer$$.prototype;
$JSCompiler_prototypeAlias$$.$_restoreScrollPosition$ = function $$JSCompiler_prototypeAlias$$$$_restoreScrollPosition$$($component$$748$$) {
  var $clientId$$140$$ = $component$$748$$.$getClientId$(), $agent$$192$$ = $AdfAgent$$.$AGENT$, $scrollTop$$19_view$$16$$ = $component$$748$$.$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$), $key$$56_scrollElem_scrollSubId$$ = null, $oldScrollHeight$$ = null;
  if ($scrollTop$$19_view$$16$$ != $AdfDhtmlCalendarPeer$$.$_VIEW_MONTH$) {
    if ($scrollTop$$19_view$$16$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_LIST$) {
      $key$$56_scrollElem_scrollSubId$$ = $AdfDhtmlCalendarPeer$$.$_SCROLL_LIST_KEY$;
    } else {
      if ($scrollTop$$19_view$$16$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ || $scrollTop$$19_view$$16$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$) {
        $key$$56_scrollElem_scrollSubId$$ = $AdfDhtmlCalendarPeer$$.$_SCROLL_DAY_KEY$, $oldScrollHeight$$ = this.$_getPageProperty$($component$$748$$, $AdfDhtmlCalendarPeer$$.$_SCROLL_DAY_HEIGHT$), this.$_setPageProperty$($component$$748$$, $AdfDhtmlCalendarPeer$$.$_SCROLL_DAY_HEIGHT$, null);
      }
    }
    $scrollTop$$19_view$$16$$ = this.$_getPageProperty$($component$$748$$, $key$$56_scrollElem_scrollSubId$$);
    this.$_setPageProperty$($component$$748$$, $key$$56_scrollElem_scrollSubId$$, null);
    if (null != $scrollTop$$19_view$$16$$) {
      if ($key$$56_scrollElem_scrollSubId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$140$$, $key$$56_scrollElem_scrollSubId$$), $key$$56_scrollElem_scrollSubId$$ = $agent$$192$$.getElementById($key$$56_scrollElem_scrollSubId$$)) {
        var $savedActiveDay$$ = this.$_getPageProperty$($component$$748$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVE_DATE_KEY$), $activeDay$$1$$ = $JSCompiler_StaticMethods__getActiveDayFromDom$$($component$$748$$);
        this.$_setPageProperty$($component$$748$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVE_DATE_KEY$, null);
        $activeDay$$1$$ === $savedActiveDay$$ ? ($oldScrollHeight$$ && ($scrollTop$$19_view$$16$$ = $key$$56_scrollElem_scrollSubId$$.scrollHeight * $scrollTop$$19_view$$16$$ / $oldScrollHeight$$), $key$$56_scrollElem_scrollSubId$$.scrollTop = $scrollTop$$19_view$$16$$) : $JSCompiler_StaticMethods__scrollToStartHour$$($clientId$$140$$, $agent$$192$$);
      }
    } else {
      $JSCompiler_StaticMethods__scrollToStartHour$$($clientId$$140$$, $agent$$192$$);
    }
  }
};
function $JSCompiler_StaticMethods__scrollToStartHour$$($clientId$$142$$, $agent$$194$$) {
  var $elem$$18_subId$$17$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$142$$, $AdfDhtmlCalendarPeer$$.$_START_HOUR_SUBID_KEY$), $elem$$18_subId$$17$$ = $agent$$194$$.getElementById($elem$$18_subId$$17$$), $dateTimeGridContainer_scrollSubId$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$142$$, $AdfDhtmlCalendarPeer$$.$_SCROLL_DAY_KEY$);
  ($dateTimeGridContainer_scrollSubId$$1$$ = $agent$$194$$.getElementById($dateTimeGridContainer_scrollSubId$$1$$)) && $elem$$18_subId$$17$$ && $agent$$194$$.$scrollToPos$($dateTimeGridContainer_scrollSubId$$1$$, null, $elem$$18_subId$$17$$.offsetTop);
}
$JSCompiler_prototypeAlias$$.$_getPageProperty$ = function $$JSCompiler_prototypeAlias$$$$_getPageProperty$$($component$$750$$, $propertyKey$$4$$) {
  var $clientId$$143_storedProperties$$ = $component$$750$$.$getClientId$(), $value$$175$$;
  ($clientId$$143_storedProperties$$ = $AdfPage$$.$PAGE$.$getPageProperty$($clientId$$143_storedProperties$$)) && ($value$$175$$ = $clientId$$143_storedProperties$$[$propertyKey$$4$$]);
  return $value$$175$$;
};
$JSCompiler_prototypeAlias$$.$_setPageProperty$ = function $$JSCompiler_prototypeAlias$$$$_setPageProperty$$($clientId$$144_component$$751$$, $propertyKey$$5$$, $propertyValue$$8$$) {
  $clientId$$144_component$$751$$ = $clientId$$144_component$$751$$.$getClientId$();
  var $page$$93$$ = $AdfPage$$.$PAGE$, $storedProperties$$1$$ = $page$$93$$.$getPageProperty$($clientId$$144_component$$751$$);
  $storedProperties$$1$$ || ($storedProperties$$1$$ = {}, $page$$93$$.$setPageProperty$($clientId$$144_component$$751$$, $storedProperties$$1$$));
  $storedProperties$$1$$[$propertyKey$$5$$] = $propertyValue$$8$$;
};
function $JSCompiler_StaticMethods__setTimeActDragInfo$$($JSCompiler_StaticMethods__setTimeActDragInfo$self$$, $timeAct$$, $height$$28$$) {
  var $agent$$195$$ = $AdfAgent$$.$AGENT$;
  $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_resizedActivity$ = $timeAct$$;
  $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_resizedActivityContainer$ = $timeAct$$.firstChild.firstChild;
  $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_resizedActivityInitHeight$ = $height$$28$$;
  $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_resizedActivityInitWidth$ = $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_resizedActivityContainer$.clientWidth;
  $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_parentDay$ = $timeAct$$.parentNode.parentNode;
  $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_parentDayLeftBoundary$ = $agent$$195$$.$getElementLeft$($JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_parentDay$);
  $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_parentDayRightBoundary$ = $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_parentDayLeftBoundary$ + $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_parentDay$.offsetWidth;
  $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_activityLeftBoundary$ = $agent$$195$$.$getElementLeft$($JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_resizedActivity$);
  $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_activityRightBoundary$ = $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_activityLeftBoundary$ + $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_resizedActivityInitWidth$;
}
function $JSCompiler_StaticMethods__showMonthGridActivity$$($actInfo$$2_activity$$10$$, $gridInfo$$9_j$$25$$, $overflowDeltaInfo$$1$$) {
  $actInfo$$2_activity$$10$$.style.display = $actInfo$$2_activity$$10$$.style.$_display$ || "";
  $actInfo$$2_activity$$10$$ = $JSCompiler_StaticMethods__getActivityInfo$$($actInfo$$2_activity$$10$$, $gridInfo$$9_j$$25$$);
  for ($gridInfo$$9_j$$25$$ = 0;$gridInfo$$9_j$$25$$ < $actInfo$$2_activity$$10$$.$activityLength$;$gridInfo$$9_j$$25$$++) {
    var $numOverflow$$2$$ = $overflowDeltaInfo$$1$$[$actInfo$$2_activity$$10$$.$startDay$ + $gridInfo$$9_j$$25$$];
    $overflowDeltaInfo$$1$$[$actInfo$$2_activity$$10$$.$startDay$ + $gridInfo$$9_j$$25$$] = --$numOverflow$$2$$;
  }
}
$JSCompiler_prototypeAlias$$.$_isPopupVisible$ = function $$JSCompiler_prototypeAlias$$$$_isPopupVisible$$($component$$752$$, $id$$260$$) {
  var $popupId$$31$$ = $AdfAgent$$.$AGENT$.getAttribute(this.$getDomElement$(), $id$$260$$);
  return $popupId$$31$$ ? $component$$752$$.$findComponent$($popupId$$31$$).$isPopupVisible$() : !1;
};
function $JSCompiler_StaticMethods__launchPopupFacet$$($JSCompiler_StaticMethods__launchPopupFacet$self_popup$$11_popupId$$32$$, $component$$753$$, $hints$$64_id$$261$$) {
  if ($JSCompiler_StaticMethods__launchPopupFacet$self_popup$$11_popupId$$32$$ = $AdfAgent$$.$AGENT$.getAttribute($JSCompiler_StaticMethods__launchPopupFacet$self_popup$$11_popupId$$32$$.$getDomElement$(), $hints$$64_id$$261$$)) {
    $JSCompiler_StaticMethods__launchPopupFacet$self_popup$$11_popupId$$32$$ = $component$$753$$.$findComponent$($JSCompiler_StaticMethods__launchPopupFacet$self_popup$$11_popupId$$32$$), $hints$$64_id$$261$$ = {}, $hints$$64_id$$261$$[AdfRichPopup.$HINT_LAUNCH_ID$] = $component$$753$$.$getClientId$(), $JSCompiler_StaticMethods__launchPopupFacet$self_popup$$11_popupId$$32$$.show($hints$$64_id$$261$$);
  }
}
$JSCompiler_prototypeAlias$$.$_onMouseOverTimeout$ = function $$JSCompiler_prototypeAlias$$$$_onMouseOverTimeout$$($mousePos$$3_state$$28$$) {
  delete this.$_calendarActivityMouseTimeout$;
  var $activityRootBounds_componentId$$24$$ = $mousePos$$3_state$$28$$.$componentId$, $clientId$$145_timeGridSubId$$ = this.$getComponent$().$getClientId$(), $activityRootElement$$5_activityRootId$$ = $mousePos$$3_state$$28$$.$activityRootId$, $isInTimeRegion$$ = $mousePos$$3_state$$28$$.$isInTimeRegion$, $agent$$196_timeGridContainerBounds$$ = $AdfAgent$$.$AGENT$, $component$$754_popup$$12$$ = $AdfPage$$.$PAGE$.$findComponent$($activityRootBounds_componentId$$24$$), $activityRootElement$$5_activityRootId$$ = 
  $agent$$196_timeGridContainerBounds$$.getElementById($activityRootElement$$5_activityRootId$$);
  if ($component$$754_popup$$12$$ && $activityRootElement$$5_activityRootId$$ && !$JSCompiler_StaticMethods__isBusyWithDifferentActivity$$(this, $activityRootElement$$5_activityRootId$$)) {
    this.bind($component$$754_popup$$12$$);
    var $activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$ = this.$_isPopupVisible$($component$$754_popup$$12$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_DETAIL$), $activityDeleteVisible$$ = this.$_isPopupVisible$($component$$754_popup$$12$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_DELETE$), $activityContextMenuVisible$$ = this.$_isPopupVisible$($component$$754_popup$$12$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_CONTEXT_MENU$);
    !($activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$ || $activityDeleteVisible$$ || $activityContextMenuVisible$$) && ($JSCompiler_StaticMethods__queueCalendarActivityEvent$$(this, $component$$754_popup$$12$$, $activityRootElement$$5_activityRootId$$, null, 0, $AdfDhtmlCalendarPeer$$.$_EVENT_BUTTON_NONE$, $AdfDhtmlCalendarPeer$$.$_EVENT_TRIGGER_HOVER$), $activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$ = $AdfRichUIPeer$$.$getDomElementForComponent$($component$$754_popup$$12$$), 
    $activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$ = $AdfAgent$$.$AGENT$.getAttribute($activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_HOVER$)) && ($component$$754_popup$$12$$ = $component$$754_popup$$12$$.$findComponent$($activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$), $activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$ = {}, $activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$[AdfRichPopup.$HINT_LAUNCH_ID$] = 
    $activityRootBounds_componentId$$24$$, $activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$.autodismiss = "autodismissMouseOut", $activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$.autodismissMouseOut = $activityRootElement$$5_activityRootId$$.id, $isInTimeRegion$$ ? ($activityRootBounds_componentId$$24$$ = $agent$$196_timeGridContainerBounds$$.$getElementPageBounds$($activityRootElement$$5_activityRootId$$), $clientId$$145_timeGridSubId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$145_timeGridSubId$$, 
    $AdfDhtmlCalendarPeer$$.$_SCROLL_DAY_KEY$), $agent$$196_timeGridContainerBounds$$ = $agent$$196_timeGridContainerBounds$$.$getElementPageBounds$($agent$$196_timeGridContainerBounds$$.getElementById($clientId$$145_timeGridSubId$$)), $activityRootBounds_componentId$$24$$.top < $agent$$196_timeGridContainerBounds$$.top ? ($mousePos$$3_state$$28$$ = $mousePos$$3_state$$28$$.$mousePosition$, $activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$.mousePosition = {x:$mousePos$$3_state$$28$$.x, 
    y:$mousePos$$3_state$$28$$.y}) : $activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$.alignElement = $activityRootElement$$5_activityRootId$$) : $activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$.alignElement = $activityRootElement$$5_activityRootId$$, $component$$754_popup$$12$$.show($activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$));
  }
};
function $JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$$($JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$self$$) {
  $JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$self$$.$_calendarActivityMouseTimeout$ && ($AdfPage$$.$PAGE$.$cancelTimer$($JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$self$$.$_calendarActivityMouseTimeout$), delete $JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$self$$.$_calendarActivityMouseTimeout$);
}
function $JSCompiler_StaticMethods__queueCalendarActivityEvent$$($JSCompiler_StaticMethods__queueCalendarActivityEvent$self$$, $component$$755$$, $activityRootElement$$6$$, $keyStroke$$10$$, $clickCount$$6$$, $button$$9$$, $triggerType$$11$$) {
  $triggerType$$11$$ != $AdfDhtmlCalendarPeer$$.$_EVENT_TRIGGER_HOVER$ && $JSCompiler_StaticMethods__hideActivityHoverPopup$$($JSCompiler_StaticMethods__queueCalendarActivityEvent$self$$);
  var $activityId$$12_ids$$2$$ = $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($activityRootElement$$6$$), $providerId$$16$$ = $activityId$$12_ids$$2$$.$providerId$, $activityId$$12_ids$$2$$ = $activityId$$12_ids$$2$$.$activityId$;
  $AdfFocusUtils$$.$focusElement$($activityRootElement$$6$$);
  $JSCompiler_StaticMethods__queueCalendarActivityEvent$self$$.$_currentActivityId$ = $activityId$$12_ids$$2$$;
  $AdfCalendarActivityEvent$$.$queue$($component$$755$$, $providerId$$16$$, $activityId$$12_ids$$2$$, $keyStroke$$10$$, $clickCount$$6$$, $button$$9$$, $triggerType$$11$$);
}
$JSCompiler_prototypeAlias$$.$_setSplitterPositionCallback$ = function $$JSCompiler_prototypeAlias$$$$_setSplitterPositionCallback$$($splitterPosition$$) {
  this.$_splitterComponent$.setProperty(AdfRichPanelSplitter.SPLITTER_POSITION, $splitterPosition$$, !1, $AdfUIComponent$$.$PROPAGATE_LOCALLY$);
};
function $JSCompiler_StaticMethods__isBusyWithDifferentActivity$$($JSCompiler_StaticMethods__isBusyWithDifferentActivity$self$$, $activityRootElement$$7$$) {
  var $newActivityId$$ = $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($activityRootElement$$7$$).$activityId$;
  return null == $JSCompiler_StaticMethods__isBusyWithDifferentActivity$self$$.$_currentActivityId$ || $newActivityId$$ === $JSCompiler_StaticMethods__isBusyWithDifferentActivity$self$$.$_currentActivityId$ ? !1 : $JSCompiler_StaticMethods__isBusyWithDifferentActivity$self$$.$IsBusy$();
}
$JSCompiler_prototypeAlias$$.$_showContextMenu$ = function $$JSCompiler_prototypeAlias$$$$_showContextMenu$$($component$$756$$, $calendarRootElement$$11_contextMenuId$$, $componentEvent$$119$$, $id$$262$$, $alignElement$$15$$) {
  if ($calendarRootElement$$11_contextMenuId$$ = $AdfAgent$$.$AGENT$.getAttribute($calendarRootElement$$11_contextMenuId$$, $id$$262$$)) {
    $JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$$(this), this.$showContextMenu$($componentEvent$$119$$.$getNativeEvent$(), $calendarRootElement$$11_contextMenuId$$, $component$$756$$, $alignElement$$15$$, null, $component$$756$$.$getClientId$()), $componentEvent$$119$$.cancel();
  }
};
function $JSCompiler_StaticMethods__handleActivityContextMenu$$($JSCompiler_StaticMethods__handleActivityContextMenu$self$$, $componentEvent$$120$$, $calendarRootElement$$12$$, $activityRootElement$$8$$, $isAlignedToActivity$$) {
  var $component$$757$$ = $JSCompiler_StaticMethods__getComponentEventSource$$($JSCompiler_StaticMethods__handleActivityContextMenu$self$$, $componentEvent$$120$$);
  $JSCompiler_StaticMethods__queueCalendarActivityEvent$$($JSCompiler_StaticMethods__handleActivityContextMenu$self$$, $component$$757$$, $activityRootElement$$8$$, null, 0, $AdfDhtmlCalendarPeer$$.$_EVENT_BUTTON_NONE$, $AdfDhtmlCalendarPeer$$.$_EVENT_TRIGGER_CONTEXT_MENU$);
  var $alignElement$$16$$ = null;
  $isAlignedToActivity$$ && ($alignElement$$16$$ = $activityRootElement$$8$$);
  $JSCompiler_StaticMethods__handleActivityContextMenu$self$$.$_showContextMenu$($component$$757$$, $calendarRootElement$$12$$, $componentEvent$$120$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_CONTEXT_MENU$, $alignElement$$16$$);
}
function $JSCompiler_StaticMethods__handleClickEvents$$($JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$, $componentEvent$$121$$, $clickCount$$7$$) {
  var $eventTarget$$40$$ = $componentEvent$$121$$.$getNativeEventTarget$();
  if ($componentEvent$$121$$.$isLeftButtonPressed$() && $eventTarget$$40$$) {
    var $component$$758$$ = $JSCompiler_StaticMethods__getComponentEventSource$$($JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$, $componentEvent$$121$$), $calendarRootElement$$13$$ = $JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$.$getDomElement$(), $activityRootElement$$9_displayChangeElement$$1$$ = $JSCompiler_StaticMethods__getParentWithAttr$$($calendarRootElement$$13$$, $eventTarget$$40$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$);
    $activityRootElement$$9_displayChangeElement$$1$$ ? ($JSCompiler_StaticMethods__hideActivityHoverPopup$$($JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$), $JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$ = $AdfAgent$$.$AGENT$.getAttribute($activityRootElement$$9_displayChangeElement$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$), $AdfCalendarDisplayChangeEvent$$.$queue$($component$$758$$, $JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$, $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$)) : 
    ($activityRootElement$$9_displayChangeElement$$1$$ = $JSCompiler_StaticMethods__getParentActivity$$($calendarRootElement$$13$$, $eventTarget$$40$$)) && $calendarRootElement$$13$$ != $activityRootElement$$9_displayChangeElement$$1$$ ? $JSCompiler_StaticMethods__isBusyWithDifferentActivity$$($JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$, $activityRootElement$$9_displayChangeElement$$1$$) || ($JSCompiler_StaticMethods__queueCalendarActivityEvent$$($JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$, 
    $component$$758$$, $activityRootElement$$9_displayChangeElement$$1$$, null, $clickCount$$7$$, $AdfDhtmlCalendarPeer$$.$_EVENT_BUTTON_LEFT$, $AdfDhtmlCalendarPeer$$.$_EVENT_TRIGGER_MOUSE$), $JSCompiler_StaticMethods__launchPopupFacet$$($JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$, $component$$758$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_DETAIL$)) : $JSCompiler_StaticMethods__queueCalendarEvent$$($JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$, $component$$758$$, 
    $componentEvent$$121$$, $calendarRootElement$$13$$, $eventTarget$$40$$, $clickCount$$7$$, $AdfDhtmlCalendarPeer$$.$_EVENT_BUTTON_LEFT$, $AdfDhtmlCalendarPeer$$.$_EVENT_TRIGGER_MOUSE$) && $JSCompiler_StaticMethods__launchPopupFacet$$($JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$, $component$$758$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_CREATE$);
  }
}
function $JSCompiler_StaticMethods__queueCalendarEvent$$($JSCompiler_StaticMethods__queueCalendarEvent$self_providerDom$$, $component$$759$$, $componentEvent$$122_dayInWeek_hour$$, $calendarRootElement$$14$$, $eventTarget$$41$$, $clickCount$$8$$, $button$$10$$, $triggerType$$12$$) {
  var $dateString$$ = $JSCompiler_StaticMethods__getDayCellAttrValue$$($calendarRootElement$$14$$, $eventTarget$$41$$), $pageY$$44_timeSlot$$3_timeSlotValue$$inline_1471$$;
  $pageY$$44_timeSlot$$3_timeSlotValue$$inline_1471$$ = $JSCompiler_StaticMethods__getValueWithAttr$$($calendarRootElement$$14$$, $eventTarget$$41$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_TIME_SLOT_KEY$);
  $pageY$$44_timeSlot$$3_timeSlotValue$$inline_1471$$ = null == $pageY$$44_timeSlot$$3_timeSlotValue$$inline_1471$$ ? null : $pageY$$44_timeSlot$$3_timeSlotValue$$inline_1471$$;
  var $children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$ = $eventTarget$$41$$.parentNode, $attributeValue$$1_divPos$$1$$ = $AdfAgent$$.$AGENT$.$getElementPosition$($children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$);
  if (null == $pageY$$44_timeSlot$$3_timeSlotValue$$inline_1471$$ && null != $JSCompiler_StaticMethods__getParentWithAttr$$($calendarRootElement$$14$$, $eventTarget$$41$$, $AdfDhtmlCalendarPeer$$.$_TIME_ACTIVITY_COLUMN_KEY$)) {
    var $index$$125_mousePos$$4_timeSlotsPerDay$$ = $AdfAgent$$.$AGENT$.$getMousePosition$($componentEvent$$122_dayInWeek_hour$$.$getNativeEvent$());
    $pageY$$44_timeSlot$$3_timeSlotValue$$inline_1471$$ = $index$$125_mousePos$$4_timeSlotsPerDay$$.y;
    $index$$125_mousePos$$4_timeSlotsPerDay$$ = 24 * $JSCompiler_StaticMethods__getTimeSlotsPerHour$$($JSCompiler_StaticMethods__queueCalendarEvent$self_providerDom$$);
    $pageY$$44_timeSlot$$3_timeSlotValue$$inline_1471$$ = Math.round(Math.max($pageY$$44_timeSlot$$3_timeSlotValue$$inline_1471$$ - $attributeValue$$1_divPos$$1$$.y, 0) / ($children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$.offsetHeight / $index$$125_mousePos$$4_timeSlotsPerDay$$) - .5);
  }
  $children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$ == $calendarRootElement$$14$$ && ($dateString$$ = $AdfAgent$$.$AGENT$.getAttribute($children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVE_DATE_KEY$));
  if (null == $dateString$$) {
    for ($index$$125_mousePos$$4_timeSlotsPerDay$$ = $AdfAgent$$.$AGENT$.$getMousePosition$($componentEvent$$122_dayInWeek_hour$$.$getNativeEvent$()), $componentEvent$$122_dayInWeek_hour$$ = Math.max($index$$125_mousePos$$4_timeSlotsPerDay$$.x - $attributeValue$$1_divPos$$1$$.x, 0) / ($children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$.offsetWidth / 7), $componentEvent$$122_dayInWeek_hour$$ = Math.round($componentEvent$$122_dayInWeek_hour$$ - .5), 6 < $componentEvent$$122_dayInWeek_hour$$ && 
    ($componentEvent$$122_dayInWeek_hour$$ = 6), $children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$ = $children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$.childNodes, $attributeValue$$1_divPos$$1$$ = null, $index$$125_mousePos$$4_timeSlotsPerDay$$ = 0;$index$$125_mousePos$$4_timeSlotsPerDay$$ < $children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$.length;$index$$125_mousePos$$4_timeSlotsPerDay$$++) {
      var $node$$66$$ = $children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$[$index$$125_mousePos$$4_timeSlotsPerDay$$];
      1 == $node$$66$$.nodeType && ($attributeValue$$1_divPos$$1$$ = $AdfAgent$$.$AGENT$.getAttribute($node$$66$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_CELL_KEY$));
      if ($attributeValue$$1_divPos$$1$$ && $index$$125_mousePos$$4_timeSlotsPerDay$$ == $componentEvent$$122_dayInWeek_hour$$) {
        $dateString$$ = $attributeValue$$1_divPos$$1$$;
        break;
      }
    }
  }
  return null != $dateString$$ && void 0 != $dateString$$ ? ($children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$ = $componentEvent$$122_dayInWeek_hour$$ = null, null != $pageY$$44_timeSlot$$3_timeSlotValue$$inline_1471$$ && ($children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$ = $JSCompiler_StaticMethods__getTimeSlotsPerHour$$($JSCompiler_StaticMethods__queueCalendarEvent$self_providerDom$$), $componentEvent$$122_dayInWeek_hour$$ = Math.round($pageY$$44_timeSlot$$3_timeSlotValue$$inline_1471$$ / 
  $children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$ - .5), $children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$ = $pageY$$44_timeSlot$$3_timeSlotValue$$inline_1471$$ % $children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$ * (60 / $children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$)), $JSCompiler_StaticMethods__hideActivityHoverPopup$$($JSCompiler_StaticMethods__queueCalendarEvent$self_providerDom$$), $JSCompiler_StaticMethods__queueCalendarEvent$self_providerDom$$ = 
  null, null != $JSCompiler_StaticMethods__getProviderGridElement$$($component$$759$$) && ($JSCompiler_StaticMethods__queueCalendarEvent$self_providerDom$$ = $AdfDomUtils$$.$getParentWithAttr$($calendarRootElement$$14$$, $eventTarget$$41$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$)), $AdfCalendarEvent$$.$queue$($component$$759$$, $dateString$$, $componentEvent$$122_dayInWeek_hour$$, $children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$, null, $clickCount$$8$$, $button$$10$$, 
  $triggerType$$12$$, $JSCompiler_StaticMethods__queueCalendarEvent$self_providerDom$$ ? $AdfAgent$$.$AGENT$.getAttribute($JSCompiler_StaticMethods__queueCalendarEvent$self_providerDom$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$) : null), !0) : !1;
}
function $JSCompiler_StaticMethods__getActivityX$$($activityDom$$, $isRTL$$16$$) {
  var $agent$$201$$ = $AdfAgent$$.$AGENT$;
  return $isRTL$$16$$ ? $agent$$201$$.$getElementLeft$($activityDom$$) + resizedActivity.clientWidth : $agent$$201$$.$getElementLeft$($activityDom$$);
}
function $JSCompiler_StaticMethods__getClientActivityId$$($JSCompiler_StaticMethods__getClientActivityId$self_clientActivityId$$, $providerId$$17$$, $activityId$$13$$, $suffix$$) {
  $JSCompiler_StaticMethods__getClientActivityId$self_clientActivityId$$ = $JSCompiler_StaticMethods__getClientActivityId$self_clientActivityId$$.$getComponent$().$getClientId$() + "::" + $providerId$$17$$ + "::" + $activityId$$13$$;
  null != $suffix$$ && ($JSCompiler_StaticMethods__getClientActivityId$self_clientActivityId$$ = $JSCompiler_StaticMethods__getClientActivityId$self_clientActivityId$$ + "::" + $suffix$$);
  return $JSCompiler_StaticMethods__getClientActivityId$self_clientActivityId$$;
}
$JSCompiler_prototypeAlias$$.$_handleTimeActivityResizeDrag$ = function $$JSCompiler_prototypeAlias$$$$_handleTimeActivityResizeDrag$$($evt$$80_ids$$4_prevActivityDom_prevId$$) {
  var $midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$ = this.$_resizedActivity$, $topPos$$1$$ = $midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$.offsetTop, $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$ = this.$_resizedActivityContainer$, $resizedActivityInitHeight$$ = this.$_resizedActivityInitHeight$, $dGCRContainer$$1$$ = this.$_dayGridCellRowsContainer$, $minIncrementSize$$ = this.$_minIncrementSize$, $agent$$inline_1475_divPos$$inline_1478_scrollDown$$inline_1480_suffix$$1$$ = 
  $AdfAgent$$.$AGENT$, $actDeltaY_clientY$$5_dtGridContainer$$inline_1476$$ = this.$_dateTimeGridContainer$;
  if ($actDeltaY_clientY$$5_dtGridContainer$$inline_1476$$.scrollHeight > $actDeltaY_clientY$$5_dtGridContainer$$inline_1476$$.offsetHeight) {
    var $agent$$202_divMouseY$$inline_1479_mousePos$$inline_1477_scrollToPos$$inline_1481$$ = $agent$$inline_1475_divPos$$inline_1478_scrollDown$$inline_1480_suffix$$1$$.$getMousePosition$($evt$$80_ids$$4_prevActivityDom_prevId$$), $agent$$inline_1475_divPos$$inline_1478_scrollDown$$inline_1480_suffix$$1$$ = $agent$$inline_1475_divPos$$inline_1478_scrollDown$$inline_1480_suffix$$1$$.$getElementPosition$($actDeltaY_clientY$$5_dtGridContainer$$inline_1476$$), $agent$$202_divMouseY$$inline_1479_mousePos$$inline_1477_scrollToPos$$inline_1481$$ = 
    Math.max($agent$$202_divMouseY$$inline_1479_mousePos$$inline_1477_scrollToPos$$inline_1481$$.y - $agent$$inline_1475_divPos$$inline_1478_scrollDown$$inline_1480_suffix$$1$$.y, 0), $agent$$inline_1475_divPos$$inline_1478_scrollDown$$inline_1480_suffix$$1$$ = $agent$$202_divMouseY$$inline_1479_mousePos$$inline_1477_scrollToPos$$inline_1481$$ > $actDeltaY_clientY$$5_dtGridContainer$$inline_1476$$.offsetHeight - $AdfDhtmlCalendarPeer$$.$_AUTOSCROLL_MARGIN$;
    if ($agent$$202_divMouseY$$inline_1479_mousePos$$inline_1477_scrollToPos$$inline_1481$$ < $AdfDhtmlCalendarPeer$$.$_AUTOSCROLL_MARGIN$ || $agent$$inline_1475_divPos$$inline_1478_scrollDown$$inline_1480_suffix$$1$$) {
      $agent$$202_divMouseY$$inline_1479_mousePos$$inline_1477_scrollToPos$$inline_1481$$ = $actDeltaY_clientY$$5_dtGridContainer$$inline_1476$$.scrollTop + ($agent$$inline_1475_divPos$$inline_1478_scrollDown$$inline_1480_suffix$$1$$ ? this.$_minIncrementSize$ : -this.$_minIncrementSize$), 0 <= $agent$$202_divMouseY$$inline_1479_mousePos$$inline_1477_scrollToPos$$inline_1481$$ && $agent$$202_divMouseY$$inline_1479_mousePos$$inline_1477_scrollToPos$$inline_1481$$ < $actDeltaY_clientY$$5_dtGridContainer$$inline_1476$$.scrollHeight && 
      ($actDeltaY_clientY$$5_dtGridContainer$$inline_1476$$.scrollTop = $agent$$202_divMouseY$$inline_1479_mousePos$$inline_1477_scrollToPos$$inline_1481$$);
    }
  }
  $actDeltaY_clientY$$5_dtGridContainer$$inline_1476$$ = $evt$$80_ids$$4_prevActivityDom_prevId$$.clientY;
  if ($JSCompiler_StaticMethods__isActivityDraggableAcrossDays$$(this, $midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$)) {
    var $activityClone$$1_isRTL$$18_maxHeight$$1$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$(), $agent$$202_divMouseY$$inline_1479_mousePos$$inline_1477_scrollToPos$$inline_1481$$ = $AdfAgent$$.$AGENT$, $clientX$$5$$ = $evt$$80_ids$$4_prevActivityDom_prevId$$.clientX;
    if ($clientX$$5$$ >= this.$_parentDayLeftBoundary$ && $clientX$$5$$ <= this.$_parentDayRightBoundary$) {
      $midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$.style.width = Math.max(this.$_resizedActivityInitWidth$, $activityClone$$1_isRTL$$18_maxHeight$$1$$ ? this.$_activityRightBoundary$ - $clientX$$5$$ : $clientX$$5$$ - this.$_activityLeftBoundary$) + "px";
    } else {
      var $dayBounds$$ = $agent$$202_divMouseY$$inline_1479_mousePos$$inline_1477_scrollToPos$$inline_1481$$.$getElementPageBounds$(this.$_parentDay$);
      $evt$$80_ids$$4_prevActivityDom_prevId$$ = $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$);
      $agent$$inline_1475_divPos$$inline_1478_scrollDown$$inline_1480_suffix$$1$$ = $evt$$80_ids$$4_prevActivityDom_prevId$$.$suffix$;
      if (!$activityClone$$1_isRTL$$18_maxHeight$$1$$ && $clientX$$5$$ < $dayBounds$$.left || $activityClone$$1_isRTL$$18_maxHeight$$1$$ && $clientX$$5$$ > $dayBounds$$.right) {
        null != $agent$$inline_1475_divPos$$inline_1478_scrollDown$$inline_1480_suffix$$1$$ && 0 < $agent$$inline_1475_divPos$$inline_1478_scrollDown$$inline_1480_suffix$$1$$.length && (0 < $agent$$inline_1475_divPos$$inline_1478_scrollDown$$inline_1480_suffix$$1$$ ? $agent$$inline_1475_divPos$$inline_1478_scrollDown$$inline_1480_suffix$$1$$-- : $agent$$inline_1475_divPos$$inline_1478_scrollDown$$inline_1480_suffix$$1$$ = null, $evt$$80_ids$$4_prevActivityDom_prevId$$ = $JSCompiler_StaticMethods__getClientActivityId$$(this, 
        $evt$$80_ids$$4_prevActivityDom_prevId$$.$providerId$, $evt$$80_ids$$4_prevActivityDom_prevId$$.$activityId$, $agent$$inline_1475_divPos$$inline_1478_scrollDown$$inline_1480_suffix$$1$$), $evt$$80_ids$$4_prevActivityDom_prevId$$ = $agent$$202_divMouseY$$inline_1479_mousePos$$inline_1477_scrollToPos$$inline_1481$$.getElementById($evt$$80_ids$$4_prevActivityDom_prevId$$)) && (this.$_deltaDays$--, $midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$.parentNode.removeChild($midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$), 
        $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$ = $evt$$80_ids$$4_prevActivityDom_prevId$$.firstChild.firstChild, null != $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.$_initHeight$ ? ($JSCompiler_StaticMethods__setTimeActDragInfo$$(this, $evt$$80_ids$$4_prevActivityDom_prevId$$, $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.$_initHeight$), this.$_resizeStartY$ = $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.$_resizeStartY$) : 
        ($JSCompiler_StaticMethods__setTimeActDragInfo$$(this, $evt$$80_ids$$4_prevActivityDom_prevId$$, $minIncrementSize$$), this.$_resizeStartY$ = $agent$$202_divMouseY$$inline_1479_mousePos$$inline_1477_scrollToPos$$inline_1481$$.$getElementTop$($evt$$80_ids$$4_prevActivityDom_prevId$$) + $minIncrementSize$$, $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.style.height = $minIncrementSize$$ + "px", $resizedActivityInitHeight$$ = $minIncrementSize$$));
      } else {
        if (!$activityClone$$1_isRTL$$18_maxHeight$$1$$ && $clientX$$5$$ > $dayBounds$$.right && $clientX$$5$$ < this.$_gridRightBoundary$ || $activityClone$$1_isRTL$$18_maxHeight$$1$$ && $clientX$$5$$ < $dayBounds$$.left && $clientX$$5$$ > this.$_gridLeftBoundary$) {
          $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.$_initHeight$ = this.$_resizedActivityInitHeight$;
          $activityClone$$1_isRTL$$18_maxHeight$$1$$ = $dGCRContainer$$1$$.scrollHeight - $topPos$$1$$;
          $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.$_newHeight$ = $activityClone$$1_isRTL$$18_maxHeight$$1$$;
          $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.style.height = $activityClone$$1_isRTL$$18_maxHeight$$1$$ + "px";
          $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.$_resizeStartY$ = this.$_resizeStartY$;
          $activityClone$$1_isRTL$$18_maxHeight$$1$$ = $midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$.cloneNode(!0);
          $agent$$inline_1475_divPos$$inline_1478_scrollDown$$inline_1480_suffix$$1$$ ? $agent$$inline_1475_divPos$$inline_1478_scrollDown$$inline_1480_suffix$$1$$++ : $agent$$inline_1475_divPos$$inline_1478_scrollDown$$inline_1480_suffix$$1$$ = 0;
          $activityClone$$1_isRTL$$18_maxHeight$$1$$.id = $JSCompiler_StaticMethods__getClientActivityId$$(this, $evt$$80_ids$$4_prevActivityDom_prevId$$.$providerId$, $evt$$80_ids$$4_prevActivityDom_prevId$$.$activityId$, $agent$$inline_1475_divPos$$inline_1478_scrollDown$$inline_1480_suffix$$1$$);
          $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$ = $activityClone$$1_isRTL$$18_maxHeight$$1$$.style;
          $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.zIndex = ++this.$_nextZIndex$;
          $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.top = 0;
          $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.left = 0;
          for ($clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$ = $AdfDomUtils$$.$getNextElement$($midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$.parentNode.parentNode);null != $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$;) {
            if (null != $agent$$202_divMouseY$$inline_1479_mousePos$$inline_1477_scrollToPos$$inline_1481$$.getAttribute($clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$, "arc")) {
              $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.firstChild.appendChild($activityClone$$1_isRTL$$18_maxHeight$$1$$);
              break;
            }
            $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$ = $AdfDomUtils$$.$getNextElement$($clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$);
          }
          $agent$$202_divMouseY$$inline_1479_mousePos$$inline_1477_scrollToPos$$inline_1481$$.$elementsAdded$($activityClone$$1_isRTL$$18_maxHeight$$1$$);
          $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$ = $activityClone$$1_isRTL$$18_maxHeight$$1$$.firstChild.firstChild;
          $JSCompiler_StaticMethods__setTimeActDragInfo$$(this, $activityClone$$1_isRTL$$18_maxHeight$$1$$, 0);
          this.$_deltaDays$++;
          this.$_resizeStartY$ = this.$_gridTop$ - this.$_dateTimeGridContainer$.scrollTop;
        }
      }
    }
  }
  $actDeltaY_clientY$$5_dtGridContainer$$inline_1476$$ -= this.$_resizeStartY$;
  $actDeltaY_clientY$$5_dtGridContainer$$inline_1476$$ += this.$_dateTimeGridContainer$.scrollTop - this.$_scrollTopBeforeDrag$;
  $actDeltaY_clientY$$5_dtGridContainer$$inline_1476$$ = Math.ceil($actDeltaY_clientY$$5_dtGridContainer$$inline_1476$$ / $minIncrementSize$$) * $minIncrementSize$$;
  $resizedActivityInitHeight$$ + $actDeltaY_clientY$$5_dtGridContainer$$inline_1476$$ >= $minIncrementSize$$ && $topPos$$1$$ + $resizedActivityInitHeight$$ + $actDeltaY_clientY$$5_dtGridContainer$$inline_1476$$ <= $dGCRContainer$$1$$.offsetHeight ? ($midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$ = $resizedActivityInitHeight$$ + $actDeltaY_clientY$$5_dtGridContainer$$inline_1476$$, $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.style.height = $midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$ + 
  "px", $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.$_newHeight$ = $midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$) : $topPos$$1$$ + $resizedActivityInitHeight$$ + $actDeltaY_clientY$$5_dtGridContainer$$inline_1476$$ > $dGCRContainer$$1$$.offsetHeight && ($midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$ = null != $AdfAgent$$.$AGENT$.getAttribute($midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_DURATION_KEY$) ? 
  $resizedActivityInitHeight$$ + $actDeltaY_clientY$$5_dtGridContainer$$inline_1476$$ : $dGCRContainer$$1$$.offsetHeight - $topPos$$1$$ - 2, $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.style.height = $midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$ + "px", $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.$_newHeight$ = $midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$);
};
$JSCompiler_prototypeAlias$$.$_handleAlldayActivityResizeDrag$ = function $$JSCompiler_prototypeAlias$$$$_handleAlldayActivityResizeDrag$$($agent$$203_eventY_evt$$81$$) {
  var $prevRow$$2_resizedActivity$$4$$ = this.$_resizedActivity$, $alldayContainer$$1_newResizeWidth$$ = this.$_alldayContainer$, $dayWidth$$2$$ = this.$_dayWidth$, $activityEndPadding$$2$$ = this.$_activityEndPadding$, $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ = this.$_maxX$, $activityClone$$2_minX$$ = this.$_minX$, $activityX$$2_prevId$$1$$ = this.$_activityX$, $isRTL$$19$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$(), $clonedActivityStyles$$1_ids$$5_newWidth$$8$$ = 0, 
  $clientX$$6$$ = $agent$$203_eventY_evt$$81$$.clientX;
  $isRTL$$19$$ ? ($clientX$$6$$ < $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ ? $clientX$$6$$ = $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ : $clientX$$6$$ > $activityClone$$2_minX$$ && ($clientX$$6$$ = $activityClone$$2_minX$$), $clonedActivityStyles$$1_ids$$5_newWidth$$8$$ = $activityX$$2_prevId$$1$$ - $clientX$$6$$) : ($clientX$$6$$ > $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ ? $clientX$$6$$ = $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ : $clientX$$6$$ < 
  $activityClone$$2_minX$$ && ($clientX$$6$$ = $activityClone$$2_minX$$), $clonedActivityStyles$$1_ids$$5_newWidth$$8$$ = $clientX$$6$$ - $activityX$$2_prevId$$1$$);
  this.$_resizeNewX$ = $clientX$$6$$;
  $prevRow$$2_resizedActivity$$4$$.style.width = $clonedActivityStyles$$1_ids$$5_newWidth$$8$$ + "px";
  if ($initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ = this.$_initMonthRowTop$) {
    if ($agent$$203_eventY_evt$$81$$ = $agent$$203_eventY_evt$$81$$.clientY, $agent$$203_eventY_evt$$81$$ > $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ + this.$_monthRowHeight$) {
      if ($initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ = $AdfDomUtils$$.$getNextElement$($alldayContainer$$1_newResizeWidth$$)) {
        this.$_deltaWeeks$ += 1;
        $agent$$203_eventY_evt$$81$$ = $AdfAgent$$.$AGENT$;
        var $activityClone$$2_minX$$ = $prevRow$$2_resizedActivity$$4$$.cloneNode(!0), $clonedActivityStyles$$1_ids$$5_newWidth$$8$$ = $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($prevRow$$2_resizedActivity$$4$$), $suffix$$2$$ = $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.$suffix$;
        $suffix$$2$$ || ($suffix$$2$$ = 0);
        52 == $suffix$$2$$ ? $suffix$$2$$ = 1 : $suffix$$2$$++;
        $activityClone$$2_minX$$.id = $JSCompiler_StaticMethods__getClientActivityId$$(this, $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.$providerId$, $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.$activityId$, $suffix$$2$$);
        $agent$$203_eventY_evt$$81$$.$copyStyle$($prevRow$$2_resizedActivity$$4$$, $activityClone$$2_minX$$);
        $clonedActivityStyles$$1_ids$$5_newWidth$$8$$ = $activityClone$$2_minX$$.style;
        $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.zIndex = ++this.$_nextZIndex$;
        $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$.appendChild($activityClone$$2_minX$$);
        $agent$$203_eventY_evt$$81$$.$elementsAdded$($initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$);
        $isRTL$$19$$ ? ($alldayContainer$$1_newResizeWidth$$ = $activityX$$2_prevId$$1$$ - this.$_alldayContainerX$ + $activityEndPadding$$2$$, $prevRow$$2_resizedActivity$$4$$.style.width = $alldayContainer$$1_newResizeWidth$$ + "px", $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.right = ".25%", $activityX$$2_prevId$$1$$ = $JSCompiler_StaticMethods__getActivityX$$($activityClone$$2_minX$$, $isRTL$$19$$), $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.width = $activityX$$2_prevId$$1$$ - $clientX$$6$$ + 
        "px") : ($clonedActivityStyles$$1_ids$$5_newWidth$$8$$.left = ".25%", $activityX$$2_prevId$$1$$ = $JSCompiler_StaticMethods__getActivityX$$($activityClone$$2_minX$$, $isRTL$$19$$), $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.width = $clientX$$6$$ - $activityX$$2_prevId$$1$$ + "px", $alldayContainer$$1_newResizeWidth$$ = $alldayContainer$$1_newResizeWidth$$.clientWidth - $prevRow$$2_resizedActivity$$4$$.offsetLeft - $activityEndPadding$$2$$, $prevRow$$2_resizedActivity$$4$$.style.width = 
        $alldayContainer$$1_newResizeWidth$$ + "px");
        this.$_minX$ = $isRTL$$19$$ ? $activityX$$2_prevId$$1$$ - $dayWidth$$2$$ + $activityEndPadding$$2$$ : $activityX$$2_prevId$$1$$ + $dayWidth$$2$$ - $activityEndPadding$$2$$;
        this.$_activityX$ = $activityX$$2_prevId$$1$$;
        this.$_alldayContainer$ = $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$;
        this.$_resizedActivity$ = $activityClone$$2_minX$$;
        this.$_initMonthRowTop$ = $agent$$203_eventY_evt$$81$$.$getElementTop$($initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$);
      }
    } else {
      $agent$$203_eventY_evt$$81$$ < $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ && ($agent$$203_eventY_evt$$81$$ = $AdfAgent$$.$AGENT$, $clonedActivityStyles$$1_ids$$5_newWidth$$8$$ = $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($prevRow$$2_resizedActivity$$4$$), $suffix$$2$$ = $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.$suffix$, null != $suffix$$2$$ && ($suffix$$2$$--, $activityX$$2_prevId$$1$$ = $JSCompiler_StaticMethods__getClientActivityId$$(this, $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.$providerId$, 
      $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.$activityId$, $suffix$$2$$), $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ = $agent$$203_eventY_evt$$81$$.getElementById($activityX$$2_prevId$$1$$), $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ || 0 != $suffix$$2$$ || ($activityX$$2_prevId$$1$$ = $JSCompiler_StaticMethods__getClientActivityId$$(this, $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.$providerId$, $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.$activityId$, null), $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ = 
      $agent$$203_eventY_evt$$81$$.getElementById($activityX$$2_prevId$$1$$), $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ || ($activityX$$2_prevId$$1$$ = $JSCompiler_StaticMethods__getClientActivityId$$(this, $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.$providerId$, $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.$activityId$, 52), $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ = $agent$$203_eventY_evt$$81$$.getElementById($activityX$$2_prevId$$1$$))), $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ && 
      $AdfDomUtils$$.$isVisible$($initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$) && (--this.$_deltaWeeks$, $activityX$$2_prevId$$1$$ = $JSCompiler_StaticMethods__getActivityX$$($initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$, $isRTL$$19$$), this.$_minX$ = $isRTL$$19$$ ? $activityX$$2_prevId$$1$$ - $dayWidth$$2$$ + $activityEndPadding$$2$$ : $activityX$$2_prevId$$1$$ + $dayWidth$$2$$ - $activityEndPadding$$2$$, $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$.width = ($isRTL$$19$$ ? 
      $activityX$$2_prevId$$1$$ - $clientX$$6$$ : $clientX$$6$$ - $activityX$$2_prevId$$1$$) + "px", $alldayContainer$$1_newResizeWidth$$.removeChild($prevRow$$2_resizedActivity$$4$$), $prevRow$$2_resizedActivity$$4$$ = $AdfDomUtils$$.$getPreviousElement$($alldayContainer$$1_newResizeWidth$$), this.$_activityX$ = $activityX$$2_prevId$$1$$, this.$_alldayContainer$ = $prevRow$$2_resizedActivity$$4$$, this.$_resizedActivity$ = $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$, this.$_initMonthRowTop$ = 
      $agent$$203_eventY_evt$$81$$.$getElementTop$($prevRow$$2_resizedActivity$$4$$))));
    }
  }
};
function $JSCompiler_StaticMethods__getDateTimeGridContainer$$($JSCompiler_StaticMethods__getDateTimeGridContainer$self_clientId$$149_scrollSubId$$2$$) {
  $JSCompiler_StaticMethods__getDateTimeGridContainer$self_clientId$$149_scrollSubId$$2$$ = $JSCompiler_StaticMethods__getDateTimeGridContainer$self_clientId$$149_scrollSubId$$2$$.$getComponent$().$getClientId$();
  $JSCompiler_StaticMethods__getDateTimeGridContainer$self_clientId$$149_scrollSubId$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($JSCompiler_StaticMethods__getDateTimeGridContainer$self_clientId$$149_scrollSubId$$2$$, $AdfDhtmlCalendarPeer$$.$_SCROLL_DAY_KEY$);
  return $AdfAgent$$.$AGENT$.getElementById($JSCompiler_StaticMethods__getDateTimeGridContainer$self_clientId$$149_scrollSubId$$2$$);
}
$JSCompiler_prototypeAlias$$.$_handleTimeActivityResizeDrop$ = function $$JSCompiler_prototypeAlias$$$$_handleTimeActivityResizeDrop$$($evt$$83$$) {
  var $agent$$205$$ = $AdfAgent$$.$AGENT$, $resizedActivity$$5$$ = this.$_resizedActivity$, $deltaHour$$ = 0, $deltaMin_timeSlotDelta$$ = 0, $resizedActivityContainer$$2$$ = this.$_resizedActivityContainer$, $newHeightInEM_newHeightInPx$$ = $resizedActivityContainer$$2$$.$_newHeight$, $deltaMin_timeSlotDelta$$ = ($newHeightInEM_newHeightInPx$$ - this.$_resizedActivityInitHeight$) / this.$_minIncrementSize$, $timeSlotsPerHour$$3$$ = $JSCompiler_StaticMethods__getTimeSlotsPerHour$$(this), $deltaHour$$ = 
  0 < $deltaMin_timeSlotDelta$$ ? Math.floor($deltaMin_timeSlotDelta$$ / $timeSlotsPerHour$$3$$) : Math.ceil($deltaMin_timeSlotDelta$$ / $timeSlotsPerHour$$3$$), $minutesPerTimeSlot$$2$$ = 60 / $timeSlotsPerHour$$3$$, $deltaMin_timeSlotDelta$$ = Math.round($deltaMin_timeSlotDelta$$ % $timeSlotsPerHour$$3$$ * $minutesPerTimeSlot$$2$$), $newHeightInEM_newHeightInPx$$ = $newHeightInEM_newHeightInPx$$ * this.$_EMToPxRatio$;
  if ($JSCompiler_StaticMethods__isActivityDraggableAcrossDays$$(this, $resizedActivity$$5$$) && !(0 > this.$_deltaDays$)) {
    if (0 == this.$_deltaDays$) {
      $resizedActivity$$5$$.style.width = this.$_resizedActivityInitWidth$ + "px";
    } else {
      for (var $deltaHour$$ = $deltaHour$$ + 24 * (this.$_deltaDays$ - 1), $activity$$11_timeActCell$$ = $resizedActivity$$5$$.parentNode.parentNode;0 < this.$_deltaDays$;) {
        $activity$$11_timeActCell$$ = $AdfDomUtils$$.$getPreviousElement$($activity$$11_timeActCell$$), null != $activity$$11_timeActCell$$ && null != $AdfAgent$$.$AGENT$.getAttribute($activity$$11_timeActCell$$, "arc") && this.$_deltaDays$--;
      }
      if (null != $activity$$11_timeActCell$$) {
        for (var $baseIds_firstDayTimeSlotDelta$$ = $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($resizedActivity$$5$$), $activity$$11_timeActCell$$ = $activity$$11_timeActCell$$.firstChild.firstChild;null != $activity$$11_timeActCell$$;) {
          var $actIds$$ = $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($activity$$11_timeActCell$$);
          if ($actIds$$.$providerId$ == $baseIds_firstDayTimeSlotDelta$$.$providerId$ && $actIds$$.$activityId$ == $baseIds_firstDayTimeSlotDelta$$.$activityId$) {
            $baseIds_firstDayTimeSlotDelta$$ = ($activity$$11_timeActCell$$.firstChild.firstChild.$_newHeight$ - $activity$$11_timeActCell$$.firstChild.firstChild.$_initHeight$) / this.$_minIncrementSize$;
            $deltaHour$$ += 0 < $baseIds_firstDayTimeSlotDelta$$ ? Math.floor($baseIds_firstDayTimeSlotDelta$$ / $timeSlotsPerHour$$3$$) : Math.ceil($baseIds_firstDayTimeSlotDelta$$ / $timeSlotsPerHour$$3$$);
            $deltaMin_timeSlotDelta$$ += Math.round($baseIds_firstDayTimeSlotDelta$$ % $timeSlotsPerHour$$3$$ * $minutesPerTimeSlot$$2$$);
            break;
          }
          $activity$$11_timeActCell$$ = $AdfDomUtils$$.$getNextElement$($activity$$11_timeActCell$$);
        }
      }
    }
  }
  $resizedActivityContainer$$2$$.style.height = $newHeightInEM_newHeightInPx$$ + "em";
  $JSCompiler_StaticMethods__doActivityResizeCleanup$$(this);
  if (null != $agent$$205$$.getAttribute($resizedActivity$$5$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_DURATION_KEY$)) {
    var $dateString$$1$$ = $JSCompiler_StaticMethods__getDayCellAttrValue$$(this.$getDomElement$(), $resizedActivity$$5$$)
  }
  $JSCompiler_StaticMethods__queueCalendarActivityDurationChangeEvent$$(this, $resizedActivity$$5$$, $deltaHour$$, $deltaMin_timeSlotDelta$$, $dateString$$1$$);
  $agent$$205$$.$eatEvent$($evt$$83$$);
};
$JSCompiler_prototypeAlias$$.$_handleAlldayActivityResizeDrop$ = function $$JSCompiler_prototypeAlias$$$$_handleAlldayActivityResizeDrop$$($evt$$84$$) {
  var $agent$$206$$ = $AdfAgent$$.$AGENT$, $resizedActivity$$6$$ = this.$_resizedActivity$, $deltaHour$$1_deltaWeeks_endDay$$ = 0, $isRTL$$20$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$(), $dayWidth$$3_startDay$$ = this.$_dayWidth$, $deltaHour$$1_deltaWeeks_endDay$$ = Math.ceil((this.$_resizeNewX$ - this.$_alldayContainerX$) / $dayWidth$$3_startDay$$), $dayDelta_startX$$ = 0;
  $isRTL$$20$$ ? ($dayDelta_startX$$ = this.$_resizeStartX$ + $dayWidth$$3_startDay$$ / 2, $dayWidth$$3_startDay$$ = Math.ceil(($dayDelta_startX$$ - this.$_alldayContainerX$) / $dayWidth$$3_startDay$$), $dayDelta_startX$$ = $dayWidth$$3_startDay$$ - $deltaHour$$1_deltaWeeks_endDay$$) : ($dayDelta_startX$$ = this.$_resizeStartX$ - $dayWidth$$3_startDay$$ / 2, $dayWidth$$3_startDay$$ = Math.ceil(($dayDelta_startX$$ - this.$_alldayContainerX$) / $dayWidth$$3_startDay$$), $dayDelta_startX$$ = $deltaHour$$1_deltaWeeks_endDay$$ - 
  $dayWidth$$3_startDay$$);
  $deltaHour$$1_deltaWeeks_endDay$$ = 0;
  this.$_initMonthRowTop$ && ($deltaHour$$1_deltaWeeks_endDay$$ = this.$_deltaWeeks$);
  $deltaHour$$1_deltaWeeks_endDay$$ = 24 * $dayDelta_startX$$ + 168 * $deltaHour$$1_deltaWeeks_endDay$$;
  0 == $deltaHour$$1_deltaWeeks_endDay$$ && ($resizedActivity$$6$$.style.width = this.$_resizedActivityInitWidthInPercent$);
  $AdfDomUtils$$.$removeCSSClassName$($resizedActivity$$6$$, $AdfDhtmlCalendarPeer$$.$_DRAG_END_CLASS$);
  $JSCompiler_StaticMethods__doActivityResizeCleanup$$(this);
  $JSCompiler_StaticMethods__queueCalendarActivityDurationChangeEvent$$(this, $resizedActivity$$6$$, $deltaHour$$1_deltaWeeks_endDay$$, 0);
  $agent$$206$$.$eatEvent$($evt$$84$$);
};
function $JSCompiler_StaticMethods__queueCalendarActivityDurationChangeEvent$$($JSCompiler_StaticMethods__queueCalendarActivityDurationChangeEvent$self$$, $activityDom$$1_providerId$$18$$, $deltaHour$$2$$, $deltaMin$$2$$, $dateString$$2$$) {
  if (0 != $deltaHour$$2$$ || 0 != $deltaMin$$2$$) {
    $JSCompiler_StaticMethods__hideActivityHoverPopup$$($JSCompiler_StaticMethods__queueCalendarActivityDurationChangeEvent$self$$);
    var $activityId$$14_ids$$6$$ = $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($activityDom$$1_providerId$$18$$);
    $activityDom$$1_providerId$$18$$ = $activityId$$14_ids$$6$$.$providerId$;
    $activityId$$14_ids$$6$$ = $activityId$$14_ids$$6$$.$activityId$;
    $JSCompiler_StaticMethods__queueCalendarActivityDurationChangeEvent$self$$.$_currentActivityId$ = $activityId$$14_ids$$6$$;
    $AdfCalendarActivityDurationChangeEvent$$.$queue$($JSCompiler_StaticMethods__queueCalendarActivityDurationChangeEvent$self$$.$getComponent$(), $activityDom$$1_providerId$$18$$, $activityId$$14_ids$$6$$, $deltaHour$$2$$, $deltaMin$$2$$, $dateString$$2$$);
  }
}
$JSCompiler_prototypeAlias$$.$_handleTimeActivityResizeAbort$ = function $$JSCompiler_prototypeAlias$$$$_handleTimeActivityResizeAbort$$() {
  this.$_resizedActivityContainer$.style.height = this.$_resizedActivityInitHeightInEM$ + "em";
  $JSCompiler_StaticMethods__doActivityResizeCleanup$$(this);
};
$JSCompiler_prototypeAlias$$.$_handleAlldayActivityResizeAbort$ = function $$JSCompiler_prototypeAlias$$$$_handleAlldayActivityResizeAbort$$() {
  var $resizedActivity$$7$$ = this.$_resizedActivity$;
  $resizedActivity$$7$$.style.width = this.$_resizedActivityInitWidthInPercent$;
  $AdfDomUtils$$.$removeCSSClassName$($resizedActivity$$7$$, $AdfDhtmlCalendarPeer$$.$_DRAG_END_CLASS$);
  $JSCompiler_StaticMethods__doActivityResizeCleanup$$(this);
};
function $JSCompiler_StaticMethods__doActivityResizeCleanup$$($JSCompiler_StaticMethods__doActivityResizeCleanup$self$$) {
  $JSCompiler_StaticMethods__doActivityResizeCleanup$self$$.$_resizedActivity$ = null;
  $JSCompiler_StaticMethods__doActivityResizeCleanup$self$$.$_alldayContainer$ = null;
  $AdfAgent$$.$AGENT$.$enableUserSelect$($JSCompiler_StaticMethods__doActivityResizeCleanup$self$$.$getDomElement$());
  $AdfAssert$$.$assertDomElement$($JSCompiler_StaticMethods__doActivityResizeCleanup$self$$.$_activityResizeIndicator$);
  $JSCompiler_StaticMethods__doActivityResizeCleanup$self$$.$_activityResizeIndicator$.style.cursor = "";
  $JSCompiler_StaticMethods__doActivityResizeCleanup$self$$.$_activityResizeIndicator$ = null;
}
function $JSCompiler_StaticMethods__hideActivityHoverPopup$$($JSCompiler_StaticMethods__hideActivityHoverPopup$self$$) {
  $JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$$($JSCompiler_StaticMethods__hideActivityHoverPopup$self$$);
  var $activityHoverId$$2$$ = $AdfAgent$$.$AGENT$.getAttribute($JSCompiler_StaticMethods__hideActivityHoverPopup$self$$.$getDomElement$(), $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_HOVER$);
  $activityHoverId$$2$$ && $JSCompiler_StaticMethods__hideActivityHoverPopup$self$$.$getComponent$().$findComponent$($activityHoverId$$2$$).$hide$();
}
function $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($activityRootElement$$11_tokens$$18$$) {
  $activityRootElement$$11_tokens$$18$$ = $activityRootElement$$11_tokens$$18$$.id.split("::");
  var $providerId$$19$$ = "", $activityId$$15$$ = "", $suffix$$3$$ = "", $numTokens$$3$$ = $activityRootElement$$11_tokens$$18$$.length;
  3 <= $numTokens$$3$$ && ($providerId$$19$$ = $activityRootElement$$11_tokens$$18$$[1], $activityId$$15$$ = $activityRootElement$$11_tokens$$18$$[2], 3 < $numTokens$$3$$ && ($suffix$$3$$ = $activityRootElement$$11_tokens$$18$$[3]));
  return {$providerId$:$providerId$$19$$, $activityId$:$activityId$$15$$, $suffix$:$suffix$$3$$};
}
function $JSCompiler_StaticMethods__getComponentEventSource$$($JSCompiler_StaticMethods__getComponentEventSource$self$$, $componentEvent$$125$$) {
  var $calendar$$16$$ = $JSCompiler_StaticMethods__getComponentEventSource$self$$.$getComponent$(), $eventSource$$1$$ = $componentEvent$$125$$.getSource();
  return $eventSource$$1$$.$getClientId$() == $JSCompiler_StaticMethods__getComponentEventSource$self$$.$_splitterid$ ? $calendar$$16$$ : $eventSource$$1$$;
}
$AdfDhtmlCalendarPeer$$.$_initFlexListSizeBreakpoints$ = function $$AdfDhtmlCalendarPeer$$$$_initFlexListSizeBreakpoints$$() {
  var $laf$$59$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $small$$ = $laf$$59$$.$getSkinProperty$($AdfDhtmlCalendarPeer$$.$_CAL_SIZE_SM_SKIN_PROPERTY$);
  void 0 === $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_BREAKPOINTS$ && void 0 != $small$$ && ($AdfDhtmlCalendarPeer$$.$_CAL_SIZE_BREAKPOINTS$ = [], $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_BREAKPOINTS$[0] = $small$$, $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_BREAKPOINTS$[1] = $laf$$59$$.$getSkinProperty$($AdfDhtmlCalendarPeer$$.$_CAL_SIZE_MD_SKIN_PROPERTY$), $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_BREAKPOINTS$[2] = $laf$$59$$.$getSkinProperty$($AdfDhtmlCalendarPeer$$.$_CAL_SIZE_LG_SKIN_PROPERTY$));
};
$AdfDhtmlCalendarPeer$$.$_initProviderGroupingSizeBreakpoints$ = function $$AdfDhtmlCalendarPeer$$$$_initProviderGroupingSizeBreakpoints$$() {
  var $laf$$60$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $small$$1$$ = $laf$$60$$.$getSkinProperty$($AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_SM_SKIN_PROPERTY$);
  void 0 === $AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_BREAKPOINTS$ && void 0 != $small$$1$$ && ($AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_BREAKPOINTS$ = [], $AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_BREAKPOINTS$[0] = $small$$1$$, $AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_BREAKPOINTS$[1] = $laf$$60$$.$getSkinProperty$($AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_MD_SKIN_PROPERTY$), $AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_BREAKPOINTS$[2] = $laf$$60$$.$getSkinProperty$($AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_LG_SKIN_PROPERTY$));
};
$AdfDhtmlCalendarPeer$$.$_addViewSizeStyleClass$ = function $$AdfDhtmlCalendarPeer$$$$_addViewSizeStyleClass$$($domElement$$88$$, $className$$18$$) {
  var $currentStyleClasses$$ = $domElement$$88$$.className;
  if (-1 == $currentStyleClasses$$.indexOf($className$$18$$)) {
    var $index$$126$$ = $currentStyleClasses$$.indexOf($AdfDhtmlCalendarPeer$$.$_CAL_SIZE_STATE_PREFIX$);
    -1 != $index$$126$$ && $AdfDomUtils$$.$removeCSSClassName$($domElement$$88$$, $currentStyleClasses$$.substring($index$$126$$, $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_STATE_LENGTH$));
    $AdfDomUtils$$.$addCSSClassName$($domElement$$88$$, $className$$18$$);
  }
};
$AdfDhtmlCalendarPeer$$.$_adjustViewSizeState$ = function $$AdfDhtmlCalendarPeer$$$$_adjustViewSizeState$$($domElement$$89$$, $newWidth$$9$$) {
  if ($AdfDhtmlCalendarPeer$$.$_CAL_SIZE_BREAKPOINTS$) {
    var $className$$19$$ = $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_MD_STATE$;
    void 0 !== $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_BREAKPOINTS$ && ($newWidth$$9$$ < $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_BREAKPOINTS$[0] ? $className$$19$$ = $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_SM_STATE$ : $newWidth$$9$$ >= $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_BREAKPOINTS$[0] && $newWidth$$9$$ < $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_BREAKPOINTS$[1] ? $className$$19$$ = $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_MD_STATE$ : $newWidth$$9$$ >= $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_BREAKPOINTS$[1] && $newWidth$$9$$ < $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_BREAKPOINTS$[2] ? 
    $className$$19$$ = $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_LG_STATE$ : $newWidth$$9$$ >= $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_BREAKPOINTS$[2] && ($className$$19$$ = $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_XL_STATE$));
    $AdfDhtmlCalendarPeer$$.$_addViewSizeStyleClass$($domElement$$89$$, $className$$19$$);
  }
};
$AdfDhtmlCalendarPeer$$.$_adjustProviderGroupingViewSizeState$ = function $$AdfDhtmlCalendarPeer$$$$_adjustProviderGroupingViewSizeState$$($domElement$$90$$, $newWidth$$10$$) {
  var $className$$20$$ = $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_MD_STATE$;
  void 0 !== $AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_BREAKPOINTS$ && ($newWidth$$10$$ < $AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_BREAKPOINTS$[0] ? $className$$20$$ = $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_SM_STATE$ : $newWidth$$10$$ >= $AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_BREAKPOINTS$[0] && $newWidth$$10$$ < $AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_BREAKPOINTS$[1] ? $className$$20$$ = $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_MD_STATE$ : $newWidth$$10$$ >= $AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_BREAKPOINTS$[1] && 
  $newWidth$$10$$ < $AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_BREAKPOINTS$[2] ? $className$$20$$ = $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_LG_STATE$ : $newWidth$$10$$ >= $AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_BREAKPOINTS$[2] && ($className$$20$$ = $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_XL_STATE$));
  $AdfDhtmlCalendarPeer$$.$_addViewSizeStyleClass$($domElement$$90$$, $className$$20$$);
};
function $JSCompiler_StaticMethods__switchfocusAndMarkActiveDescendant$$($fromElement$$, $toElement$$, $componentEvent$$126$$, $retainOldActiveElement$$2$$) {
  $AdfAssert$$.$assertDomElement$($fromElement$$);
  $AdfAssert$$.$assertDomElement$($toElement$$);
  $AdfFocusUtils$$.$focusElement$($toElement$$);
  $fromElement$$.setAttribute("tabIndex", $retainOldActiveElement$$2$$ ? "0" : "-1");
  $toElement$$.setAttribute("tabIndex", "0");
  $componentEvent$$126$$ && ($componentEvent$$126$$.cancel(), $componentEvent$$126$$.$stopBubbling$());
}
;