"undefined" == typeof AdfDhtmlDvtToolkitPeer && AdfRichUIPeer.createPeerClass(AdfDhtmlCommonFlashPeer, "AdfDhtmlDvtToolkitPeer", !1);
AdfDhtmlDvtToolkitPeer.InitSubclass = function $AdfDhtmlDvtToolkitPeer$InitSubclass$() {
  AdfObject.ensureClassInitialization(AdfDhtmlDvtToolkitPeer);
  AdfRichUIPeer.addSuppressedPPRAttributes(this, AdfDvtToolkitComponent.$__CLIENT_WIDTH_KEY$);
  AdfRichUIPeer.addSuppressedPPRAttributes(this, AdfDvtToolkitComponent.$__CLIENT_HEIGHT_KEY$);
};
$goog$exportSymbol$$("AdfDhtmlDvtToolkitPeer.InitSubclass", AdfDhtmlDvtToolkitPeer.InitSubclass);
AdfDhtmlDvtToolkitPeer.$_FETCH_SPINNER_XML$ = "\x3cfetch/\x3e";
AdfDhtmlDvtToolkitPeer.prototype.InitDomElement = function $AdfDhtmlDvtToolkitPeer$$InitDomElement$($component$$287$$, $domElement$$112$$) {
  AdfDhtmlDvtToolkitPeer.superclass.InitDomElement.call(this, $component$$287$$, $domElement$$112$$);
  var $computedStyle$$1_dragEndCallback_resourceBundle_resourceBundleString_styleClassString_styleClasses$$1$$ = AdfDhtmlDvtToolkitPeer.$_getResourcesString$($component$$287$$.getClientId());
  $computedStyle$$1_dragEndCallback_resourceBundle_resourceBundleString_styleClassString_styleClasses$$1$$ && ($computedStyle$$1_dragEndCallback_resourceBundle_resourceBundleString_styleClassString_styleClasses$$1$$ = $AdfDhtmlCommonFlashUtils$$.$toJson$($computedStyle$$1_dragEndCallback_resourceBundle_resourceBundleString_styleClassString_styleClasses$$1$$)) && dvt.$Bundle$.$addLocalizedStrings$($computedStyle$$1_dragEndCallback_resourceBundle_resourceBundleString_styleClassString_styleClasses$$1$$);
  if ($computedStyle$$1_dragEndCallback_resourceBundle_resourceBundleString_styleClassString_styleClasses$$1$$ = AdfDhtmlDvtToolkitPeer.$_getStyleClassString$($component$$287$$.getClientId())) {
    if ($computedStyle$$1_dragEndCallback_resourceBundle_resourceBundleString_styleClassString_styleClasses$$1$$ = $AdfDhtmlCommonFlashUtils$$.$toJson$($computedStyle$$1_dragEndCallback_resourceBundle_resourceBundleString_styleClassString_styleClasses$$1$$)) {
      var $styles$$inline_956$$ = {}, $outerDummyDiv$$inline_957$$ = document.createElement("div"), $i$$inline_959_outerStyle$$inline_958$$;
      $i$$inline_959_outerStyle$$inline_958$$ = "display:none;" + ("font-family:" + $AdfDvtStyleProcessor$$.$_INHERITED_FONT_FAMILY$ + ";");
      $i$$inline_959_outerStyle$$inline_958$$ += "font-size:" + $AdfDvtStyleProcessor$$.$_INHERITED_FONT_SIZE$ + ";";
      $i$$inline_959_outerStyle$$inline_958$$ += "color:" + $AdfDvtStyleProcessor$$.$_INHERITED_FONT_COLOR$ + ";";
      $i$$inline_959_outerStyle$$inline_958$$ += "font-weight:" + $AdfDvtStyleProcessor$$.$_INHERITED_FONT_WEIGHT$ + ";";
      $i$$inline_959_outerStyle$$inline_958$$ += "font-style:" + $AdfDvtStyleProcessor$$.$_INHERITED_FONT_STYLE$ + ";";
      $outerDummyDiv$$inline_957$$.setAttribute("style", $i$$inline_959_outerStyle$$inline_958$$);
      $domElement$$112$$.appendChild($outerDummyDiv$$inline_957$$);
      for ($i$$inline_959_outerStyle$$inline_958$$ = 0;$i$$inline_959_outerStyle$$inline_958$$ < $computedStyle$$1_dragEndCallback_resourceBundle_resourceBundleString_styleClassString_styleClasses$$1$$.length;$i$$inline_959_outerStyle$$inline_958$$++) {
        var $styleClassInfo$$inline_960$$ = $computedStyle$$1_dragEndCallback_resourceBundle_resourceBundleString_styleClassString_styleClasses$$1$$[$i$$inline_959_outerStyle$$inline_958$$], $j$$inline_964_styleClass$$inline_961$$ = $styleClassInfo$$inline_960$$[0], $dummyDiv$$inline_963_pseudoElement$$inline_962$$ = $styleClassInfo$$inline_960$$[1];
        $dummyDiv$$inline_963_pseudoElement$$inline_962$$ && ($j$$inline_964_styleClass$$inline_961$$ = $j$$inline_964_styleClass$$inline_961$$ + " " + $dummyDiv$$inline_963_pseudoElement$$inline_962$$);
        $dummyDiv$$inline_963_pseudoElement$$inline_962$$ = document.createElement("div");
        $dummyDiv$$inline_963_pseudoElement$$inline_962$$.className = $j$$inline_964_styleClass$$inline_961$$;
        $dummyDiv$$inline_963_pseudoElement$$inline_962$$.setAttribute("style", "display:none;");
        $outerDummyDiv$$inline_957$$.appendChild($dummyDiv$$inline_963_pseudoElement$$inline_962$$);
        for ($j$$inline_964_styleClass$$inline_961$$ = 2;$j$$inline_964_styleClass$$inline_961$$ < $styleClassInfo$$inline_960$$.length;$j$$inline_964_styleClass$$inline_961$$ += 2) {
          var $cssDiv$$inline_4981$$ = $dummyDiv$$inline_963_pseudoElement$$inline_962$$, $property$$inline_4983$$ = $styleClassInfo$$inline_960$$[$j$$inline_964_styleClass$$inline_961$$ + 1], $pathObj$$inline_4985$$ = new $AdfDvtJsonPath$$($styles$$inline_956$$, $styleClassInfo$$inline_960$$[$j$$inline_964_styleClass$$inline_961$$]), $handler$$inline_4987_value$$inline_4986$$ = void 0;
          $property$$inline_4983$$ && ($handler$$inline_4987_value$$inline_4986$$ = ($handler$$inline_4987_value$$inline_4986$$ = $AdfDvtStyleProcessor$$[$property$$inline_4983$$]) ? $handler$$inline_4987_value$$inline_4986$$($cssDiv$$inline_4981$$, $pathObj$$inline_4985$$.getValue()) : $AdfDvtStyleProcessor$$.$defaultStyleProcessor$($cssDiv$$inline_4981$$, $property$$inline_4983$$));
          null == $handler$$inline_4987_value$$inline_4986$$ || "string" == typeof $handler$$inline_4987_value$$inline_4986$$ && "" == $handler$$inline_4987_value$$inline_4986$$.replace(/^\s+/g, "") || $pathObj$$inline_4985$$.setValue($handler$$inline_4987_value$$inline_4986$$);
        }
        $outerDummyDiv$$inline_957$$.removeChild($dummyDiv$$inline_963_pseudoElement$$inline_962$$);
      }
      $domElement$$112$$.removeChild($outerDummyDiv$$inline_957$$);
    }
  }
  "ATTACHMENT" == this.$getClientImageFormat$($component$$287$$) && this.$DisplayDataUri$($component$$287$$);
  $component$$287$$.getProperty(AdfDhtmlCommonFlashPeer.$__IS_IN_TABLE_KEY$) && "HTML5" == this.$getClientImageFormat$($component$$287$$) && ($computedStyle$$1_dragEndCallback_resourceBundle_resourceBundleString_styleClassString_styleClasses$$1$$ = AdfAgent.AGENT.getComputedStyle($domElement$$112$$), this.$_setDimensions$($component$$287$$, Number($computedStyle$$1_dragEndCallback_resourceBundle_resourceBundleString_styleClassString_styleClasses$$1$$.width.substring(0, $computedStyle$$1_dragEndCallback_resourceBundle_resourceBundleString_styleClassString_styleClasses$$1$$.width.length - 
  2)) | 0, Number($computedStyle$$1_dragEndCallback_resourceBundle_resourceBundleString_styleClassString_styleClasses$$1$$.height.substring(0, $computedStyle$$1_dragEndCallback_resourceBundle_resourceBundleString_styleClassString_styleClasses$$1$$.height.length - 2)) | 0), this.$_createAndRender$($component$$287$$, $domElement$$112$$));
  AdfAgent.AGENT.getPlatform() != AdfAgent.IE_PLATFORM && ($computedStyle$$1_dragEndCallback_resourceBundle_resourceBundleString_styleClassString_styleClasses$$1$$ = this.createCallback(this.$OnDragEnd$), this.$_dragCallbacks$ = {touchend:$computedStyle$$1_dragEndCallback_resourceBundle_resourceBundleString_styleClassString_styleClasses$$1$$, mouseup:$computedStyle$$1_dragEndCallback_resourceBundle_resourceBundleString_styleClassString_styleClasses$$1$$}, AdfAgent.AGENT.startMouseEventCapture(this.$_dragCallbacks$));
};
AdfDhtmlDvtToolkitPeer.prototype.InitDomElement = AdfDhtmlDvtToolkitPeer.prototype.InitDomElement;
AdfDhtmlDvtToolkitPeer.prototype.ComponentRemoved = function $AdfDhtmlDvtToolkitPeer$$ComponentRemoved$($component$$288$$) {
  AdfDhtmlDvtToolkitPeer.superclass.ComponentRemoved.call(this, $component$$288$$);
  AdfAgent.AGENT.getPlatform() != AdfAgent.IE_PLATFORM && AdfAgent.AGENT.stopMouseEventCapture(this.$_dragCallbacks$);
};
AdfDhtmlDvtToolkitPeer.prototype.ComponentRemoved = AdfDhtmlDvtToolkitPeer.prototype.ComponentRemoved;
AdfDhtmlDvtToolkitPeer.prototype.$OnDragEnd$ = function $AdfDhtmlDvtToolkitPeer$$$OnDragEnd$$() {
  this.$_view$ && this.$_view$.$getEventManager$ && this.$_view$.$getEventManager$().$endDrag$ && this.$_view$.$getEventManager$().$endDrag$();
};
AdfDhtmlDvtToolkitPeer.prototype.ResizeNotify = function $AdfDhtmlDvtToolkitPeer$$ResizeNotify$($component$$289_oldWidth$$5$$, $currentWidth_imageFormat$$1_oldHeight$$5$$, $evt$$54_newWidth$$7$$, $newHeight$$6$$) {
  AdfDhtmlDvtToolkitPeer.superclass.ResizeNotify.call($component$$289_oldWidth$$5$$, $currentWidth_imageFormat$$1_oldHeight$$5$$, $evt$$54_newWidth$$7$$, $newHeight$$6$$);
  if (!this.getComponent().getProperty(AdfDhtmlCommonFlashPeer.$__IS_IN_MASHUP_KEY$)) {
    if ($component$$289_oldWidth$$5$$ = this.getComponent(), $currentWidth_imageFormat$$1_oldHeight$$5$$ = this.$getClientImageFormat$($component$$289_oldWidth$$5$$), "HTML5" == $currentWidth_imageFormat$$1_oldHeight$$5$$) {
      this.$_view$ ? ($evt$$54_newWidth$$7$$ != this.$_clientWidth$ || $newHeight$$6$$ != this.$_clientHeight$) && 5 <= Math.abs(this.$_clientWidth$ - $evt$$54_newWidth$$7$$) + Math.abs(this.$_clientHeight$ - $newHeight$$6$$) && (this.$_setDimensions$($component$$289_oldWidth$$5$$, $evt$$54_newWidth$$7$$, $newHeight$$6$$), this.$_render$($component$$289_oldWidth$$5$$, null)) : (this.$_setDimensions$($component$$289_oldWidth$$5$$, $evt$$54_newWidth$$7$$, $newHeight$$6$$), this.$_createAndRender$($component$$289_oldWidth$$5$$, 
      this.getDomElement()));
    } else {
      if ("PNG" == $currentWidth_imageFormat$$1_oldHeight$$5$$) {
        $currentWidth_imageFormat$$1_oldHeight$$5$$ = $component$$289_oldWidth$$5$$.getProperty(AdfDvtToolkitComponent.$__CLIENT_WIDTH_KEY$);
        var $currentHeight$$ = $component$$289_oldWidth$$5$$.getProperty(AdfDvtToolkitComponent.$__CLIENT_HEIGHT_KEY$);
        if (5 < Math.abs($currentWidth_imageFormat$$1_oldHeight$$5$$ - $evt$$54_newWidth$$7$$) || 5 < Math.abs($currentHeight$$ - $newHeight$$6$$)) {
          this.$_setDimensions$($component$$289_oldWidth$$5$$, $evt$$54_newWidth$$7$$, $newHeight$$6$$), $evt$$54_newWidth$$7$$ = new $AdfCommonFlashReloadEvent$$($component$$289_oldWidth$$5$$), $evt$$54_newWidth$$7$$.setPartial(!0), AdfPage.PAGE.queueEventToServer($evt$$54_newWidth$$7$$);
        }
      }
    }
  }
};
AdfDhtmlDvtToolkitPeer.prototype.ResizeNotify = AdfDhtmlDvtToolkitPeer.prototype.ResizeNotify;
AdfDhtmlDvtToolkitPeer.prototype.DomReplaceNotify = function $AdfDhtmlDvtToolkitPeer$$DomReplaceNotify$($component$$290_domNode$$8$$) {
  AdfDhtmlDvtToolkitPeer.superclass.DomReplaceNotify.call($component$$290_domNode$$8$$);
  $component$$290_domNode$$8$$ = this.getComponent();
  var $optionsStr$$ = AdfDhtmlDvtToolkitPeer.$_getOptionsString$($component$$290_domNode$$8$$.getClientId());
  this.$_render$($component$$290_domNode$$8$$, $optionsStr$$);
};
AdfDhtmlDvtToolkitPeer.prototype.DomReplaceNotify = AdfDhtmlDvtToolkitPeer.prototype.DomReplaceNotify;
AdfDhtmlDvtToolkitPeer.prototype.$CreateView$ = function $AdfDhtmlDvtToolkitPeer$$$CreateView$$() {
};
AdfDhtmlDvtToolkitPeer.prototype.CreateView = AdfDhtmlDvtToolkitPeer.prototype.$CreateView$;
$JSCompiler_prototypeAlias$$ = AdfDhtmlDvtToolkitPeer.prototype;
$JSCompiler_prototypeAlias$$.$GetDataProperties$ = function $$JSCompiler_prototypeAlias$$$$GetDataProperties$$() {
  return [];
};
function $JSCompiler_StaticMethods_UpdateData$$($JSCompiler_StaticMethods_UpdateData$self$$, $valueObj$$) {
  var $properties$$31$$ = $JSCompiler_StaticMethods_UpdateData$self$$.$GetDataProperties$();
  if ($valueObj$$ && !(0 >= $properties$$31$$.length)) {
    for (var $dataObj$$ = {}, $i$$68$$ = 0;$i$$68$$ < $properties$$31$$.length;$i$$68$$++) {
      var $property$$5$$ = $properties$$31$$[$i$$68$$];
      $dataObj$$[$property$$5$$] = $valueObj$$[$property$$5$$];
    }
    $JSCompiler_StaticMethods_queueRender$$($JSCompiler_StaticMethods_UpdateData$self$$, $dataObj$$);
  }
}
function $JSCompiler_StaticMethods_queueRender$$($JSCompiler_StaticMethods_queueRender$self$$, $options$$13$$) {
  if (!$JSCompiler_StaticMethods_queueRender$self$$.$_skipQueueRender$ && "HTML5" == $JSCompiler_StaticMethods_queueRender$self$$.$getClientImageFormat$($JSCompiler_StaticMethods_queueRender$self$$.getComponent()) && ($JSCompiler_StaticMethods_queueRender$self$$.$_view$.$applyOptions$($options$$13$$), !$JSCompiler_StaticMethods_queueRender$self$$.$_bQueuedRender$)) {
    var $callback$$77$$ = $JSCompiler_StaticMethods_queueRender$self$$.createCallback($JSCompiler_StaticMethods_queueRender$self$$.$_doQueuedRender$);
    window.setTimeout($callback$$77$$, 0);
    $JSCompiler_StaticMethods_queueRender$self$$.$_bQueuedRender$ = !0;
  }
}
$JSCompiler_prototypeAlias$$.$_setDimensions$ = function $$JSCompiler_prototypeAlias$$$$_setDimensions$$($component$$291$$, $newWidth$$8$$, $newHeight$$7$$) {
  this.$_clientWidth$ = $newWidth$$8$$;
  this.$_clientHeight$ = $newHeight$$7$$;
  $component$$291$$.setProperty(AdfDvtToolkitComponent.$__CLIENT_HEIGHT_KEY$, $newHeight$$7$$);
  $component$$291$$.setProperty(AdfDvtToolkitComponent.$__CLIENT_WIDTH_KEY$, $newWidth$$8$$);
};
$JSCompiler_prototypeAlias$$.$_createAndRender$ = function $$JSCompiler_prototypeAlias$$$$_createAndRender$$($component$$292$$, $domElement$$113$$) {
  var $clientId$$36_optionsStr$$1$$ = $component$$292$$.getClientId(), $context$$14_renderCallback$$ = new dvt.$Context$($domElement$$113$$, $clientId$$36_optionsStr$$1$$);
  $context$$14_renderCallback$$.$getSvgDocument$();
  $context$$14_renderCallback$$.$setLocaleHelpers$({numberConverterFactory:{createConverter:function($component$$292$$) {
    return "percent" == $component$$292$$.style ? ($component$$292$$ = dvt.$Bundle$.getTranslatedString(dvt.$Bundle$.$UTIL_PREFIX$, "PERCENT_CONVERTER_" + $component$$292$$.maximumFractionDigits), $AdfDvtValueFormatUtils$$.$_parseValueFormat$($component$$292$$)) : null;
  }}});
  this.$_view$ = this.$CreateView$($context$$14_renderCallback$$, this.HandleEvent, this);
  $context$$14_renderCallback$$.getStage().addChild(this.$_view$);
  $clientId$$36_optionsStr$$1$$ = AdfDhtmlDvtToolkitPeer.$_getOptionsString$($clientId$$36_optionsStr$$1$$);
  AdfAgent.AGENT.getPlatform() == AdfAgent.GECKO_PLATFORM ? ($context$$14_renderCallback$$ = this.createCallback(this.$_render$), window.setTimeout($context$$14_renderCallback$$, 0, $component$$292$$, $clientId$$36_optionsStr$$1$$)) : this.$_render$($component$$292$$, $clientId$$36_optionsStr$$1$$);
};
$JSCompiler_prototypeAlias$$.$_doQueuedRender$ = function $$JSCompiler_prototypeAlias$$$$_doQueuedRender$$() {
  this.$RenderComponent$();
  this.$_bQueuedRender$ = !1;
};
$JSCompiler_prototypeAlias$$.$_render$ = function $$JSCompiler_prototypeAlias$$$$_render$$($component$$293$$, $optionsStr$$2$$) {
  if ($optionsStr$$2$$ === AdfDhtmlDvtToolkitPeer.$_FETCH_SPINNER_XML$) {
    $JSCompiler_StaticMethods__displayFetchSpinner$$(this);
  } else {
    if ($JSCompiler_StaticMethods__hideFetchSpinner$$(this), "HTML5" == this.$getClientImageFormat$($component$$293$$)) {
      $AdfDhtmlCommonFlashUtils$$.$perfMessage$("0" + $component$$293$$.getClientId() + ": Begin Render");
      var $jsonObj$$1$$ = $AdfDhtmlCommonFlashUtils$$.$toJson$($optionsStr$$2$$);
      $jsonObj$$1$$ && ($jsonObj$$1$$ = dvt.$JsonUtils$.$merge$());
      $jsonObj$$1$$ = this.$ProcessOptionsObj$($jsonObj$$1$$);
      this.$RenderComponent$($jsonObj$$1$$);
      $AdfDhtmlCommonFlashUtils$$.$perfMessage$("0" + $component$$293$$.getClientId() + ": End Render");
    }
  }
};
$JSCompiler_prototypeAlias$$.$RenderComponent$ = function $$JSCompiler_prototypeAlias$$$$RenderComponent$$($options$$15$$) {
  this.$_view$.render($options$$15$$, this.$_clientWidth$, this.$_clientHeight$);
};
$JSCompiler_prototypeAlias$$.$ProcessOptionsObj$ = function $$JSCompiler_prototypeAlias$$$$ProcessOptionsObj$$($obj$$33$$) {
  return $obj$$33$$;
};
AdfDhtmlDvtToolkitPeer.$_getOptionsString$ = function $AdfDhtmlDvtToolkitPeer$$_getOptionsString$$($clientId$$37$$) {
  return AdfDhtmlCommonFlashPeer.$GetXmlComment$($clientId$$37$$, "_xmlDiv");
};
AdfDhtmlDvtToolkitPeer.$_getResourcesString$ = function $AdfDhtmlDvtToolkitPeer$$_getResourcesString$$($clientId$$38$$) {
  return AdfDhtmlCommonFlashPeer.$GetXmlComment$($clientId$$38$$, "_resourcesDiv");
};
AdfDhtmlDvtToolkitPeer.$_getStyleClassString$ = function $AdfDhtmlDvtToolkitPeer$$_getStyleClassString$$($clientId$$39$$) {
  return AdfDhtmlCommonFlashPeer.$GetXmlComment$($clientId$$39$$, "_styleClassesDiv");
};
