(function($dvt$$2$$) {
  function $DvtAfTagHandler$$($dvt$$2$$) {
    this.Init($dvt$$2$$);
  }
  function $DvtAfComponentUtils$$() {
  }
  $dvt$$2$$.Text = function $$dvt$$2$$$Text$($dvt$$2$$, $textString$$, $x$$75$$, $y$$57$$, $id$$59$$) {
    this.Init($dvt$$2$$, $textString$$, $x$$75$$, $y$$57$$, $id$$59$$);
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.Text, $dvt$$2$$.$Shape$, "dvt.Text");
  $dvt$$2$$.Text.$ELLIPSIS$ = "\u2026";
  $dvt$$2$$.Text.$H_ALIGN_LEFT$ = "left";
  $dvt$$2$$.Text.$H_ALIGN_CENTER$ = "center";
  $dvt$$2$$.Text.$H_ALIGN_RIGHT$ = "right";
  $dvt$$2$$.Text.$H_ALIGN_DEFAULT$ = $dvt$$2$$.Text.$H_ALIGN_LEFT$;
  $dvt$$2$$.Text.$V_ALIGN_TOP$ = "top";
  $dvt$$2$$.Text.$V_ALIGN_MIDDLE$ = "middle";
  $dvt$$2$$.Text.$V_ALIGN_BOTTOM$ = "bottom";
  $dvt$$2$$.Text.$V_ALIGN_BASELINE$ = "baseline";
  $dvt$$2$$.Text.$V_ALIGN_DEFAULT$ = $dvt$$2$$.Text.$V_ALIGN_TOP$;
  $dvt$$2$$.Text.$_BULK_TRUNCATION$ = !0;
  $dvt$$2$$.Text.$_TRUNCATION_DONE$ = 0;
  $dvt$$2$$.Text.$_TRUNCATION_GUESS_TOO_SHORT$ = 1;
  $dvt$$2$$.Text.$_TRUNCATION_GUESS_TOO_LONG$ = 2;
  $dvt$$2$$.Text.prototype.Init = function $$dvt$$2$$$Text$$Init$($dvtContext$$2$$, $textString$$1$$, $x$$76$$, $y$$58$$, $id$$60$$) {
    $dvt$$2$$.Text.$superclass$.Init.call(this, $dvtContext$$2$$, "text", $id$$60$$);
    this.$setTextString$($textString$$1$$);
    this.$setX$($x$$76$$);
    this.$setY$($y$$58$$);
    $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$(this.$getElem$(), "font-family", "tahoma, sans-serif");
    $dvt$$2$$.$ToolkitUtils$.$removeAttrNullNS$(this.$getElem$(), "fill");
    $dvt$$2$$.$Agent$.$isRightToLeft$($dvtContext$$2$$) && ($dvt$$2$$.$Agent$.$isPlatformIE$() ? this.$setTextString$("\u202b" + $textString$$1$$) : $dvt$$2$$.Text.$needsTextAnchorAdjustment$($dvtContext$$2$$) ? this.$alignLeft$() : $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$(this.$getElem$(), "unicode-bidi", "embed"));
    this.$_baseline$ = null;
    this.$_bEditMode$ = !1;
    this.$_editEndCallback$ = this.$_editStartCallback$ = null;
    this.$_editPxWidth$;
    this.$_editTooltip$ = this.$_editElem$ = null;
    this.$_textString$ = $textString$$1$$;
    this.$_horizAlign$ = $dvt$$2$$.Text.$H_ALIGN_DEFAULT$;
    $dvt$$2$$.Text.$H_ALIGN_DEFAULT$ != $dvt$$2$$.Text.$H_ALIGN_LEFT$ && this.$setHorizAlignment$($dvt$$2$$.Text.$H_ALIGN_DEFAULT$);
    this.$_vertAlign$ = $dvt$$2$$.Text.$V_ALIGN_DEFAULT$;
    $dvt$$2$$.Text.$V_ALIGN_DEFAULT$ != $dvt$$2$$.Text.$V_ALIGN_BASELINE$ && this.$setVertAlignment$($dvt$$2$$.Text.$V_ALIGN_DEFAULT$);
    this.$_maxw$ = -1;
    this.$_minChars$ = null;
    this.$_defTrunc$ = this.$_inProcess$ = this.$_bTruncated$ = this.$_bHtmlText$ = !1;
    this.$_setCachedDims$(void 0);
    this.$_bHollow$ = !1;
    this.$_cloneCSSStyle$ = null;
    this.$setAriaProperty$("hidden", "true");
  };
  $dvt$$2$$.Text.prototype.$alignLeft$ = function $$dvt$$2$$$Text$$$alignLeft$$() {
    this.$_horizAlign$ = $dvt$$2$$.Text.$H_ALIGN_LEFT$;
    this.$impl_alignLeft$();
  };
  $dvt$$2$$.Text.prototype.$alignCenter$ = function $$dvt$$2$$$Text$$$alignCenter$$() {
    this.$_horizAlign$ = $dvt$$2$$.Text.$H_ALIGN_CENTER$;
    this.$impl_alignCenter$();
  };
  $dvt$$2$$.Text.prototype.$alignRight$ = function $$dvt$$2$$$Text$$$alignRight$$() {
    this.$_horizAlign$ = $dvt$$2$$.Text.$H_ALIGN_RIGHT$;
    this.$impl_alignRight$();
  };
  $dvt$$2$$.Text.prototype.$alignTop$ = function $$dvt$$2$$$Text$$$alignTop$$() {
    this.$_vertAlign$ = $dvt$$2$$.Text.$V_ALIGN_TOP$;
    this.$impl_alignTop$();
  };
  $dvt$$2$$.Text.prototype.$alignMiddle$ = function $$dvt$$2$$$Text$$$alignMiddle$$() {
    this.$_vertAlign$ = $dvt$$2$$.Text.$V_ALIGN_MIDDLE$;
    this.$impl_alignMiddle$();
  };
  $dvt$$2$$.Text.prototype.$alignBottom$ = function $$dvt$$2$$$Text$$$alignBottom$$() {
    this.$_vertAlign$ = $dvt$$2$$.Text.$V_ALIGN_BOTTOM$;
    this.$impl_alignBottom$();
  };
  $dvt$$2$$.Text.prototype.$alignBaseline$ = function $$dvt$$2$$$Text$$$alignBaseline$$() {
    this.$_vertAlign$ = $dvt$$2$$.Text.$V_ALIGN_BASELINE$;
    this.$impl_alignBaseline$();
  };
  $dvt$$2$$.Text.prototype.$getHorizAlignment$ = function $$dvt$$2$$$Text$$$getHorizAlignment$$() {
    return this.$_horizAlign$;
  };
  $dvt$$2$$.Text.prototype.$setHorizAlignment$ = function $$dvt$$2$$$Text$$$setHorizAlignment$$($align$$) {
    $align$$ == $dvt$$2$$.Text.$H_ALIGN_LEFT$ ? this.$alignLeft$() : $align$$ == $dvt$$2$$.Text.$H_ALIGN_CENTER$ ? this.$alignCenter$() : $align$$ == $dvt$$2$$.Text.$H_ALIGN_RIGHT$ && this.$alignRight$();
  };
  $dvt$$2$$.Text.prototype.$getVertAlignment$ = function $$dvt$$2$$$Text$$$getVertAlignment$$() {
    return this.$_vertAlign$;
  };
  $dvt$$2$$.Text.prototype.$setVertAlignment$ = function $$dvt$$2$$$Text$$$setVertAlignment$$($align$$1$$) {
    $align$$1$$ == $dvt$$2$$.Text.$V_ALIGN_TOP$ ? this.$alignTop$() : $align$$1$$ == $dvt$$2$$.Text.$V_ALIGN_MIDDLE$ ? this.$alignMiddle$() : $align$$1$$ == $dvt$$2$$.Text.$V_ALIGN_BOTTOM$ ? this.$alignBottom$() : $align$$1$$ == $dvt$$2$$.Text.$V_ALIGN_BASELINE$ && this.$alignBaseline$();
  };
  $dvt$$2$$.Text.prototype.$getX$ = function $$dvt$$2$$$Text$$$getX$$() {
    return this.$_x$;
  };
  $dvt$$2$$.Text.prototype.$setX$ = function $$dvt$$2$$$Text$$$setX$$($dvt$$2$$) {
    this.$impl_setX$($dvt$$2$$);
  };
  $dvt$$2$$.Text.prototype.$getY$ = function $$dvt$$2$$$Text$$$getY$$() {
    return this.$_y$;
  };
  $dvt$$2$$.Text.prototype.$setY$ = function $$dvt$$2$$$Text$$$setY$$($dvt$$2$$) {
    this.$impl_setY$($dvt$$2$$);
  };
  $dvt$$2$$.Text.prototype.$getTextString$ = function $$dvt$$2$$$Text$$$getTextString$$() {
    return String(this.$impl_getTextString$());
  };
  $dvt$$2$$.Text.prototype.$getOptimalFontSize$ = function $$dvt$$2$$$Text$$$getOptimalFontSize$$($dvt$$2$$) {
    for (var $i$$163$$ = Math.max(Math.min($dvt$$2$$.$w$ / this.$getTextString$().length, $dvt$$2$$.$h$ / 2), 9);51 > $i$$163$$;$i$$163$$ += 1) {
      this.$setFontSize$($i$$163$$);
      var $textDim$$ = this.$measureDimensions$();
      if ($textDim$$.$w$ > $dvt$$2$$.$w$ || $textDim$$.$h$ > $dvt$$2$$.$h$) {
        return Math.min($i$$163$$ - 1, 50);
      }
    }
    return 50;
  };
  $dvt$$2$$.Text.prototype.$setEditMode$ = function $$dvt$$2$$$Text$$$setEditMode$$($dvt$$2$$) {
    this.$impl_setEditMode$($dvt$$2$$);
  };
  $dvt$$2$$.Text.prototype.$setEditWidth$ = function $$dvt$$2$$$Text$$$setEditWidth$$($dvt$$2$$) {
    this.$impl_setEditWidth$($dvt$$2$$);
  };
  $dvt$$2$$.Text.prototype.$selectEditText$ = function $$dvt$$2$$$Text$$$selectEditText$$() {
    this.$impl_selectEditText$ && this.$impl_selectEditText$();
  };
  $dvt$$2$$.Text.prototype.$focusEditText$ = function $$dvt$$2$$$Text$$$focusEditText$$() {
    this.$impl_focusEditText$ && this.$impl_focusEditText$();
  };
  $dvt$$2$$.Text.prototype.$setTextString$ = function $$dvt$$2$$$Text$$$setTextString$$($dvt$$2$$) {
    this.$_textString$ = $dvt$$2$$;
    this.$impl_setTextString$($dvt$$2$$);
    this.$_setCachedDims$(void 0);
  };
  $dvt$$2$$.Text.prototype.$setFontSize$ = function $$dvt$$2$$$Text$$$setFontSize$$($fontSize$$) {
    this.$impl_setFontSize$($fontSize$$);
    this.$_setCachedDims$(void 0);
    var $style$$11$$ = this.$getCSSStyle$();
    $style$$11$$ ? (this.$_cloneCSSStyle$ = $style$$11$$.clone(), this.$_cloneCSSStyle$.$setFontSize$($dvt$$2$$.$CSSStyle$.$FONT_SIZE$, $fontSize$$.toString())) : (this.$setCSSStyle$(new $dvt$$2$$.$CSSStyle$), this.$getCSSStyle$().$setFontSize$($dvt$$2$$.$CSSStyle$.$FONT_SIZE$, $fontSize$$.toString()));
  };
  $dvt$$2$$.Text.prototype.$setMaxWidth$ = function $$dvt$$2$$$Text$$$setMaxWidth$$($dvt$$2$$, $minChars$$) {
    this.$_maxw$ = $dvt$$2$$;
    this.$_minChars$ = $minChars$$;
    0 < $dvt$$2$$ && this.$_ProcessText$();
  };
  $dvt$$2$$.Text.prototype.$getText$ = function $$dvt$$2$$$Text$$$getText$$() {
    return this.$_bEditMode$ && this.$impl_getText$ ? this.$impl_getText$() : this.$_text$;
  };
  $dvt$$2$$.Text.prototype.$getTruncateAt$ = function $$dvt$$2$$$Text$$$getTruncateAt$$() {
    return this.$_truncateAt$;
  };
  $dvt$$2$$.Text.prototype.$DoSetText$ = function $$dvt$$2$$$Text$$$DoSetText$$($dvt$$2$$) {
    $dvt$$2$$ = this.$DoTruncateAt$($dvt$$2$$, this.$getTruncateAt$());
    this.$_setCachedDims$(void 0);
    this.$_setText$($dvt$$2$$);
    $dvt$$2$$ && this.$_ProcessText$();
  };
  $dvt$$2$$.Text.prototype.$DoTruncateAt$ = function $$dvt$$2$$$Text$$$DoTruncateAt$$($dvt$$2$$, $truncateAt$$1$$) {
    this.$_bTruncated$ = !1;
    $truncateAt$$1$$ && $dvt$$2$$ && $dvt$$2$$.length > $truncateAt$$1$$ && ($dvt$$2$$ = $dvt$$2$$.substr(0, Math.max($truncateAt$$1$$ - 3, 0)) + "...", this.$_bTruncated$ = !0);
    return $dvt$$2$$;
  };
  $dvt$$2$$.Text.prototype.$isTruncated$ = function $$dvt$$2$$$Text$$$isTruncated$$() {
    return this.$_bTruncated$;
  };
  $dvt$$2$$.Text.prototype.$getUntruncatedTextString$ = function $$dvt$$2$$$Text$$$getUntruncatedTextString$$() {
    return this.$_untruncatedTextString$;
  };
  $dvt$$2$$.Text.prototype.$setUntruncatedTextString$ = function $$dvt$$2$$$Text$$$setUntruncatedTextString$$($dvt$$2$$) {
    $dvt$$2$$ != this.$getTextString$() && (this.$_untruncatedTextString$ = $dvt$$2$$);
  };
  $dvt$$2$$.Text.prototype.$isTruncationEnabled$ = function $$dvt$$2$$$Text$$$isTruncationEnabled$$() {
    return 0 < this.$_maxw$ && !this.$_bHtmlText$;
  };
  $dvt$$2$$.Text.prototype.$setText$ = function $$dvt$$2$$$Text$$$setText$$($dvt$$2$$) {
    this.$_text$ = $dvt$$2$$;
    this.$DoSetText$($dvt$$2$$);
  };
  $dvt$$2$$.Text.prototype.$_setText$ = function $$dvt$$2$$$Text$$$_setText$$($dvt$$2$$) {
    this.$impl_setText$($dvt$$2$$);
  };
  $dvt$$2$$.Text.prototype.$setCSSStyle$ = function $$dvt$$2$$$Text$$$setCSSStyle$$($style$$12$$) {
    this.$_cloneCSSStyle$ && (this.$_cloneCSSStyle$ = null);
    this.$_setCachedDims$(void 0);
    $dvt$$2$$.Text.$superclass$.$setCSSStyle$.call(this, $style$$12$$);
    this.$impl_setCSSStyle$($style$$12$$);
    null !== this.$_text$ && "undefined" !== typeof this.$_text$ ? this.$setText$(this.$getText$()) : this.$_ProcessText$();
  };
  $dvt$$2$$.Text.prototype.$_ProcessText$ = function $$dvt$$2$$$Text$$$_ProcessText$$() {
    this.$isTruncationEnabled$() && !this.$_inProcess$ && (this.$_inProcess$ = !0, this.$_TruncateText$(), this.$_inProcess$ = !1);
  };
  $dvt$$2$$.Text.prototype.$measureDimensions$ = function $$dvt$$2$$$Text$$$measureDimensions$$($targetCoordinateSpace$$9$$) {
    $dvt$$2$$.Text.$_cache$ || ($dvt$$2$$.Text.$_cache$ = new $dvt$$2$$.Cache);
    var $cacheKey_cssStyle$$3$$ = this.$getCSSStyle$(), $cssStyleKey_localDims$$ = "";
    $cacheKey_cssStyle$$3$$ && ($cacheKey_cssStyle$$3$$.$getStyle$($dvt$$2$$.$CSSStyle$.$FONT_FAMILY$) && ($cssStyleKey_localDims$$ += $cacheKey_cssStyle$$3$$.$getStyle$($dvt$$2$$.$CSSStyle$.$FONT_FAMILY$)), $cacheKey_cssStyle$$3$$.$getStyle$($dvt$$2$$.$CSSStyle$.$FONT_SIZE$) && ($cssStyleKey_localDims$$ += $cacheKey_cssStyle$$3$$.$getStyle$($dvt$$2$$.$CSSStyle$.$FONT_SIZE$)), $cacheKey_cssStyle$$3$$.$getStyle$($dvt$$2$$.$CSSStyle$.$FONT_STYLE$) && ($cssStyleKey_localDims$$ += $cacheKey_cssStyle$$3$$.$getStyle$($dvt$$2$$.$CSSStyle$.$FONT_STYLE$)), 
    $cacheKey_cssStyle$$3$$.$getStyle$($dvt$$2$$.$CSSStyle$.$FONT_WEIGHT$) && ($cssStyleKey_localDims$$ += $cacheKey_cssStyle$$3$$.$getStyle$($dvt$$2$$.$CSSStyle$.$FONT_WEIGHT$)));
    var $cacheKey_cssStyle$$3$$ = 0 < this.$getTextString$().length ? this.$getTextString$() + this.$getHorizAlignment$() + this.$getVertAlignment$() + $cssStyleKey_localDims$$ : "", $parent$$31_stageDims$$ = $dvt$$2$$.Text.$_cache$.get($cacheKey_cssStyle$$3$$);
    if (null != $parent$$31_stageDims$$) {
      $cssStyleKey_localDims$$ = new $dvt$$2$$.$Rectangle$($parent$$31_stageDims$$.x + this.$getX$(), $parent$$31_stageDims$$.y + this.$getY$(), $parent$$31_stageDims$$.$w$, $parent$$31_stageDims$$.$h$);
    } else {
      ($cssStyleKey_localDims$$ = this.$getDimensions$()) || ($cssStyleKey_localDims$$ = new $dvt$$2$$.$Rectangle$(0, 0, 0, 0));
      if (0 >= $cssStyleKey_localDims$$.$w$ && 0 >= $cssStyleKey_localDims$$.$h$ && 0 < this.$getTextString$().length) {
        var $parent$$31_stageDims$$ = this.getParent(), $index$$85$$;
        $parent$$31_stageDims$$ && ($index$$85$$ = $parent$$31_stageDims$$.$getChildIndex$(this));
        var $stage$$ = this.$getCtx$().$_stage$;
        $stage$$.$addChild$(this);
        $cssStyleKey_localDims$$ = this.$getDimensions$();
        $stage$$.removeChild(this);
        $parent$$31_stageDims$$ && $parent$$31_stageDims$$.$addChildAt$(this, $index$$85$$);
      }
      $parent$$31_stageDims$$ = new $dvt$$2$$.$Rectangle$($cssStyleKey_localDims$$.x - this.$getX$(), $cssStyleKey_localDims$$.y - this.$getY$(), $cssStyleKey_localDims$$.$w$, $cssStyleKey_localDims$$.$h$);
      $dvt$$2$$.Text.$_cache$.put($cacheKey_cssStyle$$3$$, $parent$$31_stageDims$$);
    }
    return $targetCoordinateSpace$$9$$ && $targetCoordinateSpace$$9$$ !== this ? this.$ConvertCoordSpaceRect$($cssStyleKey_localDims$$, $targetCoordinateSpace$$9$$) : $cssStyleKey_localDims$$;
  };
  $dvt$$2$$.Text.prototype.$_TruncateText$ = function $$dvt$$2$$$Text$$$_TruncateText$$() {
    if (this.$isTruncationEnabled$()) {
      var $dvt$$2$$ = this.$_maxw$, $minChars$$1$$ = this.$_minChars$, $cacheEnabled$$ = !1;
      if (isNaN($minChars$$1$$) || null == $minChars$$1$$) {
        $minChars$$1$$ = 0, $cacheEnabled$$ = !0;
      }
      this.$_bTruncated$ = !1;
      var $dim$$6$$;
      $dim$$6$$ = $cacheEnabled$$ ? this.$getCachedDims$() : this.$measureDimensions$();
      $dim$$6$$.$w$ > $dvt$$2$$ && (this.$_bTruncated$ = !0, this.$_defTrunc$ || ($dim$$6$$ = this.$_truncateLine$($dvt$$2$$, $minChars$$1$$, $dim$$6$$), $cacheEnabled$$ && this.$_setCachedDims$($dim$$6$$)));
    }
  };
  $dvt$$2$$.Text.prototype.$getCachedDims$ = function $$dvt$$2$$$Text$$$getCachedDims$$() {
    var $dim$$7$$ = this.$_dim$;
    $dim$$7$$ || ($dim$$7$$ = this.$GetDimsForCaching$(), this.$_setCachedDims$($dim$$7$$), $dim$$7$$ || ($dim$$7$$ = new $dvt$$2$$.$Rectangle$(0, 0, 0, 0)));
    return $dim$$7$$;
  };
  $dvt$$2$$.Text.prototype.$GetDimsForCaching$ = function $$dvt$$2$$$Text$$$GetDimsForCaching$$() {
    return $dvt$$2$$.Text.$superclass$.$getDimensions$.call(this);
  };
  $dvt$$2$$.Text.prototype.$_setCachedDims$ = function $$dvt$$2$$$Text$$$_setCachedDims$$($val$$18$$) {
    $dvt$$2$$.$DisplayableUtils$.$_setDimForced$(this, $val$$18$$);
  };
  $dvt$$2$$.Text.prototype.$setTruncationDeferred$ = function $$dvt$$2$$$Text$$$setTruncationDeferred$$($dvt$$2$$) {
    this.$_defTrunc$ = $dvt$$2$$;
  };
  $dvt$$2$$.Text.$truncateTexts$ = function $$dvt$$2$$$Text$$truncateTexts$$($textFields$$) {
    if ($dvt$$2$$.Text.$_BULK_TRUNCATION$) {
      $dvt$$2$$.Text.$_bulkTruncation$($textFields$$);
    } else {
      for (var $len$$ = $textFields$$.length, $i$$164$$ = 0;$i$$164$$ < $len$$;$i$$164$$++) {
        var $deferFlag$$2$$ = $textFields$$[$i$$164$$].$_defTrunc$;
        $textFields$$[$i$$164$$].$setTruncationDeferred$(!1);
        try {
          $textFields$$[$i$$164$$].$_ProcessText$();
        } finally {
          $textFields$$[$i$$164$$].$setTruncationDeferred$($deferFlag$$2$$);
        }
      }
    }
  };
  $dvt$$2$$.Text.prototype.$getDimensions$ = function $$dvt$$2$$$Text$$$getDimensions$$($targetCoordinateSpace$$10$$) {
    if (this.$isTruncated$() && this.$_defTrunc$ && !this.$_dim$) {
      var $dim$$8$$ = this.$GetSvgDimensions$();
      $dim$$8$$.$w$ = this.$_maxw$;
      return $targetCoordinateSpace$$10$$ && $targetCoordinateSpace$$10$$ !== this ? this.$ConvertCoordSpaceRect$($dim$$8$$, $targetCoordinateSpace$$10$$) : $dim$$8$$;
    }
    return $dvt$$2$$.Text.$superclass$.$getDimensions$.call(this);
  };
  $dvt$$2$$.Text.prototype.$getCSSStyle$ = function $$dvt$$2$$$Text$$$getCSSStyle$$() {
    return this.$_cloneCSSStyle$ ? this.$_cloneCSSStyle$ : $dvt$$2$$.Text.$superclass$.$getCSSStyle$.call(this);
  };
  $dvt$$2$$.Text.prototype.$_measureText$ = function $$dvt$$2$$$Text$$$_measureText$$($dvt$$2$$) {
    this.$setTextString$($dvt$$2$$);
    return this.$getDimensions$();
  };
  $dvt$$2$$.Text.prototype.$_truncateLine$ = function $$dvt$$2$$$Text$$$_truncateLine$$($maxLineWidth$$1$$, $minChars$$2$$, $dim$$9$$) {
    var $text$$22$$ = this.$getTextString$(), $maxNumChars$$ = Math.max(Math.floor($maxLineWidth$$1$$ / ($dim$$9$$.$w$ / $text$$22$$.length)) - 3, $minChars$$2$$);
    this.$getCSSStyle$();
    var $tmpTextString$$ = $text$$22$$.substring(0, $maxNumChars$$) + $dvt$$2$$.Text.$ELLIPSIS$;
    for ($dim$$9$$ = this.$_measureText$($tmpTextString$$);$dim$$9$$.$w$ < $maxLineWidth$$1$$ && !($maxNumChars$$ >= $text$$22$$.length);) {
      $maxNumChars$$ += 1, $tmpTextString$$ = $text$$22$$.substring(0, $maxNumChars$$) + $dvt$$2$$.Text.$ELLIPSIS$, $dim$$9$$ = this.$_measureText$($tmpTextString$$);
    }
    for (;$dim$$9$$.$w$ > $maxLineWidth$$1$$;) {
      if ($maxNumChars$$ <= $minChars$$2$$) {
        $tmpTextString$$ = "";
        $dim$$9$$.$w$ = 0;
        break;
      }
      --$maxNumChars$$;
      $tmpTextString$$ = $text$$22$$.substring(0, $maxNumChars$$) + $dvt$$2$$.Text.$ELLIPSIS$;
      $dim$$9$$ = this.$_measureText$($tmpTextString$$);
    }
    this.$setTextString$($tmpTextString$$);
    return $dim$$9$$;
  };
  $dvt$$2$$.Text.$_bulkSetDimensions$ = function $$dvt$$2$$$Text$$_bulkSetDimensions$$($dvt$$2$$) {
    for (var $tf$$1$$, $i$$165$$ = 0;$i$$165$$ < $dvt$$2$$.length;$i$$165$$++) {
      $tf$$1$$ = $dvt$$2$$[$i$$165$$], $tf$$1$$.$_setCachedDims$($tf$$1$$.$GetDimsForCaching$());
    }
  };
  $dvt$$2$$.Text.prototype.$_initTruncation$ = function $$dvt$$2$$$Text$$$_initTruncation$$() {
    var $dim$$10_maxNumChars$$1$$ = this.$getCachedDims$(), $minChars$$3$$ = this.$_minChars$;
    if (isNaN($minChars$$3$$) || null == $minChars$$3$$) {
      $minChars$$3$$ = 0;
    }
    var $text$$23$$ = this.$getTextString$(), $dim$$10_maxNumChars$$1$$ = Math.max(Math.floor(this.$_maxw$ / ($dim$$10_maxNumChars$$1$$.$w$ / $text$$23$$.length)) - 3, $minChars$$3$$);
    this.$setTextString$($text$$23$$.substring(0, $dim$$10_maxNumChars$$1$$) + $dvt$$2$$.Text.$ELLIPSIS$);
    this.$_maxNumChars$ = $dim$$10_maxNumChars$$1$$;
    this.$_setCachedDims$(void 0);
    this.$_originalText$ = $text$$23$$;
    this.$_minChars2$ = $minChars$$3$$;
    this.$_state$ = $dvt$$2$$.Text.$_TRUNCATION_GUESS_TOO_SHORT$;
  };
  $dvt$$2$$.Text.prototype.$_doTruncation$ = function $$dvt$$2$$$Text$$$_doTruncation$$() {
    var $state$$23$$ = this.$_state$, $text$$24$$ = this.$_originalText$, $dim$$11$$ = this.$getCachedDims$(), $maxNumChars$$2$$ = this.$_maxNumChars$, $maxLineWidth$$3$$ = this.$_maxw$;
    $state$$23$$ == $dvt$$2$$.Text.$_TRUNCATION_GUESS_TOO_SHORT$ && ($dim$$11$$.$w$ < $maxLineWidth$$3$$ ? $maxNumChars$$2$$ >= $text$$24$$.length ? $state$$23$$ = $dvt$$2$$.Text.$_TRUNCATION_GUESS_TOO_LONG$ : ($maxNumChars$$2$$ += 1, this.$setTextString$($text$$24$$.substring(0, $maxNumChars$$2$$) + $dvt$$2$$.Text.$ELLIPSIS$), this.$_maxNumChars$ = $maxNumChars$$2$$, this.$_setCachedDims$(void 0)) : $state$$23$$ = $dvt$$2$$.Text.$_TRUNCATION_GUESS_TOO_LONG$);
    $state$$23$$ == $dvt$$2$$.Text.$_TRUNCATION_GUESS_TOO_LONG$ && ($dim$$11$$.$w$ > $maxLineWidth$$3$$ ? $maxNumChars$$2$$ <= this.$_minChars2$ ? (this.$setTextString$(""), $dim$$11$$.$w$ = 0, $state$$23$$ = $dvt$$2$$.Text.$_TRUNCATION_DONE$) : (--$maxNumChars$$2$$, this.$setTextString$($text$$24$$.substring(0, $maxNumChars$$2$$) + $dvt$$2$$.Text.$ELLIPSIS$), 0 == $maxNumChars$$2$$ ? ($dim$$11$$.$w$ = 0, $state$$23$$ = $dvt$$2$$.Text.$_TRUNCATION_DONE$) : (this.$_maxNumChars$ = $maxNumChars$$2$$, 
    this.$_setCachedDims$(void 0))) : $state$$23$$ = $dvt$$2$$.Text.$_TRUNCATION_DONE$);
    if ($state$$23$$ == $dvt$$2$$.Text.$_TRUNCATION_DONE$) {
      return this.$_state$ = this.$_minChars2$ = this.$_originalText$ = this.$_maxNumChars$ = void 0, !0;
    }
    this.$_state$ = $state$$23$$;
    return !1;
  };
  $dvt$$2$$.Text.$_bulkTruncation$ = function $$dvt$$2$$$Text$$_bulkTruncation$$($textFields$$2$$) {
    for (var $tf$$2$$, $toDoList$$ = [], $dim$$12_done$$, $i$$166$$ = 0;$i$$166$$ < $textFields$$2$$.length;$i$$166$$++) {
      $tf$$2$$ = $textFields$$2$$[$i$$166$$], $tf$$2$$.$_bTruncated$ = !1, $dim$$12_done$$ = $tf$$2$$.$getCachedDims$(), $dim$$12_done$$.$w$ > $tf$$2$$.$_maxw$ && ($tf$$2$$.$_bTruncated$ = !0, $tf$$2$$.$_initTruncation$(), $toDoList$$.push($tf$$2$$));
    }
    $textFields$$2$$ = $toDoList$$;
    $dvt$$2$$.Text.$_bulkSetDimensions$($textFields$$2$$);
    $dim$$12_done$$ = !1;
    for ($toDoList$$ = [];!$dim$$12_done$$;) {
      for ($i$$166$$ = 0;$i$$166$$ < $textFields$$2$$.length;$i$$166$$++) {
        $tf$$2$$ = $textFields$$2$$[$i$$166$$], $tf$$2$$.$_doTruncation$() || $toDoList$$.push($tf$$2$$);
      }
      0 < $toDoList$$.length ? ($textFields$$2$$ = $toDoList$$, $dvt$$2$$.Text.$_bulkSetDimensions$($textFields$$2$$), $toDoList$$ = []) : $dim$$12_done$$ = !0;
    }
  };
  $dvt$$2$$.Text.prototype.$copyShape$ = function $$dvt$$2$$$Text$$$copyShape$$() {
    return new $dvt$$2$$.Text(this.$getCtx$(), this.$getText$(), this.$getX$(), this.$getY$());
  };
  $dvt$$2$$.Text.prototype.$destroy$ = function $$dvt$$2$$$Text$$$destroy$$() {
    $dvt$$2$$.Text.$superclass$.$destroy$.call(this);
    this.$impl_destroy$ && this.$impl_destroy$();
  };
  $dvt$$2$$.Text.prototype.$impl_getTextString$ = function $$dvt$$2$$$Text$$$impl_getTextString$$() {
    var $dvt$$2$$;
    if (this.$_bEditMode$ && this.$_editElem$) {
      $dvt$$2$$ = this.$_editElem$.value;
    } else {
      var $textNode$$ = this.$_elem$.firstChild;
      $textNode$$ && ($dvt$$2$$ = $textNode$$.nodeValue);
    }
    return $dvt$$2$$;
  };
  $dvt$$2$$.Text.prototype.$impl_setTextString$ = function $$dvt$$2$$$Text$$$impl_setTextString$$($textStr$$) {
    var $textNode$$1$$ = this.$_elem$.firstChild;
    null !== $textNode$$1$$ ? $textNode$$1$$.nodeValue = $textStr$$ : ($textNode$$1$$ = document.createTextNode($textStr$$), $dvt$$2$$.$ToolkitUtils$.$appendChildElem$(this.$_elem$, $textNode$$1$$));
    this.$_editElem$ && (this.$_editElem$.value = $textStr$$);
    this.$_alignTextForEdit$();
  };
  $dvt$$2$$.Text.prototype.$_alignTextForEdit$ = function $$dvt$$2$$$Text$$$_alignTextForEdit$$() {
    if (this.$_bEditMode$ && $dvt$$2$$.$Agent$.$isRightToLeft$(this.$getCtx$()) && null != this.$_editPxWidth$ && 0 < this.$_editPxWidth$) {
      var $textElem$$ = this.$_elem$, $dim$$13$$;
      $textElem$$.parentNode ? $dim$$13$$ = $textElem$$.getBBox() : (this.$getElem$().appendChild($textElem$$), $dim$$13$$ = $textElem$$.getBBox(), this.$getElem$().removeChild($textElem$$));
      this.$_editPxWidth$ > $dim$$13$$.width ? $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$(this.$_elem$, "transform", "translate(" + (this.$_editPxWidth$ - $dim$$13$$.width) + ",0)") : ($dvt$$2$$.$Agent$.$isPlatformIE$() && $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$(this.$_elem$, "transform", null), $dvt$$2$$.$ToolkitUtils$.$removeAttrNullNS$(this.$_elem$, "transform"));
    }
  };
  $dvt$$2$$.Text.prototype.$impl_setX$ = function $$dvt$$2$$$Text$$$impl_setX$$($x$$78$$) {
    $x$$78$$ !== this.$_x$ && (this.$_x$ = $x$$78$$, $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$(this.$getElem$(), "x", $x$$78$$, 0));
  };
  $dvt$$2$$.Text.prototype.$impl_setY$ = function $$dvt$$2$$$Text$$$impl_setY$$($y$$60$$) {
    $y$$60$$ !== this.$_y$ && (this.$_y$ = $y$$60$$, $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$(this.$getElem$(), "y", $y$$60$$, 0));
  };
  $dvt$$2$$.Text.prototype.$impl_setFontSize$ = function $$dvt$$2$$$Text$$$impl_setFontSize$$($fontSize$$1$$) {
    $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$(this.$getElem$(), "font-size", $fontSize$$1$$);
    $dvt$$2$$.$Agent$.$isPlatformIE$() && this.$setMatrix$(this.$getMatrix$());
  };
  $dvt$$2$$.Text.prototype.$impl_alignLeft$ = function $$dvt$$2$$$Text$$$impl_alignLeft$$() {
    var $bAdjust$$ = $dvt$$2$$.Text.$needsTextAnchorAdjustment$(this.$getCtx$());
    $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$(this.$getElem$(), "text-anchor", $bAdjust$$ ? "end" : "start");
  };
  $dvt$$2$$.Text.prototype.$impl_alignCenter$ = function $$dvt$$2$$$Text$$$impl_alignCenter$$() {
    $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$(this.$getElem$(), "text-anchor", "middle");
  };
  $dvt$$2$$.Text.prototype.$impl_alignRight$ = function $$dvt$$2$$$Text$$$impl_alignRight$$() {
    var $bAdjust$$1$$ = $dvt$$2$$.Text.$needsTextAnchorAdjustment$(this.$getCtx$());
    $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$(this.$getElem$(), "text-anchor", $bAdjust$$1$$ ? "start" : "end");
  };
  $dvt$$2$$.Text.prototype.$impl_alignTop$ = function $$dvt$$2$$$Text$$$impl_alignTop$$() {
    $dvt$$2$$.$Agent$.$isPlatformIE$() ? this.$impl_SetBaseline$(1) : this.$impl_SetDominantBaselineAttr$("text-before-edge");
  };
  $dvt$$2$$.Text.prototype.$impl_alignMiddle$ = function $$dvt$$2$$$Text$$$impl_alignMiddle$$() {
    $dvt$$2$$.$Agent$.$isPlatformIE$() ? this.$impl_SetBaseline$(.4) : this.$impl_SetDominantBaselineAttr$("middle");
  };
  $dvt$$2$$.Text.prototype.$impl_alignBottom$ = function $$dvt$$2$$$Text$$$impl_alignBottom$$() {
    $dvt$$2$$.$Agent$.$isPlatformIE$() ? this.$impl_SetBaseline$(.2) : this.$impl_SetDominantBaselineAttr$("text-after-edge");
  };
  $dvt$$2$$.Text.prototype.$impl_alignBaseline$ = function $$dvt$$2$$$Text$$$impl_alignBaseline$$() {
    $dvt$$2$$.$Agent$.$isPlatformIE$() ? this.$impl_SetBaseline$(0) : this.$impl_SetDominantBaselineAttr$(null);
  };
  $dvt$$2$$.Text.prototype.$impl_SetBaseline$ = function $$dvt$$2$$$Text$$$impl_SetBaseline$$($dvt$$2$$) {
    this.$_baseline$ = $dvt$$2$$;
    this.$setMatrix$(this.$getMatrix$());
  };
  $dvt$$2$$.Text.prototype.$impl_SetDominantBaselineAttr$ = function $$dvt$$2$$$Text$$$impl_SetDominantBaselineAttr$$($baseline$$1$$) {
    $baseline$$1$$ ? $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$(this.$getElem$(), "dominant-baseline", $baseline$$1$$) : $dvt$$2$$.$ToolkitUtils$.$removeAttrNullNS$(this.$getElem$(), "dominant-baseline");
  };
  $dvt$$2$$.Text.prototype.$impl_setText$ = function $$dvt$$2$$$Text$$$impl_setText$$($text$$25$$) {
    var $textNode$$2$$ = this.$_elem$.firstChild;
    null !== $textNode$$2$$ ? $textNode$$2$$.nodeValue = $text$$25$$ : ($textNode$$2$$ = document.createTextNode($text$$25$$), $dvt$$2$$.$ToolkitUtils$.$appendChildElem$(this.$_elem$, $textNode$$2$$));
    this.$_bEditMode$ && this.$_editElem$ && (this.$_editElem$.value = $text$$25$$);
  };
  $dvt$$2$$.Text.prototype.$impl_getText$ = function $$dvt$$2$$$Text$$$impl_getText$$() {
    if (this.$_bEditMode$ && this.$_editElem$) {
      return this.$_editElem$.value;
    }
    var $dvt$$2$$ = this.$_elem$.firstChild;
    if ($dvt$$2$$) {
      return $dvt$$2$$.nodeValue;
    }
  };
  $dvt$$2$$.Text.prototype.$impl_setCSSStyle$ = function $$dvt$$2$$$Text$$$impl_setCSSStyle$$($style$$13$$) {
    var $elem$$1$$ = this.$getOuterElem$();
    if ($style$$13$$) {
      var $fillObj_val$$19$$ = $style$$13$$.$getStyle$("color");
      ($fillObj_val$$19$$ = $dvt$$2$$.$ColorUtils$.$fixColorForPlatform$($fillObj_val$$19$$)) && $fillObj_val$$19$$.color && ($dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$($elem$$1$$, "fill", $fillObj_val$$19$$.color), null != $fillObj_val$$19$$.alpha && $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$($elem$$1$$, "fill-opacity", $fillObj_val$$19$$.alpha, 1));
      ($fillObj_val$$19$$ = $style$$13$$.$getStyle$("font-family")) && $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$($elem$$1$$, "font-family", $fillObj_val$$19$$);
      if ($fillObj_val$$19$$ = $style$$13$$.$getStyle$("font-size")) {
        $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$($elem$$1$$, "font-size", $fillObj_val$$19$$), $dvt$$2$$.$Agent$.$isPlatformIE$() && this.$setMatrix$(this.$getMatrix$());
      }
      ($fillObj_val$$19$$ = $style$$13$$.$getStyle$("font-style")) && $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$($elem$$1$$, "font-style", $fillObj_val$$19$$);
      ($fillObj_val$$19$$ = $style$$13$$.$getStyle$("font-weight")) && $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$($elem$$1$$, "font-weight", $fillObj_val$$19$$);
      ($fillObj_val$$19$$ = $style$$13$$.$getStyle$("text-decoration")) && $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$($elem$$1$$, "text-decoration", $fillObj_val$$19$$);
      ($fillObj_val$$19$$ = $style$$13$$.$getStyle$("cursor")) && $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$($elem$$1$$, "cursor", $fillObj_val$$19$$);
    }
  };
  $dvt$$2$$.Text.prototype.$impl_setEditMode$ = function $$dvt$$2$$$Text$$$impl_setEditMode$$($dims$$27_editEndCallback$$1$$) {
    this.$_editStartCallback$ = null;
    this.$_editEndCallback$ = $dims$$27_editEndCallback$$1$$;
    1 != this.$_bEditMode$ && (this.$_bEditMode$ = !0, $dims$$27_editEndCallback$$1$$ = this.$getObj$().$getDimensions$(), this.$CreateChildGroupElem$(), this.$_editRectElem$ = $dvt$$2$$.$SvgShapeUtils$.createElement("rect"), $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$(this.$_editRectElem$, "x", 0), $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$(this.$_editRectElem$, "y", 0), $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$(this.$_editRectElem$, "width", this.$_editPxWidth$), $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$(this.$_editRectElem$, 
    "height", $dims$$27_editEndCallback$$1$$.$h$), $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$(this.$_editRectElem$, "fill", "#ffffff"), $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$(this.$_editRectElem$, "fill-opacity", 0), $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$(this.$_editRectElem$, "cursor", "text"), $dvt$$2$$.$ToolkitUtils$.$appendChildElem$(this.$_childGroupElem$, this.$_editRectElem$), this.$_updateEditRectElem$(), this.$_alignTextForEdit$());
  };
  $dvt$$2$$.Text.prototype.$_updateEditRectElem$ = function $$dvt$$2$$$Text$$$_updateEditRectElem$$() {
    if ($dvt$$2$$.$Agent$.$isPlatformIE$() && this.$_editRectElem$) {
      var $transform$$3$$ = "translate(0," + -this.$_getBaselineTranslation$() + ")";
      $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$(this.$_editRectElem$, "transform", $transform$$3$$);
    }
  };
  $dvt$$2$$.Text.prototype.$impl_SetEditing$ = function $$dvt$$2$$$Text$$$impl_SetEditing$$($bEditing$$) {
    if (this.$_bEditMode$ && $bEditing$$ != this.$_bEditing$) {
      var $editedText$$1_obj$$94$$ = this.$getObj$(), $textElem$$1$$ = this.$_elem$, $input$$7_retText$$;
      if (!$bEditing$$ && this.$_editElem$) {
        $editedText$$1_obj$$94$$ = this.$_editElem$.value, this.$impl_setTextString$($editedText$$1_obj$$94$$), this.$_editEndCallback$ && ($input$$7_retText$$ = this.$_editEndCallback$.call(null, $editedText$$1_obj$$94$$)) && this.$impl_setTextString$($input$$7_retText$$), this.$getElem$().insertBefore($textElem$$1$$, this.$_editRectElem$), this.$_bEventListener$ && ($input$$7_retText$$ = this.$_editElem$, this.$_htmlTextAreaListenerFunc$ && ($dvt$$2$$.$ToolkitUtils$.$removeDomEventListener$($input$$7_retText$$, 
        $dvt$$2$$.KeyboardEvent.$KEYDOWN$, this.$_htmlTextAreaListenerFunc$, !1), $dvt$$2$$.$ToolkitUtils$.$removeDomEventListener$($input$$7_retText$$, $dvt$$2$$.KeyboardEvent.$KEYUP$, this.$_htmlTextAreaListenerFunc$, !1), $dvt$$2$$.$ToolkitUtils$.$removeDomEventListener$($input$$7_retText$$, "keypress", this.$_htmlTextAreaListenerFunc$, !1), $dvt$$2$$.$ToolkitUtils$.$removeDomEventListener$($input$$7_retText$$, "textInput", this.$_htmlTextAreaListenerFunc$, !1), $dvt$$2$$.$ToolkitUtils$.$removeDomEventListener$($input$$7_retText$$, 
        "textinput", this.$_htmlTextAreaListenerFunc$, !1), this.$_htmlTextAreaListenerFunc$ = null), this.$_editBlurFunc$ && ($dvt$$2$$.$ToolkitUtils$.$removeDomEventListener$($input$$7_retText$$, "blur", this.$_editBlurFunc$, !1), this.$_editBlurFunc$ = null), this.$_bEventListener$ = !1), this.$_editElem$ && this.$_editElem$.parentNode && this.$_editElem$.parentNode.removeChild(this.$_editElem$);
      } else {
        var $editText$$ = this.$impl_getText$();
        this.$_editElem$ ? this.$_updateEditElement$() : $input$$7_retText$$ = this.$impl__createHtmlTextArea$($editedText$$1_obj$$94$$, $textElem$$1$$, $editText$$);
        this.$_editStartCallback$ && ($input$$7_retText$$ = this.$_editStartCallback$.call(null, $editText$$)) && this.$impl_setTextString$($input$$7_retText$$);
        this.$getElem$().removeChild($textElem$$1$$);
        this.$_editElem$ && $dvt$$2$$.$ToolkitUtils$.$appendChildElem$($editedText$$1_obj$$94$$.$getCtx$().$_stage$.$_SVGRoot$.parentNode, this.$_editElem$);
        $input$$7_retText$$ = this.$_editElem$;
        var $thisRef$$21$$ = this;
        this.$_htmlTextAreaListenerFunc$ = function $this$$_htmlTextAreaListenerFunc$$($dvt$$2$$) {
          $thisRef$$21$$.$impl__handleHtmlTextAreaKeyboardEvent$($dvt$$2$$);
        };
        $dvt$$2$$.$ToolkitUtils$.$addDomEventListener$($input$$7_retText$$, $dvt$$2$$.KeyboardEvent.$KEYDOWN$, this.$_htmlTextAreaListenerFunc$, !1);
        $dvt$$2$$.$ToolkitUtils$.$addDomEventListener$($input$$7_retText$$, $dvt$$2$$.KeyboardEvent.$KEYUP$, this.$_htmlTextAreaListenerFunc$, !1);
        $dvt$$2$$.$ToolkitUtils$.$addDomEventListener$($input$$7_retText$$, "keypress", this.$_htmlTextAreaListenerFunc$, !1);
        $dvt$$2$$.$ToolkitUtils$.$addDomEventListener$($input$$7_retText$$, "textInput", this.$_htmlTextAreaListenerFunc$, !1);
        $dvt$$2$$.$ToolkitUtils$.$addDomEventListener$($input$$7_retText$$, "textinput", this.$_htmlTextAreaListenerFunc$, !1);
        this.$_editBlurFunc$ = function $this$$_editBlurFunc$$() {
          $thisRef$$21$$.$impl__blurEditText$();
        };
        $dvt$$2$$.$ToolkitUtils$.$addDomEventListener$($input$$7_retText$$, "blur", this.$_editBlurFunc$, !1);
        this.$_bEventListener$ = !0;
      }
      this.$_bEditing$ = $bEditing$$;
    } else {
      $bEditing$$ && this.$_editElem$ && this.$_updateEditElement$();
    }
  };
  $dvt$$2$$.Text.prototype.$impl_setEditWidth$ = function $$dvt$$2$$$Text$$$impl_setEditWidth$$($dvt$$2$$) {
    this.$_editPxWidth$ = $dvt$$2$$;
    this.$_alignTextForEdit$();
  };
  $dvt$$2$$.Text.prototype.$impl__handleHtmlTextAreaKeyboardEvent$ = function $$dvt$$2$$$Text$$$impl__handleHtmlTextAreaKeyboardEvent$$($event$$167$$) {
    $dvt$$2$$.Text.$_editFilter$($event$$167$$);
    this.$getObj$().$dispatchDisplayableEvent$($event$$167$$.type, $dvt$$2$$.$DomEventFactory$.$newEvent$($event$$167$$, this.$getCtx$()));
  };
  $dvt$$2$$.Text.$_editFilter$ = function $$dvt$$2$$$Text$$_editFilter$$($dvt$$2$$) {
    $dvt$$2$$ = $dvt$$2$$ || window.event;
    if ("textinput" != $dvt$$2$$.type && "textInput" != $dvt$$2$$.type && "keypress" == $dvt$$2$$.type) {
      var $code$$1$$ = $dvt$$2$$.charCode || $dvt$$2$$.keyCode;
      32 > $code$$1$$ && 13 == $code$$1$$ && $dvt$$2$$.preventDefault && $dvt$$2$$.preventDefault();
    }
  };
  $dvt$$2$$.Text.prototype.$impl_selectEditText$ = function $$dvt$$2$$$Text$$$impl_selectEditText$$() {
    this.$_editElem$ && this.$_editElem$.select();
  };
  $dvt$$2$$.Text.prototype.$impl_focusEditText$ = function $$dvt$$2$$$Text$$$impl_focusEditText$$() {
    this.$impl_SetEditing$(!0);
    if (this.$_editElem$) {
      var $dvt$$2$$ = this;
      window.setTimeout(function() {
        $dvt$$2$$.$_editElem$.focus();
      }, 0);
    }
  };
  $dvt$$2$$.Text.prototype.$impl__blurEditText$ = function $$dvt$$2$$$Text$$$impl__blurEditText$$() {
    this.$impl_SetEditing$(!1);
  };
  $dvt$$2$$.Text.prototype.$impl__createTSpan$ = function $$dvt$$2$$$Text$$$impl__createTSpan$$($anchor_baseline$$2_parentElem$$) {
    var $tspan$$ = $dvt$$2$$.$SvgShapeUtils$.createElement("tspan", void 0);
    $anchor_baseline$$2_parentElem$$ ? $dvt$$2$$.$ToolkitUtils$.$appendChildElem$($anchor_baseline$$2_parentElem$$, $tspan$$) : $dvt$$2$$.$ToolkitUtils$.$appendChildElem$(this.$getElem$(), $tspan$$);
    ($anchor_baseline$$2_parentElem$$ = $dvt$$2$$.$ToolkitUtils$.$getAttrNullNS$(this.$getElem$(), "dominant-baseline")) && $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$($tspan$$, "dominant-baseline", $anchor_baseline$$2_parentElem$$);
    ($anchor_baseline$$2_parentElem$$ = $dvt$$2$$.$ToolkitUtils$.$getAttrNullNS$(this.$getElem$(), "text-anchor")) && $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$($tspan$$, "text-anchor", $anchor_baseline$$2_parentElem$$);
    return $tspan$$;
  };
  $dvt$$2$$.Text.prototype.$impl__addTextNode$ = function $$dvt$$2$$$Text$$$impl__addTextNode$$($elem$$3$$, $text$$28$$) {
    var $textNode$$4$$ = document.createTextNode($text$$28$$);
    $elem$$3$$ ? $dvt$$2$$.$ToolkitUtils$.$appendChildElem$($elem$$3$$, $textNode$$4$$) : $dvt$$2$$.$ToolkitUtils$.$appendChildElem$(this.$getElem$(), $textNode$$4$$);
  };
  $dvt$$2$$.Text.prototype.$_getBaselineTranslation$ = function $$dvt$$2$$$Text$$$_getBaselineTranslation$$() {
    var $dy$$7_fontSize$$2$$ = 0;
    null != this.$_baseline$ && ($dy$$7_fontSize$$2$$ = $dvt$$2$$.$ToolkitUtils$.$getAttrNullNS$(this.$getElem$(), "font-size"), $dy$$7_fontSize$$2$$ || ($dy$$7_fontSize$$2$$ = $dvt$$2$$.$ToolkitUtils$.$getAttrNullNS$(this.$getOuterElem$(), "font-size")) || ($dy$$7_fontSize$$2$$ = "11"), $dy$$7_fontSize$$2$$ = this.$_baseline$ * parseFloat($dy$$7_fontSize$$2$$));
    return $dy$$7_fontSize$$2$$;
  };
  $dvt$$2$$.Text.prototype.$_getBaselineAdjustedMatrix$ = function $$dvt$$2$$$Text$$$_getBaselineAdjustedMatrix$$($mat$$4$$) {
    if (null != this.$_baseline$) {
      $mat$$4$$ || ($mat$$4$$ = new $dvt$$2$$.$Matrix$);
      var $nmat$$ = new $dvt$$2$$.$Matrix$(null, null, null, null, null, this.$_getBaselineTranslation$());
      $nmat$$.concat($mat$$4$$);
      $mat$$4$$ = $nmat$$;
    }
    return $mat$$4$$;
  };
  $dvt$$2$$.Text.prototype.$setMatrix$ = function $$dvt$$2$$$Text$$$setMatrix$$($mat$$5$$) {
    $dvt$$2$$.$Agent$.$isPlatformIE$() && (this.$_matrixForIE$ = $mat$$5$$, $mat$$5$$ = this.$_getBaselineAdjustedMatrix$($mat$$5$$), this.$_updateEditRectElem$());
    $dvt$$2$$.Text.$superclass$.$setMatrix$.call(this, $mat$$5$$);
  };
  $dvt$$2$$.Text.prototype.$getMatrix$ = function $$dvt$$2$$$Text$$$getMatrix$$() {
    var $matrix$$3$$ = null;
    $dvt$$2$$.$Agent$.$isPlatformIE$() && ($matrix$$3$$ = this.$_matrixForIE$);
    $matrix$$3$$ || ($matrix$$3$$ = $dvt$$2$$.Text.$superclass$.$getMatrix$.call(this));
    return $matrix$$3$$;
  };
  $dvt$$2$$.Text.prototype.$GetSvgDimensions$ = function $$dvt$$2$$$Text$$$GetSvgDimensions$$() {
    var $bbox$$1$$ = $dvt$$2$$.Text.$superclass$.$GetSvgDimensions$.call(this);
    $bbox$$1$$ && ($bbox$$1$$.y += this.$_getBaselineTranslation$());
    return $bbox$$1$$;
  };
  $dvt$$2$$.Text.prototype.$impl__createHtmlTextArea$ = function $$dvt$$2$$$Text$$$impl__createHtmlTextArea$$($localPoint$$1_obj$$95_savedRect_stagePoint$$1$$, $textElem$$2$$, $editText$$1$$) {
    var $input$$8$$ = document.createElement("textArea");
    this.$_editElem$ = $input$$8$$;
    this.$_editElem$.$_obj$ = this;
    var $bbox$$2$$ = $localPoint$$1_obj$$95_savedRect_stagePoint$$1$$.$getDimensions$(), $cssStyle$$5$$ = $localPoint$$1_obj$$95_savedRect_stagePoint$$1$$.$getCSSStyle$(), $cssSize$$, $cols$$1_cssFamily_t$$12$$;
    $cols$$1_cssFamily_t$$12$$ = 0;
    $cssStyle$$5$$ ? ($cssStyle$$5$$ = $cssStyle$$5$$.clone(), $cssSize$$ = $cssStyle$$5$$.$getStyle$("font-size"), $cssSize$$ || ($cssSize$$ = $dvt$$2$$.$ToolkitUtils$.$getAttrNullNS$($textElem$$2$$, "font-size") || "11", $cssStyle$$5$$.$setStyle$("font-size", $cssSize$$)), $cols$$1_cssFamily_t$$12$$ = $cssStyle$$5$$.$getStyle$("font-family"), $cols$$1_cssFamily_t$$12$$ || ($cols$$1_cssFamily_t$$12$$ = $dvt$$2$$.$ToolkitUtils$.$getAttrNullNS$($textElem$$2$$, "font-family"), $cssStyle$$5$$.$setStyle$("font-family", 
    $cols$$1_cssFamily_t$$12$$))) : ($cssSize$$ = $dvt$$2$$.$ToolkitUtils$.$getAttrNullNS$($textElem$$2$$, "font-size") || "11", $cols$$1_cssFamily_t$$12$$ = $dvt$$2$$.$ToolkitUtils$.$getAttrNullNS$($textElem$$2$$, "font-family"), $cssStyle$$5$$ = new $dvt$$2$$.$CSSStyle$("font-family:" + $cols$$1_cssFamily_t$$12$$ + "; font-size: " + $cssSize$$ + "px;"));
    if (this.$_editPxWidth$) {
      $cols$$1_cssFamily_t$$12$$ = new $dvt$$2$$.Text($localPoint$$1_obj$$95_savedRect_stagePoint$$1$$.$getCtx$(), "W");
      $cols$$1_cssFamily_t$$12$$.$impl_setCSSStyle$($cssStyle$$5$$);
      $cols$$1_cssFamily_t$$12$$.$alignMiddle$();
      $localPoint$$1_obj$$95_savedRect_stagePoint$$1$$.getParent().$addChild$($cols$$1_cssFamily_t$$12$$);
      var $dims$$28$$ = $cols$$1_cssFamily_t$$12$$.$getDimensions$();
      $localPoint$$1_obj$$95_savedRect_stagePoint$$1$$.getParent().removeChild($cols$$1_cssFamily_t$$12$$);
      $cols$$1_cssFamily_t$$12$$ = this.$_editPxWidth$ / $dims$$28$$.$w$;
      $bbox$$2$$.$w$ = this.$_editPxWidth$;
    } else {
      0 == $bbox$$2$$.$w$ && ($bbox$$2$$.$w$ = 10), this.$_editPxWidth$ = 2 * $bbox$$2$$.$w$, $cols$$1_cssFamily_t$$12$$ = 2;
    }
    $cols$$1_cssFamily_t$$12$$ = Math.floor(1.5 * $cols$$1_cssFamily_t$$12$$);
    $input$$8$$.setAttribute("rows", "1");
    $input$$8$$.setAttribute("cols", $cols$$1_cssFamily_t$$12$$);
    $input$$8$$.value = $editText$$1$$ ? $editText$$1$$ : "";
    this.$_editTooltip$ && $input$$8$$.setAttribute("title", this.$_editTooltip$);
    $cssStyle$$5$$.$setStyle$("outline-offset", "0px");
    $cssStyle$$5$$.$setStyle$("overflow", "hidden");
    $cssStyle$$5$$.$setStyle$("border", "none");
    $cssStyle$$5$$.$setStyle$("border-width", "0px");
    $cssStyle$$5$$.$setStyle$("margin", "0px");
    $cssStyle$$5$$.$setStyle$("resize", "none");
    $cssStyle$$5$$.$setStyle$("outline", "none");
    $cssStyle$$5$$.$setStyle$("dominant-baseline", $dvt$$2$$.$ToolkitUtils$.$getAttrNullNS$($textElem$$2$$, "dominant-baseline"));
    $cssStyle$$5$$.$setStyle$("font-size", $cssSize$$ + "px !important");
    $localPoint$$1_obj$$95_savedRect_stagePoint$$1$$ = new $dvt$$2$$.$Point$(this.$getX$(), this.$getY$());
    $localPoint$$1_obj$$95_savedRect_stagePoint$$1$$ = this.$getObj$().$localToStage$($localPoint$$1_obj$$95_savedRect_stagePoint$$1$$);
    $cssStyle$$5$$.$setStyle$("position", "absolute");
    $cssStyle$$5$$.$setStyle$("top", $localPoint$$1_obj$$95_savedRect_stagePoint$$1$$.y + "px");
    $cssStyle$$5$$.$setStyle$("left", $localPoint$$1_obj$$95_savedRect_stagePoint$$1$$.x + "px");
    $cssStyle$$5$$.$setStyle$("vertical-align", "baseline");
    $cssStyle$$5$$.$setStyle$("outline-offset", "0px");
    $dvt$$2$$.$Agent$.$isRightToLeft$(this.$getObj$().$getCtx$()) ? ($cssStyle$$5$$.$setStyle$("text-align", "right"), $cssStyle$$5$$.$setStyle$("padding", "0px 2px 0px 0px")) : ($cssStyle$$5$$.$setStyle$("text-align", "left"), $cssStyle$$5$$.$setStyle$("padding", "0px 0px 0px 2px"));
    $cssStyle$$5$$.$setStyle$("width", $bbox$$2$$.$w$ + "px");
    $localPoint$$1_obj$$95_savedRect_stagePoint$$1$$ = this.$_editElemClipRect$ || {};
    $cssStyle$$5$$.$setStyle$("clip", "rect(" + ($localPoint$$1_obj$$95_savedRect_stagePoint$$1$$.top ? $localPoint$$1_obj$$95_savedRect_stagePoint$$1$$.top : $bbox$$2$$.y) + "px," + ($localPoint$$1_obj$$95_savedRect_stagePoint$$1$$.right ? $localPoint$$1_obj$$95_savedRect_stagePoint$$1$$.right : $bbox$$2$$.x + $bbox$$2$$.$w$ + 2) + "px," + ($localPoint$$1_obj$$95_savedRect_stagePoint$$1$$.bottom ? $localPoint$$1_obj$$95_savedRect_stagePoint$$1$$.bottom : $bbox$$2$$.y + $bbox$$2$$.$h$) + "px," + 
    ($localPoint$$1_obj$$95_savedRect_stagePoint$$1$$.left ? $localPoint$$1_obj$$95_savedRect_stagePoint$$1$$.left : $bbox$$2$$.x) + "px)");
    $input$$8$$.setAttribute("style", $cssStyle$$5$$.toString());
    this.$_editElemClipRect$ && delete this.$_editElemClipRect$;
    $input$$8$$.setAttribute("wrap", "off");
    $input$$8$$[$dvt$$2$$.$HtmlKeyboardListenerUtils$.$ATTR_IGNORE_EVENTS_FROM_TARGET$] = !0;
    return $input$$8$$;
  };
  $dvt$$2$$.Text.prototype.$impl_destroy$ = function $$dvt$$2$$$Text$$$impl_destroy$$() {
    this.$_editElem$ && (this.$impl_SetEditing$(!1), this.$_editElem$ = null);
  };
  $dvt$$2$$.Text.$needsTextAnchorAdjustment$ = function $$dvt$$2$$$Text$$needsTextAnchorAdjustment$$() {
    return $dvt$$2$$.$Agent$.$isRightToLeft$() && ($dvt$$2$$.$Agent$.$isPlatformWebkit$() || $dvt$$2$$.$Agent$.$isPlatformGecko$() && 25 <= $dvt$$2$$.$Agent$.$getVersion$());
  };
  $dvt$$2$$.Text.prototype.$updateClipRect$ = function $$dvt$$2$$$Text$$$updateClipRect$$($dvt$$2$$) {
    this.$_editElemClipRect$ = {};
    this.$_editElemClipRect$.top = null;
    this.$_editElemClipRect$.right = null;
    this.$_editElemClipRect$.bottom = null;
    this.$_editElemClipRect$.left = $dvt$$2$$;
  };
  $dvt$$2$$.Text.prototype.$_updateEditElement$ = function $$dvt$$2$$$Text$$$_updateEditElement$$() {
    if (this.$_editElem$) {
      var $clipData_localPoint$$2_stagePoint$$2_values$$6$$ = new $dvt$$2$$.$Point$(this.$getX$(), this.$getY$()), $clipData_localPoint$$2_stagePoint$$2_values$$6$$ = this.$getObj$().$localToStage$($clipData_localPoint$$2_stagePoint$$2_values$$6$$);
      this.$_editElem$.style.top = $clipData_localPoint$$2_stagePoint$$2_values$$6$$.y + "px";
      this.$_editElem$.style.left = $clipData_localPoint$$2_stagePoint$$2_values$$6$$.x + "px";
      $clipData_localPoint$$2_stagePoint$$2_values$$6$$ = /\(([^)]+)\)/.exec(this.$_editElem$.style.clip);
      if ($clipData_localPoint$$2_stagePoint$$2_values$$6$$[1] && this.$_editElemClipRect$) {
        var $clipData_localPoint$$2_stagePoint$$2_values$$6$$ = $clipData_localPoint$$2_stagePoint$$2_values$$6$$[1].split(" "), $savedRect$$1$$ = this.$_editElemClipRect$;
        this.$_editElem$.style.clip = "rect(" + ($savedRect$$1$$.top ? $savedRect$$1$$.top + "px" : $clipData_localPoint$$2_stagePoint$$2_values$$6$$[0]) + " " + ($savedRect$$1$$.right ? $savedRect$$1$$.right + "px" : $clipData_localPoint$$2_stagePoint$$2_values$$6$$[1]) + " " + ($savedRect$$1$$.bottom ? $savedRect$$1$$.bottom + "px" : $clipData_localPoint$$2_stagePoint$$2_values$$6$$[2]) + " " + ($savedRect$$1$$.left ? $savedRect$$1$$.left + "px" : $clipData_localPoint$$2_stagePoint$$2_values$$6$$[3]) + 
        ")";
        this.$_editElemClipRect$ = void 0;
      }
    }
  };
  $dvt$$2$$.$TextFormatted$ = function $$dvt$$2$$$$TextFormatted$$($dvt$$2$$, $x$$79$$, $y$$61$$, $id$$61$$) {
    this.Init($dvt$$2$$, $x$$79$$, $y$$61$$, $id$$61$$);
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$TextFormatted$, $dvt$$2$$.Text, "dvt.TextFormatted");
  $dvt$$2$$.$TextFormatted$.$BOLD$ = "b";
  $dvt$$2$$.$TextFormatted$.$BREAK$ = "br";
  $dvt$$2$$.$TextFormatted$.$ITALIC$ = "i";
  $dvt$$2$$.$TextFormatted$.$LIST_ITEM$ = "li";
  $dvt$$2$$.$TextFormatted$.$ORDERED_LIST$ = "ol";
  $dvt$$2$$.$TextFormatted$.$PARAGRAPH$ = "p";
  $dvt$$2$$.$TextFormatted$.$UNORDERED_LIST$ = "ul";
  $dvt$$2$$.$TextFormatted$.prototype.Init = function $$dvt$$2$$$$TextFormatted$$$Init$($dvtContext$$5$$, $x$$80$$, $y$$62$$, $id$$62$$) {
    $dvt$$2$$.$TextFormatted$.$superclass$.Init.call(this, $dvtContext$$5$$, "", $x$$80$$, $y$$62$$, $id$$62$$);
    this.$_bHtmlText$ = !0;
  };
  $dvt$$2$$.$TextFormatted$.prototype.$getText$ = function $$dvt$$2$$$$TextFormatted$$$$getText$$() {
    return this.$impl_getText$();
  };
  $dvt$$2$$.$TextFormatted$.prototype.$setText$ = function $$dvt$$2$$$$TextFormatted$$$$setText$$($dvt$$2$$) {
    this.$impl_setText$($dvt$$2$$);
  };
  $dvt$$2$$.$TextFormatted$.prototype.$GetDimsForCaching$ = function $$dvt$$2$$$$TextFormatted$$$$GetDimsForCaching$$() {
    var $dvt$$2$$ = this.$getDimensions$(), $xx$$6$$ = this.$getX$();
    $dvt$$2$$.x > $xx$$6$$ && ($dvt$$2$$.$w$ += $dvt$$2$$.x - $xx$$6$$, $dvt$$2$$.x = $xx$$6$$);
    return $dvt$$2$$;
  };
  $dvt$$2$$.$TextFormatted$.prototype.$copyShape$ = function $$dvt$$2$$$$TextFormatted$$$$copyShape$$() {
    var $copy$$ = new $dvt$$2$$.$TextFormatted$(this.$getCtx$(), this.$getX$(), this.$getY$());
    $copy$$.$setText$(this.$getText$());
    return $copy$$;
  };
  $dvt$$2$$.$TextFormatted$.prototype.$impl_setText$ = function $$dvt$$2$$$$TextFormatted$$$$impl_setText$$($node$$137_text$$30$$) {
    if ($node$$137_text$$30$$ = (new $dvt$$2$$.$XmlParser$(this.$getObj$().$getCtx$())).parse("\x3croot\x3e" + $node$$137_text$$30$$ + "\x3c/root\x3e")) {
      this.$_bEnableVertIndent$ = !1, this.$impl__parseChildren$($node$$137_text$$30$$, null, 0, !1, !1);
    }
  };
  $dvt$$2$$.$TextFormatted$.prototype.$impl__parseChildren$ = function $$dvt$$2$$$$TextFormatted$$$$impl__parseChildren$$($childNodes$$15_node$$138$$, $currTspan$$, $nestedListLevel$$, $bFirstListItem$$, $bListItem$$) {
    $childNodes$$15_node$$138$$ = $childNodes$$15_node$$138$$.$getAllChildNodes$();
    for (var $childCnt$$ = $childNodes$$15_node$$138$$.length, $bPrevP$$ = !1, $i$$167$$ = 0;$i$$167$$ < $childCnt$$;$i$$167$$++) {
      var $child$$17_strText$$ = $childNodes$$15_node$$138$$[$i$$167$$];
      if ($child$$17_strText$$) {
        var $childName$$ = $child$$17_strText$$.getName();
        $bPrevP$$ && $childName$$ !== $dvt$$2$$.$TextFormatted$.$PARAGRAPH$ && $childName$$ !== $dvt$$2$$.$TextFormatted$.$ORDERED_LIST$ && $childName$$ !== $dvt$$2$$.$TextFormatted$.$UNORDERED_LIST$ && ($currTspan$$ = this.$impl__handleMarkup$($dvt$$2$$.$TextFormatted$.$PARAGRAPH$, $currTspan$$));
        $bPrevP$$ = !1;
        if ("#text" === $childName$$) {
          $child$$17_strText$$ = $child$$17_strText$$.getNodeValue(), $bListItem$$ && ($child$$17_strText$$ = "- " + $child$$17_strText$$), this.$impl__addTextNode$($currTspan$$, $child$$17_strText$$), this.$_bEnableVertIndent$ = !0;
        } else {
          var $tspan$$1$$ = this.$impl__handleMarkup$($childName$$, $currTspan$$, $nestedListLevel$$, $bFirstListItem$$), $childNestedListLevel$$ = $nestedListLevel$$, $childBFirstListItem$$ = !1;
          if ($childName$$ === $dvt$$2$$.$TextFormatted$.$ORDERED_LIST$ || $childName$$ === $dvt$$2$$.$TextFormatted$.$UNORDERED_LIST$) {
            0 == $childNestedListLevel$$ && ($childBFirstListItem$$ = !0), $childNestedListLevel$$++;
          }
          this.$impl__parseChildren$($child$$17_strText$$, $tspan$$1$$, $childNestedListLevel$$, $childBFirstListItem$$, $childName$$ === $dvt$$2$$.$TextFormatted$.$LIST_ITEM$);
          $childName$$ === $dvt$$2$$.$TextFormatted$.$BREAK$ && ($currTspan$$ = $tspan$$1$$);
          if ($childName$$ === $dvt$$2$$.$TextFormatted$.$PARAGRAPH$ || ($childName$$ === $dvt$$2$$.$TextFormatted$.$ORDERED_LIST$ || $childName$$ === $dvt$$2$$.$TextFormatted$.$UNORDERED_LIST$) && 1 > $nestedListLevel$$) {
            $bPrevP$$ = !0;
          }
          $childName$$ === $dvt$$2$$.$TextFormatted$.$LIST_ITEM$ && ($bFirstListItem$$ = !1);
        }
      }
    }
  };
  $dvt$$2$$.$TextFormatted$.prototype.$impl__handleMarkup$ = function $$dvt$$2$$$$TextFormatted$$$$impl__handleMarkup$$($nodeName$$5$$, $currTspan$$1_tspan$$2$$, $nestedListLevel$$1$$, $bFirstListItem$$1$$) {
    $currTspan$$1_tspan$$2$$ = this.$impl__createTSpan$($currTspan$$1_tspan$$2$$);
    $nodeName$$5$$ === $dvt$$2$$.$TextFormatted$.$BOLD$ ? $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$($currTspan$$1_tspan$$2$$, "font-weight", "bold") : $nodeName$$5$$ === $dvt$$2$$.$TextFormatted$.$ITALIC$ ? $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$($currTspan$$1_tspan$$2$$, "font-style", "italic") : $nodeName$$5$$ === $dvt$$2$$.$TextFormatted$.$BREAK$ ? ($dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$($currTspan$$1_tspan$$2$$, "x", "0"), $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$($currTspan$$1_tspan$$2$$, "dy", 
    "1em")) : $nodeName$$5$$ === $dvt$$2$$.$TextFormatted$.$PARAGRAPH$ ? (this.$_bEnableVertIndent$ && ($dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$($currTspan$$1_tspan$$2$$, "x", "0"), $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$($currTspan$$1_tspan$$2$$, "dy", "2em")), this.$_bEnableVertIndent$ = !0) : $nodeName$$5$$ !== $dvt$$2$$.$TextFormatted$.$ORDERED_LIST$ && $nodeName$$5$$ !== $dvt$$2$$.$TextFormatted$.$UNORDERED_LIST$ && $nodeName$$5$$ === $dvt$$2$$.$TextFormatted$.$LIST_ITEM$ && ($dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$($currTspan$$1_tspan$$2$$, 
    "x", $nestedListLevel$$1$$ + "em"), this.$_bEnableVertIndent$ && ($bFirstListItem$$1$$ ? $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$($currTspan$$1_tspan$$2$$, "dy", "2em") : $dvt$$2$$.$ToolkitUtils$.$setAttrNullNS$($currTspan$$1_tspan$$2$$, "dy", "1em")), this.$_bEnableVertIndent$ = !0);
    return $currTspan$$1_tspan$$2$$;
  };
  $dvt$$2$$.$AfStyleUtils$ = function $$dvt$$2$$$$AfStyleUtils$$() {
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfStyleUtils$, $dvt$$2$$.$Obj$, "dvt.AfStyleUtils");
  $dvt$$2$$.$AfStyleUtils$.$AFStretchWidth_STYLE_CLASS$ = "AFStretchWidth";
  $dvt$$2$$.$AfStyleUtils$.$AFAuxiliaryStretchWidth_STYLE_CLASS$ = "AFAuxiliaryStretchWidth";
  $dvt$$2$$.$AfStyleUtils$.$AFHVNodeTitleLabelStyle_STYLE_CLASS$ = "AFHVNodeTitleLabelStyle";
  $dvt$$2$$.$AfStyleUtils$.$AFHVNodeSubtitleLabelStyle_STYLE_CLASS$ = "AFHVNodeSubtitleLabelStyle";
  $dvt$$2$$.$AfStyleUtils$.$AFHVNodeLabelStyle_STYLE_CLASS$ = "AFHVNodeLabelStyle";
  $dvt$$2$$.$AfStyleUtils$.$AFHVPanelCardLabelStyle_STYLE_CLASS$ = "AFHVPanelCardLabelStyle";
  $dvt$$2$$.$AfStyleUtils$.$AFHVNodeTitleLabelStyle75_STYLE_CLASS$ = "AFHVNodeTitleLabelStyle75";
  $dvt$$2$$.$AfStyleUtils$.$AFHVNodeSubtitleLabelStyle75_STYLE_CLASS$ = "AFHVNodeSubtitleLabelStyle75";
  $dvt$$2$$.$AfStyleUtils$.$AFHVNodeLabelStyle75_STYLE_CLASS$ = "AFHVNodeLabelStyle75";
  $dvt$$2$$.$AfStyleUtils$.$AFHVPanelCardLabelStyle75_STYLE_CLASS$ = "AFHVPanelCardLabelStyle75";
  $dvt$$2$$.$AfStyleUtils$.$AFHVNodeTitleLabelStyle50_STYLE_CLASS$ = "AFHVNodeTitleLabelStyle50";
  $dvt$$2$$.$AfStyleUtils$.$AFHVNodeSubtitleLabelStyle50_STYLE_CLASS$ = "AFHVNodeSubtitleLabelStyle50";
  $dvt$$2$$.$AfStyleUtils$.$AFHVNodeLabelStyle50_STYLE_CLASS$ = "AFHVNodeLabelStyle50";
  $dvt$$2$$.$AfStyleUtils$.$AFHVNodeLabelStyle25_STYLE_CLASS$ = "AFHVNodeLabelStyle25";
  $dvt$$2$$.$AfStyleUtils$.$getTagSkinKeyMap$ = function $$dvt$$2$$$$AfStyleUtils$$$getTagSkinKeyMap$$() {
    void 0 === $dvt$$2$$.$AfStyleUtils$.$_tagSkinKeyMap$ && ($dvt$$2$$.$AfStyleUtils$.$_tagSkinKeyMap$ = {cb:"af_commandButton af_commandButton_icon-style af_commandButton_text-by-icon-style af_commandButton_active af_commandButton_hover af_commandButton.p_AFDisabled".split(" "), cil:"af_commandImageLink af_commandImageLink_image af_commandImageLink_text af_commandImageLink_active af_commandImageLink_hover af_commandImageLink.p_AFDisabled".split(" "), cl:["af_commandLink", "af_commandLink_active", 
    "af_commandLink_hover", "af_commandLink.p_AFDisabled"], cmi:"af_commandMenuItem af_commandMenuItem_menu-item af_commandMenuItem_menu-item-icon-style af_commandMenuItem_menu-item-text af_commandMenuItem.p_AFHighlighted_menu-item-text af_commandMenuItem.p_AFDisabled".split(" "), gb:"af_goButton af_goButton_icon-style af_goButton_text-by-icon-style af_goButton_active af_goButton_hover af_goButton.p_AFDisabled".split(" "), gl:["af_goLink", "af_goLink_active", "af_goLink_hover", "af_goLink.p_AFDisabled"], 
    i:["af_image"], m:"af_menu af_menu_bar-item af_menu_bar-item-icon-style af_menu_bar-item-text af_menu_bar-item-open-icon-style af_menu_bar-item.p_AFDepressed af_menu_bar-item.p_AFHighlighted af_menu.p_AFDisabled".split(" "), pfl:["af_panelFormLayout", "AFPanelFormLayoutContentCell", "af_panelFormLayout_label-cell"], pgl:["af_panelGroupLayout"], plm:["af_panelLabelAndMessage", "af_panelLabelAndMessage_label", "af_panelLabelAndMessage_content-cell"], se:["af_separator"], lk:"af_link af_link_image af_link_text af_link_image-hover af_link_image-depressed af_link_active af_link_hover af_link.p_AFDisabled".split(" "), 
    bt:"af_button af_button_image af_button_text af_button_image-hover af_button_image-depressed af_button_link af_button_leading-text af_button_depressed af_button_hover af_button.p_AFDisabled".split(" ")});
    return $dvt$$2$$.$AfStyleUtils$.$_tagSkinKeyMap$;
  };
  $dvt$$2$$.$AfStyleUtils$.$setTagSkinKeyMap$ = function $$dvt$$2$$$$AfStyleUtils$$$setTagSkinKeyMap$$($selectors$$11$$, $afStyles$$2$$) {
    if ($afStyles$$2$$ && 0 < $afStyles$$2$$.length) {
      for (var $afStylestyleMap_tagSkinKeyMap$$1$$ = {}, $i$$168$$ = 0;$i$$168$$ < $afStyles$$2$$.length;$i$$168$$++) {
        var $font$$3_styles$$12_tmpSels$$ = $afStyles$$2$$[$i$$168$$];
        "defaultFont" == $font$$3_styles$$12_tmpSels$$.name ? ($font$$3_styles$$12_tmpSels$$ = new $dvt$$2$$.$CSSStyle$($font$$3_styles$$12_tmpSels$$.value), $dvt$$2$$.$AfStyleUtils$.$_setDefaultFontFamily$($font$$3_styles$$12_tmpSels$$.$getStyle$($dvt$$2$$.$CSSStyle$.$FONT_FAMILY$)), $dvt$$2$$.$AfStyleUtils$.$_setDefaultFontSize$($font$$3_styles$$12_tmpSels$$.$getStyle$($dvt$$2$$.$CSSStyle$.$FONT_SIZE$)), $dvt$$2$$.$AfStyleUtils$.$_setDefaultFontColor$($font$$3_styles$$12_tmpSels$$.$getStyle$($dvt$$2$$.$CSSStyle$.$COLOR$))) : 
        $font$$3_styles$$12_tmpSels$$.name && void 0 != $font$$3_styles$$12_tmpSels$$.value && ($afStylestyleMap_tagSkinKeyMap$$1$$[$font$$3_styles$$12_tmpSels$$.name] = new $dvt$$2$$.$CSSStyle$($font$$3_styles$$12_tmpSels$$.value));
      }
      $dvt$$2$$.$AfStyleUtils$.$_styleMap$ = $afStylestyleMap_tagSkinKeyMap$$1$$;
    }
    if ($selectors$$11$$ && 0 < $selectors$$11$$.length) {
      $afStylestyleMap_tagSkinKeyMap$$1$$ = {};
      for ($i$$168$$ = 0;$i$$168$$ < $selectors$$11$$.length;$i$$168$$++) {
        var $compSels_j$$22$$ = $selectors$$11$$[$i$$168$$];
        if ($compSels_j$$22$$.name && void 0 !== $compSels_j$$22$$.value && ($font$$3_styles$$12_tmpSels$$ = $compSels_j$$22$$.value.split(","), $afStylestyleMap_tagSkinKeyMap$$1$$[$compSels_j$$22$$.name] = $font$$3_styles$$12_tmpSels$$, !$dvt$$2$$.$AfStyleUtils$.$_styleMap$)) {
          for ($compSels_j$$22$$ = 0;$compSels_j$$22$$ < $font$$3_styles$$12_tmpSels$$.length;$compSels_j$$22$$++) {
          }
        }
      }
      $dvt$$2$$.$AfStyleUtils$.$_tagSkinKeyMap$ = $afStylestyleMap_tagSkinKeyMap$$1$$;
    }
  };
  $dvt$$2$$.$AfStyleUtils$.$setTagSkinKeyMapJSON$ = function $$dvt$$2$$$$AfStyleUtils$$$setTagSkinKeyMapJSON$$($selectors$$12$$, $afStyles$$3$$) {
    if ($afStyles$$3$$) {
      var $afStylestyleMap$$1_tagSkinKeyMap$$2$$ = {}, $key$$45$$;
      for ($key$$45$$ in $afStyles$$3$$) {
        if ($afStyles$$3$$.hasOwnProperty($key$$45$$)) {
          var $font$$4_tmpSels$$1_value$$105$$ = $afStyles$$3$$[$key$$45$$];
          "defaultFont" == $key$$45$$ ? ($font$$4_tmpSels$$1_value$$105$$ = new $dvt$$2$$.$CSSStyle$($font$$4_tmpSels$$1_value$$105$$), $dvt$$2$$.$AfStyleUtils$.$_setDefaultFontFamily$($font$$4_tmpSels$$1_value$$105$$.$getStyle$($dvt$$2$$.$CSSStyle$.$FONT_FAMILY$)), $dvt$$2$$.$AfStyleUtils$.$_setDefaultFontSize$($font$$4_tmpSels$$1_value$$105$$.$getStyle$($dvt$$2$$.$CSSStyle$.$FONT_SIZE$)), $dvt$$2$$.$AfStyleUtils$.$_setDefaultFontColor$($font$$4_tmpSels$$1_value$$105$$.$getStyle$($dvt$$2$$.$CSSStyle$.$COLOR$))) : 
          $key$$45$$ && void 0 != $font$$4_tmpSels$$1_value$$105$$ && ($afStylestyleMap$$1_tagSkinKeyMap$$2$$[$key$$45$$] = new $dvt$$2$$.$CSSStyle$($font$$4_tmpSels$$1_value$$105$$));
        }
      }
      $dvt$$2$$.$AfStyleUtils$.$_styleMap$ = $afStylestyleMap$$1_tagSkinKeyMap$$2$$;
    }
    if ($selectors$$12$$) {
      $afStylestyleMap$$1_tagSkinKeyMap$$2$$ = {};
      for ($key$$45$$ in $selectors$$12$$) {
        if ($selectors$$12$$.hasOwnProperty($key$$45$$) && ($font$$4_tmpSels$$1_value$$105$$ = $selectors$$12$$[$key$$45$$], $key$$45$$ && void 0 !== $font$$4_tmpSels$$1_value$$105$$ && ($font$$4_tmpSels$$1_value$$105$$ = $font$$4_tmpSels$$1_value$$105$$.split(","), $afStylestyleMap$$1_tagSkinKeyMap$$2$$[$key$$45$$] = $font$$4_tmpSels$$1_value$$105$$, !$dvt$$2$$.$AfStyleUtils$.$_styleMap$))) {
          for (var $j$$23$$ = 0;$j$$23$$ < $font$$4_tmpSels$$1_value$$105$$.length;$j$$23$$++) {
          }
        }
      }
      $dvt$$2$$.$AfStyleUtils$.$_tagSkinKeyMap$ = $afStylestyleMap$$1_tagSkinKeyMap$$2$$;
    }
  };
  $dvt$$2$$.$AfStyleUtils$.$getDefaultButtonDisabledStyle$ = function $$dvt$$2$$$$AfStyleUtils$$$getDefaultButtonDisabledStyle$$() {
    return new $dvt$$2$$.$CSSStyle$("color:#6E7587;border-style:solid;border-width:1px;border-color:#9297A6;border-top:1px solid #D5D5D5;border-right:1px solid #D5D5D5;border-bottom:1px solid #D5D5D5;border-left:1px solid #D5D5D5;background-image:-moz-linear-gradient(top, #F4F4F4 0%, #E5E5E5 100%)");
  };
  $dvt$$2$$.$AfStyleUtils$.$getDefaultCommandButtonDisabledStyle$ = function $$dvt$$2$$$$AfStyleUtils$$$getDefaultCommandButtonDisabledStyle$$() {
    return new $dvt$$2$$.$CSSStyle$("color:#6E7587;border-style:solid;border-width:1px;border-color:#9297A6;border-top:1px solid #D5D5D5;border-right:1px solid #D5D5D5;border-bottom:1px solid #D5D5D5;border-left:1px solid #D5D5D5;background-image:-moz-linear-gradient(top, #F4F4F4 0%, #E5E5E5 100%)");
  };
  $dvt$$2$$.$AfStyleUtils$.$getDefaultGoButtonDisabledStyle$ = function $$dvt$$2$$$$AfStyleUtils$$$getDefaultGoButtonDisabledStyle$$() {
    return new $dvt$$2$$.$CSSStyle$("color:#6E7587;border-style:solid;border-width:1px;border-color:#9297A6;border-top:1px solid #D5D5D5;border-right:1px solid #D5D5D5;border-bottom:1px solid #D5D5D5;border-left:1px solid #D5D5D5;background-image:-moz-linear-gradient(top, #F4F4F4 0%, #E5E5E5 100%)");
  };
  $dvt$$2$$.$AfStyleUtils$.$getDefaultLinkDisabledStyle$ = function $$dvt$$2$$$$AfStyleUtils$$$getDefaultLinkDisabledStyle$$() {
    return new $dvt$$2$$.$CSSStyle$("color:#8E97AF");
  };
  $dvt$$2$$.$AfStyleUtils$.$getDefaultCommandLinkDisabledStyle$ = function $$dvt$$2$$$$AfStyleUtils$$$getDefaultCommandLinkDisabledStyle$$() {
    return new $dvt$$2$$.$CSSStyle$("text-decoration:none;cursor:default;color:#8E97AF");
  };
  $dvt$$2$$.$AfStyleUtils$.$getDefaultCommandImageLinkDisabledStyle$ = function $$dvt$$2$$$$AfStyleUtils$$$getDefaultCommandImageLinkDisabledStyle$$() {
    return new $dvt$$2$$.$CSSStyle$("color:#8E97AF");
  };
  $dvt$$2$$.$AfStyleUtils$.$getDefaultGoLinkDisabledStyle$ = function $$dvt$$2$$$$AfStyleUtils$$$getDefaultGoLinkDisabledStyle$$() {
    return new $dvt$$2$$.$CSSStyle$("text-decoration:none;cursor:default;color:#8E97AF");
  };
  $dvt$$2$$.$AfStyleUtils$.$getStyleMap$ = function $$dvt$$2$$$$AfStyleUtils$$$getStyleMap$$() {
    if (!$dvt$$2$$.$AfStyleUtils$.$_styleMap$) {
      var $styleMap$$43$$ = {};
      $styleMap$$43$$.af_panelGroupLayout = new $dvt$$2$$.$CSSStyle$("");
      $styleMap$$43$$.af_image = new $dvt$$2$$.$CSSStyle$("border:0px");
      $styleMap$$43$$.af_separator = new $dvt$$2$$.$CSSStyle$("border-bottom:1px solid #D6DFE6;margin-top:3px;margin-bottom:3px;border-top:0px;border-left:0px;border-right:0px");
      $styleMap$$43$$.af_panelFormLayout = new $dvt$$2$$.$CSSStyle$("");
      $styleMap$$43$$.AFPanelFormLayoutContentCell = new $dvt$$2$$.$CSSStyle$("padding-left:8px;padding-right:0px;text-align:left;font-family:Tahoma, Verdana, Helvetica, sans-serif;vertical-align:top;padding-top:2px;padding-bottom:0px;padding:1px 0 0 2px");
      $styleMap$$43$$["af_panelFormLayout_label-cell"] = new $dvt$$2$$.$CSSStyle$("padding:0px 6px 0px 0px;padding-left:8px;padding-right:0px;text-align:right;padding-top:3px;padding-bottom:1px;white-space:nowrap");
      $styleMap$$43$$.af_panelLabelAndMessage = new $dvt$$2$$.$CSSStyle$("");
      $styleMap$$43$$.af_panelLabelAndMessage_label = new $dvt$$2$$.$CSSStyle$("font-family:Tahoma, Verdana, Helvetica, sans-serif;font-size:11px;text-align:right;color:#4F4F4F;padding:0px 6px 0px 0px;font-weight:normal");
      $styleMap$$43$$.af_commandButton = new $dvt$$2$$.$CSSStyle$("font-family:Tahoma, Verdana, Helvetica, sans-serif;font-weight:normal;font-size:11px;color:#333333;border-top:1px solid #95B6D4;border-right:1px solid #95B6D4;border-bottom:1px solid #92B3D1;border-left:1px solid #95B6D4;border-radius:3px;background-image:-moz-linear-gradient(top, #CCE2F6 0%, #B1D2F2 100%);text-decoration:none;white-space:nowrap;margin:0px;padding-top:1px;padding-bottom:3px;padding:1px 1px 0px 2px;padding-left:6px;padding-right:6px");
      $styleMap$$43$$["af_commandButton_icon-style"] = new $dvt$$2$$.$CSSStyle$("vertical-align:middle;border-width:0px;padding-left:0px;padding-right:0px");
      $styleMap$$43$$["af_commandButton_text-by-icon-style"] = new $dvt$$2$$.$CSSStyle$("padding-left:3px");
      $styleMap$$43$$.af_commandButton_active = new $dvt$$2$$.$CSSStyle$("font-family:Tahoma, Verdana, Helvetica, sans-serif;font-weight:normal;font-size:11px;color:#333333;border-top:1px solid #648BAF;border-right:1px solid #789FC4;border-bottom:1px solid #789FC4;border-left:1px solid #789FC4;background-image:-moz-linear-gradient(top, #6AA1D5 0%, #ACCAE6 100%)");
      $styleMap$$43$$.af_commandButton_hover = new $dvt$$2$$.$CSSStyle$("font-family:Tahoma, Verdana, Helvetica, sans-serif;font-weight:normal;font-size:11px;color:#333333;border-top:1px solid #E2CB9B;border-right:1px solid #E2CB9B;border-bottom:1px solid #D4BB87;border-left:1px solid #E2CB9B;background-image:-moz-linear-gradient(top, #FFE4A8 0%, #FFD475 100%)");
      $styleMap$$43$$["af_commandButton.p_AFDisabled"] = $dvt$$2$$.$AfStyleUtils$.$getDefaultCommandButtonDisabledStyle$();
      $styleMap$$43$$.af_commandLink = new $dvt$$2$$.$CSSStyle$("font-family:Tahoma, Verdana, Helvetica, sans-serif;font-weight:normal;font-size:11px;color:#003286;text-decoration:none");
      $styleMap$$43$$.af_commandLink_hover = new $dvt$$2$$.$CSSStyle$("text-decoration:underline");
      $styleMap$$43$$.af_commandLink_active = new $dvt$$2$$.$CSSStyle$("color:#72007C");
      $styleMap$$43$$["af_commandLink.p_AFDisabled"] = $dvt$$2$$.$AfStyleUtils$.$getDefaultCommandLinkDisabledStyle$();
      $styleMap$$43$$.af_commandImageLink = new $dvt$$2$$.$CSSStyle$("font-family:Tahoma, Verdana, Helvetica, sans-serif;font-weight:normal;font-size:11px;color:#003286;text-decoration:none;white-space:nowrap");
      $styleMap$$43$$.af_commandImageLink_image = new $dvt$$2$$.$CSSStyle$("border:none;vertical-align:middle;display:inline");
      $styleMap$$43$$.af_commandImageLink_text = new $dvt$$2$$.$CSSStyle$("margin-left:3px");
      $styleMap$$43$$.af_commandImageLink_hover = new $dvt$$2$$.$CSSStyle$("text-decoration:underline");
      $styleMap$$43$$.af_commandImageLink_active = new $dvt$$2$$.$CSSStyle$("color:#72007C");
      $styleMap$$43$$["af_commandImageLink.p_AFDisabled"] = $dvt$$2$$.$AfStyleUtils$.$getDefaultCommandImageLinkDisabledStyle$();
      $styleMap$$43$$.af_goButton = new $dvt$$2$$.$CSSStyle$("font-family:Tahoma, Verdana, Helvetica, sans-serif;font-weight:normal;font-size:11px;color:#333333;border-top:1px solid #95B6D4;border-right:1px solid #95B6D4;border-bottom:1px solid #92B3D1;border-left:1px solid #95B6D4;border-radius:3px;background-image:-moz-linear-gradient(top, #CCE2F6 0%, #B1D2F2 100%);text-decoration:none;white-space:nowrap;margin:0px;padding-top:1px;padding-bottom:3px;padding:1px 1px 0px 2px;padding-left:6px;padding-right:6px");
      $styleMap$$43$$["af_goButton_icon-style"] = new $dvt$$2$$.$CSSStyle$("vertical-align:middle;border-width:0px;padding-left:0px;padding-right:0px");
      $styleMap$$43$$["af_goButton_text-by-icon-style"] = new $dvt$$2$$.$CSSStyle$("padding-left:3px");
      $styleMap$$43$$.af_goButton_active = new $dvt$$2$$.$CSSStyle$("font-family:Tahoma, Verdana, Helvetica, sans-serif;font-weight:normal;font-size:11px;color:#333333;border-top:1px solid #648BAF;border-right:1px solid #789FC4;border-bottom:1px solid #789FC4;border-left:1px solid #789FC4;background-image:-moz-linear-gradient(top, #6AA1D5 0%, #ACCAE6 100%)");
      $styleMap$$43$$.af_goButton_hover = new $dvt$$2$$.$CSSStyle$("font-family:Tahoma, Verdana, Helvetica, sans-serif;font-weight:normal;font-size:11px;color:#333333;border-top:1px solid #E2CB9B;border-right:1px solid #E2CB9B;border-bottom:1px solid #D4BB87;border-left:1px solid #E2CB9B;background-image:-moz-linear-gradient(top, #FFE4A8 0%, #FFD475 100%)");
      $styleMap$$43$$["af_goButton.p_AFDisabled"] = $dvt$$2$$.$AfStyleUtils$.$getDefaultGoButtonDisabledStyle$();
      $styleMap$$43$$.af_goLink = new $dvt$$2$$.$CSSStyle$("font-family:Tahoma, Verdana, Helvetica, sans-serif;font-weight:normal;font-size:11px;color:#003286;text-decoration:none");
      $styleMap$$43$$.af_goLink_hover = new $dvt$$2$$.$CSSStyle$("text-decoration:underline");
      $styleMap$$43$$.af_goLink_active = new $dvt$$2$$.$CSSStyle$("color:#72007C");
      $styleMap$$43$$["af_goLink.p_AFDisabled"] = $dvt$$2$$.$AfStyleUtils$.$getDefaultGoLinkDisabledStyle$();
      $styleMap$$43$$.af_link = new $dvt$$2$$.$CSSStyle$("font-family:Tahoma, Verdana, Helvetica, sans-serif;font-weight:normal;font-size:11px;color:#003286;text-decoration:none;white-space:nowrap");
      $styleMap$$43$$.af_link_image = new $dvt$$2$$.$CSSStyle$("border:none;vertical-align:middle;display:inline");
      $styleMap$$43$$.af_link_text = new $dvt$$2$$.$CSSStyle$("margin-left:3px");
      $styleMap$$43$$["af_link_image-hover"] = new $dvt$$2$$.$CSSStyle$("border:none;vertical-align:middle;display:none");
      $styleMap$$43$$["af_link_image-depressed"] = new $dvt$$2$$.$CSSStyle$("border:none;vertical-align:middle;display:none");
      $styleMap$$43$$.af_link_active = new $dvt$$2$$.$CSSStyle$("color:#72007C");
      $styleMap$$43$$.af_link_hover = new $dvt$$2$$.$CSSStyle$("text-decoration:underline");
      $styleMap$$43$$["af_link.p_AFDisabled"] = $dvt$$2$$.$AfStyleUtils$.$getDefaultLinkDisabledStyle$();
      $styleMap$$43$$.af_button = new $dvt$$2$$.$CSSStyle$("display:inline-block;padding:0px;cursor:default;white-space:nowrap;min-height:19px;border-top:1px solid #95B6D4;border-right:1px solid #95B6D4;border-bottom:1px solid #92B3D1;border-left:1px solid #95B6D4;border-radius:3px;background-image:-moz-linear-gradient(top, #CCE2F6 0%, #B1D2F2 100%);font-family:Tahoma, Verdana, Helvetica, sans-serif;font-weight:normal;font-size:11px;color:#333333");
      $styleMap$$43$$.af_button_image = new $dvt$$2$$.$CSSStyle$("vertical-align:middle;border:0px transparent;display:inline");
      $styleMap$$43$$.af_button_text = new $dvt$$2$$.$CSSStyle$("white-space:nowrap;text-decoration:none;padding-left:3px;padding-right:0px;min-height:15px;display:inline-block;vertical-align:middle;line-height:1em;color:inherit");
      $styleMap$$43$$["af_button_image-hover"] = new $dvt$$2$$.$CSSStyle$("vertical-align:middle;border:0px transparent;display:none");
      $styleMap$$43$$["af_button_image-depressed"] = new $dvt$$2$$.$CSSStyle$("vertical-align:middle;border:0px transparent;display:none");
      $styleMap$$43$$.af_button_link = new $dvt$$2$$.$CSSStyle$("text-decoration:none;cursor:default;display:block;white-space:nowrap;padding:2px 9px 1px 9px;color:inherit");
      $styleMap$$43$$["af_button_leading-text"] = new $dvt$$2$$.$CSSStyle$("white-space:nowrap;text-decoration:none;padding-left:0px;padding-right:3px");
      $styleMap$$43$$.af_button_depressed = new $dvt$$2$$.$CSSStyle$("font-family:Tahoma, Verdana, Helvetica, sans-serif;font-weight:normal;font-size:11px;color:#333333;border-top:1px solid #648BAF;border-right:1px solid #789FC4;border-bottom:1px solid #789FC4;border-left:1px solid #789FC4;background-image:-moz-linear-gradient(top, #6AA1D5 0%, #ACCAE6 100%)");
      $styleMap$$43$$.af_button_hover = new $dvt$$2$$.$CSSStyle$("font-family:Tahoma, Verdana, Helvetica, sans-serif;font-weight:normal;font-size:11px;color:#333333;border-top:1px solid #E2CB9B;border-right:1px solid #E2CB9B;border-bottom:1px solid #D4BB87;border-left:1px solid #E2CB9B;background-image:-moz-linear-gradient(top, #FFE4A8 0%, #FFD475 100%)");
      $styleMap$$43$$["af_button.p_AFDisabled"] = $dvt$$2$$.$AfStyleUtils$.$getDefaultButtonDisabledStyle$();
      $styleMap$$43$$.af_menu = new $dvt$$2$$.$CSSStyle$("");
      $styleMap$$43$$["af_menu_bar-item"] = new $dvt$$2$$.$CSSStyle$("font-family:Tahoma, Verdana, Helvetica, sans-serif;font-weight:normal;font-size:11px;cursor:default;white-space:nowrap;height:17px;padding:3px 1px 1px 1px;border-radius:3px");
      $styleMap$$43$$["af_menu_bar-item-icon-style"] = new $dvt$$2$$.$CSSStyle$("padding-left:3px;padding-right:0px");
      $styleMap$$43$$["af_menu_bar-item-text"] = new $dvt$$2$$.$CSSStyle$("min-height:16px;display:block;padding:0px 0px 0px 5px;white-space:nowrap;cursor:default;text-decoration:none;color:#000000;padding-left:5px;padding-right:0px");
      $styleMap$$43$$["af_menu_bar-item-open-icon-style"] = new $dvt$$2$$.$CSSStyle$("background-repeat:no-repeat;height:7px;background-image:url(/afr/skyros-v1/menu_l23_button_dropdown_ena.png);background-position:center bottom;width:9px;padding-left:3px;padding-right:3px");
      $styleMap$$43$$.af_commandMenuItem = new $dvt$$2$$.$CSSStyle$("");
      $styleMap$$43$$["af_commandMenuItem_menu-item"] = new $dvt$$2$$.$CSSStyle$("font-family:Tahoma, Verdana, Helvetica, sans-serif;font-weight:normal;font-size:11px;color:#333333;height:21px;background-color:transparent");
      $styleMap$$43$$["af_commandMenuItem_menu-item-icon-style"] = new $dvt$$2$$.$CSSStyle$("background-image:none;padding:0px;cursor:default;text-decoration:none;background-color:transparent;text-align:center;width:21px;border-top:none;border-bottom:none");
      $styleMap$$43$$["af_commandMenuItem_menu-item-text"] = new $dvt$$2$$.$CSSStyle$("background-color:#FFFFFF;background-image:none;cursor:default;text-decoration:none;white-space:nowrap;color:#000000;padding:0px 10px 0px 0px;border-top:none;border-bottom:none");
      $styleMap$$43$$["af_commandMenuItem.p_AFHighlighted_menu-item-text"] = new $dvt$$2$$.$CSSStyle$("border-top:none;border-bottom:none;background-color:#C1E6FF");
      $dvt$$2$$.$AfStyleUtils$.$_styleMap$ = $styleMap$$43$$;
    }
    return $dvt$$2$$.$AfStyleUtils$.$_styleMap$;
  };
  $dvt$$2$$.$AfStyleUtils$.$_getTextAlignAttr$ = function $$dvt$$2$$$$AfStyleUtils$$$_getTextAlignAttr$$($rightAlign$$) {
    return $dvt$$2$$.$AfStyleUtils$.$_bLocaleR2L$ ? $rightAlign$$ ? "text-align:left" : "text-align:right" : $rightAlign$$ ? "text-align:right" : "text-align:left";
  };
  $dvt$$2$$.$AfStyleUtils$.$getBackgroundPositionAttr$ = function $$dvt$$2$$$$AfStyleUtils$$$getBackgroundPositionAttr$$() {
    return $dvt$$2$$.$AfStyleUtils$.$_bLocaleR2L$ ? "background-position:right bottom" : "background-position:left bottom";
  };
  $dvt$$2$$.$AfStyleUtils$.$getDefaultPanelCardStyles$ = function $$dvt$$2$$$$AfStyleUtils$$$getDefaultPanelCardStyles$$() {
    var $defStyle$$ = new $dvt$$2$$.$CSSStyle$;
    $defStyle$$.$setStyle$($dvt$$2$$.$CSSStyle$.$PADDING$, "4px");
    $defStyle$$.$setStyle$($dvt$$2$$.$CSSStyle$.$FILL_TYPE$, "gradient");
    $defStyle$$.$setStyle$($dvt$$2$$.$CSSStyle$.$BORDER_TYPE$, "gradient");
    $defStyle$$.$setStyle$($dvt$$2$$.$CSSStyle$.$BACKGROUND_COLOR$, "#E0EAEB");
    $defStyle$$.$setStyle$($dvt$$2$$.$CSSStyle$.$BORDER_WIDTH$, "1px");
    $defStyle$$.$setStyle$($dvt$$2$$.$CSSStyle$.$BORDER_COLOR$, "#98ABBC");
    var $styleList$$2$$ = [];
    $styleList$$2$$.push($defStyle$$);
    return $styleList$$2$$;
  };
  $dvt$$2$$.$AfStyleUtils$.$getDefaultCSSStyle$ = function $$dvt$$2$$$$AfStyleUtils$$$getDefaultCSSStyle$$($tagName$$2$$) {
    var $styleList$$3$$ = [];
    if ($tagName$$2$$) {
      var $selectors$$13$$ = $dvt$$2$$.$AfStyleUtils$.$getTagSkinKeyMap$()[$tagName$$2$$], $styleMap$$44$$ = $dvt$$2$$.$AfStyleUtils$.$getStyleMap$();
      if ($selectors$$13$$ && 0 < $selectors$$13$$.length && $styleMap$$44$$) {
        for (var $i$$169$$ = 0;$i$$169$$ < $selectors$$13$$.length;$i$$169$$++) {
          var $sel$$1$$ = $selectors$$13$$[$i$$169$$];
          $sel$$1$$ && $styleMap$$44$$[$sel$$1$$] ? $styleList$$3$$.push($styleMap$$44$$[$sel$$1$$]) : $styleList$$3$$.push(new $dvt$$2$$.$CSSStyle$);
        }
      }
      if ("pc" == $tagName$$2$$) {
        return $dvt$$2$$.$AfStyleUtils$.$_panelCardMap$ || ($dvt$$2$$.$AfStyleUtils$.$_panelCardMap$ = $dvt$$2$$.$AfStyleUtils$.$getDefaultPanelCardStyles$()), $dvt$$2$$.$AfStyleUtils$.$_panelCardMap$;
      }
    }
    return $styleList$$3$$;
  };
  $dvt$$2$$.$AfStyleUtils$.$getStyleClass$ = function $$dvt$$2$$$$AfStyleUtils$$$getStyleClass$$($styleClassName$$) {
    var $styleMap$$45$$ = $dvt$$2$$.$AfStyleUtils$.$getStyleMap$();
    return $styleMap$$45$$ && $styleClassName$$ && $styleMap$$45$$[$styleClassName$$] ? $styleMap$$45$$[$styleClassName$$] : "";
  };
  $dvt$$2$$.$AfStyleUtils$.$getDefaultTextStyle$ = function $$dvt$$2$$$$AfStyleUtils$$$getDefaultTextStyle$$() {
    var $style$$14$$ = new $dvt$$2$$.$CSSStyle$;
    $style$$14$$.$setStyle$($dvt$$2$$.$CSSStyle$.$FONT_FAMILY$, $dvt$$2$$.$AfStyleUtils$.$getDefaultFontFamily$());
    $style$$14$$.$setStyle$($dvt$$2$$.$CSSStyle$.$FONT_SIZE$, $dvt$$2$$.$AfStyleUtils$.$getDefaultFontSize$());
    $style$$14$$.$setStyle$($dvt$$2$$.$CSSStyle$.$COLOR$, "black");
    return $style$$14$$;
  };
  $dvt$$2$$.$AfStyleUtils$.$getAFStretchWidthStyle$ = function $$dvt$$2$$$$AfStyleUtils$$$getAFStretchWidthStyle$$($styleClassName$$1$$) {
    return $dvt$$2$$.$AfStyleUtils$.$AFStretchWidth_STYLE_CLASS$ == $styleClassName$$1$$ || $dvt$$2$$.$AfStyleUtils$.$AFAuxiliaryStretchWidth_STYLE_CLASS$ == $styleClassName$$1$$ ? ($dvt$$2$$.$AfStyleUtils$.$_afStretchWidth$ || ($dvt$$2$$.$AfStyleUtils$.$_afStretchWidth$ = new $dvt$$2$$.$CSSStyle$, $dvt$$2$$.$AfStyleUtils$.$_afStretchWidth$.$setStyle$($dvt$$2$$.$CSSStyle$.$WIDTH$, "100%")), $dvt$$2$$.$AfStyleUtils$.$_afStretchWidth$) : null;
  };
  $dvt$$2$$.$AfStyleUtils$.$getPLAMLabelStyle$ = function $$dvt$$2$$$$AfStyleUtils$$$getPLAMLabelStyle$$($styleClasses$$) {
    if ($styleClasses$$) {
      if (-1 < $styleClasses$$.indexOf($dvt$$2$$.$AfStyleUtils$.$AFHVNodeTitleLabelStyle75_STYLE_CLASS$)) {
        return $dvt$$2$$.$AfStyleUtils$.$getStyleClass$($dvt$$2$$.$AfStyleUtils$.$AFHVNodeTitleLabelStyle75_STYLE_CLASS$);
      }
      if (-1 < $styleClasses$$.indexOf($dvt$$2$$.$AfStyleUtils$.$AFHVNodeSubtitleLabelStyle75_STYLE_CLASS$)) {
        return $dvt$$2$$.$AfStyleUtils$.$getStyleClass$($dvt$$2$$.$AfStyleUtils$.$AFHVNodeSubtitleLabelStyle75_STYLE_CLASS$);
      }
      if (-1 < $styleClasses$$.indexOf($dvt$$2$$.$AfStyleUtils$.$AFHVNodeLabelStyle75_STYLE_CLASS$)) {
        return $dvt$$2$$.$AfStyleUtils$.$getStyleClass$($dvt$$2$$.$AfStyleUtils$.$AFHVNodeLabelStyle75_STYLE_CLASS$);
      }
      if (-1 < $styleClasses$$.indexOf($dvt$$2$$.$AfStyleUtils$.$AFHVPanelCardLabelStyle75_STYLE_CLASS$)) {
        return $dvt$$2$$.$AfStyleUtils$.$getStyleClass$($dvt$$2$$.$AfStyleUtils$.$AFHVPanelCardLabelStyle75_STYLE_CLASS$);
      }
      if (-1 < $styleClasses$$.indexOf($dvt$$2$$.$AfStyleUtils$.$AFHVNodeTitleLabelStyle50_STYLE_CLASS$)) {
        return $dvt$$2$$.$AfStyleUtils$.$getStyleClass$($dvt$$2$$.$AfStyleUtils$.$AFHVNodeTitleLabelStyle50_STYLE_CLASS$);
      }
      if (-1 < $styleClasses$$.indexOf($dvt$$2$$.$AfStyleUtils$.$AFHVNodeSubtitleLabelStyle50_STYLE_CLASS$)) {
        return $dvt$$2$$.$AfStyleUtils$.$getStyleClass$($dvt$$2$$.$AfStyleUtils$.$AFHVNodeSubtitleLabelStyle50_STYLE_CLASS$);
      }
      if (-1 < $styleClasses$$.indexOf($dvt$$2$$.$AfStyleUtils$.$AFHVNodeLabelStyle50_STYLE_CLASS$)) {
        return $dvt$$2$$.$AfStyleUtils$.$getStyleClass$($dvt$$2$$.$AfStyleUtils$.$AFHVNodeLabelStyle50_STYLE_CLASS$);
      }
      if (-1 < $styleClasses$$.indexOf($dvt$$2$$.$AfStyleUtils$.$AFHVNodeLabelStyle25_STYLE_CLASS$)) {
        return $dvt$$2$$.$AfStyleUtils$.$getStyleClass$($dvt$$2$$.$AfStyleUtils$.$AFHVNodeLabelStyle25_STYLE_CLASS$);
      }
      if (-1 < $styleClasses$$.indexOf($dvt$$2$$.$AfStyleUtils$.$AFHVNodeTitleLabelStyle_STYLE_CLASS$)) {
        return $dvt$$2$$.$AfStyleUtils$.$getStyleClass$($dvt$$2$$.$AfStyleUtils$.$AFHVNodeTitleLabelStyle_STYLE_CLASS$);
      }
      if (-1 < $styleClasses$$.indexOf($dvt$$2$$.$AfStyleUtils$.$AFHVNodeSubtitleLabelStyle_STYLE_CLASS$)) {
        return $dvt$$2$$.$AfStyleUtils$.$getStyleClass$($dvt$$2$$.$AfStyleUtils$.$AFHVNodeSubtitleLabelStyle_STYLE_CLASS$);
      }
      if (-1 < $styleClasses$$.indexOf($dvt$$2$$.$AfStyleUtils$.$AFHVNodeLabelStyle_STYLE_CLASS$)) {
        return $dvt$$2$$.$AfStyleUtils$.$getStyleClass$($dvt$$2$$.$AfStyleUtils$.$AFHVNodeLabelStyle_STYLE_CLASS$);
      }
      if (-1 < $styleClasses$$.indexOf($dvt$$2$$.$AfStyleUtils$.$AFHVPanelCardLabelStyle_STYLE_CLASS$)) {
        return $dvt$$2$$.$AfStyleUtils$.$getStyleClass$($dvt$$2$$.$AfStyleUtils$.$AFHVPanelCardLabelStyle_STYLE_CLASS$);
      }
    }
    return null;
  };
  $dvt$$2$$.$AfStyleUtils$.$setPanelCardDefault$ = function $$dvt$$2$$$$AfStyleUtils$$$setPanelCardDefault$$($styleList$$4$$) {
    $dvt$$2$$.$AfStyleUtils$.$_panelCardMap$ = $styleList$$4$$;
  };
  $dvt$$2$$.$AfStyleUtils$.$getDefaultFontFamily$ = function $$dvt$$2$$$$AfStyleUtils$$$getDefaultFontFamily$$() {
    return $dvt$$2$$.$AfStyleUtils$.$_defaultFontFamily$ ? $dvt$$2$$.$AfStyleUtils$.$_defaultFontFamily$ : $dvt$$2$$.$StyleUtils$.$DEFAULT_FONT_FAMILY$;
  };
  $dvt$$2$$.$AfStyleUtils$.$_setDefaultFontFamily$ = function $$dvt$$2$$$$AfStyleUtils$$$_setDefaultFontFamily$$($family$$) {
    $dvt$$2$$.$AfStyleUtils$.$_defaultFontFamily$ = $family$$;
  };
  $dvt$$2$$.$AfStyleUtils$.$getDefaultFontSize$ = function $$dvt$$2$$$$AfStyleUtils$$$getDefaultFontSize$$() {
    return $dvt$$2$$.$AfStyleUtils$.$_defaultFontSize$ ? $dvt$$2$$.$AfStyleUtils$.$_defaultFontSize$ : $dvt$$2$$.$StyleUtils$.$DEFAULT_FONT_SIZE$;
  };
  $dvt$$2$$.$AfStyleUtils$.$_setDefaultFontSize$ = function $$dvt$$2$$$$AfStyleUtils$$$_setDefaultFontSize$$($size$$11$$) {
    $dvt$$2$$.$AfStyleUtils$.$_defaultFontSize$ = $size$$11$$;
  };
  $dvt$$2$$.$AfStyleUtils$.$getDefaultFontColor$ = function $$dvt$$2$$$$AfStyleUtils$$$getDefaultFontColor$$() {
    return $dvt$$2$$.$AfStyleUtils$.$_defaultFontColor$ ? $dvt$$2$$.$AfStyleUtils$.$_defaultFontColor$ : $dvt$$2$$.$StyleUtils$.$DEFAULT_FONT_COLOR$;
  };
  $dvt$$2$$.$AfStyleUtils$.$_setDefaultFontColor$ = function $$dvt$$2$$$$AfStyleUtils$$$_setDefaultFontColor$$($color$$13$$) {
    $dvt$$2$$.$AfStyleUtils$.$_defaultFontColor$ = $color$$13$$;
  };
  $dvt$$2$$.$AfStyleUtils$.$resetStyles$ = function $$dvt$$2$$$$AfStyleUtils$$$resetStyles$$() {
    $dvt$$2$$.$AfStyleUtils$.$setPanelCardDefault$(null);
    $dvt$$2$$.$AfStyleUtils$.$_setDefaultFontFamily$(null);
    $dvt$$2$$.$AfStyleUtils$.$_setDefaultFontSize$(null);
    $dvt$$2$$.$AfStyleUtils$.$_setDefaultFontColor$(null);
    $dvt$$2$$.$AfStyleUtils$.$_styleMap$ = void 0;
    $dvt$$2$$.$AfStyleUtils$.$_tagSkinKeyMap$ = void 0;
    $dvt$$2$$.$AfStyleUtils$.$_afStretchWidth$ = void 0;
  };
  $dvt$$2$$.$AfContext$ = function $$dvt$$2$$$$AfContext$$($dvt$$2$$, $eventManager$$7$$) {
    this.Init($dvt$$2$$, $eventManager$$7$$);
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfContext$, $dvt$$2$$.$Obj$, "dvt.AfContext");
  $dvt$$2$$.$AfContext$.prototype.Init = function $$dvt$$2$$$$AfContext$$$Init$($dvtContext$$7$$, $eventManager$$8$$) {
    this.$_dvtContext$ = $dvtContext$$7$$;
    this.$setEventManager$($eventManager$$8$$);
    this.$_ah$ = this.$_aw$ = Number.MAX_VALUE;
    this.$_fs$ = $dvt$$2$$.$AfStyleUtils$.$getDefaultFontSize$();
  };
  $dvt$$2$$.$AfContext$.prototype.$getTooltipManager$ = function $$dvt$$2$$$$AfContext$$$$getTooltipManager$$() {
    return this.$getCtx$().$getTooltipManager$();
  };
  $dvt$$2$$.$AfContext$.prototype.$getCtx$ = function $$dvt$$2$$$$AfContext$$$$getCtx$$() {
    return this.$_dvtContext$;
  };
  $dvt$$2$$.$AfContext$.prototype.$setELContext$ = function $$dvt$$2$$$$AfContext$$$$setELContext$$($dvt$$2$$) {
    this.$_elContext$ = $dvt$$2$$;
  };
  $dvt$$2$$.$AfContext$.prototype.$getAvailableWidth$ = function $$dvt$$2$$$$AfContext$$$$getAvailableWidth$$() {
    return null == this.$_aw$ || void 0 === this.$_aw$ ? Number.MAX_VALUE : this.$_aw$;
  };
  $dvt$$2$$.$AfContext$.prototype.$setAvailableWidth$ = function $$dvt$$2$$$$AfContext$$$$setAvailableWidth$$($dvt$$2$$) {
    $dvt$$2$$ && (this.$_aw$ = $dvt$$2$$);
  };
  $dvt$$2$$.$AfContext$.prototype.$setAvailableHeight$ = function $$dvt$$2$$$$AfContext$$$$setAvailableHeight$$($dvt$$2$$) {
    $dvt$$2$$ && (this.$_ah$ = $dvt$$2$$);
  };
  $dvt$$2$$.$AfContext$.prototype.$getFontSize$ = function $$dvt$$2$$$$AfContext$$$$getFontSize$$() {
    return this.$_fs$;
  };
  $dvt$$2$$.$AfContext$.prototype.$setFontSize$ = function $$dvt$$2$$$$AfContext$$$$setFontSize$$($dvt$$2$$) {
    $dvt$$2$$ && (this.$_fs$ = $dvt$$2$$);
  };
  $dvt$$2$$.$AfContext$.prototype.$setSkinName$ = function $$dvt$$2$$$$AfContext$$$$setSkinName$$($dvt$$2$$) {
    $dvt$$2$$ && (this.$_skinName$ = $dvt$$2$$);
  };
  $dvt$$2$$.$AfContext$.prototype.$isSkinAlta$ = function $$dvt$$2$$$$AfContext$$$$isSkinAlta$$() {
    return this.$_skinName$ == $dvt$$2$$.$CSSStyle$.$SKIN_ALTA$;
  };
  $dvt$$2$$.$AfContext$.prototype.$GetCSSStyle$ = function $$dvt$$2$$$$AfContext$$$$GetCSSStyle$$($sclass_tagName$$3$$, $styleClass$$1$$, $inlineStyle$$4$$, $cs_isTextStyle$$) {
    var $tagClass$$ = $sclass_tagName$$3$$ + "|" + ($styleClass$$1$$ ? $styleClass$$1$$ : "");
    $inlineStyle$$4$$ = $inlineStyle$$4$$ ? $inlineStyle$$4$$ : " ";
    this.$_tagStyles$ || (this.$_tagStyles$ = {});
    $sclass_tagName$$3$$ = this.$_tagStyles$[$tagClass$$];
    $sclass_tagName$$3$$ || ($sclass_tagName$$3$$ = {}, this.$_tagStyles$[$tagClass$$] = $sclass_tagName$$3$$);
    $sclass_tagName$$3$$[$inlineStyle$$4$$] || ($cs_isTextStyle$$ = $cs_isTextStyle$$ ? $dvt$$2$$.$AfStyleUtils$.$getDefaultTextStyle$() : new $dvt$$2$$.$CSSStyle$, $styleClass$$1$$ && $cs_isTextStyle$$.$merge$($styleClass$$1$$), " " !== $inlineStyle$$4$$ && $cs_isTextStyle$$.$parseInlineStyle$($inlineStyle$$4$$), $sclass_tagName$$3$$[$inlineStyle$$4$$] = $cs_isTextStyle$$);
    return $sclass_tagName$$3$$[$inlineStyle$$4$$];
  };
  $dvt$$2$$.$AfContext$.prototype.$setContextCallback$ = function $$dvt$$2$$$$AfContext$$$$setContextCallback$$($dvt$$2$$, $callback$$86$$) {
    this.$_contextCallbackObj$ = $dvt$$2$$;
    this.$_contextCallback$ = $callback$$86$$;
  };
  $dvt$$2$$.$AfContext$.prototype.$getContextCallback$ = function $$dvt$$2$$$$AfContext$$$$getContextCallback$$() {
    return this.$_contextCallback$;
  };
  $dvt$$2$$.$AfContext$.prototype.$getContextCallbackObj$ = function $$dvt$$2$$$$AfContext$$$$getContextCallbackObj$$() {
    return this.$_contextCallbackObj$;
  };
  $dvt$$2$$.$AfContext$.prototype.$setImageCallback$ = function $$dvt$$2$$$$AfContext$$$$setImageCallback$$($dvt$$2$$, $callback$$87$$, $notReadyCallback$$) {
    this.$_imageCallbackObj$ = $dvt$$2$$;
    this.$_imageCallback$ = $callback$$87$$;
    this.$_imageNotReadyCallback$ = $notReadyCallback$$;
  };
  $dvt$$2$$.$AfContext$.prototype.$setPanelCardCallback$ = function $$dvt$$2$$$$AfContext$$$$setPanelCardCallback$$($dvt$$2$$, $callback$$88$$) {
    this.$_panelCardCallbackObj$ = $dvt$$2$$;
    this.$_panelCardCallback$ = $callback$$88$$;
  };
  $dvt$$2$$.$AfContext$.prototype.$setMenuDropdownContainer$ = function $$dvt$$2$$$$AfContext$$$$setMenuDropdownContainer$$($dvt$$2$$) {
    this.$_menuDropDownContainer$ = $dvt$$2$$;
  };
  $dvt$$2$$.$AfContext$.prototype.$setRmIfNotFit$ = function $$dvt$$2$$$$AfContext$$$$setRmIfNotFit$$() {
    this.$_rmIfNotFit$ = !0;
  };
  $dvt$$2$$.$AfContext$.prototype.$setParentNode$ = function $$dvt$$2$$$$AfContext$$$$setParentNode$$($dvt$$2$$) {
    this.$_node$ = $dvt$$2$$;
  };
  $dvt$$2$$.$AfContext$.prototype.$getParentNode$ = function $$dvt$$2$$$$AfContext$$$$getParentNode$$() {
    return this.$_node$;
  };
  $dvt$$2$$.$AfContext$.prototype.$getEventManager$ = function $$dvt$$2$$$$AfContext$$$$getEventManager$$() {
    return this.$_eventManager$;
  };
  $dvt$$2$$.$AfContext$.prototype.$setEventManager$ = function $$dvt$$2$$$$AfContext$$$$setEventManager$$($dvt$$2$$) {
    this.$_eventManager$ = $dvt$$2$$;
  };
  $dvt$$2$$.$AfContext$.prototype.$registerTabStop$ = function $$dvt$$2$$$$AfContext$$$$registerTabStop$$($dvt$$2$$) {
    this.$_tabStopsArray$ && this.$_tabStopsArray$.push($dvt$$2$$);
  };
  $dvt$$2$$.$AfContext$.prototype.$unregisterTabStop$ = function $$dvt$$2$$$$AfContext$$$$unregisterTabStop$$($dvt$$2$$) {
    if (this.$_tabStopsArray$) {
      for (var $i$$170$$ = 0;$i$$170$$ < this.$_tabStopsArray$.length;$i$$170$$++) {
        if (this.$_tabStopsArray$[$i$$170$$] == $dvt$$2$$) {
          this.$_tabStopsArray$.splice($i$$170$$, 1);
          break;
        }
      }
    }
  };
  $dvt$$2$$.$AfContext$.prototype.$getTabStopsArray$ = function $$dvt$$2$$$$AfContext$$$$getTabStopsArray$$() {
    return this.$_tabStopsArray$;
  };
  $dvt$$2$$.$AfContext$.prototype.$setTabStopsArray$ = function $$dvt$$2$$$$AfContext$$$$setTabStopsArray$$($dvt$$2$$) {
    this.$_tabStopsArray$ = $dvt$$2$$;
  };
  $dvt$$2$$.$AfComponent$ = function $$dvt$$2$$$$AfComponent$$() {
    this.Init();
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfComponent$, $dvt$$2$$.$PropMap$, "dvt.AfComponent");
  $dvt$$2$$.$AfComponent$.$HALIGN_LEFT$ = "left";
  $dvt$$2$$.$AfComponent$.$HALIGN_RIGHT$ = "right";
  $dvt$$2$$.$AfComponent$.$HALIGN_CENTER$ = "center";
  $dvt$$2$$.$AfComponent$.$HALIGN_START$ = "start";
  $dvt$$2$$.$AfComponent$.$HALIGN_END$ = "end";
  $dvt$$2$$.$AfComponent$.$VALIGN_TOP$ = "top";
  $dvt$$2$$.$AfComponent$.$VALIGN_MIDDLE$ = "middle";
  $dvt$$2$$.$AfComponent$.$VALIGN_BOTTOM$ = "bottom";
  $dvt$$2$$.$AfComponent$.$ATTR_ID$ = "id";
  $dvt$$2$$.$AfComponent$.$ATTR_VISIBLE$ = "visible";
  $dvt$$2$$.$AfComponent$.$ATTR_RENDERED$ = "rendered";
  $dvt$$2$$.$AfComponent$.$ATTR_INLINE_STYLE$ = "inlineStyle";
  $dvt$$2$$.$AfComponent$.$ATTR_STYLE_CLASS$ = "styleClass";
  $dvt$$2$$.$AfComponent$.$ATTR_SHORT_DESC$ = "shortDesc";
  $dvt$$2$$.$AfComponent$.$_uniqueSeed$ = 0;
  $dvt$$2$$.$AfComponent$.$_CREATE_BG_SHAPE$ = !1;
  $dvt$$2$$.$AfComponent$.$_REMOVE_LATER$ = "rmMe";
  $dvt$$2$$.$AfComponent$.$_CLIP_CONTAINER$ = "clipContainer";
  $dvt$$2$$.$AfComponent$.$_CLIP_LATER$ = "clipMe";
  $dvt$$2$$.$AfComponent$.$_CLIP_PATH$ = "clipPath";
  $dvt$$2$$.$AfComponent$.$DEFAULT_BOX_SIZING$ = $dvt$$2$$.$CSSStyle$.$BORDER_BOX$;
  $dvt$$2$$.$AfComponent$.prototype.Init = function $$dvt$$2$$$$AfComponent$$$Init$() {
    $dvt$$2$$.$AfComponent$.$superclass$.Init.call(this);
    this.$createDefaultStyles$();
    this.$_parentNode$ = null;
  };
  $dvt$$2$$.$AfComponent$.prototype.$getStyleClass$ = function $$dvt$$2$$$$AfComponent$$$$getStyleClass$$() {
    return this.$getProperty$($dvt$$2$$.$AfComponent$.$ATTR_STYLE_CLASS$);
  };
  $dvt$$2$$.$AfComponent$.prototype.$setStyleClass$ = function $$dvt$$2$$$$AfComponent$$$$setStyleClass$$($styleClass$$2$$) {
    this.setProperty($dvt$$2$$.$AfComponent$.$ATTR_STYLE_CLASS$, $styleClass$$2$$);
  };
  $dvt$$2$$.$AfComponent$.prototype.$getInlineStyle$ = function $$dvt$$2$$$$AfComponent$$$$getInlineStyle$$() {
    return this.$getProperty$($dvt$$2$$.$AfComponent$.$ATTR_INLINE_STYLE$);
  };
  $dvt$$2$$.$AfComponent$.prototype.$setInlineStyle$ = function $$dvt$$2$$$$AfComponent$$$$setInlineStyle$$($inlineStyle$$5$$) {
    this.setProperty($dvt$$2$$.$AfComponent$.$ATTR_INLINE_STYLE$, $inlineStyle$$5$$);
  };
  $dvt$$2$$.$AfComponent$.prototype.$isRendered$ = function $$dvt$$2$$$$AfComponent$$$$isRendered$$() {
    return this.$getBooleanProp$($dvt$$2$$.$AfComponent$.$ATTR_RENDERED$, !0);
  };
  $dvt$$2$$.$AfComponent$.prototype.$setRendered$ = function $$dvt$$2$$$$AfComponent$$$$setRendered$$($rendered$$1$$) {
    this.setProperty($dvt$$2$$.$AfComponent$.$ATTR_RENDERED$, $rendered$$1$$);
  };
  $dvt$$2$$.$AfComponent$.prototype.$isVisible$ = function $$dvt$$2$$$$AfComponent$$$$isVisible$$() {
    return this.$getBooleanProp$($dvt$$2$$.$AfComponent$.$ATTR_VISIBLE$, !0);
  };
  $dvt$$2$$.$AfComponent$.prototype.$setVisible$ = function $$dvt$$2$$$$AfComponent$$$$setVisible$$($visible$$1$$) {
    this.setProperty($dvt$$2$$.$AfComponent$.$ATTR_VISIBLE$, $visible$$1$$);
  };
  $dvt$$2$$.$AfComponent$.prototype.$getShortDesc$ = function $$dvt$$2$$$$AfComponent$$$$getShortDesc$$() {
    return this.$getProperty$($dvt$$2$$.$AfComponent$.$ATTR_SHORT_DESC$);
  };
  $dvt$$2$$.$AfComponent$.prototype.$setShortDesc$ = function $$dvt$$2$$$$AfComponent$$$$setShortDesc$$($shortDesc$$5$$) {
    this.setProperty($dvt$$2$$.$AfComponent$.$ATTR_SHORT_DESC$, $shortDesc$$5$$);
  };
  $dvt$$2$$.$AfComponent$.prototype.$stamp$ = function $$dvt$$2$$$$AfComponent$$$$stamp$$($elcontext$$) {
    var $selfComp$$ = $dvt$$2$$.$AfComponent$.$superclass$.$stamp$.call(this, $elcontext$$);
    $selfComp$$.$_children$ = [];
    this.$getShowPopupBehaviors$ && this.$getShowPopupBehaviors$() ? $selfComp$$.$_showPopupBehaviors$ = this.$_showPopupBehaviors$ : this.$getClientBehaviors$ && this.$getClientBehaviors$() && ($selfComp$$.$_clientBehaviors$ = this.$_clientBehaviors$);
    for (var $child$$18$$, $childComp$$, $i$$171$$ = 0;$i$$171$$ < this.$getNumChildren$();$i$$171$$++) {
      $child$$18$$ = this.$getChildAt$($i$$171$$), $childComp$$ = $child$$18$$.$stamp$($elcontext$$), !$child$$18$$.$renderMe$ || $childComp$$.$renderMe$() ? $childComp$$ instanceof $dvt$$2$$.$AfShowPopupBehavior$ ? $selfComp$$.$addShowPopupBehavior$($childComp$$.$createDisplayObj$()) : $childComp$$ instanceof $dvt$$2$$.$AfClientBehavior$ ? $selfComp$$.$addClientBehavior$($childComp$$.$createDisplayObj$()) : $selfComp$$.$addChild$($childComp$$) : $childComp$$.$_isRenderEL$() && $selfComp$$.$addChild$($childComp$$)
      ;
    }
    return $selfComp$$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$setContentOrigin$ = function $$dvt$$2$$$$AfComponent$$$$setContentOrigin$$($cssStyle$$6_paddingBottom$$) {
    var $marginTop$$ = $cssStyle$$6_paddingBottom$$.$getMargin$($dvt$$2$$.$CSSStyle$.$MARGIN_TOP$), $marginLeft$$ = $cssStyle$$6_paddingBottom$$.$getMargin$($dvt$$2$$.$CSSStyle$.$MARGIN_LEFT$), $marginRight$$ = $cssStyle$$6_paddingBottom$$.$getMargin$($dvt$$2$$.$CSSStyle$.$MARGIN_RIGHT$), $marginBottom$$ = $cssStyle$$6_paddingBottom$$.$getMargin$($dvt$$2$$.$CSSStyle$.$MARGIN_BOTTOM$), $bdTopWidth$$ = $cssStyle$$6_paddingBottom$$.$getBorderSideWidth$($dvt$$2$$.$CSSStyle$.$BORDER_TOP_WIDTH$), $bdLeftWidth$$ = 
    $cssStyle$$6_paddingBottom$$.$getBorderSideWidth$($dvt$$2$$.$CSSStyle$.$BORDER_LEFT_WIDTH$), $bdRightWidth$$ = $cssStyle$$6_paddingBottom$$.$getBorderSideWidth$($dvt$$2$$.$CSSStyle$.$BORDER_RIGHT_WIDTH$), $bdBottomWidth$$ = $cssStyle$$6_paddingBottom$$.$getBorderSideWidth$($dvt$$2$$.$CSSStyle$.$BORDER_BOTTOM_WIDTH$), $paddingTop$$ = $cssStyle$$6_paddingBottom$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_TOP$), $paddingLeft$$ = $cssStyle$$6_paddingBottom$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_LEFT$), 
    $paddingRight$$ = $cssStyle$$6_paddingBottom$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_RIGHT$);
    $cssStyle$$6_paddingBottom$$ = $cssStyle$$6_paddingBottom$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_BOTTOM$);
    this.$setCX$($marginLeft$$ + $bdLeftWidth$$ + $paddingLeft$$);
    this.$setCY$($marginTop$$ + $bdTopWidth$$ + $paddingTop$$);
    this.$_rightx$ = $marginRight$$ + $bdRightWidth$$ + $paddingRight$$;
    this.$_bottomy$ = $marginBottom$$ + $bdBottomWidth$$ + $cssStyle$$6_paddingBottom$$;
    this.$_marginWidth$ = $marginLeft$$ + $marginRight$$;
    this.$_marginHeight$ = $marginTop$$ + $marginBottom$$;
  };
  $dvt$$2$$.$AfComponent$.$ParseNonNegativeFloat$ = function $$dvt$$2$$$$AfComponent$$$ParseNonNegativeFloat$$($dvt$$2$$) {
    $dvt$$2$$ = parseFloat($dvt$$2$$);
    return 0 > $dvt$$2$$ ? 0 : $dvt$$2$$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$adjustClientArea$ = function $$dvt$$2$$$$AfComponent$$$$adjustClientArea$$($cssStyle$$7_sh$$2$$) {
    var $num$$7$$ = 0, $aHeight_sw$$3$$ = this.$_getExplicitWidth$($cssStyle$$7_sh$$2$$), $aWidth$$ = this.$_aw$;
    $aHeight_sw$$3$$ ? ($num$$7$$ = $aHeight_sw$$3$$.indexOf("%"), -1 < $num$$7$$ ? ($aHeight_sw$$3$$ = $aHeight_sw$$3$$.slice(0, $num$$7$$), $aWidth$$ !== Number.MAX_VALUE && null != $aHeight_sw$$3$$ && (this.$isContentBox$() ? ($num$$7$$ = $aWidth$$ - this.$_getMarginBorderPaddingWidth$(), $aWidth$$ = $dvt$$2$$.$AfComponent$.$ParseNonNegativeFloat$($aHeight_sw$$3$$) * $num$$7$$ / 100) : ($num$$7$$ = $dvt$$2$$.$AfComponent$.$ParseNonNegativeFloat$($aHeight_sw$$3$$) * $aWidth$$ / 100, $aWidth$$ = 
    $num$$7$$ - this.$_getMarginBorderPaddingWidth$() + this.$_marginWidth$))) : ($num$$7$$ = $dvt$$2$$.$AfComponent$.$ParseNonNegativeFloat$($aHeight_sw$$3$$), $aWidth$$ = this.$isContentBox$() ? $num$$7$$ : $num$$7$$ - this.$_getMarginBorderPaddingWidth$() + this.$_marginWidth$), this.$_ew$ = $aWidth$$) : void 0 === $aHeight_sw$$3$$ && this instanceof $dvt$$2$$.$AfSpacer$ ? this.$_aw$ = this.$_ew$ = $aWidth$$ = 1 : void 0 === $aHeight_sw$$3$$ && $aWidth$$ !== Number.MAX_VALUE && ($num$$7$$ = $dvt$$2$$.$AfComponent$.$ParseNonNegativeFloat$($aWidth$$), 
    $aWidth$$ = $num$$7$$ - this.$_getMarginBorderPaddingWidth$());
    $cssStyle$$7_sh$$2$$ = this.$_getExplicitHeight$($cssStyle$$7_sh$$2$$);
    $aHeight_sw$$3$$ = this.$_ah$;
    $cssStyle$$7_sh$$2$$ ? ($num$$7$$ = $cssStyle$$7_sh$$2$$.indexOf("%"), -1 < $num$$7$$ ? ($cssStyle$$7_sh$$2$$ = $cssStyle$$7_sh$$2$$.slice(0, $num$$7$$), $aHeight_sw$$3$$ !== Number.MAX_VALUE && null != $cssStyle$$7_sh$$2$$ && (this.$isContentBox$() ? ($num$$7$$ = $aHeight_sw$$3$$ - this.$_getMarginBorderPaddingHeight$(), $aHeight_sw$$3$$ = $dvt$$2$$.$AfComponent$.$ParseNonNegativeFloat$($cssStyle$$7_sh$$2$$) * $num$$7$$ / 100) : ($num$$7$$ = $dvt$$2$$.$AfComponent$.$ParseNonNegativeFloat$($cssStyle$$7_sh$$2$$) * 
    $aHeight_sw$$3$$ / 100, $aHeight_sw$$3$$ = $num$$7$$ - this.$_getMarginBorderPaddingHeight$() + this.$_marginHeight$))) : ($num$$7$$ = $dvt$$2$$.$AfComponent$.$ParseNonNegativeFloat$($cssStyle$$7_sh$$2$$), $aHeight_sw$$3$$ = this.$isContentBox$() ? $num$$7$$ : $num$$7$$ - this.$_getMarginBorderPaddingHeight$() + this.$_marginHeight$), this.$_eh$ = $aHeight_sw$$3$$) : void 0 === $cssStyle$$7_sh$$2$$ && this instanceof $dvt$$2$$.$AfSpacer$ ? this.$_ah$ = this.$_eh$ = $aHeight_sw$$3$$ = 1 : void 0 === 
    $cssStyle$$7_sh$$2$$ && $aHeight_sw$$3$$ !== Number.MAX_VALUE && ($num$$7$$ = $dvt$$2$$.$AfComponent$.$ParseNonNegativeFloat$($aHeight_sw$$3$$), $aHeight_sw$$3$$ = $num$$7$$ - this.$_getMarginBorderPaddingHeight$());
    this.$_cw$ = $aWidth$$;
    this.$_ch$ = $aHeight_sw$$3$$;
    void 0 === this.$_clipped$ && (0 >= $aWidth$$ || 0 >= $aHeight_sw$$3$$ || $aWidth$$ > this.$_aw$ || $aHeight_sw$$3$$ > this.$_ah$) && (this.$_clipped$ = $dvt$$2$$.$AfComponent$.$_CLIP_CONTAINER$);
    this.$_cpw$ = $aWidth$$;
    this.$_cph$ = $aHeight_sw$$3$$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$render$ = function $$dvt$$2$$$$AfComponent$$$$render$$($afContext$$26$$) {
    this.$setAfContext$($afContext$$26$$);
    this.$_render$($dvt$$2$$.$AfComponent$.$ParseNonNegativeFloat$($afContext$$26$$.$getAvailableWidth$()), $dvt$$2$$.$AfComponent$.$ParseNonNegativeFloat$($afContext$$26$$.$_ah$));
  };
  $dvt$$2$$.$AfComponent$.prototype.$_render$ = function $$dvt$$2$$$$AfComponent$$$$_render$$($dvt$$2$$, $availHeight$$3$$) {
    if (this.$renderMe$()) {
      this.$_aw$ = $dvt$$2$$;
      this.$_ah$ = $availHeight$$3$$;
      var $bgShape_cssStyle$$8$$ = this.$getCSSStyle$(), $shape$$7$$ = this.$getContentShape$();
      $shape$$7$$ && (this.$setContentOrigin$ && this.$setContentOrigin$($bgShape_cssStyle$$8$$), this.$adjustClientArea$ && this.$adjustClientArea$($bgShape_cssStyle$$8$$), $shape$$7$$ && this.$isTooltipEnabled$() && !this.$_afContext$.$_rmIfNotFit$ && this.$associate$($shape$$7$$, this), this.$renderSelfBeforeChildren$ && this.$renderSelfBeforeChildren$(), this.$renderChildren$ && this.$renderChildren$(), this.$renderSelfAfterChildren$ && this.$renderSelfAfterChildren$(), this.$doLayout$ && this.$doLayout$(), 
      this.$renderSelfAfterLayout$ && this.$renderSelfAfterLayout$(), this.$_afContext$.$_rmIfNotFit$ ? (($bgShape_cssStyle$$8$$ = this.$_bgShape$) && $bgShape_cssStyle$$8$$.$setMouseEnabled$(!1), ($shape$$7$$ = this.$getContentShape$()) && $shape$$7$$ !== $bgShape_cssStyle$$8$$ && $shape$$7$$.$setMouseEnabled$(!1)) : this.$_bgShape$ && (this.$getShowPopupBehaviors$() || this.$getClientBehaviors$()) && this.$associate$(this.$_bgShape$, this));
    }
  };
  $dvt$$2$$.$AfComponent$.prototype.$_getExplicitWidth$ = function $$dvt$$2$$$$AfComponent$$$$_getExplicitWidth$$($dvt$$2$$) {
    var $w$$14$$;
    this.getWidth && ($w$$14$$ = this.getWidth());
    void 0 === $w$$14$$ && ($w$$14$$ = $dvt$$2$$.getWidth());
    return $w$$14$$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$_getExplicitHeight$ = function $$dvt$$2$$$$AfComponent$$$$_getExplicitHeight$$($dvt$$2$$) {
    var $h$$11$$;
    this.getHeight && ($h$$11$$ = this.getHeight());
    void 0 === $h$$11$$ && ($h$$11$$ = $dvt$$2$$.getHeight());
    return $h$$11$$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$getCalcWidth$ = function $$dvt$$2$$$$AfComponent$$$$getCalcWidth$$($dvt$$2$$) {
    return void 0 !== this.$_ew$ && this.$_ew$ !== Number.MAX_VALUE ? this.$_ew$ : this.$_cw$ < $dvt$$2$$ ? this.$_cw$ : $dvt$$2$$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$getCalcHeight$ = function $$dvt$$2$$$$AfComponent$$$$getCalcHeight$$($dvt$$2$$) {
    return void 0 !== this.$_eh$ && this.$_eh$ !== Number.MAX_VALUE ? this.$_eh$ : this.$_ch$ < $dvt$$2$$ ? this.$_ch$ : $dvt$$2$$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$renderSelfBeforeChildren$ = function $$dvt$$2$$$$AfComponent$$$$renderSelfBeforeChildren$$() {
  };
  $dvt$$2$$.$AfComponent$.prototype.$renderSelfAfterChildren$ = function $$dvt$$2$$$$AfComponent$$$$renderSelfAfterChildren$$() {
  };
  $dvt$$2$$.$AfComponent$.prototype.$renderSelfAfterLayout$ = function $$dvt$$2$$$$AfComponent$$$$renderSelfAfterLayout$$($bgShape$$1$$, $style$$15$$) {
    var $renderBg$$ = $bgShape$$1$$;
    $bgShape$$1$$ || ($bgShape$$1$$ = this.$_bgShape$);
    $style$$15$$ || ($style$$15$$ = this.$getCSSStyle$());
    var $xx$$7$$ = $style$$15$$.$getMargin$($dvt$$2$$.$CSSStyle$.$MARGIN_LEFT$) + $style$$15$$.$getBorderSideWidth$($dvt$$2$$.$CSSStyle$.$BORDER_LEFT_WIDTH$) / 2, $yy$$7$$ = $style$$15$$.$getMargin$($dvt$$2$$.$CSSStyle$.$MARGIN_TOP$) + $style$$15$$.$getBorderSideWidth$($dvt$$2$$.$CSSStyle$.$BORDER_TOP_WIDTH$) / 2, $ww$$31$$ = this.$_cw$ + $style$$15$$.$getBorderSideWidth$($dvt$$2$$.$CSSStyle$.$BORDER_RIGHT_WIDTH$) + $style$$15$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_LEFT$) + $style$$15$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_RIGHT$), 
    $hh$$27$$ = this.$_ch$ + $style$$15$$.$getBorderSideWidth$($dvt$$2$$.$CSSStyle$.$BORDER_BOTTOM_WIDTH$) + $style$$15$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_TOP$) + $style$$15$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_BOTTOM$);
    this.$SetDisplayObjBounds$($bgShape$$1$$, $xx$$7$$, $yy$$7$$, $ww$$31$$, $hh$$27$$);
    this.$_clipped$ == $dvt$$2$$.$AfComponent$.$_CLIP_LATER$ && this.$addClipPath$();
    (this.$_hasBgShape$() || $renderBg$$) && this.$renderBackground$($bgShape$$1$$, $style$$15$$);
    $dvt$$2$$.$Agent$.$isTouchDevice$() && (this.$_hasBgShape$() || $renderBg$$) ? this.$addAccessibilityAttributes$($bgShape$$1$$) : this.$addAccessibilityAttributes$(this.$_bgShape$);
  };
  $dvt$$2$$.$AfComponent$.prototype.$SetDisplayObjBounds$ = function $$dvt$$2$$$$AfComponent$$$$SetDisplayObjBounds$$($dispObj$$2$$, $xx$$8$$, $yy$$8$$, $ww$$32$$, $hh$$28$$) {
    $dispObj$$2$$ instanceof $dvt$$2$$.$OutputText$ || $dispObj$$2$$ instanceof $dvt$$2$$.$MultilineText$ || ($dispObj$$2$$.$setX$ && $dispObj$$2$$.$setX$($xx$$8$$), $dispObj$$2$$.$setY$ && $dispObj$$2$$.$setY$($yy$$8$$), $dispObj$$2$$.$setWidth$ && $ww$$32$$ !== Number.MAX_VALUE && $dispObj$$2$$.$setWidth$($ww$$32$$), $dispObj$$2$$.$setHeight$ && $hh$$28$$ !== Number.MAX_VALUE && $dispObj$$2$$.$setHeight$($hh$$28$$));
  };
  $dvt$$2$$.$AfComponent$.prototype.$renderChildren$ = function $$dvt$$2$$$$AfComponent$$$$renderChildren$$() {
    for (var $dvt$$2$$, $i$$172$$ = 0;$i$$172$$ < this.$getNumChildren$();$i$$172$$++) {
      $dvt$$2$$ = this.$getChildAt$($i$$172$$), $dvt$$2$$.$renderMe$ && !$dvt$$2$$.$renderMe$() || this.$renderChild$($dvt$$2$$);
    }
  };
  $dvt$$2$$.$AfComponent$.prototype.$renderChild$ = function $$dvt$$2$$$$AfComponent$$$$renderChild$$($dvt$$2$$) {
    $dvt$$2$$.$_render$ && $dvt$$2$$.$_render$(this.$_cw$, this.$_ch$);
  };
  $dvt$$2$$.$AfComponent$.prototype.$doLayout$ = function $$dvt$$2$$$$AfComponent$$$$doLayout$$() {
  };
  $dvt$$2$$.$AfComponent$.prototype.$addChild$ = function $$dvt$$2$$$$AfComponent$$$$addChild$$($dvt$$2$$) {
    $dvt$$2$$.$setParent$ && $dvt$$2$$.$setParent$(this);
    this.$_getChildren$().push($dvt$$2$$);
  };
  $dvt$$2$$.$AfComponent$.removeChild = function $$dvt$$2$$$$AfComponent$$removeChild$($comp$$1$$) {
    var $children$$1_parent$$32$$;
    if ($comp$$1$$ instanceof $dvt$$2$$.$AfComponent$) {
      $children$$1_parent$$32$$ = $comp$$1$$.getParent();
      $children$$1_parent$$32$$ = $children$$1_parent$$32$$.$_getChildren$();
      for (var $displayObj$$1_i$$173$$ = 0;$displayObj$$1_i$$173$$ < $children$$1_parent$$32$$.length;$displayObj$$1_i$$173$$++) {
        if ($children$$1_parent$$32$$[$displayObj$$1_i$$173$$] === $comp$$1$$) {
          $comp$$1$$.$setParent$(null);
          $children$$1_parent$$32$$.splice($displayObj$$1_i$$173$$, 1);
          break;
        }
      }
    }
    var $displayObj$$1_i$$173$$ = $comp$$1$$.$_bgShape$, $shape$$8$$ = $dvt$$2$$.$AfComponent$.$_getContentShape$($comp$$1$$);
    $shape$$8$$ && $shape$$8$$ !== $displayObj$$1_i$$173$$ && ($children$$1_parent$$32$$ = $shape$$8$$.getParent()) && ($children$$1_parent$$32$$.removeChild($shape$$8$$), $comp$$1$$.$setContentShape$($displayObj$$1_i$$173$$, null));
    $displayObj$$1_i$$173$$ && ($children$$1_parent$$32$$ = $displayObj$$1_i$$173$$.getParent()) && ($children$$1_parent$$32$$.removeChild($displayObj$$1_i$$173$$), $comp$$1$$.$_bgShape$ = null);
  };
  $dvt$$2$$.$AfComponent$.prototype.$_getChildren$ = function $$dvt$$2$$$$AfComponent$$$$_getChildren$$() {
    void 0 === this.$_children$ && (this.$_children$ = []);
    return this.$_children$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$getNumChildren$ = function $$dvt$$2$$$$AfComponent$$$$getNumChildren$$() {
    return this.$_children$ ? this.$_children$.length : 0;
  };
  $dvt$$2$$.$AfComponent$.prototype.$getChildAt$ = function $$dvt$$2$$$$AfComponent$$$$getChildAt$$($dvt$$2$$) {
    var $cnt$$ = this.$getNumChildren$();
    return 0 <= $dvt$$2$$ && $cnt$$ > $dvt$$2$$ ? this.$_getChildren$()[$dvt$$2$$] : null;
  };
  $dvt$$2$$.$AfComponent$.prototype.getParent = function $$dvt$$2$$$$AfComponent$$$getParent$() {
    return this.$_afCompParent$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$setParent$ = function $$dvt$$2$$$$AfComponent$$$$setParent$$($dvt$$2$$) {
    this.$_afCompParent$ = $dvt$$2$$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$getRoot$ = function $$dvt$$2$$$$AfComponent$$$$getRoot$$() {
    for (var $dvt$$2$$ = this;$dvt$$2$$.getParent();) {
      $dvt$$2$$ = $dvt$$2$$.getParent();
    }
    return $dvt$$2$$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$GetRootStyleClass$ = function $$dvt$$2$$$$AfComponent$$$$GetRootStyleClass$$() {
    return this.$GetDefaultStyles$()[0];
  };
  $dvt$$2$$.$AfComponent$.prototype.$createDefaultStyles$ = function $$dvt$$2$$$$AfComponent$$$$createDefaultStyles$$() {
    var $styleList$$5$$ = this.$GetDefaultStyles$();
    if (void 0 === $styleList$$5$$ || $dvt$$2$$.$Agent$.$isEnvironmentTest$()) {
      $styleList$$5$$ = $dvt$$2$$.$AfStyleUtils$.$getDefaultCSSStyle$(this.$getTagName$()), 0 == $styleList$$5$$.length && $styleList$$5$$.push(new $dvt$$2$$.$CSSStyle$), this.$SetDefaultStyles$($styleList$$5$$);
    }
  };
  $dvt$$2$$.$AfComponent$.prototype.$createComputedStyle$ = function $$dvt$$2$$$$AfComponent$$$$createComputedStyle$$() {
    if (!this.$_computedStyle$) {
      var $def$$ = this.$GetRootStyleClass$(), $sc$$1$$, $ins_scNames_scss$$ = this.$getStyleClass$();
      if ($ins_scNames_scss$$) {
        for (var $cssStyle$$11_scName$$, $sca$$ = $ins_scNames_scss$$.split(" "), $i$$174$$ = 0;$i$$174$$ < $sca$$.length;$i$$174$$++) {
          ($cssStyle$$11_scName$$ = $sca$$[$i$$174$$]) && 0 < $cssStyle$$11_scName$$.length && (($ins_scNames_scss$$ = $dvt$$2$$.$AfStyleUtils$.$getAFStretchWidthStyle$($cssStyle$$11_scName$$)) || ($ins_scNames_scss$$ = $dvt$$2$$.$AfStyleUtils$.$getStyleClass$($cssStyle$$11_scName$$)), $sc$$1$$ ? $sc$$1$$.$merge$($ins_scNames_scss$$) : $ins_scNames_scss$$ && ($sc$$1$$ = $ins_scNames_scss$$.clone()));
        }
      }
      $ins_scNames_scss$$ = this.$getInlineStyle$();
      $dvt$$2$$.$AfComponentFactory$.$CACHE_STYLES$ ? $cssStyle$$11_scName$$ = this.$_afContext$.$GetCSSStyle$(this.$getTagName$(), $sc$$1$$, $ins_scNames_scss$$, this instanceof $dvt$$2$$.$AfOutputText$ || this instanceof $dvt$$2$$.$AfOutputFormatted$) : ($cssStyle$$11_scName$$ = new $dvt$$2$$.$CSSStyle$, $sc$$1$$ && $cssStyle$$11_scName$$.$merge$($sc$$1$$), $cssStyle$$11_scName$$.$parseInlineStyle$($ins_scNames_scss$$), this.$_setOverrideStyle$($cssStyle$$11_scName$$.$isEmpty$() ? null : $cssStyle$$11_scName$$.clone()), 
      $cssStyle$$11_scName$$.$mergeUnder$($def$$));
      this.$_computedStyle$ = $cssStyle$$11_scName$$;
      this.$ResolveEm$($cssStyle$$11_scName$$);
    }
    return this.$_computedStyle$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$ResolveEm$ = function $$dvt$$2$$$$AfComponent$$$$ResolveEm$$($dvt$$2$$) {
    this.$resolveEmUnit$($dvt$$2$$, this.getParent());
  };
  $dvt$$2$$.$AfComponent$.prototype.$resolveEmUnit$ = function $$dvt$$2$$$$AfComponent$$$$resolveEmUnit$$($cssStyle$$13$$, $startComp$$) {
    if ($cssStyle$$13$$) {
      var $fontSize$$3$$ = $cssStyle$$13$$.$getAbsoluteFontSize$();
      !$fontSize$$3$$ && $startComp$$ && ($fontSize$$3$$ = $startComp$$.$getInheritedStyleAttr$($dvt$$2$$.$CSSStyle$.$FONT_SIZE$));
      $fontSize$$3$$ || ($fontSize$$3$$ = this.$_afContext$.$getFontSize$());
      $cssStyle$$13$$.$resolveEM$($fontSize$$3$$);
    }
  };
  $dvt$$2$$.$AfComponent$.prototype.$getStyle$ = function $$dvt$$2$$$$AfComponent$$$$getStyle$$($dvt$$2$$) {
    if (this.$_computedStyle$) {
      return this.$getCSSStyle$().$getStyle$($dvt$$2$$);
    }
  };
  $dvt$$2$$.$AfComponent$.prototype.$getCSSStyle$ = function $$dvt$$2$$$$AfComponent$$$$getCSSStyle$$() {
    if (this.$_cssStyle$) {
      return this.$_cssStyle$;
    }
    var $styleList$$6$$ = this.$_computedStyle$;
    $dvt$$2$$.$ArrayUtils$.isArray($styleList$$6$$) ? this.$_cssStyle$ = $styleList$$6$$[0] : this.$_cssStyle$ = $styleList$$6$$ ? $styleList$$6$$ : new $dvt$$2$$.$CSSStyle$(null);
    return this.$_cssStyle$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$getStyleAttr$ = function $$dvt$$2$$$$AfComponent$$$$getStyleAttr$$($key$$47$$) {
    var $ret$$40$$ = this.$getCSSStyle$().$getStyle$($key$$47$$);
    !$ret$$40$$ && $dvt$$2$$.$CSSStyle$.$isInheritable$($key$$47$$) && this.getParent() && ($ret$$40$$ = this.getParent().$getInheritedStyleAttr$($key$$47$$));
    return $ret$$40$$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$getInheritedStyleAttr$ = function $$dvt$$2$$$$AfComponent$$$$getInheritedStyleAttr$$($dvt$$2$$) {
    var $ret$$41$$ = this.$getCSSStyle$().$getStyle$($dvt$$2$$);
    !$ret$$41$$ && this.getParent() && ($ret$$41$$ = this.getParent().$getInheritedStyleAttr$($dvt$$2$$));
    return $ret$$41$$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$getInheritedStyle$ = function $$dvt$$2$$$$AfComponent$$$$getInheritedStyle$$($dvt$$2$$, $style$$16$$, $defaultStyle$$) {
    var $ret$$42$$;
    $style$$16$$ && ($ret$$42$$ = $style$$16$$.$getStyle$($dvt$$2$$));
    $ret$$42$$ || ($ret$$42$$ = this.$getStyleAttr$($dvt$$2$$), !$ret$$42$$ && $defaultStyle$$ && ($ret$$42$$ = $defaultStyle$$.$getStyle$ ? $defaultStyle$$.$getStyle$($dvt$$2$$) : $defaultStyle$$[$dvt$$2$$]));
    return $ret$$42$$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$createTextStyles$ = function $$dvt$$2$$$$AfComponent$$$$createTextStyles$$($style$$17$$, $defaultStyle$$1$$) {
    if (null == $style$$17$$ && ($style$$17$$ = this.$getCSSStyle$().clone(), null == $style$$17$$)) {
      return null;
    }
    var $k$$2$$, $s$$79$$;
    $k$$2$$ = $dvt$$2$$.$CSSStyle$.$FONT_FAMILY$;
    $style$$17$$.$getStyle$($k$$2$$) || ($s$$79$$ = this.$getInheritedStyle$($k$$2$$, $style$$17$$, $defaultStyle$$1$$), $style$$17$$.$setStyle$($k$$2$$, $s$$79$$ ? $s$$79$$ : $dvt$$2$$.$AfStyleUtils$.$getDefaultFontFamily$()));
    $k$$2$$ = $dvt$$2$$.$CSSStyle$.$FONT_SIZE$;
    $style$$17$$.$getStyle$($k$$2$$) || (($s$$79$$ = this.$getInheritedStyle$($k$$2$$, $style$$17$$, $defaultStyle$$1$$)) || ($s$$79$$ = $dvt$$2$$.$AfStyleUtils$.$getDefaultFontSize$()), $style$$17$$.$setStyle$($k$$2$$, $s$$79$$));
    $k$$2$$ = $dvt$$2$$.$CSSStyle$.$COLOR$;
    $style$$17$$.$getStyle$($k$$2$$) || ($s$$79$$ = this.$getInheritedStyle$($k$$2$$, $style$$17$$, $defaultStyle$$1$$), $style$$17$$.$setStyle$($k$$2$$, $s$$79$$ ? $s$$79$$ : $dvt$$2$$.$AfStyleUtils$.$getDefaultFontColor$()));
    $k$$2$$ = $dvt$$2$$.$CSSStyle$.$FONT_WEIGHT$;
    $style$$17$$.$getStyle$($k$$2$$) || ($s$$79$$ = this.$getInheritedStyle$($k$$2$$, $style$$17$$, $defaultStyle$$1$$)) && $style$$17$$.$setStyle$($k$$2$$, $s$$79$$);
    $k$$2$$ = $dvt$$2$$.$CSSStyle$.$FONT_STYLE$;
    $style$$17$$.$getStyle$($k$$2$$) || ($s$$79$$ = this.$getInheritedStyle$($k$$2$$, $style$$17$$, $defaultStyle$$1$$)) && $style$$17$$.$setStyle$($k$$2$$, $s$$79$$);
    $k$$2$$ = $dvt$$2$$.$CSSStyle$.$TEXT_ALIGN$;
    $style$$17$$.$getStyle$($k$$2$$) || ($s$$79$$ = this.$getInheritedStyle$($k$$2$$, $style$$17$$, $defaultStyle$$1$$)) && $style$$17$$.$setStyle$($k$$2$$, $s$$79$$);
    $k$$2$$ = $dvt$$2$$.$CSSStyle$.$TEXT_DECORATION$;
    $style$$17$$.$getStyle$($k$$2$$) || ($s$$79$$ = this.$getInheritedStyle$($k$$2$$, $style$$17$$, $defaultStyle$$1$$)) && $style$$17$$.$setStyle$($k$$2$$, $s$$79$$);
    return $style$$17$$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$createCallback$ = function $$dvt$$2$$$$AfComponent$$$$createCallback$$($func$$20$$) {
    return $dvt$$2$$.$Obj$.$createCallback$(this, $func$$20$$);
  };
  $dvt$$2$$.$AfComponent$.prototype.$getHAlign$ = function $$dvt$$2$$$$AfComponent$$$$getHAlign$$() {
    return $dvt$$2$$.$AfComponent$.$HALIGN_LEFT$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$getEffectiveHAlign$ = function $$dvt$$2$$$$AfComponent$$$$getEffectiveHAlign$$() {
    var $hAlign$$ = this.$getHAlign$();
    $hAlign$$ == $dvt$$2$$.$AfComponent$.$HALIGN_START$ ? $hAlign$$ = $dvt$$2$$.$Agent$.$isRightToLeft$(this.$getDvtContext$()) ? $dvt$$2$$.$AfComponent$.$HALIGN_RIGHT$ : $dvt$$2$$.$AfComponent$.$HALIGN_LEFT$ : $hAlign$$ == $dvt$$2$$.$AfComponent$.$HALIGN_END$ && ($hAlign$$ = $dvt$$2$$.$Agent$.$isRightToLeft$(this.$getDvtContext$()) ? $dvt$$2$$.$AfComponent$.$HALIGN_LEFT$ : $dvt$$2$$.$AfComponent$.$HALIGN_RIGHT$);
    return $hAlign$$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$createDisplayObj$ = function $$dvt$$2$$$$AfComponent$$$$createDisplayObj$$($dvt$$2$$) {
    if (!this.$renderMe$()) {
      return null;
    }
    this.$_parentNode$ = $dvt$$2$$.$getParentNode$();
    this.$setAfContext$($dvt$$2$$);
    $dvt$$2$$ = this.$getDvtContext$();
    this.$registerAsTabStop$();
    this.$SaveContextCallback$();
    this.$createComputedStyle$ && this.$createComputedStyle$();
    this.$_shape$ = this.$createContentShape$($dvt$$2$$);
    this.$_bgShape$ = this.$createBackgroundShape$($dvt$$2$$, this.$_shape$);
    this.$_bgShape$.$_afComp$ = this;
    return this.$_bgShape$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$getDisplayObj$ = function $$dvt$$2$$$$AfComponent$$$$getDisplayObj$$() {
    return this.$_bgShape$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$addChildDisplayObjs$ = function $$dvt$$2$$$$AfComponent$$$$addChildDisplayObjs$$($dvt$$2$$, $parentDO$$) {
    for (var $child$$21_childDO$$, $cnt$$1$$ = this.$getNumChildren$(), $i$$175$$ = 0;$i$$175$$ < $cnt$$1$$;$i$$175$$++) {
      $child$$21_childDO$$ = this.$getChildAt$($i$$175$$), (!$child$$21_childDO$$.$renderMe$ || $child$$21_childDO$$.$renderMe$()) && ($child$$21_childDO$$ = $child$$21_childDO$$.$createDisplayObj$($dvt$$2$$)) && $parentDO$$.$addChild$($child$$21_childDO$$);
    }
  };
  $dvt$$2$$.$AfComponent$.prototype.$createContentShape$ = function $$dvt$$2$$$$AfComponent$$$$createContentShape$$() {
    return null;
  };
  $dvt$$2$$.$AfComponent$.prototype.$getContentShape$ = function $$dvt$$2$$$$AfComponent$$$$getContentShape$$() {
    return this.$_shape$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$setContentShape$ = function $$dvt$$2$$$$AfComponent$$$$setContentShape$$($dvt$$2$$, $shape$$9$$) {
    $shape$$9$$ && ($dvt$$2$$.$addChild$($shape$$9$$), $shape$$9$$.$_prop$ = this.$_prop$);
    this.$_shape$ = $shape$$9$$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$setCX$ = function $$dvt$$2$$$$AfComponent$$$$setCX$$($dvt$$2$$) {
    this.$_cx$ = $dvt$$2$$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$setCY$ = function $$dvt$$2$$$$AfComponent$$$$setCY$$($dvt$$2$$) {
    this.$_cy$ = $dvt$$2$$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$createBackgroundShape$ = function $$dvt$$2$$$$AfComponent$$$$createBackgroundShape$$($dvtContext$$10$$, $shape$$10$$) {
    var $bgShape$$3$$;
    this.$_hasBgShape$() ? ($bgShape$$3$$ = new $dvt$$2$$.Rect($dvtContext$$10$$, 0, 0, 0, 0, this.$_getUniqueId$() + "_bg"), this.$setContentShape$($bgShape$$3$$, $shape$$10$$)) : $bgShape$$3$$ = $shape$$10$$;
    return $bgShape$$3$$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$renderBackground$ = function $$dvt$$2$$$$AfComponent$$$$renderBackground$$($bgShape$$4$$, $style$$18$$) {
    var $bgColor$$2$$ = "rgba(255, 255, 255, 0)", $bgImg$$;
    $style$$18$$ || ($style$$18$$ = this.$getCSSStyle$());
    $style$$18$$ && ($bgColor$$2$$ = $style$$18$$.$getStyle$($dvt$$2$$.$CSSStyle$.$BACKGROUND_COLOR$), $bgImg$$ = $style$$18$$.$getBackgroundImage$());
    $bgShape$$4$$ || ($bgShape$$4$$ = this.$_bgShape$);
    this.$RenderBackgroundStroke$($bgShape$$4$$, $style$$18$$);
    $bgShape$$4$$.$setFill$ && (this.$RenderBackgroundFill$($bgShape$$4$$, $style$$18$$, $bgColor$$2$$, $bgImg$$), this.$RenderBackgroundImage$($bgShape$$4$$, $style$$18$$, $bgImg$$));
  };
  $dvt$$2$$.$AfComponent$.prototype.$RenderBackgroundFill$ = function $$dvt$$2$$$$AfComponent$$$$RenderBackgroundFill$$($bgShape$$5$$, $arColors$$1_style$$19$$, $arAlphas$$1_bgColor$$3$$, $angle$$4_bgImg$$1$$) {
    if ($angle$$4_bgImg$$1$$ && $angle$$4_bgImg$$1$$ instanceof $dvt$$2$$.$CSSGradient$) {
      $arColors$$1_style$$19$$ = $angle$$4_bgImg$$1$$.$_arColors$;
      $arAlphas$$1_bgColor$$3$$ = $angle$$4_bgImg$$1$$.$_arAlphas$;
      var $arStops$$1$$ = $angle$$4_bgImg$$1$$.$_arRatios$;
      $angle$$4_bgImg$$1$$ = $angle$$4_bgImg$$1$$.$getAngle$();
      $bgShape$$5$$.$setFill$(new $dvt$$2$$.$LinearGradientFill$($angle$$4_bgImg$$1$$, $arColors$$1_style$$19$$, $arAlphas$$1_bgColor$$3$$, $arStops$$1$$));
    } else {
      $arAlphas$$1_bgColor$$3$$ ? $bgShape$$5$$.$setSolidFill$($arAlphas$$1_bgColor$$3$$) : $bgShape$$5$$.$setFill$(null);
    }
  };
  $dvt$$2$$.$AfComponent$.prototype.$RenderBackgroundStroke$ = function $$dvt$$2$$$$AfComponent$$$$RenderBackgroundStroke$$($bgShape$$6$$, $style$$20$$) {
    var $bdColor_stroke$$18$$, $bdWidth$$ = 0, $bdType_borderRadius$$2_radArr$$1$$;
    $style$$20$$ && ($bdColor_stroke$$18$$ = $dvt$$2$$.$AfComponent$.$getBorderColor$($style$$20$$), "transparent" == $bdColor_stroke$$18$$ && ($bdColor_stroke$$18$$ = "rgba(0,0,0,0)"), $bdWidth$$ = $style$$20$$.$getBorderWidth$(), $bdType_borderRadius$$2_radArr$$1$$ = $style$$20$$.$getStyle$($dvt$$2$$.$CSSStyle$.$BORDER_STYLE$));
    "none" != $bdType_borderRadius$$2_radArr$$1$$ && $bdColor_stroke$$18$$ && (isNaN($bdWidth$$) && ($bdWidth$$ = $dvt$$2$$.$AfComponent$.$ParseNonNegativeFloat$($bdWidth$$)), $bdColor_stroke$$18$$ = new $dvt$$2$$.$SolidStroke$($bdColor_stroke$$18$$, null, $bdWidth$$), $bdColor_stroke$$18$$.$setType$($dvt$$2$$.$Stroke$.$convertTypeString$($bdType_borderRadius$$2_radArr$$1$$)), $bgShape$$6$$.$setStroke$($bdColor_stroke$$18$$));
    $style$$20$$ && $bgShape$$6$$ instanceof $dvt$$2$$.Rect && ($bdType_borderRadius$$2_radArr$$1$$ = $style$$20$$.$getStyle$($dvt$$2$$.$CSSStyle$.$BORDER_RADIUS$)) && ($bdType_borderRadius$$2_radArr$$1$$ = $dvt$$2$$.$StringUtils$.trim($bdType_borderRadius$$2_radArr$$1$$).split(" "), 0 < $bdType_borderRadius$$2_radArr$$1$$.length && $bdType_borderRadius$$2_radArr$$1$$[0] && $bgShape$$6$$.$setRx$($dvt$$2$$.$AfComponent$.$ParseNonNegativeFloat$($bdType_borderRadius$$2_radArr$$1$$[0])), 1 < $bdType_borderRadius$$2_radArr$$1$$.length && 
    $bdType_borderRadius$$2_radArr$$1$$[1] && $bgShape$$6$$.$setRy$($dvt$$2$$.$AfComponent$.$ParseNonNegativeFloat$($bdType_borderRadius$$2_radArr$$1$$[1])));
  };
  $dvt$$2$$.$AfComponent$.prototype.$RenderBackgroundImage$ = function $$dvt$$2$$$$AfComponent$$$$RenderBackgroundImage$$($bgShape$$7$$, $style$$21$$, $bgImg$$2$$) {
    !$bgImg$$2$$ || "none" === $bgImg$$2$$ || $bgImg$$2$$ instanceof $dvt$$2$$.$CSSGradient$ || (this.$_bgImg$ = $bgImg$$2$$, $dvt$$2$$.$ImageLoader$.$loadImage$(this.$getDvtContext$(), $bgImg$$2$$, this.$createCallback$(this.$onBgImageLoaded$)));
  };
  $dvt$$2$$.$AfComponent$.prototype.$onBgImageLoaded$ = function $$dvt$$2$$$$AfComponent$$$$onBgImageLoaded$$($image$$4$$) {
    if (null != $image$$4$$ && $image$$4$$.width && $image$$4$$.height) {
      var $bgShape$$8$$ = this.$_bgShape$, $bgRepeat$$ = this.$getCSSStyle$().$getStyle$($dvt$$2$$.$CSSStyle$.$BACKGROUND_REPEAT$), $dim$$15$$;
      $dim$$15$$ = $bgRepeat$$ && "no-repeat" == $bgRepeat$$ ? $bgShape$$8$$.$getDimensions$() : new $dvt$$2$$.$Rectangle$(0, 0, $image$$4$$.width, $image$$4$$.height);
      $bgShape$$8$$.$setFill$(new $dvt$$2$$.$ImageFill$($dvt$$2$$.$Agent$.$isEnvironmentBatik$() ? $image$$4$$.uri : this.$_bgImg$, $dim$$15$$, $bgRepeat$$));
    }
  };
  $dvt$$2$$.$AfComponent$.prototype.$renderMe$ = function $$dvt$$2$$$$AfComponent$$$$renderMe$$() {
    return this instanceof $dvt$$2$$.$AfComponent$ && this.$isRendered$() && this.$isVisible$();
  };
  $dvt$$2$$.$AfComponent$.prototype.$_isRenderEL$ = function $$dvt$$2$$$$AfComponent$$$$_isRenderEL$$() {
    if (this instanceof $dvt$$2$$.$AfComponent$) {
      var $_render$$ = this.$getProperty$($dvt$$2$$.$AfComponent$.$ATTR_RENDERED$), $_visible$$ = this.$getProperty$($dvt$$2$$.$AfComponent$.$ATTR_VISIBLE$);
      return $_render$$ && "string" === typeof $_render$$ && $_render$$.match($dvt$$2$$.$PropMap$.$REGEXP$) || $_visible$$ && "string" === typeof $_visible$$ && $_visible$$.match($dvt$$2$$.$PropMap$.$REGEXP$);
    }
    return !1;
  };
  $dvt$$2$$.$AfComponent$.prototype.$isTooltipEnabled$ = function $$dvt$$2$$$$AfComponent$$$$isTooltipEnabled$$() {
    var $dvt$$2$$ = this.$getTooltip$();
    return $dvt$$2$$ && 0 < $dvt$$2$$.length;
  };
  $dvt$$2$$.$AfComponent$.prototype.$getTooltip$ = function $$dvt$$2$$$$AfComponent$$$$getTooltip$$() {
    return this.$getShortDesc$();
  };
  $dvt$$2$$.$AfComponent$.prototype.$setTranslateX$ = function $$dvt$$2$$$$AfComponent$$$$setTranslateX$$($dvt$$2$$) {
    var $dispObj$$3$$ = this.$_bgShape$;
    $dispObj$$3$$ && $dispObj$$3$$.$setTranslateX$($dvt$$2$$);
  };
  $dvt$$2$$.$AfComponent$.prototype.$setTranslateY$ = function $$dvt$$2$$$$AfComponent$$$$setTranslateY$$($dvt$$2$$) {
    var $dispObj$$4$$ = this.$_bgShape$;
    $dispObj$$4$$ && $dispObj$$4$$.$setTranslateY$($dvt$$2$$);
  };
  $dvt$$2$$.$AfComponent$.$getDimensions$ = function $$dvt$$2$$$$AfComponent$$$getDimensions$$($comp$$2$$) {
    return $comp$$2$$ instanceof $dvt$$2$$.$AfComponent$ ? $comp$$2$$.$getBounds$() : $comp$$2$$.$getDimensions$();
  };
  $dvt$$2$$.$AfComponent$.prototype.$getBounds$ = function $$dvt$$2$$$$AfComponent$$$$getBounds$$() {
    if (!this.$_dim$) {
      var $dim$$16$$;
      this.$_cw$ && this.$_cw$ !== Number.MAX_VALUE && this.$_ch$ && this.$_ch$ !== Number.MAX_VALUE ? $dim$$16$$ = new $dvt$$2$$.$Rectangle$(0, 0, 0, 0) : ($dim$$16$$ = this.$_bgShape$.$getDimensionsWithStroke$()) ? ($dim$$16$$.x = 0, $dim$$16$$.y = 0) : $dim$$16$$ = new $dvt$$2$$.$Rectangle$(0, 0, 0, 0);
      var $style$$23$$ = this.$getCSSStyle$();
      $dim$$16$$.$w$ = this.$_cw$ && this.$_cw$ !== Number.MAX_VALUE ? this.$_cw$ + $style$$23$$.$getMargin$($dvt$$2$$.$CSSStyle$.$MARGIN_LEFT$) + $style$$23$$.$getMargin$($dvt$$2$$.$CSSStyle$.$MARGIN_RIGHT$) + $style$$23$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_LEFT$) + $style$$23$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_RIGHT$) + $style$$23$$.$getBorderSideWidth$($dvt$$2$$.$CSSStyle$.$BORDER_LEFT_WIDTH$) + $style$$23$$.$getBorderSideWidth$($dvt$$2$$.$CSSStyle$.$BORDER_RIGHT_WIDTH$) : $dim$$16$$.$w$ + 
      ($style$$23$$.$getMargin$($dvt$$2$$.$CSSStyle$.$MARGIN_LEFT$) + $style$$23$$.$getMargin$($dvt$$2$$.$CSSStyle$.$MARGIN_RIGHT$));
      $dim$$16$$.$h$ = this.$_ch$ && this.$_ch$ !== Number.MAX_VALUE ? this.$_ch$ + $style$$23$$.$getMargin$($dvt$$2$$.$CSSStyle$.$MARGIN_TOP$) + $style$$23$$.$getMargin$($dvt$$2$$.$CSSStyle$.$MARGIN_BOTTOM$) + $style$$23$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_TOP$) + $style$$23$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_BOTTOM$) + $style$$23$$.$getBorderSideWidth$($dvt$$2$$.$CSSStyle$.$BORDER_TOP_WIDTH$) + $style$$23$$.$getBorderSideWidth$($dvt$$2$$.$CSSStyle$.$BORDER_BOTTOM_WIDTH$) : $dim$$16$$.$h$ + 
      ($style$$23$$.$getMargin$($dvt$$2$$.$CSSStyle$.$MARGIN_TOP$) + $style$$23$$.$getMargin$($dvt$$2$$.$CSSStyle$.$MARGIN_BOTTOM$));
      this.$_dim$ = $dim$$16$$;
    }
    return this.$_dim$;
  };
  $dvt$$2$$.$AfComponent$.$_getContentShape$ = function $$dvt$$2$$$$AfComponent$$$_getContentShape$$($child$$22$$) {
    return $child$$22$$ instanceof $dvt$$2$$.$AfComponent$ ? $child$$22$$.$getContentShape$() : $child$$22$$.$_bgShape$;
  };
  $dvt$$2$$.$AfComponent$.$_setTranslateGroup$ = function $$dvt$$2$$$$AfComponent$$$_setTranslateGroup$$($child$$23_dispObj$$5$$, $relx$$2$$, $rely$$2$$) {
    if ($child$$23_dispObj$$5$$ instanceof $dvt$$2$$.$AfComponent$) {
      if ($child$$23_dispObj$$5$$ = $child$$23_dispObj$$5$$.$_bgShape$) {
        $child$$23_dispObj$$5$$.$setTranslateX$($relx$$2$$), $child$$23_dispObj$$5$$.$setTranslateY$($rely$$2$$);
      }
    } else {
      $child$$23_dispObj$$5$$.$setTranslateX$ && $child$$23_dispObj$$5$$.$setTranslateX$($relx$$2$$), $child$$23_dispObj$$5$$.$setTranslateY$ && $child$$23_dispObj$$5$$.$setTranslateY$($rely$$2$$);
    }
  };
  $dvt$$2$$.$AfComponent$.prototype.$getTagName$ = function $$dvt$$2$$$$AfComponent$$$$getTagName$$() {
  };
  $dvt$$2$$.$AfComponent$.prototype.$_hasBgShape$ = function $$dvt$$2$$$$AfComponent$$$$_hasBgShape$$() {
    if (void 0 === this.$_needBgShape$) {
      var $style$$24$$ = this.$getCSSStyle$();
      this.$_needBgShape$ = $style$$24$$ && ($style$$24$$.$getStyle$($dvt$$2$$.$CSSStyle$.$BACKGROUND_COLOR$) || $style$$24$$.$getBackgroundImage$() || $dvt$$2$$.$AfComponent$.$getBorderColor$($style$$24$$) || $style$$24$$.$getBorderWidth$() || $style$$24$$.$getStyle$($dvt$$2$$.$CSSStyle$.$BORDER_RADIUS$));
    }
    return this.$_needBgShape$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$createTextShape$ = function $$dvt$$2$$$$AfComponent$$$$createTextShape$$($isWordWrap_textShape$$, $text$$32$$, $cssStyle$$14_textStyle$$, $defStyle$$1$$, $id$$63$$) {
    var $dvtContext$$11$$ = this.$getDvtContext$();
    $id$$63$$ || ($id$$63$$ = this.$_getUniqueId$());
    $isWordWrap_textShape$$ = $isWordWrap_textShape$$ ? new $dvt$$2$$.$MultilineText$($dvtContext$$11$$, $text$$32$$, 0, 0, $id$$63$$) : new $dvt$$2$$.$OutputText$($dvtContext$$11$$, $text$$32$$, 0, 0, $id$$63$$);
    ($cssStyle$$14_textStyle$$ = this.$createTextStyles$($cssStyle$$14_textStyle$$, $defStyle$$1$$)) && $isWordWrap_textShape$$.$setCSSStyle$($cssStyle$$14_textStyle$$);
    $isWordWrap_textShape$$.$_prop$ = this.$_prop$;
    return $isWordWrap_textShape$$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$isCommandComponent$ = function $$dvt$$2$$$$AfComponent$$$$isCommandComponent$$() {
    return !1;
  };
  $dvt$$2$$.$AfComponent$.prototype.$getShowPopupBehaviors$ = function $$dvt$$2$$$$AfComponent$$$$getShowPopupBehaviors$$() {
    return this.$_showPopupBehaviors$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$addShowPopupBehavior$ = function $$dvt$$2$$$$AfComponent$$$$addShowPopupBehavior$$($dvt$$2$$) {
    this.$_showPopupBehaviors$ || (this.$_showPopupBehaviors$ = []);
    this.$_showPopupBehaviors$.push($dvt$$2$$);
  };
  $dvt$$2$$.$AfComponent$.prototype.$getClientBehaviors$ = function $$dvt$$2$$$$AfComponent$$$$getClientBehaviors$$() {
    return this.$_clientBehaviors$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$addClientBehavior$ = function $$dvt$$2$$$$AfComponent$$$$addClientBehavior$$($dvt$$2$$) {
    this.$_clientBehaviors$ || (this.$_clientBehaviors$ = []);
    this.$_clientBehaviors$.push($dvt$$2$$);
  };
  $dvt$$2$$.$AfComponent$.prototype.$SaveContextCallback$ = function $$dvt$$2$$$$AfComponent$$$$SaveContextCallback$$() {
    if (this.$getShowPopupBehaviors$ && this.$getShowPopupBehaviors$() || this.$getClientBehaviors$() || this.$isCommandComponent$() || this instanceof $dvt$$2$$.$AfPanelCard$) {
      this.$setContextCallbackObj$(this.$_afContext$.$getContextCallbackObj$()), this.$setContextCallback$(this.$_afContext$.$getContextCallback$());
    }
  };
  $dvt$$2$$.$AfComponent$.prototype.$getContextCallback$ = function $$dvt$$2$$$$AfComponent$$$$getContextCallback$$() {
    return this.$_contextCallback$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$getContextCallbackObj$ = function $$dvt$$2$$$$AfComponent$$$$getContextCallbackObj$$() {
    return this.$_contextCallbackObj$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$setContextCallback$ = function $$dvt$$2$$$$AfComponent$$$$setContextCallback$$($dvt$$2$$) {
    this.$_contextCallback$ = $dvt$$2$$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$setContextCallbackObj$ = function $$dvt$$2$$$$AfComponent$$$$setContextCallbackObj$$($dvt$$2$$) {
    this.$_contextCallbackObj$ = $dvt$$2$$;
  };
  $dvt$$2$$.$AfComponent$.$_renderComp$ = function $$dvt$$2$$$$AfComponent$$$_renderComp$$($dvt$$2$$, $comp$$3$$, $availWidth$$4$$, $availHeight$$4$$) {
    var $saveAW$$ = $dvt$$2$$.$getAvailableWidth$(), $saveAH$$ = $dvt$$2$$.$_ah$;
    $dvt$$2$$.$setAvailableWidth$($availWidth$$4$$);
    $dvt$$2$$.$setAvailableHeight$($availHeight$$4$$);
    $comp$$3$$.$render$ && $comp$$3$$.$render$($dvt$$2$$);
    $dvt$$2$$.$setAvailableWidth$($saveAW$$);
    $dvt$$2$$.$setAvailableHeight$($saveAH$$);
  };
  $dvt$$2$$.$AfComponent$.prototype.$_addClipPathIfNeeded$ = function $$dvt$$2$$$$AfComponent$$$$_addClipPathIfNeeded$$($afContext$$30$$, $aw$$, $dim$$17_dimW$$, $ah$$, $dimH$$, $shape$$12$$) {
    if ($dim$$17_dimW$$ > $aw$$ + $dvt$$2$$.Math.$TOLERANCE$ || $dimH$$ > $ah$$ + $dvt$$2$$.Math.$TOLERANCE$) {
      if ($shape$$12$$ && ($dim$$17_dimW$$ = $dvt$$2$$.$DisplayableUtils$.$getDimensionsForced$($afContext$$30$$.$getCtx$(), $shape$$12$$), $dim$$17_dimW$$.$w$ <= $aw$$ + $dvt$$2$$.Math.$TOLERANCE$ && $dim$$17_dimW$$.$h$ <= $ah$$ + $dvt$$2$$.Math.$TOLERANCE$)) {
        return;
      }
      this.$_clipped$ = $afContext$$30$$.$_rmIfNotFit$ ? $dvt$$2$$.$AfComponent$.$_REMOVE_LATER$ : $dvt$$2$$.$AfComponent$.$_CLIP_CONTAINER$;
    }
  };
  $dvt$$2$$.$AfComponent$.prototype.$setClipContainer$ = function $$dvt$$2$$$$AfComponent$$$$setClipContainer$$($parent$$34$$) {
    this.$isClippedNoClipPath$() && ($parent$$34$$.$_clipped$ = $dvt$$2$$.$AfComponent$.$_CLIP_LATER$);
  };
  $dvt$$2$$.$AfComponent$.prototype.$addClipPath$ = function $$dvt$$2$$$$AfComponent$$$$addClipPath$$() {
    if (this.$noClipPath$()) {
      var $clipPathDims$$ = this.$GetClipPathDimensions$(), $newContainer$$ = this.$CreateNewContainerForChildren$(), $clipPath$$4$$ = new $dvt$$2$$.$ClipPath$(this.$_getUniqueId$() + $DvtAfComponentUtils$$.$_CLIP_PATH_SUFFIX$);
      $clipPath$$4$$.$addRect$($clipPathDims$$.x, $clipPathDims$$.y, $clipPathDims$$.$w$, $clipPathDims$$.$h$);
      $newContainer$$.$setClipPath$($clipPath$$4$$);
      this.$_clipped$ = $dvt$$2$$.$AfComponent$.$_CLIP_PATH$;
      return !0;
    }
    return !1;
  };
  $dvt$$2$$.$AfComponent$.prototype.$GetClipPathDimensions$ = function $$dvt$$2$$$$AfComponent$$$$GetClipPathDimensions$$() {
    var $xx$$10$$ = this.$_cx$, $yy$$10$$ = this.$_cy$, $ww$$33$$ = this.$_cpw$, $hh$$29$$ = this.$_cph$;
    if (void 0 == $ww$$33$$ || $ww$$33$$ == Number.MAX_VALUE) {
      $ww$$33$$ = this.$_cw$;
    }
    if (void 0 == $hh$$29$$ || $hh$$29$$ == Number.MAX_VALUE) {
      $hh$$29$$ = this.$_ch$;
    }
    return new $dvt$$2$$.$Rectangle$($xx$$10$$, $yy$$10$$, $ww$$33$$, $hh$$29$$);
  };
  $dvt$$2$$.$AfComponent$.prototype.$isClippedNoClipPath$ = function $$dvt$$2$$$$AfComponent$$$$isClippedNoClipPath$$() {
    return this.$_clipped$ && this.$noClipPath$();
  };
  $dvt$$2$$.$AfComponent$.prototype.$noClipPath$ = function $$dvt$$2$$$$AfComponent$$$$noClipPath$$() {
    return this.$_clipped$ !== $dvt$$2$$.$AfComponent$.$_CLIP_PATH$;
  };
  $dvt$$2$$.$AfComponent$.$genUniqueId$ = function $$dvt$$2$$$$AfComponent$$$genUniqueId$$() {
    return $dvt$$2$$.$AfComponent$.$_uniqueSeed$++;
  };
  $dvt$$2$$.$AfComponent$.prototype.$_getUniqueId$ = function $$dvt$$2$$$$AfComponent$$$$_getUniqueId$$() {
    if (this.$_uniqueId$) {
      return this.$_uniqueId$;
    }
    var $id$$64$$ = this.getId();
    return this.$_uniqueId$ = $id$$64$$ = void 0 === $id$$64$$ ? "_G" + this.$getTagName$() + "_" + $dvt$$2$$.$AfComponent$.$genUniqueId$() : $id$$64$$ + ("_" + $dvt$$2$$.$AfComponent$.$genUniqueId$());
  };
  $dvt$$2$$.$AfComponent$.prototype.$RegisterImageCallback$ = function $$dvt$$2$$$$AfComponent$$$$RegisterImageCallback$$($imgSrc$$) {
    var $owner$$2$$ = this.$_afContext$.$_imageCallbackObj$, $func$$21$$ = this.$_afContext$.$_imageCallback$;
    $owner$$2$$ && $func$$21$$ && $dvt$$2$$.$ImageLoader$.$loadImage$(this.$getDvtContext$(), $imgSrc$$, $dvt$$2$$.$Obj$.$createCallback$($owner$$2$$, $func$$21$$));
    $func$$21$$ = this.$_afContext$.$_imageNotReadyCallback$;
    $owner$$2$$ && $func$$21$$ && $dvt$$2$$.$Obj$.$createCallback$($owner$$2$$, $func$$21$$)(this.$_parentNode$, $imgSrc$$);
  };
  $dvt$$2$$.$AfComponent$.prototype.$getPopupBounds$ = function $$dvt$$2$$$$AfComponent$$$$getPopupBounds$$($dvt$$2$$) {
    if ($dvt$$2$$ && ($dvt$$2$$ = $dvt$$2$$.$getAlignId$())) {
      if (this.getId() == $dvt$$2$$) {
        if ($dvt$$2$$ = this.$_bgShape$) {
          return $dvt$$2$$.$getDimensions$($dvt$$2$$.$getCtx$().$_stage$);
        }
      } else {
        if (this.$_parentNode$ && this.$_parentNode$.$findComponentPopupBounds$) {
          return this.$_parentNode$.$findComponentPopupBounds$($dvt$$2$$);
        }
      }
    }
    return null;
  };
  $dvt$$2$$.$AfComponent$.prototype.$_getBoxSizing$ = function $$dvt$$2$$$$AfComponent$$$$_getBoxSizing$$() {
    if (!this.$_boxSizing$) {
      var $bs$$ = this.$getStyle$($dvt$$2$$.$CSSStyle$.$BOX_SIZING$);
      if ($bs$$) {
        this.$_boxSizing$ = $bs$$;
      } else {
        var $parent$$35$$ = this.getParent();
        $parent$$35$$ && $parent$$35$$ instanceof $dvt$$2$$.$AfComponent$ && ($bs$$ = $parent$$35$$.$_getBoxSizing$());
        this.$_boxSizing$ = $bs$$ ? $bs$$ : $dvt$$2$$.$AfComponent$.$DEFAULT_BOX_SIZING$;
      }
    }
    return this.$_boxSizing$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$isContentBox$ = function $$dvt$$2$$$$AfComponent$$$$isContentBox$$() {
    return this.$_getBoxSizing$() == $dvt$$2$$.$CSSStyle$.$CONTENT_BOX$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$_getMarginBorderPaddingWidth$ = function $$dvt$$2$$$$AfComponent$$$$_getMarginBorderPaddingWidth$$() {
    return this.$_cx$ + this.$_rightx$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$_getMarginBorderPaddingHeight$ = function $$dvt$$2$$$$AfComponent$$$$_getMarginBorderPaddingHeight$$() {
    return this.$_cy$ + this.$_bottomy$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$associate$ = function $$dvt$$2$$$$AfComponent$$$$associate$$($dvt$$2$$, $logicalObject$$2$$) {
    this.$_afContext$.$getEventManager$() && this.$_afContext$.$getEventManager$().$associate$($dvt$$2$$, $logicalObject$$2$$ ? $logicalObject$$2$$ : this);
  };
  $dvt$$2$$.$AfComponent$.prototype.$_getAfStyleAt$ = function $$dvt$$2$$$$AfComponent$$$$_getAfStyleAt$$($dvt$$2$$) {
    var $styleList$$7$$ = this.$GetDefaultStyles$();
    return $styleList$$7$$.length > $dvt$$2$$ ? $styleList$$7$$[$dvt$$2$$] : null;
  };
  $dvt$$2$$.$AfComponent$.prototype.$_setOverrideStyle$ = function $$dvt$$2$$$$AfComponent$$$$_setOverrideStyle$$() {
  };
  $dvt$$2$$.$AfComponent$.prototype.$postRender$ = function $$dvt$$2$$$$AfComponent$$$$postRender$$() {
    this.$postRenderSelfBeforeChildren$();
    this.$postRenderChildren$();
  };
  $dvt$$2$$.$AfComponent$.prototype.$postRenderSelfBeforeChildren$ = function $$dvt$$2$$$$AfComponent$$$$postRenderSelfBeforeChildren$$() {
  };
  $dvt$$2$$.$AfComponent$.prototype.$postRenderChildren$ = function $$dvt$$2$$$$AfComponent$$$$postRenderChildren$$() {
    for (var $dvt$$2$$, $i$$176$$ = 0;$i$$176$$ < this.$getNumChildren$();$i$$176$$++) {
      $dvt$$2$$ = this.$getChildAt$($i$$176$$), $dvt$$2$$.$renderMe$ && !$dvt$$2$$.$renderMe$() || !$dvt$$2$$.$postRender$ || $dvt$$2$$.$postRender$();
    }
  };
  $dvt$$2$$.$AfComponent$.prototype.$CreateNewContainerForChildren$ = function $$dvt$$2$$$$AfComponent$$$$CreateNewContainerForChildren$$() {
    var $dispObj$$7$$ = this.$_bgShape$;
    if (0 < $dispObj$$7$$.$getNumChildren$()) {
      var $newContainer$$1$$ = new $dvt$$2$$.$Container$(this.$getDvtContext$());
      $dvt$$2$$.$AfComponent$.$_reparentChildren$($newContainer$$1$$, $dispObj$$7$$);
      $dispObj$$7$$.$addChild$($newContainer$$1$$);
      return $newContainer$$1$$;
    }
    return $dispObj$$7$$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$RemoveChildrenContainer$ = function $$dvt$$2$$$$AfComponent$$$$RemoveChildrenContainer$$($container$$5$$) {
    var $dispObj$$8$$ = this.$_bgShape$;
    $dvt$$2$$.$AfComponent$.$_reparentChildren$($dispObj$$8$$, $container$$5$$);
    $dispObj$$8$$.removeChild($container$$5$$);
  };
  $dvt$$2$$.$AfComponent$.$_reparentChildren$ = function $$dvt$$2$$$$AfComponent$$$_reparentChildren$$($dvt$$2$$, $source$$25$$) {
    for (var $child$$26$$, $bindex$$ = $dvt$$2$$.$getNumChildren$(), $i$$177$$ = $source$$25$$.$getNumChildren$() - 1;0 <= $i$$177$$;$i$$177$$--) {
      $child$$26$$ = $source$$25$$.$getChildAt$($i$$177$$), $dvt$$2$$.$addChildAt$($child$$26$$, $bindex$$);
    }
  };
  $dvt$$2$$.$AfComponent$.prototype.$getAriaLabel$ = function $$dvt$$2$$$$AfComponent$$$$getAriaLabel$$() {
    return this.$getShortDesc$();
  };
  $dvt$$2$$.$AfComponent$.prototype.$addAccessibilityAttributes$ = function $$dvt$$2$$$$AfComponent$$$$addAccessibilityAttributes$$($obj$$102$$) {
    var $desc$$8$$ = this.$getAriaLabel$();
    $obj$$102$$ && $desc$$8$$ && ($obj$$102$$.$setAriaRole$(this.$getAriaRole$()), $dvt$$2$$.$Agent$.$deferAriaCreation$() || $obj$$102$$.$setAriaProperty$("label", $desc$$8$$));
  };
  $dvt$$2$$.$AfComponent$.prototype.$registerAsTabStop$ = function $$dvt$$2$$$$AfComponent$$$$registerAsTabStop$$() {
  };
  $dvt$$2$$.$AfComponent$.prototype.$unregisterAsTabStop$ = function $$dvt$$2$$$$AfComponent$$$$unregisterAsTabStop$$() {
    if (this.$_afContext$) {
      this.$_afContext$.$unregisterTabStop$(this);
      for (var $dvt$$2$$ = this.$getNumChildren$(), $i$$178$$ = 0;$i$$178$$ < $dvt$$2$$;$i$$178$$++) {
        var $child$$27$$ = this.$getChildAt$($i$$178$$);
        $child$$27$$.$unregisterAsTabStop$ && $child$$27$$.$unregisterAsTabStop$();
      }
    }
  };
  $dvt$$2$$.$AfComponent$.prototype.$showKeyboardFocusEffect$ = function $$dvt$$2$$$$AfComponent$$$$showKeyboardFocusEffect$$() {
    this.$_keyboardFocusEffect$ || (this.$_keyboardFocusEffect$ = this.$CreateKeyboardFocusEffect$());
    this.$_keyboardFocusEffect$.show();
    this.$_isShowingKeyboardFocusEffect$ = !0;
    this.$getDvtContext$().$setActiveElement$(this.$_bgShape$);
  };
  $dvt$$2$$.$AfComponent$.prototype.$hideKeyboardFocusEffect$ = function $$dvt$$2$$$$AfComponent$$$$hideKeyboardFocusEffect$$() {
    this.$_keyboardFocusEffect$ && this.$_keyboardFocusEffect$.$hide$();
    this.$_isShowingKeyboardFocusEffect$ = !1;
  };
  $dvt$$2$$.$AfComponent$.prototype.$isShowingKeyboardFocusEffect$ = function $$dvt$$2$$$$AfComponent$$$$isShowingKeyboardFocusEffect$$() {
    return this.$_isShowingKeyboardFocusEffect$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$CreateKeyboardFocusEffect$ = function $$dvt$$2$$$$AfComponent$$$$CreateKeyboardFocusEffect$$() {
    return new $dvt$$2$$.$KeyboardFocusEffect$(this.$getDvtContext$(), this.$_bgShape$, this.$_bgShape$.$getDimensions$());
  };
  $dvt$$2$$.$AfComponent$.prototype.$handleKeyboardEvent$ = function $$dvt$$2$$$$AfComponent$$$$handleKeyboardEvent$$($event$$169_mouseEvent$$3$$) {
    if ($event$$169_mouseEvent$$3$$.keyCode == $dvt$$2$$.KeyboardEvent.$ENTER$) {
      var $eventManager$$10$$ = this.$_afContext$.$_eventManager$, $target$$64$$ = this.$_bgShape$, $point$$26$$ = $target$$64$$.$localToStage$(new $dvt$$2$$.$Point$(0, 0));
      $event$$169_mouseEvent$$3$$ = $dvt$$2$$.$DomEventFactory$.$generateMouseEventFromKeyboardEvent$($event$$169_mouseEvent$$3$$, this.$getDvtContext$(), $dvt$$2$$.MouseEvent.$CLICK$, $point$$26$$.x, $point$$26$$.y);
      $event$$169_mouseEvent$$3$$.target = $target$$64$$;
      $eventManager$$10$$.$PreOnClick$($event$$169_mouseEvent$$3$$);
    }
  };
  $dvt$$2$$.$AfComponent$.prototype.$getSize$ = function $$dvt$$2$$$$AfComponent$$$$getSize$$($afContext$$31_ww$$34$$) {
    var $hh$$30_self$$1$$ = $dvt$$2$$.$AfComponent$.$superclass$.$stamp$.call(this, $afContext$$31_ww$$34$$), $size$$12$$ = null;
    if (!$hh$$30_self$$1$$.$renderMe$ || $hh$$30_self$$1$$.$renderMe$()) {
      $hh$$30_self$$1$$.$setAfContext$($afContext$$31_ww$$34$$);
      $hh$$30_self$$1$$.$createComputedStyle$ && $hh$$30_self$$1$$.$createComputedStyle$();
      var $cssStyle$$15$$ = $hh$$30_self$$1$$.$getCSSStyle$();
      $afContext$$31_ww$$34$$ = $hh$$30_self$$1$$.$_getExplicitWidth$($cssStyle$$15$$);
      $hh$$30_self$$1$$ = $hh$$30_self$$1$$.$_getExplicitHeight$($cssStyle$$15$$);
      $afContext$$31_ww$$34$$ && $hh$$30_self$$1$$ && ($size$$12$$ = new $dvt$$2$$.$Dimension$($afContext$$31_ww$$34$$, $hh$$30_self$$1$$));
    }
    return $size$$12$$;
  };
  $dvt$$2$$.$AfComponent$.$getBorderColor$ = function $$dvt$$2$$$$AfComponent$$$getBorderColor$$($style$$26$$) {
    var $bdColor$$1$$, $bdTopColor_bdWidth$$1$$;
    $style$$26$$ && ($bdColor$$1$$ = $style$$26$$.$getStyle$($dvt$$2$$.$CSSStyle$.$BORDER_COLOR$), $bdTopColor_bdWidth$$1$$ = $style$$26$$.$getBorderWidth$());
    if (!$bdColor$$1$$ && $bdTopColor_bdWidth$$1$$) {
      $bdTopColor_bdWidth$$1$$ = $style$$26$$.$getStyle$($dvt$$2$$.$CSSStyle$.$BORDER_TOP_COLOR$);
      var $bdBottomColor$$ = $style$$26$$.$getStyle$($dvt$$2$$.$CSSStyle$.$BORDER_BOTTOM_COLOR$), $bdLeftColor$$ = $style$$26$$.$getStyle$($dvt$$2$$.$CSSStyle$.$BORDER_LEFT_COLOR$), $bdRightColor$$ = $style$$26$$.$getStyle$($dvt$$2$$.$CSSStyle$.$BORDER_RIGHT_COLOR$);
      $bdTopColor_bdWidth$$1$$ && $bdBottomColor$$ && $bdLeftColor$$ && $bdRightColor$$ && ($bdLeftColor$$ == $bdRightColor$$ && $bdLeftColor$$ == $bdTopColor_bdWidth$$1$$ && $bdLeftColor$$ == $bdBottomColor$$ ? $bdColor$$1$$ = $bdLeftColor$$ : $bdLeftColor$$ == $bdTopColor_bdWidth$$1$$ ? $bdColor$$1$$ = $bdLeftColor$$ : $bdRightColor$$ == $bdBottomColor$$ && ($bdColor$$1$$ = $bdRightColor$$));
      $bdColor$$1$$ || ($bdColor$$1$$ = $style$$26$$.$getStyle$($dvt$$2$$.$CSSStyle$.$COLOR$)) || ($bdColor$$1$$ = "black");
    }
    return $bdColor$$1$$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$getAriaRole$ = function $$dvt$$2$$$$AfComponent$$$$getAriaRole$$() {
    return "img";
  };
  $dvt$$2$$.$AfComponent$.prototype.$setAfContext$ = function $$dvt$$2$$$$AfComponent$$$$setAfContext$$($dvt$$2$$) {
    this.$_afContext$ = $dvt$$2$$;
  };
  $dvt$$2$$.$AfComponent$.prototype.$getDvtContext$ = function $$dvt$$2$$$$AfComponent$$$$getDvtContext$$() {
    return this.$_afContext$ ? this.$_afContext$.$getCtx$() : null;
  };
  $dvt$$2$$.$AfComponent$.prototype.$isUnrelatedToSelection$ = function $$dvt$$2$$$$AfComponent$$$$isUnrelatedToSelection$$() {
    return !0;
  };
  $dvt$$2$$.$Bundle$.$addDefaultStrings$($dvt$$2$$.$Bundle$.$AFCOMPONENT_PREFIX$, {ARIA_LABEL_ITEM_COUNT:"{0} of {1}"});
  $dvt$$2$$.$Obj$.$createSubclass$($DvtAfComponentUtils$$, $dvt$$2$$.$Obj$, "DvtAfComponentUtils");
  $DvtAfComponentUtils$$.$_CLIP_PATH_SUFFIX$ = "_clp";
  $DvtAfComponentUtils$$.$_calcVContentSize$ = function $$DvtAfComponentUtils$$$$_calcVContentSize$$($afContext$$33$$, $afRoot$$4$$, $arDim$$, $isLink$$2$$) {
    var $cnt$$3$$ = $afRoot$$4$$.$getNumChildren$();
    if (0 == $cnt$$3$$) {
      return new $dvt$$2$$.$Rectangle$(0, 0, 0, 0);
    }
    var $child$$28$$, $contentWidth$$ = 0, $contentHeight$$ = 0, $toBeRm$$ = [], $rootw$$, $rooth$$;
    $isLink$$2$$ ? ($rootw$$ = $afRoot$$4$$.$_aw$, $rooth$$ = $afRoot$$4$$.$_ah$, $contentWidth$$ = $afRoot$$4$$.$_cw$, $contentHeight$$ = $afRoot$$4$$.$_ch$) : ($rootw$$ = $afRoot$$4$$.$_cw$, $rooth$$ = $afRoot$$4$$.$_ch$);
    for (var $i$$179$$ = 0;$i$$179$$ < $cnt$$3$$;$i$$179$$++) {
      if ($child$$28$$ = $afRoot$$4$$.$getChildAt$($i$$179$$), !$child$$28$$.$renderMe$ || $child$$28$$.$renderMe$()) {
        var $dim$$18$$ = $dvt$$2$$.$AfComponent$.$getDimensions$($child$$28$$), $cw$$2$$ = $dim$$18$$.$w$, $ch$$2$$ = $dim$$18$$.$h$;
        if (0 === $cw$$2$$ || 0 === $ch$$2$$ || !$isLink$$2$$ && $contentHeight$$ == $afRoot$$4$$.$_ch$) {
          $toBeRm$$.push($child$$28$$);
        } else {
          if ($child$$28$$.$_clipped$ || $contentHeight$$ + $ch$$2$$ > $rooth$$ + $dvt$$2$$.Math.$TOLERANCE$ || $cw$$2$$ > $rootw$$ + $dvt$$2$$.Math.$TOLERANCE$) {
            if ($child$$28$$.$_clipped$ == $dvt$$2$$.$AfComponent$.$_REMOVE_LATER$ || $afContext$$33$$.$_rmIfNotFit$) {
              $toBeRm$$.push($child$$28$$);
              continue;
            } else {
              $child$$28$$.$setClipContainer$($afRoot$$4$$), $contentHeight$$ = $contentHeight$$ + $ch$$2$$ > $rooth$$ ? $rooth$$ : $contentHeight$$ + $ch$$2$$, $contentWidth$$ = $cw$$2$$ > $rootw$$ ? $rootw$$ : Math.max($contentWidth$$, $cw$$2$$);
            }
          } else {
            $child$$28$$ instanceof $dvt$$2$$.$AfSeparator$ || ($contentWidth$$ = Math.max($contentWidth$$, $cw$$2$$)), $contentHeight$$ += $ch$$2$$;
          }
          $arDim$$.push($dim$$18$$);
        }
      }
    }
    for ($i$$179$$ = $toBeRm$$.length - 1;0 <= $i$$179$$;$i$$179$$--) {
      $child$$28$$ = $toBeRm$$[$i$$179$$], $dvt$$2$$.$AfComponent$.removeChild($child$$28$$);
    }
    return new $dvt$$2$$.$Rectangle$(0, 0, $contentWidth$$, $contentHeight$$);
  };
  $DvtAfComponentUtils$$.$_calcHContentSize$ = function $$DvtAfComponentUtils$$$$_calcHContentSize$$($afContext$$34$$, $afRoot$$5$$, $arDim$$1$$) {
    var $cnt$$4$$ = $afRoot$$5$$.$getNumChildren$();
    if (0 == $cnt$$4$$) {
      return new $dvt$$2$$.$Rectangle$(0, 0, 0, 0);
    }
    for (var $child$$29$$, $contentWidth$$1$$ = 0, $contentHeight$$1$$ = 0, $toBeRm$$1$$ = [], $i$$180$$ = 0;$i$$180$$ < $cnt$$4$$;$i$$180$$++) {
      if ($child$$29$$ = $afRoot$$5$$.$getChildAt$($i$$180$$), !$child$$29$$.$renderMe$ || $child$$29$$.$renderMe$()) {
        var $dim$$19$$ = $dvt$$2$$.$AfComponent$.$getDimensions$($child$$29$$), $cw$$3$$ = $dim$$19$$.$w$, $ch$$3$$ = $dim$$19$$.$h$;
        if (0 === $cw$$3$$ || 0 === $ch$$3$$ || $contentWidth$$1$$ == $afRoot$$5$$.$_cw$) {
          $toBeRm$$1$$.push($child$$29$$);
        } else {
          if ($child$$29$$.$_clipped$ || $contentWidth$$1$$ + $cw$$3$$ > $afRoot$$5$$.$_cw$ + $dvt$$2$$.Math.$TOLERANCE$ || $ch$$3$$ > $afRoot$$5$$.$_ch$ + $dvt$$2$$.Math.$TOLERANCE$) {
            if ($child$$29$$.$_clipped$ == $dvt$$2$$.$AfComponent$.$_REMOVE_LATER$ || $afContext$$34$$.$_rmIfNotFit$) {
              $toBeRm$$1$$.push($child$$29$$);
              continue;
            } else {
              $child$$29$$.$setClipContainer$($afRoot$$5$$), $contentWidth$$1$$ = $contentWidth$$1$$ + $cw$$3$$ > $afRoot$$5$$.$_cw$ ? $afRoot$$5$$.$_cw$ : $contentWidth$$1$$ + $cw$$3$$, $contentHeight$$1$$ = $ch$$3$$ > $afRoot$$5$$.$_ch$ ? $afRoot$$5$$.$_ch$ : Math.max($contentHeight$$1$$, $ch$$3$$);
            }
          } else {
            $child$$29$$ instanceof $dvt$$2$$.$AfSeparator$ || ($contentHeight$$1$$ = Math.max($contentHeight$$1$$, $ch$$3$$)), $contentWidth$$1$$ += $cw$$3$$;
          }
          $arDim$$1$$.push($dim$$19$$);
        }
      }
    }
    for ($i$$180$$ = $toBeRm$$1$$.length - 1;0 <= $i$$180$$;$i$$180$$--) {
      $child$$29$$ = $toBeRm$$1$$[$i$$180$$], $dvt$$2$$.$AfComponent$.removeChild($child$$29$$);
    }
    return new $dvt$$2$$.$Rectangle$(0, 0, $contentWidth$$1$$, $contentHeight$$1$$);
  };
  $DvtAfComponentUtils$$.$doVerticalLayout$ = function $$DvtAfComponentUtils$$$$doVerticalLayout$$($afContext$$35$$, $afRoot$$6$$) {
    if ($afRoot$$6$$) {
      var $currY$$2_isLink$$3$$ = $afRoot$$6$$ instanceof $dvt$$2$$.$AfLink$, $arDim$$2$$ = [], $afRootDim_child$$30$$ = $DvtAfComponentUtils$$.$_calcVContentSize$($afContext$$35$$, $afRoot$$6$$, $arDim$$2$$, $currY$$2_isLink$$3$$);
      if (0 == $arDim$$2$$.length) {
        $afRoot$$6$$.$_cw$ = $afRoot$$6$$.$getCalcWidth$($afRootDim_child$$30$$.$w$), $afRoot$$6$$.$_ch$ = $afRoot$$6$$.$getCalcHeight$($afRootDim_child$$30$$.$h$);
      } else {
        var $hAlign$$1$$ = $afRoot$$6$$.$getEffectiveHAlign$(), $contentX$$ = $afRoot$$6$$.$_cx$, $childy_contentY$$ = $afRoot$$6$$.$_cy$;
        $currY$$2_isLink$$3$$ ? ($childy_contentY$$ += $afRoot$$6$$.$_ch$, $hAlign$$1$$ == $dvt$$2$$.$AfComponent$.$HALIGN_RIGHT$ && $afRootDim_child$$30$$.$w$ > $afRoot$$6$$.$_cw$ && $afRoot$$6$$.$_bgShape$.$rightAlign$($afRootDim_child$$30$$.$w$, $afRoot$$6$$.$_cw$, !0), $afRoot$$6$$.$_cw$ = $afRootDim_child$$30$$.$w$, $afRoot$$6$$.$_ch$ = $afRootDim_child$$30$$.$h$) : ($afRoot$$6$$.$_cw$ = $afRoot$$6$$.$getCalcWidth$($afRootDim_child$$30$$.$w$), $afRoot$$6$$.$_ch$ = $afRoot$$6$$.$getCalcHeight$($afRootDim_child$$30$$.$h$));
        for (var $currY$$2_isLink$$3$$ = $childy_contentY$$, $childx$$, $cnt$$5$$ = $afRoot$$6$$.$getNumChildren$(), $i$$181$$ = 0;$i$$181$$ < $cnt$$5$$;$i$$181$$++) {
          if ($arDim$$2$$[$i$$181$$] && ($afRootDim_child$$30$$ = $afRoot$$6$$.$getChildAt$($i$$181$$), !$afRootDim_child$$30$$.$renderMe$ || $afRootDim_child$$30$$.$renderMe$())) {
            var $cw$$4$$ = $arDim$$2$$[$i$$181$$].$w$, $ch$$4$$ = $arDim$$2$$[$i$$181$$].$h$, $childy_contentY$$ = $currY$$2_isLink$$3$$;
            $afRootDim_child$$30$$ instanceof $dvt$$2$$.$AfSeparator$ ? ($afRoot$$6$$.$_cw$ && $afRootDim_child$$30$$.$setMaxWidth$($afRoot$$6$$.$_cw$), $childx$$ = $contentX$$) : $hAlign$$1$$ == $dvt$$2$$.$AfComponent$.$HALIGN_LEFT$ ? $childx$$ = $contentX$$ : $hAlign$$1$$ == $dvt$$2$$.$AfComponent$.$HALIGN_CENTER$ ? $childx$$ = $contentX$$ + ($afRoot$$6$$.$_cw$ - $cw$$4$$) / 2 : $hAlign$$1$$ == $dvt$$2$$.$AfComponent$.$HALIGN_RIGHT$ && ($childx$$ = $contentX$$ + $afRoot$$6$$.$_cw$ - $cw$$4$$);
            $dvt$$2$$.$AfComponent$.$_setTranslateGroup$($afRootDim_child$$30$$, $childx$$, $childy_contentY$$);
            $currY$$2_isLink$$3$$ += $ch$$4$$;
          }
        }
      }
    }
  };
  $DvtAfComponentUtils$$.$doHorizontalLayout$ = function $$DvtAfComponentUtils$$$$doHorizontalLayout$$($afContext$$36$$, $afRoot$$7$$) {
    if ($afRoot$$7$$) {
      var $arDim$$3$$ = [], $afRootDim$$1_child$$31$$ = $DvtAfComponentUtils$$.$_calcHContentSize$($afContext$$36$$, $afRoot$$7$$, $arDim$$3$$);
      if (0 == $arDim$$3$$.length) {
        $afRoot$$7$$.$_cw$ = $afRoot$$7$$.$getCalcWidth$($afRootDim$$1_child$$31$$.$w$), $afRoot$$7$$.$_ch$ = $afRoot$$7$$.$getCalcHeight$($afRootDim$$1_child$$31$$.$h$);
      } else {
        $afRoot$$7$$.$_cw$ = $afRoot$$7$$.$getCalcWidth$($afRootDim$$1_child$$31$$.$w$);
        $afRoot$$7$$.$_ch$ = $afRoot$$7$$.$getCalcHeight$($afRootDim$$1_child$$31$$.$h$);
        for (var $vAlign$$ = $afRoot$$7$$.$getVAlign$(), $contentX$$1_currX$$1$$ = $afRoot$$7$$.$_cx$, $contentY$$1$$ = $afRoot$$7$$.$_cy$, $ch$$5_childx$$1$$, $childy$$1$$, $contentX$$1_currX$$1$$ = $dvt$$2$$.$Agent$.$isRightToLeft$($afRoot$$7$$.$getDvtContext$()) ? $contentX$$1_currX$$1$$ + $afRoot$$7$$.$getCalcWidth$($afRootDim$$1_child$$31$$.$w$) : $contentX$$1_currX$$1$$, $cnt$$6$$ = $afRoot$$7$$.$getNumChildren$(), $i$$182$$ = 0;$i$$182$$ < $cnt$$6$$;$i$$182$$++) {
          if ($arDim$$3$$[$i$$182$$] && ($afRootDim$$1_child$$31$$ = $afRoot$$7$$.$getChildAt$($i$$182$$), !$afRootDim$$1_child$$31$$.$renderMe$ || $afRootDim$$1_child$$31$$.$renderMe$())) {
            var $cw$$5$$ = $arDim$$3$$[$i$$182$$].$w$;
            $ch$$5_childx$$1$$ = $arDim$$3$$[$i$$182$$].$h$;
            $vAlign$$ == $dvt$$2$$.$AfComponent$.$VALIGN_TOP$ ? $childy$$1$$ = $contentY$$1$$ : $vAlign$$ == $dvt$$2$$.$AfComponent$.$VALIGN_MIDDLE$ ? $childy$$1$$ = $contentY$$1$$ + ($afRoot$$7$$.$_ch$ - $ch$$5_childx$$1$$) / 2 : $vAlign$$ == $dvt$$2$$.$AfComponent$.$VALIGN_BOTTOM$ && ($childy$$1$$ = $contentY$$1$$ + $afRoot$$7$$.$_ch$ - $ch$$5_childx$$1$$);
            $dvt$$2$$.$Agent$.$isRightToLeft$($afRoot$$7$$.$getDvtContext$()) ? $ch$$5_childx$$1$$ = $contentX$$1_currX$$1$$ -= $cw$$5$$ : ($ch$$5_childx$$1$$ = $contentX$$1_currX$$1$$, $contentX$$1_currX$$1$$ += $cw$$5$$);
            $afRootDim$$1_child$$31$$ instanceof $dvt$$2$$.$AfSeparator$ && $afRoot$$7$$.$_cw$ && $afRootDim$$1_child$$31$$.$setMaxWidth$($afRoot$$7$$.$_cw$ - $contentX$$1_currX$$1$$);
            $dvt$$2$$.$AfComponent$.$_setTranslateGroup$($afRootDim$$1_child$$31$$, $ch$$5_childx$$1$$, $childy$$1$$);
          }
        }
      }
    }
  };
  $dvt$$2$$.$Obj$.$createSubclass$($DvtAfTagHandler$$, $dvt$$2$$.$Obj$, "DvtAfTagHandler");
  $DvtAfTagHandler$$.prototype.Init = function $$DvtAfTagHandler$$$$Init$($dvt$$2$$) {
    this.$_constructor$ = $dvt$$2$$;
  };
  $DvtAfTagHandler$$.prototype.$createComponent$ = function $$DvtAfTagHandler$$$$$createComponent$$($dvt$$2$$) {
    var $comp$$4$$ = this.$_createComponent$();
    $comp$$4$$ && $comp$$4$$.$setProperties$($dvt$$2$$.getAttributes());
    return $comp$$4$$;
  };
  $DvtAfTagHandler$$.prototype.$createJsonComponent$ = function $$DvtAfTagHandler$$$$$createJsonComponent$$($dvt$$2$$) {
    var $comp$$5$$ = this.$_createComponent$(), $value$$109$$, $key$$50$$;
    for ($key$$50$$ in $dvt$$2$$) {
      $dvt$$2$$.hasOwnProperty($key$$50$$) && ($value$$109$$ = $dvt$$2$$[$key$$50$$], $comp$$5$$.setProperty($key$$50$$, $value$$109$$));
    }
    return $comp$$5$$;
  };
  $DvtAfTagHandler$$.prototype.$addChildren$ = function $$DvtAfTagHandler$$$$$addChildren$$($dvt$$2$$, $childList$$) {
    if ($dvt$$2$$ && $childList$$ && 0 < $childList$$.length) {
      for (var $i$$183$$ = 0;$i$$183$$ < $childList$$.length;$i$$183$$++) {
        $childList$$[$i$$183$$] && $dvt$$2$$.$addChild$($childList$$[$i$$183$$]);
      }
    }
  };
  $DvtAfTagHandler$$.prototype.$_createComponent$ = function $$DvtAfTagHandler$$$$$_createComponent$$() {
    return new this.$_constructor$;
  };
  $dvt$$2$$.$AfComponentFactory$ = function $$dvt$$2$$$$AfComponentFactory$$() {
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfComponentFactory$, $dvt$$2$$.$Obj$, "dvt.AfComponentFactory");
  $dvt$$2$$.$AfComponentFactory$.$CACHE_STYLES$ = !1;
  $dvt$$2$$.$AfComponentFactory$.$_NAME_F$ = "f";
  $dvt$$2$$.$AfComponentFactory$.$_NAME_COMPONENT$ = "component";
  $dvt$$2$$.$AfComponentFactory$.$_registeredTags$ = {};
  $dvt$$2$$.$AfComponentFactory$.$registerComponent$ = function $$dvt$$2$$$$AfComponentFactory$$$registerComponent$$($tagName$$4$$, $constructor$$2$$) {
    $tagName$$4$$ && $constructor$$2$$ && ($dvt$$2$$.$AfComponentFactory$.$_registeredTags$[$tagName$$4$$] = new $DvtAfTagHandler$$($constructor$$2$$));
  };
  $dvt$$2$$.$AfComponentFactory$.$parseXml$ = function $$dvt$$2$$$$AfComponentFactory$$$parseXml$$($childList$$1_xmlNode$$48$$) {
    return ($childList$$1_xmlNode$$48$$ = $dvt$$2$$.$AfComponentFactory$.$_parseChildren$($childList$$1_xmlNode$$48$$)) ? $childList$$1_xmlNode$$48$$[0] : null;
  };
  $dvt$$2$$.$AfComponentFactory$.$parseJson$ = function $$dvt$$2$$$$AfComponentFactory$$$parseJson$$($childList$$2_jsonArray$$) {
    return ($childList$$2_jsonArray$$ = $dvt$$2$$.$AfComponentFactory$.$_parseJsonChildren$($childList$$2_jsonArray$$)) ? $childList$$2_jsonArray$$[0] : null;
  };
  $dvt$$2$$.$AfComponentFactory$.$parseElement$ = function $$dvt$$2$$$$AfComponentFactory$$$parseElement$$($childList$$3_tagElement$$) {
    var $tagComponent_tagName$$5$$ = $childList$$3_tagElement$$.getName(), $tagHandler$$ = $dvt$$2$$.$AfComponentFactory$.$_registeredTags$[$tagComponent_tagName$$5$$];
    if (!$tagHandler$$) {
      throw "No tag handler for " + $tagComponent_tagName$$5$$;
    }
    $tagComponent_tagName$$5$$ = $tagHandler$$.$createComponent$($childList$$3_tagElement$$);
    null != $tagComponent_tagName$$5$$ && ($childList$$3_tagElement$$ = $dvt$$2$$.$AfComponentFactory$.$_parseChildren$($childList$$3_tagElement$$), $tagHandler$$.$addChildren$($tagComponent_tagName$$5$$, $childList$$3_tagElement$$));
    return $tagComponent_tagName$$5$$;
  };
  $dvt$$2$$.$AfComponentFactory$.$parseJsonElement$ = function $$dvt$$2$$$$AfComponentFactory$$$parseJsonElement$$($childList$$4_tagElement$$1$$) {
    var $tagComponent$$1_tagName$$6$$ = $childList$$4_tagElement$$1$$[$dvt$$2$$.$AfComponentFactory$.$_NAME_COMPONENT$], $tagHandler$$1$$ = $dvt$$2$$.$AfComponentFactory$.$_registeredTags$[$tagComponent$$1_tagName$$6$$];
    if (!$tagHandler$$1$$) {
      throw "No tag handler for " + $tagComponent$$1_tagName$$6$$;
    }
    $tagComponent$$1_tagName$$6$$ = $tagHandler$$1$$.$createJsonComponent$($childList$$4_tagElement$$1$$);
    null != $tagComponent$$1_tagName$$6$$ && $childList$$4_tagElement$$1$$.children && ($childList$$4_tagElement$$1$$ = $dvt$$2$$.$AfComponentFactory$.$_parseJsonChildren$($childList$$4_tagElement$$1$$.children), $tagHandler$$1$$.$addChildren$($tagComponent$$1_tagName$$6$$, $childList$$4_tagElement$$1$$));
    return $tagComponent$$1_tagName$$6$$;
  };
  $dvt$$2$$.$AfComponentFactory$.$_parseChildren$ = function $$dvt$$2$$$$AfComponentFactory$$$_parseChildren$$($childNodes$$16_xmlNode$$49$$) {
    var $childList$$5$$ = null;
    if ($childNodes$$16_xmlNode$$49$$) {
      $childNodes$$16_xmlNode$$49$$ = $childNodes$$16_xmlNode$$49$$.$getChildNodes$();
      for (var $child$$32_childComponent$$, $childList$$5$$ = [], $i$$184$$ = 0;$i$$184$$ < $childNodes$$16_xmlNode$$49$$.length;$i$$184$$++) {
        $child$$32_childComponent$$ = $childNodes$$16_xmlNode$$49$$[$i$$184$$];
        var $childName$$1$$ = $child$$32_childComponent$$.getName();
        $child$$32_childComponent$$ && null != $childName$$1$$ && $childName$$1$$ !== $dvt$$2$$.$AfComponentFactory$.$_NAME_F$ && ($child$$32_childComponent$$ = $dvt$$2$$.$AfComponentFactory$.$parseElement$($child$$32_childComponent$$)) && $childList$$5$$.push($child$$32_childComponent$$);
      }
    }
    return $childList$$5$$;
  };
  $dvt$$2$$.$AfComponentFactory$.$_parseJsonChildren$ = function $$dvt$$2$$$$AfComponentFactory$$$_parseJsonChildren$$($jsonArray$$1$$) {
    for (var $childList$$6$$ = [], $i$$185$$ = 0;$i$$185$$ < $jsonArray$$1$$.length;$i$$185$$++) {
      var $child$$33_childComponent$$1$$ = $jsonArray$$1$$[$i$$185$$], $childName$$2$$ = $child$$33_childComponent$$1$$[$dvt$$2$$.$AfComponentFactory$.$_NAME_COMPONENT$];
      $child$$33_childComponent$$1$$ && null != $childName$$2$$ && ($child$$33_childComponent$$1$$ = $dvt$$2$$.$AfComponentFactory$.$parseJsonElement$($child$$33_childComponent$$1$$)) && $childList$$6$$.push($child$$33_childComponent$$1$$);
    }
    return $childList$$6$$;
  };
  $dvt$$2$$.$AfComponentFactory$.$parseXmlAndLayout$ = function $$dvt$$2$$$$AfComponentFactory$$$parseXmlAndLayout$$($afContext$$37$$, $templateTree_xmlNode$$50$$, $parent$$37$$) {
    $templateTree_xmlNode$$50$$ = $dvt$$2$$.$AfComponentFactory$.$parseXml$($templateTree_xmlNode$$50$$);
    return $dvt$$2$$.$AfComponentFactory$.$parseAndLayout$($afContext$$37$$, $templateTree_xmlNode$$50$$, $parent$$37$$);
  };
  $dvt$$2$$.$AfComponentFactory$.$parseAndLayout$ = function $$dvt$$2$$$$AfComponentFactory$$$parseAndLayout$$($afContext$$38$$, $compTree_templateTree$$1$$, $parent$$38$$) {
    $afContext$$38$$.$setParentNode$($parent$$38$$);
    $compTree_templateTree$$1$$ = $compTree_templateTree$$1$$.$stamp$($afContext$$38$$.$_elContext$);
    return $dvt$$2$$.$AfComponentFactory$.$doLayout$($afContext$$38$$, $compTree_templateTree$$1$$, $parent$$38$$);
  };
  $dvt$$2$$.$AfComponentFactory$.$doLayout$ = function $$dvt$$2$$$$AfComponentFactory$$$doLayout$$($afContext$$39$$, $compTree$$1$$, $dispTree_parent$$39$$) {
    ($dispTree_parent$$39$$ = $dvt$$2$$.$AfComponentFactory$.$_createDisplayObj$($afContext$$39$$, $compTree$$1$$, $dispTree_parent$$39$$)) && $compTree$$1$$ && $dvt$$2$$.$AfComponentFactory$.$_render$($afContext$$39$$, $dispTree_parent$$39$$, $compTree$$1$$);
    return $dispTree_parent$$39$$;
  };
  $dvt$$2$$.$AfComponentFactory$.$parseAndStamp$ = function $$dvt$$2$$$$AfComponentFactory$$$parseAndStamp$$($afContext$$40_dispTree$$1$$, $compTree$$2_templateTree$$2$$, $parent$$40$$) {
    $afContext$$40_dispTree$$1$$.$setParentNode$($parent$$40$$);
    $compTree$$2_templateTree$$2$$ = $compTree$$2_templateTree$$2$$.$stamp$($afContext$$40_dispTree$$1$$.$_elContext$);
    if ($afContext$$40_dispTree$$1$$ = $dvt$$2$$.$AfComponentFactory$.$_createDisplayObj$($afContext$$40_dispTree$$1$$, $compTree$$2_templateTree$$2$$, $parent$$40$$)) {
      $afContext$$40_dispTree$$1$$.$_compTree$ = $compTree$$2_templateTree$$2$$;
    }
    return $afContext$$40_dispTree$$1$$;
  };
  $dvt$$2$$.$AfComponentFactory$.$layoutAndRender$ = function $$dvt$$2$$$$AfComponentFactory$$$layoutAndRender$$($afContext$$41$$, $dispTree$$2$$) {
    $dispTree$$2$$ && $dvt$$2$$.$AfComponentFactory$.$_render$($afContext$$41$$, $dispTree$$2$$, $dispTree$$2$$.$_compTree$);
  };
  $dvt$$2$$.$AfComponentFactory$.$_createDisplayObj$ = function $$dvt$$2$$$$AfComponentFactory$$$_createDisplayObj$$($dvt$$2$$, $compTree$$3$$, $parent$$41$$) {
    var $dispTree$$3$$;
    $compTree$$3$$ && ($dispTree$$3$$ = $compTree$$3$$.$createDisplayObj$($dvt$$2$$));
    $parent$$41$$ && $dispTree$$3$$ && $parent$$41$$.$addChild$($dispTree$$3$$);
    return $dispTree$$3$$;
  };
  $dvt$$2$$.$AfComponentFactory$.$_render$ = function $$dvt$$2$$$$AfComponentFactory$$$_render$$($afContext$$43$$, $dispTree$$4$$, $compTree$$4$$) {
    if ($compTree$$4$$) {
      $compTree$$4$$.$render$($afContext$$43$$);
      $compTree$$4$$.$postRender$();
      if ($afContext$$43$$.$_rmIfNotFit$) {
        var $dim$$20$$ = $dvt$$2$$.$AfComponent$.$getDimensions$($compTree$$4$$), $parent$$42$$ = $dispTree$$4$$.getParent();
        $parent$$42$$ && $parent$$42$$.removeChild && (0 === $dim$$20$$.$w$ && 0 === $dim$$20$$.$h$ || $dim$$20$$.$w$ > $afContext$$43$$.$getAvailableWidth$() + $dvt$$2$$.Math.$TOLERANCE$ || $dim$$20$$.$h$ > $afContext$$43$$.$_ah$ + $dvt$$2$$.Math.$TOLERANCE$ || $compTree$$4$$.$_clipped$) && $parent$$42$$.removeChild($dispTree$$4$$);
      } else {
        $compTree$$4$$.$_clipped$ && $compTree$$4$$.$addClipPath$();
      }
      $dispTree$$4$$.$_compTree$ = $compTree$$4$$;
    }
  };
  $dvt$$2$$.$AfComponentFactory$.$getCompTree$ = function $$dvt$$2$$$$AfComponentFactory$$$getCompTree$$($dvt$$2$$) {
    return $dvt$$2$$ ? $dvt$$2$$.$_compTree$ : null;
  };
  $dvt$$2$$.$AfComponentFactory$.$getAfComponent$ = function $$dvt$$2$$$$AfComponentFactory$$$getAfComponent$$($dvt$$2$$) {
    for (var $afComp$$8$$ = null;!$afComp$$8$$ && $dvt$$2$$;) {
      $afComp$$8$$ = $dvt$$2$$.$_afComp$, $dvt$$2$$ = $dvt$$2$$.getParent();
    }
    return $afComp$$8$$;
  };
  $dvt$$2$$.$AfComponentFactory$.$findAfComponent$ = function $$dvt$$2$$$$AfComponentFactory$$$findAfComponent$$($afComp$$9$$, $id$$65$$) {
    if (null == $afComp$$9$$ || null == $id$$65$$) {
      return null;
    }
    if ($afComp$$9$$.getId() == $id$$65$$) {
      return $afComp$$9$$;
    }
    for (var $numChildren$$7$$ = $afComp$$9$$.$getNumChildren$(), $i$$186$$ = 0;$i$$186$$ < $numChildren$$7$$;$i$$186$$++) {
      var $child$$34_matchedChild$$1$$ = $afComp$$9$$.$getChildAt$($i$$186$$);
      if ($id$$65$$ == $child$$34_matchedChild$$1$$.getId() || ($child$$34_matchedChild$$1$$ = $dvt$$2$$.$AfComponentFactory$.$findAfComponent$($child$$34_matchedChild$$1$$, $id$$65$$))) {
        return $child$$34_matchedChild$$1$$;
      }
    }
    return null;
  };
  $dvt$$2$$.$AfComponentFactory$.$getBounds$ = function $$dvt$$2$$$$AfComponentFactory$$$getBounds$$($dispTree$$6$$, $targetCoordinateSpace$$11$$) {
    var $bounds$$15_comp$$6$$ = $dvt$$2$$.$AfComponentFactory$.$getCompTree$($dispTree$$6$$);
    return $bounds$$15_comp$$6$$ && $bounds$$15_comp$$6$$ instanceof $dvt$$2$$.$AfComponent$ ? ($bounds$$15_comp$$6$$ = $bounds$$15_comp$$6$$.$getBounds$(), $targetCoordinateSpace$$11$$ ? $dispTree$$6$$.$ConvertCoordSpaceRect$($bounds$$15_comp$$6$$, $targetCoordinateSpace$$11$$) : $bounds$$15_comp$$6$$) : $dispTree$$6$$.$getDimensions$($targetCoordinateSpace$$11$$);
  };
  $dvt$$2$$.$AfComponentFactory$.$getSize$ = function $$dvt$$2$$$$AfComponentFactory$$$getSize$$($dvt$$2$$, $templateTree$$3$$, $parent$$43$$) {
    $dvt$$2$$.$setParentNode$($parent$$43$$);
    return $templateTree$$3$$.$getSize$($dvt$$2$$);
  };
  $dvt$$2$$.$AfButtonLink$ = function $$dvt$$2$$$$AfButtonLink$$() {
    this.Init();
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfButtonLink$, $dvt$$2$$.$AfComponent$, "dvt.AfButtonLink");
  $dvt$$2$$.$AfButtonLink$.$ATTR_TEXT$ = "text";
  $dvt$$2$$.$AfButtonLink$.$ATTR_DISABLED$ = "disabled";
  $dvt$$2$$.$AfButtonLink$.$ATTR_ICON$ = "icon";
  $dvt$$2$$.$AfButtonLink$.$ATTR_ICON_POSITION$ = "iconPosition";
  $dvt$$2$$.$AfButtonLink$.$ATTR_DISABLED_ICON$ = "disabledIcon";
  $dvt$$2$$.$AfButtonLink$.$ATTR_DESTINATION$ = "destination";
  $dvt$$2$$.$AfButtonLink$.$ATTR_TARGET_FRAME$ = "targetFrame";
  $dvt$$2$$.$AfButtonLink$.$ATTR_FOCUSABLE$ = "focusable";
  $dvt$$2$$.$AfButtonLink$.$ICON_POSITION_LEADING$ = "leading";
  $dvt$$2$$.$AfButtonLink$.$ICON_POSITION_TRAILING$ = "trailing";
  $dvt$$2$$.$AfButtonLink$.$ICON_POSITION_TOP$ = "top";
  $dvt$$2$$.$AfButtonLink$.$ICON_POSITION_BOTTOM$ = "bottom";
  $dvt$$2$$.$AfButtonLink$.prototype.$getText$ = function $$dvt$$2$$$$AfButtonLink$$$$getText$$() {
    return this.$getStringProp$($dvt$$2$$.$AfButtonLink$.$ATTR_TEXT$, "");
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$setText$ = function $$dvt$$2$$$$AfButtonLink$$$$setText$$($text$$33$$) {
    this.setProperty($dvt$$2$$.$AfButtonLink$.$ATTR_TEXT$, $text$$33$$);
    this.$getContentShape$() && this.$getContentShape$().$setTextString$($text$$33$$);
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$isDisabled$ = function $$dvt$$2$$$$AfButtonLink$$$$isDisabled$$() {
    return this.$getBooleanProp$($dvt$$2$$.$AfButtonLink$.$ATTR_DISABLED$, !1) || !1;
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$getIcon$ = function $$dvt$$2$$$$AfButtonLink$$$$getIcon$$() {
    return this.$getProperty$($dvt$$2$$.$AfButtonLink$.$ATTR_ICON$);
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$getIconPosition$ = function $$dvt$$2$$$$AfButtonLink$$$$getIconPosition$$() {
    return this.$getStringProp$($dvt$$2$$.$AfButtonLink$.$ATTR_ICON_POSITION$, "leading");
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$getDisabledIcon$ = function $$dvt$$2$$$$AfButtonLink$$$$getDisabledIcon$$() {
    return this.$getProperty$($dvt$$2$$.$AfButtonLink$.$ATTR_DISABLED_ICON$);
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$getDestination$ = function $$dvt$$2$$$$AfButtonLink$$$$getDestination$$() {
    return this.$getProperty$($dvt$$2$$.$AfButtonLink$.$ATTR_DESTINATION$);
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$getTargetFrame$ = function $$dvt$$2$$$$AfButtonLink$$$$getTargetFrame$$() {
    return this.$getProperty$($dvt$$2$$.$AfButtonLink$.$ATTR_TARGET_FRAME$, !1);
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$isCommandComponent$ = function $$dvt$$2$$$$AfButtonLink$$$$isCommandComponent$$() {
    return !this.$getDestination$();
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$getIconSource$ = function $$dvt$$2$$$$AfButtonLink$$$$getIconSource$$($iconSrc_mouseState$$) {
    switch($iconSrc_mouseState$$) {
      case $dvt$$2$$.$Button$.$STATE_DISABLED$:
        $iconSrc_mouseState$$ = this.$getDisabledIcon$();
        break;
      default:
        $iconSrc_mouseState$$ = this.$getIcon$();
    }
    return $iconSrc_mouseState$$;
  };
  $dvt$$2$$.$AfButtonLink$.$_createContentShape$ = function $$dvt$$2$$$$AfButtonLink$$$_createContentShape$$($dvtContext$$12$$, $afComp$$10$$, $mouseState$$1$$, $textStyle$$1$$) {
    var $id$$66$$ = $afComp$$10$$.$_getUniqueId$() + "_s" + $mouseState$$1$$, $text$$34$$ = $afComp$$10$$.$getText$(), $iconSrc$$1$$ = $afComp$$10$$.$getIconSource$($mouseState$$1$$), $isLink$$4$$ = $afComp$$10$$ instanceof $dvt$$2$$.$AfLink$, $group$$2$$ = null;
    $isLink$$4$$ ? $iconSrc$$1$$ && $text$$34$$ && ($group$$2$$ = new $dvt$$2$$.$Container$($dvtContext$$12$$, $id$$66$$)) : $group$$2$$ = new $dvt$$2$$.Rect($dvtContext$$12$$, 0, 0, 0, 0, $id$$66$$);
    var $iconShape$$, $textShape$$1$$;
    $iconSrc$$1$$ && ($iconShape$$ = new $dvt$$2$$.Image($dvtContext$$12$$, $iconSrc$$1$$, 0, 0, 1, 1, $id$$66$$ + "_img"), $group$$2$$ ? $group$$2$$.$addChild$($iconShape$$) : $group$$2$$ = $iconShape$$);
    $text$$34$$ && ($textShape$$1$$ = $afComp$$10$$.$createTextShape$(!1, $text$$34$$, $textStyle$$1$$, $afComp$$10$$.$GetTextStyle$($mouseState$$1$$), $id$$66$$ + "_txt"), $isLink$$4$$ && $textShape$$1$$.setCursor(null), $group$$2$$ ? $group$$2$$.$addChild$($textShape$$1$$) : $group$$2$$ = $textShape$$1$$);
    $afComp$$10$$.$_shapeLst$ || ($afComp$$10$$.$_shapeLst$ = [], $afComp$$10$$.$_iconLst$ = [], $afComp$$10$$.$_textLst$ = []);
    $afComp$$10$$.$_shapeLst$[$mouseState$$1$$] = $group$$2$$;
    $iconShape$$ && ($afComp$$10$$.$_iconLst$[$mouseState$$1$$] = $iconShape$$);
    $textShape$$1$$ && ($afComp$$10$$.$_textLst$[$mouseState$$1$$] = $textShape$$1$$);
    return $group$$2$$;
  };
  $dvt$$2$$.$AfButtonLink$.$_doLayout$ = function $$dvt$$2$$$$AfButtonLink$$$_doLayout$$($afComp$$11$$, $mouseState$$2$$, $textStyle$$2_xx$$11$$, $arrowWidth_dim$$21$$) {
    var $diff_iconPos$$ = $afComp$$11$$.$getIconPosition$(), $iconShape$$1$$ = $afComp$$11$$.$_iconLst$[$mouseState$$2$$], $iconDim$$ = $afComp$$11$$.$RenderIcon$($iconShape$$1$$);
    $iconDim$$ || ($diff_iconPos$$ = "noIcon");
    var $textShape$$2$$ = $afComp$$11$$.$_textLst$[$mouseState$$2$$], $textRendered$$ = null != $textShape$$2$$;
    if (!$textShape$$2$$) {
      if ("noIcon" == $diff_iconPos$$) {
        return new $dvt$$2$$.$Rectangle$(0, 0, 0, 0);
      }
      $diff_iconPos$$ = "noText";
    }
    var $clientHeight_rtl$$ = $afComp$$11$$.$_ch$, $hpadding$$, $ww$$35$$ = 0, $hh$$31$$ = 0, $textDim$$1$$, $isTruncated$$ = !1, $txtMaxWidth_yy$$11$$ = $afComp$$11$$.$_cw$ - $arrowWidth_dim$$21$$;
    switch($diff_iconPos$$) {
      case "leading":
      ;
      case "trailing":
        $textStyle$$2_xx$$11$$ && ($hpadding$$ = $textStyle$$2_xx$$11$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_LEFT$) + $textStyle$$2_xx$$11$$.$getMargin$($dvt$$2$$.$CSSStyle$.$MARGIN_LEFT$) + $textStyle$$2_xx$$11$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_RIGHT$) + $textStyle$$2_xx$$11$$.$getMargin$($dvt$$2$$.$CSSStyle$.$MARGIN_RIGHT$)), $hpadding$$ || ($hpadding$$ = 3), $txtMaxWidth_yy$$11$$ = $txtMaxWidth_yy$$11$$ - $iconDim$$.$w$ - $hpadding$$;
    }
    var $txtw$$ = 0;
    if ($textShape$$2$$) {
      if ($dvt$$2$$.$TextUtils$.$fitText$($textShape$$2$$, $txtMaxWidth_yy$$11$$, $clientHeight_rtl$$, $textShape$$2$$.getParent())) {
        $textDim$$1$$ = $textShape$$2$$.$getDimensions$(), $txtw$$ = ($isTruncated$$ = $textShape$$2$$.$isTruncated$()) ? $txtMaxWidth_yy$$11$$ : $textDim$$1$$.$w$;
      } else {
        if ("noIcon" == $diff_iconPos$$) {
          return new $dvt$$2$$.$Rectangle$(0, 0, 0, 0);
        }
        $diff_iconPos$$ = "noText";
        $textRendered$$ = !1;
      }
    }
    var $clientHeight_rtl$$ = $dvt$$2$$.$Agent$.$isRightToLeft$($afComp$$11$$.$getDvtContext$()), $vpadding$$ = Math.max($textStyle$$2_xx$$11$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_TOP$) + $textStyle$$2_xx$$11$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_BOTTOM$), 2);
    ($textStyle$$2_xx$$11$$ = $afComp$$11$$.$_cx$) || ($textStyle$$2_xx$$11$$ = 0);
    ($txtMaxWidth_yy$$11$$ = $afComp$$11$$.$_cy$) || ($txtMaxWidth_yy$$11$$ = 0);
    switch($diff_iconPos$$) {
      case "top":
        $textShape$$2$$.$alignCenter$();
        $diff_iconPos$$ = ($txtw$$ - $iconDim$$.$w$) / 2;
        0 < $diff_iconPos$$ ? ($iconDim$$.x = ($clientHeight_rtl$$ ? $textStyle$$2_xx$$11$$ + $arrowWidth_dim$$21$$ : $textStyle$$2_xx$$11$$) + $diff_iconPos$$, $textDim$$1$$.x = ($clientHeight_rtl$$ ? $textStyle$$2_xx$$11$$ + $arrowWidth_dim$$21$$ : $textStyle$$2_xx$$11$$) + $txtw$$ / 2, $ww$$35$$ = $txtw$$) : ($iconDim$$.x = $clientHeight_rtl$$ ? $textStyle$$2_xx$$11$$ + $arrowWidth_dim$$21$$ : $textStyle$$2_xx$$11$$, $textDim$$1$$.x = ($clientHeight_rtl$$ ? $textStyle$$2_xx$$11$$ + $arrowWidth_dim$$21$$ : 
        $textStyle$$2_xx$$11$$) - $diff_iconPos$$ + $txtw$$ / 2, $ww$$35$$ = $iconDim$$.$w$);
        $iconDim$$.y = $txtMaxWidth_yy$$11$$;
        $vpadding$$ = 1;
        $textDim$$1$$.y = $txtMaxWidth_yy$$11$$ + $iconDim$$.$h$ + $vpadding$$;
        $hh$$31$$ = $iconDim$$.$h$ + $vpadding$$ + $textDim$$1$$.$h$;
        break;
      case "bottom":
        $textShape$$2$$.$alignCenter$();
        $diff_iconPos$$ = ($txtw$$ - $iconDim$$.$w$) / 2;
        0 < $diff_iconPos$$ ? ($iconDim$$.x = ($clientHeight_rtl$$ ? $textStyle$$2_xx$$11$$ + $arrowWidth_dim$$21$$ : $textStyle$$2_xx$$11$$) + $diff_iconPos$$, $textDim$$1$$.x = ($clientHeight_rtl$$ ? $textStyle$$2_xx$$11$$ + $arrowWidth_dim$$21$$ : $textStyle$$2_xx$$11$$) + $txtw$$ / 2, $ww$$35$$ = $txtw$$) : ($iconDim$$.x = $clientHeight_rtl$$ ? $textStyle$$2_xx$$11$$ + $arrowWidth_dim$$21$$ : $textStyle$$2_xx$$11$$, $textDim$$1$$.x = ($clientHeight_rtl$$ ? $textStyle$$2_xx$$11$$ + $arrowWidth_dim$$21$$ : 
        $textStyle$$2_xx$$11$$) - $diff_iconPos$$ + $txtw$$ / 2, $ww$$35$$ = $iconDim$$.$w$);
        $textDim$$1$$.y = $txtMaxWidth_yy$$11$$;
        $vpadding$$ = 1;
        $iconDim$$.y = $txtMaxWidth_yy$$11$$ + $textDim$$1$$.$h$ + $vpadding$$;
        $hh$$31$$ = $textDim$$1$$.$h$ + $vpadding$$ + $iconDim$$.$h$;
        break;
      case "trailing":
        $ww$$35$$ = $txtw$$ + $hpadding$$ + $iconDim$$.$w$;
        $hh$$31$$ = Math.max($textDim$$1$$.$h$, $iconDim$$.$h$) + $vpadding$$;
        $clientHeight_rtl$$ ? ($iconDim$$.x = $textStyle$$2_xx$$11$$ + $arrowWidth_dim$$21$$, $textDim$$1$$.x = $iconDim$$.x + $iconDim$$.$w$ + $hpadding$$ + $txtw$$, $textShape$$2$$.$alignRight$()) : ($iconDim$$.x = $textStyle$$2_xx$$11$$ + $txtw$$ + $hpadding$$, $textDim$$1$$.x = $textStyle$$2_xx$$11$$, $textShape$$2$$.$alignLeft$());
        $diff_iconPos$$ = ($textDim$$1$$.$h$ - $iconDim$$.$h$) / 2;
        0 < $diff_iconPos$$ ? ($textDim$$1$$.y = $txtMaxWidth_yy$$11$$, $iconDim$$.y = $txtMaxWidth_yy$$11$$ + $diff_iconPos$$) : ($textDim$$1$$.y = $txtMaxWidth_yy$$11$$ - $diff_iconPos$$, $iconDim$$.y = $txtMaxWidth_yy$$11$$);
        break;
      case "leading":
        $ww$$35$$ = $iconDim$$.$w$ + $hpadding$$ + $txtw$$;
        $hh$$31$$ = Math.max($textDim$$1$$.$h$, $iconDim$$.$h$) + $vpadding$$;
        $clientHeight_rtl$$ ? ($iconDim$$.x = $textStyle$$2_xx$$11$$ + $arrowWidth_dim$$21$$ + $txtw$$ + $hpadding$$, $textDim$$1$$.x = $textStyle$$2_xx$$11$$ + $arrowWidth_dim$$21$$ + $txtw$$, $textShape$$2$$.$alignRight$()) : ($iconDim$$.x = $textStyle$$2_xx$$11$$, $textDim$$1$$.x = $textStyle$$2_xx$$11$$ + $iconDim$$.$w$ + $hpadding$$, $textShape$$2$$.$alignLeft$());
        $diff_iconPos$$ = ($iconDim$$.$h$ - $textDim$$1$$.$h$) / 2;
        0 < $diff_iconPos$$ ? ($iconDim$$.y = $txtMaxWidth_yy$$11$$, $textDim$$1$$.y = $txtMaxWidth_yy$$11$$ + $diff_iconPos$$) : ($iconDim$$.y = $txtMaxWidth_yy$$11$$ - $diff_iconPos$$, $textDim$$1$$.y = $txtMaxWidth_yy$$11$$);
        break;
      case "noIcon":
        $clientHeight_rtl$$ ? ($textDim$$1$$.x = $textStyle$$2_xx$$11$$ + $arrowWidth_dim$$21$$ + $txtw$$, $textShape$$2$$.$alignRight$()) : ($textDim$$1$$.x = $textStyle$$2_xx$$11$$, $textShape$$2$$.$alignLeft$());
        $textDim$$1$$.y = $txtMaxWidth_yy$$11$$;
        $ww$$35$$ = $txtw$$;
        $hh$$31$$ = $textDim$$1$$.$h$ + $vpadding$$;
        break;
      case "noText":
        $iconDim$$.x = $clientHeight_rtl$$ ? $textStyle$$2_xx$$11$$ + $arrowWidth_dim$$21$$ : $textStyle$$2_xx$$11$$, $iconDim$$.y = $txtMaxWidth_yy$$11$$, $ww$$35$$ = $iconDim$$.$w$, $hh$$31$$ = $iconDim$$.$h$;
    }
    $textShape$$2$$ && $textRendered$$ && ($isTruncated$$ || $afComp$$11$$.$_addClipPathIfNeeded$($afComp$$11$$.$_afContext$, $afComp$$11$$.$_aw$, $ww$$35$$, $afComp$$11$$.$_ah$, $hh$$31$$, $textShape$$2$$), $textShape$$2$$.$setX$($textDim$$1$$.x), $textShape$$2$$.$setY$($textDim$$1$$.y));
    $iconDim$$ && ($iconShape$$1$$.$setX$($iconDim$$.x), $iconShape$$1$$.$setY$($iconDim$$.y));
    $arrowWidth_dim$$21$$ = new $dvt$$2$$.$Rectangle$(0, 0, $ww$$35$$, $hh$$31$$);
    $arrowWidth_dim$$21$$ = $afComp$$11$$.$_RenderArrowIcon$($mouseState$$2$$, $arrowWidth_dim$$21$$);
    $arrowWidth_dim$$21$$.$w$ = $afComp$$11$$.$getCalcWidth$($arrowWidth_dim$$21$$.$w$);
    $arrowWidth_dim$$21$$.$h$ = $afComp$$11$$.$getCalcHeight$($arrowWidth_dim$$21$$.$h$);
    return $arrowWidth_dim$$21$$;
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$RenderIcon$ = function $$dvt$$2$$$$AfButtonLink$$$$RenderIcon$$($iconShape$$2$$) {
    var $dim$$22$$;
    if ($iconShape$$2$$) {
      var $height$$21_iconStyle_styleHeight$$ = this.$GetIconStyle$();
      if ($height$$21_iconStyle_styleHeight$$) {
        var $imageDim_styleWidth_width$$27$$ = $height$$21_iconStyle_styleHeight$$.getWidth(), $height$$21_iconStyle_styleHeight$$ = $height$$21_iconStyle_styleHeight$$.getHeight();
        $imageDim_styleWidth_width$$27$$ && $height$$21_iconStyle_styleHeight$$ && ($imageDim_styleWidth_width$$27$$ = $dvt$$2$$.$AfComponent$.$ParseNonNegativeFloat$($imageDim_styleWidth_width$$27$$), $height$$21_iconStyle_styleHeight$$ = $dvt$$2$$.$AfComponent$.$ParseNonNegativeFloat$($height$$21_iconStyle_styleHeight$$), $imageDim_styleWidth_width$$27$$ && $height$$21_iconStyle_styleHeight$$ && ($dim$$22$$ = new $dvt$$2$$.$Rectangle$(0, 0, $imageDim_styleWidth_width$$27$$, $height$$21_iconStyle_styleHeight$$)));
      }
      if (!$dim$$22$$) {
        var $iconSrc$$2$$ = $iconShape$$2$$.$getSrc$();
        ($imageDim_styleWidth_width$$27$$ = $dvt$$2$$.$ImageLoader$.$loadImage$(this.$getDvtContext$(), $iconSrc$$2$$)) && ($dim$$22$$ = new $dvt$$2$$.$Rectangle$(0, 0, $imageDim_styleWidth_width$$27$$.width, $imageDim_styleWidth_width$$27$$.height));
      }
      $dim$$22$$ ? ($iconShape$$2$$.$setWidth$($dim$$22$$.$w$), $iconShape$$2$$.$setHeight$($dim$$22$$.$h$)) : this.$RegisterImageCallback$($iconSrc$$2$$);
    }
    return $dim$$22$$;
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$GetIconStyle$ = function $$dvt$$2$$$$AfButtonLink$$$$GetIconStyle$$() {
    return null;
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$GetTextStyle$ = function $$dvt$$2$$$$AfButtonLink$$$$GetTextStyle$$() {
    return null;
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$GetDisabledStyle$ = function $$dvt$$2$$$$AfButtonLink$$$$GetDisabledStyle$$() {
    return null;
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$ResolveEm$ = function $$dvt$$2$$$$AfButtonLink$$$$ResolveEm$$($cssStyle$$16$$) {
    $dvt$$2$$.$AfButtonLink$.$superclass$.$ResolveEm$.call(this, $cssStyle$$16$$);
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$getTooltip$ = function $$dvt$$2$$$$AfButtonLink$$$$getTooltip$$() {
    var $tt$$ = $dvt$$2$$.$AfButtonLink$.$superclass$.$getTooltip$.call(this);
    if (!$tt$$ && this.$_textLst$) {
      var $text$$35$$ = this.$_textLst$[$dvt$$2$$.$Button$.$STATE_ENABLED$];
      if ($text$$35$$ && $text$$35$$.$isTruncated$()) {
        return this.$getText$();
      }
    }
    return $tt$$;
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$createContentShape$ = function $$dvt$$2$$$$AfButtonLink$$$$createContentShape$$() {
    return this.$CreateButton$();
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$renderSelfBeforeChildren$ = function $$dvt$$2$$$$AfButtonLink$$$$renderSelfBeforeChildren$$() {
    $dvt$$2$$.$AfButtonLink$.$superclass$.$renderSelfBeforeChildren$.call(this);
    this.$CreateButton$(this.$getContentShape$());
    this.$RenderButton$();
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$GetClickListenerFunction$ = function $$dvt$$2$$$$AfButtonLink$$$$GetClickListenerFunction$$() {
    return $dvt$$2$$.$ToolkitUtils$.$getLinkCallback$(this.$getTargetFrame$(), this.$getDestination$());
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$isClickEventPropagationStopped$ = function $$dvt$$2$$$$AfButtonLink$$$$isClickEventPropagationStopped$$() {
    return !0;
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$CreateButton$ = function $$dvt$$2$$$$AfButtonLink$$$$CreateButton$$($button$$25_up$$) {
    if (!$button$$25_up$$) {
      $button$$25_up$$ = this.$CreateButtonState$($dvt$$2$$.$Button$.$STATE_ENABLED$);
      var $over$$ = this.$CreateButtonState$($dvt$$2$$.$Button$.$STATE_OVER$), $down$$ = this.$CreateButtonState$($dvt$$2$$.$Button$.$STATE_DOWN$), $dis$$2$$ = this.$CreateButtonState$($dvt$$2$$.$Button$.$STATE_DISABLED$);
      $button$$25_up$$ = new $dvt$$2$$.$Button$(this.$getDvtContext$(), $button$$25_up$$, $over$$, $down$$, $dis$$2$$, this.$_getUniqueId$(), this.$GetClickListenerFunction$(), this);
      this.$associate$($button$$25_up$$, this);
    }
    $button$$25_up$$.$setEnabled$(!this.$isDisabled$());
    return $button$$25_up$$;
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$CreateButtonState$ = function $$dvt$$2$$$$AfButtonLink$$$$CreateButtonState$$($bgRect$$2_buttonState$$1$$) {
    var $eStyle$$ = this.$_getStateStyle$($bgRect$$2_buttonState$$1$$);
    $bgRect$$2_buttonState$$1$$ = $dvt$$2$$.$AfButtonLink$.$_createContentShape$(this.$getDvtContext$(), this, $bgRect$$2_buttonState$$1$$, $eStyle$$);
    $bgRect$$2_buttonState$$1$$ instanceof $dvt$$2$$.Rect && $eStyle$$ && this.$renderBackground$($bgRect$$2_buttonState$$1$$, $eStyle$$);
    return $bgRect$$2_buttonState$$1$$;
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$_renderButtonState$ = function $$dvt$$2$$$$AfButtonLink$$$$_renderButtonState$$($buttonState$$2$$) {
    var $style$$27$$ = this.$_getStateStyle$($buttonState$$2$$);
    if (!$style$$27$$) {
      return null;
    }
    var $dim$$23$$ = $dvt$$2$$.$AfButtonLink$.$_doLayout$(this, $buttonState$$2$$, this.$GetTextStyle$($buttonState$$2$$), this.$GetArrowWidth$()), $cw$$6$$ = this.$_cw$, $ch$$6$$ = this.$_ch$;
    try {
      this.$_cw$ = $dim$$23$$.$w$, this.$_ch$ = $dim$$23$$.$h$, $dvt$$2$$.$AfButtonLink$.$superclass$.$renderSelfAfterLayout$.call(this, this.$_shapeLst$[$buttonState$$2$$], $style$$27$$);
    } finally {
      this.$_cw$ = $cw$$6$$, this.$_ch$ = $ch$$6$$;
    }
    return $dim$$23$$;
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$RenderButton$ = function $$dvt$$2$$$$AfButtonLink$$$$RenderButton$$() {
    var $dim$$24_disabledDim$$ = this.$_renderButtonState$($dvt$$2$$.$Button$.$STATE_DISABLED$);
    this.$_renderButtonState$($dvt$$2$$.$Button$.$STATE_OVER$);
    this.$_renderButtonState$($dvt$$2$$.$Button$.$STATE_DOWN$);
    var $enabledDim$$ = this.$_renderButtonState$($dvt$$2$$.$Button$.$STATE_ENABLED$);
    if ($dim$$24_disabledDim$$ = this.$isDisabled$() ? $dim$$24_disabledDim$$ : $enabledDim$$) {
      this.$_cw$ = $dim$$24_disabledDim$$.$w$, this.$_ch$ = $dim$$24_disabledDim$$.$h$;
    }
    this.$getContentShape$().$initState$();
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$_setOverrideStyle$ = function $$dvt$$2$$$$AfButtonLink$$$$_setOverrideStyle$$($dvt$$2$$) {
    this.$_overrideStyle$ = $dvt$$2$$;
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$_getStateStyle$ = function $$dvt$$2$$$$AfButtonLink$$$$_getStateStyle$$($mouseState$$4_textStyle$$3$$) {
    switch($mouseState$$4_textStyle$$3$$) {
      case $dvt$$2$$.$Button$.$STATE_DISABLED$:
        $mouseState$$4_textStyle$$3$$ = this.$GetDisabledStyle$();
        break;
      case $dvt$$2$$.$Button$.$STATE_OVER$:
        $mouseState$$4_textStyle$$3$$ = this.$GetHoverStyle$();
        break;
      case $dvt$$2$$.$Button$.$STATE_DOWN$:
        $mouseState$$4_textStyle$$3$$ = this.$GetActiveStyle$();
        break;
      default:
        $mouseState$$4_textStyle$$3$$ = this.$GetEnabledStyle$();
    }
    this.$_overrideStyle$ && ($mouseState$$4_textStyle$$3$$ = $mouseState$$4_textStyle$$3$$.clone().$merge$(this.$_overrideStyle$));
    return $mouseState$$4_textStyle$$3$$;
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$_RenderArrowIcon$ = function $$dvt$$2$$$$AfButtonLink$$$$_RenderArrowIcon$$($dvt$$2$$, $dim$$25$$) {
    return $dim$$25$$;
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$GetArrowWidth$ = function $$dvt$$2$$$$AfButtonLink$$$$GetArrowWidth$$() {
    return 0;
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$registerAsTabStop$ = function $$dvt$$2$$$$AfButtonLink$$$$registerAsTabStop$$() {
    this.$_afContext$.$registerTabStop$(this);
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$addAccessibilityAttributes$ = function $$dvt$$2$$$$AfButtonLink$$$$addAccessibilityAttributes$$() {
    this.$_bgShape$.$setAriaRole$("link");
    if (!$dvt$$2$$.$Agent$.$deferAriaCreation$()) {
      var $desc$$9$$ = this.$getAriaLabel$();
      $desc$$9$$ && this.$_bgShape$.$setAriaProperty$("label", $desc$$9$$);
    }
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$getAriaLabel$ = function $$dvt$$2$$$$AfButtonLink$$$$getAriaLabel$$() {
    var $dvt$$2$$ = this.$getShortDesc$();
    $dvt$$2$$ || ($dvt$$2$$ = this.$getText$());
    return $dvt$$2$$;
  };
  $dvt$$2$$.$AfButtonLink$.prototype.$handleKeyboardEvent$ = function $$dvt$$2$$$$AfButtonLink$$$$handleKeyboardEvent$$($event$$170_mouseEvent$$4$$) {
    var $keyCode$$8_target$$65$$ = $event$$170_mouseEvent$$4$$.keyCode;
    if ($keyCode$$8_target$$65$$ == $dvt$$2$$.KeyboardEvent.$ENTER$ || $keyCode$$8_target$$65$$ == $dvt$$2$$.KeyboardEvent.$SPACE$) {
      var $keyCode$$8_target$$65$$ = this.$_bgShape$, $point$$27$$ = $keyCode$$8_target$$65$$.$localToStage$(new $dvt$$2$$.$Point$(0, 0));
      $event$$170_mouseEvent$$4$$ = $dvt$$2$$.$DomEventFactory$.$generateMouseEventFromKeyboardEvent$($event$$170_mouseEvent$$4$$, this.$getDvtContext$(), $dvt$$2$$.MouseEvent.$CLICK$, $point$$27$$.x, $point$$27$$.y);
      $event$$170_mouseEvent$$4$$.target = $keyCode$$8_target$$65$$;
      $keyCode$$8_target$$65$$.$dispatchNativeEvent$($event$$170_mouseEvent$$4$$);
    }
  };
  $dvt$$2$$.$AfButton$ = function $$dvt$$2$$$$AfButton$$() {
    this.Init();
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfButton$, $dvt$$2$$.$AfButtonLink$, "dvt.AfButton");
  $dvt$$2$$.$AfButton$.$TAG_NAME$ = "bt";
  $dvt$$2$$.$AfComponentFactory$.$registerComponent$($dvt$$2$$.$AfButton$.$TAG_NAME$, $dvt$$2$$.$AfButton$);
  $dvt$$2$$.$AfButton$.prototype.$getTagName$ = function $$dvt$$2$$$$AfButton$$$$getTagName$$() {
    return $dvt$$2$$.$AfButton$.$TAG_NAME$;
  };
  $dvt$$2$$.$AfButton$.prototype.$GetDefaultStyles$ = function $$dvt$$2$$$$AfButton$$$$GetDefaultStyles$$() {
    return $dvt$$2$$.$AfButton$.$_afStyles$;
  };
  $dvt$$2$$.$AfButton$.prototype.$SetDefaultStyles$ = function $$dvt$$2$$$$AfButton$$$$SetDefaultStyles$$($styleList$$8$$) {
    $dvt$$2$$.$AfButton$.$_afStyles$ = $styleList$$8$$;
    5 < $styleList$$8$$.length && $styleList$$8$$[0].$mergeUnder$($styleList$$8$$[5]);
    7 < $styleList$$8$$.length && $styleList$$8$$[7].$mergeUnder$($styleList$$8$$[0]);
    8 < $styleList$$8$$.length && $styleList$$8$$[8].$mergeUnder$($styleList$$8$$[0]);
    9 < $styleList$$8$$.length && $styleList$$8$$[9].$mergeUnder$($styleList$$8$$[0]);
  };
  $dvt$$2$$.$AfButton$.prototype.$GetEnabledStyle$ = function $$dvt$$2$$$$AfButton$$$$GetEnabledStyle$$() {
    return this.$_getAfStyleAt$(0);
  };
  $dvt$$2$$.$AfButton$.prototype.$GetIconStyle$ = function $$dvt$$2$$$$AfButton$$$$GetIconStyle$$() {
    return this.$_getAfStyleAt$(1);
  };
  $dvt$$2$$.$AfButton$.prototype.$GetTextStyle$ = function $$dvt$$2$$$$AfButton$$$$GetTextStyle$$() {
    return this.$_getAfStyleAt$(2);
  };
  $dvt$$2$$.$AfButton$.prototype.$GetActiveStyle$ = function $$dvt$$2$$$$AfButton$$$$GetActiveStyle$$() {
    return this.$_getAfStyleAt$(7);
  };
  $dvt$$2$$.$AfButton$.prototype.$GetHoverStyle$ = function $$dvt$$2$$$$AfButton$$$$GetHoverStyle$$() {
    return this.$_getAfStyleAt$(8);
  };
  $dvt$$2$$.$AfButton$.prototype.$GetDisabledStyle$ = function $$dvt$$2$$$$AfButton$$$$GetDisabledStyle$$() {
    return this.$_getAfStyleAt$(9);
  };
  $dvt$$2$$.$AfButton$.prototype.$ResolveEm$ = function $$dvt$$2$$$$AfButton$$$$ResolveEm$$($cssStyle$$17_disStyle_textStyle$$4$$) {
    $dvt$$2$$.$AfButton$.$superclass$.$ResolveEm$.call(this, $cssStyle$$17_disStyle_textStyle$$4$$);
    ($cssStyle$$17_disStyle_textStyle$$4$$ = this.$GetTextStyle$()) && this.$resolveEmUnit$($cssStyle$$17_disStyle_textStyle$$4$$, this);
    ($cssStyle$$17_disStyle_textStyle$$4$$ = this.$GetDisabledStyle$()) && this.$resolveEmUnit$($cssStyle$$17_disStyle_textStyle$$4$$, this);
  };
  $dvt$$2$$.$AfButton$.prototype.$_hasBgShape$ = function $$dvt$$2$$$$AfButton$$$$_hasBgShape$$() {
    return !1;
  };
  $dvt$$2$$.$AfButton$.prototype.$renderSelfAfterLayout$ = function $$dvt$$2$$$$AfButton$$$$renderSelfAfterLayout$$() {
  };
  $dvt$$2$$.$AfButton$.prototype.$RenderBackgroundImage$ = function $$dvt$$2$$$$AfButton$$$$RenderBackgroundImage$$($bgShape$$9$$, $callbackOnComplete_style$$29$$, $bgImg$$4$$) {
    if ($bgImg$$4$$ && "none" !== $bgImg$$4$$ && !($bgImg$$4$$ instanceof $dvt$$2$$.$CSSGradient$)) {
      this.$_bgImg$ = $bgImg$$4$$;
      var $bgRepeat$$1$$ = $callbackOnComplete_style$$29$$.$getStyle$($dvt$$2$$.$CSSStyle$.$BACKGROUND_REPEAT$);
      $callbackOnComplete_style$$29$$ = null;
      if ($bgRepeat$$1$$ && "no-repeat" == $bgRepeat$$1$$) {
        var $dim$$26$$ = $bgShape$$9$$.$getDimensions$(this.$_afContext$.$getParentNode$());
        $bgShape$$9$$.$setFill$(new $dvt$$2$$.$ImageFill$(this.$_bgImg$, $dim$$26$$, $bgRepeat$$1$$));
      } else {
        $callbackOnComplete_style$$29$$ = function $$callbackOnComplete_style$$29$$$($imgDim$$) {
          $imgDim$$ && $imgDim$$.width && $imgDim$$.height && $bgShape$$9$$.$setFill$(new $dvt$$2$$.$ImageFill$($dvt$$2$$.$Agent$.$isEnvironmentBatik$() ? $imgDim$$.uri : $bgImg$$4$$, new $dvt$$2$$.$Rectangle$(0, 0, $imgDim$$.width, $imgDim$$.height), $bgRepeat$$1$$));
        };
      }
      $dvt$$2$$.$ImageLoader$.$loadImage$(this.$getDvtContext$(), $bgImg$$4$$, $callbackOnComplete_style$$29$$);
    }
  };
  $dvt$$2$$.$AfCommandButton$ = function $$dvt$$2$$$$AfCommandButton$$() {
    this.Init();
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfCommandButton$, $dvt$$2$$.$AfButton$, "dvt.AfCommandButton");
  $dvt$$2$$.$AfCommandButton$.$TAG_NAME$ = "cb";
  $dvt$$2$$.$AfComponentFactory$.$registerComponent$($dvt$$2$$.$AfCommandButton$.$TAG_NAME$, $dvt$$2$$.$AfCommandButton$);
  $dvt$$2$$.$AfCommandButton$.prototype.$getTagName$ = function $$dvt$$2$$$$AfCommandButton$$$$getTagName$$() {
    return $dvt$$2$$.$AfCommandButton$.$TAG_NAME$;
  };
  $dvt$$2$$.$AfCommandButton$.prototype.$GetDefaultStyles$ = function $$dvt$$2$$$$AfCommandButton$$$$GetDefaultStyles$$() {
    return $dvt$$2$$.$AfCommandButton$.$_afStyles$;
  };
  $dvt$$2$$.$AfCommandButton$.prototype.$SetDefaultStyles$ = function $$dvt$$2$$$$AfCommandButton$$$$SetDefaultStyles$$($styleList$$9$$) {
    $dvt$$2$$.$AfCommandButton$.$_afStyles$ = $styleList$$9$$;
    1 < $styleList$$9$$.length && $styleList$$9$$[1].$mergeUnder$($styleList$$9$$[0]);
    2 < $styleList$$9$$.length && $styleList$$9$$[2].$mergeUnder$($styleList$$9$$[0]);
    3 < $styleList$$9$$.length && $styleList$$9$$[3].$mergeUnder$($styleList$$9$$[0]);
    4 < $styleList$$9$$.length && $styleList$$9$$[4].$mergeUnder$($styleList$$9$$[0]);
    5 < $styleList$$9$$.length && $styleList$$9$$[5].$mergeUnder$($styleList$$9$$[2]);
  };
  $dvt$$2$$.$AfCommandButton$.prototype.$GetIconStyle$ = function $$dvt$$2$$$$AfCommandButton$$$$GetIconStyle$$() {
    return this.$_getAfStyleAt$(1);
  };
  $dvt$$2$$.$AfCommandButton$.prototype.$GetTextStyle$ = function $$dvt$$2$$$$AfCommandButton$$$$GetTextStyle$$() {
    return this.$_getAfStyleAt$(2);
  };
  $dvt$$2$$.$AfCommandButton$.prototype.$GetActiveStyle$ = function $$dvt$$2$$$$AfCommandButton$$$$GetActiveStyle$$() {
    return this.$_getAfStyleAt$(3);
  };
  $dvt$$2$$.$AfCommandButton$.prototype.$GetHoverStyle$ = function $$dvt$$2$$$$AfCommandButton$$$$GetHoverStyle$$() {
    return this.$_getAfStyleAt$(4);
  };
  $dvt$$2$$.$AfCommandButton$.prototype.$GetDisabledStyle$ = function $$dvt$$2$$$$AfCommandButton$$$$GetDisabledStyle$$() {
    var $style$$30$$ = this.$_getAfStyleAt$(5);
    return $style$$30$$ ? $style$$30$$ : $dvt$$2$$.$AfStyleUtils$.$getDefaultCommandButtonDisabledStyle$();
  };
  $dvt$$2$$.$AfGoButton$ = function $$dvt$$2$$$$AfGoButton$$() {
    this.Init();
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfGoButton$, $dvt$$2$$.$AfButton$, "dvt.AfGoButton");
  $dvt$$2$$.$AfGoButton$.$TAG_NAME$ = "gb";
  $dvt$$2$$.$AfComponentFactory$.$registerComponent$($dvt$$2$$.$AfGoButton$.$TAG_NAME$, $dvt$$2$$.$AfGoButton$);
  $dvt$$2$$.$AfGoButton$.prototype.$getTagName$ = function $$dvt$$2$$$$AfGoButton$$$$getTagName$$() {
    return $dvt$$2$$.$AfGoButton$.$TAG_NAME$;
  };
  $dvt$$2$$.$AfGoButton$.prototype.$GetDefaultStyles$ = function $$dvt$$2$$$$AfGoButton$$$$GetDefaultStyles$$() {
    return $dvt$$2$$.$AfGoButton$.$_afStyles$;
  };
  $dvt$$2$$.$AfGoButton$.prototype.$SetDefaultStyles$ = function $$dvt$$2$$$$AfGoButton$$$$SetDefaultStyles$$($styleList$$10$$) {
    $dvt$$2$$.$AfGoButton$.$_afStyles$ = $styleList$$10$$;
    1 < $styleList$$10$$.length && $styleList$$10$$[1].$mergeUnder$($styleList$$10$$[0]);
    2 < $styleList$$10$$.length && $styleList$$10$$[2].$mergeUnder$($styleList$$10$$[0]);
    3 < $styleList$$10$$.length && $styleList$$10$$[3].$mergeUnder$($styleList$$10$$[0]);
    4 < $styleList$$10$$.length && $styleList$$10$$[4].$mergeUnder$($styleList$$10$$[0]);
    5 < $styleList$$10$$.length && $styleList$$10$$[5].$mergeUnder$($styleList$$10$$[2]);
  };
  $dvt$$2$$.$AfGoButton$.prototype.$GetIconStyle$ = function $$dvt$$2$$$$AfGoButton$$$$GetIconStyle$$() {
    return this.$_getAfStyleAt$(1);
  };
  $dvt$$2$$.$AfGoButton$.prototype.$GetTextStyle$ = function $$dvt$$2$$$$AfGoButton$$$$GetTextStyle$$() {
    return this.$_getAfStyleAt$(2);
  };
  $dvt$$2$$.$AfGoButton$.prototype.$GetActiveStyle$ = function $$dvt$$2$$$$AfGoButton$$$$GetActiveStyle$$() {
    return this.$_getAfStyleAt$(3);
  };
  $dvt$$2$$.$AfGoButton$.prototype.$GetHoverStyle$ = function $$dvt$$2$$$$AfGoButton$$$$GetHoverStyle$$() {
    return this.$_getAfStyleAt$(4);
  };
  $dvt$$2$$.$AfGoButton$.prototype.$GetDisabledStyle$ = function $$dvt$$2$$$$AfGoButton$$$$GetDisabledStyle$$() {
    var $style$$31$$ = this.$_getAfStyleAt$(5);
    return $style$$31$$ ? $style$$31$$ : $dvt$$2$$.$AfStyleUtils$.$getDefaultGoButtonDisabledStyle$();
  };
  $dvt$$2$$.$AfLink$ = function $$dvt$$2$$$$AfLink$$() {
    this.Init();
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfLink$, $dvt$$2$$.$AfButtonLink$, "dvt.AfLink");
  $dvt$$2$$.$AfLink$.$TAG_NAME$ = "lk";
  $dvt$$2$$.$AfComponentFactory$.$registerComponent$($dvt$$2$$.$AfLink$.$TAG_NAME$, $dvt$$2$$.$AfLink$);
  $dvt$$2$$.$AfLink$.prototype.$getTagName$ = function $$dvt$$2$$$$AfLink$$$$getTagName$$() {
    return $dvt$$2$$.$AfLink$.$TAG_NAME$;
  };
  $dvt$$2$$.$AfLink$.prototype.$GetDefaultStyles$ = function $$dvt$$2$$$$AfLink$$$$GetDefaultStyles$$() {
    return $dvt$$2$$.$AfLink$.$_afStyles$;
  };
  $dvt$$2$$.$AfLink$.prototype.$SetDefaultStyles$ = function $$dvt$$2$$$$AfLink$$$$SetDefaultStyles$$($styleList$$11$$) {
    $dvt$$2$$.$AfLink$.$_afStyles$ = $styleList$$11$$;
    5 < $styleList$$11$$.length && (9 < $styleList$$11$$.length && $styleList$$11$$[5].$merge$($styleList$$11$$[9]), $styleList$$11$$[5].$mergeUnder$($styleList$$11$$[0]));
    6 < $styleList$$11$$.length && (8 < $styleList$$11$$.length && $styleList$$11$$[6].$merge$($styleList$$11$$[8]), $styleList$$11$$[6].$mergeUnder$($styleList$$11$$[0]));
    7 < $styleList$$11$$.length && $styleList$$11$$[7].$mergeUnder$($styleList$$11$$[0]);
  };
  $dvt$$2$$.$AfLink$.prototype.$GetEnabledStyle$ = function $$dvt$$2$$$$AfLink$$$$GetEnabledStyle$$() {
    return this.$_getAfStyleAt$(0);
  };
  $dvt$$2$$.$AfLink$.prototype.$createDisplayObj$ = function $$dvt$$2$$$$AfLink$$$$createDisplayObj$$($afContext$$45$$) {
    var $dispObj$$9$$ = $dvt$$2$$.$AfLink$.$superclass$.$createDisplayObj$.call(this, $afContext$$45$$);
    this.$addChildDisplayObjs$($afContext$$45$$, this.$_shape$);
    return $dispObj$$9$$;
  };
  $dvt$$2$$.$AfLink$.prototype.$renderSelfBeforeChildren$ = function $$dvt$$2$$$$AfLink$$$$renderSelfBeforeChildren$$() {
    $dvt$$2$$.$AfLink$.$superclass$.$renderSelfBeforeChildren$.call(this);
    0 < this.$getNumChildren$() && (this.$_acw$ = this.$_aw$, this.$_ach$ = this.$_ah$ - this.$_ch$);
  };
  $dvt$$2$$.$AfLink$.prototype.$doLayout$ = function $$dvt$$2$$$$AfLink$$$$doLayout$$() {
    0 < this.$getNumChildren$() && $DvtAfComponentUtils$$.$doVerticalLayout$(this.$_afContext$, this);
  };
  $dvt$$2$$.$AfLink$.prototype.$renderChild$ = function $$dvt$$2$$$$AfLink$$$$renderChild$$($child$$35_dim$$28$$) {
    $child$$35_dim$$28$$.$_render$ ? $child$$35_dim$$28$$.$_render$(this.$_acw$, this.$_ach$) : $child$$35_dim$$28$$.$render$ && $dvt$$2$$.$AfComponent$.$_renderComp$(this.$_afContext$, $child$$35_dim$$28$$, this.$_acw$, this.$_ach$);
    $child$$35_dim$$28$$ = $dvt$$2$$.$AfComponent$.$getDimensions$($child$$35_dim$$28$$);
    $child$$35_dim$$28$$.$h$ !== Number.MAX_VALUE && (this.$_ach$ -= $child$$35_dim$$28$$.$h$);
  };
  $dvt$$2$$.$AfLink$.prototype.$getHAlign$ = function $$dvt$$2$$$$AfLink$$$$getHAlign$$() {
    return $dvt$$2$$.$AfComponent$.$HALIGN_START$;
  };
  $dvt$$2$$.$AfLink$.prototype.$GetIconStyle$ = function $$dvt$$2$$$$AfLink$$$$GetIconStyle$$() {
    return this.$_getAfStyleAt$(1);
  };
  $dvt$$2$$.$AfLink$.prototype.$GetTextStyle$ = function $$dvt$$2$$$$AfLink$$$$GetTextStyle$$() {
    return this.$_getAfStyleAt$(2);
  };
  $dvt$$2$$.$AfLink$.prototype.$GetActiveStyle$ = function $$dvt$$2$$$$AfLink$$$$GetActiveStyle$$() {
    return this.$_getAfStyleAt$(5);
  };
  $dvt$$2$$.$AfLink$.prototype.$GetHoverStyle$ = function $$dvt$$2$$$$AfLink$$$$GetHoverStyle$$() {
    return this.$_getAfStyleAt$(6);
  };
  $dvt$$2$$.$AfLink$.prototype.$GetDisabledStyle$ = function $$dvt$$2$$$$AfLink$$$$GetDisabledStyle$$() {
    return this.$_getAfStyleAt$(7);
  };
  $dvt$$2$$.$AfLink$.prototype.$ResolveEm$ = function $$dvt$$2$$$$AfLink$$$$ResolveEm$$($cssStyle$$18_disStyle$$1_textStyle$$5$$) {
    $dvt$$2$$.$AfLink$.$superclass$.$ResolveEm$.call(this, $cssStyle$$18_disStyle$$1_textStyle$$5$$);
    ($cssStyle$$18_disStyle$$1_textStyle$$5$$ = this.$GetTextStyle$()) && this.$resolveEmUnit$($cssStyle$$18_disStyle$$1_textStyle$$5$$, this);
    ($cssStyle$$18_disStyle$$1_textStyle$$5$$ = this.$GetDisabledStyle$()) && this.$resolveEmUnit$($cssStyle$$18_disStyle$$1_textStyle$$5$$, this);
  };
  $dvt$$2$$.$AfLink$.prototype.$_hasBgShape$ = function $$dvt$$2$$$$AfLink$$$$_hasBgShape$$() {
    return !1;
  };
  $dvt$$2$$.$AfLink$.prototype.$renderBackground$ = function $$dvt$$2$$$$AfLink$$$$renderBackground$$() {
  };
  $dvt$$2$$.$AfCommandLink$ = function $$dvt$$2$$$$AfCommandLink$$() {
    this.Init();
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfCommandLink$, $dvt$$2$$.$AfLink$, "dvt.AfCommandLink");
  $dvt$$2$$.$AfCommandLink$.$TAG_NAME$ = "cl";
  $dvt$$2$$.$AfComponentFactory$.$registerComponent$($dvt$$2$$.$AfCommandLink$.$TAG_NAME$, $dvt$$2$$.$AfCommandLink$);
  $dvt$$2$$.$AfCommandLink$.prototype.$getIcon$ = function $$dvt$$2$$$$AfCommandLink$$$$getIcon$$() {
    return null;
  };
  $dvt$$2$$.$AfCommandLink$.prototype.$getDisabledIcon$ = function $$dvt$$2$$$$AfCommandLink$$$$getDisabledIcon$$() {
    return null;
  };
  $dvt$$2$$.$AfCommandLink$.prototype.$getDestination$ = function $$dvt$$2$$$$AfCommandLink$$$$getDestination$$() {
    return null;
  };
  $dvt$$2$$.$AfCommandLink$.prototype.$getTagName$ = function $$dvt$$2$$$$AfCommandLink$$$$getTagName$$() {
    return $dvt$$2$$.$AfCommandLink$.$TAG_NAME$;
  };
  $dvt$$2$$.$AfCommandLink$.prototype.$GetDefaultStyles$ = function $$dvt$$2$$$$AfCommandLink$$$$GetDefaultStyles$$() {
    return $dvt$$2$$.$AfCommandLink$.$_afStyles$;
  };
  $dvt$$2$$.$AfCommandLink$.prototype.$SetDefaultStyles$ = function $$dvt$$2$$$$AfCommandLink$$$$SetDefaultStyles$$($styleList$$12$$) {
    $dvt$$2$$.$AfCommandLink$.$_afStyles$ = $styleList$$12$$;
    1 < $styleList$$12$$.length && $styleList$$12$$[1].$mergeUnder$($styleList$$12$$[0]);
    2 < $styleList$$12$$.length && $styleList$$12$$[2].$mergeUnder$($styleList$$12$$[0]);
    3 < $styleList$$12$$.length && $styleList$$12$$[3].$mergeUnder$($styleList$$12$$[0]);
  };
  $dvt$$2$$.$AfCommandLink$.prototype.$GetIconStyle$ = function $$dvt$$2$$$$AfCommandLink$$$$GetIconStyle$$() {
    return null;
  };
  $dvt$$2$$.$AfCommandLink$.prototype.$GetTextStyle$ = function $$dvt$$2$$$$AfCommandLink$$$$GetTextStyle$$() {
    return this.$_getAfStyleAt$(0);
  };
  $dvt$$2$$.$AfCommandLink$.prototype.$GetActiveStyle$ = function $$dvt$$2$$$$AfCommandLink$$$$GetActiveStyle$$() {
    return this.$_getAfStyleAt$(1);
  };
  $dvt$$2$$.$AfCommandLink$.prototype.$GetHoverStyle$ = function $$dvt$$2$$$$AfCommandLink$$$$GetHoverStyle$$() {
    return this.$_getAfStyleAt$(2);
  };
  $dvt$$2$$.$AfCommandLink$.prototype.$GetDisabledStyle$ = function $$dvt$$2$$$$AfCommandLink$$$$GetDisabledStyle$$() {
    var $style$$33$$ = this.$_getAfStyleAt$(3);
    return $style$$33$$ ? $style$$33$$ : $dvt$$2$$.$AfStyleUtils$.$getDefaultCommandLinkDisabledStyle$();
  };
  $dvt$$2$$.$AfCommandImageLink$ = function $$dvt$$2$$$$AfCommandImageLink$$() {
    this.Init();
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfCommandImageLink$, $dvt$$2$$.$AfLink$, "dvt.AfCommandImageLink");
  $dvt$$2$$.$AfCommandImageLink$.$TAG_NAME$ = "cil";
  $dvt$$2$$.$AfComponentFactory$.$registerComponent$($dvt$$2$$.$AfCommandImageLink$.$TAG_NAME$, $dvt$$2$$.$AfCommandImageLink$);
  $dvt$$2$$.$AfCommandImageLink$.prototype.$getDestination$ = function $$dvt$$2$$$$AfCommandImageLink$$$$getDestination$$() {
    return null;
  };
  $dvt$$2$$.$AfCommandImageLink$.prototype.$getTagName$ = function $$dvt$$2$$$$AfCommandImageLink$$$$getTagName$$() {
    return $dvt$$2$$.$AfCommandImageLink$.$TAG_NAME$;
  };
  $dvt$$2$$.$AfCommandImageLink$.prototype.$GetDefaultStyles$ = function $$dvt$$2$$$$AfCommandImageLink$$$$GetDefaultStyles$$() {
    return $dvt$$2$$.$AfCommandImageLink$.$_afStyles$;
  };
  $dvt$$2$$.$AfCommandImageLink$.prototype.$SetDefaultStyles$ = function $$dvt$$2$$$$AfCommandImageLink$$$$SetDefaultStyles$$($styleList$$13$$) {
    $dvt$$2$$.$AfCommandImageLink$.$_afStyles$ = $styleList$$13$$;
    2 < $styleList$$13$$.length && $styleList$$13$$[2].$mergeUnder$($styleList$$13$$[0]);
    5 < $styleList$$13$$.length && $styleList$$13$$[5].$mergeUnder$($styleList$$13$$[0]);
    6 < $styleList$$13$$.length && $styleList$$13$$[3].$merge$($styleList$$13$$[6]);
    7 < $styleList$$13$$.length && $styleList$$13$$[4].$merge$($styleList$$13$$[7]);
  };
  $dvt$$2$$.$AfCommandImageLink$.prototype.$GetIconStyle$ = function $$dvt$$2$$$$AfCommandImageLink$$$$GetIconStyle$$() {
    return this.$_getAfStyleAt$(1);
  };
  $dvt$$2$$.$AfCommandImageLink$.prototype.$GetTextStyle$ = function $$dvt$$2$$$$AfCommandImageLink$$$$GetTextStyle$$() {
    return this.$_getAfStyleAt$(2);
  };
  $dvt$$2$$.$AfCommandImageLink$.prototype.$GetActiveStyle$ = function $$dvt$$2$$$$AfCommandImageLink$$$$GetActiveStyle$$() {
    return this.$_getAfStyleAt$(3);
  };
  $dvt$$2$$.$AfCommandImageLink$.prototype.$GetHoverStyle$ = function $$dvt$$2$$$$AfCommandImageLink$$$$GetHoverStyle$$() {
    return this.$_getAfStyleAt$(4);
  };
  $dvt$$2$$.$AfCommandImageLink$.prototype.$GetDisabledStyle$ = function $$dvt$$2$$$$AfCommandImageLink$$$$GetDisabledStyle$$() {
    var $style$$34$$ = this.$_getAfStyleAt$(5);
    return $style$$34$$ ? $style$$34$$ : $dvt$$2$$.$AfStyleUtils$.$getDefaultCommandImageLinkDisabledStyle$();
  };
  $dvt$$2$$.$AfCommandImageLink$.prototype.$ResolveEm$ = function $$dvt$$2$$$$AfCommandImageLink$$$$ResolveEm$$($cssStyle$$19_style$$35$$) {
    $dvt$$2$$.$AfCommandImageLink$.$superclass$.$ResolveEm$.call(this, $cssStyle$$19_style$$35$$);
    ($cssStyle$$19_style$$35$$ = this.$GetIconStyle$()) && this.$resolveEmUnit$($cssStyle$$19_style$$35$$, this);
  };
  $dvt$$2$$.$AfGoLink$ = function $$dvt$$2$$$$AfGoLink$$() {
    this.Init();
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfGoLink$, $dvt$$2$$.$AfLink$, "dvt.AfGoLink");
  $dvt$$2$$.$AfGoLink$.$TAG_NAME$ = "gl";
  $dvt$$2$$.$AfComponentFactory$.$registerComponent$($dvt$$2$$.$AfGoLink$.$TAG_NAME$, $dvt$$2$$.$AfGoLink$);
  $dvt$$2$$.$AfGoLink$.prototype.$getIcon$ = function $$dvt$$2$$$$AfGoLink$$$$getIcon$$() {
    return null;
  };
  $dvt$$2$$.$AfGoLink$.prototype.$getDisabledIcon$ = function $$dvt$$2$$$$AfGoLink$$$$getDisabledIcon$$() {
    return null;
  };
  $dvt$$2$$.$AfGoLink$.prototype.$getTagName$ = function $$dvt$$2$$$$AfGoLink$$$$getTagName$$() {
    return $dvt$$2$$.$AfGoLink$.$TAG_NAME$;
  };
  $dvt$$2$$.$AfGoLink$.prototype.$GetDefaultStyles$ = function $$dvt$$2$$$$AfGoLink$$$$GetDefaultStyles$$() {
    return $dvt$$2$$.$AfGoLink$.$_afStyles$;
  };
  $dvt$$2$$.$AfGoLink$.prototype.$SetDefaultStyles$ = function $$dvt$$2$$$$AfGoLink$$$$SetDefaultStyles$$($styleList$$14$$) {
    $dvt$$2$$.$AfGoLink$.$_afStyles$ = $styleList$$14$$;
    1 < $styleList$$14$$.length && $styleList$$14$$[1].$mergeUnder$($styleList$$14$$[0]);
    3 < $styleList$$14$$.length && $styleList$$14$$[3].$mergeUnder$($styleList$$14$$[0]);
  };
  $dvt$$2$$.$AfGoLink$.prototype.$GetTextStyle$ = function $$dvt$$2$$$$AfGoLink$$$$GetTextStyle$$() {
    return $dvt$$2$$.$AfGoLink$.$_afStyles$[0];
  };
  $dvt$$2$$.$AfGoLink$.prototype.$GetActiveStyle$ = function $$dvt$$2$$$$AfGoLink$$$$GetActiveStyle$$() {
    return this.$_getAfStyleAt$(1);
  };
  $dvt$$2$$.$AfGoLink$.prototype.$GetHoverStyle$ = function $$dvt$$2$$$$AfGoLink$$$$GetHoverStyle$$() {
    return this.$_getAfStyleAt$(2);
  };
  $dvt$$2$$.$AfGoLink$.prototype.$GetDisabledStyle$ = function $$dvt$$2$$$$AfGoLink$$$$GetDisabledStyle$$() {
    var $style$$36$$ = this.$_getAfStyleAt$(3);
    return $style$$36$$ ? $style$$36$$ : $dvt$$2$$.$AfStyleUtils$.$getDefaultGoLinkDisabledStyle$();
  };
  $dvt$$2$$.$AfCommandMenuItem$ = function $$dvt$$2$$$$AfCommandMenuItem$$() {
    this.Init();
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfCommandMenuItem$, $dvt$$2$$.$AfButton$, "dvt.AfCommandMenuItem");
  $dvt$$2$$.$AfCommandMenuItem$.$TAG_NAME$ = "cmi";
  $dvt$$2$$.$AfComponentFactory$.$registerComponent$($dvt$$2$$.$AfCommandMenuItem$.$TAG_NAME$, $dvt$$2$$.$AfCommandMenuItem$);
  $dvt$$2$$.$AfCommandMenuItem$.prototype.$getTagName$ = function $$dvt$$2$$$$AfCommandMenuItem$$$$getTagName$$() {
    return $dvt$$2$$.$AfCommandMenuItem$.$TAG_NAME$;
  };
  $dvt$$2$$.$AfCommandMenuItem$.prototype.$GetDefaultStyles$ = function $$dvt$$2$$$$AfCommandMenuItem$$$$GetDefaultStyles$$() {
    return $dvt$$2$$.$AfCommandMenuItem$.$_afStyles$;
  };
  $dvt$$2$$.$AfCommandMenuItem$.prototype.$SetDefaultStyles$ = function $$dvt$$2$$$$AfCommandMenuItem$$$$SetDefaultStyles$$($styleList$$15$$) {
    $dvt$$2$$.$AfCommandMenuItem$.$_afStyles$ = $styleList$$15$$;
    1 < $styleList$$15$$.length && $styleList$$15$$[0].$merge$($styleList$$15$$[1]);
    2 < $styleList$$15$$.length && $styleList$$15$$[2].$mergeUnder$($styleList$$15$$[0]);
    3 < $styleList$$15$$.length && ($styleList$$15$$[3].$mergeUnder$($styleList$$15$$[2]), $styleList$$15$$[0].$merge$($styleList$$15$$[3]));
    4 < $styleList$$15$$.length && $styleList$$15$$[4].$mergeUnder$($styleList$$15$$[3]);
    5 < $styleList$$15$$.length && $styleList$$15$$[5].$mergeUnder$($styleList$$15$$[3]);
  };
  $dvt$$2$$.$AfCommandMenuItem$.prototype.$GetIconStyle$ = function $$dvt$$2$$$$AfCommandMenuItem$$$$GetIconStyle$$() {
    return this.$_getAfStyleAt$(2);
  };
  $dvt$$2$$.$AfCommandMenuItem$.prototype.$GetTextStyle$ = function $$dvt$$2$$$$AfCommandMenuItem$$$$GetTextStyle$$($mouseState$$13$$) {
    return $mouseState$$13$$ == $dvt$$2$$.$Button$.$STATE_OVER$ ? this.$_getAfStyleAt$(4) : $mouseState$$13$$ == $dvt$$2$$.$Button$.$STATE_DOWN$ ? this.$_getAfStyleAt$(3) : $mouseState$$13$$ == $dvt$$2$$.$Button$.$STATE_DISABLED$ ? this.$_getAfStyleAt$(5) : this.$_getAfStyleAt$(3);
  };
  $dvt$$2$$.$AfCommandMenuItem$.prototype.$GetActiveStyle$ = function $$dvt$$2$$$$AfCommandMenuItem$$$$GetActiveStyle$$() {
    return this.$_getAfStyleAt$(3);
  };
  $dvt$$2$$.$AfCommandMenuItem$.prototype.$GetHoverStyle$ = function $$dvt$$2$$$$AfCommandMenuItem$$$$GetHoverStyle$$() {
    return this.$_getAfStyleAt$(4);
  };
  $dvt$$2$$.$AfCommandMenuItem$.prototype.$GetDisabledStyle$ = function $$dvt$$2$$$$AfCommandMenuItem$$$$GetDisabledStyle$$() {
    var $style$$37$$ = this.$_getAfStyleAt$(5);
    return $style$$37$$ ? $style$$37$$ : $dvt$$2$$.$AfStyleUtils$.$getDefaultCommandMenuItemDisabledStyle$();
  };
  $dvt$$2$$.$AfCommandMenuItem$.prototype.$getIconPosition$ = function $$dvt$$2$$$$AfCommandMenuItem$$$$getIconPosition$$() {
    return $dvt$$2$$.$AfButtonLink$.$ICON_POSITION_LEADING$;
  };
  $dvt$$2$$.$AfCommandMenuItem$.prototype.$RenderBackgroundStroke$ = function $$dvt$$2$$$$AfCommandMenuItem$$$$RenderBackgroundStroke$$() {
  };
  $dvt$$2$$.$AfCommandMenuItem$.prototype.$SaveContextCallback$ = function $$dvt$$2$$$$AfCommandMenuItem$$$$SaveContextCallback$$() {
    var $baseCallback$$ = $dvt$$2$$.$Obj$.$createCallback$(this.$_afContext$.$getContextCallbackObj$(), this.$_afContext$.$getContextCallback$());
    this.$setContextCallbackObj$(this);
    this.$setContextCallback$(function($event$$171_menu$$) {
      $baseCallback$$($event$$171_menu$$);
      $event$$171_menu$$ = this.getParent();
      $event$$171_menu$$ instanceof $dvt$$2$$.$AfMenu$ && $event$$171_menu$$.$hideDropdown$();
    });
  };
  $dvt$$2$$.$AfMenu$ = function $$dvt$$2$$$$AfMenu$$() {
    this.Init();
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfMenu$, $dvt$$2$$.$AfButton$, "dvt.AfMenu");
  $dvt$$2$$.$AfMenu$.$TAG_NAME$ = "m";
  $dvt$$2$$.$AfComponentFactory$.$registerComponent$($dvt$$2$$.$AfMenu$.$TAG_NAME$, $dvt$$2$$.$AfMenu$);
  $dvt$$2$$.$AfMenu$.$DROPDOWN_PADDING$ = 1;
  $dvt$$2$$.$AfMenu$.$HPADDING$ = 5;
  $dvt$$2$$.$AfMenu$.prototype.$getTagName$ = function $$dvt$$2$$$$AfMenu$$$$getTagName$$() {
    return $dvt$$2$$.$AfMenu$.$TAG_NAME$;
  };
  $dvt$$2$$.$AfMenu$.prototype.$GetDefaultStyles$ = function $$dvt$$2$$$$AfMenu$$$$GetDefaultStyles$$() {
    return $dvt$$2$$.$AfMenu$.$_afStyles$;
  };
  $dvt$$2$$.$AfMenu$.prototype.$SetDefaultStyles$ = function $$dvt$$2$$$$AfMenu$$$$SetDefaultStyles$$($styleList$$16$$) {
    $dvt$$2$$.$AfMenu$.$_afStyles$ = $styleList$$16$$;
    1 < $styleList$$16$$.length && $styleList$$16$$[0].$merge$($styleList$$16$$[1]);
    2 < $styleList$$16$$.length && $styleList$$16$$[2].$mergeUnder$($styleList$$16$$[0]);
    5 < $styleList$$16$$.length && $styleList$$16$$[5].$mergeUnder$($styleList$$16$$[2]);
    9 < $styleList$$16$$.length && $styleList$$16$$[9].$mergeUnder$($styleList$$16$$[4]);
    10 < $styleList$$16$$.length && $styleList$$16$$[10].$mergeUnder$($styleList$$16$$[4]);
    11 < $styleList$$16$$.length && $styleList$$16$$[11].$mergeUnder$($styleList$$16$$[4]);
    12 < $styleList$$16$$.length && $styleList$$16$$[12].$mergeUnder$($styleList$$16$$[5]);
    13 < $styleList$$16$$.length && $styleList$$16$$[13].$mergeUnder$($styleList$$16$$[6]);
  };
  $dvt$$2$$.$AfMenu$.prototype.$GetIconStyle$ = function $$dvt$$2$$$$AfMenu$$$$GetIconStyle$$() {
    return this.$_getAfStyleAt$(2);
  };
  $dvt$$2$$.$AfMenu$.prototype.$GetTextStyle$ = function $$dvt$$2$$$$AfMenu$$$$GetTextStyle$$($mouseState$$14$$) {
    return $mouseState$$14$$ == $dvt$$2$$.$Button$.$STATE_OVER$ ? this.$_getAfStyleAt$(13) : $mouseState$$14$$ == $dvt$$2$$.$Button$.$STATE_DOWN$ ? this.$_getAfStyleAt$(12) : $mouseState$$14$$ == $dvt$$2$$.$Button$.$STATE_DISABLED$ ? this.$_getAfStyleAt$(7) : this.$_getAfStyleAt$(3);
  };
  $dvt$$2$$.$AfMenu$.prototype.$GetActiveStyle$ = function $$dvt$$2$$$$AfMenu$$$$GetActiveStyle$$() {
    return this.$_getAfStyleAt$(12);
  };
  $dvt$$2$$.$AfMenu$.prototype.$GetHoverStyle$ = function $$dvt$$2$$$$AfMenu$$$$GetHoverStyle$$() {
    return this.$_getAfStyleAt$(13);
  };
  $dvt$$2$$.$AfMenu$.prototype.$GetDisabledStyle$ = function $$dvt$$2$$$$AfMenu$$$$GetDisabledStyle$$() {
    var $style$$39$$ = this.$_getAfStyleAt$(7);
    return $style$$39$$ ? $style$$39$$ : $dvt$$2$$.$AfStyleUtils$.$getDefaultMenuDisabledStyle$();
  };
  $dvt$$2$$.$AfMenu$.prototype.$GetOpenIconStyle$ = function $$dvt$$2$$$$AfMenu$$$$GetOpenIconStyle$$($arrowStyle_mouseState$$15$$) {
    if ($arrowStyle_mouseState$$15$$ = $arrowStyle_mouseState$$15$$ == $dvt$$2$$.$Button$.$STATE_OVER$ ? this.$_getAfStyleAt$(10) : $arrowStyle_mouseState$$15$$ == $dvt$$2$$.$Button$.$STATE_DOWN$ ? this.$_getAfStyleAt$(9) : $arrowStyle_mouseState$$15$$ == $dvt$$2$$.$Button$.$STATE_DISABLED$ ? this.$_getAfStyleAt$(11) : this.$_getAfStyleAt$(4)) {
      var $sw$$4$$ = $arrowStyle_mouseState$$15$$.getWidth(), $sh$$3$$ = $arrowStyle_mouseState$$15$$.getHeight();
      $sw$$4$$ && $sh$$3$$ && (this.$_arrowDim$ = new $dvt$$2$$.$Rectangle$(0, 0, $dvt$$2$$.$AfComponent$.$ParseNonNegativeFloat$($sw$$4$$), $dvt$$2$$.$AfComponent$.$ParseNonNegativeFloat$($sh$$3$$)));
    }
    return $arrowStyle_mouseState$$15$$;
  };
  $dvt$$2$$.$AfMenu$.prototype.$_getPopupStyle$ = function $$dvt$$2$$$$AfMenu$$$$_getPopupStyle$$() {
    return this.$_getAfStyleAt$(8);
  };
  $dvt$$2$$.$AfMenu$.prototype.$getIconPosition$ = function $$dvt$$2$$$$AfMenu$$$$getIconPosition$$() {
    return $dvt$$2$$.$AfButtonLink$.$ICON_POSITION_LEADING$;
  };
  $dvt$$2$$.$AfMenu$.prototype.$CreateButtonState$ = function $$dvt$$2$$$$AfMenu$$$$CreateButtonState$$($mouseState$$16$$) {
    var $group$$3$$ = $dvt$$2$$.$AfMenu$.$superclass$.$CreateButtonState$.call(this, $mouseState$$16$$), $arrowSrc_arrowStyle$$1$$ = this.$GetOpenIconStyle$($mouseState$$16$$);
    $group$$3$$ && $arrowSrc_arrowStyle$$1$$ && ($arrowSrc_arrowStyle$$1$$ = $arrowSrc_arrowStyle$$1$$.$getBackgroundImage$()) && (this.$_arrowLst$ || (this.$_arrowLst$ = []), this.$_arrowLst$[$mouseState$$16$$] = new $dvt$$2$$.Image(this.$getDvtContext$(), $arrowSrc_arrowStyle$$1$$, 0, 0, this.$_getArrowWidth$(), this.$_getArrowHeight$()), $group$$3$$.$addChild$(this.$_arrowLst$[$mouseState$$16$$]));
    $group$$3$$.$setFill$(null);
    return $group$$3$$;
  };
  $dvt$$2$$.$AfMenu$.prototype.$GetArrowWidth$ = function $$dvt$$2$$$$AfMenu$$$$GetArrowWidth$$() {
    var $arrowStyle$$2$$ = this.$GetOpenIconStyle$($dvt$$2$$.$Button$.$STATE_ENABLED$), $padding$$8$$ = 0;
    $arrowStyle$$2$$ && ($padding$$8$$ = $arrowStyle$$2$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_LEFT$) + $arrowStyle$$2$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_RIGHT$));
    return this.$_getArrowWidth$() + $padding$$8$$;
  };
  $dvt$$2$$.$AfMenu$.prototype.$_RenderArrowIcon$ = function $$dvt$$2$$$$AfMenu$$$$_RenderArrowIcon$$($mouseState$$17$$, $textIconDim$$) {
    var $ashape$$ = this.$_arrowLst$[$mouseState$$17$$];
    if ($ashape$$) {
      var $arrowStyle$$3_posArr$$ = this.$GetOpenIconStyle$($mouseState$$17$$), $padding$$9$$ = 0;
      $dvt$$2$$.$Agent$.$isRightToLeft$(this.$getDvtContext$()) ? $ashape$$.$setX$(this.$_cx$) : ($arrowStyle$$3_posArr$$ && ($padding$$9$$ = $arrowStyle$$3_posArr$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_LEFT$)), $ashape$$.$setX$($textIconDim$$.$w$ + $padding$$9$$));
      var $yy$$12$$ = 2;
      ($arrowStyle$$3_posArr$$ = $arrowStyle$$3_posArr$$.$parseBackgroundPosition$()) && 2 == $arrowStyle$$3_posArr$$.length && ("100%" == $arrowStyle$$3_posArr$$[1] ? $yy$$12$$ = $textIconDim$$.$h$ - this.$_getArrowHeight$() - 1 : "50%" == $arrowStyle$$3_posArr$$[1] && ($yy$$12$$ = ($textIconDim$$.$h$ - this.$_getArrowHeight$()) / 2 + 1));
      $ashape$$.$setY$($yy$$12$$);
    }
    $textIconDim$$.$w$ += this.$_getArrowWidth$() + $padding$$9$$ + this.$_cx$;
    return $textIconDim$$;
  };
  $dvt$$2$$.$AfMenu$.prototype.$_getArrowWidth$ = function $$dvt$$2$$$$AfMenu$$$$_getArrowWidth$$() {
    return this.$_arrowDim$ ? this.$_arrowDim$.$w$ : 0;
  };
  $dvt$$2$$.$AfMenu$.prototype.$_getArrowHeight$ = function $$dvt$$2$$$$AfMenu$$$$_getArrowHeight$$() {
    return this.$_arrowDim$ ? this.$_arrowDim$.$h$ : 0;
  };
  $dvt$$2$$.$AfMenu$.prototype.$renderChildren$ = function $$dvt$$2$$$$AfMenu$$$$renderChildren$$() {
  };
  $dvt$$2$$.$AfMenu$.prototype.$GetClickListenerFunction$ = function $$dvt$$2$$$$AfMenu$$$$GetClickListenerFunction$$() {
    return $dvt$$2$$.$Obj$.$createCallback$(this, this.$_handleClickAction$);
  };
  $dvt$$2$$.$AfMenu$.prototype.$_handleClickAction$ = function $$dvt$$2$$$$AfMenu$$$$_handleClickAction$$() {
    0 < this.$getNumChildren$() && this.$displayDropdown$();
  };
  $dvt$$2$$.$AfMenu$.prototype.$hideDropdown$ = function $$dvt$$2$$$$AfMenu$$$$hideDropdown$$() {
    this.$RemoveStageFocusChangeListeners$();
    var $container$$6$$ = this.$_getMenuDropdownContainer$();
    $container$$6$$ && $dvt$$2$$.$AfMenu$.$_updateDropdown$($container$$6$$, null);
    this.$getContentShape$().$setToggled$(!1);
  };
  $dvt$$2$$.$AfMenu$.prototype.$displayDropdown$ = function $$dvt$$2$$$$AfMenu$$$$displayDropdown$$() {
    this.$getContentShape$().$setToggled$(!0);
    var $dropdown_id$$67$$ = this.getId(), $hasDropDownContainer_point$$28$$ = !1, $container$$7_stage$$3$$ = this.$_getMenuDropdownContainer$(!1);
    $container$$7_stage$$3$$ ? $hasDropDownContainer_point$$28$$ = !0 : $container$$7_stage$$3$$ = this.$_getMenuDropdownContainer$(!0);
    var $menuDim$$ = this.$_bgShape$.$getDimensions$($container$$7_stage$$3$$), $dropdown_id$$67$$ = new $dvt$$2$$.Rect(this.$getDvtContext$(), 0, 0, $menuDim$$.$w$, 1, $dropdown_id$$67$$ + "_dd"), $ddWidth_puStyle$$ = this.$_getPopupStyle$(), $bgColor$$4$$ = "white", $bdColor$$2$$ = "black", $bdWidth$$2$$ = 1;
    $ddWidth_puStyle$$ && ($bgColor$$4$$ = $ddWidth_puStyle$$.$getStyle$($dvt$$2$$.$CSSStyle$.$BACKGROUND_COLOR$), $bdColor$$2$$ = $dvt$$2$$.$AfComponent$.$getBorderColor$($ddWidth_puStyle$$), $bdWidth$$2$$ = $ddWidth_puStyle$$.$getBorderWidth$());
    $dropdown_id$$67$$.$setSolidFill$($bgColor$$4$$);
    $dropdown_id$$67$$.$setSolidStroke$($bdColor$$2$$, null, $bdWidth$$2$$);
    $dvt$$2$$.$AfMenu$.$_updateDropdown$($container$$7_stage$$3$$, $dropdown_id$$67$$);
    this.$_afContext$.$setContextCallback$(this.$getContextCallbackObj$(), this.$getContextCallback$());
    this.$populateDropdown$(this.$_afContext$, $dropdown_id$$67$$);
    $ddWidth_puStyle$$ = $dropdown_id$$67$$.getWidth();
    $hasDropDownContainer_point$$28$$ ? ($hasDropDownContainer_point$$28$$ = this.$getContentShape$().$localToStage$(new $dvt$$2$$.$Point$(0, 0)), $hasDropDownContainer_point$$28$$ = $container$$7_stage$$3$$.$stageToLocal$($hasDropDownContainer_point$$28$$), $dvt$$2$$.$Agent$.$isRightToLeft$(this.$getDvtContext$()) ? $dropdown_id$$67$$.$setTranslateX$($hasDropDownContainer_point$$28$$.x - $ddWidth_puStyle$$ + $menuDim$$.$w$) : $dropdown_id$$67$$.$setTranslateX$($hasDropDownContainer_point$$28$$.x), 
    $dropdown_id$$67$$.$setTranslateY$($hasDropDownContainer_point$$28$$.y + $menuDim$$.$h$ + 1)) : ($dvt$$2$$.$Agent$.$isRightToLeft$(this.$getDvtContext$()) ? $dropdown_id$$67$$.$setTranslateX$($menuDim$$.$w$ - $ddWidth_puStyle$$) : $dropdown_id$$67$$.$setTranslateX$(0), $dropdown_id$$67$$.$setTranslateY$($menuDim$$.$h$ + 1));
    $dropdown_id$$67$$.$setVisible$(!0);
    ($container$$7_stage$$3$$ = this.$getDvtContext$().$_stage$) && $container$$7_stage$$3$$.$addEvtListener$($dvt$$2$$.$Agent$.$isTouchDevice$() ? $dvt$$2$$.TouchEvent.$TOUCHSTART$ : $dvt$$2$$.MouseEvent.$MOUSEDOWN$, this.$HandleStageFocusChange$, !0, this);
  };
  $dvt$$2$$.$AfMenu$.prototype.$populateDropdown$ = function $$dvt$$2$$$$AfMenu$$$$populateDropdown$$($afContext$$46$$, $dropdown$$1$$) {
    for (var $cmi_dim$$29$$, $currY$$3_mw$$1$$ = $dvt$$2$$.$AfMenu$.$DROPDOWN_PADDING$, $maxDDWidth$$ = $dropdown$$1$$.getWidth(), $cmiWidths$$ = [], $cmiHeights$$ = [], $cmiShapes$$ = [], $itemButton$$, $i$$187$$ = 0;$i$$187$$ < this.$getNumChildren$();$i$$187$$++) {
      if ($cmi_dim$$29$$ = this.$getChildAt$($i$$187$$), !$cmi_dim$$29$$.$renderMe$ || $cmi_dim$$29$$.$renderMe$()) {
        $itemButton$$ = $cmi_dim$$29$$.$createDisplayObj$($afContext$$46$$), $dropdown$$1$$.$addChild$($itemButton$$), this.$renderChild$($cmi_dim$$29$$), $itemButton$$.$setTranslateY$($currY$$3_mw$$1$$), $cmi_dim$$29$$ = $dvt$$2$$.$AfComponent$.$getDimensions$($itemButton$$), $maxDDWidth$$ = Math.max($maxDDWidth$$, $cmi_dim$$29$$.$w$), $currY$$3_mw$$1$$ += $cmi_dim$$29$$.$h$ + $dvt$$2$$.$AfMenu$.$DROPDOWN_PADDING$, $cmiWidths$$.push($cmi_dim$$29$$.$w$), $cmiHeights$$.push($cmi_dim$$29$$.$h$), $cmiShapes$$.push($itemButton$$)
        ;
      }
    }
    $dropdown$$1$$.$setWidth$($maxDDWidth$$ + 2 * $dvt$$2$$.$AfMenu$.$DROPDOWN_PADDING$);
    $dropdown$$1$$.$setHeight$($currY$$3_mw$$1$$);
    for ($i$$187$$ = 0;$i$$187$$ < $cmiShapes$$.length;$i$$187$$++) {
      if ($itemButton$$ = $cmiShapes$$[$i$$187$$]) {
        $currY$$3_mw$$1$$ = $maxDDWidth$$ - $dvt$$2$$.$AfMenu$.$DROPDOWN_PADDING$, $itemButton$$.$setSize$($currY$$3_mw$$1$$ + 1, $cmiHeights$$[$i$$187$$]), $itemButton$$.$setTranslateX$($dvt$$2$$.$AfMenu$.$DROPDOWN_PADDING$), $dvt$$2$$.$Agent$.$isRightToLeft$(this.$getDvtContext$()) && $itemButton$$.$rightAlign$($currY$$3_mw$$1$$, $cmiWidths$$[$i$$187$$]);
      }
    }
  };
  $dvt$$2$$.$AfMenu$.prototype.$renderChild$ = function $$dvt$$2$$$$AfMenu$$$$renderChild$$($dvt$$2$$) {
    $dvt$$2$$.$_render$ && $dvt$$2$$.$_render$(Number.MAX_VALUE, Number.MAX_VALUE);
  };
  $dvt$$2$$.$AfMenu$.prototype.$HandleStageFocusChange$ = function $$dvt$$2$$$$AfMenu$$$$HandleStageFocusChange$$($dvt$$2$$) {
    if ($dvt$$2$$.target) {
      $dvt$$2$$ = $dvt$$2$$.target;
      for (var $container$$8$$ = this.$_getMenuDropdownContainer$(!0);null != $dvt$$2$$;$dvt$$2$$ = $dvt$$2$$.getParent()) {
        if ($dvt$$2$$ == $container$$8$$.$_afMenuDropDown$) {
          return;
        }
      }
      this.$hideDropdown$();
    }
  };
  $dvt$$2$$.$AfMenu$.prototype.$RemoveStageFocusChangeListeners$ = function $$dvt$$2$$$$AfMenu$$$$RemoveStageFocusChangeListeners$$() {
    var $stage$$4$$ = this.$getDvtContext$().$_stage$;
    $stage$$4$$ && $stage$$4$$.$removeEvtListener$($dvt$$2$$.$Agent$.$isTouchDevice$() ? $dvt$$2$$.TouchEvent.$TOUCHSTART$ : $dvt$$2$$.MouseEvent.$MOUSEDOWN$, this.$HandleStageFocusChange$, !0, this);
  };
  $dvt$$2$$.$AfMenu$.$_updateDropdown$ = function $$dvt$$2$$$$AfMenu$$$_updateDropdown$$($dvt$$2$$, $dropdown$$2$$) {
    $dvt$$2$$.$_afMenuDropDown$ && $dvt$$2$$.removeChild($dvt$$2$$.$_afMenuDropDown$);
    $dropdown$$2$$ && ($dvt$$2$$.contains($dropdown$$2$$) || $dvt$$2$$.$addChild$($dropdown$$2$$));
    $dvt$$2$$.$_afMenuDropDown$ = $dropdown$$2$$;
  };
  $dvt$$2$$.$AfMenu$.prototype.$_getMenuDropdownContainer$ = function $$dvt$$2$$$$AfMenu$$$$_getMenuDropdownContainer$$($dvt$$2$$) {
    var $container$$10$$ = this.$_afContext$.$_menuDropDownContainer$;
    $dvt$$2$$ && !$container$$10$$ && ($container$$10$$ = this.$_bgShape$);
    return $container$$10$$;
  };
  $dvt$$2$$.$AfMenu$.prototype.$CreateButton$ = function $$dvt$$2$$$$AfMenu$$$$CreateButton$$($button$$26_shape$$14$$) {
    $button$$26_shape$$14$$ = $dvt$$2$$.$AfMenu$.$superclass$.$CreateButton$.call(this, $button$$26_shape$$14$$);
    $button$$26_shape$$14$$.$setToggleEnabled$();
    return $button$$26_shape$$14$$;
  };
  $dvt$$2$$.$AfMenu$.prototype.$handleKeyboardEvent$ = function $$dvt$$2$$$$AfMenu$$$$handleKeyboardEvent$$($event$$174$$) {
    $event$$174$$.keyCode == $dvt$$2$$.KeyboardEvent.$ESCAPE$ ? this.$hideDropdown$() : $dvt$$2$$.$AfMenu$.$superclass$.$handleKeyboardEvent$.call(this, $event$$174$$);
  };
  $dvt$$2$$.$AfImage$ = function $$dvt$$2$$$$AfImage$$() {
    this.Init();
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfImage$, $dvt$$2$$.$AfComponent$, "dvt.AfImage");
  $dvt$$2$$.$AfImage$.$TAG_NAME$ = "i";
  $dvt$$2$$.$AfComponentFactory$.$registerComponent$($dvt$$2$$.$AfImage$.$TAG_NAME$, $dvt$$2$$.$AfImage$);
  $dvt$$2$$.$AfImage$.$ATTR_SOURCE$ = "source";
  $dvt$$2$$.$AfImage$.prototype.$setSrc$ = function $$dvt$$2$$$$AfImage$$$$setSrc$$($src$$6$$) {
    this.setProperty($dvt$$2$$.$AfImage$.$ATTR_SOURCE$, $src$$6$$);
    this.$getContentShape$() && this.$getContentShape$().$setSrc$($src$$6$$);
  };
  $dvt$$2$$.$AfImage$.prototype.$getSrc$ = function $$dvt$$2$$$$AfImage$$$$getSrc$$() {
    return this.$getProperty$($dvt$$2$$.$AfImage$.$ATTR_SOURCE$);
  };
  $dvt$$2$$.$AfImage$.prototype.$GetDefaultStyles$ = function $$dvt$$2$$$$AfImage$$$$GetDefaultStyles$$() {
    return $dvt$$2$$.$AfImage$.$_afStyles$;
  };
  $dvt$$2$$.$AfImage$.prototype.$SetDefaultStyles$ = function $$dvt$$2$$$$AfImage$$$$SetDefaultStyles$$($styleList$$17$$) {
    $dvt$$2$$.$AfImage$.$_afStyles$ = $styleList$$17$$;
  };
  $dvt$$2$$.$AfImage$.prototype.$createContentShape$ = function $$dvt$$2$$$$AfImage$$$$createContentShape$$($dvtContext$$14$$) {
    return new $dvt$$2$$.Image($dvtContext$$14$$, this.$getSrc$(), 0, 0, 1, 1, this.$_getUniqueId$());
  };
  $dvt$$2$$.$AfImage$.prototype.$renderSelfBeforeChildren$ = function $$dvt$$2$$$$AfImage$$$$renderSelfBeforeChildren$$() {
    $dvt$$2$$.$AfImage$.$superclass$.$renderSelfBeforeChildren$.call(this);
    if (this.$getSrc$()) {
      var $shape$$15$$ = this.$getContentShape$();
      $shape$$15$$.$setX$(this.$_cx$);
      $shape$$15$$.$setY$(this.$_cy$);
      this.$_cw$ !== Number.MAX_VALUE && $shape$$15$$.$setWidth$(this.$_cw$);
      this.$_ch$ !== Number.MAX_VALUE && $shape$$15$$.$setHeight$(this.$_ch$);
    }
  };
  $dvt$$2$$.$AfImage$.prototype.$adjustClientArea$ = function $$dvt$$2$$$$AfImage$$$$adjustClientArea$$($cssStyle$$20$$) {
    this.$getSrc$() && ($dvt$$2$$.$ImageLoader$.$loadImage$(this.$getDvtContext$(), this.$getSrc$(), this.$createCallback$(this.$onImageLoaded$)) || this.$_getExplicitHeight$($cssStyle$$20$$) && this.$_getExplicitWidth$($cssStyle$$20$$) || this.$RegisterImageCallback$(this.$getSrc$()));
    $dvt$$2$$.$AfImage$.$superclass$.$adjustClientArea$.call(this, $cssStyle$$20$$);
  };
  $dvt$$2$$.$AfImage$.prototype.$onImageLoaded$ = function $$dvt$$2$$$$AfImage$$$$onImageLoaded$$($dvt$$2$$) {
    null != $dvt$$2$$ && $dvt$$2$$.width && $dvt$$2$$.height && (this.$_ew$ = this.$getCalcWidth$($dvt$$2$$.width), this.$_eh$ = this.$getCalcHeight$($dvt$$2$$.height), this.$_aw$ = this.$_ew$, this.$_ah$ = this.$_eh$, $dvt$$2$$ = this.$getContentShape$()) && ($dvt$$2$$.$setWidth$(this.$_ew$), $dvt$$2$$.$setHeight$(this.$_eh$));
  };
  $dvt$$2$$.$AfImage$.prototype.$getTagName$ = function $$dvt$$2$$$$AfImage$$$$getTagName$$() {
    return $dvt$$2$$.$AfImage$.$TAG_NAME$;
  };
  $dvt$$2$$.$AfImage$.prototype.$registerAsTabStop$ = function $$dvt$$2$$$$AfImage$$$$registerAsTabStop$$() {
    this.$_afContext$.$registerTabStop$(this);
  };
  $dvt$$2$$.$AfMarker$ = function $$dvt$$2$$$$AfMarker$$() {
    this.Init();
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfMarker$, $dvt$$2$$.$AfComponent$, "dvt.AfMarker");
  $dvt$$2$$.$AfMarker$.$TAG_NAME$ = "mk";
  $dvt$$2$$.$AfComponentFactory$.$registerComponent$($dvt$$2$$.$AfMarker$.$TAG_NAME$, $dvt$$2$$.$AfMarker$);
  $dvt$$2$$.$AfMarker$.$MARKER_LABEL_PADDING$ = 2;
  $dvt$$2$$.$AfMarker$.$ATTR_LABEL_DISPLAY$ = "labelDisplay";
  $dvt$$2$$.$AfMarker$.$ATTR_LABEL_POSITION$ = "labelPosition";
  $dvt$$2$$.$AfMarker$.$ATTR_LABEL_STYLE$ = "labelStyle";
  $dvt$$2$$.$AfMarker$.$ATTR_VALUE$ = "value";
  $dvt$$2$$.$AfMarker$.$ATTR_SCALE_X$ = "scaleX";
  $dvt$$2$$.$AfMarker$.$ATTR_SCALE_Y$ = "scaleY";
  $dvt$$2$$.$AfMarker$.$ATTR_SHAPE$ = "shape";
  $dvt$$2$$.$AfMarker$.$ATTR_SHAPE_PATH$ = "shapePath";
  $dvt$$2$$.$AfMarker$.$ATTR_FILL_COLOR$ = "fillColor";
  $dvt$$2$$.$AfMarker$.$ATTR_FILL_PATTERN$ = "fillPattern";
  $dvt$$2$$.$AfMarker$.$ATTR_GRADIENT_EFFECT$ = "gradientEffect";
  $dvt$$2$$.$AfMarker$.$ATTR_OPACITY$ = "opacity";
  $dvt$$2$$.$AfMarker$.$ATTR_WIDTH$ = "width";
  $dvt$$2$$.$AfMarker$.$ATTR_HEIGHT$ = "height";
  $dvt$$2$$.$AfMarker$.$ATTR_X$ = "x";
  $dvt$$2$$.$AfMarker$.$ATTR_Y$ = "y";
  $dvt$$2$$.$AfMarker$.$ATTR_BORDER_STYLE$ = "borderStyle";
  $dvt$$2$$.$AfMarker$.$ATTR_BORDER_WIDTH$ = "borderWidth";
  $dvt$$2$$.$AfMarker$.$ATTR_BORDER_COLOR$ = "borderColor";
  $dvt$$2$$.$AfMarker$.$ATTR_BORDER_RADIUS$ = "borderRadius";
  $dvt$$2$$.$AfMarker$.$ATTR_SOURCE$ = "source";
  $dvt$$2$$.$AfMarker$.$ATTR_SOURCE_HOVER$ = "sourceHover";
  $dvt$$2$$.$AfMarker$.$ATTR_SOURCE_SELECTED$ = "sourceSelected";
  $dvt$$2$$.$AfMarker$.$ATTR_SOURCE_HOVER_SELECTED$ = "sourceHoverSelected";
  $dvt$$2$$.$AfMarker$.$ATTR_HAS_ACTION_LISTENER$ = "hasActionListener";
  $dvt$$2$$.$AfMarker$.$_BI_DEFAULT_MARKER_SIZE$ = 9;
  $dvt$$2$$.$AfMarker$.$CIRCLE$ = "c";
  $dvt$$2$$.$AfMarker$.$SQUARE$ = "s";
  $dvt$$2$$.$AfMarker$.$DIAMOND$ = "d";
  $dvt$$2$$.$AfMarker$.$TRIANGLE_UP$ = "tu";
  $dvt$$2$$.$AfMarker$.$TRIANGLE_DOWN$ = "td";
  $dvt$$2$$.$AfMarker$.$PLUS$ = "p";
  $dvt$$2$$.$AfMarker$.$HUMAN$ = "h";
  $dvt$$2$$.$AfMarker$.$RECTANGLE$ = "r";
  $dvt$$2$$.$AfMarker$.$ROUNDED_RECT$ = "rr";
  $dvt$$2$$.$AfMarker$.$_markerTypeMap$ = {c:$dvt$$2$$.$SimpleMarker$.$CIRCLE$, s:$dvt$$2$$.$SimpleMarker$.$SQUARE$, d:$dvt$$2$$.$SimpleMarker$.$DIAMOND$, tu:$dvt$$2$$.$SimpleMarker$.$TRIANGLE_UP$, td:$dvt$$2$$.$SimpleMarker$.$TRIANGLE_DOWN$, p:$dvt$$2$$.$SimpleMarker$.$PLUS$, h:$dvt$$2$$.$SimpleMarker$.$HUMAN$, r:$dvt$$2$$.$SimpleMarker$.$RECTANGLE$, rr:$dvt$$2$$.$SimpleMarker$.$RECTANGLE$};
  $dvt$$2$$.$AfMarker$.$_markerFillPatternMap$ = {smallDiagonalLeft:$dvt$$2$$.$PatternFill$.$SM_DIAG_UP_LT$, largeDiagonalLeft:$dvt$$2$$.$PatternFill$.$LG_DIAG_UP_LT$, smallDiagonalRight:$dvt$$2$$.$PatternFill$.$SM_DIAG_UP_RT$, largeDiagonalRight:$dvt$$2$$.$PatternFill$.$LG_DIAG_UP_RT$, smallCrosshatch:$dvt$$2$$.$PatternFill$.$SM_CROSSHATCH$, largeCrosshatch:$dvt$$2$$.$PatternFill$.$LG_CROSSHATCH$, smallChecker:$dvt$$2$$.$PatternFill$.$SM_CHECK$, largeChecker:$dvt$$2$$.$PatternFill$.$LG_CHECK$, smallTriangle:$dvt$$2$$.$PatternFill$.$SM_TRIANGLE_CHECK$, 
  largeTriangle:$dvt$$2$$.$PatternFill$.$LG_TRIANGLE_CHECK$, smallDiamond:$dvt$$2$$.$PatternFill$.$SM_DIAMOND_CHECK$, largeDiamond:$dvt$$2$$.$PatternFill$.$LG_DIAMOND_CHECK$};
  $dvt$$2$$.$AfMarker$.prototype.$getShape$ = function $$dvt$$2$$$$AfMarker$$$$getShape$$() {
    return this.$getProperty$($dvt$$2$$.$AfMarker$.$ATTR_SHAPE$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$setShape$ = function $$dvt$$2$$$$AfMarker$$$$setShape$$($shape$$17$$) {
    this.setProperty($dvt$$2$$.$AfMarker$.$ATTR_SHAPE$, $shape$$17$$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$getShapePath$ = function $$dvt$$2$$$$AfMarker$$$$getShapePath$$() {
    return this.$getProperty$($dvt$$2$$.$AfMarker$.$ATTR_SHAPE_PATH$);
  };
  $dvt$$2$$.$AfMarker$.prototype.getValue = function $$dvt$$2$$$$AfMarker$$$getValue$() {
    return this.$getProperty$($dvt$$2$$.$AfMarker$.$ATTR_VALUE$);
  };
  $dvt$$2$$.$AfMarker$.prototype.setValue = function $$dvt$$2$$$$AfMarker$$$setValue$($value$$110$$) {
    this.setProperty($dvt$$2$$.$AfMarker$.$ATTR_VALUE$, $value$$110$$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$getFillColor$ = function $$dvt$$2$$$$AfMarker$$$$getFillColor$$() {
    return this.$getProperty$($dvt$$2$$.$AfMarker$.$ATTR_FILL_COLOR$);
  };
  $dvt$$2$$.$AfMarker$.prototype.setFillColor = function $$dvt$$2$$$$AfMarker$$$setFillColor$($fillColor$$3$$) {
    this.setProperty($dvt$$2$$.$AfMarker$.$ATTR_FILL_COLOR$, $fillColor$$3$$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$getFillPattern$ = function $$dvt$$2$$$$AfMarker$$$$getFillPattern$$() {
    return this.$getProperty$($dvt$$2$$.$AfMarker$.$ATTR_FILL_PATTERN$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$getScaleX$ = function $$dvt$$2$$$$AfMarker$$$$getScaleX$$() {
    return this.$getProperty$($dvt$$2$$.$AfMarker$.$ATTR_SCALE_X$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$setScaleX$ = function $$dvt$$2$$$$AfMarker$$$$setScaleX$$($scaleX$$) {
    this.setProperty($dvt$$2$$.$AfMarker$.$ATTR_SCALE_X$, $scaleX$$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$getScaleY$ = function $$dvt$$2$$$$AfMarker$$$$getScaleY$$() {
    return this.$getProperty$($dvt$$2$$.$AfMarker$.$ATTR_SCALE_Y$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$setScaleY$ = function $$dvt$$2$$$$AfMarker$$$$setScaleY$$($scaleY$$) {
    this.setProperty($dvt$$2$$.$AfMarker$.$ATTR_SCALE_Y$, $scaleY$$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$getLabelStyle$ = function $$dvt$$2$$$$AfMarker$$$$getLabelStyle$$() {
    return this.$getProperty$($dvt$$2$$.$AfMarker$.$ATTR_LABEL_STYLE$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$setLabelStyle$ = function $$dvt$$2$$$$AfMarker$$$$setLabelStyle$$($labelStyle$$5$$) {
    this.setProperty($dvt$$2$$.$AfMarker$.$ATTR_LABEL_STYLE$, $labelStyle$$5$$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$getLabelPosition$ = function $$dvt$$2$$$$AfMarker$$$$getLabelPosition$$() {
    return this.$getProperty$($dvt$$2$$.$AfMarker$.$ATTR_LABEL_POSITION$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$setLabelPosition$ = function $$dvt$$2$$$$AfMarker$$$$setLabelPosition$$($labelPosition$$) {
    this.setProperty($dvt$$2$$.$AfMarker$.$ATTR_LABEL_POSITION$, $labelPosition$$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$getLabelDisplay$ = function $$dvt$$2$$$$AfMarker$$$$getLabelDisplay$$() {
    return this.$getProperty$($dvt$$2$$.$AfMarker$.$ATTR_LABEL_DISPLAY$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$getGradientEffect$ = function $$dvt$$2$$$$AfMarker$$$$getGradientEffect$$() {
    return this.$getProperty$($dvt$$2$$.$AfMarker$.$ATTR_GRADIENT_EFFECT$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$getOpacity$ = function $$dvt$$2$$$$AfMarker$$$$getOpacity$$() {
    return this.$getProperty$($dvt$$2$$.$AfMarker$.$ATTR_OPACITY$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$getBorderStyle$ = function $$dvt$$2$$$$AfMarker$$$$getBorderStyle$$() {
    return this.$getProperty$($dvt$$2$$.$AfMarker$.$ATTR_BORDER_STYLE$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$getBorderWidth$ = function $$dvt$$2$$$$AfMarker$$$$getBorderWidth$$() {
    return this.$getFloatProp$($dvt$$2$$.$AfMarker$.$ATTR_BORDER_WIDTH$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$setBorderWidth$ = function $$dvt$$2$$$$AfMarker$$$$setBorderWidth$$($borderWidth$$) {
    this.setProperty($dvt$$2$$.$AfMarker$.$ATTR_BORDER_WIDTH$, $borderWidth$$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$getBorderColor$ = function $$dvt$$2$$$$AfMarker$$$$getBorderColor$$() {
    return this.$getProperty$($dvt$$2$$.$AfMarker$.$ATTR_BORDER_COLOR$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$getBorderRadius$ = function $$dvt$$2$$$$AfMarker$$$$getBorderRadius$$() {
    return this.$getProperty$($dvt$$2$$.$AfMarker$.$ATTR_BORDER_RADIUS$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$setBorderRadius$ = function $$dvt$$2$$$$AfMarker$$$$setBorderRadius$$($borderRadius$$3$$) {
    this.setProperty($dvt$$2$$.$AfMarker$.$ATTR_BORDER_RADIUS$, $borderRadius$$3$$);
  };
  $dvt$$2$$.$AfMarker$.prototype.getWidth = function $$dvt$$2$$$$AfMarker$$$getWidth$() {
    return this.$getFloatProp$($dvt$$2$$.$AfMarker$.$ATTR_WIDTH$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$setWidth$ = function $$dvt$$2$$$$AfMarker$$$$setWidth$$($width$$28$$) {
    this.setProperty($dvt$$2$$.$AfMarker$.$ATTR_WIDTH$, $width$$28$$);
  };
  $dvt$$2$$.$AfMarker$.prototype.getHeight = function $$dvt$$2$$$$AfMarker$$$getHeight$() {
    return this.$getFloatProp$($dvt$$2$$.$AfMarker$.$ATTR_HEIGHT$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$setHeight$ = function $$dvt$$2$$$$AfMarker$$$$setHeight$$($height$$22$$) {
    this.setProperty($dvt$$2$$.$AfMarker$.$ATTR_HEIGHT$, $height$$22$$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$getSource$ = function $$dvt$$2$$$$AfMarker$$$$getSource$$() {
    return this.$getProperty$($dvt$$2$$.$AfMarker$.$ATTR_SOURCE$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$getSourceHover$ = function $$dvt$$2$$$$AfMarker$$$$getSourceHover$$() {
    return this.$getProperty$($dvt$$2$$.$AfMarker$.$ATTR_SOURCE_HOVER$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$getSourceSelected$ = function $$dvt$$2$$$$AfMarker$$$$getSourceSelected$$() {
    return this.$getProperty$($dvt$$2$$.$AfMarker$.$ATTR_SOURCE_SELECTED$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$getSourceHoverSelected$ = function $$dvt$$2$$$$AfMarker$$$$getSourceHoverSelected$$() {
    return this.$getProperty$($dvt$$2$$.$AfMarker$.$ATTR_SOURCE_HOVER_SELECTED$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$getX$ = function $$dvt$$2$$$$AfMarker$$$$getX$$() {
    return this.$getFloatProp$($dvt$$2$$.$AfMarker$.$ATTR_X$, 0);
  };
  $dvt$$2$$.$AfMarker$.prototype.$getY$ = function $$dvt$$2$$$$AfMarker$$$$getY$$() {
    return this.$getFloatProp$($dvt$$2$$.$AfMarker$.$ATTR_Y$, 0);
  };
  $dvt$$2$$.$AfMarker$.prototype.$createDisplayObj$ = function $$dvt$$2$$$$AfMarker$$$$createDisplayObj$$($afContext$$47_cssStyle$$21$$) {
    if (!this.$renderMe$()) {
      return null;
    }
    this.$_parentNode$ = $afContext$$47_cssStyle$$21$$.$getParentNode$();
    this.$setAfContext$($afContext$$47_cssStyle$$21$$);
    var $dvtContext$$15_group$$4$$ = this.$getDvtContext$();
    this.$registerAsTabStop$();
    this.$SaveContextCallback$();
    var $id$$68$$ = this.$_getUniqueId$(), $marker_ww$$37$$ = this.getWidth(), $bAction_fc_hh$$33$$ = this.getHeight(), $bvis_bw_lstyle_stroke$$19_x$$81$$ = 0, $bs$$1_label$$17_value$$111_y$$63$$ = 0;
    $marker_ww$$37$$ && !$bAction_fc_hh$$33$$ ? $bAction_fc_hh$$33$$ = $marker_ww$$37$$ : !$marker_ww$$37$$ && $bAction_fc_hh$$33$$ ? $marker_ww$$37$$ = $bAction_fc_hh$$33$$ : $marker_ww$$37$$ || $bAction_fc_hh$$33$$ || ($bAction_fc_hh$$33$$ = $marker_ww$$37$$ = $dvt$$2$$.$AfMarker$.$_BI_DEFAULT_MARKER_SIZE$);
    var $bc_hasBorder_imgSrc$$1_mshape_scaleX$$1$$ = this.$getScaleX$(), $cbs$$1_ge_scaleY$$1_shapeSrc_spbs$$2_type$$118$$ = this.$getScaleY$(), $marker_ww$$37$$ = $bc_hasBorder_imgSrc$$1_mshape_scaleX$$1$$ ? $bc_hasBorder_imgSrc$$1_mshape_scaleX$$1$$ * $marker_ww$$37$$ : $marker_ww$$37$$, $bAction_fc_hh$$33$$ = $cbs$$1_ge_scaleY$$1_shapeSrc_spbs$$2_type$$118$$ ? $cbs$$1_ge_scaleY$$1_shapeSrc_spbs$$2_type$$118$$ * $bAction_fc_hh$$33$$ : $bAction_fc_hh$$33$$, $br_fa_i$$188$$, $bc_hasBorder_imgSrc$$1_mshape_scaleX$$1$$ = 
    this.$getSource$(), $cbs$$1_ge_scaleY$$1_shapeSrc_spbs$$2_type$$118$$ = this.$getShapePath$();
    $bc_hasBorder_imgSrc$$1_mshape_scaleX$$1$$ ? ($cbs$$1_ge_scaleY$$1_shapeSrc_spbs$$2_type$$118$$ = [$bc_hasBorder_imgSrc$$1_mshape_scaleX$$1$$, this.$getSourceSelected$(), this.$getSourceHover$(), this.$getSourceHoverSelected$()], $br_fa_i$$188$$ = this.$getBorderRadius$()) : $cbs$$1_ge_scaleY$$1_shapeSrc_spbs$$2_type$$118$$ ? ($bvis_bw_lstyle_stroke$$19_x$$81$$ = this.$getX$(), $bs$$1_label$$17_value$$111_y$$63$$ = this.$getY$()) : ($bc_hasBorder_imgSrc$$1_mshape_scaleX$$1$$ = this.$getShape$(), 
    $bc_hasBorder_imgSrc$$1_mshape_scaleX$$1$$ || ($bc_hasBorder_imgSrc$$1_mshape_scaleX$$1$$ = $dvt$$2$$.$AfMarker$.$CIRCLE$), $br_fa_i$$188$$ = this.$getBorderRadius$(), $br_fa_i$$188$$ || $bc_hasBorder_imgSrc$$1_mshape_scaleX$$1$$ != $dvt$$2$$.$AfMarker$.$ROUNDED_RECT$ || ($br_fa_i$$188$$ = $dvt$$2$$.$SimpleMarker$.$DEFAULT_BORDER_RADIUS$), $cbs$$1_ge_scaleY$$1_shapeSrc_spbs$$2_type$$118$$ = $dvt$$2$$.$AfMarker$.$_markerTypeMap$[$bc_hasBorder_imgSrc$$1_mshape_scaleX$$1$$]);
    var $cx$$3_fp$$ = $bvis_bw_lstyle_stroke$$19_x$$81$$ + .5 * $marker_ww$$37$$, $cy$$3$$ = $bs$$1_label$$17_value$$111_y$$63$$ + .5 * $bAction_fc_hh$$33$$, $bs$$1_label$$17_value$$111_y$$63$$ = this.$getBorderStyle$(), $bc_hasBorder_imgSrc$$1_mshape_scaleX$$1$$ = !this.$getShapePath$() && $bs$$1_label$$17_value$$111_y$$63$$ && "none" != $bs$$1_label$$17_value$$111_y$$63$$, $bvis_bw_lstyle_stroke$$19_x$$81$$ = this.$getBorderWidth$();
    $bc_hasBorder_imgSrc$$1_mshape_scaleX$$1$$ && ($bvis_bw_lstyle_stroke$$19_x$$81$$ = $bvis_bw_lstyle_stroke$$19_x$$81$$ ? $bvis_bw_lstyle_stroke$$19_x$$81$$ : 1, $marker_ww$$37$$ -= $bvis_bw_lstyle_stroke$$19_x$$81$$, $bAction_fc_hh$$33$$ -= $bvis_bw_lstyle_stroke$$19_x$$81$$);
    $cbs$$1_ge_scaleY$$1_shapeSrc_spbs$$2_type$$118$$ instanceof Array ? ($marker_ww$$37$$ = new $dvt$$2$$.$ImageMarker$($dvtContext$$15_group$$4$$, $cx$$3_fp$$, $cy$$3$$, $marker_ww$$37$$, $bAction_fc_hh$$33$$, $br_fa_i$$188$$, $cbs$$1_ge_scaleY$$1_shapeSrc_spbs$$2_type$$118$$[0], $cbs$$1_ge_scaleY$$1_shapeSrc_spbs$$2_type$$118$$[1], $cbs$$1_ge_scaleY$$1_shapeSrc_spbs$$2_type$$118$$[2], $cbs$$1_ge_scaleY$$1_shapeSrc_spbs$$2_type$$118$$[3]), $marker_ww$$37$$.$setPreserveAspectRatio$("none")) : $marker_ww$$37$$ = 
    new $dvt$$2$$.$SimpleMarker$($dvtContext$$15_group$$4$$, $cbs$$1_ge_scaleY$$1_shapeSrc_spbs$$2_type$$118$$, $afContext$$47_cssStyle$$21$$.$_skinName$, $cx$$3_fp$$, $cy$$3$$, $marker_ww$$37$$, $bAction_fc_hh$$33$$, $br_fa_i$$188$$, !1);
    $bAction_fc_hh$$33$$ = this.$getProperty$($dvt$$2$$.$AfMarker$.$ATTR_HAS_ACTION_LISTENER$);
    if (!$bAction_fc_hh$$33$$) {
      $cbs$$1_ge_scaleY$$1_shapeSrc_spbs$$2_type$$118$$ = this.$getShowPopupBehaviors$();
      if ($dvt$$2$$.$ArrayUtils$.isArray($cbs$$1_ge_scaleY$$1_shapeSrc_spbs$$2_type$$118$$)) {
        for ($br_fa_i$$188$$ = 0;$br_fa_i$$188$$ < $cbs$$1_ge_scaleY$$1_shapeSrc_spbs$$2_type$$118$$.length;$br_fa_i$$188$$++) {
          if ($cbs$$1_ge_scaleY$$1_shapeSrc_spbs$$2_type$$118$$[$br_fa_i$$188$$] && "click" == $cbs$$1_ge_scaleY$$1_shapeSrc_spbs$$2_type$$118$$[$br_fa_i$$188$$].$getTriggerType$()) {
            $bAction_fc_hh$$33$$ = !0;
            break;
          }
        }
      }
      if (!$bAction_fc_hh$$33$$ && ($cbs$$1_ge_scaleY$$1_shapeSrc_spbs$$2_type$$118$$ = this.$getClientBehaviors$(), $dvt$$2$$.$ArrayUtils$.isArray($cbs$$1_ge_scaleY$$1_shapeSrc_spbs$$2_type$$118$$))) {
        for ($br_fa_i$$188$$ = 0;$br_fa_i$$188$$ < $cbs$$1_ge_scaleY$$1_shapeSrc_spbs$$2_type$$118$$.length;$br_fa_i$$188$$++) {
          if ($cbs$$1_ge_scaleY$$1_shapeSrc_spbs$$2_type$$118$$[$br_fa_i$$188$$] && "click" == $cbs$$1_ge_scaleY$$1_shapeSrc_spbs$$2_type$$118$$[$br_fa_i$$188$$].$getTriggerType$()) {
            $bAction_fc_hh$$33$$ = !0;
            break;
          }
        }
      }
    }
    $marker_ww$$37$$.setCursor($bAction_fc_hh$$33$$ ? "pointer" : null);
    $marker_ww$$37$$.$_prop$ = this.$_prop$;
    $bAction_fc_hh$$33$$ = this.$getFillColor$();
    $br_fa_i$$188$$ = this.$getOpacity$();
    $cbs$$1_ge_scaleY$$1_shapeSrc_spbs$$2_type$$118$$ = this.$getGradientEffect$();
    ($cx$$3_fp$$ = this.$getFillPattern$()) && ($cx$$3_fp$$ = $dvt$$2$$.$AfMarker$.$_markerFillPatternMap$[$cx$$3_fp$$]);
    $cx$$3_fp$$ ? $marker_ww$$37$$.$setFill$(new $dvt$$2$$.$PatternFill$($cx$$3_fp$$, $bAction_fc_hh$$33$$)) : "auto" == $cbs$$1_ge_scaleY$$1_shapeSrc_spbs$$2_type$$118$$ ? $marker_ww$$37$$.$setFill$($dvt$$2$$.$MarkerGradient$.$createMarkerGradient$($bAction_fc_hh$$33$$ ? $bAction_fc_hh$$33$$ : "#000000", $marker_ww$$37$$, $br_fa_i$$188$$ ? $br_fa_i$$188$$ : 1)) : ($bAction_fc_hh$$33$$ || $br_fa_i$$188$$) && $marker_ww$$37$$.$setSolidFill$($bAction_fc_hh$$33$$, $br_fa_i$$188$$);
    $bc_hasBorder_imgSrc$$1_mshape_scaleX$$1$$ && ($bc_hasBorder_imgSrc$$1_mshape_scaleX$$1$$ = this.$getBorderColor$(), $bvis_bw_lstyle_stroke$$19_x$$81$$ = new $dvt$$2$$.$SolidStroke$($bc_hasBorder_imgSrc$$1_mshape_scaleX$$1$$ ? $bc_hasBorder_imgSrc$$1_mshape_scaleX$$1$$ : "#000000", 1, $bvis_bw_lstyle_stroke$$19_x$$81$$), $bvis_bw_lstyle_stroke$$19_x$$81$$.$setType$($dvt$$2$$.$Stroke$.$convertTypeString$($bs$$1_label$$17_value$$111_y$$63$$)), $marker_ww$$37$$.$setStroke$($bvis_bw_lstyle_stroke$$19_x$$81$$));
    this.$_marker$ = $marker_ww$$37$$;
    $bs$$1_label$$17_value$$111_y$$63$$ = this.getValue();
    $bvis_bw_lstyle_stroke$$19_x$$81$$ = this.$getLabelDisplay$() && "off" === this.$getLabelDisplay$() ? !1 : !0;
    $bs$$1_label$$17_value$$111_y$$63$$ && $bvis_bw_lstyle_stroke$$19_x$$81$$ ? ($bs$$1_label$$17_value$$111_y$$63$$ = new $dvt$$2$$.$OutputText$($dvtContext$$15_group$$4$$, $bs$$1_label$$17_value$$111_y$$63$$, 0, 0, $id$$68$$ + "_lb"), $bvis_bw_lstyle_stroke$$19_x$$81$$ = this.$getLabelStyle$(), ($afContext$$47_cssStyle$$21$$ = $dvt$$2$$.$AfComponentFactory$.$CACHE_STYLES$ ? $afContext$$47_cssStyle$$21$$.$GetCSSStyle$(this.$getTagName$(), "", $bvis_bw_lstyle_stroke$$19_x$$81$$, !0) : $bvis_bw_lstyle_stroke$$19_x$$81$$ ? 
    this.$createTextStyles$(new $dvt$$2$$.$CSSStyle$($bvis_bw_lstyle_stroke$$19_x$$81$$), $dvt$$2$$.$AfStyleUtils$.$getDefaultTextStyle$()) : $dvt$$2$$.$AfStyleUtils$.$getDefaultTextStyle$()) && $bs$$1_label$$17_value$$111_y$$63$$.$setCSSStyle$($afContext$$47_cssStyle$$21$$), this.$_label$ = $bs$$1_label$$17_value$$111_y$$63$$, $dvtContext$$15_group$$4$$ = new $dvt$$2$$.$Container$($dvtContext$$15_group$$4$$, $id$$68$$), "top" === this.$getLabelPosition$() ? ($dvtContext$$15_group$$4$$.$addChild$($bs$$1_label$$17_value$$111_y$$63$$), 
    $dvtContext$$15_group$$4$$.$addChild$($marker_ww$$37$$)) : ($dvtContext$$15_group$$4$$.$addChild$($marker_ww$$37$$), $dvtContext$$15_group$$4$$.$addChild$($bs$$1_label$$17_value$$111_y$$63$$)), this.$_bgShape$ = $dvtContext$$15_group$$4$$) : this.$_bgShape$ = $marker_ww$$37$$;
    this.$_bgShape$.$_afComp$ = this;
    return this.$_bgShape$;
  };
  $dvt$$2$$.$AfMarker$.prototype.$setTranslateX$ = function $$dvt$$2$$$$AfMarker$$$$setTranslateX$$($dvt$$2$$) {
    this.$_bgShape$.$setTranslateX$($dvt$$2$$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$setTranslateY$ = function $$dvt$$2$$$$AfMarker$$$$setTranslateY$$($dvt$$2$$) {
    this.$_bgShape$.$setTranslateY$($dvt$$2$$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$render$ = function $$dvt$$2$$$$AfMarker$$$$render$$($afContext$$48$$) {
    if (this.$renderMe$()) {
      var $JSCompiler_object_inline_x_0_shape$$18$$ = this.$_bgShape$;
      (this.$getShortDesc$() || this.$getProperty$($dvt$$2$$.$AfMarker$.$ATTR_HAS_ACTION_LISTENER$) || this.$getShowPopupBehaviors$() || this.$getClientBehaviors$()) && this.$associate$($JSCompiler_object_inline_x_0_shape$$18$$, this);
      var $afMarkerWidth_marker$$1$$ = this.$_marker$, $afMarkerHeight_label$$18$$ = this.$_label$, $JSCompiler_object_inline_h_3_dims$$29$$ = $afMarkerWidth_marker$$1$$.$getDimensionsWithStroke$(), $JSCompiler_object_inline_x_0_shape$$18$$ = this.$getX$(), $JSCompiler_object_inline_y_1$$ = this.$getY$(), $JSCompiler_object_inline_w_2$$ = $JSCompiler_object_inline_h_3_dims$$29$$.$w$, $JSCompiler_object_inline_h_3_dims$$29$$ = $JSCompiler_object_inline_h_3_dims$$29$$.$h$;
      if ($afMarkerHeight_label$$18$$) {
        if (0 === $JSCompiler_object_inline_w_2$$ && 0 === $JSCompiler_object_inline_h_3_dims$$29$$) {
          this.$_setBounds$($afContext$$48$$, $JSCompiler_object_inline_x_0_shape$$18$$, $JSCompiler_object_inline_y_1$$, 0, 0);
        } else {
          var $labelDim$$1$$ = $afMarkerHeight_label$$18$$.$getDimensions$();
          switch(this.$getLabelPosition$()) {
            case "top":
              $JSCompiler_object_inline_w_2$$ > $labelDim$$1$$.$w$ ? ($afMarkerHeight_label$$18$$.$setX$($JSCompiler_object_inline_w_2$$ / 2), $afMarkerHeight_label$$18$$.$alignCenter$()) : $afMarkerWidth_marker$$1$$.$setCx$($labelDim$$1$$.$w$ / 2);
              $afMarkerWidth_marker$$1$$.$setCy$($labelDim$$1$$.$h$ + $dvt$$2$$.$AfMarker$.$MARKER_LABEL_PADDING$ + $JSCompiler_object_inline_h_3_dims$$29$$ / 2);
              $afMarkerWidth_marker$$1$$ = Math.max($JSCompiler_object_inline_w_2$$, $labelDim$$1$$.$w$);
              $afMarkerHeight_label$$18$$ = $labelDim$$1$$.$h$ + $dvt$$2$$.$AfMarker$.$MARKER_LABEL_PADDING$ + $JSCompiler_object_inline_h_3_dims$$29$$;
              break;
            case "bottom":
              $JSCompiler_object_inline_w_2$$ > $labelDim$$1$$.$w$ ? ($afMarkerHeight_label$$18$$.$setX$($JSCompiler_object_inline_w_2$$ / 2), $afMarkerHeight_label$$18$$.$alignCenter$()) : $afMarkerWidth_marker$$1$$.$setCx$($labelDim$$1$$.$w$ / 2);
              $afMarkerHeight_label$$18$$.$setY$($JSCompiler_object_inline_h_3_dims$$29$$ + $dvt$$2$$.$AfMarker$.$MARKER_LABEL_PADDING$);
              $afMarkerWidth_marker$$1$$ = Math.max($JSCompiler_object_inline_w_2$$, $labelDim$$1$$.$w$);
              $afMarkerHeight_label$$18$$ = $JSCompiler_object_inline_h_3_dims$$29$$ + $dvt$$2$$.$AfMarker$.$MARKER_LABEL_PADDING$ + $labelDim$$1$$.$h$;
              break;
            case "left":
              $JSCompiler_object_inline_h_3_dims$$29$$ > $labelDim$$1$$.$h$ ? ($afMarkerHeight_label$$18$$.$setY$($JSCompiler_object_inline_h_3_dims$$29$$ / 2), $afMarkerHeight_label$$18$$.$alignMiddle$()) : $afMarkerWidth_marker$$1$$.$setCy$($labelDim$$1$$.$h$ / 2);
              $afMarkerWidth_marker$$1$$.$setCx$($labelDim$$1$$.$w$ + $dvt$$2$$.$AfMarker$.$MARKER_LABEL_PADDING$ + $JSCompiler_object_inline_w_2$$ / 2);
              $afMarkerWidth_marker$$1$$ = $labelDim$$1$$.$w$ + $dvt$$2$$.$AfMarker$.$MARKER_LABEL_PADDING$ + $JSCompiler_object_inline_w_2$$;
              $afMarkerHeight_label$$18$$ = Math.max($JSCompiler_object_inline_h_3_dims$$29$$, $labelDim$$1$$.$h$);
              break;
            case "right":
              $JSCompiler_object_inline_h_3_dims$$29$$ > $labelDim$$1$$.$h$ ? ($afMarkerHeight_label$$18$$.$setY$($JSCompiler_object_inline_h_3_dims$$29$$ / 2), $afMarkerHeight_label$$18$$.$alignMiddle$()) : $afMarkerWidth_marker$$1$$.$setCy$($labelDim$$1$$.$h$ / 2);
              $afMarkerHeight_label$$18$$.$setX$($JSCompiler_object_inline_w_2$$ + $dvt$$2$$.$AfMarker$.$MARKER_LABEL_PADDING$);
              $afMarkerWidth_marker$$1$$ = $JSCompiler_object_inline_w_2$$ + $dvt$$2$$.$AfMarker$.$MARKER_LABEL_PADDING$ + $labelDim$$1$$.$w$;
              $afMarkerHeight_label$$18$$ = Math.max($JSCompiler_object_inline_h_3_dims$$29$$, $labelDim$$1$$.$h$);
              break;
            default:
              $JSCompiler_object_inline_w_2$$ > $labelDim$$1$$.$w$ ? ($afMarkerHeight_label$$18$$.$setX$($JSCompiler_object_inline_w_2$$ / 2), $afMarkerHeight_label$$18$$.$alignCenter$()) : $afMarkerWidth_marker$$1$$.$setCx$($labelDim$$1$$.$w$ / 2), $JSCompiler_object_inline_h_3_dims$$29$$ > $labelDim$$1$$.$h$ ? ($afMarkerHeight_label$$18$$.$setY$($JSCompiler_object_inline_h_3_dims$$29$$ / 2), $afMarkerHeight_label$$18$$.$alignMiddle$()) : $afMarkerWidth_marker$$1$$.$setCy$($labelDim$$1$$.$h$ / 2), 
              $afMarkerWidth_marker$$1$$ = Math.max($JSCompiler_object_inline_w_2$$, $labelDim$$1$$.$w$), $afMarkerHeight_label$$18$$ = Math.max($JSCompiler_object_inline_h_3_dims$$29$$, $labelDim$$1$$.$h$);
          }
          this.$_setBounds$($afContext$$48$$, $JSCompiler_object_inline_x_0_shape$$18$$, $JSCompiler_object_inline_y_1$$, $afMarkerWidth_marker$$1$$, $afMarkerHeight_label$$18$$);
        }
      } else {
        this.$_setBounds$($afContext$$48$$, $JSCompiler_object_inline_x_0_shape$$18$$, $JSCompiler_object_inline_y_1$$, $JSCompiler_object_inline_w_2$$, $JSCompiler_object_inline_h_3_dims$$29$$);
      }
    }
  };
  $dvt$$2$$.$AfMarker$.prototype.$getTagName$ = function $$dvt$$2$$$$AfMarker$$$$getTagName$$() {
    return $dvt$$2$$.$AfMarker$.$TAG_NAME$;
  };
  $dvt$$2$$.$AfMarker$.prototype.$GetDefaultStyles$ = function $$dvt$$2$$$$AfMarker$$$$GetDefaultStyles$$() {
    return $dvt$$2$$.$AfMarker$.$_afStyles$;
  };
  $dvt$$2$$.$AfMarker$.prototype.$SetDefaultStyles$ = function $$dvt$$2$$$$AfMarker$$$$SetDefaultStyles$$($styleList$$18$$) {
    $dvt$$2$$.$AfMarker$.$_afStyles$ = $styleList$$18$$;
  };
  $dvt$$2$$.$AfMarker$.prototype.$_render$ = function $$dvt$$2$$$$AfMarker$$$$_render$$($availWidth$$5$$, $availHeight$$5$$) {
    if (this.$renderMe$()) {
      var $shape$$19$$ = this.$_bgShape$;
      (this.$getShortDesc$() || this.$getProperty$($dvt$$2$$.$AfMarker$.$ATTR_HAS_ACTION_LISTENER$) || this.$getShowPopupBehaviors$() || this.$getClientBehaviors$()) && this.$associate$($shape$$19$$, this);
      $dvt$$2$$.$AfComponent$.$_renderComp$(this.$_afContext$, this, $availWidth$$5$$, $availHeight$$5$$);
    }
  };
  $dvt$$2$$.$AfMarker$.prototype.$renderSelfBeforeChildren$ = function $$dvt$$2$$$$AfMarker$$$$renderSelfBeforeChildren$$() {
  };
  $dvt$$2$$.$AfMarker$.prototype.$_setBounds$ = function $$dvt$$2$$$$AfMarker$$$$_setBounds$$($afContext$$49$$, $xx$$12$$, $yy$$13$$, $ww$$38$$, $hh$$34$$) {
    this.$_dim$ = new $dvt$$2$$.$Rectangle$($xx$$12$$, $yy$$13$$, $ww$$38$$, $hh$$34$$);
    this.$_addClipPathIfNeeded$($afContext$$49$$, $afContext$$49$$.$getAvailableWidth$(), this.$_dim$.$w$, $afContext$$49$$.$_ah$, this.$_dim$.$h$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$isCommandComponent$ = function $$dvt$$2$$$$AfMarker$$$$isCommandComponent$$() {
    return !0;
  };
  $dvt$$2$$.$AfMarker$.prototype.$isClickEventPropagationStopped$ = function $$dvt$$2$$$$AfMarker$$$$isClickEventPropagationStopped$$() {
    return this.$getProperty$($dvt$$2$$.$AfMarker$.$ATTR_HAS_ACTION_LISTENER$);
  };
  $dvt$$2$$.$AfMarker$.prototype.$registerAsTabStop$ = function $$dvt$$2$$$$AfMarker$$$$registerAsTabStop$$() {
    this.$_afContext$.$registerTabStop$(this);
  };
  $dvt$$2$$.$AfMarker$.prototype.$GetClipPathDimensions$ = function $$dvt$$2$$$$AfMarker$$$$GetClipPathDimensions$$() {
    var $afContext$$50$$ = this.$_afContext$;
    return new $dvt$$2$$.$Rectangle$(0, 0, Math.min($afContext$$50$$.$getAvailableWidth$(), this.$_dim$.$w$), Math.min($afContext$$50$$.$_ah$, this.$_dim$.$h$));
  };
  $dvt$$2$$.$AfMarker$.$convertShapeString$ = function $$dvt$$2$$$$AfMarker$$$convertShapeString$$($shape$$20$$) {
    return $dvt$$2$$.$AfMarker$.$_markerTypeMap$[$shape$$20$$];
  };
  $dvt$$2$$.$AfOutputText$ = function $$dvt$$2$$$$AfOutputText$$() {
    this.Init();
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfOutputText$, $dvt$$2$$.$AfComponent$, "dvt.AfOutputText");
  $dvt$$2$$.$AfOutputText$.$TAG_NAME$ = "ot";
  $dvt$$2$$.$AfComponentFactory$.$registerComponent$($dvt$$2$$.$AfOutputText$.$TAG_NAME$, $dvt$$2$$.$AfOutputText$);
  $dvt$$2$$.$AfOutputText$.$ATTR_VALUE$ = "value";
  $dvt$$2$$.$AfOutputText$.$ATTR_NO_WRAP$ = "noWrap";
  $dvt$$2$$.$AfOutputText$.$ATTR_TRUNCATE_AT$ = "truncateAt";
  $dvt$$2$$.$AfOutputText$.prototype.$setNoWrap$ = function $$dvt$$2$$$$AfOutputText$$$$setNoWrap$$($noWrap$$1$$) {
    this.setProperty($dvt$$2$$.$AfOutputText$.$ATTR_NO_WRAP$, $noWrap$$1$$);
  };
  $dvt$$2$$.$AfOutputText$.prototype.$isNoWrap$ = function $$dvt$$2$$$$AfOutputText$$$$isNoWrap$$() {
    return this.$getBooleanProp$($dvt$$2$$.$AfOutputText$.$ATTR_NO_WRAP$, !1);
  };
  $dvt$$2$$.$AfOutputText$.prototype.$getTruncateAt$ = function $$dvt$$2$$$$AfOutputText$$$$getTruncateAt$$() {
    return this.$getIntegerProp$($dvt$$2$$.$AfOutputText$.$ATTR_TRUNCATE_AT$, 0);
  };
  $dvt$$2$$.$AfOutputText$.prototype.setValue = function $$dvt$$2$$$$AfOutputText$$$setValue$($value$$112$$) {
    this.setProperty($dvt$$2$$.$AfOutputText$.$ATTR_VALUE$, $value$$112$$);
    this.$getContentShape$() && this.$getContentShape$().$setTextString$($value$$112$$);
  };
  $dvt$$2$$.$AfOutputText$.prototype.getValue = function $$dvt$$2$$$$AfOutputText$$$getValue$() {
    return this.$getProperty$($dvt$$2$$.$AfOutputText$.$ATTR_VALUE$);
  };
  $dvt$$2$$.$AfOutputText$.prototype.$GetDefaultStyles$ = function $$dvt$$2$$$$AfOutputText$$$$GetDefaultStyles$$() {
    return $dvt$$2$$.$AfOutputText$.$_afStyles$;
  };
  $dvt$$2$$.$AfOutputText$.prototype.$SetDefaultStyles$ = function $$dvt$$2$$$$AfOutputText$$$$SetDefaultStyles$$($styleList$$19$$) {
    $dvt$$2$$.$AfOutputText$.$_afStyles$ = $styleList$$19$$;
  };
  $dvt$$2$$.$AfOutputText$.prototype.$createContentShape$ = function $$dvt$$2$$$$AfOutputText$$$$createContentShape$$() {
    return this.$createTextShape$(!this.$isNoWrap$(), this.getValue(), null);
  };
  $dvt$$2$$.$AfOutputText$.prototype.$renderSelfBeforeChildren$ = function $$dvt$$2$$$$AfOutputText$$$$renderSelfBeforeChildren$$() {
    $dvt$$2$$.$AfOutputText$.$superclass$.$renderSelfBeforeChildren$.call(this);
    var $dim$$30_untruncatedTextString$$ = this.getValue();
    if ($dim$$30_untruncatedTextString$$) {
      var $shape$$21$$ = this.$getContentShape$(), $maxChars$$ = this.$_getMaximumCharacters$(), $isTruncated$$1$$ = !1;
      $maxChars$$ && $dim$$30_untruncatedTextString$$.length > $maxChars$$ && ($isTruncated$$1$$ = !0, $shape$$21$$.$setTextString$($dim$$30_untruncatedTextString$$.substring(0, $maxChars$$ - 3) + $dvt$$2$$.$OutputText$.$ELLIPSIS$));
      if ($dvt$$2$$.$TextUtils$.$fitText$($shape$$21$$, this.$_cw$, this.$_ch$, $shape$$21$$.getParent())) {
        $isTruncated$$1$$ = $isTruncated$$1$$ || $shape$$21$$.$isTruncated$();
        $dim$$30_untruncatedTextString$$ = $shape$$21$$.$getDimensions$();
        switch(this.$_getTextAlignment$()) {
          case "left":
            $shape$$21$$.$setX$(this.$_cx$);
            $shape$$21$$.$alignLeft$();
            break;
          case "center":
            $shape$$21$$.$setX$(this.$_cx$ + $dim$$30_untruncatedTextString$$.$w$ / 2);
            $shape$$21$$.$alignCenter$();
            break;
          case "right":
            $shape$$21$$.$setX$(this.$_cx$ + $dim$$30_untruncatedTextString$$.$w$), $shape$$21$$.$alignRight$();
        }
        $shape$$21$$.$setY$(this.$_cy$);
        $isTruncated$$1$$ || this.$_addClipPathIfNeeded$(this.$_afContext$, this.$_aw$, $dim$$30_untruncatedTextString$$.$w$, this.$_ah$, $dim$$30_untruncatedTextString$$.$h$, $shape$$21$$);
        this.$_cw$ = this.$getCalcWidth$($dim$$30_untruncatedTextString$$.$w$);
        this.$_ch$ = this.$getCalcHeight$($dim$$30_untruncatedTextString$$.$h$);
        $isTruncated$$1$$ && this.$associate$($shape$$21$$, this);
      }
    } else {
      this.$_ch$ = this.$_cw$ = 0;
    }
  };
  $dvt$$2$$.$AfOutputText$.prototype.$_getTextAlignment$ = function $$dvt$$2$$$$AfOutputText$$$$_getTextAlignment$$() {
    var $textAlign$$ = this.$getCSSStyle$().$getStyle$("text-align"), $rtl$$1$$ = $dvt$$2$$.$Agent$.$isRightToLeft$(this.$getDvtContext$());
    switch($textAlign$$) {
      case "center":
      ;
      case "right":
      ;
      case "left":
        break;
      case "end":
        $textAlign$$ = $rtl$$1$$ ? "left" : "right";
        break;
      default:
        $textAlign$$ = $rtl$$1$$ ? "right" : "left";
    }
    return $textAlign$$;
  };
  $dvt$$2$$.$AfOutputText$.prototype.$getTooltip$ = function $$dvt$$2$$$$AfOutputText$$$$getTooltip$$() {
    var $tt$$1$$ = $dvt$$2$$.$AfOutputText$.$superclass$.$getTooltip$.call(this);
    if (!$tt$$1$$) {
      var $shape$$22$$ = this.$getContentShape$();
      if ($shape$$22$$ && ($shape$$22$$.$isTruncated$() || this.$_isTruncationForced$())) {
        return this.getValue();
      }
    }
    return $tt$$1$$;
  };
  $dvt$$2$$.$AfOutputText$.prototype.$_getMaximumCharacters$ = function $$dvt$$2$$$$AfOutputText$$$$_getMaximumCharacters$$() {
    var $dvt$$2$$ = this.getValue(), $truncateAt$$3$$ = this.$getTruncateAt$();
    return $dvt$$2$$ && $truncateAt$$3$$ ? Math.max(15, $truncateAt$$3$$) : 0;
  };
  $dvt$$2$$.$AfOutputText$.prototype.$_isTruncationForced$ = function $$dvt$$2$$$$AfOutputText$$$$_isTruncationForced$$() {
    var $dvt$$2$$ = this.$_getMaximumCharacters$();
    if ($dvt$$2$$) {
      var $untruncatedTextString$$2$$ = this.getValue();
      if ($untruncatedTextString$$2$$) {
        return $untruncatedTextString$$2$$.length > $dvt$$2$$;
      }
    }
    return !1;
  };
  $dvt$$2$$.$AfOutputText$.prototype.$getTagName$ = function $$dvt$$2$$$$AfOutputText$$$$getTagName$$() {
    return $dvt$$2$$.$AfOutputText$.$TAG_NAME$;
  };
  $dvt$$2$$.$AfOutputText$.prototype.$registerAsTabStop$ = function $$dvt$$2$$$$AfOutputText$$$$registerAsTabStop$$() {
    this.$_afContext$.$registerTabStop$(this);
  };
  $dvt$$2$$.$AfOutputText$.prototype.$getAriaLabel$ = function $$dvt$$2$$$$AfOutputText$$$$getAriaLabel$$() {
    var $dvt$$2$$ = this.$getShortDesc$();
    $dvt$$2$$ || ($dvt$$2$$ = this.getValue());
    return $dvt$$2$$;
  };
  $dvt$$2$$.$AfOutputText$.prototype.$getAriaRole$ = function $$dvt$$2$$$$AfOutputText$$$$getAriaRole$$() {
    return "group";
  };
  $dvt$$2$$.$AfOutputFormatted$ = function $$dvt$$2$$$$AfOutputFormatted$$() {
    this.Init();
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfOutputFormatted$, $dvt$$2$$.$AfComponent$, "dvt.AfOutputFormatted");
  $dvt$$2$$.$AfOutputFormatted$.$TAG_NAME$ = "otf";
  $dvt$$2$$.$AfComponentFactory$.$registerComponent$($dvt$$2$$.$AfOutputFormatted$.$TAG_NAME$, $dvt$$2$$.$AfOutputFormatted$);
  $dvt$$2$$.$AfOutputFormatted$.$ATTR_VALUE$ = "value";
  $dvt$$2$$.$AfOutputFormatted$.prototype.setValue = function $$dvt$$2$$$$AfOutputFormatted$$$setValue$($value$$113$$) {
    this.setProperty($dvt$$2$$.$AfOutputFormatted$.$ATTR_VALUE$, $value$$113$$);
    this.$getContentShape$() && this.$getContentShape$().$setText$($value$$113$$);
  };
  $dvt$$2$$.$AfOutputFormatted$.prototype.getValue = function $$dvt$$2$$$$AfOutputFormatted$$$getValue$() {
    return this.$getProperty$($dvt$$2$$.$AfOutputFormatted$.$ATTR_VALUE$);
  };
  $dvt$$2$$.$AfOutputFormatted$.prototype.$GetDefaultStyles$ = function $$dvt$$2$$$$AfOutputFormatted$$$$GetDefaultStyles$$() {
    return $dvt$$2$$.$AfOutputFormatted$.$_afStyles$;
  };
  $dvt$$2$$.$AfOutputFormatted$.prototype.$SetDefaultStyles$ = function $$dvt$$2$$$$AfOutputFormatted$$$$SetDefaultStyles$$($styleList$$20$$) {
    $dvt$$2$$.$AfOutputFormatted$.$_afStyles$ = $styleList$$20$$;
  };
  $dvt$$2$$.$AfOutputFormatted$.prototype.$createContentShape$ = function $$dvt$$2$$$$AfOutputFormatted$$$$createContentShape$$($dvtContext$$17_textShape$$3$$) {
    var $cssStyle$$22_id$$69$$ = this.$_getUniqueId$();
    $dvtContext$$17_textShape$$3$$ = new $dvt$$2$$.$TextFormatted$($dvtContext$$17_textShape$$3$$, 0, 0, $cssStyle$$22_id$$69$$);
    ($cssStyle$$22_id$$69$$ = this.$createTextStyles$(null, null)) && $dvtContext$$17_textShape$$3$$.$setCSSStyle$($cssStyle$$22_id$$69$$);
    $dvtContext$$17_textShape$$3$$.$setText$(this.getValue());
    return $dvtContext$$17_textShape$$3$$;
  };
  $dvt$$2$$.$AfOutputFormatted$.prototype.$renderSelfBeforeChildren$ = function $$dvt$$2$$$$AfOutputFormatted$$$$renderSelfBeforeChildren$$() {
    $dvt$$2$$.$AfOutputFormatted$.$superclass$.$renderSelfBeforeChildren$.call(this);
    var $shape$$23$$ = this.$getContentShape$();
    $shape$$23$$.$setMaxWidth$(this.$_cw$);
    $shape$$23$$.$setX$(this.$_cx$);
    $shape$$23$$.$setY$(this.$_cy$);
    var $dim$$31$$ = $shape$$23$$.$getCachedDims$();
    this.$_addClipPathIfNeeded$(this.$_afContext$, this.$_aw$, $dim$$31$$.$w$, this.$_ah$, $dim$$31$$.$h$, $shape$$23$$);
    this.$_cw$ = this.$getCalcWidth$($dim$$31$$.$w$);
    this.$_ch$ = this.$getCalcHeight$($dim$$31$$.$h$);
  };
  $dvt$$2$$.$AfOutputFormatted$.prototype.$getTagName$ = function $$dvt$$2$$$$AfOutputFormatted$$$$getTagName$$() {
    return $dvt$$2$$.$AfOutputFormatted$.$TAG_NAME$;
  };
  $dvt$$2$$.$AfOutputFormatted$.prototype.$registerAsTabStop$ = function $$dvt$$2$$$$AfOutputFormatted$$$$registerAsTabStop$$() {
    this.$_afContext$.$registerTabStop$(this);
  };
  $dvt$$2$$.$AfOutputFormatted$.prototype.$getAriaLabel$ = function $$dvt$$2$$$$AfOutputFormatted$$$$getAriaLabel$$() {
    var $dvt$$2$$ = this.$getShortDesc$();
    $dvt$$2$$ || ($dvt$$2$$ = this.getValue());
    return $dvt$$2$$;
  };
  $dvt$$2$$.$AfOutputFormatted$.prototype.$getAriaRole$ = function $$dvt$$2$$$$AfOutputFormatted$$$$getAriaRole$$() {
    return "group";
  };
  $dvt$$2$$.$AfPanelGroupLayout$ = function $$dvt$$2$$$$AfPanelGroupLayout$$() {
    this.Init();
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfPanelGroupLayout$, $dvt$$2$$.$AfComponent$, "dvt.AfPanelGroupLayout");
  $dvt$$2$$.$AfPanelGroupLayout$.$TAG_NAME$ = "pgl";
  $dvt$$2$$.$AfComponentFactory$.$registerComponent$($dvt$$2$$.$AfPanelGroupLayout$.$TAG_NAME$, $dvt$$2$$.$AfPanelGroupLayout$);
  $dvt$$2$$.$AfPanelGroupLayout$.$ATTR_LAYOUT$ = "layout";
  $dvt$$2$$.$AfPanelGroupLayout$.$ATTR_VALIGN$ = "valign";
  $dvt$$2$$.$AfPanelGroupLayout$.$ATTR_HALIGN$ = "halign";
  $dvt$$2$$.$AfPanelGroupLayout$.$LAYOUT_VERTICAL$ = "vertical";
  $dvt$$2$$.$AfPanelGroupLayout$.$LAYOUT_HORIZONTAL$ = "horizontal";
  $dvt$$2$$.$AfPanelGroupLayout$.$LAYOUT_SCROLL$ = "scroll";
  $dvt$$2$$.$AfPanelGroupLayout$.prototype.$getLayout$ = function $$dvt$$2$$$$AfPanelGroupLayout$$$$getLayout$$() {
    return this.$getStringProp$($dvt$$2$$.$AfPanelGroupLayout$.$ATTR_LAYOUT$, $dvt$$2$$.$AfPanelGroupLayout$.$LAYOUT_HORIZONTAL$);
  };
  $dvt$$2$$.$AfPanelGroupLayout$.prototype.$setLayout$ = function $$dvt$$2$$$$AfPanelGroupLayout$$$$setLayout$$($layout$$17$$) {
    this.setProperty($dvt$$2$$.$AfPanelGroupLayout$.$ATTR_LAYOUT$, $layout$$17$$);
  };
  $dvt$$2$$.$AfPanelGroupLayout$.prototype.$getHAlign$ = function $$dvt$$2$$$$AfPanelGroupLayout$$$$getHAlign$$() {
    return this.$getStringProp$($dvt$$2$$.$AfPanelGroupLayout$.$ATTR_HALIGN$, $dvt$$2$$.$AfComponent$.$HALIGN_START$);
  };
  $dvt$$2$$.$AfPanelGroupLayout$.prototype.$getVAlign$ = function $$dvt$$2$$$$AfPanelGroupLayout$$$$getVAlign$$() {
    return this.$getStringProp$($dvt$$2$$.$AfPanelGroupLayout$.$ATTR_VALIGN$, $dvt$$2$$.$AfComponent$.$VALIGN_TOP$);
  };
  $dvt$$2$$.$AfPanelGroupLayout$.prototype.$GetDefaultStyles$ = function $$dvt$$2$$$$AfPanelGroupLayout$$$$GetDefaultStyles$$() {
    return $dvt$$2$$.$AfPanelGroupLayout$.$_afStyles$;
  };
  $dvt$$2$$.$AfPanelGroupLayout$.prototype.$SetDefaultStyles$ = function $$dvt$$2$$$$AfPanelGroupLayout$$$$SetDefaultStyles$$($styleList$$21$$) {
    $dvt$$2$$.$AfPanelGroupLayout$.$_afStyles$ = $styleList$$21$$;
  };
  $dvt$$2$$.$AfPanelGroupLayout$.prototype.$createDisplayObj$ = function $$dvt$$2$$$$AfPanelGroupLayout$$$$createDisplayObj$$($afContext$$51$$) {
    var $dispObj$$10$$ = $dvt$$2$$.$AfPanelGroupLayout$.$superclass$.$createDisplayObj$.call(this, $afContext$$51$$);
    this.$addChildDisplayObjs$($afContext$$51$$, this.$_contentPane$);
    return $dispObj$$10$$;
  };
  $dvt$$2$$.$AfPanelGroupLayout$.prototype.$createContentShape$ = function $$dvt$$2$$$$AfPanelGroupLayout$$$$createContentShape$$($dvtContext$$18_style$$40$$) {
    this.$_contentPane$ = new $dvt$$2$$.Rect($dvtContext$$18_style$$40$$, 0, 0, 0, 0, this.$_getUniqueId$());
    this.$_contentPane$.$setInvisibleFill$();
    $dvtContext$$18_style$$40$$ = this.$getCSSStyle$();
    this.$_contentPane$.$setCSSStyle$($dvtContext$$18_style$$40$$);
    return this.$_contentPane$;
  };
  $dvt$$2$$.$AfPanelGroupLayout$.prototype.$getContentShape$ = function $$dvt$$2$$$$AfPanelGroupLayout$$$$getContentShape$$() {
    return this.$_contentPane$;
  };
  $dvt$$2$$.$AfPanelGroupLayout$.prototype.$createBackgroundShape$ = function $$dvt$$2$$$$AfPanelGroupLayout$$$$createBackgroundShape$$($dvt$$2$$, $shape$$24$$) {
    return $shape$$24$$;
  };
  $dvt$$2$$.$AfPanelGroupLayout$.prototype.$renderSelfBeforeChildren$ = function $$dvt$$2$$$$AfPanelGroupLayout$$$$renderSelfBeforeChildren$$() {
    $dvt$$2$$.$AfPanelGroupLayout$.$superclass$.$renderSelfBeforeChildren$.call(this);
    this.$_acw$ = this.$_cw$;
    this.$_ach$ = this.$_ch$;
  };
  $dvt$$2$$.$AfPanelGroupLayout$.prototype.$renderChild$ = function $$dvt$$2$$$$AfPanelGroupLayout$$$$renderChild$$($child$$37_dim$$32$$) {
    $child$$37_dim$$32$$.$_render$ ? $child$$37_dim$$32$$.$_render$(this.$_acw$, this.$_ach$) : $child$$37_dim$$32$$.$render$ && $dvt$$2$$.$AfComponent$.$_renderComp$(this.$_afContext$, $child$$37_dim$$32$$, this.$_acw$, this.$_ach$);
    $child$$37_dim$$32$$ = $dvt$$2$$.$AfComponent$.$getDimensions$($child$$37_dim$$32$$);
    this.$getLayout$() == $dvt$$2$$.$AfPanelGroupLayout$.$LAYOUT_VERTICAL$ ? $child$$37_dim$$32$$.$h$ !== Number.MAX_VALUE && (this.$_ach$ -= $child$$37_dim$$32$$.$h$) : $child$$37_dim$$32$$.$w$ !== Number.MAX_VALUE && (this.$_acw$ -= $child$$37_dim$$32$$.$w$);
  };
  $dvt$$2$$.$AfPanelGroupLayout$.prototype.$doLayout$ = function $$dvt$$2$$$$AfPanelGroupLayout$$$$doLayout$$() {
    this.$getLayout$() == $dvt$$2$$.$AfPanelGroupLayout$.$LAYOUT_VERTICAL$ ? $DvtAfComponentUtils$$.$doVerticalLayout$(this.$_afContext$, this) : $DvtAfComponentUtils$$.$doHorizontalLayout$(this.$_afContext$, this);
  };
  $dvt$$2$$.$AfPanelGroupLayout$.prototype.$getTagName$ = function $$dvt$$2$$$$AfPanelGroupLayout$$$$getTagName$$() {
    return $dvt$$2$$.$AfPanelGroupLayout$.$TAG_NAME$;
  };
  $dvt$$2$$.$AfPanelFormLayout$ = function $$dvt$$2$$$$AfPanelFormLayout$$() {
    this.Init();
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfPanelFormLayout$, $dvt$$2$$.$AfComponent$, "dvt.AfPanelFormLayout");
  $dvt$$2$$.$AfPanelFormLayout$.$TAG_NAME$ = "pfl";
  $dvt$$2$$.$AfComponentFactory$.$registerComponent$($dvt$$2$$.$AfPanelFormLayout$.$TAG_NAME$, $dvt$$2$$.$AfPanelFormLayout$);
  $dvt$$2$$.$AfPanelFormLayout$.prototype.$GetDefaultStyles$ = function $$dvt$$2$$$$AfPanelFormLayout$$$$GetDefaultStyles$$() {
    return $dvt$$2$$.$AfPanelFormLayout$.$_afStyles$;
  };
  $dvt$$2$$.$AfPanelFormLayout$.prototype.$SetDefaultStyles$ = function $$dvt$$2$$$$AfPanelFormLayout$$$$SetDefaultStyles$$($styleList$$22$$) {
    $dvt$$2$$.$AfPanelFormLayout$.$_afStyles$ = $styleList$$22$$;
  };
  $dvt$$2$$.$AfPanelFormLayout$.prototype.$_getContentCellStyle$ = function $$dvt$$2$$$$AfPanelFormLayout$$$$_getContentCellStyle$$() {
    return 1 < $dvt$$2$$.$AfPanelFormLayout$.$_afStyles$.length ? $dvt$$2$$.$AfPanelFormLayout$.$_afStyles$[1] : $dvt$$2$$.$AfPanelFormLayout$.$_afStyles$[0];
  };
  $dvt$$2$$.$AfPanelFormLayout$.prototype.$_getLabelCellStyle$ = function $$dvt$$2$$$$AfPanelFormLayout$$$$_getLabelCellStyle$$() {
    return 2 < $dvt$$2$$.$AfPanelFormLayout$.$_afStyles$.length ? $dvt$$2$$.$AfPanelFormLayout$.$_afStyles$[2] : $dvt$$2$$.$AfPanelFormLayout$.$_afStyles$[0];
  };
  $dvt$$2$$.$AfPanelFormLayout$.prototype.$createDisplayObj$ = function $$dvt$$2$$$$AfPanelFormLayout$$$$createDisplayObj$$($afContext$$52$$) {
    var $dispObj$$11$$ = $dvt$$2$$.$AfPanelFormLayout$.$superclass$.$createDisplayObj$.call(this, $afContext$$52$$);
    this.$addChildDisplayObjs$($afContext$$52$$, this.$_contentPane$);
    return $dispObj$$11$$;
  };
  $dvt$$2$$.$AfPanelFormLayout$.prototype.$createContentShape$ = function $$dvt$$2$$$$AfPanelFormLayout$$$$createContentShape$$($dvtContext$$20_style$$41$$) {
    this.$_contentPane$ = new $dvt$$2$$.Rect($dvtContext$$20_style$$41$$, 0, 0, 0, 0, this.$_getUniqueId$() + "_cp");
    this.$_contentPane$.$setFill$(null);
    $dvtContext$$20_style$$41$$ = this.$getCSSStyle$();
    this.$_contentPane$.$setCSSStyle$($dvtContext$$20_style$$41$$);
    return this.$_contentPane$;
  };
  $dvt$$2$$.$AfPanelFormLayout$.prototype.$getContentShape$ = function $$dvt$$2$$$$AfPanelFormLayout$$$$getContentShape$$() {
    return this.$_contentPane$;
  };
  $dvt$$2$$.$AfPanelFormLayout$.prototype.$renderSelfBeforeChildren$ = function $$dvt$$2$$$$AfPanelFormLayout$$$$renderSelfBeforeChildren$$() {
    $dvt$$2$$.$AfPanelFormLayout$.$superclass$.$renderSelfBeforeChildren$.call(this);
    this.$_acw$ = this.$_cw$;
    this.$_ach$ = this.$_ch$;
  };
  $dvt$$2$$.$AfPanelFormLayout$.prototype.$renderChildren$ = function $$dvt$$2$$$$AfPanelFormLayout$$$$renderChildren$$() {
    for (var $child$$38_dim$$33$$, $maxLabelWidth$$1$$ = 0, $cnt$$7$$ = this.$getNumChildren$(), $i$$189$$ = 0;$i$$189$$ < $cnt$$7$$;$i$$189$$++) {
      ($child$$38_dim$$33$$ = this.$getChildAt$($i$$189$$)) && $child$$38_dim$$33$$ instanceof $dvt$$2$$.$AfPanelLabelAndMessage$ && ($child$$38_dim$$33$$.$MergeUnderLabelStyle$(this.$_getLabelCellStyle$()), $child$$38_dim$$33$$.$MergeUnderContentStyle$(this.$_getContentCellStyle$()), $child$$38_dim$$33$$ = $child$$38_dim$$33$$.$getLabelDimensions$(), $maxLabelWidth$$1$$ = Math.max($child$$38_dim$$33$$.$w$, $maxLabelWidth$$1$$));
    }
    this.$_maxLabelWidth$ = $maxLabelWidth$$1$$;
    $dvt$$2$$.$AfPanelFormLayout$.$superclass$.$renderChildren$.call(this);
  };
  $dvt$$2$$.$AfPanelFormLayout$.prototype.$renderChild$ = function $$dvt$$2$$$$AfPanelFormLayout$$$$renderChild$$($child$$39$$) {
    var $dim$$34_labelWidthDiff_ww$$39$$ = 0, $labelStyle$$6_paddingBottom$$1$$ = this.$_getContentCellStyle$();
    $child$$39$$ instanceof $dvt$$2$$.$AfPanelLabelAndMessage$ && ($dim$$34_labelWidthDiff_ww$$39$$ = $child$$39$$.$getLabelDimensions$(), $dim$$34_labelWidthDiff_ww$$39$$ = this.$_maxLabelWidth$ - $dim$$34_labelWidthDiff_ww$$39$$.$w$, $child$$39$$.$_getLabelStyle$() && ($labelStyle$$6_paddingBottom$$1$$ = $child$$39$$.$_getLabelStyle$()), $child$$39$$.$_setMaxLabelWidth$(this.$_maxLabelWidth$));
    var $paddingTop$$1$$ = $labelStyle$$6_paddingBottom$$1$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_TOP$), $paddingLeft$$1$$ = $labelStyle$$6_paddingBottom$$1$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_LEFT$), $paddingRight$$1$$ = 0;
    $child$$39$$ instanceof $dvt$$2$$.$AfPanelLabelAndMessage$ || ($paddingRight$$1$$ = $labelStyle$$6_paddingBottom$$1$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_RIGHT$));
    $labelStyle$$6_paddingBottom$$1$$ = $labelStyle$$6_paddingBottom$$1$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_BOTTOM$);
    $dim$$34_labelWidthDiff_ww$$39$$ = this.$_acw$ - $dim$$34_labelWidthDiff_ww$$39$$ - $paddingLeft$$1$$ - $paddingRight$$1$$;
    $child$$39$$.$_render$ ? $child$$39$$.$_render$($dim$$34_labelWidthDiff_ww$$39$$, this.$_ach$) : $child$$39$$.$render$ && $dvt$$2$$.$AfComponent$.$_renderComp$(this.$_afContext$, $child$$39$$, $dim$$34_labelWidthDiff_ww$$39$$, this.$_ach$);
    $dim$$34_labelWidthDiff_ww$$39$$ = $dvt$$2$$.$AfComponent$.$getDimensions$($child$$39$$);
    this.$_ach$ -= $dim$$34_labelWidthDiff_ww$$39$$.$h$ - $paddingTop$$1$$ - $labelStyle$$6_paddingBottom$$1$$;
  };
  $dvt$$2$$.$AfPanelFormLayout$.prototype.$doLayout$ = function $$dvt$$2$$$$AfPanelFormLayout$$$$doLayout$$() {
    for (var $dvtContext$$21$$ = this.$getDvtContext$(), $arDim$$4$$ = [], $cnt$$8$$ = this.$getNumChildren$(), $child$$40$$, $contentX$$2$$ = 0, $maxContentX$$ = 0, $i$$190$$ = 0;$i$$190$$ < $cnt$$8$$;$i$$190$$++) {
      if ($child$$40$$ = this.$getChildAt$($i$$190$$), !$child$$40$$.$renderMe$ || $child$$40$$.$renderMe$()) {
        var $dim$$35$$ = $dvt$$2$$.$AfComponent$.$getDimensions$($child$$40$$);
        $arDim$$4$$.push($dim$$35$$);
        $child$$40$$ instanceof $dvt$$2$$.$AfPanelLabelAndMessage$ && ($maxContentX$$ = Math.max($maxContentX$$, $child$$40$$.$_contentX$));
      }
    }
    for (var $childy$$2_labelStyle$$7$$, $maxContentExtent$$ = 0, $paddingTop$$2$$ = 0, $paddingBottom$$2$$ = 0, $paddingLR$$ = 0, $currX$$2$$ = this.$_cx$, $currY$$4$$ = this.$_cy$, $childx$$2$$, $textAlignEnd$$ = !1, $i$$190$$ = 0;$i$$190$$ < $cnt$$8$$;$i$$190$$++) {
      $child$$40$$ = this.$getChildAt$($i$$190$$), $childy$$2_labelStyle$$7$$ = this.$_getContentCellStyle$(), $dim$$35$$ = $arDim$$4$$[$i$$190$$], $child$$40$$ instanceof $dvt$$2$$.$AfPanelLabelAndMessage$ ? ($child$$40$$.$_getLabelStyle$() && ($childy$$2_labelStyle$$7$$ = $child$$40$$.$_getLabelStyle$()), $childy$$2_labelStyle$$7$$ && ($paddingTop$$2$$ = $childy$$2_labelStyle$$7$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_TOP$), $paddingBottom$$2$$ = $childy$$2_labelStyle$$7$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_BOTTOM$), 
      $textAlignEnd$$ = $childy$$2_labelStyle$$7$$.$isTextAlignEnd$($dvtContext$$21$$), $paddingLR$$ = $dvt$$2$$.$Agent$.$isRightToLeft$($dvtContext$$21$$) ? $childy$$2_labelStyle$$7$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_RIGHT$) : $childy$$2_labelStyle$$7$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_LEFT$)), $childx$$2$$ = $contentX$$2$$ + $paddingLR$$, $textAlignEnd$$ && ($childx$$2$$ += $maxContentX$$ - $child$$40$$.$_contentX$), $childy$$2_labelStyle$$7$$ = $currY$$4$$ + $paddingTop$$2$$, 
      $currY$$4$$ += $dim$$35$$.$h$ + $paddingBottom$$2$$, $childx$$2$$ + $dim$$35$$.$w$ > $maxContentExtent$$ && ($maxContentExtent$$ = $childx$$2$$ + $dim$$35$$.$w$), $dvt$$2$$.$AfComponent$.$_setTranslateGroup$($child$$40$$, $childx$$2$$, $childy$$2_labelStyle$$7$$)) : $child$$40$$ instanceof $dvt$$2$$.$AfComponent$ && ($childx$$2$$ = $currX$$2$$ + $paddingLR$$ + ($dvt$$2$$.$Agent$.$isRightToLeft$($dvtContext$$21$$) ? this.$_maxLabelWidth$ : 0), $childy$$2_labelStyle$$7$$ = $currY$$4$$ + $paddingTop$$2$$, 
      $currY$$4$$ += $dim$$35$$.$h$ + $paddingBottom$$2$$, $childx$$2$$ + $dim$$35$$.$w$ > $maxContentExtent$$ && ($maxContentExtent$$ = $childx$$2$$ + $dim$$35$$.$w$), $dvt$$2$$.$AfComponent$.$_setTranslateGroup$($child$$40$$, $childx$$2$$, $childy$$2_labelStyle$$7$$)), $dim$$35$$.x = $childx$$2$$;
    }
    if ($dvt$$2$$.$Agent$.$isRightToLeft$($dvtContext$$21$$)) {
      for ($contentX$$2$$ = this.$_ew$ && this.$_ew$ !== Number.MAX_VALUE || $maxContentExtent$$ > this.$_cx$ + this.$_cw$ ? this.$_cx$ + this.$_cw$ : $maxContentExtent$$, $i$$190$$ = 0;$i$$190$$ < $cnt$$8$$;$i$$190$$++) {
        if ($child$$40$$ = this.$getChildAt$($i$$190$$), !$child$$40$$.$renderMe$ || $child$$40$$.$renderMe$()) {
          $dim$$35$$ = $arDim$$4$$[$i$$190$$], $childx$$2$$ = $contentX$$2$$ - ($dim$$35$$.x - this.$_cx$) - $dim$$35$$.$w$, $child$$40$$.$setTranslateX$($childx$$2$$);
        }
      }
    }
    $dim$$35$$ = this.$getContentShape$().$getDimensions$();
    this.$_cw$ = this.$getCalcWidth$($dim$$35$$.$w$);
    this.$_ch$ = this.$getCalcHeight$($dim$$35$$.$h$);
  };
  $dvt$$2$$.$AfPanelFormLayout$.prototype.$ResolveEm$ = function $$dvt$$2$$$$AfPanelFormLayout$$$$ResolveEm$$($cssStyle$$23$$) {
    $dvt$$2$$.$AfPanelFormLayout$.$superclass$.$ResolveEm$.call(this, $cssStyle$$23$$);
    this.$_cssStyle$ = $cssStyle$$23$$;
    this.$_contentCellStyle$ || (this.$_contentCellStyle$ = $dvt$$2$$.$AfPanelFormLayout$.$_afStyles$[1].clone());
    this.$resolveEmUnit$(this.$_contentCellStyle$, this);
    this.$_labelCellStyle$ || (this.$_labelCellStyle$ = $dvt$$2$$.$AfPanelFormLayout$.$_afStyles$[2].clone());
    this.$resolveEmUnit$(this.$_labelCellStyle$, this);
  };
  $dvt$$2$$.$AfPanelFormLayout$.prototype.$getTagName$ = function $$dvt$$2$$$$AfPanelFormLayout$$$$getTagName$$() {
    return $dvt$$2$$.$AfPanelFormLayout$.$TAG_NAME$;
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$() {
    this.Init();
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfPanelLabelAndMessage$, $dvt$$2$$.$AfComponent$, "dvt.AfPanelLabelAndMessage");
  $dvt$$2$$.$AfPanelLabelAndMessage$.$TAG_NAME$ = "plm";
  $dvt$$2$$.$AfComponentFactory$.$registerComponent$($dvt$$2$$.$AfPanelLabelAndMessage$.$TAG_NAME$, $dvt$$2$$.$AfPanelLabelAndMessage$);
  $dvt$$2$$.$AfPanelLabelAndMessage$.$ATTR_LABEL$ = "label";
  $dvt$$2$$.$AfPanelLabelAndMessage$.$ATTR_LABEL_STYLE$ = "labelStyle";
  $dvt$$2$$.$AfPanelLabelAndMessage$.$_HPADDING$ = 5;
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$getLabel$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$getLabel$$() {
    return this.$getStringProp$($dvt$$2$$.$AfPanelLabelAndMessage$.$ATTR_LABEL$);
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$setLabel$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$setLabel$$($label$$19$$) {
    this.setProperty($dvt$$2$$.$AfPanelLabelAndMessage$.$ATTR_LABEL$, $label$$19$$);
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$getLabelStyle$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$getLabelStyle$$() {
    return this.$getStringProp$($dvt$$2$$.$AfPanelLabelAndMessage$.$ATTR_LABEL_STYLE$);
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$setLabelStyle$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$setLabelStyle$$($labelStyle$$8$$) {
    var $labelCSSStyle$$ = this.$_getDefaultLabelCSSStyle$().clone();
    $labelCSSStyle$$.$parseInlineStyle$($labelStyle$$8$$);
    this.$_setLabelStyle$($labelCSSStyle$$);
    this.setProperty($dvt$$2$$.$AfPanelLabelAndMessage$.$ATTR_LABEL_STYLE$, $labelCSSStyle$$.toString());
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$GetDefaultStyles$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$GetDefaultStyles$$() {
    return $dvt$$2$$.$AfPanelLabelAndMessage$.$_afStyles$;
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$SetDefaultStyles$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$SetDefaultStyles$$($styleList$$23$$) {
    $dvt$$2$$.$AfPanelLabelAndMessage$.$_afStyles$ = $styleList$$23$$;
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$createDisplayObj$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$createDisplayObj$$($afContext$$53$$) {
    var $dispObj$$12$$ = $dvt$$2$$.$AfPanelLabelAndMessage$.$superclass$.$createDisplayObj$.call(this, $afContext$$53$$);
    this.$addChildDisplayObjs$($afContext$$53$$, this.$_contentPane$);
    return $dispObj$$12$$;
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$createContentShape$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$createContentShape$$($dvtContext$$22_label$$20_style$$42$$) {
    this.$_contentPane$ = new $dvt$$2$$.Rect($dvtContext$$22_label$$20_style$$42$$, 0, 0, 0, 0, this.$_getUniqueId$() + "_cp");
    this.$_contentPane$.$setFill$(null);
    this.$_contentX$ = this.$_maxLabelWidth$ = 0;
    $dvtContext$$22_label$$20_style$$42$$ = this.$getCSSStyle$();
    this.$_contentPane$.$setCSSStyle$($dvtContext$$22_label$$20_style$$42$$);
    if ($dvtContext$$22_label$$20_style$$42$$ = this.$getLabel$()) {
      var $labelStyle$$9$$ = this.$_getLabelStyle$();
      this.$_labelField$ = this.$createTextShape$(!1, $dvtContext$$22_label$$20_style$$42$$, $labelStyle$$9$$, this.$_getDefaultLabelCSSStyle$());
      this.$_contentPane$.$addChild$(this.$_labelField$);
    }
    return this.$_contentPane$;
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$getContentShape$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$getContentShape$$() {
    return this.$_contentPane$;
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$_getDefaultLabelCSSStyle$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$_getDefaultLabelCSSStyle$$() {
    return 1 < $dvt$$2$$.$AfPanelLabelAndMessage$.$_afStyles$.length ? $dvt$$2$$.$AfPanelLabelAndMessage$.$_afStyles$[1] : null;
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$_getLabelStyle$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$_getLabelStyle$$() {
    if (!this.$_labelStyle$) {
      var $style$$43$$ = this.$_getDefaultLabelCSSStyle$().clone(), $inlineStyle$$6_scss$$1$$ = $dvt$$2$$.$AfStyleUtils$.$getPLAMLabelStyle$(this.$getStyleClass$());
      $inlineStyle$$6_scss$$1$$ && $style$$43$$.$merge$($inlineStyle$$6_scss$$1$$);
      ($inlineStyle$$6_scss$$1$$ = this.$getLabelStyle$()) && $style$$43$$.$parseInlineStyle$($inlineStyle$$6_scss$$1$$);
      this.$_labelStyle$ = $style$$43$$;
    }
    return this.$_labelStyle$;
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$_setLabelStyle$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$_setLabelStyle$$($dvt$$2$$) {
    this.$_labelStyle$ = $dvt$$2$$;
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$_getContentCellStyle$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$_getContentCellStyle$$() {
    return this.$_contentCellStyle$;
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$_getContentStyle$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$_getContentStyle$$() {
    this.$_contentStyle$ || (this.$_contentStyle$ = this.$_getContentCellStyle$().clone(), this.$_contentStyle$.$merge$(this.$getCSSStyle$()));
    return this.$_contentStyle$;
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$MergeUnderContentStyle$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$MergeUnderContentStyle$$($dvt$$2$$) {
    this.$_getContentStyle$().$mergeUnder$($dvt$$2$$);
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$MergeUnderLabelStyle$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$MergeUnderLabelStyle$$($dvt$$2$$) {
    this.$_getLabelStyle$().$mergeUnder$($dvt$$2$$);
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$ResolveEm$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$ResolveEm$$($cssStyle$$24$$) {
    $dvt$$2$$.$AfPanelLabelAndMessage$.$superclass$.$ResolveEm$.call(this, $cssStyle$$24$$);
    this.$_cssStyle$ = $cssStyle$$24$$;
    this.$_contentCellStyle$ || (this.$_contentCellStyle$ = $dvt$$2$$.$AfPanelLabelAndMessage$.$_afStyles$[2].clone());
    this.$resolveEmUnit$(this.$_contentCellStyle$, this);
    null != this.$_labelStyle$ && this.$resolveEmUnit$(this.$_labelStyle$, this);
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$_setMaxLabelWidth$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$_setMaxLabelWidth$$($dvt$$2$$) {
    this.$_maxLabelWidth$ = $dvt$$2$$;
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$getLabelDimensions$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$getLabelDimensions$$() {
    if (!this.$_labelDim$) {
      var $label$$21$$ = this.$_labelField$;
      this.$_labelDim$ = $label$$21$$ ? $label$$21$$.$getDimensions$() : new $dvt$$2$$.$Rectangle$(0, 0, 0, 0);
    }
    return this.$_labelDim$;
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$renderSelfBeforeChildren$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$renderSelfBeforeChildren$$() {
    $dvt$$2$$.$AfPanelLabelAndMessage$.$superclass$.$renderSelfBeforeChildren$.call(this);
    this.$_acw$ = this.$_cw$;
    this.$_ach$ = this.$_ch$;
    var $labelField$$ = this.$_labelField$;
    if ($labelField$$) {
      $labelField$$.$setX$(this.$_cx$);
      $labelField$$.$setY$(this.$_cy$);
      $dvt$$2$$.$TextUtils$.$fitText$($labelField$$, this.$_acw$, this.$_ach$, $labelField$$.getParent());
      var $labelDim$$2$$ = this.$getLabelDimensions$();
      $labelField$$.$isTruncated$() && ($labelDim$$2$$.$w$ = this.$_acw$);
      this.$_acw$ -= $labelDim$$2$$.$w$ + this.$_getLabelPadding$();
    }
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$renderChild$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$renderChild$$($child$$41_dim$$36$$) {
    $child$$41_dim$$36$$.$_render$ ? $child$$41_dim$$36$$.$_render$(this.$_acw$, this.$_ach$) : $child$$41_dim$$36$$.$render$ && $dvt$$2$$.$AfComponent$.$_renderComp$(this.$_afContext$, $child$$41_dim$$36$$, this.$_acw$, this.$_ach$);
    $child$$41_dim$$36$$ = $dvt$$2$$.$AfComponent$.$getDimensions$($child$$41_dim$$36$$);
    this.$_acw$ -= $child$$41_dim$$36$$.$w$;
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$doLayout$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$doLayout$$() {
    var $cnt$$9$$ = this.$getNumChildren$(), $vAlign$$2_ww$$40$$ = this.$_cw$, $contentX$$3_hh$$35$$ = this.$_ch$, $arDim$$5_parent$$44$$ = this.getParent();
    $arDim$$5_parent$$44$$ instanceof $dvt$$2$$.$AfPanelFormLayout$ && ($vAlign$$2_ww$$40$$ = $arDim$$5_parent$$44$$.$getCalcWidth$($arDim$$5_parent$$44$$.$_cw$), $contentX$$3_hh$$35$$ = $arDim$$5_parent$$44$$.$getCalcHeight$($arDim$$5_parent$$44$$.$_ch$));
    for (var $child$$42_labelWidth$$, $arDim$$5_parent$$44$$ = [], $lbDim$$ = this.$getLabelDimensions$(), $maxChildHeight$$ = $lbDim$$.$h$, $contentWidth$$2_contentY$$2$$ = 0, $i$$191$$ = 0;$i$$191$$ < $cnt$$9$$;$i$$191$$++) {
      if ($child$$42_labelWidth$$ = this.$getChildAt$($i$$191$$), !$child$$42_labelWidth$$.$renderMe$ || $child$$42_labelWidth$$.$renderMe$()) {
        var $dim$$37_labelStyle$$12$$ = $dvt$$2$$.$AfComponent$.$getDimensions$($child$$42_labelWidth$$);
        $child$$42_labelWidth$$.$_clipped$ || $contentWidth$$2_contentY$$2$$ + $dim$$37_labelStyle$$12$$.$w$ > $vAlign$$2_ww$$40$$ + $dvt$$2$$.Math.$TOLERANCE$ || $dim$$37_labelStyle$$12$$.$h$ > $contentX$$3_hh$$35$$ + $dvt$$2$$.Math.$TOLERANCE$ ? ($vAlign$$2_ww$$40$$ && $child$$42_labelWidth$$.$setClipContainer$(this), $contentWidth$$2_contentY$$2$$ + $dim$$37_labelStyle$$12$$.$w$ > $vAlign$$2_ww$$40$$ ? ($contentWidth$$2_contentY$$2$$ = $vAlign$$2_ww$$40$$, $dim$$37_labelStyle$$12$$.$w$ = $vAlign$$2_ww$$40$$ - 
        $contentWidth$$2_contentY$$2$$) : $contentWidth$$2_contentY$$2$$ += $dim$$37_labelStyle$$12$$.$w$, $dim$$37_labelStyle$$12$$.$h$ > $contentX$$3_hh$$35$$ ? ($maxChildHeight$$ = $contentX$$3_hh$$35$$, $dim$$37_labelStyle$$12$$.$h$ = $contentX$$3_hh$$35$$) : $maxChildHeight$$ = Math.max($maxChildHeight$$, $dim$$37_labelStyle$$12$$.$h$)) : ($maxChildHeight$$ = Math.max($maxChildHeight$$, $dim$$37_labelStyle$$12$$.$h$), $contentWidth$$2_contentY$$2$$ += $dim$$37_labelStyle$$12$$.$w$);
        $arDim$$5_parent$$44$$.push($dim$$37_labelStyle$$12$$);
      }
    }
    $vAlign$$2_ww$$40$$ = this.$getStyle$($dvt$$2$$.$CSSStyle$.$VERTICAL_ALIGN$);
    $vAlign$$2_ww$$40$$ || ($vAlign$$2_ww$$40$$ = $dvt$$2$$.$AfComponent$.$VALIGN_TOP$);
    var $contentX$$3_hh$$35$$ = this.$_cx$, $contentWidth$$2_contentY$$2$$ = this.$_cy$, $ch$$7_childx$$3$$, $childy$$3$$, $dim$$37_labelStyle$$12$$ = this.$_getLabelStyle$();
    $child$$42_labelWidth$$ = $dim$$37_labelStyle$$12$$.$isTextAlignEnd$(this.$getDvtContext$()) ? $lbDim$$.$w$ : this.$_maxLabelWidth$;
    var $labelField$$1$$ = this.$_labelField$;
    this.$_contentX$ = $contentX$$3_hh$$35$$;
    $labelField$$1$$ && (this.$_contentX$ += $child$$42_labelWidth$$ + this.$_getLabelPadding$());
    var $currX$$3$$ = this.$_contentX$;
    this.$setCX$($currX$$3$$);
    for ($i$$191$$ = 0;$i$$191$$ < $cnt$$9$$;$i$$191$$++) {
      if ($arDim$$5_parent$$44$$[$i$$191$$] && ($child$$42_labelWidth$$ = this.$getChildAt$($i$$191$$), !$child$$42_labelWidth$$.$renderMe$ || $child$$42_labelWidth$$.$renderMe$())) {
        var $cw$$7$$ = $arDim$$5_parent$$44$$[$i$$191$$].$w$;
        $ch$$7_childx$$3$$ = $arDim$$5_parent$$44$$[$i$$191$$].$h$;
        $vAlign$$2_ww$$40$$ == $dvt$$2$$.$AfComponent$.$VALIGN_TOP$ ? $childy$$3$$ = $contentWidth$$2_contentY$$2$$ : $vAlign$$2_ww$$40$$ == $dvt$$2$$.$AfComponent$.$VALIGN_MIDDLE$ ? $childy$$3$$ = $contentWidth$$2_contentY$$2$$ + (this.$_ch$ - $ch$$7_childx$$3$$) / 2 : $vAlign$$2_ww$$40$$ == $dvt$$2$$.$AfComponent$.$VALIGN_BOTTOM$ && ($childy$$3$$ = $contentWidth$$2_contentY$$2$$ + this.$_ch$ - $ch$$7_childx$$3$$);
        $ch$$7_childx$$3$$ = $currX$$3$$;
        $currX$$3$$ += $cw$$7$$;
        $dvt$$2$$.$AfComponent$.$_setTranslateGroup$($child$$42_labelWidth$$, $ch$$7_childx$$3$$, $childy$$3$$);
      }
    }
    if ($dvt$$2$$.$Agent$.$isRightToLeft$(this.$getDvtContext$())) {
      for ($labelField$$1$$ && $labelField$$1$$.$setX$($currX$$3$$ - $lbDim$$.$w$), $currX$$3$$ = $currX$$3$$ + $contentX$$3_hh$$35$$ - this.$_contentX$, $i$$191$$ = 0;$i$$191$$ < $cnt$$9$$;$i$$191$$++) {
        $child$$42_labelWidth$$ = this.$getChildAt$($i$$191$$);
        if (!$child$$42_labelWidth$$.$renderMe$ || $child$$42_labelWidth$$.$renderMe$()) {
          $ch$$7_childx$$3$$ = $currX$$3$$ -= $arDim$$5_parent$$44$$[$i$$191$$].$w$;
        }
        $child$$42_labelWidth$$.$setTranslateX$($ch$$7_childx$$3$$);
      }
    }
    $labelField$$1$$ && ($vAlign$$2_ww$$40$$ = $dim$$37_labelStyle$$12$$.$getStyle$($dvt$$2$$.$CSSStyle$.$VERTICAL_ALIGN$), null == $vAlign$$2_ww$$40$$ && ($vAlign$$2_ww$$40$$ = $dvt$$2$$.$AfComponent$.$VALIGN_MIDDLE$), $vAlign$$2_ww$$40$$ == $dvt$$2$$.$AfComponent$.$VALIGN_MIDDLE$ ? $labelField$$1$$.$setY$($contentWidth$$2_contentY$$2$$ + ($maxChildHeight$$ - $lbDim$$.$h$) / 2) : $vAlign$$2_ww$$40$$ == $dvt$$2$$.$AfComponent$.$VALIGN_BOTTOM$ && $labelField$$1$$.$setY$($contentWidth$$2_contentY$$2$$ + 
    $maxChildHeight$$ - $lbDim$$.$h$));
    $dim$$37_labelStyle$$12$$ = $dvt$$2$$.$DisplayableUtils$.$getDimensionsForced$(this.$getDvtContext$(), this.$getContentShape$());
    this.$_cw$ = this.$getCalcWidth$($dim$$37_labelStyle$$12$$.x + $dim$$37_labelStyle$$12$$.$w$);
    this.$_ch$ = this.$getCalcHeight$($dim$$37_labelStyle$$12$$.y + $dim$$37_labelStyle$$12$$.$h$);
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$_getLabelPadding$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$_getLabelPadding$$() {
    var $cellStyle$$;
    return ($cellStyle$$ = $dvt$$2$$.$Agent$.$isRightToLeft$(this.$getDvtContext$()) ? this.$_getContentCellStyle$() : this.$_getLabelStyle$()) && $cellStyle$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_RIGHT$) ? $cellStyle$$.$getPadding$($dvt$$2$$.$CSSStyle$.$PADDING_RIGHT$) : $dvt$$2$$.$AfPanelLabelAndMessage$.$_HPADDING$;
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$getTagName$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$getTagName$$() {
    return $dvt$$2$$.$AfPanelLabelAndMessage$.$TAG_NAME$;
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$addClipPath$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$addClipPath$$() {
    if (this.$noClipPath$()) {
      var $ww$$41$$ = this.$_cw$;
      $dvt$$2$$.$Agent$.$isRightToLeft$(this.$getDvtContext$()) && this.$_labelField$ && ($ww$$41$$ -= this.$getLabelDimensions$().$w$ + this.$_getLabelPadding$());
      var $hh$$36$$ = this.$_ch$, $newContainer$$2$$ = this.$CreateNewContainerForChildren$(), $child$$43_clipPath$$5$$, $dispObj$$13$$ = this.$_bgShape$;
      if ($dispObj$$13$$ != $newContainer$$2$$) {
        for (var $i$$192$$ = 0;$i$$192$$ < $newContainer$$2$$.$getNumChildren$();$i$$192$$++) {
          if ($child$$43_clipPath$$5$$ = $newContainer$$2$$.$getChildAt$($i$$192$$), $child$$43_clipPath$$5$$ == this.$_labelField$) {
            $dispObj$$13$$.$addChild$($child$$43_clipPath$$5$$);
            break;
          }
        }
      }
      $child$$43_clipPath$$5$$ = new $dvt$$2$$.$ClipPath$(this.$_getUniqueId$() + $DvtAfComponentUtils$$.$_CLIP_PATH_SUFFIX$);
      $child$$43_clipPath$$5$$.$addRect$(0, 0, $ww$$41$$, $hh$$36$$);
      $newContainer$$2$$.$setClipPath$($child$$43_clipPath$$5$$);
      this.$_clipped$ = $dvt$$2$$.$AfComponent$.$_CLIP_PATH$;
      return !0;
    }
    return !1;
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$registerAsTabStop$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$registerAsTabStop$$() {
    this.$_afContext$.$registerTabStop$(this);
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$getAriaLabel$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$getAriaLabel$$() {
    var $dvt$$2$$ = this.$getShortDesc$();
    $dvt$$2$$ || ($dvt$$2$$ = this.$getLabel$());
    return $dvt$$2$$;
  };
  $dvt$$2$$.$AfPanelLabelAndMessage$.prototype.$getAriaRole$ = function $$dvt$$2$$$$AfPanelLabelAndMessage$$$$getAriaRole$$() {
    return "group";
  };
  $dvt$$2$$.$AfSpacer$ = function $$dvt$$2$$$$AfSpacer$$() {
    this.Init();
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfSpacer$, $dvt$$2$$.$AfComponent$, "dvt.AfSpacer");
  $dvt$$2$$.$AfSpacer$.$TAG_NAME$ = "sp";
  $dvt$$2$$.$AfComponentFactory$.$registerComponent$($dvt$$2$$.$AfSpacer$.$TAG_NAME$, $dvt$$2$$.$AfSpacer$);
  $dvt$$2$$.$AfSpacer$.$ATTR_WIDTH$ = "width";
  $dvt$$2$$.$AfSpacer$.$ATTR_HEIGHT$ = "height";
  $dvt$$2$$.$AfSpacer$.prototype.$setWidth$ = function $$dvt$$2$$$$AfSpacer$$$$setWidth$$($width$$29$$) {
    this.setProperty($dvt$$2$$.$AfSpacer$.$ATTR_WIDTH$, $width$$29$$);
  };
  $dvt$$2$$.$AfSpacer$.prototype.getWidth = function $$dvt$$2$$$$AfSpacer$$$getWidth$() {
    return this.$getProperty$($dvt$$2$$.$AfSpacer$.$ATTR_WIDTH$);
  };
  $dvt$$2$$.$AfSpacer$.prototype.$setHeight$ = function $$dvt$$2$$$$AfSpacer$$$$setHeight$$($height$$23$$) {
    this.setProperty($dvt$$2$$.$AfSpacer$.$ATTR_HEIGHT$, $height$$23$$);
  };
  $dvt$$2$$.$AfSpacer$.prototype.getHeight = function $$dvt$$2$$$$AfSpacer$$$getHeight$() {
    return this.$getProperty$($dvt$$2$$.$AfSpacer$.$ATTR_HEIGHT$);
  };
  $dvt$$2$$.$AfSpacer$.prototype.$GetDefaultStyles$ = function $$dvt$$2$$$$AfSpacer$$$$GetDefaultStyles$$() {
    return $dvt$$2$$.$AfSpacer$.$_afStyles$;
  };
  $dvt$$2$$.$AfSpacer$.prototype.$SetDefaultStyles$ = function $$dvt$$2$$$$AfSpacer$$$$SetDefaultStyles$$($styleList$$24$$) {
    $dvt$$2$$.$AfSpacer$.$_afStyles$ = $styleList$$24$$;
  };
  $dvt$$2$$.$AfSpacer$.prototype.$createContentShape$ = function $$dvt$$2$$$$AfSpacer$$$$createContentShape$$($dvtContext$$23$$) {
    this.$_contentPane$ = new $dvt$$2$$.Rect($dvtContext$$23$$, 0, 0, 1, 1);
    this.$_contentPane$.$setFill$(null);
    return this.$_contentPane$;
  };
  $dvt$$2$$.$AfSpacer$.prototype.$renderSelfBeforeChildren$ = function $$dvt$$2$$$$AfSpacer$$$$renderSelfBeforeChildren$$() {
    $dvt$$2$$.$AfSpacer$.$superclass$.$renderSelfBeforeChildren$.call(this);
  };
  $dvt$$2$$.$AfSpacer$.prototype.$getTagName$ = function $$dvt$$2$$$$AfSpacer$$$$getTagName$$() {
    return $dvt$$2$$.$AfSpacer$.$TAG_NAME$;
  };
  $dvt$$2$$.$AfSpacer$.prototype.$_hasBgShape$ = function $$dvt$$2$$$$AfSpacer$$$$_hasBgShape$$() {
    return !1;
  };
  $dvt$$2$$.$AfSeparator$ = function $$dvt$$2$$$$AfSeparator$$() {
    this.Init();
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfSeparator$, $dvt$$2$$.$AfComponent$, "dvt.AfSeparator");
  $dvt$$2$$.$AfSeparator$.$TAG_NAME$ = "se";
  $dvt$$2$$.$AfComponentFactory$.$registerComponent$($dvt$$2$$.$AfSeparator$.$TAG_NAME$, $dvt$$2$$.$AfSeparator$);
  $dvt$$2$$.$AfSeparator$.prototype.$GetDefaultStyles$ = function $$dvt$$2$$$$AfSeparator$$$$GetDefaultStyles$$() {
    return $dvt$$2$$.$AfSeparator$.$_afStyles$;
  };
  $dvt$$2$$.$AfSeparator$.prototype.$SetDefaultStyles$ = function $$dvt$$2$$$$AfSeparator$$$$SetDefaultStyles$$($styleList$$25$$) {
    $dvt$$2$$.$AfSeparator$.$_afStyles$ = $styleList$$25$$;
  };
  $dvt$$2$$.$AfSeparator$.prototype.$createContentShape$ = function $$dvt$$2$$$$AfSeparator$$$$createContentShape$$($color1_dvtContext$$24_stroke1_stroke2$$) {
    var $color2_id$$70_style$$46$$ = this.$_getUniqueId$(), $group$$5$$ = new $dvt$$2$$.$Container$($color1_dvtContext$$24_stroke1_stroke2$$, $color2_id$$70_style$$46$$);
    this.$_line1$ = new $dvt$$2$$.$Line$($color1_dvtContext$$24_stroke1_stroke2$$, 0, 0, 1, 0, $color2_id$$70_style$$46$$ + "_1");
    this.$_line2$ = new $dvt$$2$$.$Line$($color1_dvtContext$$24_stroke1_stroke2$$, 0, 1, 1, 1, $color2_id$$70_style$$46$$ + "_2");
    this.$_line1$.$setPixelHinting$();
    this.$_line2$.$setPixelHinting$();
    $color2_id$$70_style$$46$$ = this.$getCSSStyle$();
    $color1_dvtContext$$24_stroke1_stroke2$$ = $color2_id$$70_style$$46$$.$getStyle$($dvt$$2$$.$CSSStyle$.$BORDER_TOP_COLOR$);
    $color2_id$$70_style$$46$$ = $color2_id$$70_style$$46$$.$getStyle$($dvt$$2$$.$CSSStyle$.$BORDER_BOTTOM_COLOR$);
    $color1_dvtContext$$24_stroke1_stroke2$$ || ($color1_dvtContext$$24_stroke1_stroke2$$ = "#ADB6C7");
    $color2_id$$70_style$$46$$ || ($color2_id$$70_style$$46$$ = "#FFFFFF");
    $color1_dvtContext$$24_stroke1_stroke2$$ = new $dvt$$2$$.$SolidStroke$($color1_dvtContext$$24_stroke1_stroke2$$, 1, 1);
    this.$_line1$.$setStroke$($color1_dvtContext$$24_stroke1_stroke2$$);
    $color1_dvtContext$$24_stroke1_stroke2$$ = new $dvt$$2$$.$SolidStroke$($color2_id$$70_style$$46$$, 1, 1);
    this.$_line2$.$setStroke$($color1_dvtContext$$24_stroke1_stroke2$$);
    $group$$5$$.$addChild$(this.$_line1$);
    $group$$5$$.$addChild$(this.$_line2$);
    return $group$$5$$;
  };
  $dvt$$2$$.$AfSeparator$.prototype.$renderSelfBeforeChildren$ = function $$dvt$$2$$$$AfSeparator$$$$renderSelfBeforeChildren$$() {
    $dvt$$2$$.$AfSeparator$.$superclass$.$renderSelfBeforeChildren$.call(this);
    var $cy$$4$$ = this.$_cy$;
    this.$_line1$.$setY1$($cy$$4$$);
    this.$_line1$.$setY2$($cy$$4$$);
    this.$_line2$.$setY1$($cy$$4$$ + 1);
    this.$_line2$.$setY2$($cy$$4$$ + 1);
  };
  $dvt$$2$$.$AfSeparator$.prototype.$getBounds$ = function $$dvt$$2$$$$AfSeparator$$$$getBounds$$() {
    this.$_ch$ = 0;
    return $dvt$$2$$.$AfSeparator$.$superclass$.$getBounds$.call(this);
  };
  $dvt$$2$$.$AfSeparator$.prototype.$setMaxWidth$ = function $$dvt$$2$$$$AfSeparator$$$$setMaxWidth$$($dvt$$2$$) {
    var $x1$$3$$ = this.$_cx$;
    $dvt$$2$$ = Math.max(0, $dvt$$2$$ - $x1$$3$$);
    this.$_line1$.$setX1$($x1$$3$$);
    this.$_line1$.$setX2$($dvt$$2$$);
    this.$_line2$.$setX1$($x1$$3$$);
    this.$_line2$.$setX2$($dvt$$2$$);
  };
  $dvt$$2$$.$AfSeparator$.prototype.$getTagName$ = function $$dvt$$2$$$$AfSeparator$$$$getTagName$$() {
    return $dvt$$2$$.$AfSeparator$.$TAG_NAME$;
  };
  $dvt$$2$$.$AfSeparator$.prototype.$_hasBgShape$ = function $$dvt$$2$$$$AfSeparator$$$$_hasBgShape$$() {
    return !1;
  };
  $dvt$$2$$.$AfShowDetailItem$ = function $$dvt$$2$$$$AfShowDetailItem$$() {
    this.Init();
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfShowDetailItem$, $dvt$$2$$.$AfPanelGroupLayout$, "dvt.AfShowDetailItem");
  $dvt$$2$$.$AfShowDetailItem$.$TAG_NAME$ = "sdi";
  $dvt$$2$$.$AfComponentFactory$.$registerComponent$($dvt$$2$$.$AfShowDetailItem$.$TAG_NAME$, $dvt$$2$$.$AfShowDetailItem$);
  $dvt$$2$$.$AfShowDetailItem$.$ATTR_TEXT$ = "text";
  $dvt$$2$$.$AfShowDetailItem$.$ATTR_ICON$ = "icon";
  $dvt$$2$$.$AfShowDetailItem$.$ATTR_DISABLED$ = "disabled";
  $dvt$$2$$.$AfShowDetailItem$.prototype.$setText$ = function $$dvt$$2$$$$AfShowDetailItem$$$$setText$$($text$$36$$) {
    this.setProperty($dvt$$2$$.$AfShowDetailItem$.$ATTR_TEXT$, $text$$36$$);
    this.$getContentShape$() && this.$getContentShape$().$setTextString$($text$$36$$);
  };
  $dvt$$2$$.$AfShowDetailItem$.prototype.$getText$ = function $$dvt$$2$$$$AfShowDetailItem$$$$getText$$() {
    return this.$getStringProp$($dvt$$2$$.$AfShowDetailItem$.$ATTR_TEXT$, "");
  };
  $dvt$$2$$.$AfShowDetailItem$.prototype.$getIcon$ = function $$dvt$$2$$$$AfShowDetailItem$$$$getIcon$$() {
    return this.$getProperty$($dvt$$2$$.$AfShowDetailItem$.$ATTR_ICON$);
  };
  $dvt$$2$$.$AfShowDetailItem$.prototype.$isDisabled$ = function $$dvt$$2$$$$AfShowDetailItem$$$$isDisabled$$() {
    return this.$getProperty$($dvt$$2$$.$AfShowDetailItem$.$ATTR_DISABLED$);
  };
  $dvt$$2$$.$AfShowDetailItem$.prototype.$GetDefaultStyles$ = function $$dvt$$2$$$$AfShowDetailItem$$$$GetDefaultStyles$$() {
    return $dvt$$2$$.$AfShowDetailItem$.$_afStyles$;
  };
  $dvt$$2$$.$AfShowDetailItem$.prototype.$SetDefaultStyles$ = function $$dvt$$2$$$$AfShowDetailItem$$$$SetDefaultStyles$$($styleList$$26$$) {
    $dvt$$2$$.$AfShowDetailItem$.$_afStyles$ = $styleList$$26$$;
  };
  $dvt$$2$$.$AfShowDetailItem$.prototype.$createContentShape$ = function $$dvt$$2$$$$AfShowDetailItem$$$$createContentShape$$($dvtContext$$25_style$$47$$) {
    this.$_contentPane$ = new $dvt$$2$$.$Container$($dvtContext$$25_style$$47$$, this.$_getUniqueId$());
    $dvtContext$$25_style$$47$$ = this.$getCSSStyle$();
    this.$_contentPane$.$setCSSStyle$($dvtContext$$25_style$$47$$);
    return this.$_contentPane$;
  };
  $dvt$$2$$.$AfShowDetailItem$.prototype.$getTagName$ = function $$dvt$$2$$$$AfShowDetailItem$$$$getTagName$$() {
    return $dvt$$2$$.$AfShowDetailItem$.$TAG_NAME$;
  };
  $dvt$$2$$.$AfShowDetailItem$.prototype.$SetDOVisible$ = function $$dvt$$2$$$$AfShowDetailItem$$$$SetDOVisible$$($dvt$$2$$) {
    this.$_bgShape$ && this.$_bgShape$.$setVisible$($dvt$$2$$);
  };
  $dvt$$2$$.$AfShowDetailItem$.prototype.$getLayout$ = function $$dvt$$2$$$$AfShowDetailItem$$$$getLayout$$() {
    return $dvt$$2$$.$AfPanelGroupLayout$.$LAYOUT_VERTICAL$;
  };
  $dvt$$2$$.$AfShowDetailItem$.prototype.$registerAsTabStop$ = function $$dvt$$2$$$$AfShowDetailItem$$$$registerAsTabStop$$() {
    this.$_afContext$.$registerTabStop$(this);
  };
  $dvt$$2$$.$AfShowDetailItem$.prototype.$getAriaLabel$ = function $$dvt$$2$$$$AfShowDetailItem$$$$getAriaLabel$$() {
    var $count$$13_parent$$45$$ = this.getParent(), $desc$$14$$ = this.$getShortDesc$();
    $count$$13_parent$$45$$ instanceof $dvt$$2$$.$AfPanelCard$ && ($count$$13_parent$$45$$ = $dvt$$2$$.$Bundle$.$getTranslatedString$($dvt$$2$$.$Bundle$.$AFCOMPONENT_PREFIX$, "ARIA_LABEL_ITEM_COUNT", [$count$$13_parent$$45$$.$getVisibleDetailItemIndex$(this.$getText$() || this.$getIcon$()) + 1, $count$$13_parent$$45$$.$getDetailItemCount$()]), $desc$$14$$ = $desc$$14$$ ? $desc$$14$$ + $dvt$$2$$.$Bundle$.$getTranslatedString$($dvt$$2$$.$Bundle$.$UTIL_PREFIX$, "ARIA_LABEL_DESC_DELIMITER") + $count$$13_parent$$45$$ : 
    $count$$13_parent$$45$$);
    return $desc$$14$$;
  };
  $dvt$$2$$.$AfShowDetailItem$.prototype.$getAriaRole$ = function $$dvt$$2$$$$AfShowDetailItem$$$$getAriaRole$$() {
    return "group";
  };
  $dvt$$2$$.$AfShowDetailItem$.prototype.$CreateKeyboardFocusEffect$ = function $$dvt$$2$$$$AfShowDetailItem$$$$CreateKeyboardFocusEffect$$() {
    var $dispObj$$14$$ = this.getParent().$_bgShape$;
    return new $dvt$$2$$.$KeyboardFocusEffect$(this.$getDvtContext$(), $dispObj$$14$$, new $dvt$$2$$.$Rectangle$($dispObj$$14$$.$getX$(), $dispObj$$14$$.$getY$(), $dispObj$$14$$.getWidth(), $dispObj$$14$$.getHeight()));
  };
  $dvt$$2$$.$PanelCardEvent$ = function $$dvt$$2$$$$PanelCardEvent$$($subType$$2$$, $params$$2$$) {
    this.Init($dvt$$2$$.$PanelCardEvent$.$TYPE$);
    this.$_subType$ = $subType$$2$$;
    this.$_params$ = $params$$2$$;
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$PanelCardEvent$, $dvt$$2$$.$BaseComponentEvent$, "dvt.PanelCardEvent");
  $dvt$$2$$.$PanelCardEvent$.$TYPE$ = "dvtPanelCard";
  $dvt$$2$$.$PanelCardEvent$.$PANELCARD_INDEX_EVENT$ = "indexEvent";
  $dvt$$2$$.$PanelCardEvent$.$PANELCARD_FETCH_EVENT$ = "fetchEvent";
  $dvt$$2$$.$PanelCardEvent$.prototype.$getSubType$ = function $$dvt$$2$$$$PanelCardEvent$$$$getSubType$$() {
    return this.$_subType$;
  };
  var $DvtPanelCardButtonLAFUtils$$ = {};
  $dvt$$2$$.$Obj$.$createSubclass$($DvtPanelCardButtonLAFUtils$$, $dvt$$2$$.$Obj$, "DvtPanelCardButtonLAFUtils");
  $DvtPanelCardButtonLAFUtils$$.$R$ = 2;
  $DvtPanelCardButtonLAFUtils$$.$TAN_PI_8$ = Math.tan(Math.PI / 8) * $DvtPanelCardButtonLAFUtils$$.$R$;
  $DvtPanelCardButtonLAFUtils$$.$SIN_PI_4$ = Math.sin(Math.PI / 4) * $DvtPanelCardButtonLAFUtils$$.$R$;
  $DvtPanelCardButtonLAFUtils$$.$createLeftArrowState$ = function $$DvtPanelCardButtonLAFUtils$$$$createLeftArrowState$$($dvt$$2$$, $state$$24$$, $buttonStyles$$5$$) {
    var $s$$80$$ = $DvtPanelCardButtonLAFUtils$$.$buttonShape$($dvt$$2$$, $state$$24$$, "la" + $state$$24$$, $buttonStyles$$5$$);
    $DvtPanelCardButtonLAFUtils$$.$make_leftarrow_Icon$($dvt$$2$$, $s$$80$$, $state$$24$$, $buttonStyles$$5$$);
    return $s$$80$$;
  };
  $DvtPanelCardButtonLAFUtils$$.$createRightArrowState$ = function $$DvtPanelCardButtonLAFUtils$$$$createRightArrowState$$($dvt$$2$$, $state$$25$$, $buttonStyles$$6$$) {
    var $s$$81$$ = $DvtPanelCardButtonLAFUtils$$.$buttonShape$($dvt$$2$$, $state$$25$$, "ra" + $state$$25$$, $buttonStyles$$6$$);
    $DvtPanelCardButtonLAFUtils$$.$make_rightarrow_Icon$($dvt$$2$$, $s$$81$$, $state$$25$$, $buttonStyles$$6$$);
    return $s$$81$$;
  };
  $DvtPanelCardButtonLAFUtils$$.$ena_lineAndFill$ = function $$DvtPanelCardButtonLAFUtils$$$$ena_lineAndFill$$($t$$13$$, $buttonStyle$$6$$) {
    var $fillType_startColor$$1$$ = "gradient", $borderColor$$5_midColor$$ = "#9BA2B0", $backgroundColor$$ = "#F4F8F9";
    null != $buttonStyle$$6$$ && ($fillType_startColor$$1$$ = $DvtPanelCardButtonLAFUtils$$.$getStyle$($buttonStyle$$6$$, $dvt$$2$$.$CSSStyle$.$FILL_TYPE$, $fillType_startColor$$1$$), $borderColor$$5_midColor$$ = $DvtPanelCardButtonLAFUtils$$.$getStyle$($buttonStyle$$6$$, $dvt$$2$$.$CSSStyle$.$BORDER_COLOR$, $borderColor$$5_midColor$$), $backgroundColor$$ = $DvtPanelCardButtonLAFUtils$$.$getStyle$($buttonStyle$$6$$, $dvt$$2$$.$CSSStyle$.$BACKGROUND_COLOR$, $backgroundColor$$));
    $t$$13$$.$setSolidStroke$($borderColor$$5_midColor$$);
    "solid" == $fillType_startColor$$1$$ ? $t$$13$$.$setSolidFill$($backgroundColor$$) : ($fillType_startColor$$1$$ = $backgroundColor$$, $borderColor$$5_midColor$$ = "#EBEFF1", "#F4F8F9" != $fillType_startColor$$1$$ && ($borderColor$$5_midColor$$ = $dvt$$2$$.$ColorUtils$.$inferColor$("#F4F8F9", "#EBEFF1", $fillType_startColor$$1$$)), $t$$13$$.$setFill$(new $dvt$$2$$.$LinearGradientFill$(-270, [$fillType_startColor$$1$$, $borderColor$$5_midColor$$, "#FFFFFF"], [1, 1, 1], [40 / 255, 130 / 255, 200 / 
    255], [0, 0, 16, 16])));
  };
  $DvtPanelCardButtonLAFUtils$$.$ovr_lineAndFill$ = function $$DvtPanelCardButtonLAFUtils$$$$ovr_lineAndFill$$($t$$14$$, $buttonStyle$$7$$) {
    var $fillType$$1_startColor$$2$$ = "gradient", $borderColor$$6_startColorTwo$$ = "#404451", $backgroundColor$$1_midColor$$1$$ = "#7BA0D9";
    null != $buttonStyle$$7$$ && ($fillType$$1_startColor$$2$$ = $DvtPanelCardButtonLAFUtils$$.$getStyle$($buttonStyle$$7$$, $dvt$$2$$.$CSSStyle$.$FILL_TYPE$, $fillType$$1_startColor$$2$$), $borderColor$$6_startColorTwo$$ = $DvtPanelCardButtonLAFUtils$$.$getStyle$($buttonStyle$$7$$, $dvt$$2$$.$CSSStyle$.$BORDER_COLOR$, $borderColor$$6_startColorTwo$$), $backgroundColor$$1_midColor$$1$$ = $DvtPanelCardButtonLAFUtils$$.$getStyle$($buttonStyle$$7$$, $dvt$$2$$.$CSSStyle$.$BACKGROUND_COLOR$, $backgroundColor$$1_midColor$$1$$));
    $t$$14$$.$setSolidStroke$($borderColor$$6_startColorTwo$$);
    if ("solid" == $fillType$$1_startColor$$2$$) {
      $t$$14$$.$setSolidFill$($backgroundColor$$1_midColor$$1$$);
    } else {
      var $fillType$$1_startColor$$2$$ = $backgroundColor$$1_midColor$$1$$, $borderColor$$6_startColorTwo$$ = "#437ACD", $backgroundColor$$1_midColor$$1$$ = "#3474D3", $endColor$$2$$ = "#BFD8FB";
      "#7BA0D9" != $fillType$$1_startColor$$2$$ && ($borderColor$$6_startColorTwo$$ = $dvt$$2$$.$ColorUtils$.$inferColor$("#7BA0D9", "#437ACD", $fillType$$1_startColor$$2$$), $backgroundColor$$1_midColor$$1$$ = $dvt$$2$$.$ColorUtils$.$inferColor$("#7BA0D9", "#3474D3", $fillType$$1_startColor$$2$$), $endColor$$2$$ = $dvt$$2$$.$ColorUtils$.$inferColor$("#7BA0D9", "#BFD8FB", $fillType$$1_startColor$$2$$));
      $t$$14$$.$setFill$(new $dvt$$2$$.$LinearGradientFill$(-270, [$fillType$$1_startColor$$2$$, $borderColor$$6_startColorTwo$$, $backgroundColor$$1_midColor$$1$$, $endColor$$2$$], [1, 1, 1, 1], [0, 160 / 255, 170 / 255, 1], [0, 0, 16, 16]));
    }
  };
  $DvtPanelCardButtonLAFUtils$$.$dwn_lineAndFill$ = function $$DvtPanelCardButtonLAFUtils$$$$dwn_lineAndFill$$($t$$15$$, $buttonStyle$$8$$) {
    var $fillType$$2_startColor$$3$$ = "gradient", $borderColor$$7_midColor$$2$$ = "#303F47", $backgroundColor$$2_endColor$$3$$ = "#69849E";
    null != $buttonStyle$$8$$ && ($fillType$$2_startColor$$3$$ = $DvtPanelCardButtonLAFUtils$$.$getStyle$($buttonStyle$$8$$, $dvt$$2$$.$CSSStyle$.$FILL_TYPE$, $fillType$$2_startColor$$3$$), $borderColor$$7_midColor$$2$$ = $DvtPanelCardButtonLAFUtils$$.$getStyle$($buttonStyle$$8$$, $dvt$$2$$.$CSSStyle$.$BORDER_COLOR$, $borderColor$$7_midColor$$2$$), $backgroundColor$$2_endColor$$3$$ = $DvtPanelCardButtonLAFUtils$$.$getStyle$($buttonStyle$$8$$, $dvt$$2$$.$CSSStyle$.$BACKGROUND_COLOR$, $backgroundColor$$2_endColor$$3$$));
    $t$$15$$.$setSolidStroke$($borderColor$$7_midColor$$2$$);
    "solid" == $fillType$$2_startColor$$3$$ ? $t$$15$$.$setSolidFill$($backgroundColor$$2_endColor$$3$$) : ($fillType$$2_startColor$$3$$ = $backgroundColor$$2_endColor$$3$$, $borderColor$$7_midColor$$2$$ = "#69849E", $backgroundColor$$2_endColor$$3$$ = "#3C4E5E", "#69849E" == $fillType$$2_startColor$$3$$ && ($borderColor$$7_midColor$$2$$ = $dvt$$2$$.$ColorUtils$.$inferColor$("#69849E", "#69849E", $fillType$$2_startColor$$3$$), $backgroundColor$$2_endColor$$3$$ = $dvt$$2$$.$ColorUtils$.$inferColor$("#69849E", 
    "#3C4E5E", $fillType$$2_startColor$$3$$)), $t$$15$$.$setFill$(new $dvt$$2$$.$LinearGradientFill$(-270, [$fillType$$2_startColor$$3$$, $borderColor$$7_midColor$$2$$, $backgroundColor$$2_endColor$$3$$], [1, 1, 1], [0, 125 / 255, 1], [0, 0, 16, 16])));
  };
  $DvtPanelCardButtonLAFUtils$$.$ena_Icon_lineAndFill$ = function $$DvtPanelCardButtonLAFUtils$$$$ena_Icon_lineAndFill$$($t$$16$$, $buttonStyle$$9$$) {
    var $borderColor$$8$$ = "#303F47", $backgroundColor$$3$$ = "#0066FF";
    null != $buttonStyle$$9$$ && ($borderColor$$8$$ = $DvtPanelCardButtonLAFUtils$$.$getStyle$($buttonStyle$$9$$, $dvt$$2$$.$CSSStyle$.$BORDER_COLOR$, $borderColor$$8$$), $backgroundColor$$3$$ = $DvtPanelCardButtonLAFUtils$$.$getStyle$($buttonStyle$$9$$, $dvt$$2$$.$CSSStyle$.$COLOR$, $backgroundColor$$3$$));
    $t$$16$$.$setSolidStroke$($borderColor$$8$$);
    $t$$16$$.$setSolidFill$($backgroundColor$$3$$);
  };
  $DvtPanelCardButtonLAFUtils$$.$ovr_Icon_lineAndFill$ = function $$DvtPanelCardButtonLAFUtils$$$$ovr_Icon_lineAndFill$$($t$$17$$, $buttonStyle$$10$$) {
    var $borderColor$$9$$ = "#303F47", $backgroundColor$$4$$ = "#FFFFFF";
    null != $buttonStyle$$10$$ && ($borderColor$$9$$ = $DvtPanelCardButtonLAFUtils$$.$getStyle$($buttonStyle$$10$$, $dvt$$2$$.$CSSStyle$.$BORDER_COLOR$, $borderColor$$9$$), $backgroundColor$$4$$ = $DvtPanelCardButtonLAFUtils$$.$getStyle$($buttonStyle$$10$$, $dvt$$2$$.$CSSStyle$.$COLOR$, $backgroundColor$$4$$));
    $t$$17$$.$setSolidStroke$($borderColor$$9$$);
    $t$$17$$.$setSolidFill$($backgroundColor$$4$$);
  };
  $DvtPanelCardButtonLAFUtils$$.$dwn_Icon_lineAndFill$ = function $$DvtPanelCardButtonLAFUtils$$$$dwn_Icon_lineAndFill$$($t$$18$$, $buttonStyle$$11$$) {
    var $borderColor$$10$$ = "#303F47", $backgroundColor$$5$$ = "#FFFFFF";
    null != $buttonStyle$$11$$ && ($borderColor$$10$$ = $DvtPanelCardButtonLAFUtils$$.$getStyle$($buttonStyle$$11$$, $dvt$$2$$.$CSSStyle$.$BORDER_COLOR$, $borderColor$$10$$), $backgroundColor$$5$$ = $DvtPanelCardButtonLAFUtils$$.$getStyle$($buttonStyle$$11$$, $dvt$$2$$.$CSSStyle$.$COLOR$, $backgroundColor$$5$$));
    $t$$18$$.$setSolidStroke$($borderColor$$10$$);
    $t$$18$$.$setSolidFill$($backgroundColor$$5$$);
  };
  $DvtPanelCardButtonLAFUtils$$.$fillShape$ = function $$DvtPanelCardButtonLAFUtils$$$$fillShape$$($buttonStyle$$12_st$$, $t$$19$$, $buttonStyles$$7$$) {
    switch($buttonStyle$$12_st$$) {
      case $dvt$$2$$.$Button$.$STATE_ENABLED$:
        $buttonStyle$$12_st$$ = $buttonStyles$$7$$ ? $buttonStyles$$7$$[0] : null;
        $DvtPanelCardButtonLAFUtils$$.$ena_lineAndFill$($t$$19$$, $buttonStyle$$12_st$$);
        break;
      case $dvt$$2$$.$Button$.$STATE_OVER$:
        $buttonStyle$$12_st$$ = $buttonStyles$$7$$ ? $buttonStyles$$7$$[1] : null;
        $DvtPanelCardButtonLAFUtils$$.$ovr_lineAndFill$($t$$19$$, $buttonStyle$$12_st$$);
        break;
      case $dvt$$2$$.$Button$.$STATE_DOWN$:
        $buttonStyle$$12_st$$ = $buttonStyles$$7$$ ? $buttonStyles$$7$$[2] : null, $DvtPanelCardButtonLAFUtils$$.$dwn_lineAndFill$($t$$19$$, $buttonStyle$$12_st$$);
    }
  };
  $DvtPanelCardButtonLAFUtils$$.$fillIconShape$ = function $$DvtPanelCardButtonLAFUtils$$$$fillIconShape$$($buttonStyle$$13_st$$1$$, $t$$20$$, $buttonStyles$$8$$) {
    switch($buttonStyle$$13_st$$1$$) {
      case $dvt$$2$$.$Button$.$STATE_ENABLED$:
        $buttonStyle$$13_st$$1$$ = $buttonStyles$$8$$ ? $buttonStyles$$8$$[0] : null;
        $DvtPanelCardButtonLAFUtils$$.$ena_Icon_lineAndFill$($t$$20$$, $buttonStyle$$13_st$$1$$);
        break;
      case $dvt$$2$$.$Button$.$STATE_OVER$:
        $buttonStyle$$13_st$$1$$ = $buttonStyles$$8$$ ? $buttonStyles$$8$$[1] : null;
        $DvtPanelCardButtonLAFUtils$$.$ovr_Icon_lineAndFill$($t$$20$$, $buttonStyle$$13_st$$1$$);
        break;
      case $dvt$$2$$.$Button$.$STATE_DOWN$:
        $buttonStyle$$13_st$$1$$ = $buttonStyles$$8$$ ? $buttonStyles$$8$$[2] : null, $DvtPanelCardButtonLAFUtils$$.$dwn_Icon_lineAndFill$($t$$20$$, $buttonStyle$$13_st$$1$$);
    }
  };
  $DvtPanelCardButtonLAFUtils$$.$buttonShape$ = function $$DvtPanelCardButtonLAFUtils$$$$buttonShape$$($dvtContext$$28_shape$$25$$, $state$$26$$, $id$$71$$, $buttonStyles$$9$$) {
    var $r$$2$$ = $DvtPanelCardButtonLAFUtils$$.$R$, $ww$$50$$ = 16 - 2 * $r$$2$$, $hh$$45$$ = 16 - 2 * $r$$2$$, $x$$82$$ = $ww$$50$$ + $r$$2$$, $y$$64$$ = $hh$$45$$ + $r$$2$$, $cmds$$ = $dvt$$2$$.$PathUtils$.moveTo($x$$82$$ + $r$$2$$, $y$$64$$), $cmds$$ = $cmds$$ + $dvt$$2$$.$PathUtils$.$quadTo$($r$$2$$ + $x$$82$$, $DvtPanelCardButtonLAFUtils$$.$TAN_PI_8$ + $y$$64$$, $DvtPanelCardButtonLAFUtils$$.$SIN_PI_4$ + $x$$82$$, $DvtPanelCardButtonLAFUtils$$.$SIN_PI_4$ + $y$$64$$), $cmds$$ = $cmds$$ + $dvt$$2$$.$PathUtils$.$quadTo$($DvtPanelCardButtonLAFUtils$$.$TAN_PI_8$ + 
    $x$$82$$, $r$$2$$ + $y$$64$$, $x$$82$$, $r$$2$$ + $y$$64$$), $cmds$$ = $cmds$$ + $dvt$$2$$.$PathUtils$.lineTo($x$$82$$, $r$$2$$ + $y$$64$$), $cmds$$ = $cmds$$ + $dvt$$2$$.$PathUtils$.lineTo($x$$82$$ - $ww$$50$$, $r$$2$$ + $y$$64$$), $x$$82$$ = $x$$82$$ - $ww$$50$$, $cmds$$ = $cmds$$ + $dvt$$2$$.$PathUtils$.$quadTo$(-$DvtPanelCardButtonLAFUtils$$.$TAN_PI_8$ + $x$$82$$, $r$$2$$ + $y$$64$$, -$DvtPanelCardButtonLAFUtils$$.$SIN_PI_4$ + $x$$82$$, $DvtPanelCardButtonLAFUtils$$.$SIN_PI_4$ + $y$$64$$), 
    $cmds$$ = $cmds$$ + $dvt$$2$$.$PathUtils$.$quadTo$(-$r$$2$$ + $x$$82$$, $DvtPanelCardButtonLAFUtils$$.$TAN_PI_8$ + $y$$64$$, -$r$$2$$ + $x$$82$$, $y$$64$$), $cmds$$ = $cmds$$ + $dvt$$2$$.$PathUtils$.lineTo(-$r$$2$$ + $x$$82$$, $y$$64$$), $cmds$$ = $cmds$$ + $dvt$$2$$.$PathUtils$.lineTo(-$r$$2$$ + $x$$82$$, $y$$64$$ - $hh$$45$$), $y$$64$$ = $y$$64$$ - $hh$$45$$, $cmds$$ = $cmds$$ + $dvt$$2$$.$PathUtils$.$quadTo$(-$r$$2$$ + $x$$82$$, -$DvtPanelCardButtonLAFUtils$$.$TAN_PI_8$ + $y$$64$$, -$DvtPanelCardButtonLAFUtils$$.$SIN_PI_4$ + 
    $x$$82$$, -$DvtPanelCardButtonLAFUtils$$.$SIN_PI_4$ + $y$$64$$), $cmds$$ = $cmds$$ + $dvt$$2$$.$PathUtils$.$quadTo$(-$DvtPanelCardButtonLAFUtils$$.$TAN_PI_8$ + $x$$82$$, -$r$$2$$ + $y$$64$$, $x$$82$$, -$r$$2$$ + $y$$64$$), $cmds$$ = $cmds$$ + $dvt$$2$$.$PathUtils$.lineTo($x$$82$$, -$r$$2$$ + $y$$64$$), $cmds$$ = $cmds$$ + $dvt$$2$$.$PathUtils$.lineTo($x$$82$$ + $ww$$50$$, -$r$$2$$ + $y$$64$$), $x$$82$$ = $x$$82$$ + $ww$$50$$, $cmds$$ = $cmds$$ + $dvt$$2$$.$PathUtils$.$quadTo$($DvtPanelCardButtonLAFUtils$$.$TAN_PI_8$ + 
    $x$$82$$, -$r$$2$$ + $y$$64$$, $DvtPanelCardButtonLAFUtils$$.$SIN_PI_4$ + $x$$82$$, -$DvtPanelCardButtonLAFUtils$$.$SIN_PI_4$ + $y$$64$$), $cmds$$ = $cmds$$ + $dvt$$2$$.$PathUtils$.$quadTo$($r$$2$$ + $x$$82$$, -$DvtPanelCardButtonLAFUtils$$.$TAN_PI_8$ + $y$$64$$, $r$$2$$ + $x$$82$$, $y$$64$$), $cmds$$ = $cmds$$ + $dvt$$2$$.$PathUtils$.closePath();
    $dvtContext$$28_shape$$25$$ = new $dvt$$2$$.$Path$($dvtContext$$28_shape$$25$$, $cmds$$, $id$$71$$);
    $DvtPanelCardButtonLAFUtils$$.$fillShape$($state$$26$$, $dvtContext$$28_shape$$25$$, $buttonStyles$$9$$);
    return $dvtContext$$28_shape$$25$$;
  };
  $DvtPanelCardButtonLAFUtils$$.$make_leftarrow_Icon$ = function $$DvtPanelCardButtonLAFUtils$$$$make_leftarrow_Icon$$($dvtContext$$29_shape$$26$$, $parent$$46$$, $st$$2$$, $buttonStyles$$10$$) {
    var $x$$83$$ = 3.85, $y$$65$$ = 3.85, $cmds$$1$$ = $dvt$$2$$.$PathUtils$.moveTo($x$$83$$, $y$$65$$ + 4.5), $y$$65$$ = $y$$65$$ + 4.5, $cmds$$1$$ = $cmds$$1$$ + $dvt$$2$$.$PathUtils$.lineTo($x$$83$$ + 6, $y$$65$$ - 4.5), $x$$83$$ = $x$$83$$ + 6, $y$$65$$ = $y$$65$$ - 4.5, $cmds$$1$$ = $cmds$$1$$ + $dvt$$2$$.$PathUtils$.lineTo($x$$83$$, $y$$65$$ + 9), $cmds$$1$$ = $cmds$$1$$ + $dvt$$2$$.$PathUtils$.lineTo($x$$83$$ - 6, $y$$65$$ + 9 - 4.5), $cmds$$1$$ = $cmds$$1$$ + $dvt$$2$$.$PathUtils$.closePath();
    $dvtContext$$29_shape$$26$$ = new $dvt$$2$$.$Path$($dvtContext$$29_shape$$26$$, $cmds$$1$$);
    $parent$$46$$.$addChild$($dvtContext$$29_shape$$26$$);
    $DvtPanelCardButtonLAFUtils$$.$fillIconShape$($st$$2$$, $dvtContext$$29_shape$$26$$, $buttonStyles$$10$$);
  };
  $DvtPanelCardButtonLAFUtils$$.$make_rightarrow_Icon$ = function $$DvtPanelCardButtonLAFUtils$$$$make_rightarrow_Icon$$($dvtContext$$30_shape$$27$$, $parent$$47$$, $st$$3$$, $buttonStyles$$11$$) {
    var $x$$84$$ = 6.95, $y$$66$$ = 3.85, $cmds$$2$$ = $dvt$$2$$.$PathUtils$.moveTo($x$$84$$, $y$$66$$), $cmds$$2$$ = $cmds$$2$$ + $dvt$$2$$.$PathUtils$.lineTo($x$$84$$, $y$$66$$ + 9), $y$$66$$ = $y$$66$$ + 9, $cmds$$2$$ = $cmds$$2$$ + $dvt$$2$$.$PathUtils$.lineTo($x$$84$$ + 6, $y$$66$$ - 4.5), $cmds$$2$$ = $cmds$$2$$ + $dvt$$2$$.$PathUtils$.lineTo($x$$84$$ + 6 - 6, $y$$66$$ - 4.5 - 4.5);
    $dvt$$2$$.$PathUtils$.closePath();
    $dvtContext$$30_shape$$27$$ = new $dvt$$2$$.$Path$($dvtContext$$30_shape$$27$$, $cmds$$2$$, "rightArrow");
    $parent$$47$$.$addChild$($dvtContext$$30_shape$$27$$);
    $DvtPanelCardButtonLAFUtils$$.$fillIconShape$($st$$3$$, $dvtContext$$30_shape$$27$$, $buttonStyles$$11$$);
  };
  $DvtPanelCardButtonLAFUtils$$.$getStyle$ = function $$DvtPanelCardButtonLAFUtils$$$$getStyle$$($dvt$$2$$, $key$$51$$, $defVal$$) {
    return ($dvt$$2$$ = $dvt$$2$$.$getStyle$($key$$51$$)) ? $dvt$$2$$ : $defVal$$;
  };
  $dvt$$2$$.$AfPanelCard$ = function $$dvt$$2$$$$AfPanelCard$$() {
    this.Init();
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfPanelCard$, $dvt$$2$$.$AfComponent$, "dvt.AfPanelCard");
  $dvt$$2$$.$AfPanelCard$.$TAG_NAME$ = "pc";
  $dvt$$2$$.$AfComponentFactory$.$registerComponent$($dvt$$2$$.$AfPanelCard$.$TAG_NAME$, $dvt$$2$$.$AfPanelCard$);
  $dvt$$2$$.$AfPanelCard$.$ATTR_EFFECT$ = "effect";
  $dvt$$2$$.$AfPanelCard$.$ATTR_CONTENT_DELIVERY$ = "contentDelivery";
  $dvt$$2$$.$AfPanelCard$.$EFFECT_IMMEDIATE$ = "immediate";
  $dvt$$2$$.$AfPanelCard$.$EFFECT_SLIDE_HORZ$ = "slideHorz";
  $dvt$$2$$.$AfPanelCard$.$EFFECT_FLIP_HORZ$ = "flipHorz";
  $dvt$$2$$.$AfPanelCard$.$EFFECT_NODE_FLIP_HORZ$ = "nodeFlipHorz";
  $dvt$$2$$.$AfPanelCard$.$EFFECT_CUBE_ROTATE_HORZ$ = "cubeRotateHorz";
  $dvt$$2$$.$AfPanelCard$.$EFFECT_NODE_CUBE_ROTATE_HORZ$ = "nodeCubeRotateHorz";
  $dvt$$2$$.$AfPanelCard$.$DEFAULT_EFFECT$ = $dvt$$2$$.$AfPanelCard$.$EFFECT_SLIDE_HORZ$;
  $dvt$$2$$.$AfPanelCard$.$OLD_EFFECT_SLIDE_HORZ$ = "slide_horz";
  $dvt$$2$$.$AfPanelCard$.$OLD_EFFECT_FLIP_HORZ$ = "flip_horz";
  $dvt$$2$$.$AfPanelCard$.$OLD_EFFECT_NODE_FLIP_HORZ$ = "node_flip_horz";
  $dvt$$2$$.$AfPanelCard$.$OLD_EFFECT_CUBE_ROTATE_HORZ$ = "cube_rotate_horz";
  $dvt$$2$$.$AfPanelCard$.$OLD_EFFECT_NODE_CUBE_ROTATE_HORZ$ = "node_cube_rotate_horz";
  $dvt$$2$$.$AfPanelCard$.$DISPLAYED_DETAIL_ITEM_INDEX_KEY$ = "dispSdiIdx";
  $dvt$$2$$.$AfPanelCard$.$POPUP_TIMER_INTERVAL$ = 2E3;
  $dvt$$2$$.$AfPanelCard$.$SET_PROP_EVENT$ = "setProp";
  $dvt$$2$$.$AfPanelCard$.$FETCH_DATA_EVENT$ = "fetchData";
  $dvt$$2$$.$AfPanelCard$.$BUTTON_COLOR$ = "#CCCCCC";
  $dvt$$2$$.$AfPanelCard$.$BUTTON_PADDING$ = 0;
  $dvt$$2$$.$AfPanelCard$.$ALTA_BUTTON_HPADDING$ = 5;
  $dvt$$2$$.$AfPanelCard$.$ALTA_BUTTON_VPADDING$ = 0;
  $dvt$$2$$.$AfPanelCard$.$EFFECT_DURATION$ = .5;
  $dvt$$2$$.$AfPanelCard$.$DISABLED_BACKGROUND_COLOR$ = "#E5E5E0";
  $dvt$$2$$.$AfPanelCard$.$DISABLED_BORDER_COLOR$ = "#B9B9B4";
  $dvt$$2$$.$AfPanelCard$.$DISABLED_COLOR$ = "#737373";
  $dvt$$2$$.$AfPanelCard$.$DISABLED_ALPHA$ = .5;
  $dvt$$2$$.$AfPanelCard$.$MAX_TRAIN_ITEM_COUNT$ = 8;
  $dvt$$2$$.$AfPanelCard$.$POPUP_NAME$ = "panelCardNavPopup";
  $dvt$$2$$.$AfPanelCard$.$SHAPE_RECT$ = "rect";
  $dvt$$2$$.$AfPanelCard$.$SHAPE_ROUNDED_RECT$ = "roundedRect";
  $dvt$$2$$.$AfPanelCard$.$SHAPE_ELLIPSE$ = "ellipse";
  $dvt$$2$$.$AfPanelCard$.$DFLT_STYLE_INDX$ = 0;
  $dvt$$2$$.$AfPanelCard$.$DFLT_NAV_STYLE_INDX$ = 1;
  $dvt$$2$$.$AfPanelCard$.$DFLT_NAV_HOVER_STYLE_INDX$ = 2;
  $dvt$$2$$.$AfPanelCard$.$DFLT_NAV_ACTIVE_STYLE_INDX$ = 3;
  $dvt$$2$$.$AfPanelCard$.$DFLT_HEADER_ZOOM_100_STYLE_INDX$ = 4;
  $dvt$$2$$.$AfPanelCard$.$DFLT_HEADER_ZOOM_75_STYLE_INDX$ = 5;
  $dvt$$2$$.$AfPanelCard$.$DFLT_PREV_IMAGES_INDX$ = 6;
  $dvt$$2$$.$AfPanelCard$.$DFLT_PREV_HOVER_IMAGES_INDX$ = 7;
  $dvt$$2$$.$AfPanelCard$.$DFLT_PREV_ACTIVE_IMAGES_INDX$ = 8;
  $dvt$$2$$.$AfPanelCard$.$DFLT_NEXT_IMAGES_INDX$ = 9;
  $dvt$$2$$.$AfPanelCard$.$DFLT_NEXT_HOVER_IMAGES_INDX$ = 10;
  $dvt$$2$$.$AfPanelCard$.$DFLT_NEXT_ACTIVE_IMAGES_INDX$ = 11;
  $dvt$$2$$.$AfPanelCard$.$DFLT_TRAIN_STYLE_INDX$ = 12;
  $dvt$$2$$.$AfPanelCard$.$DFLT_TRAIN_HOVER_STYLE_INDX$ = 13;
  $dvt$$2$$.$AfPanelCard$.$DFLT_TRAIN_ACTIVE_STYLE_INDX$ = 14;
  $dvt$$2$$.$AfPanelCard$.$ROUND_CORNER_SIZE$ = 6;
  $dvt$$2$$.$AfPanelCard$.$convertOldEffectToNew$ = function $$dvt$$2$$$$AfPanelCard$$$convertOldEffectToNew$$($effect$$) {
    return $effect$$ == $dvt$$2$$.$AfPanelCard$.$OLD_EFFECT_SLIDE_HORZ$ ? $dvt$$2$$.$AfPanelCard$.$EFFECT_SLIDE_HORZ$ : $effect$$ == $dvt$$2$$.$AfPanelCard$.$OLD_EFFECT_FLIP_HORZ$ ? $dvt$$2$$.$AfPanelCard$.$EFFECT_FLIP_HORZ$ : $effect$$ == $dvt$$2$$.$AfPanelCard$.$OLD_EFFECT_NODE_FLIP_HORZ$ ? $dvt$$2$$.$AfPanelCard$.$EFFECT_NODE_FLIP_HORZ$ : $effect$$ == $dvt$$2$$.$AfPanelCard$.$OLD_EFFECT_CUBE_ROTATE_HORZ$ ? $dvt$$2$$.$AfPanelCard$.$EFFECT_CUBE_ROTATE_HORZ$ : $effect$$ == $dvt$$2$$.$AfPanelCard$.$OLD_EFFECT_NODE_CUBE_ROTATE_HORZ$ ? 
    $dvt$$2$$.$AfPanelCard$.$EFFECT_NODE_CUBE_ROTATE_HORZ$ : $effect$$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$getEffect$ = function $$dvt$$2$$$$AfPanelCard$$$$getEffect$$() {
    var $effect$$1$$ = this.$getStringProp$($dvt$$2$$.$AfPanelCard$.$ATTR_EFFECT$);
    return $effect$$1$$ ? $dvt$$2$$.$AfPanelCard$.$convertOldEffectToNew$($effect$$1$$) : $dvt$$2$$.$AfPanelCard$.$DEFAULT_EFFECT$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$getContentDelivery$ = function $$dvt$$2$$$$AfPanelCard$$$$getContentDelivery$$() {
    return this.$getStringProp$($dvt$$2$$.$AfPanelCard$.$ATTR_CONTENT_DELIVERY$);
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$getNextButtonIcon$ = function $$dvt$$2$$$$AfPanelCard$$$$getNextButtonIcon$$() {
    this.$_nextButtonIcon$ || (this.$_nextButtonIcon$ = this.$getDefaultStyleAt$($dvt$$2$$.$AfPanelCard$.$DFLT_NEXT_IMAGES_INDX$));
    return this.$_nextButtonIcon$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$getNextButtonHoverIcon$ = function $$dvt$$2$$$$AfPanelCard$$$$getNextButtonHoverIcon$$() {
    this.$_nextButtonHoverIcon$ || (this.$_nextButtonHoverIcon$ = this.$getDefaultStyleAt$($dvt$$2$$.$AfPanelCard$.$DFLT_NEXT_HOVER_IMAGES_INDX$));
    return this.$_nextButtonHoverIcon$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$getNextButtonActiveIcon$ = function $$dvt$$2$$$$AfPanelCard$$$$getNextButtonActiveIcon$$() {
    this.$_nextButtonActiveIcon$ || (this.$_nextButtonActiveIcon$ = this.$getDefaultStyleAt$($dvt$$2$$.$AfPanelCard$.$DFLT_NEXT_ACTIVE_IMAGES_INDX$));
    return this.$_nextButtonActiveIcon$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$getPrevButtonIcon$ = function $$dvt$$2$$$$AfPanelCard$$$$getPrevButtonIcon$$() {
    this.$_prevButtonIcon$ || (this.$_prevButtonIcon$ = this.$getDefaultStyleAt$($dvt$$2$$.$AfPanelCard$.$DFLT_PREV_IMAGES_INDX$));
    return this.$_prevButtonIcon$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$getPrevButtonHoverIcon$ = function $$dvt$$2$$$$AfPanelCard$$$$getPrevButtonHoverIcon$$() {
    this.$_prevButtonHoverIcon$ || (this.$_prevButtonHoverIcon$ = this.$getDefaultStyleAt$($dvt$$2$$.$AfPanelCard$.$DFLT_PREV_HOVER_IMAGES_INDX$));
    return this.$_prevButtonHoverIcon$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$getPrevButtonActiveIcon$ = function $$dvt$$2$$$$AfPanelCard$$$$getPrevButtonActiveIcon$$() {
    this.$_prevButtonActiveIcon$ || (this.$_prevButtonActiveIcon$ = this.$getDefaultStyleAt$($dvt$$2$$.$AfPanelCard$.$DFLT_PREV_ACTIVE_IMAGES_INDX$));
    return this.$_prevButtonActiveIcon$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$GetDefaultStyles$ = function $$dvt$$2$$$$AfPanelCard$$$$GetDefaultStyles$$() {
    return $dvt$$2$$.$AfPanelCard$.$_afStyles$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$SetDefaultStyles$ = function $$dvt$$2$$$$AfPanelCard$$$$SetDefaultStyles$$($styleList$$27$$) {
    $dvt$$2$$.$AfPanelCard$.$_afStyles$ = $styleList$$27$$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$getDefaultStyleAt$ = function $$dvt$$2$$$$AfPanelCard$$$$getDefaultStyleAt$$($dvt$$2$$) {
    return this.$_getAfStyleAt$($dvt$$2$$);
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$getHeaderStyle$ = function $$dvt$$2$$$$AfPanelCard$$$$getHeaderStyle$$() {
    this.$_headerStyle$ || (.75 < this.$getZoomPct$() ? this.$_headerStyle$ = this.$getDefaultStyleAt$($dvt$$2$$.$AfPanelCard$.$DFLT_HEADER_ZOOM_100_STYLE_INDX$) : this.$_headerStyle$ = this.$getDefaultStyleAt$($dvt$$2$$.$AfPanelCard$.$DFLT_HEADER_ZOOM_75_STYLE_INDX$));
    return this.$_headerStyle$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$createDisplayObj$ = function $$dvt$$2$$$$AfPanelCard$$$$createDisplayObj$$($afContext$$54$$) {
    this.$_setNode$($afContext$$54$$.$getParentNode$());
    var $dispObj$$15$$ = $dvt$$2$$.$AfPanelCard$.$superclass$.$createDisplayObj$.call(this, $afContext$$54$$);
    this.$_bTransitioning$ = !1;
    this.$_bNavLoop$ = !0;
    this.$addChildDisplayObjs$($afContext$$54$$, this.$_contentPane$);
    if (this.$needsNavUi$()) {
      this.$CreatePrevButton$();
      this.$CreateNextButton$();
      var $nextButton$$ = this.$_nextButton$;
      $afContext$$54$$.$registerTabStop$(this.$_prevButton$);
      $afContext$$54$$.$registerTabStop$($nextButton$$);
    }
    return $dispObj$$15$$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$addChildDisplayObjs$ = function $$dvt$$2$$$$AfPanelCard$$$$addChildDisplayObjs$$($dvt$$2$$, $parentDO$$1$$) {
    var $childDO$$1_sdi_sdiIndex$$7$$ = this.$getDisplayedDetailItemIndex$();
    $childDO$$1_sdi_sdiIndex$$7$$ || ($childDO$$1_sdi_sdiIndex$$7$$ = 0);
    !($childDO$$1_sdi_sdiIndex$$7$$ = this.$getChildAt$($childDO$$1_sdi_sdiIndex$$7$$)) || $childDO$$1_sdi_sdiIndex$$7$$.$renderMe$ && !$childDO$$1_sdi_sdiIndex$$7$$.$renderMe$() || ($childDO$$1_sdi_sdiIndex$$7$$ = $childDO$$1_sdi_sdiIndex$$7$$.$createDisplayObj$($dvt$$2$$)) && $parentDO$$1$$.$addChild$($childDO$$1_sdi_sdiIndex$$7$$);
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$createContentShape$ = function $$dvt$$2$$$$AfPanelCard$$$$createContentShape$$($dvtContext$$31_radius$$6$$) {
    var $style$$50$$ = this.$getCSSStyle$();
    switch(this.$getNodeShape$()) {
      case $dvt$$2$$.$AfPanelCard$.$SHAPE_RECT$:
        this.$_contentPane$ = new $dvt$$2$$.Rect($dvtContext$$31_radius$$6$$, 0, 0, 0, 0, this.$_getUniqueId$());
        $style$$50$$.$setStyle$("border-radius", null);
        break;
      case $dvt$$2$$.$AfPanelCard$.$SHAPE_ELLIPSE$:
        this.$_contentPane$ = new $dvt$$2$$.$Path$($dvtContext$$31_radius$$6$$, "", this.$_getUniqueId$());
        break;
      default:
        this.$_contentPane$ = new $dvt$$2$$.Rect($dvtContext$$31_radius$$6$$, 0, 0, 0, 0, this.$_getUniqueId$()), $dvtContext$$31_radius$$6$$ = $style$$50$$.$getStyle$($dvt$$2$$.$CSSStyle$.$BORDER_RADIUS$), $dvtContext$$31_radius$$6$$ || ($dvtContext$$31_radius$$6$$ = $dvt$$2$$.$AfPanelCard$.$ROUND_CORNER_SIZE$), this.$_contentPane$.$setRx$($dvtContext$$31_radius$$6$$), this.$_contentPane$.$setRy$($dvtContext$$31_radius$$6$$);
    }
    this.$_contentPane$.$setCSSStyle$($style$$50$$);
    this.$associate$(this.$_contentPane$, this);
    return this.$_contentPane$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$getContentShape$ = function $$dvt$$2$$$$AfPanelCard$$$$getContentShape$$() {
    return this.$_contentPane$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$createBackgroundShape$ = function $$dvt$$2$$$$AfPanelCard$$$$createBackgroundShape$$($dvt$$2$$, $shape$$28$$) {
    return $shape$$28$$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$addChild$ = function $$dvt$$2$$$$AfPanelCard$$$$addChild$$($comp$$7$$) {
    $comp$$7$$ instanceof $dvt$$2$$.$AfShowDetailItem$ && $dvt$$2$$.$AfPanelCard$.$superclass$.$addChild$.call(this, $comp$$7$$);
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$renderChild$ = function $$dvt$$2$$$$AfPanelCard$$$$renderChild$$($dvt$$2$$) {
    $dvt$$2$$.$_render$(this.$_acw$, this.$_ach$);
    this.$_child$ = $dvt$$2$$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$renderChildren$ = function $$dvt$$2$$$$AfPanelCard$$$$renderChildren$$() {
    var $dvt$$2$$ = this.$getDisplayedDetailItemIndex$();
    ($dvt$$2$$ = this.$getVisibleChild$($dvt$$2$$)) && $dvt$$2$$.$_bgShape$ && this.$renderChild$($dvt$$2$$);
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$getDetailItemCount$ = function $$dvt$$2$$$$AfPanelCard$$$$getDetailItemCount$$() {
    for (var $dvt$$2$$ = this.$_getChildren$(), $numChildren$$8$$ = 0, $i$$193$$ = 0;$i$$193$$ < $dvt$$2$$.length;$i$$193$$++) {
      var $child$$44$$ = $dvt$$2$$[$i$$193$$];
      $child$$44$$.$isRendered$() && $child$$44$$.$isVisible$() && $numChildren$$8$$++;
    }
    return $numChildren$$8$$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$getVisibleChild$ = function $$dvt$$2$$$$AfPanelCard$$$$getVisibleChild$$($dvt$$2$$) {
    for (var $children$$3$$ = this.$_getChildren$(), $numChildren$$9$$ = 0, $i$$194$$ = 0;$i$$194$$ < $children$$3$$.length;$i$$194$$++) {
      var $child$$45$$ = $children$$3$$[$i$$194$$];
      if ($child$$45$$.$isRendered$() && $child$$45$$.$isVisible$()) {
        if ($numChildren$$9$$ == $dvt$$2$$) {
          return $child$$45$$;
        }
        $numChildren$$9$$++;
      }
    }
    return null;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$getVisibleDetailItemIndex$ = function $$dvt$$2$$$$AfPanelCard$$$$getVisibleDetailItemIndex$$($dvt$$2$$) {
    for (var $children$$4$$ = this.$_getChildren$(), $numChildren$$10$$ = 0, $i$$195$$ = 0;$i$$195$$ < $children$$4$$.length;$i$$195$$++) {
      var $child$$46$$ = $children$$4$$[$i$$195$$];
      if ($child$$46$$.$isRendered$() && $child$$46$$.$isVisible$()) {
        if ($dvt$$2$$ == $child$$46$$.$getText$() || $dvt$$2$$ == $child$$46$$.$getIcon$()) {
          return $numChildren$$10$$;
        }
        $numChildren$$10$$++;
      }
    }
    return -1;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$addEvtListener$ = function $$dvt$$2$$$$AfPanelCard$$$$addEvtListener$$($dvt$$2$$, $obj$$104$$) {
    var $listeners$$ = this.$_getListeners$(!0);
    $listeners$$.push($dvt$$2$$);
    $listeners$$.push($obj$$104$$);
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$removeEvtListener$ = function $$dvt$$2$$$$AfPanelCard$$$$removeEvtListener$$($dvt$$2$$, $obj$$105$$) {
    var $listeners$$1$$ = this.$_getListeners$(!1);
    if ($listeners$$1$$) {
      for (var $i$$196$$ = 0;$i$$196$$ < $listeners$$1$$.length;$i$$196$$ += 2) {
        if ($listeners$$1$$[$i$$196$$] === $dvt$$2$$ && $listeners$$1$$[$i$$196$$ + 1] === $obj$$105$$) {
          $listeners$$1$$.splice($i$$196$$, 2);
          break;
        }
      }
    }
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$_getListeners$ = function $$dvt$$2$$$$AfPanelCard$$$$_getListeners$$($dvt$$2$$) {
    if (!this.$_listenerObj$) {
      if ($dvt$$2$$) {
        this.$_listenerObj$ = [];
      } else {
        return null;
      }
    }
    return this.$_listenerObj$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$FireListener$ = function $$dvt$$2$$$$AfPanelCard$$$$FireListener$$($dvt$$2$$, $index$$90$$) {
    var $listeners$$2$$ = this.$_getListeners$(!1);
    if ($listeners$$2$$) {
      for (var $i$$197$$ = 0;$i$$197$$ < $listeners$$2$$.length;$i$$197$$ += 2) {
        var $obj$$106$$ = $listeners$$2$$[$i$$197$$ + 1];
        $listeners$$2$$[$i$$197$$] && $listeners$$2$$[$i$$197$$].call($obj$$106$$, $dvt$$2$$, this.$_getNodeId$(), $index$$90$$);
      }
    }
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$getTagName$ = function $$dvt$$2$$$$AfPanelCard$$$$getTagName$$() {
    return $dvt$$2$$.$AfPanelCard$.$TAG_NAME$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$isPanelCardDeliveryLazy$ = function $$dvt$$2$$$$AfPanelCard$$$$isPanelCardDeliveryLazy$$() {
    var $dvt$$2$$ = this.$getContentDelivery$();
    return $dvt$$2$$ && "lazy" == $dvt$$2$$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$setDisplayedDetailItemIndex$ = function $$dvt$$2$$$$AfPanelCard$$$$setDisplayedDetailItemIndex$$($index$$91$$) {
    var $node$$140$$ = this.$_getNode$();
    $node$$140$$ && $node$$140$$.$setStateProp$ && $node$$140$$.$setStateProp$($dvt$$2$$.$AfPanelCard$.$DISPLAYED_DETAIL_ITEM_INDEX_KEY$, $index$$91$$);
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$getDisplayedDetailItemIndex$ = function $$dvt$$2$$$$AfPanelCard$$$$getDisplayedDetailItemIndex$$() {
    var $index$$92_node$$141$$;
    return ($index$$92_node$$141$$ = this.$_getNode$()) && $index$$92_node$$141$$.$getStateProp$ && ($index$$92_node$$141$$ = $index$$92_node$$141$$.$getStateProp$($dvt$$2$$.$AfPanelCard$.$DISPLAYED_DETAIL_ITEM_INDEX_KEY$), null != $index$$92_node$$141$$ && 0 <= $index$$92_node$$141$$ && $index$$92_node$$141$$ < this.$getDetailItemCount$()) ? $index$$92_node$$141$$ : 0;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$hasNextDetailItem$ = function $$dvt$$2$$$$AfPanelCard$$$$hasNextDetailItem$$() {
    return this.$_bNavLoop$ ? 1 < this.$getDetailItemCount$() : this.$getDisplayedDetailItemIndex$() < this.$getDetailItemCount$() - 1;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$hasPrevDetailItem$ = function $$dvt$$2$$$$AfPanelCard$$$$hasPrevDetailItem$$() {
    return this.$_bNavLoop$ ? 1 < this.$getDetailItemCount$() : 0 < this.$getDisplayedDetailItemIndex$();
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$displayNextDetailItem$ = function $$dvt$$2$$$$AfPanelCard$$$$displayNextDetailItem$$() {
    this.$hasNextDetailItem$() && this.$displayDetailItem$(this.$getDisplayedDetailItemIndex$() + 1);
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$displayPrevDetailItem$ = function $$dvt$$2$$$$AfPanelCard$$$$displayPrevDetailItem$$() {
    this.$hasPrevDetailItem$() && this.$displayDetailItem$(this.$getDisplayedDetailItemIndex$() - 1);
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$isShowDetailItemLoaded$ = function $$dvt$$2$$$$AfPanelCard$$$$isShowDetailItemLoaded$$($dvt$$2$$) {
    if (this.$getVisibleChild$($dvt$$2$$)) {
      var $diagram$$75$$ = this.$_getDiagram$();
      if ($diagram$$75$$) {
        return $diagram$$75$$.$isShowDetailItemLoaded$(this.$_getNodeId$(), $dvt$$2$$);
      }
    }
    return !1;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$displayDetailItem$ = function $$dvt$$2$$$$AfPanelCard$$$$displayDetailItem$$($index$$94$$) {
    var $bForward$$1_disIndex$$ = this.$getDisplayedDetailItemIndex$();
    if ($bForward$$1_disIndex$$ < $index$$94$$) {
      var $button$$27$$ = this.$_prevButton$;
      $button$$27$$ && $button$$27$$.$isShowingKeyboardFocusEffect$() && $button$$27$$.$hideKeyboardFocusEffect$();
    } else {
      $bForward$$1_disIndex$$ > $index$$94$$ && ($button$$27$$ = this.$_nextButton$) && $button$$27$$.$isShowingKeyboardFocusEffect$() && $button$$27$$.$hideKeyboardFocusEffect$();
    }
    $bForward$$1_disIndex$$ = $index$$94$$ > $bForward$$1_disIndex$$ && !$dvt$$2$$.$Agent$.$isRightToLeft$(this.$getDvtContext$()) || $index$$94$$ < $bForward$$1_disIndex$$ && $dvt$$2$$.$Agent$.$isRightToLeft$(this.$getDvtContext$());
    this.$_bNavLoop$ && ($index$$94$$ > this.$getDetailItemCount$() - 1 ? $index$$94$$ = 0 : 0 > $index$$94$$ && ($index$$94$$ = this.$getDetailItemCount$() - 1));
    this.$_bTransitioning$ || (this.$isShowDetailItemLoaded$($index$$94$$) ? (this.$_bTransitioning$ = !0, this.$setDisplayedDetailItemIndex$($index$$94$$), this.$FireListener$($dvt$$2$$.$AfPanelCard$.$SET_PROP_EVENT$, $index$$94$$), this.$renderDetailItem$($bForward$$1_disIndex$$)) : this.$FireListener$($dvt$$2$$.$AfPanelCard$.$FETCH_DATA_EVENT$, $index$$94$$));
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$renderSelfBeforeChildren$ = function $$dvt$$2$$$$AfPanelCard$$$$renderSelfBeforeChildren$$() {
    $dvt$$2$$.$AfPanelCard$.$superclass$.$renderSelfBeforeChildren$.call(this);
    this.$_acw$ = this.$_cw$;
    var $rootDO_sdi$$4_titleBar$$2$$ = this.$getVisibleChild$(this.$getDisplayedDetailItemIndex$());
    if ($rootDO_sdi$$4_titleBar$$2$$ && ($rootDO_sdi$$4_titleBar$$2$$ = this.$_loadDetailItem$($rootDO_sdi$$4_titleBar$$2$$, !1), $rootDO_sdi$$4_titleBar$$2$$ = this.$CreateTitleBar$($rootDO_sdi$$4_titleBar$$2$$), this.$_ach$ = this.$_ch$ - $rootDO_sdi$$4_titleBar$$2$$.$getDimensions$().$h$, this.$needsNavUi$())) {
      var $rootDO_sdi$$4_titleBar$$2$$ = this.$_bgShape$, $prevButton$$1$$ = this.$_prevButton$, $nextButton$$1$$ = this.$_nextButton$, $maxH$$2$$ = 0;
      $prevButton$$1$$ && ($rootDO_sdi$$4_titleBar$$2$$.contains($prevButton$$1$$) || $rootDO_sdi$$4_titleBar$$2$$.$addChild$($prevButton$$1$$), $maxH$$2$$ = Math.max($maxH$$2$$, $prevButton$$1$$.$getDimensions$().$h$));
      $nextButton$$1$$ && ($rootDO_sdi$$4_titleBar$$2$$.contains($nextButton$$1$$) || $rootDO_sdi$$4_titleBar$$2$$.$addChild$($nextButton$$1$$), $maxH$$2$$ = Math.max($maxH$$2$$, $nextButton$$1$$.$getDimensions$().$h$));
      this.$_ach$ -= $maxH$$2$$ + 1;
    }
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$renderSelfAfterChildren$ = function $$dvt$$2$$$$AfPanelCard$$$$renderSelfAfterChildren$$() {
    this.$_child$ ? this.$positionIconAndTextField$() : this.$_text$ && this.$_text$.$setTextString$("");
    if (this.$needsNavUi$()) {
      var $rootDO$$1$$ = this.$_bgShape$, $prevButton$$2$$ = this.$_prevButton$, $nextButton$$2_prevRightX$$ = this.$_nextButton$, $prevDim$$, $nextDim$$;
      $prevButton$$2$$ && ($rootDO$$1$$.contains($prevButton$$2$$) || $rootDO$$1$$.$addChild$($prevButton$$2$$), $prevDim$$ = $prevButton$$2$$.$getDimensions$());
      $nextButton$$2_prevRightX$$ && ($rootDO$$1$$.contains($nextButton$$2_prevRightX$$) || $rootDO$$1$$.$addChild$($nextButton$$2_prevRightX$$), $nextDim$$ = $nextButton$$2_prevRightX$$.$getDimensions$());
      this.$updateButtonStates$();
      for (var $labels_prevTransX$$ = [], $children$$5_nextTransX$$ = this.$_getChildren$(), $hPadding_i$$198$$ = 0;$hPadding_i$$198$$ < $children$$5_nextTransX$$.length;$hPadding_i$$198$$++) {
        var $child$$47_vPadding$$ = $children$$5_nextTransX$$[$hPadding_i$$198$$];
        $child$$47_vPadding$$.$isRendered$() && $child$$47_vPadding$$.$isVisible$() && $labels_prevTransX$$.push($child$$47_vPadding$$.$getText$());
      }
      var $train$$, $trainDim$$;
      $labels_prevTransX$$.length <= $dvt$$2$$.$AfPanelCard$.$MAX_TRAIN_ITEM_COUNT$ && ($train$$ = new $dvt$$2$$.$Train$(this.$getDvtContext$(), this.$_afContext$.$getEventManager$(), $labels_prevTransX$$, this.$getTrainButtonStyles$(), this.getId() + "_train", this.$isSkinAlta$()), $rootDO$$1$$.$addChild$($train$$), $trainDim$$ = $train$$.$getDimensions$(), $rootDO$$1$$.removeChild($train$$));
      $child$$47_vPadding$$ = 0;
      this.$isSkinAlta$() ? ($hPadding_i$$198$$ = $dvt$$2$$.$AfPanelCard$.$ALTA_BUTTON_HPADDING$, $child$$47_vPadding$$ = $dvt$$2$$.$AfPanelCard$.$ALTA_BUTTON_VPADDING$, .5 < this.$getZoomPct$() && $train$$ ? ($labels_prevTransX$$ = (this.$_cw$ - $trainDim$$.$w$) / 2 - $prevDim$$.$w$, $labels_prevTransX$$ = this.$_cx$ + ($hPadding_i$$198$$ > $labels_prevTransX$$ ? $hPadding_i$$198$$ : $labels_prevTransX$$), $children$$5_nextTransX$$ = (this.$_cw$ + $trainDim$$.$w$) / 2, $children$$5_nextTransX$$ = 
      this.$_cx$ + ($hPadding_i$$198$$ > this.$_cw$ - $children$$5_nextTransX$$ - $nextDim$$.$w$ ? this.$_cw$ - $hPadding_i$$198$$ - $nextDim$$.$w$ : $children$$5_nextTransX$$)) : ($labels_prevTransX$$ = this.$_cx$ + $hPadding_i$$198$$, $children$$5_nextTransX$$ = this.$_cx$ + this.$_cw$ - $nextDim$$.$w$ - $hPadding_i$$198$$)) : ($child$$47_vPadding$$ = $hPadding_i$$198$$ = $dvt$$2$$.$AfPanelCard$.$BUTTON_PADDING$, $labels_prevTransX$$ = this.$_cx$ + $hPadding_i$$198$$, $children$$5_nextTransX$$ = 
      this.$_cx$ + this.$_cw$ - $nextDim$$.$w$ - $hPadding_i$$198$$);
      $prevButton$$2$$ && ($prevButton$$2$$.$setTranslateX$($labels_prevTransX$$), $prevButton$$2$$.$setTranslateY$(this.$_cy$ + this.$_ch$ - $prevDim$$.$h$ - $child$$47_vPadding$$));
      $nextButton$$2_prevRightX$$ && ($nextButton$$2_prevRightX$$.$setTranslateX$($children$$5_nextTransX$$), $nextButton$$2_prevRightX$$.$setTranslateY$(this.$_cy$ + this.$_ch$ - $nextDim$$.$h$ - $child$$47_vPadding$$));
      !$train$$ || this.$isSkinAlta$() && .5 >= this.$getZoomPct$() || ($nextButton$$2_prevRightX$$ = 0, $prevButton$$2$$ && ($nextButton$$2_prevRightX$$ = $labels_prevTransX$$ + $prevDim$$.$w$), $rootDO$$1$$.$addChild$($train$$), this.$_train$ = $train$$, $trainDim$$.$w$ <= Math.round($children$$5_nextTransX$$ - $nextButton$$2_prevRightX$$) ? ($train$$.$setTranslateX$($nextButton$$2_prevRightX$$ + ($children$$5_nextTransX$$ - $nextButton$$2_prevRightX$$ - $trainDim$$.$w$) / 2), $train$$.$setTranslateY$($prevButton$$2$$.$getTranslateY$() + 
      ($prevDim$$.$h$ - $trainDim$$.$h$) / 2), this.$_setTrainSelectedIndex$(), $train$$.$addTrainEventListener$(this.$HandleTrainEvent$, this)) : $rootDO$$1$$.removeChild(this.$_train$));
    }
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$doLayout$ = function $$dvt$$2$$$$AfPanelCard$$$$doLayout$$() {
    var $tbDim$$;
    if (this.$_titleBar$) {
      $tbDim$$ = this.$_titleBar$.$getDimensions$();
      var $align$$2_cDo$$ = "center", $headerStyle_xx$$22$$ = this.$getHeaderStyle$();
      $headerStyle_xx$$22$$ && $headerStyle_xx$$22$$.$getStyle$($dvt$$2$$.$CSSStyle$.$TEXT_ALIGN$) && ($align$$2_cDo$$ = $headerStyle_xx$$22$$.$getStyle$($dvt$$2$$.$CSSStyle$.$TEXT_ALIGN$));
      $headerStyle_xx$$22$$ = this.$_cx$;
      ("end" == $align$$2_cDo$$ || "right" == $align$$2_cDo$$) && !$dvt$$2$$.$Agent$.$isRightToLeft$(this.$getDvtContext$()) || ("start" == $align$$2_cDo$$ || "left" == $align$$2_cDo$$) && $dvt$$2$$.$Agent$.$isRightToLeft$(this.$getDvtContext$()) ? $headerStyle_xx$$22$$ += this.$_cw$ - $tbDim$$.$w$ : "center" == $align$$2_cDo$$ && ($headerStyle_xx$$22$$ += (this.$_cw$ - $tbDim$$.$w$) / 2);
      this.$_titleBar$.$setTranslateX$($headerStyle_xx$$22$$);
      this.$_titleBar$.$setTranslateY$(this.$_cy$);
    }
    this.$_child$ && ($align$$2_cDo$$ = this.$_child$.$_bgShape$, $align$$2_cDo$$.$setTranslateX$(this.$_cx$), $align$$2_cDo$$.$setTranslateY$(this.$_cy$ + 5 + ($tbDim$$ ? $tbDim$$.$h$ : 0)));
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$renderSelfAfterLayout$ = function $$dvt$$2$$$$AfPanelCard$$$$renderSelfAfterLayout$$() {
    var $newSize$$ = this.$getBounds$();
    this.$SetDisplayObjBounds$(this.$_bgShape$, 0, 0, $newSize$$.$w$, $newSize$$.$h$);
    this.$_shape$ !== $dvt$$2$$.$AfPanelCard$.$SHAPE_ELLIPSE$ && $dvt$$2$$.$AfPanelCard$.$superclass$.$renderSelfAfterLayout$.call(this);
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$needsNavUi$ = function $$dvt$$2$$$$AfPanelCard$$$$needsNavUi$$() {
    return 1 >= this.$getDetailItemCount$() ? !1 : !0;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$renderDetailItem$ = function $$dvt$$2$$$$AfPanelCard$$$$renderDetailItem$$($bForward$$2$$) {
    var $node$$142_sdi$$5$$ = this.$_child$;
    this.$_oldChild$ = $node$$142_sdi$$5$$;
    this.$_oldTitleBar$ = this.$_titleBar$;
    var $nodeTabStopsArray_prevButton$$3$$ = this.$_prevButton$, $nextButton$$3_sdiTabStopIndex_tailTabStops$$ = this.$_nextButton$, $focusedObject$$;
    $node$$142_sdi$$5$$.$isShowingKeyboardFocusEffect$() ? ($node$$142_sdi$$5$$.$hideKeyboardFocusEffect$(), $focusedObject$$ = $node$$142_sdi$$5$$) : $nodeTabStopsArray_prevButton$$3$$.$isShowingKeyboardFocusEffect$() ? $focusedObject$$ = $nodeTabStopsArray_prevButton$$3$$ : $nextButton$$3_sdiTabStopIndex_tailTabStops$$.$isShowingKeyboardFocusEffect$() && ($focusedObject$$ = $nextButton$$3_sdiTabStopIndex_tailTabStops$$);
    this.$_getNode$().$resetTabStops$();
    $nodeTabStopsArray_prevButton$$3$$ = this.$_getNode$().$getTabStopsArray$();
    $nextButton$$3_sdiTabStopIndex_tailTabStops$$ = $dvt$$2$$.$ArrayUtils$.$getIndex$($nodeTabStopsArray_prevButton$$3$$, $node$$142_sdi$$5$$);
    this.$_afContext$.$setTabStopsArray$($nodeTabStopsArray_prevButton$$3$$);
    $node$$142_sdi$$5$$.$unregisterAsTabStop$();
    var $nextButton$$3_sdiTabStopIndex_tailTabStops$$ = $nodeTabStopsArray_prevButton$$3$$.splice($nextButton$$3_sdiTabStopIndex_tailTabStops$$, $nodeTabStopsArray_prevButton$$3$$.length - $nextButton$$3_sdiTabStopIndex_tailTabStops$$ + 1), $effect$$3$$ = this.$getEffect$();
    if (($effect$$3$$ == $dvt$$2$$.$AfPanelCard$.$EFFECT_NODE_FLIP_HORZ$ || $effect$$3$$ == $dvt$$2$$.$AfPanelCard$.$EFFECT_NODE_CUBE_ROTATE_HORZ$) && ($node$$142_sdi$$5$$ = this.$_getNode$()) && $node$$142_sdi$$5$$.getParent()) {
      var $i$$199_omat$$ = $node$$142_sdi$$5$$.$getMatrix$();
      $node$$142_sdi$$5$$.$setMatrix$(null);
      this.$_oldNode$ = $node$$142_sdi$$5$$.$createCopy$();
      $node$$142_sdi$$5$$.$addChild$(this.$_oldNode$);
      $node$$142_sdi$$5$$.$setMatrix$($i$$199_omat$$);
    }
    if ($node$$142_sdi$$5$$ = this.$getVisibleChild$(this.$getDisplayedDetailItemIndex$())) {
      $node$$142_sdi$$5$$ = this.$_loadDetailItem$($node$$142_sdi$$5$$, !0), this.$_icon$ = this.$_titleBar$ = null, this.$renderChild$($node$$142_sdi$$5$$), this.$CreateTitleBar$($node$$142_sdi$$5$$), this.$_icon$ && this.$positionIconAndTextField$();
    }
    this.$updateButtonStates$();
    this.$doLayout$();
    this.$_savedAfContext$ && (this.$setAfContext$(this.$_savedAfContext$), this.$_savedAfContext$ = void 0);
    this.$_oldNode$ && this.$removeOldDisplayItem$(!0);
    for ($i$$199_omat$$ = 0;$i$$199_omat$$ < $nextButton$$3_sdiTabStopIndex_tailTabStops$$.length;$i$$199_omat$$++) {
      $nodeTabStopsArray_prevButton$$3$$.push($nextButton$$3_sdiTabStopIndex_tailTabStops$$[$i$$199_omat$$]);
    }
    var $updateKeyboardEffectOnEnd$$;
    if ($focusedObject$$) {
      var $thisRef$$23$$ = this, $displayObj$$2$$ = $focusedObject$$ instanceof $dvt$$2$$.$AfShowDetailItem$ ? $node$$142_sdi$$5$$.$_bgShape$ : $focusedObject$$;
      $focusedObject$$ = $focusedObject$$ instanceof $dvt$$2$$.$AfShowDetailItem$ ? $node$$142_sdi$$5$$ : $focusedObject$$;
      $updateKeyboardEffectOnEnd$$ = function $$updateKeyboardEffectOnEnd$$$() {
        var $dvt$$2$$ = $thisRef$$23$$.$_getNode$().$getCurrentTabStop$(), $nextButton$$3_sdiTabStopIndex_tailTabStops$$ = $dvt$$2$$;
        do {
          $nextButton$$3_sdiTabStopIndex_tailTabStops$$ = $thisRef$$23$$.$_getNode$().$getNextTabStop$();
        } while ($nextButton$$3_sdiTabStopIndex_tailTabStops$$ != $focusedObject$$ && $nextButton$$3_sdiTabStopIndex_tailTabStops$$ != $dvt$$2$$);
        ($dvt$$2$$ = $focusedObject$$.$getAriaLabel$()) && $displayObj$$2$$.$setAriaProperty$("label", $dvt$$2$$);
        $focusedObject$$.$showKeyboardFocusEffect$();
      };
    }
    this.$TransitionDisplayItems$($effect$$3$$, $bForward$$2$$, $updateKeyboardEffectOnEnd$$);
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$CreatePrevButton$ = function $$dvt$$2$$$$AfPanelCard$$$$CreatePrevButton$$() {
    this.$_prevButton$ = new $dvt$$2$$.$NavButton$(this, this.$getDvtContext$(), this.$CreateUpState$(!1), this.$CreateOverState$(!1), this.$CreateDownState$(!1));
    this.$associate$(this.$_prevButton$, this.$_prevButton$);
    this.$_prevButton$.$setCallback$(this.$HandlePrevButtonClick$, this);
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$CreateNextButton$ = function $$dvt$$2$$$$AfPanelCard$$$$CreateNextButton$$() {
    this.$_nextButton$ = new $dvt$$2$$.$NavButton$(this, this.$getDvtContext$(), this.$CreateUpState$(!0), this.$CreateOverState$(!0), this.$CreateDownState$(!0));
    this.$associate$(this.$_nextButton$, this.$_nextButton$);
    this.$_nextButton$.$setCallback$(this.$HandleNextButtonClick$, this);
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$destroy$ = function $$dvt$$2$$$$AfPanelCard$$$$destroy$$() {
    this.$_popupMenu$ && this.$destroyPopup$();
    this.$_train$ && this.$_train$.$destroy$(this.$HandleTrainEvent$);
    $dvt$$2$$.$AfPanelCard$.$superclass$.$destroy$.call(this);
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$CreateUpState$ = function $$dvt$$2$$$$AfPanelCard$$$$CreateUpState$$($bNext$$1$$) {
    var $s$$82$$ = null, $bDisabled$$ = this.$isDisabled$();
    $bNext$$1$$ ? $bDisabled$$ && this.$_nextButtonDisabledIcon$ ? $s$$82$$ = this.$CreateButtonIconState$(this.$_nextButtonDisabledIcon$) : this.$getNextButtonIcon$() && ($s$$82$$ = this.$CreateButtonIconState$(this.$getNextButtonIcon$())) : $bDisabled$$ && this.$_prevButtonDisabledIcon$ ? $s$$82$$ = this.$CreateButtonIconState$(this.$_prevButtonDisabledIcon$) : this.$getPrevButtonIcon$() && ($s$$82$$ = this.$CreateButtonIconState$(this.$getPrevButtonIcon$()));
    null == $s$$82$$ && ($s$$82$$ = this.$CreateButtonState$($bNext$$1$$, $dvt$$2$$.$Button$.$STATE_ENABLED$), $bDisabled$$ && $s$$82$$.$setAlpha$($dvt$$2$$.$AfPanelCard$.$DISABLED_ALPHA$));
    $s$$82$$.setCursor("default");
    return $s$$82$$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$CreateDownState$ = function $$dvt$$2$$$$AfPanelCard$$$$CreateDownState$$($bNext$$2$$) {
    var $s$$83$$ = null;
    $bNext$$2$$ ? this.$getNextButtonActiveIcon$() ? $s$$83$$ = this.$CreateButtonIconState$(this.$getNextButtonActiveIcon$()) : this.$getNextButtonIcon$() && ($s$$83$$ = this.$CreateButtonIconState$(this.$getNextButtonIcon$())) : this.$getPrevButtonActiveIcon$() ? $s$$83$$ = this.$CreateButtonIconState$(this.$getPrevButtonActiveIcon$()) : this.$getPrevButtonIcon$() && ($s$$83$$ = this.$CreateButtonIconState$(this.$getPrevButtonIcon$()));
    null == $s$$83$$ && ($s$$83$$ = this.$CreateButtonState$($bNext$$2$$, $dvt$$2$$.$Button$.$STATE_DOWN$));
    $s$$83$$.setCursor("pointer");
    return $s$$83$$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$CreateOverState$ = function $$dvt$$2$$$$AfPanelCard$$$$CreateOverState$$($bNext$$3$$) {
    var $s$$84$$ = null;
    $bNext$$3$$ ? this.$getNextButtonHoverIcon$() ? $s$$84$$ = this.$CreateButtonIconState$(this.$getNextButtonHoverIcon$()) : this.$getNextButtonIcon$() && ($s$$84$$ = this.$CreateButtonIconState$(this.$getNextButtonIcon$())) : this.$getPrevButtonHoverIcon$() ? $s$$84$$ = this.$CreateButtonIconState$(this.$getPrevButtonHoverIcon$()) : this.$getPrevButtonIcon$() && ($s$$84$$ = this.$CreateButtonIconState$(this.$getPrevButtonIcon$()));
    null == $s$$84$$ && ($s$$84$$ = this.$CreateButtonState$($bNext$$3$$, $dvt$$2$$.$Button$.$STATE_OVER$));
    $s$$84$$.setCursor("pointer");
    return $s$$84$$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$CreateButtonIconState$ = function $$dvt$$2$$$$AfPanelCard$$$$CreateButtonIconState$$($iconSrc$$3$$) {
    var $dvtContext$$33_imageDims$$ = this.$getDvtContext$(), $iconShape$$3$$ = new $dvt$$2$$.Image($dvtContext$$33_imageDims$$, $iconSrc$$3$$, 0, 0, 1, 1);
    ($dvtContext$$33_imageDims$$ = $dvt$$2$$.$ImageLoader$.$loadImage$($dvtContext$$33_imageDims$$, $iconSrc$$3$$)) ? ($iconShape$$3$$.$setWidth$($dvtContext$$33_imageDims$$.width), $iconShape$$3$$.$setHeight$($dvtContext$$33_imageDims$$.height)) : this.$RegisterImageCallback$($iconSrc$$3$$);
    return $iconShape$$3$$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$CreateButtonState$ = function $$dvt$$2$$$$AfPanelCard$$$$CreateButtonState$$($dvt$$2$$, $state$$27$$) {
    var $dvtContext$$34$$ = this.$getDvtContext$();
    return $dvt$$2$$ ? $DvtPanelCardButtonLAFUtils$$.$createRightArrowState$($dvtContext$$34$$, $state$$27$$, this.$getCardNavButtonStyles$()) : $DvtPanelCardButtonLAFUtils$$.$createLeftArrowState$($dvtContext$$34$$, $state$$27$$, this.$getCardNavButtonStyles$());
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$_renderIcon$ = function $$dvt$$2$$$$AfPanelCard$$$$_renderIcon$$($iconUrl$$1$$) {
    $dvt$$2$$.$ImageLoader$.$loadImage$(this.$getDvtContext$(), $iconUrl$$1$$, this.$createCallback$(this.$onIconLoaded$));
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$onIconLoaded$ = function $$dvt$$2$$$$AfPanelCard$$$$onIconLoaded$$($dvt$$2$$) {
    $dvt$$2$$ && $dvt$$2$$.width && $dvt$$2$$.height && (this.$_icon$.$setWidth$($dvt$$2$$.width), this.$_icon$.$setHeight$($dvt$$2$$.height));
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$CreateTitleBar$ = function $$dvt$$2$$$$AfPanelCard$$$$CreateTitleBar$$($sdi$$6_title$$8$$) {
    var $defStyle$$2_dvtContext$$35$$ = this.$getDvtContext$(), $id$$72$$ = $sdi$$6_title$$8$$.$_getUniqueId$(), $titleBar$$4$$ = new $dvt$$2$$.$Container$($defStyle$$2_dvtContext$$35$$, $id$$72$$ + "_tBar"), $iconUrl$$2_textStyle$$6$$ = $sdi$$6_title$$8$$.$getIcon$();
    $iconUrl$$2_textStyle$$6$$ && 0 < $iconUrl$$2_textStyle$$6$$.length && (this.$_icon$ = new $dvt$$2$$.Image($defStyle$$2_dvtContext$$35$$, $iconUrl$$2_textStyle$$6$$, 0, 0, 1, 1, $id$$72$$ + "_icon"), this.$_renderIcon$($iconUrl$$2_textStyle$$6$$), $titleBar$$4$$.$addChild$(this.$_icon$));
    ($sdi$$6_title$$8$$ = $sdi$$6_title$$8$$.$getText$()) && 0 < $sdi$$6_title$$8$$.length && ($defStyle$$2_dvtContext$$35$$ = this.$GetDefaultStyles$(), $iconUrl$$2_textStyle$$6$$ = this.$getHeaderStyle$(), this.$_text$ = this.$createTextShape$(!1, $sdi$$6_title$$8$$, $iconUrl$$2_textStyle$$6$$, $defStyle$$2_dvtContext$$35$$, $id$$72$$ + "_hd"), $titleBar$$4$$.$addChild$(this.$_text$));
    this.$_bgShape$.$addChildAt$($titleBar$$4$$, 1);
    return this.$_titleBar$ = $titleBar$$4$$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$positionIconAndTextField$ = function $$dvt$$2$$$$AfPanelCard$$$$positionIconAndTextField$$() {
    var $isLocaleR2L_origWidth$$ = $dvt$$2$$.$Agent$.$isRightToLeft$(this.$getDvtContext$()), $currX$$4_headerDim$$ = 0, $iconw$$ = 0, $iconDim$$1_iconh$$ = 0;
    this.$_icon$ && ($iconDim$$1_iconh$$ = this.$_icon$.$getDimensions$(), $iconw$$ = $iconDim$$1_iconh$$.$w$ ? $iconDim$$1_iconh$$.$w$ : 0, $iconDim$$1_iconh$$ = $iconDim$$1_iconh$$.$h$ ? $iconDim$$1_iconh$$.$h$ : 0, $currX$$4_headerDim$$ += $iconw$$);
    var $textw$$ = 0, $textDim$$2_texth$$ = 0;
    this.$_text$ && (this.$_text$.$alignCenter$(), $textDim$$2_texth$$ = this.$_text$.$getDimensions$(), $textw$$ = $textDim$$2_texth$$.$w$, $textDim$$2_texth$$ = $textDim$$2_texth$$.$h$, this.$isSkinAlta$() ? this.$_text$.$setTranslateX$($currX$$4_headerDim$$ + $textw$$ / 2) : this.$_text$.$setTranslateX$($currX$$4_headerDim$$ + 2 + $textw$$ / 2));
    $currX$$4_headerDim$$ = this.$_titleBar$.$getDimensions$();
    $isLocaleR2L_origWidth$$ && ($isLocaleR2L_origWidth$$ = $currX$$4_headerDim$$.$w$, this.$_icon$ && this.$_icon$.$setTranslateX$($isLocaleR2L_origWidth$$ - this.$_icon$.$getTranslateX$() - $iconw$$), this.$_text$ && this.$_text$.$setTranslateX$($isLocaleR2L_origWidth$$ - this.$_text$.$getTranslateX$()));
    this.$_icon$ && this.$_icon$.$setTranslateY$(($currX$$4_headerDim$$.$h$ - $iconDim$$1_iconh$$) / 2);
    this.$_text$ && this.$_text$.$setTranslateY$(($currX$$4_headerDim$$.$h$ - $textDim$$2_texth$$) / 2);
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$isSkinAlta$ = function $$dvt$$2$$$$AfPanelCard$$$$isSkinAlta$$() {
    return this.$_getDiagram$().$_cardNavButtonSkin$ == $dvt$$2$$.$CSSStyle$.$SKIN_ALTA$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$removeOldDisplayItem$ = function $$dvt$$2$$$$AfPanelCard$$$$removeOldDisplayItem$$($forced_sdiDO$$) {
    var $parent$$48$$;
    this.$_oldTitleBar$ && ($forced_sdiDO$$ || this.$_oldTitleBar$ !== this.$_titleBar$) && (this.$_oldTitleBar$.$setVisible$(!1), ($parent$$48$$ = this.$_oldTitleBar$.getParent()) && $parent$$48$$.removeChild(this.$_oldTitleBar$), this.$_oldTitleBar$ = null);
    var $sdi$$7$$ = this.$_oldChild$;
    if ($sdi$$7$$ && ($forced_sdiDO$$ || $sdi$$7$$ !== this.$_child$)) {
      $dvt$$2$$.$AfPanelCard$.$_setItemDisplayableVisible$($sdi$$7$$, !1);
      $forced_sdiDO$$ = $sdi$$7$$.$_bgShape$;
      var $shape$$29$$ = $sdi$$7$$.$getContentShape$();
      $shape$$29$$ && $shape$$29$$ !== $forced_sdiDO$$ && ($parent$$48$$ = $shape$$29$$.getParent()) && ($parent$$48$$.removeChild($shape$$29$$), $sdi$$7$$.$setContentShape$($forced_sdiDO$$, null));
      $forced_sdiDO$$ && ($parent$$48$$ = $forced_sdiDO$$.getParent()) && ($parent$$48$$.removeChild($forced_sdiDO$$), $sdi$$7$$.$_bgShape$ = null);
      this.$_oldChild$ = null;
    }
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$updateButtonStates$ = function $$dvt$$2$$$$AfPanelCard$$$$updateButtonStates$$() {
    this.$needsNavUi$() && (this.$hasPrevDetailItem$() ? (this.$_prevButton$ && this.$_prevButton$.$setEnabled$(!0), this.$_prevButton$.$setAlpha$(1)) : (this.$_prevButton$ && this.$_prevButton$.$setEnabled$(!1), this.$_prevButton$.$setAlpha$(.5)), this.$hasNextDetailItem$() ? (this.$_nextButton$ && this.$_nextButton$.$setEnabled$(!0), this.$_nextButton$.$setAlpha$(1)) : (this.$_nextButton$ && this.$_nextButton$.$setEnabled$(!1), this.$_nextButton$.$setAlpha$(.5)));
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$HandlePrevButtonClick$ = function $$dvt$$2$$$$AfPanelCard$$$$HandlePrevButtonClick$$($event$$176$$) {
    $dvt$$2$$.$EventManager$.$consumeEvent$($event$$176$$);
    $dvt$$2$$.$Agent$.$isRightToLeft$(this.$getDvtContext$()) ? this.$hasNextDetailItem$() && this.$displayNextDetailItem$() : this.$hasPrevDetailItem$() && this.$displayPrevDetailItem$();
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$HandleNextButtonClick$ = function $$dvt$$2$$$$AfPanelCard$$$$HandleNextButtonClick$$($event$$177$$) {
    $dvt$$2$$.$EventManager$.$consumeEvent$($event$$177$$);
    $dvt$$2$$.$Agent$.$isRightToLeft$(this.$getDvtContext$()) ? this.$hasPrevDetailItem$() && this.$displayPrevDetailItem$() : this.$hasNextDetailItem$() && this.$displayNextDetailItem$();
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$HandleTrainEvent$ = function $$dvt$$2$$$$AfPanelCard$$$$HandleTrainEvent$$($dvt$$2$$) {
    $dvt$$2$$ = $dvt$$2$$.$getIndex$();
    this.$displayDetailItem$($dvt$$2$$);
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$getNavButtonTooltip$ = function $$dvt$$2$$$$AfPanelCard$$$$getNavButtonTooltip$$($button$$28_i$$200_sdi$$8$$) {
    var $bidi$$1$$ = $dvt$$2$$.$Agent$.$isRightToLeft$(this.$getDvtContext$()), $index$$95$$ = this.$getDisplayedDetailItemIndex$(), $last$$ = this.$getDetailItemCount$() - 1;
    if ($button$$28_i$$200_sdi$$8$$ === this.$_nextButton$ && !$bidi$$1$$ || $button$$28_i$$200_sdi$$8$$ === this.$_prevButton$ && $bidi$$1$$) {
      if ($index$$95$$ == $last$$) {
        if (this.$_bNavLoop$) {
          $button$$28_i$$200_sdi$$8$$ = 0;
        } else {
          return null;
        }
      } else {
        $button$$28_i$$200_sdi$$8$$ = $index$$95$$ + 1;
      }
    } else {
      if (0 == $index$$95$$) {
        if (this.$_bNavLoop$) {
          $button$$28_i$$200_sdi$$8$$ = $last$$;
        } else {
          return null;
        }
      } else {
        $button$$28_i$$200_sdi$$8$$ = $index$$95$$ - 1;
      }
    }
    return ($button$$28_i$$200_sdi$$8$$ = this.$getVisibleChild$($button$$28_i$$200_sdi$$8$$)) ? $button$$28_i$$200_sdi$$8$$.$getText$() : null;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$isDisabled$ = function $$dvt$$2$$$$AfPanelCard$$$$isDisabled$$() {
    return !1;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$_setNode$ = function $$dvt$$2$$$$AfPanelCard$$$$_setNode$$($dvt$$2$$) {
    this.$_parentNode$ = $dvt$$2$$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$_getNode$ = function $$dvt$$2$$$$AfPanelCard$$$$_getNode$$() {
    return this.$_parentNode$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$_getNodeDef$ = function $$dvt$$2$$$$AfPanelCard$$$$_getNodeDef$$() {
    var $dvt$$2$$ = this.$_getNode$();
    return $dvt$$2$$ && $dvt$$2$$.$getNodeDef$ ? $dvt$$2$$.$_nodeDef$ : null;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$getNodeShape$ = function $$dvt$$2$$$$AfPanelCard$$$$getNodeShape$$() {
    var $nodeDef$$11$$ = this.$_getNodeDef$();
    return $nodeDef$$11$$ && $nodeDef$$11$$.$getShape$ ? $nodeDef$$11$$.$getShape$() : $dvt$$2$$.$AfPanelCard$.$SHAPE_ROUNDED_RECT$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$getNodeWidth$ = function $$dvt$$2$$$$AfPanelCard$$$$getNodeWidth$$() {
    var $dvt$$2$$ = this.$_getNode$();
    if ($dvt$$2$$) {
      if ($dvt$$2$$.getWidth) {
        return $dvt$$2$$.getWidth();
      }
      if ($dvt$$2$$.$getContentBounds$) {
        return $dvt$$2$$.$getContentBounds$().$w$;
      }
    }
    return this.$_aw$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$getNodeHeight$ = function $$dvt$$2$$$$AfPanelCard$$$$getNodeHeight$$() {
    var $dvt$$2$$ = this.$_getNode$();
    if ($dvt$$2$$) {
      if ($dvt$$2$$.getHeight) {
        return $dvt$$2$$.getHeight();
      }
      if ($dvt$$2$$.$getContentBounds$) {
        return $dvt$$2$$.$getContentBounds$().$h$;
      }
    }
    return this.$_ah$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$getZoomPct$ = function $$dvt$$2$$$$AfPanelCard$$$$getZoomPct$$() {
    var $dvt$$2$$ = this.$_getNode$(), $zoomFacet$$4$$ = 1;
    $dvt$$2$$ && $dvt$$2$$.$_zoom$ && ($zoomFacet$$4$$ = $dvt$$2$$.$_zoom$);
    return $zoomFacet$$4$$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$_getNodeId$ = function $$dvt$$2$$$$AfPanelCard$$$$_getNodeId$$() {
    var $dvt$$2$$ = this.$_getNode$();
    return $dvt$$2$$ && $dvt$$2$$.getId ? $dvt$$2$$.getId() : null;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$_getDiagram$ = function $$dvt$$2$$$$AfPanelCard$$$$_getDiagram$$() {
    var $dvt$$2$$ = this.$_getNode$();
    return $dvt$$2$$ && $dvt$$2$$.$GetDiagram$ ? $dvt$$2$$.$GetDiagram$() : null;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$getTrainButtonStyles$ = function $$dvt$$2$$$$AfPanelCard$$$$getTrainButtonStyles$$() {
    if (!this.$_trainButtonStyles$) {
      this.$_trainButtonStyles$ = [];
      var $style$$51$$ = this.$getDefaultStyleAt$($dvt$$2$$.$AfPanelCard$.$DFLT_TRAIN_STYLE_INDX$), $active_enaIcon_hover$$2_img$$2$$ = $style$$51$$ ? $style$$51$$.$getIconUrl$() : null;
      $active_enaIcon_hover$$2_img$$2$$ && ($active_enaIcon_hover$$2_img$$2$$ = this.$CreateButtonIconState$($active_enaIcon_hover$$2_img$$2$$), $style$$51$$.$setStyle$($dvt$$2$$.$CSSStyle$.$WIDTH$, "" + $active_enaIcon_hover$$2_img$$2$$.getWidth() + "px"));
      this.$_trainButtonStyles$.push($style$$51$$);
      ($active_enaIcon_hover$$2_img$$2$$ = this.$getDefaultStyleAt$($dvt$$2$$.$AfPanelCard$.$DFLT_TRAIN_HOVER_STYLE_INDX$)) || ($active_enaIcon_hover$$2_img$$2$$ = $style$$51$$);
      this.$_trainButtonStyles$.push($active_enaIcon_hover$$2_img$$2$$);
      ($active_enaIcon_hover$$2_img$$2$$ = this.$getDefaultStyleAt$($dvt$$2$$.$AfPanelCard$.$DFLT_TRAIN_ACTIVE_STYLE_INDX$)) || ($active_enaIcon_hover$$2_img$$2$$ = $style$$51$$);
      this.$_trainButtonStyles$.push($active_enaIcon_hover$$2_img$$2$$);
    }
    return this.$_trainButtonStyles$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$getCardNavButtonStyles$ = function $$dvt$$2$$$$AfPanelCard$$$$getCardNavButtonStyles$$() {
    this.$_cardNavButtonStyles$ || (this.$_cardNavButtonStyles$ = [], this.$_cardNavButtonStyles$.push(this.$getDefaultStyleAt$($dvt$$2$$.$AfPanelCard$.$DFLT_NAV_STYLE_INDX$)), this.$_cardNavButtonStyles$.push(this.$getDefaultStyleAt$($dvt$$2$$.$AfPanelCard$.$DFLT_NAV_HOVER_STYLE_INDX$)), this.$_cardNavButtonStyles$.push(this.$getDefaultStyleAt$($dvt$$2$$.$AfPanelCard$.$DFLT_NAV_ACTIVE_STYLE_INDX$)));
    return this.$_cardNavButtonStyles$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$RenderBackgroundFill$ = function $$dvt$$2$$$$AfPanelCard$$$$RenderBackgroundFill$$($bgShape$$13$$, $fill$$17_style$$52$$, $bgColor$$5$$) {
    $fill$$17_style$$52$$ && "gradient" == $fill$$17_style$$52$$.$getStyle$($dvt$$2$$.$CSSStyle$.$FILL_TYPE$) ? ($fill$$17_style$$52$$ = this.$CreateGradientFill$($bgColor$$5$$), $bgShape$$13$$.$setFill$($fill$$17_style$$52$$)) : $dvt$$2$$.$AfPanelCard$.$superclass$.$RenderBackgroundFill$.call(this, $bgShape$$13$$, $fill$$17_style$$52$$, $bgColor$$5$$);
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$RenderBackgroundStroke$ = function $$dvt$$2$$$$AfPanelCard$$$$RenderBackgroundStroke$$($bgShape$$14$$, $style$$53$$) {
    if ($style$$53$$ && "gradient" == $style$$53$$.$getStyle$($dvt$$2$$.$CSSStyle$.$BORDER_TYPE$)) {
      var $bdColor$$3_stroke$$20$$ = $style$$53$$.$getStyle$($dvt$$2$$.$CSSStyle$.$BORDER_COLOR$), $bdWidth$$3$$ = $style$$53$$.$getBorderWidth$(), $bdColor$$3_stroke$$20$$ = this.$CreateGradientStroke$($bdColor$$3_stroke$$20$$, $bdWidth$$3$$);
      $bgShape$$14$$.$setStroke$($bdColor$$3_stroke$$20$$);
    } else {
      $dvt$$2$$.$AfPanelCard$.$superclass$.$RenderBackgroundStroke$.call(this, $bgShape$$14$$, $style$$53$$);
    }
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$CreateGradientFill$ = function $$dvt$$2$$$$AfPanelCard$$$$CreateGradientFill$$($color$$14_gradAlpha$$) {
    var $arColors$$2$$ = this.$GetFillGradientColors$($color$$14_gradAlpha$$);
    $color$$14_gradAlpha$$ = $dvt$$2$$.$ColorUtils$.$getAlpha$($color$$14_gradAlpha$$);
    return new $dvt$$2$$.$LinearGradientFill$(-90, $arColors$$2$$, [$color$$14_gradAlpha$$, $color$$14_gradAlpha$$, $color$$14_gradAlpha$$], [0, 50 / 255, 1]);
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$CreateGradientStroke$ = function $$dvt$$2$$$$AfPanelCard$$$$CreateGradientStroke$$($color$$15$$, $sw$$5$$) {
    var $arColors$$3$$ = this.$GetStrokeGradientColors$($color$$15$$), $gradAlpha$$1$$ = $dvt$$2$$.$ColorUtils$.$getAlpha$($color$$15$$);
    return new $dvt$$2$$.$LinearGradientStroke$(-90, $arColors$$3$$, [$gradAlpha$$1$$, $gradAlpha$$1$$, $gradAlpha$$1$$], [0, 130 / 255, 1], null, $sw$$5$$);
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$GetFillGradientColors$ = function $$dvt$$2$$$$AfPanelCard$$$$GetFillGradientColors$$($dvt$$2$$) {
    return [$dvt$$2$$, "#FFFFFF", "#FFFFFF"];
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$GetStrokeGradientColors$ = function $$dvt$$2$$$$AfPanelCard$$$$GetStrokeGradientColors$$($color$$17$$) {
    var $newEndColor_rrRatio$$ = ($dvt$$2$$.$ColorUtils$.$getRed$("#D7DFE3") - $dvt$$2$$.$ColorUtils$.$getRed$("#98ABBC")) / (255 - $dvt$$2$$.$ColorUtils$.$getRed$("#98ABBC")), $ggRatio$$ = ($dvt$$2$$.$ColorUtils$.$getGreen$("#D7DFE3") - $dvt$$2$$.$ColorUtils$.$getGreen$("#98ABBC")) / (255 - $dvt$$2$$.$ColorUtils$.$getGreen$("#98ABBC")), $bbRatio$$ = ($dvt$$2$$.$ColorUtils$.$getBlue$("#D7DFE3") - $dvt$$2$$.$ColorUtils$.$getBlue$("#98ABBC")) / (255 - $dvt$$2$$.$ColorUtils$.$getBlue$("#98ABBC")), $rr$$ = 
    $dvt$$2$$.$ColorUtils$.$getRed$($color$$17$$), $gg$$ = $dvt$$2$$.$ColorUtils$.$getGreen$($color$$17$$), $bb$$1$$ = $dvt$$2$$.$ColorUtils$.$getBlue$($color$$17$$), $newMidColor$$ = $dvt$$2$$.$ColorUtils$.$makePound$($rr$$ + $newEndColor_rrRatio$$ * (255 - $rr$$), $gg$$ + $ggRatio$$ * (255 - $gg$$), $bb$$1$$ + $bbRatio$$ * (255 - $bb$$1$$)), $newEndColor_rrRatio$$ = ($dvt$$2$$.$ColorUtils$.$getRed$("#ADBEC9") - $dvt$$2$$.$ColorUtils$.$getRed$("#98ABBC")) / (255 - $dvt$$2$$.$ColorUtils$.$getRed$("#98ABBC")), 
    $ggRatio$$ = ($dvt$$2$$.$ColorUtils$.$getGreen$("#ADBEC9") - $dvt$$2$$.$ColorUtils$.$getGreen$("#98ABBC")) / (255 - $dvt$$2$$.$ColorUtils$.$getGreen$("#98ABBC")), $bbRatio$$ = ($dvt$$2$$.$ColorUtils$.$getBlue$("#ADBEC9") - $dvt$$2$$.$ColorUtils$.$getBlue$("#98ABBC")) / (255 - $dvt$$2$$.$ColorUtils$.$getBlue$("#98ABBC")), $rr$$ = $dvt$$2$$.$ColorUtils$.$getRed$($color$$17$$), $gg$$ = $dvt$$2$$.$ColorUtils$.$getGreen$($color$$17$$), $bb$$1$$ = $dvt$$2$$.$ColorUtils$.$getBlue$($color$$17$$), $newEndColor_rrRatio$$ = 
    $dvt$$2$$.$ColorUtils$.$makePound$($rr$$ + $newEndColor_rrRatio$$ * (255 - $rr$$), $gg$$ + $ggRatio$$ * (255 - $gg$$), $bb$$1$$ + $bbRatio$$ * (255 - $bb$$1$$));
    return [$color$$17$$, $newMidColor$$, $newEndColor_rrRatio$$];
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$_render$ = function $$dvt$$2$$$$AfPanelCard$$$$_render$$($availWidth$$6$$, $availHeight$$6$$) {
    $dvt$$2$$.$AfPanelCard$.$superclass$.$_render$.call(this, $availWidth$$6$$, $availHeight$$6$$);
    var $cbObj$$ = this.$_afContext$.$_panelCardCallbackObj$, $cbFunc$$ = this.$_afContext$.$_panelCardCallback$;
    $cbObj$$ && $cbFunc$$ && this.$addEvtListener$($cbFunc$$, $cbObj$$);
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$_loadDetailItem$ = function $$dvt$$2$$$$AfPanelCard$$$$_loadDetailItem$$($sdi$$9$$, $reload$$) {
    if ($reload$$ || !$sdi$$9$$.$_bgShape$) {
      var $afContext$$56_diagram$$76$$ = this.$_getDiagram$();
      if ($afContext$$56_diagram$$76$$) {
        $afContext$$56_diagram$$76$$ = $afContext$$56_diagram$$76$$.$createAfContext$(this.$_getNodeId$());
        $afContext$$56_diagram$$76$$.$setParentNode$(this.$_getNode$());
        $afContext$$56_diagram$$76$$.$setContextCallback$(this.$getContextCallbackObj$(), this.$getContextCallback$());
        $afContext$$56_diagram$$76$$.$setAvailableWidth$(this.$_acw$);
        $afContext$$56_diagram$$76$$.$setAvailableHeight$(this.$_ach$);
        $afContext$$56_diagram$$76$$.$setTabStopsArray$(this.$_getNode$().$getTabStopsArray$());
        this.$_savedAfContext$ = this.$_afContext$;
        this.$setAfContext$($afContext$$56_diagram$$76$$);
        var $newSdi$$ = $sdi$$9$$.$stamp$($afContext$$56_diagram$$76$$.$_elContext$);
        $newSdi$$.$setParent$(this);
        $newSdi$$.$createDisplayObj$($afContext$$56_diagram$$76$$);
        $sdi$$9$$ = this.$_insertChild$($sdi$$9$$, $newSdi$$);
        $dvt$$2$$.$AfPanelCard$.$_setItemDisplayableVisible$($sdi$$9$$, !0);
      }
    }
    return $sdi$$9$$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$_insertChild$ = function $$dvt$$2$$$$AfPanelCard$$$$_insertChild$$($dvt$$2$$, $newsdi$$) {
    for (var $index$$96$$ = -1, $child$$48_children$$6$$, $i$$201$$ = 0;$i$$201$$ < this.$getNumChildren$();$i$$201$$++) {
      if ($child$$48_children$$6$$ = this.$getChildAt$($i$$201$$), $child$$48_children$$6$$ === $dvt$$2$$) {
        $index$$96$$ = $i$$201$$;
        break;
      }
    }
    $child$$48_children$$6$$ = this.$_getChildren$();
    0 <= $index$$96$$ ? $child$$48_children$$6$$.splice($index$$96$$, 1, $newsdi$$) : $child$$48_children$$6$$.push($newsdi$$);
    this.$_bgShape$.$addChildAt$($newsdi$$.$_bgShape$, 0);
    return $newsdi$$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$isSwipeTarget$ = function $$dvt$$2$$$$AfPanelCard$$$$isSwipeTarget$$() {
    return 1 < this.$getDetailItemCount$();
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$handleSwipe$ = function $$dvt$$2$$$$AfPanelCard$$$$handleSwipe$$($dvt$$2$$, $deltaY$$3$$) {
    return 20 < Math.abs($dvt$$2$$) && 2 > Math.abs($deltaY$$3$$ / $dvt$$2$$) ? (0 < $dvt$$2$$ ? this.$HandlePrevButtonClick$(null) : this.$HandleNextButtonClick$(null), !0) : !1;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$postRenderSelfBeforeChildren$ = function $$dvt$$2$$$$AfPanelCard$$$$postRenderSelfBeforeChildren$$() {
    var $eCenter_node$$150_rootNode$$1$$ = this.$_getNode$();
    if (this.$getNodeShape$() === $dvt$$2$$.$AfPanelCard$.$SHAPE_ELLIPSE$ && $eCenter_node$$150_rootNode$$1$$ && $eCenter_node$$150_rootNode$$1$$.$stageToLocal$) {
      var $eCenter_node$$150_rootNode$$1$$ = $dvt$$2$$.$AfPanelCard$.$_getNodeContentRoot$($eCenter_node$$150_rootNode$$1$$), $rect$$7_shape$$30_zoomPct$$ = this.$getZoomPct$(), $eB_padding$$10$$ = 10 * $rect$$7_shape$$30_zoomPct$$, $bottomRightX_nodeDefWidth_pBottomRight$$ = this.$getNodeWidth$() * $rect$$7_shape$$30_zoomPct$$, $eK_nodeDefHeight$$ = this.$getNodeHeight$() * $rect$$7_shape$$30_zoomPct$$, $rect$$7_shape$$30_zoomPct$$ = this.$getBounds$(), $eA_globalPCTopLeft_pcTopLeft$$ = new $dvt$$2$$.$Point$($rect$$7_shape$$30_zoomPct$$.x, 
      $rect$$7_shape$$30_zoomPct$$.y), $globalPCBottomRight_pcBottomRight_rootPCBottomRight$$ = new $dvt$$2$$.$Point$($rect$$7_shape$$30_zoomPct$$.x + $rect$$7_shape$$30_zoomPct$$.$w$, $rect$$7_shape$$30_zoomPct$$.y + $rect$$7_shape$$30_zoomPct$$.$h$), $rect$$7_shape$$30_zoomPct$$ = this.$_bgShape$, $eA_globalPCTopLeft_pcTopLeft$$ = $rect$$7_shape$$30_zoomPct$$.$localToStage$($eA_globalPCTopLeft_pcTopLeft$$), $globalPCBottomRight_pcBottomRight_rootPCBottomRight$$ = $rect$$7_shape$$30_zoomPct$$.$localToStage$($globalPCBottomRight_pcBottomRight_rootPCBottomRight$$), 
      $pTopRight_rootPCTopLeft$$ = $eCenter_node$$150_rootNode$$1$$.$stageToLocal$($eA_globalPCTopLeft_pcTopLeft$$), $globalPCBottomRight_pcBottomRight_rootPCBottomRight$$ = $eCenter_node$$150_rootNode$$1$$.$stageToLocal$($globalPCBottomRight_pcBottomRight_rootPCBottomRight$$), $eA_globalPCTopLeft_pcTopLeft$$ = ($bottomRightX_nodeDefWidth_pBottomRight$$ - 2 * $eB_padding$$10$$) / 2, $eB_padding$$10$$ = ($eK_nodeDefHeight$$ - 2 * $eB_padding$$10$$) / 2, $eH$$ = $bottomRightX_nodeDefWidth_pBottomRight$$ / 
      2, $eK_nodeDefHeight$$ = $eK_nodeDefHeight$$ / 2, $pTopLeft_topLeftX$$ = this.$_solveEllipseForX$($eA_globalPCTopLeft_pcTopLeft$$, $eB_padding$$10$$, $eH$$, $eK_nodeDefHeight$$, $pTopRight_rootPCTopLeft$$.y), $topRightX$$ = $bottomRightX_nodeDefWidth_pBottomRight$$ - $pTopLeft_topLeftX$$, $bottomLeftX_pBottomLeft$$ = this.$_solveEllipseForX$($eA_globalPCTopLeft_pcTopLeft$$, $eB_padding$$10$$, $eH$$, $eK_nodeDefHeight$$, $globalPCBottomRight_pcBottomRight_rootPCBottomRight$$.y), $bottomRightX_nodeDefWidth_pBottomRight$$ = 
      $bottomRightX_nodeDefWidth_pBottomRight$$ - $bottomLeftX_pBottomLeft$$, $tmpNum$$;
      $pTopLeft_topLeftX$$ > $topRightX$$ && ($tmpNum$$ = $pTopLeft_topLeftX$$, $pTopLeft_topLeftX$$ = $topRightX$$, $topRightX$$ = $tmpNum$$);
      $bottomLeftX_pBottomLeft$$ > $bottomRightX_nodeDefWidth_pBottomRight$$ && ($tmpNum$$ = $bottomLeftX_pBottomLeft$$, $bottomLeftX_pBottomLeft$$ = $bottomRightX_nodeDefWidth_pBottomRight$$, $bottomRightX_nodeDefWidth_pBottomRight$$ = $tmpNum$$);
      $pTopLeft_topLeftX$$ = $rect$$7_shape$$30_zoomPct$$.$stageToLocal$($eCenter_node$$150_rootNode$$1$$.$localToStage$(new $dvt$$2$$.$Point$($pTopLeft_topLeftX$$, $pTopRight_rootPCTopLeft$$.y)));
      $pTopRight_rootPCTopLeft$$ = $rect$$7_shape$$30_zoomPct$$.$stageToLocal$($eCenter_node$$150_rootNode$$1$$.$localToStage$(new $dvt$$2$$.$Point$($topRightX$$, $pTopRight_rootPCTopLeft$$.y)));
      $bottomLeftX_pBottomLeft$$ = $rect$$7_shape$$30_zoomPct$$.$stageToLocal$($eCenter_node$$150_rootNode$$1$$.$localToStage$(new $dvt$$2$$.$Point$($bottomLeftX_pBottomLeft$$, $globalPCBottomRight_pcBottomRight_rootPCBottomRight$$.y)));
      $bottomRightX_nodeDefWidth_pBottomRight$$ = $rect$$7_shape$$30_zoomPct$$.$stageToLocal$($eCenter_node$$150_rootNode$$1$$.$localToStage$(new $dvt$$2$$.$Point$($bottomRightX_nodeDefWidth_pBottomRight$$, $globalPCBottomRight_pcBottomRight_rootPCBottomRight$$.y)));
      $eCenter_node$$150_rootNode$$1$$ = $rect$$7_shape$$30_zoomPct$$.$stageToLocal$($eCenter_node$$150_rootNode$$1$$.$localToStage$(new $dvt$$2$$.$Point$($eH$$, $eK_nodeDefHeight$$)));
      this.$drawFlattenedEllipse$($pTopLeft_topLeftX$$.x, $pTopRight_rootPCTopLeft$$.x, $pTopLeft_topLeftX$$.y, $bottomLeftX_pBottomLeft$$.x, $bottomRightX_nodeDefWidth_pBottomRight$$.x, $bottomLeftX_pBottomLeft$$.y, $eCenter_node$$150_rootNode$$1$$.x, $eCenter_node$$150_rootNode$$1$$.y, $eA_globalPCTopLeft_pcTopLeft$$, $eB_padding$$10$$, $rect$$7_shape$$30_zoomPct$$);
    }
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$_solveEllipseForX$ = function $$dvt$$2$$$$AfPanelCard$$$$_solveEllipseForX$$($dvt$$2$$, $eB$$1$$, $eH$$1$$, $eK$$1$$, $eY$$) {
    return $eH$$1$$ + $dvt$$2$$ * Math.sqrt(1 - ($eY$$ - $eK$$1$$) * ($eY$$ - $eK$$1$$) / ($eB$$1$$ * $eB$$1$$));
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$drawFlattenedEllipse$ = function $$dvt$$2$$$$AfPanelCard$$$$drawFlattenedEllipse$$($iX1L$$, $cmds$$3_iX1R$$, $iY1$$, $iX2L$$, $iX2R$$, $iY2$$, $centerX$$2$$, $centerY$$2$$, $radiusX$$, $radiusY$$, $bgShape$$15$$) {
    var $style$$54$$;
    $style$$54$$ || ($style$$54$$ = this.$getCSSStyle$());
    var $bgColor$$6$$, $bdColor$$4_endAngle$$1$$, $bgImg$$5$$;
    $style$$54$$ && ($bgColor$$6$$ = $style$$54$$.$getStyle$($dvt$$2$$.$CSSStyle$.$BACKGROUND_COLOR$), $bdColor$$4_endAngle$$1$$ = $dvt$$2$$.$AfComponent$.$getBorderColor$($style$$54$$), $style$$54$$.$getBorderWidth$(), $bgImg$$5$$ = $style$$54$$.$getBackgroundImage$(), $style$$54$$.$getStyle$($dvt$$2$$.$CSSStyle$.$FILL_TYPE$), $style$$54$$.$getStyle$($dvt$$2$$.$CSSStyle$.$BORDER_TYPE$));
    if ($bgColor$$6$$ || $bdColor$$4_endAngle$$1$$) {
      var $points$$4_startAngle$$1$$ = 180 / Math.PI * Math.acos(($cmds$$3_iX1R$$ - $centerX$$2$$) / $radiusX$$);
      $bdColor$$4_endAngle$$1$$ = 180 / Math.PI * Math.acos(($iX2R$$ - $centerX$$2$$) / $radiusX$$);
      $iY1$$ < $centerY$$2$$ && ($points$$4_startAngle$$1$$ = -$points$$4_startAngle$$1$$);
      $iY2$$ < $centerY$$2$$ && ($bdColor$$4_endAngle$$1$$ = -$bdColor$$4_endAngle$$1$$);
      var $angleSpan$$ = $bdColor$$4_endAngle$$1$$ - $points$$4_startAngle$$1$$, $points$$4_startAngle$$1$$ = this.$getArcPoints$($centerX$$2$$, $centerY$$2$$, $radiusX$$, $radiusY$$, $points$$4_startAngle$$1$$ / 360, $angleSpan$$ / 360), $point$$29$$, $point2$$, $startI$$, $endI$$, $tmpLength$$;
      $startI$$ = $tmpLength$$ = 0;
      $endI$$ = $points$$4_startAngle$$1$$.length - 1;
      for (var $i$$202$$ = 0;$i$$202$$ < $points$$4_startAngle$$1$$.length - 1;$i$$202$$++) {
        if ($point$$29$$ = $points$$4_startAngle$$1$$[$i$$202$$], $point2$$ = $points$$4_startAngle$$1$$[$i$$202$$ + 1], $tmpLength$$ += Math.sqrt(($point2$$.x - $point$$29$$.x) * ($point2$$.x - $point$$29$$.x) + ($point2$$.y - $point$$29$$.y) * ($point2$$.y - $point$$29$$.y)), 8 < $tmpLength$$) {
          $startI$$ = $i$$202$$ + 1;
          $startI$$ > $points$$4_startAngle$$1$$.length - 1 && ($startI$$ = $points$$4_startAngle$$1$$.length - 1);
          break;
        }
      }
      $tmpLength$$ = 0;
      for ($i$$202$$ = $points$$4_startAngle$$1$$.length - 2;0 < $i$$202$$;$i$$202$$--) {
        if ($point$$29$$ = $points$$4_startAngle$$1$$[$i$$202$$], $point2$$ = $points$$4_startAngle$$1$$[$i$$202$$ + 1], $tmpLength$$ += Math.sqrt(($point2$$.x - $point$$29$$.x) * ($point2$$.x - $point$$29$$.x) + ($point2$$.y - $point$$29$$.y) * ($point2$$.y - $point$$29$$.y)), 8 < $tmpLength$$) {
          $endI$$ = $i$$202$$;
          0 > $endI$$ && ($endI$$ = 0);
          break;
        }
      }
      $cmds$$3_iX1R$$ = $dvt$$2$$.$PathUtils$.moveTo($iX1L$$ + 8, $iY1$$) + $dvt$$2$$.$PathUtils$.lineTo($cmds$$3_iX1R$$ - 8, $iY1$$) + $dvt$$2$$.$PathUtils$.$quadTo$($cmds$$3_iX1R$$, $iY1$$, $points$$4_startAngle$$1$$[$startI$$].x, $points$$4_startAngle$$1$$[$startI$$].y);
      for ($i$$202$$ = $startI$$;$i$$202$$ <= $endI$$;$i$$202$$++) {
        $point$$29$$ = $points$$4_startAngle$$1$$[$i$$202$$], $cmds$$3_iX1R$$ += $dvt$$2$$.$PathUtils$.lineTo($point$$29$$.x, $point$$29$$.y);
      }
      $cmds$$3_iX1R$$ += $dvt$$2$$.$PathUtils$.$quadTo$($iX2R$$, $iY2$$, $iX2R$$ - 8, $iY2$$) + $dvt$$2$$.$PathUtils$.lineTo($iX2L$$ + 8, $iY2$$);
      $points$$4_startAngle$$1$$ = this.$getArcPoints$($centerX$$2$$, $centerY$$2$$, $radiusX$$, $radiusY$$, (180 - $bdColor$$4_endAngle$$1$$) / 360, $angleSpan$$ / 360);
      $i$$202$$ = $startI$$;
      $startI$$ = $points$$4_startAngle$$1$$.length - 1 - $endI$$;
      $endI$$ = $points$$4_startAngle$$1$$.length - 1 - $i$$202$$;
      $cmds$$3_iX1R$$ += $dvt$$2$$.$PathUtils$.$quadTo$($iX2L$$, $iY2$$, $points$$4_startAngle$$1$$[$startI$$].x, $points$$4_startAngle$$1$$[$startI$$].y);
      for ($i$$202$$ = $startI$$;$i$$202$$ <= $endI$$;$i$$202$$++) {
        $point$$29$$ = $points$$4_startAngle$$1$$[$i$$202$$], $cmds$$3_iX1R$$ += $dvt$$2$$.$PathUtils$.lineTo($point$$29$$.x, $point$$29$$.y);
      }
      $cmds$$3_iX1R$$ += $dvt$$2$$.$PathUtils$.$quadTo$($iX1L$$, $iY1$$, $iX1L$$ + 8, $iY1$$) + $dvt$$2$$.$PathUtils$.closePath();
      $bgShape$$15$$ && $bgShape$$15$$.$setCmds$ && $bgShape$$15$$.$setCmds$($cmds$$3_iX1R$$);
    }
    $bgColor$$6$$ && this.$RenderBackgroundFill$($bgShape$$15$$, $style$$54$$, $bgColor$$6$$);
    this.$RenderBackgroundStroke$($bgShape$$15$$, $style$$54$$);
    this.$RenderBackgroundImage$($bgShape$$15$$, $style$$54$$, $bgImg$$5$$);
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$getArcPoints$ = function $$dvt$$2$$$$AfPanelCard$$$$getArcPoints$$($centerX$$3$$, $centerY$$3$$, $radiusX$$1$$, $radiusY$$1$$, $startAngle$$2$$, $angleStep_arcAngle$$) {
    var $points$$5$$ = [], $twoPI$$ = 2 * Math.PI;
    $angleStep_arcAngle$$ /= 20;
    var $xx$$23$$ = $centerX$$3$$ + Math.cos($startAngle$$2$$ * $twoPI$$) * $radiusX$$1$$, $angle$$5_yy$$23$$ = $centerY$$3$$ + Math.sin($startAngle$$2$$ * $twoPI$$) * $radiusY$$1$$;
    $points$$5$$.push(new $dvt$$2$$.$Point$($xx$$23$$, $angle$$5_yy$$23$$));
    for (var $i$$203$$ = 1;20 >= $i$$203$$;$i$$203$$++) {
      $angle$$5_yy$$23$$ = $startAngle$$2$$ + $i$$203$$ * $angleStep_arcAngle$$, $xx$$23$$ = $centerX$$3$$ + Math.cos($angle$$5_yy$$23$$ * $twoPI$$) * $radiusX$$1$$, $angle$$5_yy$$23$$ = $centerY$$3$$ + Math.sin($angle$$5_yy$$23$$ * $twoPI$$) * $radiusY$$1$$, $points$$5$$.push(new $dvt$$2$$.$Point$($xx$$23$$, $angle$$5_yy$$23$$));
    }
    return $points$$5$$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$TransitionDisplayItems$ = function $$dvt$$2$$$$AfPanelCard$$$$TransitionDisplayItems$$($effect$$4_node$$151$$, $bForward$$3$$, $updateKeyboardEffectOnEnd$$1$$) {
    var $oldChild$$2_p$$1$$;
    if ($effect$$4_node$$151$$ == $dvt$$2$$.$AfPanelCard$.$EFFECT_SLIDE_HORZ$) {
      this.$_addTransitionClipPath$(), $oldChild$$2_p$$1$$ = this.$TransitionSlideHorizontal$($bForward$$3$$);
    } else {
      if ($effect$$4_node$$151$$ == $dvt$$2$$.$AfPanelCard$.$EFFECT_FLIP_HORZ$) {
        $effect$$4_node$$151$$ = this.$_getNode$();
        $oldChild$$2_p$$1$$ = this.$_oldChild$ ? this.$_oldChild$.$_bgShape$ : null;
        var $child$$49$$ = this.$_child$ ? this.$_child$.$_bgShape$ : null;
        $oldChild$$2_p$$1$$ = this.$TransitionBitmaps$($effect$$4_node$$151$$, $oldChild$$2_p$$1$$, $child$$49$$, $bForward$$3$$, this.$createCallback$(this.$createCombinedFlip$));
      } else {
        $effect$$4_node$$151$$ == $dvt$$2$$.$AfPanelCard$.$EFFECT_NODE_FLIP_HORZ$ ? ($effect$$4_node$$151$$ = this.$_getNode$(), $oldChild$$2_p$$1$$ = this.$TransitionBitmaps$($effect$$4_node$$151$$, $effect$$4_node$$151$$, $effect$$4_node$$151$$, $bForward$$3$$, this.$createCallback$(this.$createCombinedFlip$))) : $effect$$4_node$$151$$ == $dvt$$2$$.$AfPanelCard$.$EFFECT_CUBE_ROTATE_HORZ$ ? ($effect$$4_node$$151$$ = this.$_getNode$(), $oldChild$$2_p$$1$$ = this.$_oldChild$ ? this.$_oldChild$.$_bgShape$ : 
        null, $child$$49$$ = this.$_child$ ? this.$_child$.$_bgShape$ : null, $oldChild$$2_p$$1$$ = this.$TransitionBitmaps$($effect$$4_node$$151$$, $oldChild$$2_p$$1$$, $child$$49$$, $bForward$$3$$, this.$createCallback$(this.$createCombinedCube$))) : $effect$$4_node$$151$$ == $dvt$$2$$.$AfPanelCard$.$EFFECT_NODE_CUBE_ROTATE_HORZ$ ? ($effect$$4_node$$151$$ = this.$_getNode$(), $oldChild$$2_p$$1$$ = this.$TransitionBitmaps$($effect$$4_node$$151$$, $effect$$4_node$$151$$, $effect$$4_node$$151$$, $bForward$$3$$, 
        this.$createCallback$(this.$createCombinedCube$))) : (this.$TransitionImmediate$(), this.$_endTransition$(), $updateKeyboardEffectOnEnd$$1$$ && $updateKeyboardEffectOnEnd$$1$$.call());
      }
    }
    if ($oldChild$$2_p$$1$$) {
      var $bOldNextME$$ = !0, $bOldPrevME$$ = !0;
      this.$_nextButton$ && ($bOldNextME$$ = this.$_nextButton$.$_bMouseEnabled$, this.$_nextButton$.$setMouseEnabled$(!1));
      this.$_prevButton$ && ($bOldPrevME$$ = this.$_prevButton$.$_bMouseEnabled$, this.$_prevButton$.$setMouseEnabled$(!1));
      var $thisRef$$24$$ = this, $oldOnEnd$$ = $oldChild$$2_p$$1$$.$getOnEnd$();
      $oldChild$$2_p$$1$$.$setOnEnd$($oldOnEnd$$ ? function() {
        $thisRef$$24$$.$_nextButton$ && $thisRef$$24$$.$_nextButton$.$setMouseEnabled$($bOldNextME$$);
        $thisRef$$24$$.$_prevButton$ && $thisRef$$24$$.$_prevButton$.$setMouseEnabled$($bOldPrevME$$);
        $oldOnEnd$$[0].call($oldOnEnd$$[1]);
        $thisRef$$24$$.$_endTransition$();
        $updateKeyboardEffectOnEnd$$1$$ && $updateKeyboardEffectOnEnd$$1$$.call();
      } : function() {
        $thisRef$$24$$.$_nextButton$ && $thisRef$$24$$.$_nextButton$.$setMouseEnabled$($bOldNextME$$);
        $thisRef$$24$$.$_prevButton$ && $thisRef$$24$$.$_prevButton$.$setMouseEnabled$($bOldPrevME$$);
        $thisRef$$24$$.$_endTransition$();
        $updateKeyboardEffectOnEnd$$1$$ && $updateKeyboardEffectOnEnd$$1$$.call();
      }, this);
      $oldChild$$2_p$$1$$.play();
    }
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$TransitionSlideHorizontal$ = function $$dvt$$2$$$$AfPanelCard$$$$TransitionSlideHorizontal$$($bForward$$4$$) {
    var $oldContent$$4$$ = this.$_oldChild$.$_bgShape$, $newContent$$4$$ = this.$_child$.$_bgShape$, $oldTitleBar$$ = this.$_oldTitleBar$, $titleBar$$5$$ = this.$_titleBar$, $oldObjs$$ = [], $newObjs$$ = [], $animator$$51$$;
    this.$_setTrainSelectedIndex$();
    var $offsetX$$2$$ = this.$getNodeWidth$();
    $bForward$$4$$ || ($offsetX$$2$$ = -$offsetX$$2$$);
    $oldContent$$4$$ != $newContent$$4$$ && ($oldObjs$$.push($oldContent$$4$$), $newObjs$$.push($newContent$$4$$), $newContent$$4$$.$setTranslateX$($newContent$$4$$.$getTranslateX$() + $offsetX$$2$$));
    $oldTitleBar$$ != $titleBar$$5$$ && ($oldTitleBar$$ && $oldObjs$$.push($oldTitleBar$$), $titleBar$$5$$ && ($newObjs$$.push($titleBar$$5$$), $titleBar$$5$$.$setTranslateX$($titleBar$$5$$.$getTranslateX$() + $offsetX$$2$$)));
    if ($oldObjs$$.length || $newObjs$$.length) {
      $animator$$51$$ = new $dvt$$2$$.$CombinedAnimMoveBy$(this.$getDvtContext$(), $oldObjs$$, $newObjs$$, new $dvt$$2$$.$Point$(-$offsetX$$2$$), new $dvt$$2$$.$Point$(-$offsetX$$2$$), $dvt$$2$$.$AfPanelCard$.$EFFECT_DURATION$), $animator$$51$$.$setOnEnd$(this.$removeOldDisplayItem$, this), $animator$$51$$.play();
    }
    return $animator$$51$$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$TransitionImmediate$ = function $$dvt$$2$$$$AfPanelCard$$$$TransitionImmediate$$() {
    this.$removeOldDisplayItem$();
    this.$_setTrainSelectedIndex$();
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$createCombinedFlip$ = function $$dvt$$2$$$$AfPanelCard$$$$createCombinedFlip$$($oldDispObj$$, $newDispObj$$, $bForward$$5$$) {
    return new $dvt$$2$$.$CombinedAnimFlip$(this.$getDvtContext$(), $oldDispObj$$, $newDispObj$$, $dvt$$2$$.$BaseAnimation$.$AXIS_Y$, $bForward$$5$$ ? $dvt$$2$$.$BaseAnimation$.$ROT_DIR_COUNTERCLOCKWISE$ : $dvt$$2$$.$BaseAnimation$.$ROT_DIR_CLOCKWISE$, $dvt$$2$$.$AfPanelCard$.$EFFECT_DURATION$);
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$createCombinedCube$ = function $$dvt$$2$$$$AfPanelCard$$$$createCombinedCube$$($oldDispObj$$1$$, $newDispObj$$1$$, $bForward$$6$$) {
    return new $dvt$$2$$.$CombinedAnimCube$(this.$getDvtContext$(), $oldDispObj$$1$$, $newDispObj$$1$$, $dvt$$2$$.$BaseAnimation$.$AXIS_Y$, $bForward$$6$$ ? $dvt$$2$$.$BaseAnimation$.$ROT_DIR_COUNTERCLOCKWISE$ : $dvt$$2$$.$BaseAnimation$.$ROT_DIR_CLOCKWISE$, 2 * $dvt$$2$$.$AfPanelCard$.$EFFECT_DURATION$);
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$TransitionBitmaps$ = function $$dvt$$2$$$$AfPanelCard$$$$TransitionBitmaps$$($node$$152_playable$$12$$, $dOld$$, $dNew$$, $bForward$$7$$, $playableCreator$$) {
    var $oldNode$$6$$ = this.$_oldNode$;
    $node$$152_playable$$12$$ = $playableCreator$$(this.$createBitmapDataForTransition$($oldNode$$6$$, $oldNode$$6$$, $dOld$$, this.$_oldTitleBar$), this.$createBitmapDataForTransition$($oldNode$$6$$, $dvt$$2$$.$AfPanelCard$.$_getNodeContentRoot$($node$$152_playable$$12$$), $dNew$$, this.$_titleBar$), $bForward$$7$$);
    var $thisRef$$25$$ = this;
    $node$$152_playable$$12$$.$setOnEnd$(function() {
      $thisRef$$25$$.$_setTrainSelectedIndex$();
      if ($oldNode$$6$$) {
        var $dvt$$2$$ = $oldNode$$6$$.getParent();
        $dvt$$2$$ && $dvt$$2$$.removeChild($oldNode$$6$$);
        $thisRef$$25$$.$_oldNode$ = null;
      } else {
        $thisRef$$25$$.$removeOldDisplayItem$();
      }
    }, this);
    return $node$$152_playable$$12$$;
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$createBitmapDataForTransition$ = function $$dvt$$2$$$$AfPanelCard$$$$createBitmapDataForTransition$$($dvt$$2$$, $node$$153$$, $dispObj$$16$$, $titleBar$$6$$) {
    return $dvt$$2$$ ? [$node$$153$$] : [$dispObj$$16$$, $titleBar$$6$$];
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$_addTransitionClipPath$ = function $$dvt$$2$$$$AfPanelCard$$$$_addTransitionClipPath$$() {
    this.$_cpContainer$ = this.$CreateNewContainerForChildren$();
    var $clipPath$$6$$ = new $dvt$$2$$.$ClipPath$(this.$_getUniqueId$() + $DvtAfComponentUtils$$.$_CLIP_PATH_SUFFIX$);
    if (this.$getNodeShape$() == $dvt$$2$$.$AfPanelCard$.$SHAPE_ELLIPSE$) {
      $clipPath$$6$$.$addPath$(this.$_contentPane$.$getCmds$());
    } else {
      var $dim$$40$$ = $dvt$$2$$.$AfComponent$.$getDimensions$(this);
      $clipPath$$6$$.$addRect$($dim$$40$$.x, $dim$$40$$.y, $dim$$40$$.$w$, $dim$$40$$.$h$);
    }
    this.$_cpContainer$.$setClipPath$($clipPath$$6$$);
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$_removeTransitionClipPath$ = function $$dvt$$2$$$$AfPanelCard$$$$_removeTransitionClipPath$$() {
    this.$_cpContainer$ && (this.$RemoveChildrenContainer$(this.$_cpContainer$), this.$_cpContainer$ = null);
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$_endTransition$ = function $$dvt$$2$$$$AfPanelCard$$$$_endTransition$$() {
    this.$_bTransitioning$ = !1;
    this.$_removeTransitionClipPath$();
  };
  $dvt$$2$$.$AfPanelCard$.$_getNodeContentRoot$ = function $$dvt$$2$$$$AfPanelCard$$$_getNodeContentRoot$$($dvt$$2$$) {
    var $afRoot$$9$$;
    $dvt$$2$$.$GetAfComponentRoot$ && ($afRoot$$9$$ = $dvt$$2$$.$GetAfComponentRoot$());
    return $afRoot$$9$$ && $afRoot$$9$$.$getDisplayObj$ ? $afRoot$$9$$.$_bgShape$ : $dvt$$2$$;
  };
  $dvt$$2$$.$AfPanelCard$.$_setTitleBarVisible$ = function $$dvt$$2$$$$AfPanelCard$$$_setTitleBarVisible$$($dvt$$2$$, $visible$$2$$) {
    $dvt$$2$$ && $dvt$$2$$.$setVisible$($visible$$2$$);
  };
  $dvt$$2$$.$AfPanelCard$.$_setItemDisplayableVisible$ = function $$dvt$$2$$$$AfPanelCard$$$_setItemDisplayableVisible$$($dvt$$2$$, $visible$$3$$) {
    $dvt$$2$$ && $dvt$$2$$.$SetDOVisible$ && $dvt$$2$$.$SetDOVisible$($visible$$3$$);
  };
  $dvt$$2$$.$AfPanelCard$.prototype.$_setTrainSelectedIndex$ = function $$dvt$$2$$$$AfPanelCard$$$$_setTrainSelectedIndex$$() {
    this.$_train$ && this.$_train$.$setSelectedIndex$(this.$getDisplayedDetailItemIndex$());
  };
  $dvt$$2$$.$NavButton$ = function $$dvt$$2$$$$NavButton$$($dvt$$2$$, $dvtContext$$36$$, $upState$$5$$, $overState$$5$$, $downState$$5$$, $id$$73$$) {
    this.Init($dvt$$2$$, $dvtContext$$36$$, $upState$$5$$, $overState$$5$$, $downState$$5$$, $id$$73$$);
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$NavButton$, $dvt$$2$$.$Button$, "dvt.NavButton");
  $dvt$$2$$.$NavButton$.prototype.Init = function $$dvt$$2$$$$NavButton$$$Init$($panelCard$$8$$, $dvtContext$$37$$, $upState$$6$$, $overState$$6$$, $downState$$6$$, $id$$74$$) {
    $dvt$$2$$.$NavButton$.$superclass$.Init.call(this, $dvtContext$$37$$, $upState$$6$$, $overState$$6$$, $downState$$6$$, $id$$74$$);
    this.$_panelCard$ = $panelCard$$8$$;
  };
  $dvt$$2$$.$NavButton$.prototype.$getTooltip$ = function $$dvt$$2$$$$NavButton$$$$getTooltip$$() {
    return this.$_panelCard$.$getNavButtonTooltip$(this);
  };
  $dvt$$2$$.$NavButton$.prototype.$getAriaLabel$ = function $$dvt$$2$$$$NavButton$$$$getAriaLabel$$() {
    return this.$getTooltip$();
  };
  $dvt$$2$$.$NavButton$.prototype.$getPanelCard$ = function $$dvt$$2$$$$NavButton$$$$getPanelCard$$() {
    return this.$_panelCard$;
  };
  $dvt$$2$$.$AfShowPopupBehavior$ = function $$dvt$$2$$$$AfShowPopupBehavior$$() {
    this.Init();
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfShowPopupBehavior$, $dvt$$2$$.$PropMap$, "dvt.AfShowPopupBehavior");
  $dvt$$2$$.$AfShowPopupBehavior$.$TAG_NAME$ = "spb";
  $dvt$$2$$.$AfComponentFactory$.$registerComponent$($dvt$$2$$.$AfShowPopupBehavior$.$TAG_NAME$, $dvt$$2$$.$AfShowPopupBehavior$);
  $dvt$$2$$.$AfShowPopupBehavior$.$ATTR_POPUP_ID$ = "popupId";
  $dvt$$2$$.$AfShowPopupBehavior$.$ATTR_TRIGGER_TYPE$ = "triggerType";
  $dvt$$2$$.$AfShowPopupBehavior$.$ATTR_ALIGN_ID$ = "alignId";
  $dvt$$2$$.$AfShowPopupBehavior$.$ATTR_ALIGN$ = "align";
  $dvt$$2$$.$AfShowPopupBehavior$.prototype.$getPopupId$ = function $$dvt$$2$$$$AfShowPopupBehavior$$$$getPopupId$$() {
    return this.$getProperty$($dvt$$2$$.$AfShowPopupBehavior$.$ATTR_POPUP_ID$);
  };
  $dvt$$2$$.$AfShowPopupBehavior$.prototype.$getTriggerType$ = function $$dvt$$2$$$$AfShowPopupBehavior$$$$getTriggerType$$() {
    return this.$getProperty$($dvt$$2$$.$AfShowPopupBehavior$.$ATTR_TRIGGER_TYPE$);
  };
  $dvt$$2$$.$AfShowPopupBehavior$.prototype.$getAlignId$ = function $$dvt$$2$$$$AfShowPopupBehavior$$$$getAlignId$$() {
    return this.$getProperty$($dvt$$2$$.$AfShowPopupBehavior$.$ATTR_ALIGN_ID$);
  };
  $dvt$$2$$.$AfShowPopupBehavior$.prototype.$getAlign$ = function $$dvt$$2$$$$AfShowPopupBehavior$$$$getAlign$$() {
    return this.$getProperty$($dvt$$2$$.$AfShowPopupBehavior$.$ATTR_ALIGN$);
  };
  $dvt$$2$$.$AfShowPopupBehavior$.prototype.$createDisplayObj$ = function $$dvt$$2$$$$AfShowPopupBehavior$$$$createDisplayObj$$() {
    return new $dvt$$2$$.$ShowPopupBehavior$(this.$getPopupId$(), this.$getTriggerType$(), this.$getAlignId$(), this.$getAlign$());
  };
  $dvt$$2$$.$AfClientBehavior$ = function $$dvt$$2$$$$AfClientBehavior$$() {
    this.Init();
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfClientBehavior$, $dvt$$2$$.$PropMap$, "dvt.AfClientBehavior");
  $dvt$$2$$.$AfClientBehavior$.$TAG_NAME$ = "bhvr";
  $dvt$$2$$.$AfComponentFactory$.$registerComponent$($dvt$$2$$.$AfClientBehavior$.$TAG_NAME$, $dvt$$2$$.$AfClientBehavior$);
  $dvt$$2$$.$AfClientBehavior$.$ATTR_TYPE$ = "type";
  $dvt$$2$$.$AfClientBehavior$.$ATTR_TRIGGER_TYPE$ = "triggerType";
  $dvt$$2$$.$AfClientBehavior$.prototype.$getType$ = function $$dvt$$2$$$$AfClientBehavior$$$$getType$$() {
    return this.$getProperty$($dvt$$2$$.$AfClientBehavior$.$ATTR_TYPE$);
  };
  $dvt$$2$$.$AfClientBehavior$.prototype.$setType$ = function $$dvt$$2$$$$AfClientBehavior$$$$setType$$($type$$120$$) {
    this.setProperty($dvt$$2$$.$AfClientBehavior$.$ATTR_TYPE$, $type$$120$$);
  };
  $dvt$$2$$.$AfClientBehavior$.prototype.$getTriggerType$ = function $$dvt$$2$$$$AfClientBehavior$$$$getTriggerType$$() {
    return this.$getProperty$($dvt$$2$$.$AfClientBehavior$.$ATTR_TRIGGER_TYPE$);
  };
  $dvt$$2$$.$AfClientBehavior$.prototype.$createDisplayObj$ = function $$dvt$$2$$$$AfClientBehavior$$$$createDisplayObj$$() {
    var $behavior$$4$$ = new $dvt$$2$$.$ClientBehavior$(this.$getType$(), this.$getTriggerType$()), $prop$$10$$;
    for ($prop$$10$$ in this.$_props$) {
      $prop$$10$$ != $dvt$$2$$.$AfClientBehavior$.$ATTR_TYPE$ && $prop$$10$$ != $dvt$$2$$.$AfClientBehavior$.$ATTR_TRIGGER_TYPE$ && $behavior$$4$$.setProperty($prop$$10$$, this.$getProperty$($prop$$10$$));
    }
    return $behavior$$4$$;
  };
  $dvt$$2$$.$AfGroup$ = function $$dvt$$2$$$$AfGroup$$() {
    this.Init();
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfGroup$, $dvt$$2$$.$AfComponent$, "dvt.AfGroup");
  $dvt$$2$$.$AfGroup$.$TAG_NAME$ = "grp";
  $dvt$$2$$.$AfComponentFactory$.$registerComponent$($dvt$$2$$.$AfGroup$.$TAG_NAME$, $dvt$$2$$.$AfGroup$);
  $dvt$$2$$.$AfGroup$.prototype.$GetDefaultStyles$ = function $$dvt$$2$$$$AfGroup$$$$GetDefaultStyles$$() {
    return $dvt$$2$$.$AfGroup$.$_afStyles$;
  };
  $dvt$$2$$.$AfGroup$.prototype.$SetDefaultStyles$ = function $$dvt$$2$$$$AfGroup$$$$SetDefaultStyles$$($styleList$$28$$) {
    $dvt$$2$$.$AfGroup$.$_afStyles$ = $styleList$$28$$;
  };
  $dvt$$2$$.$AfGroup$.prototype.$getTagName$ = function $$dvt$$2$$$$AfGroup$$$$getTagName$$() {
    return $dvt$$2$$.$AfGroup$.$TAG_NAME$;
  };
  $dvt$$2$$.$AfGroup$.prototype.$_hasBgShape$ = function $$dvt$$2$$$$AfGroup$$$$_hasBgShape$$() {
    return !1;
  };
  $dvt$$2$$.$AfGroup$.prototype.$stamp$ = function $$dvt$$2$$$$AfGroup$$$$stamp$$($elcontext$$1$$) {
    return $dvt$$2$$.$AfComponent$.$superclass$.$stamp$.call(this, $elcontext$$1$$);
  };
  $dvt$$2$$.$AfPointLocation$ = function $$dvt$$2$$$$AfPointLocation$$() {
    this.Init();
  };
  $dvt$$2$$.$Obj$.$createSubclass$($dvt$$2$$.$AfPointLocation$, $dvt$$2$$.$AfComponent$, "dvt.AfPointLocation");
  $dvt$$2$$.$AfPointLocation$.$TAG_NAME$ = "pLoc";
  $dvt$$2$$.$AfComponentFactory$.$registerComponent$($dvt$$2$$.$AfPointLocation$.$TAG_NAME$, $dvt$$2$$.$AfPointLocation$);
  $dvt$$2$$.$AfPointLocation$.prototype.$GetDefaultStyles$ = function $$dvt$$2$$$$AfPointLocation$$$$GetDefaultStyles$$() {
    return $dvt$$2$$.$AfPointLocation$.$_afStyles$;
  };
  $dvt$$2$$.$AfPointLocation$.prototype.$SetDefaultStyles$ = function $$dvt$$2$$$$AfPointLocation$$$$SetDefaultStyles$$($styleList$$29$$) {
    $dvt$$2$$.$AfPointLocation$.$_afStyles$ = $styleList$$29$$;
  };
  $dvt$$2$$.$AfPointLocation$.prototype.$getTagName$ = function $$dvt$$2$$$$AfPointLocation$$$$getTagName$$() {
    return $dvt$$2$$.$AfPointLocation$.$TAG_NAME$;
  };
  $dvt$$2$$.$AfPointLocation$.prototype.$_hasBgShape$ = function $$dvt$$2$$$$AfPointLocation$$$$_hasBgShape$$() {
    return !1;
  };
  $dvt$$2$$.$AfPointLocation$.prototype.$stamp$ = function $$dvt$$2$$$$AfPointLocation$$$$stamp$$($elcontext$$2$$) {
    return $dvt$$2$$.$AfComponent$.$superclass$.$stamp$.call(this, $elcontext$$2$$);
  };
})(dvt);
