function $AdfDhtmlChooseDateWallCalendarGridPanel$$() {
  $AdfDhtmlChooseDateWallCalendarGridPanel$$.$superclass$.constructor.call(this, "date");
}
$goog$exportSymbol$$("AdfDhtmlChooseDateWallCalendarGridPanel", $AdfDhtmlChooseDateWallCalendarGridPanel$$);
$AdfObject$$.$createSubclass$($AdfDhtmlChooseDateWallCalendarGridPanel$$, $AdfDhtmlChooseDateLayoutPanel$$);
$AdfDhtmlChooseDateLayoutPanel$$.$registerLayoutPanel$($AdfDhtmlChooseDateWallCalendarGridPanel$$);
$AdfDhtmlChooseDateWallCalendarGridPanel$$.prototype.$isVisible$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$$isVisible$$($component$$515$$, $rootDOMElement$$47$$) {
  $AdfAssert$$.$assertPrototype$($component$$515$$, AdfRichChooseDate);
  $AdfAssert$$.$assertDomElement$($rootDOMElement$$47$$);
  var $isVisible$$1$$ = !1;
  this.isEnabled($component$$515$$, $rootDOMElement$$47$$) && $AdfDhtmlChooseDateDOMQueries$$.$checkCurrentDisplayMode$($component$$515$$, $rootDOMElement$$47$$, $AdfDhtmlChooseDatePeer$$.$_DATE_AND_TIME_MODE$) && ($isVisible$$1$$ = null == $AdfDhtmlChooseDateDOMQueries$$.$getCurrentDisplaySubMode$($component$$515$$, $rootDOMElement$$47$$));
  return $isVisible$$1$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlChooseDateWallCalendarGridPanel.prototype.isVisible", {$isVisible$:$AdfDhtmlChooseDateWallCalendarGridPanel$$.prototype.$isVisible$});
$AdfDhtmlChooseDateWallCalendarGridPanel$$.prototype.$canProcessDomUIInputEvent$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$$canProcessDomUIInputEvent$$($component$$516$$, $componentEvent$$70$$) {
  $AdfAssert$$.$assertPrototype$($component$$516$$, AdfRichChooseDate);
  $AdfAssert$$.$assertPrototype$($componentEvent$$70$$, $AdfDomUIInputEvent$$);
  var $eventTargetNode$$4$$ = $componentEvent$$70$$.$getNativeEventTarget$();
  if ($eventTargetNode$$4$$) {
    var $agent$$88$$ = $AdfAgent$$.$AGENT$;
    if ($agent$$88$$.$getNodeName$($eventTargetNode$$4$$) == $AdfDhtmlChooseDateWallCalendarGridPanel$$.$_DATE_CELL_NODE_TYPE$) {
      var $panelRoot$$20$$ = this.$getPanelRootElement$($component$$516$$);
      if ($AdfDomUtils$$.$isAncestor$($panelRoot$$20$$, $eventTargetNode$$4$$)) {
        return $agent$$88$$.getAttribute($eventTargetNode$$4$$, $AdfDhtmlChooseDatePeer$$.$_DAY_ID_ATTR_NAME$) != $AdfDhtmlChooseDatePeer$$.$_BLANK_CELL_ID$;
      }
    }
  }
  return !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlChooseDateWallCalendarGridPanel.prototype.canProcessDomUIInputEvent", {$canProcessDomUIInputEvent$:$AdfDhtmlChooseDateWallCalendarGridPanel$$.prototype.$canProcessDomUIInputEvent$});
$AdfDhtmlChooseDateWallCalendarGridPanel$$.prototype.$canProcessComponentEvent$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$$canProcessComponentEvent$$($component$$517$$, $componentEvent$$71$$) {
  $AdfAssert$$.$assertPrototype$($component$$517$$, AdfRichChooseDate);
  $AdfAssert$$.$assertPrototype$($componentEvent$$71$$, $AdfComponentEvent$$);
  return $componentEvent$$71$$ instanceof $AdfChooseDateYearSelectingEvent$$ || $componentEvent$$71$$ instanceof $AdfChooseDateYearSelectionEvent$$ || $componentEvent$$71$$ instanceof $AdfChooseDateMonthSelectingEvent$$ || $componentEvent$$71$$ instanceof $AdfChooseDateMonthSelectionEvent$$ || $componentEvent$$71$$ instanceof $AdfChooseDateSelectionsEvent$$ ? !0 : !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlChooseDateWallCalendarGridPanel.prototype.canProcessComponentEvent", {$canProcessComponentEvent$:$AdfDhtmlChooseDateWallCalendarGridPanel$$.prototype.$canProcessComponentEvent$});
$AdfDhtmlChooseDateWallCalendarGridPanel$$.prototype.$handleComponentClick$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$$handleComponentClick$$($component$$518$$, $componentEvent$$72$$) {
  $AdfAssert$$.$assertPrototype$($component$$518$$, AdfRichChooseDate);
  $AdfAssert$$.$assertPrototype$($componentEvent$$72$$, $AdfDomUIInputEvent$$);
  var $eventTarget$$20$$ = $componentEvent$$72$$.$getNativeEventTarget$(), $dateSelModifiers$$ = $AdfDhtmlChooseDateDOMQueries$$.$getInputModifiersEngaged$($componentEvent$$72$$), $panelRoot$$21$$ = this.$getPanelRootElement$($component$$518$$);
  return $AdfDhtmlChooseDateWallCalendarGridPanel$$.$_selectDateInGrid$($eventTarget$$20$$, $component$$518$$, $panelRoot$$21$$, $dateSelModifiers$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlChooseDateWallCalendarGridPanel.prototype.handleComponentClick", {$handleComponentClick$:$AdfDhtmlChooseDateWallCalendarGridPanel$$.prototype.$handleComponentClick$});
$AdfDhtmlChooseDateWallCalendarGridPanel$$.prototype.$handleComponentKeyDown$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$$handleComponentKeyDown$$($component$$519$$, $componentEvent$$73$$) {
  $AdfAssert$$.$assertPrototype$($component$$519$$, AdfRichChooseDate);
  $AdfAssert$$.$assertPrototype$($componentEvent$$73$$, $AdfDomUIInputEvent$$);
  var $eventTarget$$21$$ = $componentEvent$$73$$.$getNativeEventTarget$(), $dateSelModifiers$$1_keyCode$$22$$ = $AdfAgent$$.$AGENT$.$getKeyCode$($componentEvent$$73$$.$getNativeEvent$()), $panelRootElement$$19$$ = this.$getPanelRootElement$($component$$519$$);
  switch($dateSelModifiers$$1_keyCode$$22$$) {
    case $AdfKeyStroke$$.$ARROWUP_KEY$:
    ;
    case $AdfKeyStroke$$.$ARROWDOWN_KEY$:
    ;
    case $AdfKeyStroke$$.$ARROWRIGHT_KEY$:
    ;
    case $AdfKeyStroke$$.$ARROWLEFT_KEY$:
      return $AdfDhtmlChooseDateWallCalendarGridPanel$$.$_handleArrowKeyNavigation$($componentEvent$$73$$, $panelRootElement$$19$$);
    case $AdfKeyStroke$$.$SPACE_KEY$:
      return $dateSelModifiers$$1_keyCode$$22$$ = $AdfDhtmlChooseDateDOMQueries$$.$getInputModifiersEngaged$($componentEvent$$73$$), $AdfDhtmlChooseDateWallCalendarGridPanel$$.$_selectDateInGrid$($eventTarget$$21$$, $component$$519$$, $panelRootElement$$19$$, $dateSelModifiers$$1_keyCode$$22$$);
    case $AdfKeyStroke$$.$ENTER_KEY$:
      $dateSelModifiers$$1_keyCode$$22$$ = $AdfDhtmlChooseDateDOMQueries$$.$getInputModifiersEngaged$($componentEvent$$73$$), $AdfDhtmlChooseDateWallCalendarGridPanel$$.$_selectDateInGrid$($eventTarget$$21$$, $component$$519$$, $panelRootElement$$19$$, $dateSelModifiers$$1_keyCode$$22$$);
  }
  return !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlChooseDateWallCalendarGridPanel.prototype.handleComponentKeyDown", {$handleComponentKeyDown$:$AdfDhtmlChooseDateWallCalendarGridPanel$$.prototype.$handleComponentKeyDown$});
$AdfDhtmlChooseDateWallCalendarGridPanel$$.prototype.$handleComponentDateSelections$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$$handleComponentDateSelections$$($component$$522$$, $componentEvent$$76$$) {
  $AdfAssert$$.$assertPrototype$($component$$522$$, AdfRichChooseDate);
  $AdfAssert$$.$assertPrototype$($componentEvent$$76$$, $AdfChooseDateSelectionsEvent$$);
  var $firstDate_panelRoot$$22$$ = this.$getPanelRootElement$($component$$522$$);
  $AdfDhtmlChooseDateWallCalendarGridPanel$$.$_clearCurrentSelections$($firstDate_panelRoot$$22$$);
  if (0 == $componentEvent$$76$$.$getSelectedDates$().length) {
    return !0;
  }
  var $context$$35$$ = {lookup:$AdfDhtmlChooseDateWallCalendarGridPanel$$.$_convertDateListToDateMap$($componentEvent$$76$$.$getSelectedDates$()), component:$componentEvent$$76$$.getSource(), selectedDateToCellMap:{}};
  $AdfDomUtils$$.$getChildElementsByMatch$($firstDate_panelRoot$$22$$, $AdfDhtmlChooseDateWallCalendarGridPanel$$.$_dateCellSelector$, $AdfDhtmlChooseDateWallCalendarGridPanel$$.$_DATE_CELL_NODE_TYPE$, $context$$35$$);
  $componentEvent$$76$$.$shouldSelectTime$() && ($firstDate_panelRoot$$22$$ = new Date($componentEvent$$76$$.$getSelectedDates$()[0]), $firstDate_panelRoot$$22$$ = $AdfDhtmlChooseDateDOMQueries$$.$resetTime$($firstDate_panelRoot$$22$$, !1), null != $context$$35$$.selectedDateToCellMap[$firstDate_panelRoot$$22$$] && $AdfChooseDateTimeSelectionEvent$$.$queue$($component$$522$$, $componentEvent$$76$$.$getSelectedDates$()[0]));
  return !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlChooseDateWallCalendarGridPanel.prototype.handleComponentDateSelections", {$handleComponentDateSelections$:$AdfDhtmlChooseDateWallCalendarGridPanel$$.prototype.$handleComponentDateSelections$});
$AdfDhtmlChooseDateWallCalendarGridPanel$$.prototype.$render$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$$render$$($component$$523$$, $panelRootElement$$20$$) {
  $AdfAssert$$.$assertPrototype$($component$$523$$, AdfRichChooseDate);
  $AdfAssert$$.$assertDomElement$($panelRootElement$$20$$);
  var $lnf$$5$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $rootTDElem$$3$$ = 1 == $panelRootElement$$20$$.children.length ? $panelRootElement$$20$$.children[0] : $AdfDhtmlChooseDateDOMUtils$$.$createAndAppendElement$($AdfDhtmlChooseDateWallCalendarGridPanel$$.$_DATE_CELL_NODE_TYPE$, {"class":$lnf$$5$$.getStyleClass("af|chooseDate::calendar-grid-wrapper")}, $panelRootElement$$20$$);
  this.$_buildCalendarGrids$($component$$523$$, $lnf$$5$$, $rootTDElem$$3$$, !1);
  $AdfAgent$$.$AGENT$.$elementsAdded$($rootTDElem$$3$$);
  $AdfChooseDateLoadEvent$$.$queue$($component$$523$$);
  return [];
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlChooseDateWallCalendarGridPanel.prototype.render", {$render$:$AdfDhtmlChooseDateWallCalendarGridPanel$$.prototype.$render$});
$AdfDhtmlChooseDateWallCalendarGridPanel$$.$updatePanelVisibility$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$updatePanelVisibility$$($component$$524$$, $panel$$4$$) {
  $AdfAssert$$.$assertPrototype$($component$$524$$, AdfRichChooseDate);
  $AdfAssert$$.$assertPrototype$($panel$$4$$, $AdfDhtmlChooseDateWallCalendarGridPanel$$);
  var $cdRootElem$$66_style$$12$$ = $AdfDhtmlChooseDateDOMQueries$$.$getDOMElement$($component$$524$$), $cdRootElem$$66_style$$12$$ = $panel$$4$$.$isVisible$($component$$524$$, $cdRootElem$$66_style$$12$$) ? "" : "display: none;";
  $AdfAgent$$.$AGENT$.setAttribute($panel$$4$$.$getPanelRootElement$($component$$524$$), "Style", $cdRootElem$$66_style$$12$$);
};
$goog$exportSymbol$$("AdfDhtmlChooseDateWallCalendarGridPanel.updatePanelVisibility", $AdfDhtmlChooseDateWallCalendarGridPanel$$.$updatePanelVisibility$);
$AdfDhtmlChooseDateWallCalendarGridPanel$$.prototype.$getSubIdDomElement$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$$getSubIdDomElement$$($component$$525$$, $subElementId$$5$$) {
  $AdfAssert$$.$assertPrototype$($component$$525$$, AdfRichChooseDate);
  $AdfAssert$$.$assertString$($subElementId$$5$$);
  if ($subElementId$$5$$ == $AdfDhtmlChooseDatePeer$$.$_SELECTED_DATE_SUB_ID$) {
    return this.$_getCurrentSelection$($component$$525$$, !1);
  }
  if ($subElementId$$5$$ == $AdfDhtmlChooseDatePeer$$.$_SELECTED_DATE_NEXT_SIBLING_SUB_ID$) {
    var $JSCompiler_temp$$35_JSCompiler_temp$$36_dateToBeSelected$$inline_709_selDayCurr$$ = this.$_getCurrentSelection$($component$$525$$, !1);
    return $AdfDomUtils$$.$getNextElement$($JSCompiler_temp$$35_JSCompiler_temp$$36_dateToBeSelected$$inline_709_selDayCurr$$);
  }
  if ($subElementId$$5$$ == $AdfDhtmlChooseDatePeer$$.$_SELECTED_DATE_PREV_SIBLING_SUB_ID$) {
    return $JSCompiler_temp$$35_JSCompiler_temp$$36_dateToBeSelected$$inline_709_selDayCurr$$ = this.$_getCurrentSelection$($component$$525$$, !1), $AdfDomUtils$$.$getPreviousElement$($JSCompiler_temp$$35_JSCompiler_temp$$36_dateToBeSelected$$inline_709_selDayCurr$$);
  }
  $subElementId$$5$$ == $AdfDhtmlChooseDatePeer$$.$_FIRST_OF_MONTH_SUB_ID$ ? $JSCompiler_temp$$35_JSCompiler_temp$$36_dateToBeSelected$$inline_709_selDayCurr$$ = $AdfDhtmlChooseDateDOMQueries$$.$getFirstDayOfMonthElement$($component$$525$$) : $subElementId$$5$$.substring(0, 5) == $AdfDhtmlChooseDatePeer$$.$_DATE_SUB_ID$ + "[" && "]" == $subElementId$$5$$.substring($subElementId$$5$$.length - 1) && 14 == $subElementId$$5$$.length ? ($JSCompiler_temp$$35_JSCompiler_temp$$36_dateToBeSelected$$inline_709_selDayCurr$$ = 
  $subElementId$$5$$.substring(5, $subElementId$$5$$.length - 1), $JSCompiler_temp$$35_JSCompiler_temp$$36_dateToBeSelected$$inline_709_selDayCurr$$ = $AdfDhtmlChooseDateDOMQueries$$.$getDayCell$($component$$525$$, new Date(parseInt($JSCompiler_temp$$35_JSCompiler_temp$$36_dateToBeSelected$$inline_709_selDayCurr$$.substring(0, 4)), parseInt($JSCompiler_temp$$35_JSCompiler_temp$$36_dateToBeSelected$$inline_709_selDayCurr$$.substring(4, 6)) - 1, parseInt($JSCompiler_temp$$35_JSCompiler_temp$$36_dateToBeSelected$$inline_709_selDayCurr$$.substring(6, 
  8)), 0, 0, 0, 0))) : $JSCompiler_temp$$35_JSCompiler_temp$$36_dateToBeSelected$$inline_709_selDayCurr$$ = $subElementId$$5$$ == $AdfDhtmlChooseDatePeer$$.$_GRID_SUB_ID$ ? $AdfSubIdUtils$$.$getSubIdElementById$($component$$525$$, $AdfDhtmlChooseDatePeer$$.$_CAL_GRID_ID$) : null;
  return $JSCompiler_temp$$35_JSCompiler_temp$$36_dateToBeSelected$$inline_709_selDayCurr$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlChooseDateWallCalendarGridPanel.prototype.getSubIdDomElement", {$getSubIdDomElement$:$AdfDhtmlChooseDateWallCalendarGridPanel$$.prototype.$getSubIdDomElement$});
$AdfDhtmlChooseDateWallCalendarGridPanel$$.prototype.$getBestMatchSubId$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$$getBestMatchSubId$$($component$$526$$, $domElement$$34$$) {
  $AdfAssert$$.$assertPrototype$($component$$526$$, AdfRichChooseDate);
  $AdfAssert$$.$assertDomElement$($domElement$$34$$);
  if ($AdfDhtmlChooseDateDOMQueries$$.$getCurrentSelectedDateElement$($component$$526$$) == $domElement$$34$$) {
    return $AdfDhtmlChooseDatePeer$$.$_SELECTED_DATE_SUB_ID$;
  }
  var $firstOfMonth$$ = $AdfDhtmlChooseDateDOMQueries$$.$getFirstDayOfMonthElement$($component$$526$$);
  return null != $firstOfMonth$$ && $firstOfMonth$$ == $domElement$$34$$ ? $AdfDhtmlChooseDatePeer$$.$_FIRST_OF_MONTH_SUB_ID$ : $AdfSubIdUtils$$.$getSubIdElementById$($component$$526$$, $AdfDhtmlChooseDatePeer$$.$_CAL_GRID_ID$) == $domElement$$34$$ ? $AdfDhtmlChooseDatePeer$$.$_GRID_SUB_ID$ : null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlChooseDateWallCalendarGridPanel.prototype.getBestMatchSubId", {$getBestMatchSubId$:$AdfDhtmlChooseDateWallCalendarGridPanel$$.prototype.$getBestMatchSubId$});
$AdfDhtmlChooseDateWallCalendarGridPanel$$.prototype.$_getCurrentSelection$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$$_getCurrentSelection$$($component$$527$$) {
  return $AdfDhtmlChooseDateDOMQueries$$.$getCurrentSelectedDateElement$($component$$527$$);
};
$AdfDhtmlChooseDateWallCalendarGridPanel$$.$_selectDateInGrid$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$_selectDateInGrid$$($eventTarget$$22_selectedDate$$12$$, $component$$530$$, $panelRoot$$23$$, $dateSelectionModifiers$$) {
  $AdfAssert$$.$assertDomElement$($eventTarget$$22_selectedDate$$12$$);
  $AdfAssert$$.$assertPrototype$($component$$530$$, AdfRichChooseDate);
  $AdfAssert$$.$assertDomElement$($panelRoot$$23$$);
  $AdfAssert$$.$assertArray$($dateSelectionModifiers$$);
  if ($AdfDomUtils$$.$containsCSSClassName$($eventTarget$$22_selectedDate$$12$$, $AdfDhtmlChooseDatePeer$$.$_DISABLED_STYLE_CLASS$)) {
    return !1;
  }
  $AdfDhtmlChooseDateWallCalendarGridPanel$$.$_clearCurrentSelections$($panelRoot$$23$$);
  $AdfDomUtils$$.$addCSSClassName$($eventTarget$$22_selectedDate$$12$$, $AdfDhtmlChooseDatePeer$$.$_SEL_DAY_CLASS$);
  ($eventTarget$$22_selectedDate$$12$$ = $AdfDhtmlChooseDateWallCalendarGridPanel$$.$_getDateFromEventTarget$($eventTarget$$22_selectedDate$$12$$, $component$$530$$)) && (new $AdfChooseDateSelectionEvent$$($component$$530$$, $eventTarget$$22_selectedDate$$12$$, $dateSelectionModifiers$$)).$queue$();
  return !0;
};
$AdfDhtmlChooseDateWallCalendarGridPanel$$.$_clearCurrentSelections$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$_clearCurrentSelections$$($dateCells_panelRoot$$24$$) {
  for (var $dateCellCount$$ = ($dateCells_panelRoot$$24$$ = $AdfDomUtils$$.$getChildElementsByMatch$($dateCells_panelRoot$$24$$, $AdfDhtmlChooseDateWallCalendarGridPanel$$.$_dateCellMatcher$, $AdfDhtmlChooseDateWallCalendarGridPanel$$.$_DATE_CELL_NODE_TYPE$, !0)) ? $dateCells_panelRoot$$24$$.length : 0, $i$$175$$ = 0;$i$$175$$ < $dateCellCount$$;$i$$175$$++) {
    $AdfDomUtils$$.$removeCSSClassName$($dateCells_panelRoot$$24$$[$i$$175$$], $AdfDhtmlChooseDatePeer$$.$_SEL_DAY_CLASS$);
  }
};
$AdfDhtmlChooseDateWallCalendarGridPanel$$.$_dateCellMatcher$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$_dateCellMatcher$$($elemToMatch$$, $matchSelectedDate$$) {
  $AdfAssert$$.$assertDomElement$($elemToMatch$$);
  if ("TD" != $AdfAgent$$.$AGENT$.$getNodeName$($elemToMatch$$)) {
    return !1;
  }
  var $attrValue$$14$$ = $AdfAgent$$.$AGENT$.getAttribute($elemToMatch$$, $AdfDhtmlChooseDatePeer$$.$_DAY_ID_ATTR_NAME$);
  return $attrValue$$14$$ == $AdfDhtmlChooseDatePeer$$.$_PREV_MONTH_ID$ || $attrValue$$14$$ == $AdfDhtmlChooseDatePeer$$.$_NEXT_MONTH_ID$ || $attrValue$$14$$ == $AdfDhtmlChooseDatePeer$$.$_CUR_MONTH_ID$ || $attrValue$$14$$ == $AdfDhtmlChooseDatePeer$$.$_BLANK_CELL_ID$ ? $matchSelectedDate$$ ? $AdfDomUtils$$.$containsCSSClassName$($elemToMatch$$, $AdfDhtmlChooseDatePeer$$.$_SEL_DAY_CLASS$) : !0 : !1;
};
$AdfDhtmlChooseDateWallCalendarGridPanel$$.$_getDateFromEventTarget$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$_getDateFromEventTarget$$($eventTarget$$23$$, $component$$532$$) {
  var $yyyyMmDd$$ = $AdfDhtmlChooseDateWallCalendarGridPanel$$.$_getYearMonthDateOfCell$($eventTarget$$23$$, $component$$532$$);
  if (!$yyyyMmDd$$) {
    return null;
  }
  var $cdRootElem$$67_selectedDate$$13$$ = $AdfDhtmlChooseDateDOMQueries$$.$getDOMElement$($component$$532$$), $cdRootElem$$67_selectedDate$$13$$ = $AdfDhtmlChooseDateDOMQueries$$.$getSelectedDateAndTime$($component$$532$$, $cdRootElem$$67_selectedDate$$13$$);
  return new Date($yyyyMmDd$$.yyyy, $yyyyMmDd$$.mm, $yyyyMmDd$$.dd, $cdRootElem$$67_selectedDate$$13$$.getHours(), $cdRootElem$$67_selectedDate$$13$$.getMinutes(), $cdRootElem$$67_selectedDate$$13$$.getSeconds(), $cdRootElem$$67_selectedDate$$13$$.getMilliseconds());
};
$AdfDhtmlChooseDateWallCalendarGridPanel$$.$_getYearMonthDateOfCell$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$_getYearMonthDateOfCell$$($dateCell$$, $component$$533$$) {
  $AdfAssert$$.$assertDomElement$($dateCell$$);
  $AdfAssert$$.$assertPrototype$($component$$533$$, AdfRichChooseDate);
  var $agent$$89_day$$ = $AdfAgent$$.$AGENT$, $dayIdAttrValue$$ = $agent$$89_day$$.getAttribute($dateCell$$, $AdfDhtmlChooseDatePeer$$.$_DAY_ID_ATTR_NAME$);
  if (!$dayIdAttrValue$$ || $dayIdAttrValue$$ == $AdfDhtmlChooseDatePeer$$.$_BLANK_CELL_ID$) {
    return null;
  }
  var $cdRootElem$$68$$ = $AdfDhtmlChooseDateDOMQueries$$.$getDOMElement$($component$$533$$), $parentMonthElement$$1_year$$19$$ = $AdfDhtmlChooseDateDOMUtils$$.$getParentTableElement$($cdRootElem$$68$$, $dateCell$$);
  $AdfAssert$$.$assertDomElement$($parentMonthElement$$1_year$$19$$);
  var $month$$18_yyyyMmSplits$$2$$ = $agent$$89_day$$.getAttribute($parentMonthElement$$1_year$$19$$, $AdfDhtmlChooseDatePeer$$.$_YYYY_MM$).split("-");
  $AdfAssert$$.assert(2 == $month$$18_yyyyMmSplits$$2$$.length);
  $parentMonthElement$$1_year$$19$$ = parseInt($month$$18_yyyyMmSplits$$2$$[0]);
  $month$$18_yyyyMmSplits$$2$$ = parseInt($month$$18_yyyyMmSplits$$2$$[1]);
  $agent$$89_day$$ = parseInt($agent$$89_day$$.$getTextContent$($dateCell$$));
  $parentMonthElement$$1_year$$19$$ = $AdfDhtmlChooseDateDOMQueries$$.$isThaiBuddhistCalendar$($component$$533$$, $cdRootElem$$68$$) ? $parentMonthElement$$1_year$$19$$ - $AdfDhtmlChooseDatePeer$$.$_THAI_BUDDHIST_YEAR_OFFSET$ : $parentMonthElement$$1_year$$19$$;
  $dayIdAttrValue$$ && ($dayIdAttrValue$$ == $AdfDhtmlChooseDatePeer$$.$_PREV_MONTH_ID$ ? ($month$$18_yyyyMmSplits$$2$$--, 0 > $month$$18_yyyyMmSplits$$2$$ && ($month$$18_yyyyMmSplits$$2$$ += 12, $parentMonthElement$$1_year$$19$$--)) : $dayIdAttrValue$$ == $AdfDhtmlChooseDatePeer$$.$_NEXT_MONTH_ID$ && ($month$$18_yyyyMmSplits$$2$$++, 11 < $month$$18_yyyyMmSplits$$2$$ && ($month$$18_yyyyMmSplits$$2$$ -= 12, $parentMonthElement$$1_year$$19$$++)));
  return {yyyy:$parentMonthElement$$1_year$$19$$, mm:$month$$18_yyyyMmSplits$$2$$, dd:$agent$$89_day$$};
};
$AdfDhtmlChooseDateWallCalendarGridPanel$$.$_dateCellSelector$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$_dateCellSelector$$($tdCell$$, $context$$36$$) {
  $AdfAssert$$.$assertDomElement$($tdCell$$);
  $AdfAssert$$.$assertObject$($context$$36$$);
  var $selectedDatesLookup$$ = $context$$36$$.lookup, $dateFromCell_yyyyMmDd$$1$$ = $AdfDhtmlChooseDateWallCalendarGridPanel$$.$_getYearMonthDateOfCell$($tdCell$$, $context$$36$$.component);
  if (!$dateFromCell_yyyyMmDd$$1$$) {
    return !1;
  }
  $dateFromCell_yyyyMmDd$$1$$ = new Date($dateFromCell_yyyyMmDd$$1$$.yyyy, $dateFromCell_yyyyMmDd$$1$$.mm, $dateFromCell_yyyyMmDd$$1$$.dd);
  return $selectedDatesLookup$$[$dateFromCell_yyyyMmDd$$1$$] ? ($AdfDomUtils$$.$addCSSClassName$($tdCell$$, $AdfDhtmlChooseDatePeer$$.$_SEL_DAY_CLASS$), $context$$36$$.selectedDateToCellMap[$dateFromCell_yyyyMmDd$$1$$] = $tdCell$$, !0) : !1;
};
$AdfDhtmlChooseDateWallCalendarGridPanel$$.$_convertDateListToDateMap$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$_convertDateListToDateMap$$($selectedDatesList$$) {
  $AdfAssert$$.$assertArray$($selectedDatesList$$);
  for (var $lookupMap$$ = {}, $i$$176$$ = 0;$i$$176$$ < $selectedDatesList$$.length;$i$$176$$++) {
    $lookupMap$$[$AdfDhtmlChooseDateDOMQueries$$.$resetTime$(new Date($selectedDatesList$$[$i$$176$$]), !1)] = !0;
  }
  return $lookupMap$$;
};
$AdfDhtmlChooseDateWallCalendarGridPanel$$.$_handleArrowKeyNavigation$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$_handleArrowKeyNavigation$$($componentEvent$$77$$, $panelRoot$$25$$) {
  var $evt$$58_keyCode$$23$$ = $componentEvent$$77$$.$getNativeEvent$(), $evt$$58_keyCode$$23$$ = $AdfAgent$$.$AGENT$.$getKeyCode$($evt$$58_keyCode$$23$$), $component$$535$$ = $componentEvent$$77$$.getSource(), $eventTarget$$24$$ = $componentEvent$$77$$.$getNativeEventTarget$(), $isRtl$$4$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$(), $nextElementToFocus$$3$$ = null;
  switch($evt$$58_keyCode$$23$$) {
    case $AdfKeyStroke$$.$ARROWUP_KEY$:
    ;
    case $AdfKeyStroke$$.$ARROWDOWN_KEY$:
      $nextElementToFocus$$3$$ = $AdfDhtmlChooseDateWallCalendarGridPanel$$.$_handleVerticalNavigation$($evt$$58_keyCode$$23$$, $eventTarget$$24$$);
      break;
    case $AdfKeyStroke$$.$ARROWRIGHT_KEY$:
      $nextElementToFocus$$3$$ = $isRtl$$4$$ ? $AdfDhtmlChooseDateWallCalendarGridPanel$$.$_handleLeftNavigation$($eventTarget$$24$$, $component$$535$$) : $AdfDhtmlChooseDateWallCalendarGridPanel$$.$_handleRightNavigation$($eventTarget$$24$$, $component$$535$$);
      break;
    case $AdfKeyStroke$$.$ARROWLEFT_KEY$:
      $nextElementToFocus$$3$$ = $isRtl$$4$$ ? $AdfDhtmlChooseDateWallCalendarGridPanel$$.$_handleRightNavigation$($eventTarget$$24$$, $component$$535$$) : $AdfDhtmlChooseDateWallCalendarGridPanel$$.$_handleLeftNavigation$($eventTarget$$24$$, $component$$535$$);
  }
  return $AdfDhtmlChooseDateWallCalendarGridPanel$$.$_focusDateCell$($eventTarget$$24$$, $nextElementToFocus$$3$$, $panelRoot$$25$$);
};
$AdfDhtmlChooseDateWallCalendarGridPanel$$.$_handleVerticalNavigation$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$_handleVerticalNavigation$$($keyCode$$24$$, $eventTarget$$25$$) {
  var $newRow$$1$$ = $keyCode$$24$$ == $AdfKeyStroke$$.$ARROWUP_KEY$ ? $AdfDomUtils$$.$getPreviousElement$($eventTarget$$25$$.parentNode) : $AdfDomUtils$$.$getNextElement$($eventTarget$$25$$.parentNode);
  if ($newRow$$1$$) {
    var $columnPosition$$1$$ = $AdfDomUtils$$.$getElementPosition$($eventTarget$$25$$);
    return $AdfDomUtils$$.$getChildElementByPosition$($newRow$$1$$, $eventTarget$$25$$.nodeType, $columnPosition$$1$$);
  }
  return null;
};
$AdfDhtmlChooseDateWallCalendarGridPanel$$.$_handleRightNavigation$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$_handleRightNavigation$$($eventTarget$$26$$, $component$$536$$) {
  var $nextElementToFocus$$4$$ = $AdfDomUtils$$.$getNextElement$($eventTarget$$26$$);
  if (!$nextElementToFocus$$4$$ && null != $eventTarget$$26$$.parentNode) {
    var $agent$$90_nextGrid$$2_nextRow$$1$$ = $AdfDomUtils$$.$getNextElement$($eventTarget$$26$$.parentNode);
    $agent$$90_nextGrid$$2_nextRow$$1$$ && ($nextElementToFocus$$4$$ = $AdfDomUtils$$.$getFirstChildElement$($agent$$90_nextGrid$$2_nextRow$$1$$));
  }
  $agent$$90_nextGrid$$2_nextRow$$1$$ = $AdfAgent$$.$AGENT$;
  if (!$nextElementToFocus$$4$$ || $agent$$90_nextGrid$$2_nextRow$$1$$.getAttribute($nextElementToFocus$$4$$, $AdfDhtmlChooseDatePeer$$.$_DAY_ID_ATTR_NAME$) == $AdfDhtmlChooseDatePeer$$.$_BLANK_CELL_ID$) {
    var $cdRootElem$$69_parentGrid$$3$$ = $AdfDhtmlChooseDateDOMQueries$$.$getDOMElement$($component$$536$$), $cdRootElem$$69_parentGrid$$3$$ = $AdfDhtmlChooseDateDOMUtils$$.$getParentTableElement$($cdRootElem$$69_parentGrid$$3$$, $eventTarget$$26$$);
    $AdfAssert$$.assert(null != $agent$$90_nextGrid$$2_nextRow$$1$$.getAttribute($cdRootElem$$69_parentGrid$$3$$, $AdfDhtmlChooseDatePeer$$.$_YYYY_MM$));
    ($agent$$90_nextGrid$$2_nextRow$$1$$ = $AdfDomUtils$$.$getNextElement$($cdRootElem$$69_parentGrid$$3$$)) && ($nextElementToFocus$$4$$ = $AdfDomUtils$$.$getFirstChildElementByAttributeValue$($agent$$90_nextGrid$$2_nextRow$$1$$, $AdfDhtmlChooseDatePeer$$.$_DAY_ID_ATTR_NAME$, $AdfDhtmlChooseDatePeer$$.$_CUR_MONTH_ID$, $AdfDhtmlChooseDateWallCalendarGridPanel$$.$_DATE_CELL_NODE_TYPE$));
  }
  return $nextElementToFocus$$4$$;
};
$AdfDhtmlChooseDateWallCalendarGridPanel$$.$_handleLeftNavigation$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$_handleLeftNavigation$$($eventTarget$$27$$, $component$$537$$) {
  var $nextElementToFocus$$5$$ = $AdfDomUtils$$.$getPreviousElement$($eventTarget$$27$$);
  if (!$nextElementToFocus$$5$$ && null != $eventTarget$$27$$.parentNode) {
    var $agent$$91_prevGrid_prevRow$$1$$ = $AdfDomUtils$$.$getPreviousElement$($eventTarget$$27$$.parentNode);
    $agent$$91_prevGrid_prevRow$$1$$ && ($nextElementToFocus$$5$$ = $AdfDomUtils$$.$getLastChildElement$($agent$$91_prevGrid_prevRow$$1$$));
  }
  $agent$$91_prevGrid_prevRow$$1$$ = $AdfAgent$$.$AGENT$;
  if (!$nextElementToFocus$$5$$ || "TH" == $agent$$91_prevGrid_prevRow$$1$$.$getNodeName$($nextElementToFocus$$5$$) || $agent$$91_prevGrid_prevRow$$1$$.getAttribute($nextElementToFocus$$5$$, $AdfDhtmlChooseDatePeer$$.$_DAY_ID_ATTR_NAME$) == $AdfDhtmlChooseDatePeer$$.$_BLANK_CELL_ID$) {
    var $cdRootElem$$70_parentGrid$$4$$ = $AdfDhtmlChooseDateDOMQueries$$.$getDOMElement$($component$$537$$), $cdRootElem$$70_parentGrid$$4$$ = $AdfDhtmlChooseDateDOMUtils$$.$getParentTableElement$($cdRootElem$$70_parentGrid$$4$$, $eventTarget$$27$$);
    $AdfAssert$$.assert(null != $agent$$91_prevGrid_prevRow$$1$$.getAttribute($cdRootElem$$70_parentGrid$$4$$, $AdfDhtmlChooseDatePeer$$.$_YYYY_MM$));
    ($agent$$91_prevGrid_prevRow$$1$$ = $AdfDomUtils$$.$getPreviousElement$($cdRootElem$$70_parentGrid$$4$$)) && ($nextElementToFocus$$5$$ = $AdfDomUtils$$.$getLastChildElementByAttributeValue$($agent$$91_prevGrid_prevRow$$1$$, $AdfDhtmlChooseDatePeer$$.$_DAY_ID_ATTR_NAME$, $AdfDhtmlChooseDatePeer$$.$_CUR_MONTH_ID$, $AdfDhtmlChooseDateWallCalendarGridPanel$$.$_DATE_CELL_NODE_TYPE$));
  }
  return $nextElementToFocus$$5$$;
};
$AdfDhtmlChooseDateWallCalendarGridPanel$$.$_focusDateCell$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$_focusDateCell$$($dateCellWithFocus$$, $dateCellToFocus$$, $dayIdVal_panelRoot$$26$$) {
  if ($dateCellToFocus$$ && $AdfDomUtils$$.$isAncestor$($dayIdVal_panelRoot$$26$$, $dateCellToFocus$$)) {
    $dayIdVal_panelRoot$$26$$ = $AdfAgent$$.$AGENT$.getAttribute($dateCellToFocus$$, $AdfDhtmlChooseDatePeer$$.$_DAY_ID_ATTR_NAME$);
    if (!$dayIdVal_panelRoot$$26$$ || $dayIdVal_panelRoot$$26$$ == $AdfDhtmlChooseDatePeer$$.$_BLANK_CELL_ID$) {
      return !0;
    }
    $dateCellWithFocus$$ && $dateCellWithFocus$$.setAttribute("tabIndex", "-1");
    $dateCellToFocus$$.setAttribute("tabIndex", "0");
    $AdfFocusUtils$$.$focusElement$($dateCellToFocus$$);
    return !0;
  }
  return !1;
};
$AdfDhtmlChooseDateWallCalendarGridPanel$$.prototype.$_buildCalendarGrids$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$$_buildCalendarGrids$$($component$$538$$, $laf$$34_monthsToDisplay$$4$$, $gridsContainer$$3$$, $animate$$1_printMonthAndYear$$6_rangeConfig$$3$$) {
  $animate$$1_printMonthAndYear$$6_rangeConfig$$3$$ || $AdfDhtmlChooseDateDOMUtils$$.$removeAllChildren$($gridsContainer$$3$$);
  $animate$$1_printMonthAndYear$$6_rangeConfig$$3$$ = $AdfDhtmlChooseDateDOMQueries$$.$getMonthDisplayRange$($component$$538$$);
  $laf$$34_monthsToDisplay$$4$$ = $animate$$1_printMonthAndYear$$6_rangeConfig$$3$$.months;
  $animate$$1_printMonthAndYear$$6_rangeConfig$$3$$ = $animate$$1_printMonthAndYear$$6_rangeConfig$$3$$.start;
  for (var $stepBack$$ = -1 * (Math.ceil($laf$$34_monthsToDisplay$$4$$ / 2) - 1), $i$$177$$ = 0;$i$$177$$ < $laf$$34_monthsToDisplay$$4$$;$i$$177$$++) {
    var $component$$inline_712_monthGridSubId$$1$$ = $AdfDhtmlChooseDatePeer$$.$_CAL_GRID_ID$ + (0 == $stepBack$$ ? "" : $stepBack$$), $localeSymbols$$inline_717_monthGridClientId$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$538$$.$getClientId$(), $component$$inline_712_monthGridSubId$$1$$), $component$$inline_712_monthGridSubId$$1$$ = $component$$538$$, $month$$inline_713$$ = $animate$$1_printMonthAndYear$$6_rangeConfig$$3$$.getMonth(), $year$$inline_714$$ = $animate$$1_printMonthAndYear$$6_rangeConfig$$3$$.getFullYear(), 
    $calendarDomTable$$inline_722_monthGridSubId$$inline_715$$ = $localeSymbols$$inline_717_monthGridClientId$$2$$, $cdRootElem$$inline_716_monthsToDisplay$$inline_721$$ = $AdfDhtmlChooseDateDOMQueries$$.$getDOMElement$($component$$inline_712_monthGridSubId$$1$$), $localeSymbols$$inline_717_monthGridClientId$$2$$ = $AdfDhtmlChooseDateDOMQueries$$.$getLocaleSymbols$($component$$inline_712_monthGridSubId$$1$$, $cdRootElem$$inline_716_monthsToDisplay$$inline_721$$), $calendarDomTableBody$$inline_723_summary$$inline_718$$ = 
    $localeSymbols$$inline_717_monthGridClientId$$2$$.getMonths().slice(0, 12)[$month$$inline_713$$] + " " + ($year$$inline_714$$ + ($AdfDhtmlChooseDateDOMQueries$$.$isThaiBuddhistCalendar$($component$$inline_712_monthGridSubId$$1$$, $cdRootElem$$inline_716_monthsToDisplay$$inline_721$$) ? $AdfDhtmlChooseDatePeer$$.$_THAI_BUDDHIST_YEAR_OFFSET$ : 0)), $monthClass$$inline_719_weekDayTypeProperty$$inline_724$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$().getStyleClass("af|chooseDate::calendar-grid"), $showDate$$inline_720$$ = 
    $AdfDhtmlChooseDateDOMQueries$$.$getRenderedMonthAndYear$($component$$inline_712_monthGridSubId$$1$$, $cdRootElem$$inline_716_monthsToDisplay$$inline_721$$), $cdRootElem$$inline_716_monthsToDisplay$$inline_721$$ = $AdfDhtmlChooseDateDOMQueries$$.$getMonthsToDisplay$($component$$inline_712_monthGridSubId$$1$$, $cdRootElem$$inline_716_monthsToDisplay$$inline_721$$);
    $year$$inline_714$$ == $showDate$$inline_720$$.getFullYear() && $month$$inline_713$$ == $showDate$$inline_720$$.getMonth() && 1 < $cdRootElem$$inline_716_monthsToDisplay$$inline_721$$ && ($monthClass$$inline_719_weekDayTypeProperty$$inline_724$$ += " " + $AdfDhtmlChooseDatePeer$$.$_SHOW_MONTH_STYLE_CLASS$);
    $calendarDomTable$$inline_722_monthGridSubId$$inline_715$$ = $AdfDhtmlChooseDateDOMUtils$$.$createElementWithAttributes$("table", {id:$calendarDomTable$$inline_722_monthGridSubId$$inline_715$$, "data-afr-yyyymm":$year$$inline_714$$ + "-" + $month$$inline_713$$, "class":$monthClass$$inline_719_weekDayTypeProperty$$inline_724$$, role:"grid", cellpadding:"0", cellspacing:"0", border:"0", width:"100%", "aria-label":$calendarDomTableBody$$inline_723_summary$$inline_718$$});
    $calendarDomTableBody$$inline_723_summary$$inline_718$$ = $AdfDhtmlChooseDateDOMUtils$$.$createAndAppendElement$("tbody", {}, $calendarDomTable$$inline_722_monthGridSubId$$inline_715$$);
    $monthClass$$inline_719_weekDayTypeProperty$$inline_724$$ = this.$GetWeekDayTypeProperty$();
    $calendarDomTableBody$$inline_723_summary$$inline_718$$.appendChild($AdfDhtmlChooseDateWallCalendarGridPanel$$.$_buildWallCalendarGridHeader$($component$$inline_712_monthGridSubId$$1$$, $localeSymbols$$inline_717_monthGridClientId$$2$$, $monthClass$$inline_719_weekDayTypeProperty$$inline_724$$));
    $AdfDhtmlChooseDateWallCalendarGridPanel$$.$_buildWallCalendarDateGrid$($component$$inline_712_monthGridSubId$$1$$, $calendarDomTableBody$$inline_723_summary$$inline_718$$, $month$$inline_713$$, $year$$inline_714$$);
    $gridsContainer$$3$$.appendChild($calendarDomTable$$inline_722_monthGridSubId$$inline_715$$);
    $animate$$1_printMonthAndYear$$6_rangeConfig$$3$$.setMonth($animate$$1_printMonthAndYear$$6_rangeConfig$$3$$.getMonth() + 1);
    $stepBack$$++;
  }
};
$AdfDhtmlChooseDateWallCalendarGridPanel$$.prototype.$GetWeekDayTypeProperty$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$$GetWeekDayTypeProperty$$() {
  return "ShortWeekdays";
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlChooseDateWallCalendarGridPanel.prototype.GetWeekDayTypeProperty", {$GetWeekDayTypeProperty$:$AdfDhtmlChooseDateWallCalendarGridPanel$$.prototype.$GetWeekDayTypeProperty$});
$AdfDhtmlChooseDateWallCalendarGridPanel$$.$_buildWallCalendarGridHeader$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$_buildWallCalendarGridHeader$$($component$$540$$, $locSymbols$$, $weekDayTypeProperty$$1$$) {
  var $calendarGridHeaderRow$$ = $AdfDhtmlChooseDateDOMUtils$$.$createElementWithAttributes$("tr", {role:"row", "class":$AdfPage$$.$PAGE$.$getLookAndFeel$().getStyleClass("af|chooseDate::week-header-row")});
  $AdfDhtmlChooseDateWallCalendarGridPanel$$.$_fillWallCalendarGridWeekLabels$($component$$540$$, $calendarGridHeaderRow$$, $locSymbols$$, $weekDayTypeProperty$$1$$);
  return $calendarGridHeaderRow$$;
};
$AdfDhtmlChooseDateWallCalendarGridPanel$$.$_fillWallCalendarGridWeekLabels$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$_fillWallCalendarGridWeekLabels$$($component$$541_firstDay$$, $calendarGridHeaderRow$$1$$, $locSymbols$$1$$, $weekDayTypeProperty$$2$$) {
  var $cdRootElem$$72_laf$$35$$ = $AdfDhtmlChooseDateDOMQueries$$.$getDOMElement$($component$$541_firstDay$$);
  $component$$541_firstDay$$ = $AdfDhtmlChooseDateDOMQueries$$.$getFirstDayOfTheWeek$($component$$541_firstDay$$, $cdRootElem$$72_laf$$35$$);
  for (var $cdRootElem$$72_laf$$35$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $dow$$ = 0;7 > $dow$$;$dow$$++) {
    var $weekLabelCell$$ = $AdfDhtmlChooseDateWallCalendarGridPanel$$.$_buildWeekLabelCell$(($component$$541_firstDay$$ + $dow$$) % 7, $cdRootElem$$72_laf$$35$$, $locSymbols$$1$$, $weekDayTypeProperty$$2$$);
    $calendarGridHeaderRow$$1$$.appendChild($weekLabelCell$$);
  }
};
$AdfDhtmlChooseDateWallCalendarGridPanel$$.$_buildWeekLabelCell$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$_buildWeekLabelCell$$($day$$2$$, $laf$$36_th$$, $localeSymbols$$4$$, $weekDayTypeProperty$$3$$) {
  $laf$$36_th$$ = $AdfDhtmlChooseDateDOMUtils$$.$createElementWithAttributes$("th", {"class":$laf$$36_th$$.getStyleClass("af|chooseDate::week-header-cell"), role:"columnheader", scope:"col", "aria-label":$localeSymbols$$4$$.$getWeekdays$()[$day$$2$$]});
  $laf$$36_th$$.textContent = $localeSymbols$$4$$["get" + $weekDayTypeProperty$$3$$]()[$day$$2$$];
  return $laf$$36_th$$;
};
$AdfDhtmlChooseDateWallCalendarGridPanel$$.$_buildWallCalendarDateGrid$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$_buildWallCalendarDateGrid$$($component$$542$$, $tBody$$, $gridWeek_month$$20$$, $displayConfig_rowStyleClass_year$$21$$) {
  var $cdRootElem$$73$$ = $AdfDhtmlChooseDateDOMQueries$$.$getDOMElement$($component$$542$$), $laf$$37$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $dateToBeSelected$$2$$ = $AdfDhtmlChooseDateDOMQueries$$.$getSelectedDateAndTime$($component$$542$$, $cdRootElem$$73$$), $firstDayOfMonth_numberOfWeeks$$ = (new Date($displayConfig_rowStyleClass_year$$21$$, $gridWeek_month$$20$$, 1)).getDay(), $firstDayOfTheWeek_leadDays_printDate$$ = $AdfDhtmlChooseDateDOMQueries$$.$getFirstDayOfTheWeek$($component$$542$$, 
  $cdRootElem$$73$$), $firstDayOfTheWeek_leadDays_printDate$$ = ($firstDayOfMonth_numberOfWeeks$$ - $firstDayOfTheWeek_leadDays_printDate$$ + 7) % 7, $firstDayOfMonth_numberOfWeeks$$ = Math.ceil(($firstDayOfTheWeek_leadDays_printDate$$ + (32 - (new Date($displayConfig_rowStyleClass_year$$21$$, $gridWeek_month$$20$$, 32)).getDate())) / 7), $firstDayOfTheWeek_leadDays_printDate$$ = new Date($displayConfig_rowStyleClass_year$$21$$, $gridWeek_month$$20$$, 1 - $firstDayOfTheWeek_leadDays_printDate$$, 
  0, 0, 0, 0), $displayMonthAndYear$$ = new Date($displayConfig_rowStyleClass_year$$21$$, $gridWeek_month$$20$$, 1, 0, 0, 0, 0), $endDate_tabIndex0Date$$ = $firstDayOfTheWeek_leadDays_printDate$$.getDate(), $tabIndex0Month$$ = $firstDayOfTheWeek_leadDays_printDate$$.getMonth();
  $dateToBeSelected$$2$$.getFullYear() == $displayConfig_rowStyleClass_year$$21$$ && $dateToBeSelected$$2$$.getMonth() == $gridWeek_month$$20$$ ? ($endDate_tabIndex0Date$$ = $dateToBeSelected$$2$$.getDate(), $tabIndex0Month$$ = $dateToBeSelected$$2$$.getMonth()) : 1 < $AdfDhtmlChooseDateDOMQueries$$.$getMonthsToDisplay$($component$$542$$, $cdRootElem$$73$$) && ($displayConfig_rowStyleClass_year$$21$$ = $AdfDhtmlChooseDateDOMQueries$$.$getMonthDisplayRange$($component$$542$$), $endDate_tabIndex0Date$$ = 
  $displayConfig_rowStyleClass_year$$21$$.end, $dateToBeSelected$$2$$ < $displayConfig_rowStyleClass_year$$21$$.start || $dateToBeSelected$$2$$ > $endDate_tabIndex0Date$$ ? ($endDate_tabIndex0Date$$ = 1, $tabIndex0Month$$ = $gridWeek_month$$20$$) : $tabIndex0Month$$ = $endDate_tabIndex0Date$$ = -1);
  for ($gridWeek_month$$20$$ = 0;$gridWeek_month$$20$$ < $firstDayOfMonth_numberOfWeeks$$;$gridWeek_month$$20$$++) {
    $displayConfig_rowStyleClass_year$$21$$ = $laf$$37$$.getStyleClass("af|chooseDate::days-row"), $displayConfig_rowStyleClass_year$$21$$ += 0 == $gridWeek_month$$20$$ ? " p_AFFirst" : "", $displayConfig_rowStyleClass_year$$21$$ += $gridWeek_month$$20$$ == $firstDayOfMonth_numberOfWeeks$$ - 1 ? " p_AFLast" : "", $tBody$$.appendChild($AdfDhtmlChooseDateWallCalendarGridPanel$$.$_buildCalendarGridRow$($component$$542$$, $laf$$37$$, $cdRootElem$$73$$, $displayConfig_rowStyleClass_year$$21$$, $firstDayOfTheWeek_leadDays_printDate$$, 
    $displayMonthAndYear$$, $endDate_tabIndex0Date$$, $tabIndex0Month$$, $dateToBeSelected$$2$$));
  }
};
$AdfDhtmlChooseDateWallCalendarGridPanel$$.$_buildCalendarGridRow$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$_buildCalendarGridRow$$($component$$543$$, $laf$$38$$, $cdRootElem$$74$$, $calendarGridRow_rowStyleClass$$1$$, $printDate$$1$$, $displayMonthAndYear$$1$$, $tabIndex0Date$$1$$, $tabIndex0Month$$1$$, $dateToBeSelected$$3$$) {
  $calendarGridRow_rowStyleClass$$1$$ = $AdfDhtmlChooseDateDOMUtils$$.$createElementWithAttributes$("tr", {role:"row", "class":$calendarGridRow_rowStyleClass$$1$$});
  for (var $dow$$1$$ = 0;7 > $dow$$1$$;$dow$$1$$++) {
    $calendarGridRow_rowStyleClass$$1$$.appendChild($AdfDhtmlChooseDateWallCalendarGridPanel$$.$_buildCalendarGridDateCell$($component$$543$$, $laf$$38$$, $cdRootElem$$74$$, $printDate$$1$$, $displayMonthAndYear$$1$$, $tabIndex0Date$$1$$, $tabIndex0Month$$1$$, $dateToBeSelected$$3$$)), $printDate$$1$$.setDate($printDate$$1$$.getDate() + 1);
  }
  return $calendarGridRow_rowStyleClass$$1$$;
};
$AdfDhtmlChooseDateWallCalendarGridPanel$$.$_buildCalendarGridDateCell$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$_buildCalendarGridDateCell$$($component$$544_prevMonth$$1_showDateFromAdjacentMonths$$, $dayStyle_laf$$39$$, $cdRootElem$$75$$, $printDate$$2$$, $displayMonthAndYear$$2_nextMonth$$1$$, $dayColumn_tabIndex0Date$$2$$, $isDateFromDisplayMonth_tabIndex0Month$$2$$, $dateToBeSelected$$4$$) {
  var $today$$1$$ = $AdfDhtmlChooseDateDOMQueries$$.$getTodayDate$($component$$544_prevMonth$$1_showDateFromAdjacentMonths$$, $cdRootElem$$75$$), $isDateDisabled$$ = $AdfDhtmlChooseDateDOMQueries$$.$isDateDisabled$($component$$544_prevMonth$$1_showDateFromAdjacentMonths$$, $printDate$$2$$);
  $dayStyle_laf$$39$$ = $AdfDhtmlChooseDateWallCalendarGridPanel$$.$_getDayCellStyling$($component$$544_prevMonth$$1_showDateFromAdjacentMonths$$, $dayStyle_laf$$39$$, $printDate$$2$$, $displayMonthAndYear$$2_nextMonth$$1$$, $today$$1$$, $dateToBeSelected$$4$$, $isDateDisabled$$);
  $dayColumn_tabIndex0Date$$2$$ = $AdfDhtmlChooseDateDOMUtils$$.$createElementWithAttributes$($AdfDhtmlChooseDateWallCalendarGridPanel$$.$_DATE_CELL_NODE_TYPE$, {role:"gridcell", "aria-disabled":$isDateDisabled$$ ? !0 : void 0, tabindex:$printDate$$2$$.getDate() == $dayColumn_tabIndex0Date$$2$$ && $printDate$$2$$.getMonth() == $isDateFromDisplayMonth_tabIndex0Month$$2$$ ? 0 : -1, "class":$dayStyle_laf$$39$$});
  $isDateFromDisplayMonth_tabIndex0Month$$2$$ = $printDate$$2$$.getMonth() == $displayMonthAndYear$$2_nextMonth$$1$$.getMonth() && $printDate$$2$$.getFullYear() == $displayMonthAndYear$$2_nextMonth$$1$$.getFullYear();
  $component$$544_prevMonth$$1_showDateFromAdjacentMonths$$ = 1 == $AdfDhtmlChooseDateDOMQueries$$.$getMonthsToDisplay$($component$$544_prevMonth$$1_showDateFromAdjacentMonths$$, $cdRootElem$$75$$);
  $isDateFromDisplayMonth_tabIndex0Month$$2$$ && $dayColumn_tabIndex0Date$$2$$.setAttribute($AdfDhtmlChooseDatePeer$$.$_DAY_ID_ATTR_NAME$, $AdfDhtmlChooseDatePeer$$.$_CUR_MONTH_ID$);
  $isDateFromDisplayMonth_tabIndex0Month$$2$$ || $component$$544_prevMonth$$1_showDateFromAdjacentMonths$$ ? ($component$$544_prevMonth$$1_showDateFromAdjacentMonths$$ = new Date($displayMonthAndYear$$2_nextMonth$$1$$), $component$$544_prevMonth$$1_showDateFromAdjacentMonths$$.setMonth($component$$544_prevMonth$$1_showDateFromAdjacentMonths$$.getMonth() - 1), $displayMonthAndYear$$2_nextMonth$$1$$ = new Date($displayMonthAndYear$$2_nextMonth$$1$$), $displayMonthAndYear$$2_nextMonth$$1$$.setMonth($displayMonthAndYear$$2_nextMonth$$1$$.getMonth() + 
  1), $printDate$$2$$.getMonth() == $component$$544_prevMonth$$1_showDateFromAdjacentMonths$$.getMonth() && $printDate$$2$$.getFullYear() == $component$$544_prevMonth$$1_showDateFromAdjacentMonths$$.getFullYear() ? $dayColumn_tabIndex0Date$$2$$.setAttribute($AdfDhtmlChooseDatePeer$$.$_DAY_ID_ATTR_NAME$, $AdfDhtmlChooseDatePeer$$.$_PREV_MONTH_ID$) : $printDate$$2$$.getMonth() == $displayMonthAndYear$$2_nextMonth$$1$$.getMonth() && $printDate$$2$$.getFullYear() == $displayMonthAndYear$$2_nextMonth$$1$$.getFullYear() && 
  $dayColumn_tabIndex0Date$$2$$.setAttribute($AdfDhtmlChooseDatePeer$$.$_DAY_ID_ATTR_NAME$, $AdfDhtmlChooseDatePeer$$.$_NEXT_MONTH_ID$), $dayColumn_tabIndex0Date$$2$$.textContent = $printDate$$2$$.getDate()) : $dayColumn_tabIndex0Date$$2$$.setAttribute($AdfDhtmlChooseDatePeer$$.$_DAY_ID_ATTR_NAME$, $AdfDhtmlChooseDatePeer$$.$_BLANK_CELL_ID$);
  return $dayColumn_tabIndex0Date$$2$$;
};
$AdfDhtmlChooseDateWallCalendarGridPanel$$.$_getDayCellStyling$ = function $$AdfDhtmlChooseDateWallCalendarGridPanel$$$$_getDayCellStyling$$($component$$545_showDateFromAdjacentMonths$$1$$, $laf$$40$$, $printDate$$3$$, $displayMonthAndYear$$3$$, $prevMonth$$2_today$$2$$, $selectedDate$$14$$, $isDateDisabled$$1$$) {
  var $dayStyle$$1$$ = "", $cdRootElem$$76$$ = $AdfDhtmlChooseDateDOMQueries$$.$getDOMElement$($component$$545_showDateFromAdjacentMonths$$1$$), $isDateFromDisplayMonth$$1_nextMonth$$2$$ = $printDate$$3$$.getMonth() == $displayMonthAndYear$$3$$.getMonth() && $printDate$$3$$.getFullYear() == $displayMonthAndYear$$3$$.getFullYear();
  $component$$545_showDateFromAdjacentMonths$$1$$ = 1 == $AdfDhtmlChooseDateDOMQueries$$.$getMonthsToDisplay$($component$$545_showDateFromAdjacentMonths$$1$$, $cdRootElem$$76$$);
  $isDateFromDisplayMonth$$1_nextMonth$$2$$ || $component$$545_showDateFromAdjacentMonths$$1$$ ? ($printDate$$3$$.getFullYear() == $prevMonth$$2_today$$2$$.getFullYear() && $printDate$$3$$.getMonth() == $prevMonth$$2_today$$2$$.getMonth() && $printDate$$3$$.getDate() == $prevMonth$$2_today$$2$$.getDate() ? $dayStyle$$1$$ = $laf$$40$$.getStyleClass("af|chooseDate::today") : ($prevMonth$$2_today$$2$$ = new Date($displayMonthAndYear$$3$$), $prevMonth$$2_today$$2$$.setMonth($prevMonth$$2_today$$2$$.getMonth() - 
  1), $isDateFromDisplayMonth$$1_nextMonth$$2$$ = new Date($displayMonthAndYear$$3$$), $isDateFromDisplayMonth$$1_nextMonth$$2$$.setMonth($isDateFromDisplayMonth$$1_nextMonth$$2$$.getMonth() + 1), $printDate$$3$$.getMonth() == $displayMonthAndYear$$3$$.getMonth() && $printDate$$3$$.getFullYear() == $displayMonthAndYear$$3$$.getFullYear() ? $dayStyle$$1$$ = $laf$$40$$.getStyleClass("af|chooseDate::regular-day") : $printDate$$3$$.getMonth() == $prevMonth$$2_today$$2$$.getMonth() && $printDate$$3$$.getFullYear() == 
  $prevMonth$$2_today$$2$$.getFullYear() ? $dayStyle$$1$$ = $laf$$40$$.getStyleClass("af|chooseDate::prev-month-day") : $printDate$$3$$.getMonth() == $isDateFromDisplayMonth$$1_nextMonth$$2$$.getMonth() && $printDate$$3$$.getFullYear() == $isDateFromDisplayMonth$$1_nextMonth$$2$$.getFullYear() && ($dayStyle$$1$$ = $laf$$40$$.getStyleClass("af|chooseDate::next-month-day"))), $isDateDisabled$$1$$ ? $dayStyle$$1$$ += " " + $AdfDhtmlChooseDatePeer$$.$_DISABLED_STYLE_CLASS$ : $selectedDate$$14$$ && $printDate$$3$$.getMonth() == 
  $selectedDate$$14$$.getMonth() && $printDate$$3$$.getDate() == $selectedDate$$14$$.getDate() && ($dayStyle$$1$$ += " " + $AdfDhtmlChooseDatePeer$$.$_SEL_DAY_CLASS$)) : $dayStyle$$1$$ = $laf$$40$$.getStyleClass("af|chooseDate::empty-day-stub");
  return $dayStyle$$1$$;
};
$AdfDhtmlChooseDateWallCalendarGridPanel$$.$_DATE_CELL_NODE_TYPE$ = "TD";
