AdfPivotTableUtils.$allocateSpace$ = function $AdfPivotTableUtils$$allocateSpace$$($region1Size_totalSize$$, $desiredRegion1Size_hasRegion1Scrollbar$$, $desiredRegion2Size_hasRegion2Scrollbar$$, $region1Allocation$$, $unit$$1$$) {
  "%" == $unit$$1$$ ? $region1Allocation$$ = Math.floor($region1Allocation$$ * $region1Size_totalSize$$) : ($region1Allocation$$ = Math.min($region1Allocation$$, $region1Size_totalSize$$ - 1), $region1Allocation$$ = Math.max($region1Allocation$$, 0));
  $region1Size_totalSize$$ >= $desiredRegion1Size_hasRegion1Scrollbar$$ + $desiredRegion2Size_hasRegion2Scrollbar$$ ? ($region1Size_totalSize$$ = $desiredRegion1Size_hasRegion1Scrollbar$$, $desiredRegion2Size_hasRegion2Scrollbar$$ = $desiredRegion1Size_hasRegion1Scrollbar$$ = !1) : $desiredRegion1Size_hasRegion1Scrollbar$$ <= $region1Allocation$$ ? ($region1Size_totalSize$$ = $desiredRegion1Size_hasRegion1Scrollbar$$, $desiredRegion1Size_hasRegion1Scrollbar$$ = !1, $desiredRegion2Size_hasRegion2Scrollbar$$ = 
  !0) : $desiredRegion2Size_hasRegion2Scrollbar$$ <= $region1Size_totalSize$$ - $region1Allocation$$ ? ($region1Size_totalSize$$ -= $desiredRegion2Size_hasRegion2Scrollbar$$, $desiredRegion1Size_hasRegion1Scrollbar$$ = !0, $desiredRegion2Size_hasRegion2Scrollbar$$ = !1) : ($region1Size_totalSize$$ = $region1Allocation$$, $desiredRegion2Size_hasRegion2Scrollbar$$ = $desiredRegion1Size_hasRegion1Scrollbar$$ = !0);
  return [$region1Size_totalSize$$, $desiredRegion1Size_hasRegion1Scrollbar$$, $desiredRegion2Size_hasRegion2Scrollbar$$];
};
function $JSCompiler_StaticMethods_displayScrollbarSpacer$$($JSCompiler_StaticMethods_displayScrollbarSpacer$self$$, $spacerRenderInfo$$) {
  var $spacer$$ = $spacerRenderInfo$$.$spacer$;
  $spacer$$.style.display = "inline";
  $spacer$$.style.position = "absolute";
  $JSCompiler_StaticMethods_setPos$$($JSCompiler_StaticMethods_displayScrollbarSpacer$self$$, AdfPivotTableUtils.$COLUMN_EDGE$, $spacerRenderInfo$$.left, $spacer$$, !0);
  $JSCompiler_StaticMethods_setPos$$($JSCompiler_StaticMethods_displayScrollbarSpacer$self$$, AdfPivotTableUtils.$ROW_EDGE$, $spacerRenderInfo$$.top, $spacer$$);
  $spacer$$.style.zIndex = "3";
  $JSCompiler_StaticMethods_setCachedSize$$($JSCompiler_StaticMethods_displayScrollbarSpacer$self$$, $spacer$$, $spacerRenderInfo$$.innerWidth, AdfPivotTableUtils.$COLUMN_EDGE$);
  $JSCompiler_StaticMethods_setCachedSize$$($JSCompiler_StaticMethods_displayScrollbarSpacer$self$$, $spacer$$, $spacerRenderInfo$$.innerHeight, AdfPivotTableUtils.$ROW_EDGE$);
}
AdfPivotTableUtils.prototype.$sizePivotTable$ = function $AdfPivotTableUtils$$$sizePivotTable$$($outerWidth$$3$$, $outerHeight$$3$$) {
  this.$startTimer$(0, 2);
  var $rightToLeft$$4$$ = this.$_rightToLeft$, $hasStatusBar$$ = this.$_hasStatusBar$, $bAutosize$$ = this.$isShrinkToFit$(), $colHeaders$$ = this.$_colHeaders$, $rowHeaders$$ = this.$_rowHeaders$, $headers$$1$$ = this.$_headers$, $databodies$$1$$ = this.$_databodies$, $scrollers$$3$$ = this.$_databodyScrollers$, $corner$$2$$ = this.$_corner$, $statusBar$$ = this.$_statusBar$, $scrollbarSpacers$$ = this.$_scrollbarSpacers$, $pt$$ = this.$_innerContainer$, $scrollbarTester$$ = this.$_scrollbarTester$, 
  $containerExtraSize$$ = AdfPivotTableUtils.$CONTAINER_EXTRA_SIZE$, $databodyExtraSize$$ = AdfPivotTableUtils.$DATABODY_EXTRA_SIZE$, $headerExtraPixelExtent$$ = AdfPivotTableUtils.$HEADER_EXTRA_PIXEL_EXTENT$, $headerExtraPixelDepth$$1$$ = AdfPivotTableUtils.$HEADER_EXTRA_PIXEL_DEPTH$, $scrollbarSpacerExtraLength$$ = AdfPivotTableUtils.$SCROLLBAR_SPACER_EXTRA_LENGTH$, $scrollbarSpacerExtraBreadth$$ = AdfPivotTableUtils.$SCROLLBAR_SPACER_EXTRA_BREADTH$, $cornerScrollbarSpacerExtraSize$$ = [$scrollbarSpacerExtraBreadth$$[1], 
  $scrollbarSpacerExtraBreadth$$[0]], $ptInnerSize$$ = [$outerWidth$$3$$ - $containerExtraSize$$[0], $outerHeight$$3$$ - $containerExtraSize$$[1]];
  this.$checkpointTimer$(0, "get pivot table divs and sizing constants");
  var $sizeAttr$$1$$ = this.$_sizeAttr$, $splitSlice$$8$$ = this.$_splitSlice$, $startPane$$6$$ = this.$_startPane$, $paneExtent$$1$$ = this.$_paneExtent$, $pagingControlHeight$$ = [[0, 0], [0, 0]];
  if (this.$_pivotTablePeer$.$_isPaging$) {
    for (var $edge$$169$$ = 0;2 > $edge$$169$$;$edge$$169$$++) {
      for (var $pane$$88$$ = this.$_startPane$[$edge$$169$$];2 > $pane$$88$$;$pane$$88$$++) {
        $pagingControlHeight$$[$edge$$169$$][$pane$$88$$] = this.$_pagingControl$[$edge$$169$$][$pane$$88$$].childNodes[0].offsetHeight, this.$_pagingControl$[$edge$$169$$][$pane$$88$$].parentNode.style.height = $pagingControlHeight$$[$edge$$169$$][$pane$$88$$] + "px", $pagingControlHeight$$[$edge$$169$$][$pane$$88$$] = this.$_pagingControl$[$edge$$169$$][$pane$$88$$].parentNode.offsetHeight;
      }
    }
    $ptInnerSize$$[1] = $ptInnerSize$$[1] - $pagingControlHeight$$[0][1] - $pagingControlHeight$$[1][1] - $pagingControlHeight$$[1][0];
  }
  var $scrollbarSize$$1$$ = this.$_pivotTablePeer$.$_isPaging$ ? [0, 0] : [$scrollbarTester$$.offsetWidth - $scrollbarTester$$.clientWidth, $scrollbarTester$$.offsetHeight - $scrollbarTester$$.clientHeight], $statusBarHeight$$ = $hasStatusBar$$ ? $statusBar$$.offsetHeight : 0, $ptAvailableSize$$1$$ = [$ptInnerSize$$[0], $ptInnerSize$$[1] - $statusBarHeight$$];
  this.$checkpointTimer$(0, "get scrollbar sizes and status bar size");
  var $canvasSize$$3$$ = [[], []], $totalCanvasSize$$1$$ = [0, 0], $hasOverallScrollbar$$1$$ = [], $overallScrollbarSize$$ = [], $desiredHeaderOuterPixelDepth$$ = [], $desiredDatabodyRegionSize$$ = [], $emptyTextDiv$$1$$ = this.$_emptyTextDiv$;
  if ($emptyTextDiv$$1$$) {
    for ($edge$$169$$ = 0;2 > $edge$$169$$;++$edge$$169$$) {
      for ($pane$$88$$ = $startPane$$6$$[$edge$$169$$];2 > $pane$$88$$;++$pane$$88$$) {
        $canvasSize$$3$$[$edge$$169$$][$pane$$88$$] = 0;
      }
    }
    var $hasOverallScrollbar$$1$$ = [!1, !1], $overallScrollbarSize$$ = [0, 0], $totalHorizMargin$$ = AdfAgent.AGENT.getIntAttribute($emptyTextDiv$$1$$, "_totHorizMargin"), $totalVertMargin$$ = AdfAgent.AGENT.getIntAttribute($emptyTextDiv$$1$$, "_totVertMargin"), $emptyTextInnerDiv$$ = AdfDhtmlPivotTablePeer.$_getChildById$($emptyTextDiv$$1$$, $emptyTextDiv$$1$$.id + "Inner"), $desiredHeaderOuterPixelDepth$$ = AdfPivotTableUtils.$HEADER_OUTER_PIXEL_DEPTH_NO_DATA$, $desiredDatabodyRegionSize$$ = [$emptyTextInnerDiv$$.offsetWidth + 
    $totalHorizMargin$$, $emptyTextInnerDiv$$.offsetHeight + $totalVertMargin$$];
  } else {
    for (var $headerBlockPixelDepth$$1$$ = [], $headerDatabodyBlockPixelExtent$$, $edge$$169$$ = 0;2 > $edge$$169$$;++$edge$$169$$) {
      for ($pane$$88$$ = $startPane$$6$$[$edge$$169$$];2 > $pane$$88$$;++$pane$$88$$) {
        for (var $headerBuffer$$inline_3878$$ = this.$_buffers2$[$edge$$169$$][$pane$$88$$], $length$$inline_3880$$ = $headerBuffer$$inline_3878$$.length, $size$$inline_3881$$ = 0, $i$$inline_3882$$ = 0;$i$$inline_3882$$ < $length$$inline_3880$$;$i$$inline_3882$$++) {
          $size$$inline_3881$$ += $headerBuffer$$inline_3878$$[$i$$inline_3882$$][$sizeAttr$$1$$[$edge$$169$$]];
        }
        $headerDatabodyBlockPixelExtent$$ = $size$$inline_3881$$;
        var $JSCompiler_temp_const$$122$$ = $paneExtent$$1$$[$edge$$169$$][$pane$$88$$], $JSCompiler_inline_result$$123$$, $buffer$$inline_3887$$ = this.$_buffers2$[$edge$$169$$][$pane$$88$$], $lastBlock$$inline_3888$$ = $buffer$$inline_3887$$[$buffer$$inline_3887$$.length - 1], $firstSlice$$inline_3889$$ = this.getIntAttribute($buffer$$inline_3887$$[0], "_startSlice");
        $JSCompiler_inline_result$$123$$ = this.getIntAttribute($lastBlock$$inline_3888$$, "_startSlice") + this.getIntAttribute($lastBlock$$inline_3888$$, "_numSlices") - $firstSlice$$inline_3889$$;
        $canvasSize$$3$$[$edge$$169$$][$pane$$88$$] = $headerDatabodyBlockPixelExtent$$ + ($JSCompiler_temp_const$$122$$ - $JSCompiler_inline_result$$123$$) * this.$_defaultSliceSize$[$edge$$169$$];
        $totalCanvasSize$$1$$[$edge$$169$$] += $canvasSize$$3$$[$edge$$169$$][$pane$$88$$];
      }
      $headerBlockPixelDepth$$1$$[$edge$$169$$] = this.$_buffers2$[$edge$$169$$][1][0][$sizeAttr$$1$$[1 - $edge$$169$$]];
    }
    var $JSCompiler_temp$$124$$;
    if (this.$_pivotTablePeer$.$_isPaging$) {
      $JSCompiler_temp$$124$$ = [!1, !1];
    } else {
      for (var $hasOverallScrollbar$$inline_3896$$ = [], $edge$$inline_3897$$ = 0;2 > $edge$$inline_3897$$;++$edge$$inline_3897$$) {
        var $totalContentSize$$inline_3898$$ = $headerBlockPixelDepth$$1$$[1 - $edge$$inline_3897$$] + $totalCanvasSize$$1$$[$edge$$inline_3897$$], $totalInnerSize$$inline_3899$$ = $ptAvailableSize$$1$$[$edge$$inline_3897$$] - $headerExtraPixelDepth$$1$$[1 - $edge$$inline_3897$$];
        $hasOverallScrollbar$$inline_3896$$[$edge$$inline_3897$$] = $totalContentSize$$inline_3898$$ > $totalInnerSize$$inline_3899$$ ? !0 : $totalContentSize$$inline_3898$$ <= $totalInnerSize$$inline_3899$$ - $scrollbarSize$$1$$[$edge$$inline_3897$$] ? !1 : AdfPivotTableUtils.$MAYBE$;
      }
      for ($edge$$inline_3897$$ = 0;2 > $edge$$inline_3897$$;++$edge$$inline_3897$$) {
        $hasOverallScrollbar$$inline_3896$$[$edge$$inline_3897$$] === AdfPivotTableUtils.$MAYBE$ && ($hasOverallScrollbar$$inline_3896$$[$edge$$inline_3897$$] = !0 === $hasOverallScrollbar$$inline_3896$$[1 - $edge$$inline_3897$$]);
      }
      $JSCompiler_temp$$124$$ = $hasOverallScrollbar$$inline_3896$$;
    }
    $hasOverallScrollbar$$1$$ = $JSCompiler_temp$$124$$;
    for ($edge$$169$$ = 0;2 > $edge$$169$$;++$edge$$169$$) {
      $overallScrollbarSize$$[$edge$$169$$] = $hasOverallScrollbar$$1$$[1 - $edge$$169$$] ? $scrollbarSize$$1$$[$edge$$169$$] : 0, $desiredHeaderOuterPixelDepth$$[$edge$$169$$] = $headerBlockPixelDepth$$1$$[$edge$$169$$] + $headerExtraPixelDepth$$1$$[$edge$$169$$], $desiredDatabodyRegionSize$$[$edge$$169$$] = $totalCanvasSize$$1$$[$edge$$169$$] + $overallScrollbarSize$$[$edge$$169$$];
    }
  }
  for (var $headerInnerPixelDepth$$ = [], $headerOuterPixelDepth$$ = [], $hasHeaderScrollbar$$ = [], $hasDatabodyScrollbar$$ = [[], []], $headerScrollbarSize$$ = [], $databodyScrollbarSize$$ = [[], []], $edge$$169$$ = 0;2 > $edge$$169$$;++$edge$$169$$) {
    var $ptAvailableContentSize$$ = $ptAvailableSize$$1$$[$edge$$169$$] - $headerExtraPixelDepth$$1$$[1 - $edge$$169$$] - $overallScrollbarSize$$[$edge$$169$$], $desiredHeaderInnerPixelDepth$$ = $desiredHeaderOuterPixelDepth$$[1 - $edge$$169$$] - $headerExtraPixelDepth$$1$$[1 - $edge$$169$$], $desiredDatabodyRegionUsableSize$$ = $desiredDatabodyRegionSize$$[$edge$$169$$] - $overallScrollbarSize$$[$edge$$169$$];
    if ($emptyTextDiv$$1$$) {
      var $headerAllocation$$ = .15, $headerAllocUnit$$ = "%"
    } else {
      $headerAllocation$$ = this.$_headerSizeAllocation$[1 - $edge$$169$$], $headerAllocUnit$$ = this.$_headerSizeAllocUnit$[1 - $edge$$169$$];
    }
    var $headerDatabodyAllocationInfo$$ = AdfPivotTableUtils.$allocateSpace$($ptAvailableContentSize$$, $desiredHeaderInnerPixelDepth$$, $desiredDatabodyRegionUsableSize$$, $headerAllocation$$, $headerAllocUnit$$);
    $headerInnerPixelDepth$$[1 - $edge$$169$$] = $headerDatabodyAllocationInfo$$[0];
    $headerOuterPixelDepth$$[1 - $edge$$169$$] = $headerInnerPixelDepth$$[1 - $edge$$169$$] + $headerExtraPixelDepth$$1$$[1 - $edge$$169$$];
    $emptyTextDiv$$1$$ || this.$_pivotTablePeer$.$_isPaging$ ? ($hasHeaderScrollbar$$[$edge$$169$$] = !1, $hasDatabodyScrollbar$$[$edge$$169$$][1] = !1) : ($hasHeaderScrollbar$$[$edge$$169$$] = $headerDatabodyAllocationInfo$$[1], $hasDatabodyScrollbar$$[$edge$$169$$][1] = $headerDatabodyAllocationInfo$$[2]);
    $headerScrollbarSize$$[1 - $edge$$169$$] = $hasHeaderScrollbar$$[$edge$$169$$] ? $scrollbarSize$$1$$[1 - $edge$$169$$] : 0;
    $databodyScrollbarSize$$[1 - $edge$$169$$][1] = $hasDatabodyScrollbar$$[$edge$$169$$][1] ? $scrollbarSize$$1$$[1 - $edge$$169$$] : 0;
  }
  AdfAssert.assert(AdfPivotTableUtils.$assertsOff$ || $overallScrollbarSize$$[1] == Math.max($headerScrollbarSize$$[1], $databodyScrollbarSize$$[1][1]) && $overallScrollbarSize$$[0] == Math.max($headerScrollbarSize$$[0], $databodyScrollbarSize$$[0][1]));
  this.$checkpointTimer$(0, "get block sizes, calc canvas size, and allocate space between headers/databody");
  if ($bAutosize$$) {
    for ($edge$$169$$ = 0;2 > $edge$$169$$;++$edge$$169$$) {
      $ptAvailableSize$$1$$[$edge$$169$$] = Math.min($ptAvailableSize$$1$$[$edge$$169$$], $desiredHeaderOuterPixelDepth$$[1 - $edge$$169$$] + $desiredDatabodyRegionSize$$[$edge$$169$$]);
    }
    $ptInnerSize$$[0] = $ptAvailableSize$$1$$[0];
    $ptInnerSize$$[1] = $ptAvailableSize$$1$$[1] + $statusBarHeight$$;
  }
  for (var $databodyRegionSize$$ = [], $databodyPaneRegionSize$$ = [[], []], $edge$$169$$ = 0;2 > $edge$$169$$;++$edge$$169$$) {
    if ($databodyRegionSize$$[$edge$$169$$] = $ptAvailableSize$$1$$[$edge$$169$$] - $headerOuterPixelDepth$$[1 - $edge$$169$$], -1 != $splitSlice$$8$$[$edge$$169$$]) {
      var $paneAllocationInfo$$ = AdfPivotTableUtils.$allocateSpace$($databodyRegionSize$$[$edge$$169$$] - $overallScrollbarSize$$[$edge$$169$$], $canvasSize$$3$$[$edge$$169$$][0], $canvasSize$$3$$[$edge$$169$$][1], this.$_splitPercentage$[$edge$$169$$], "%");
      $databodyPaneRegionSize$$[$edge$$169$$][0] = $paneAllocationInfo$$[0];
      $databodyPaneRegionSize$$[$edge$$169$$][1] = $databodyRegionSize$$[$edge$$169$$] - $databodyPaneRegionSize$$[$edge$$169$$][0];
      $emptyTextDiv$$1$$ ? ($hasDatabodyScrollbar$$[$edge$$169$$][0] = !1, $hasDatabodyScrollbar$$[$edge$$169$$][1] = !1) : ($hasDatabodyScrollbar$$[$edge$$169$$][0] = $paneAllocationInfo$$[1], $hasDatabodyScrollbar$$[$edge$$169$$][1] = $paneAllocationInfo$$[2]);
      for ($pane$$88$$ = $startPane$$6$$[$edge$$169$$];2 > $pane$$88$$;++$pane$$88$$) {
        $databodyScrollbarSize$$[1 - $edge$$169$$][$pane$$88$$] = $hasDatabodyScrollbar$$[$edge$$169$$][$pane$$88$$] ? $scrollbarSize$$1$$[1 - $edge$$169$$] : 0;
      }
    } else {
      $databodyPaneRegionSize$$[$edge$$169$$][1] = $databodyRegionSize$$[$edge$$169$$];
    }
  }
  this.$checkpointTimer$(0, "shrink to fit; calc databody region sizes");
  for (var $spacerRenderInfo$$1$$ = [[], []], $headerSpacerPane$$ = [], $hasDatabodySpacer$$ = [[], []], $databodySpacerSize$$ = [[], []], $edge$$169$$ = 0;2 > $edge$$169$$;++$edge$$169$$) {
    var $scrollbarCount$$ = 0, $paneCount$$ = -1 == $splitSlice$$8$$[$edge$$169$$] ? 2 : 3;
    $hasHeaderScrollbar$$[$edge$$169$$] && ++$scrollbarCount$$;
    for ($pane$$88$$ = $startPane$$6$$[$edge$$169$$];2 > $pane$$88$$;++$pane$$88$$) {
      $hasDatabodyScrollbar$$[$edge$$169$$][$pane$$88$$] && ($headerSpacerPane$$[$edge$$169$$] = $pane$$88$$, ++$scrollbarCount$$);
    }
    if (this.$_pivotTablePeer$.$_isPaging$ ? 0 : 0 < $scrollbarCount$$ && $scrollbarCount$$ < $paneCount$$) {
      var $breadthStart$$ = 1 == $edge$$169$$ && $rightToLeft$$4$$ ? 0 : $ptAvailableSize$$1$$[1 - $edge$$169$$] - $overallScrollbarSize$$[1 - $edge$$169$$], $innerBreadth$$ = $overallScrollbarSize$$[1 - $edge$$169$$] - $scrollbarSpacerExtraBreadth$$[$edge$$169$$], $lengthStart$$ = 0, $outerLength$$ = $headerOuterPixelDepth$$[1 - $edge$$169$$];
      if (!$hasHeaderScrollbar$$[$edge$$169$$]) {
        var $pane$$88$$ = $headerSpacerPane$$[$edge$$169$$], $spacer$$1$$ = $scrollbarSpacers$$[$edge$$169$$][$pane$$88$$], $innerLength$$ = $outerLength$$ - $scrollbarSpacerExtraLength$$[$edge$$169$$];
        if (1 == $edge$$169$$) {
          $spacerRenderInfo$$1$$[$edge$$169$$][$pane$$88$$] = {$spacer$:$spacer$$1$$, left:$breadthStart$$, top:$lengthStart$$, innerWidth:$innerBreadth$$, innerHeight:$innerLength$$};
        } else {
          var $lengthStartFinal$$ = $rightToLeft$$4$$ ? $ptAvailableSize$$1$$[$edge$$169$$] - $outerLength$$ - $lengthStart$$ : $lengthStart$$;
          $spacerRenderInfo$$1$$[$edge$$169$$][$pane$$88$$] = {$spacer$:$spacer$$1$$, left:$lengthStartFinal$$, top:$breadthStart$$, innerWidth:$innerLength$$, innerHeight:$innerBreadth$$};
        }
      }
      for ($pane$$88$$ = $startPane$$6$$[$edge$$169$$];2 > $pane$$88$$;++$pane$$88$$) {
        $lengthStart$$ += $outerLength$$, $outerLength$$ = $databodyPaneRegionSize$$[$edge$$169$$][$pane$$88$$], $hasDatabodyScrollbar$$[$edge$$169$$][$pane$$88$$] ? ($hasDatabodySpacer$$[$edge$$169$$][$pane$$88$$] = !1, $databodySpacerSize$$[1 - $edge$$169$$][$pane$$88$$] = 0) : ($spacer$$1$$ = $scrollbarSpacers$$[$edge$$169$$][$pane$$88$$], 1 == $pane$$88$$ && ($outerLength$$ -= $overallScrollbarSize$$[$edge$$169$$]), $innerLength$$ = $outerLength$$ - $scrollbarSpacerExtraLength$$[$edge$$169$$], 
        1 == $edge$$169$$ ? $spacerRenderInfo$$1$$[$edge$$169$$][$pane$$88$$] = {$spacer$:$spacer$$1$$, left:$breadthStart$$, top:$lengthStart$$, innerWidth:$innerBreadth$$, innerHeight:$innerLength$$} : ($lengthStartFinal$$ = $rightToLeft$$4$$ ? $ptAvailableSize$$1$$[$edge$$169$$] - $outerLength$$ - $lengthStart$$ : $lengthStart$$, $spacerRenderInfo$$1$$[$edge$$169$$][$pane$$88$$] = {$spacer$:$spacer$$1$$, left:$lengthStartFinal$$, top:$breadthStart$$, innerWidth:$innerLength$$, innerHeight:$innerBreadth$$}), 
        $hasDatabodySpacer$$[$edge$$169$$][$pane$$88$$] = !0, $databodySpacerSize$$[1 - $edge$$169$$][$pane$$88$$] = $overallScrollbarSize$$[1 - $edge$$169$$]);
      }
    } else {
      for ($pane$$88$$ = $startPane$$6$$[$edge$$169$$];2 > $pane$$88$$;++$pane$$88$$) {
        $hasDatabodySpacer$$[$edge$$169$$][$pane$$88$$] = !1, $databodySpacerSize$$[1 - $edge$$169$$][$pane$$88$$] = 0;
      }
    }
  }
  if ($hasDatabodySpacer$$[0][1] && $hasOverallScrollbar$$1$$[1] || $hasDatabodySpacer$$[1][1] && $hasOverallScrollbar$$1$$[0]) {
    var $cornerSpacerRenderInfo$$ = {$spacer$:this.$_cornerScrollbarSpacer$, left:$rightToLeft$$4$$ ? 0 : $ptAvailableSize$$1$$[0] - $overallScrollbarSize$$[0], top:$ptAvailableSize$$1$$[1] - $overallScrollbarSize$$[1], innerWidth:$overallScrollbarSize$$[0] - $cornerScrollbarSpacerExtraSize$$[0], innerHeight:$overallScrollbarSize$$[1] - $cornerScrollbarSpacerExtraSize$$[1]}, $hasCornerSpacer$$ = !0
  } else {
    $hasCornerSpacer$$ = !1;
  }
  this.$checkpointTimer$(0, "Scrollbar spacer calcs");
  for (var $top$$16$$ = $headerOuterPixelDepth$$[0], $rowPane$$25$$ = $startPane$$6$$[1];2 > $rowPane$$25$$;++$rowPane$$25$$) {
    $JSCompiler_StaticMethods_setPos$$(this, AdfPivotTableUtils.$ROW_EDGE$, $top$$16$$, $rowHeaders$$[$rowPane$$25$$]);
    for (var $colPane$$23$$ = $startPane$$6$$[0];2 > $colPane$$23$$;++$colPane$$23$$) {
      $JSCompiler_StaticMethods_setPos$$(this, AdfPivotTableUtils.$ROW_EDGE$, $top$$16$$, $databodies$$1$$[$rowPane$$25$$][$colPane$$23$$]), 0 < $rowPane$$25$$ + $colPane$$23$$ && $JSCompiler_StaticMethods_setPos$$(this, AdfPivotTableUtils.$ROW_EDGE$, $top$$16$$, $scrollers$$3$$[$rowPane$$25$$][$colPane$$23$$]);
    }
    $top$$16$$ += $databodyPaneRegionSize$$[1][$rowPane$$25$$] + $pagingControlHeight$$[1][0];
  }
  $hasStatusBar$$ && ($JSCompiler_StaticMethods_setPos$$(this, AdfPivotTableUtils.$ROW_EDGE$, $ptAvailableSize$$1$$[1], $statusBar$$), $JSCompiler_StaticMethods_setPos$$(this, AdfPivotTableUtils.$COLUMN_EDGE$, 0, $statusBar$$, !0));
  if ($rightToLeft$$4$$) {
    for (var $colHeaderLeft$$ = 0, $databodyLeft$$ = $overallScrollbarSize$$[0], $scrollerLeft$$ = [$databodySpacerSize$$[0][0], $databodySpacerSize$$[0][1]], $colPane$$23$$ = 1;$colPane$$23$$ >= $startPane$$6$$[0];--$colPane$$23$$) {
      $JSCompiler_StaticMethods_setPos$$(this, AdfPivotTableUtils.$COLUMN_EDGE$, $colHeaderLeft$$, $colHeaders$$[$colPane$$23$$], !0);
      for ($rowPane$$25$$ = $startPane$$6$$[1];2 > $rowPane$$25$$;++$rowPane$$25$$) {
        $JSCompiler_StaticMethods_setPos$$(this, AdfPivotTableUtils.$COLUMN_EDGE$, $databodyLeft$$, $databodies$$1$$[$rowPane$$25$$][$colPane$$23$$], !0), 0 < $rowPane$$25$$ + $colPane$$23$$ && $JSCompiler_StaticMethods_setPos$$(this, AdfPivotTableUtils.$COLUMN_EDGE$, $scrollerLeft$$[$rowPane$$25$$], $scrollers$$3$$[$rowPane$$25$$][$colPane$$23$$], !0);
      }
      $databodyLeft$$ = $colHeaderLeft$$ += $databodyPaneRegionSize$$[0][$colPane$$23$$];
      $scrollerLeft$$[0] = $colHeaderLeft$$;
      $scrollerLeft$$[1] = $colHeaderLeft$$;
    }
    for ($rowPane$$25$$ = $startPane$$6$$[1];2 > $rowPane$$25$$;++$rowPane$$25$$) {
      $rowHeaders$$[$rowPane$$25$$].$_left$ = $databodyRegionSize$$[0];
    }
  } else {
    for (var $left$$22$$ = $headerOuterPixelDepth$$[1], $colPane$$23$$ = $startPane$$6$$[0];2 > $colPane$$23$$;++$colPane$$23$$) {
      $JSCompiler_StaticMethods_setPos$$(this, AdfPivotTableUtils.$COLUMN_EDGE$, $left$$22$$, $colHeaders$$[$colPane$$23$$], !0);
      for ($rowPane$$25$$ = $startPane$$6$$[1];2 > $rowPane$$25$$;++$rowPane$$25$$) {
        $JSCompiler_StaticMethods_setPos$$(this, AdfPivotTableUtils.$COLUMN_EDGE$, $left$$22$$, $databodies$$1$$[$rowPane$$25$$][$colPane$$23$$], !0), 0 < $rowPane$$25$$ + $colPane$$23$$ && $JSCompiler_StaticMethods_setPos$$(this, AdfPivotTableUtils.$COLUMN_EDGE$, $left$$22$$, $scrollers$$3$$[$rowPane$$25$$][$colPane$$23$$], !0);
      }
      $left$$22$$ += $databodyPaneRegionSize$$[0][$colPane$$23$$];
    }
    for ($rowPane$$25$$ = $startPane$$6$$[1];2 > $rowPane$$25$$;++$rowPane$$25$$) {
      $rowHeaders$$[$rowPane$$25$$].$_left$ = 0;
    }
  }
  this.$checkpointTimer$(0, "position pt divs");
  for ($edge$$169$$ = 0;2 > $edge$$169$$;++$edge$$169$$) {
    var $scroller$$21$$, $scrollerSize$$, $scrollerUsableSize$$, $usableSizeAttr$$1$$;
    -1 != $splitSlice$$8$$[$edge$$169$$] && ($scroller$$21$$ = this.$_databodyScrollersByEdgeAndPane$[$edge$$169$$][0], $scrollerSize$$ = $databodyPaneRegionSize$$[$edge$$169$$][0], $JSCompiler_StaticMethods_setCachedSize$$(this, $scroller$$21$$, $scrollerSize$$, $edge$$169$$), $scrollerUsableSize$$ = $scrollerSize$$, $usableSizeAttr$$1$$ = this.$_usableSizeAttr$[$edge$$169$$], $scroller$$21$$[$usableSizeAttr$$1$$] = $scrollerUsableSize$$, this.$_maxScrollPos$[$edge$$169$$][0] = Math.max(0, $canvasSize$$3$$[$edge$$169$$][0] - 
    $scrollerUsableSize$$));
    for ($pane$$88$$ = $startPane$$6$$[$edge$$169$$];2 > $pane$$88$$;++$pane$$88$$) {
      $scroller$$21$$ = this.$_databodyScrollersByEdgeAndPane$[$edge$$169$$][$pane$$88$$], $scrollerSize$$ = $databodyPaneRegionSize$$[1 - $edge$$169$$][1] - $databodySpacerSize$$[1 - $edge$$169$$][$pane$$88$$], $JSCompiler_StaticMethods_setCachedSize$$(this, $scroller$$21$$, $scrollerSize$$, 1 - $edge$$169$$), $scrollerUsableSize$$ = $scrollerSize$$ - $databodyScrollbarSize$$[1 - $edge$$169$$][$pane$$88$$], $usableSizeAttr$$1$$ = this.$_usableSizeAttr$[1 - $edge$$169$$], $scroller$$21$$[$usableSizeAttr$$1$$] = 
      $scrollerUsableSize$$, 1 == $pane$$88$$ && (this.$_maxScrollPos$[1 - $edge$$169$$][1] = Math.max(0, $canvasSize$$3$$[1 - $edge$$169$$][1] - $scrollerUsableSize$$));
    }
  }
  for ($edge$$169$$ = 0;2 > $edge$$169$$;++$edge$$169$$) {
    for ($pane$$88$$ = $startPane$$6$$[$edge$$169$$];2 > $pane$$88$$;++$pane$$88$$) {
      var $edge$$inline_3902$$ = $edge$$169$$, $pane$$inline_3903$$ = $pane$$88$$, $size$$inline_3904$$ = $canvasSize$$3$$[$edge$$169$$][$pane$$88$$], $startPane$$inline_3905$$ = this.$_startPane$;
      if ($edge$$inline_3902$$ == AdfPivotTableUtils.$ROW_EDGE$) {
        1 == $pane$$inline_3903$$ ? this.$_canvasHeight1$ = $size$$inline_3904$$ : this.$_canvasHeight0$ = $size$$inline_3904$$;
        for (var $otherPane$$inline_3906$$ = $startPane$$inline_3905$$[1 - $edge$$inline_3902$$];2 > $otherPane$$inline_3906$$;++$otherPane$$inline_3906$$) {
          (0 < $pane$$inline_3903$$ + $otherPane$$inline_3906$$ || AdfPivotTableUtils.$isMobileTouchDevice$()) && $JSCompiler_StaticMethods_setCachedSize$$(this, $JSCompiler_StaticMethods_getScrollerCanvas$$(this, $pane$$inline_3903$$, $otherPane$$inline_3906$$), $size$$inline_3904$$, $edge$$inline_3902$$);
        }
      } else {
        for (1 == $pane$$inline_3903$$ ? this.$_canvasWidth1$ = $size$$inline_3904$$ : this.$_canvasWidth0$ = $size$$inline_3904$$, $otherPane$$inline_3906$$ = $startPane$$inline_3905$$[1 - $edge$$inline_3902$$];2 > $otherPane$$inline_3906$$;++$otherPane$$inline_3906$$) {
          (0 < $pane$$inline_3903$$ + $otherPane$$inline_3906$$ || AdfPivotTableUtils.$isMobileTouchDevice$()) && $JSCompiler_StaticMethods_setCachedSize$$(this, $JSCompiler_StaticMethods_getScrollerCanvas$$(this, $otherPane$$inline_3906$$, $pane$$inline_3903$$), $size$$inline_3904$$, $edge$$inline_3902$$);
        }
      }
    }
  }
  $JSCompiler_StaticMethods_setCachedSize$$(this, $corner$$2$$, $headerOuterPixelDepth$$[1], AdfPivotTableUtils.$COLUMN_EDGE$);
  $JSCompiler_StaticMethods_setCachedSize$$(this, $corner$$2$$, $headerOuterPixelDepth$$[0], AdfPivotTableUtils.$ROW_EDGE$);
  for (var $headerInnerPixelExtent$$ = [[], []], $edge$$169$$ = 1;0 <= $edge$$169$$;--$edge$$169$$) {
    for ($pane$$88$$ = $startPane$$6$$[$edge$$169$$];2 > $pane$$88$$;++$pane$$88$$) {
      $headerInnerPixelExtent$$[$edge$$169$$][$pane$$88$$] = $databodyPaneRegionSize$$[$edge$$169$$][$pane$$88$$] - $headerExtraPixelExtent$$[$edge$$169$$], $JSCompiler_StaticMethods_setCachedSize$$(this, $headers$$1$$[$edge$$169$$][$pane$$88$$], $headerInnerPixelDepth$$[$edge$$169$$], 1 - $edge$$169$$), $JSCompiler_StaticMethods_setCachedSize$$(this, $headers$$1$$[$edge$$169$$][$pane$$88$$], $headerInnerPixelExtent$$[$edge$$169$$][$pane$$88$$], $edge$$169$$);
    }
  }
  for ($edge$$169$$ = 0;2 > $edge$$169$$;++$edge$$169$$) {
    for ($pane$$88$$ = $startPane$$6$$[$edge$$169$$];2 > $pane$$88$$;++$pane$$88$$) {
      for (var $databodyInnerSize$$ = $databodyPaneRegionSize$$[$edge$$169$$][$pane$$88$$] - ($pane$$88$$ ? $overallScrollbarSize$$[$edge$$169$$] : 0) - $databodyExtraSize$$[$edge$$169$$], $otherPane$$3$$ = $startPane$$6$$[1 - $edge$$169$$];2 > $otherPane$$3$$;++$otherPane$$3$$) {
        $JSCompiler_StaticMethods_setCachedSize$$(this, $edge$$169$$ ? $databodies$$1$$[$pane$$88$$][$otherPane$$3$$] : $databodies$$1$$[$otherPane$$3$$][$pane$$88$$], $databodyInnerSize$$, $edge$$169$$);
      }
    }
  }
  $hasStatusBar$$ && $JSCompiler_StaticMethods_setCachedSize$$(this, $statusBar$$, $ptInnerSize$$[0], AdfPivotTableUtils.$COLUMN_EDGE$);
  for ($edge$$169$$ = 0;2 > $edge$$169$$;++$edge$$169$$) {
    for ($pane$$88$$ = 0;2 > $pane$$88$$;++$pane$$88$$) {
      $spacerRenderInfo$$1$$[$edge$$169$$][$pane$$88$$] ? $JSCompiler_StaticMethods_displayScrollbarSpacer$$(this, $spacerRenderInfo$$1$$[$edge$$169$$][$pane$$88$$]) : $scrollbarSpacers$$[$edge$$169$$][$pane$$88$$].style.display = "none";
    }
  }
  $hasCornerSpacer$$ ? $JSCompiler_StaticMethods_displayScrollbarSpacer$$(this, $cornerSpacerRenderInfo$$) : this.$_cornerScrollbarSpacer$.style.display = "none";
  this.$checkpointTimer$(0, "size PT divs, show/hide spacers");
  if (!AdfPivotTableUtils.$isMobileTouchDevice$() && !this.$_pivotTablePeer$.$_isPaging$) {
    for ($edge$$169$$ = 0;2 > $edge$$169$$;++$edge$$169$$) {
      for (var $overflowAttr$$ = $edge$$169$$ ? "overflowY" : "overflowX", $pane$$88$$ = $startPane$$6$$[$edge$$169$$];2 > $pane$$88$$;++$pane$$88$$) {
        var $overflow$$ = $hasDatabodyScrollbar$$[$edge$$169$$][$pane$$88$$] ? "scroll" : "hidden";
        $scroller$$21$$ = this.$_databodyScrollersByEdgeAndPane$[$edge$$169$$][$pane$$88$$];
        $scroller$$21$$.style[$overflowAttr$$] = $overflow$$;
      }
    }
  }
  this.$_scrollerInit$ || (AdfPivotTableUtils.$isMobileTouchDevice$() || ($scrollers$$3$$[0][1].style.overflowX = "hidden", $scrollers$$3$$[1][0].style.overflowY = "hidden", this.$_headers$[0][0].style.overflow = "hidden", this.$_headers$[1][0].style.overflow = "hidden"), this.$_scrollerInit$ = !0);
  $JSCompiler_StaticMethods_setCachedSize$$(this, $pt$$, $ptInnerSize$$[0], 0);
  -1 == $splitSlice$$8$$[AdfPivotTableUtils.$ROW_EDGE$] ? $JSCompiler_StaticMethods_setCachedSize$$(this, $pt$$, $ptInnerSize$$[1], 1) : $JSCompiler_StaticMethods_setCachedSize$$(this, $pt$$, $ptInnerSize$$[1] + $pagingControlHeight$$[1][0], 1);
  if (this.$_pivotTablePeer$.$_isPaging$) {
    if (-1 == $splitSlice$$8$$[AdfPivotTableUtils.$COLUMN_EDGE$] ? (this.$_pagingControl$[0][1].style.position = "absolute", this.$_pagingControl$[0][0].style.visibility = "hidden", this.$_pagingControl$[0][1].style.width = $databodyPaneRegionSize$$[0][1] + "px", this.$_rightToLeft$ ? this.$_pagingControl$[0][1].style.marginRight = $corner$$2$$.offsetWidth + "px" : this.$_pagingControl$[0][1].style.marginLeft = $corner$$2$$.offsetWidth + "px") : (this.$_pagingControl$[0][0].style.position = "absolute", 
    this.$_pagingControl$[0][0].style.width = $databodyPaneRegionSize$$[0][0] + "px", this.$_rightToLeft$ ? this.$_pagingControl$[0][0].style.marginRight = $corner$$2$$.offsetWidth + "px" : this.$_pagingControl$[0][0].style.marginLeft = $corner$$2$$.offsetWidth + "px", this.$_pagingControl$[0][0].style.visibility = "visible", this.$_pagingControl$[0][1].style.position = "absolute", this.$_pagingControl$[0][1].style.width = $databodyPaneRegionSize$$[0][1] + "px", this.$_rightToLeft$ ? this.$_pagingControl$[0][1].style.marginRight = 
    $corner$$2$$.offsetWidth + $databodyPaneRegionSize$$[0][0] + "px" : this.$_pagingControl$[0][1].style.marginLeft = $corner$$2$$.offsetWidth + $databodyPaneRegionSize$$[0][0] + "px"), -1 == $splitSlice$$8$$[AdfPivotTableUtils.$ROW_EDGE$]) {
      this.$_pagingControl$[1][0].parentNode.style.visibility = "hidden";
    } else {
      var $top$$16$$ = $headerOuterPixelDepth$$[0] + $databodyPaneRegionSize$$[1][0] + $pagingControlHeight$$[1][0] + 1, $pagingControl$$2$$ = this.$_pagingControl$[1][0].parentNode;
      $pagingControl$$2$$.style.top = $top$$16$$ + "px";
      $pagingControl$$2$$.style.visibility = "visible";
    }
  }
  $bAutosize$$ && ($JSCompiler_StaticMethods_setCachedSize$$(this, this.$_container$, $ptInnerSize$$[0] + $containerExtraSize$$[0], AdfPivotTableUtils.$COLUMN_EDGE$), $JSCompiler_StaticMethods_setCachedSize$$(this, this.$_container$, $ptInnerSize$$[1] + $containerExtraSize$$[1] + $pagingControlHeight$$[0][1] + $pagingControlHeight$$[1][0] + $pagingControlHeight$$[1][1], AdfPivotTableUtils.$ROW_EDGE$));
  this.$stopTimer$(0, "Set overflow, size containers", "All sizing");
};
AdfPivotTableUtils.prototype.sizePivotTable = AdfPivotTableUtils.prototype.$sizePivotTable$;
AdfPivotTableUtils.prototype.$isShrinkToFit$ = function $AdfPivotTableUtils$$$isShrinkToFit$$() {
  return AdfPivotTableUtils.$isShrinkToFit$(this.$_pivotTable$.getSizing(), this.$_container$);
};
AdfPivotTableUtils.$isShrinkToFit$ = function $AdfPivotTableUtils$$isShrinkToFit$$($sizing$$, $ptContainer$$) {
  if ("auto" == $sizing$$) {
    var $containerStyle$$ = $ptContainer$$.style;
    return !("absolute" == $containerStyle$$.position && $containerStyle$$.top && 0 < $containerStyle$$.top.length && $containerStyle$$.bottom && 0 < $containerStyle$$.bottom.length);
  }
  return !1;
};
function $JSCompiler_StaticMethods_getCanvasSizeByEdgeAndPane$$($JSCompiler_StaticMethods_getCanvasSizeByEdgeAndPane$self$$, $edge$$170$$, $pane$$89$$) {
  return $edge$$170$$ == AdfPivotTableUtils.$ROW_EDGE$ ? 1 == $pane$$89$$ ? $JSCompiler_StaticMethods_getCanvasSizeByEdgeAndPane$self$$.$_canvasHeight1$ : $JSCompiler_StaticMethods_getCanvasSizeByEdgeAndPane$self$$.$_canvasHeight0$ : 1 == $pane$$89$$ ? $JSCompiler_StaticMethods_getCanvasSizeByEdgeAndPane$self$$.$_canvasWidth1$ : $JSCompiler_StaticMethods_getCanvasSizeByEdgeAndPane$self$$.$_canvasWidth0$;
}
function $JSCompiler_StaticMethods_setBlockTableStyles$$($JSCompiler_StaticMethods_setBlockTableStyles$self$$, $bNewBlocksOnly$$) {
  for (var $blockTableClass$$ = AdfAgent.AGENT.getAttribute($JSCompiler_StaticMethods_setBlockTableStyles$self$$.$_colHeaderBuffers$[1][0].childNodes[0], "_className"), $edge$$172_rowPane$$26$$ = 0;2 > $edge$$172_rowPane$$26$$;++$edge$$172_rowPane$$26$$) {
    for (var $edgeBuffers$$1_rowOfBuffers$$1$$ = $JSCompiler_StaticMethods_setBlockTableStyles$self$$.$_buffers2$[$edge$$172_rowPane$$26$$], $colPane$$24_pane$$92$$ = $JSCompiler_StaticMethods_setBlockTableStyles$self$$.$_startPane$[$edge$$172_rowPane$$26$$];2 > $colPane$$24_pane$$92$$;++$colPane$$24_pane$$92$$) {
      for (var $buffer$$25$$ = $edgeBuffers$$1_rowOfBuffers$$1$$[$colPane$$24_pane$$92$$], $length$$40_numBlockRows$$2$$ = $buffer$$25$$.length, $i$$225$$ = 0;$i$$225$$ < $length$$40_numBlockRows$$2$$;$i$$225$$++) {
        block = $buffer$$25$$[$i$$225$$], block._placeholder || !block._new && $bNewBlocksOnly$$ || (block.childNodes[0].className = $blockTableClass$$);
      }
    }
  }
  for ($edge$$172_rowPane$$26$$ = $JSCompiler_StaticMethods_setBlockTableStyles$self$$.$_startPane$[1];2 > $edge$$172_rowPane$$26$$;++$edge$$172_rowPane$$26$$) {
    for ($edgeBuffers$$1_rowOfBuffers$$1$$ = $JSCompiler_StaticMethods_setBlockTableStyles$self$$.$_databodyBuffers$[$edge$$172_rowPane$$26$$], $colPane$$24_pane$$92$$ = $JSCompiler_StaticMethods_setBlockTableStyles$self$$.$_startPane$[0];2 > $colPane$$24_pane$$92$$;++$colPane$$24_pane$$92$$) {
      for (var $buffer$$25$$ = $edgeBuffers$$1_rowOfBuffers$$1$$[$colPane$$24_pane$$92$$], $length$$40_numBlockRows$$2$$ = $buffer$$25$$.length, $i$$225$$ = 0;$i$$225$$ < $length$$40_numBlockRows$$2$$;$i$$225$$++) {
        for (var $rowOfBlocks$$2$$ = $buffer$$25$$[$i$$225$$], $numBlocks$$1$$ = $rowOfBlocks$$2$$.length, $j$$55$$ = 0;$j$$55$$ < $numBlocks$$1$$;$j$$55$$++) {
          !(block = $rowOfBlocks$$2$$[$j$$55$$]) || !block._new && $bNewBlocksOnly$$ || (block.childNodes[0].className = $blockTableClass$$);
        }
      }
    }
  }
  !$JSCompiler_StaticMethods_setBlockTableStyles$self$$.$_layerLabelBlock$ || !$JSCompiler_StaticMethods_setBlockTableStyles$self$$.$_layerLabelBlock$._new && $bNewBlocksOnly$$ || ($JSCompiler_StaticMethods_setBlockTableStyles$self$$.$_layerLabelBlock$.childNodes[0].className = $blockTableClass$$);
}
function $JSCompiler_StaticMethods_coordinateColumnBlockSizes$$($JSCompiler_StaticMethods_coordinateColumnBlockSizes$self$$) {
  for (var $colHeaderBlocks$$ = [], $colPane$$25$$ = $JSCompiler_StaticMethods_coordinateColumnBlockSizes$self$$.$_startPane$[0];2 > $colPane$$25$$;++$colPane$$25$$) {
    for (var $colHeaderBuffer$$9$$ = $JSCompiler_StaticMethods_coordinateColumnBlockSizes$self$$.$_colHeaderBuffers$[$colPane$$25$$], $length$$41$$ = $colHeaderBuffer$$9$$.length, $iCol$$1$$ = 0;$iCol$$1$$ < $length$$41$$;$iCol$$1$$++) {
      var $colHeaderBlock$$6$$ = $colHeaderBuffer$$9$$[$iCol$$1$$];
      $colHeaderBlock$$6$$._placeholder || $colHeaderBlocks$$.push($colHeaderBlock$$6$$);
    }
    $JSCompiler_StaticMethods_coordinateColumnHeaderRowHeights$$($JSCompiler_StaticMethods_coordinateColumnBlockSizes$self$$, $colHeaderBlocks$$, !1);
  }
}
function $JSCompiler_StaticMethods_coordinateRowBlockSizes$$($JSCompiler_StaticMethods_coordinateRowBlockSizes$self$$) {
  for (var $existingDatabodyBlocks$$ = [], $rowPane$$27$$ = $JSCompiler_StaticMethods_coordinateRowBlockSizes$self$$.$_startPane$[1];2 > $rowPane$$27$$;++$rowPane$$27$$) {
    for (var $rowHeaderBuffer$$8$$ = $JSCompiler_StaticMethods_coordinateRowBlockSizes$self$$.$_rowHeaderBuffers$[$rowPane$$27$$], $length$$42$$ = $rowHeaderBuffer$$8$$.length, $iRow$$5$$ = 0;$iRow$$5$$ < $length$$42$$;$iRow$$5$$++) {
      for (var $rowHeaderBlock$$6$$ = $rowHeaderBuffer$$8$$[$iRow$$5$$], $colPane$$26$$ = $JSCompiler_StaticMethods_coordinateRowBlockSizes$self$$.$_startPane$[0];2 > $colPane$$26$$;++$colPane$$26$$) {
        $JSCompiler_StaticMethods_coordinateHTMLBlockRowHeights$$($JSCompiler_StaticMethods_coordinateRowBlockSizes$self$$, $rowHeaderBlock$$6$$, $JSCompiler_StaticMethods_coordinateRowBlockSizes$self$$.$_databodyBuffers$[$rowPane$$27$$][$colPane$$26$$][$iRow$$5$$], $existingDatabodyBlocks$$, $iRow$$5$$);
      }
    }
  }
}
function $JSCompiler_StaticMethods_sizeInitialHTMLBlocks$$($JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$, $bSetDefaultSizes$$) {
  for (var $buffers$$2_isIE$$10$$ = AdfAgent.AGENT.getPlatform() == AdfAgent.IE_PLATFORM, $isIE7$$2$$ = $buffers$$2_isIE$$10$$ && !(8 <= AdfAgent.AGENT.getVersion()), $sizeBeforeViewport$$3$$ = {$widthBeforeViewport$:[], $heightBeforeViewport$:[]}, $startPane$$8$$ = $JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_startPane$, $i$$227_rowHeaderBlocks$$inline_3919_rowPane$$29_scrollPos$$inline_3933$$ = $startPane$$8$$[0];2 > $i$$227_rowHeaderBlocks$$inline_3919_rowPane$$29_scrollPos$$inline_3933$$;++$i$$227_rowHeaderBlocks$$inline_3919_rowPane$$29_scrollPos$$inline_3933$$) {
    var $databodyBlocks$$5_numBlocks$$inline_3920_pane$$inline_3934_rowOfBuffers$$2$$ = 0 < $JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_splitSlice$[1] ? [$JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_databodyBuffers$[0][$i$$227_rowHeaderBlocks$$inline_3919_rowPane$$29_scrollPos$$inline_3933$$][0][0], $JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_databodyBuffers$[1][$i$$227_rowHeaderBlocks$$inline_3919_rowPane$$29_scrollPos$$inline_3933$$][0][0]] : [$JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_databodyBuffers$[1][$i$$227_rowHeaderBlocks$$inline_3919_rowPane$$29_scrollPos$$inline_3933$$][0][0]], 
    $defColWidth$$ = Math.round($JSCompiler_StaticMethods_coordinateHTMLBlockColumnWidths$$($JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$, $JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_colHeaderBuffers$[$i$$227_rowHeaderBlocks$$inline_3919_rowPane$$29_scrollPos$$inline_3933$$][0], $databodyBlocks$$5_numBlocks$$inline_3920_pane$$inline_3934_rowOfBuffers$$2$$, $sizeBeforeViewport$$3$$))
  }
  for (var $i$$227_rowHeaderBlocks$$inline_3919_rowPane$$29_scrollPos$$inline_3933$$ = 0 < $JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_splitSlice$[1] ? [$JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_rowHeaderBuffers$[0][0], $JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_rowHeaderBuffers$[1][0]] : [$JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_rowHeaderBuffers$[1][0]], $databodyBlocks$$5_numBlocks$$inline_3920_pane$$inline_3934_rowOfBuffers$$2$$ = $i$$227_rowHeaderBlocks$$inline_3919_rowPane$$29_scrollPos$$inline_3933$$.length, 
  $colPane$$28_numCols$$inline_3921$$ = $i$$227_rowHeaderBlocks$$inline_3919_rowPane$$29_scrollPos$$inline_3933$$[0].childNodes[0].rows[0].cells.length, $widthArray$$inline_3922$$ = Array($colPane$$28_numCols$$inline_3921$$), $totalWidth$$inline_3923$$ = 0, $component$$inline_3924$$ = $JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_pivotTablePeer$.getComponent(), $rowHeaderStartLayer$$inline_3925$$ = $component$$inline_3924$$.getProperty(AdfRichPivotTable.$__ROW_HEADER_START_LAYER_KEY$), 
  $lastLayerBeforeViewport$$inline_3926_sizingCells$$inline_3931$$ = $rowHeaderStartLayer$$inline_3925$$ - 1, $widthBeforeViewport$$inline_3927$$ = 0, $iCol$$inline_3928_rhLabelOrigWidth$$inline_3932$$ = 1;$iCol$$inline_3928_rhLabelOrigWidth$$inline_3932$$ < $colPane$$28_numCols$$inline_3921$$;$iCol$$inline_3928_rhLabelOrigWidth$$inline_3932$$++) {
    for (var $colWidth$$inline_3929$$ = AdfDhtmlPivotTablePeer.$MIN_ROW_HEADER_WIDTH$, $iBlock$$inline_3930$$ = 0;$iBlock$$inline_3930$$ < $databodyBlocks$$5_numBlocks$$inline_3920_pane$$inline_3934_rowOfBuffers$$2$$;$iBlock$$inline_3930$$++) {
      $colWidth$$inline_3929$$ = $JSCompiler_StaticMethods_getRowHeaderBlockColumnWidth$$($JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$, $i$$227_rowHeaderBlocks$$inline_3919_rowPane$$29_scrollPos$$inline_3933$$[$iBlock$$inline_3930$$], $iCol$$inline_3928_rhLabelOrigWidth$$inline_3932$$, $colWidth$$inline_3929$$);
    }
    $colWidth$$inline_3929$$ = $JSCompiler_StaticMethods_getRowHeaderBlockColumnWidth$$($JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$, $JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_layerLabelBlock$, $iCol$$inline_3928_rhLabelOrigWidth$$inline_3932$$, $colWidth$$inline_3929$$);
    $widthArray$$inline_3922$$[$iCol$$inline_3928_rhLabelOrigWidth$$inline_3932$$] = $colWidth$$inline_3929$$;
    $totalWidth$$inline_3923$$ += $colWidth$$inline_3929$$;
    $iCol$$inline_3928_rhLabelOrigWidth$$inline_3932$$ - 1 == $lastLayerBeforeViewport$$inline_3926_sizingCells$$inline_3931$$ && ($widthBeforeViewport$$inline_3927$$ = $totalWidth$$inline_3923$$);
  }
  $JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_layerLabelBlock$ && ($lastLayerBeforeViewport$$inline_3926_sizingCells$$inline_3931$$ = $JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_layerLabelBlock$.childNodes[0].rows[0].cells, $iCol$$inline_3928_rhLabelOrigWidth$$inline_3932$$ = $lastLayerBeforeViewport$$inline_3926_sizingCells$$inline_3931$$[$colPane$$28_numCols$$inline_3921$$ - 1].offsetWidth, $JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_innerRhLayerLabelPercentage$ = 
  $iCol$$inline_3928_rhLabelOrigWidth$$inline_3932$$ / ($iCol$$inline_3928_rhLabelOrigWidth$$inline_3932$$ + $lastLayerBeforeViewport$$inline_3926_sizingCells$$inline_3931$$[$colPane$$28_numCols$$inline_3921$$].offsetWidth));
  for ($iBlock$$inline_3930$$ = 0;$iBlock$$inline_3930$$ < $databodyBlocks$$5_numBlocks$$inline_3920_pane$$inline_3934_rowOfBuffers$$2$$;$iBlock$$inline_3930$$++) {
    $JSCompiler_StaticMethods_setRowHeaderBlockColumnWidths$$($JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$, $i$$227_rowHeaderBlocks$$inline_3919_rowPane$$29_scrollPos$$inline_3933$$[$iBlock$$inline_3930$$], $widthArray$$inline_3922$$, $totalWidth$$inline_3923$$);
  }
  $JSCompiler_StaticMethods_setRowHeaderBlockColumnWidths$$($JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$, $JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_layerLabelBlock$, $widthArray$$inline_3922$$, $totalWidth$$inline_3923$$);
  $i$$227_rowHeaderBlocks$$inline_3919_rowPane$$29_scrollPos$$inline_3933$$ = $rowHeaderStartLayer$$inline_3925$$ >= $JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_rowLayerCount$ ? 999999 : $widthBeforeViewport$$inline_3927$$ += $component$$inline_3924$$.getProperty(AdfRichPivotTable.$__ROW_HEADER_START_PIXEL_KEY$);
  for ($databodyBlocks$$5_numBlocks$$inline_3920_pane$$inline_3934_rowOfBuffers$$2$$ = $JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_startPane$[1];2 > $databodyBlocks$$5_numBlocks$$inline_3920_pane$$inline_3934_rowOfBuffers$$2$$;++$databodyBlocks$$5_numBlocks$$inline_3920_pane$$inline_3934_rowOfBuffers$$2$$) {
    $JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_rowHeaders$[$databodyBlocks$$5_numBlocks$$inline_3920_pane$$inline_3934_rowOfBuffers$$2$$].scrollLeft = $i$$227_rowHeaderBlocks$$inline_3919_rowPane$$29_scrollPos$$inline_3933$$;
  }
  $JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_layerLabelBlock$ && ($JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_corner$.scrollLeft = $i$$227_rowHeaderBlocks$$inline_3919_rowPane$$29_scrollPos$$inline_3933$$);
  $JSCompiler_StaticMethods_coordinateColumnHeaderRowHeights$$($JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$, 0 < $JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_splitSlice$[0] ? [$JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_colHeaderBuffers$[0][0], $JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_colHeaderBuffers$[1][0]] : [$JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_colHeaderBuffers$[1][0]], !0);
  if ($buffers$$2_isIE$$10$$ && $JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_rightToLeft$) {
    for ($buffers$$2_isIE$$10$$ = $JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_databodyBuffers$, $i$$227_rowHeaderBlocks$$inline_3919_rowPane$$29_scrollPos$$inline_3933$$ = $startPane$$8$$[1];2 > $i$$227_rowHeaderBlocks$$inline_3919_rowPane$$29_scrollPos$$inline_3933$$;++$i$$227_rowHeaderBlocks$$inline_3919_rowPane$$29_scrollPos$$inline_3933$$) {
      for ($databodyBlocks$$5_numBlocks$$inline_3920_pane$$inline_3934_rowOfBuffers$$2$$ = $buffers$$2_isIE$$10$$[$i$$227_rowHeaderBlocks$$inline_3919_rowPane$$29_scrollPos$$inline_3933$$], $colPane$$28_numCols$$inline_3921$$ = $startPane$$8$$[0];2 > $colPane$$28_numCols$$inline_3921$$;++$colPane$$28_numCols$$inline_3921$$) {
        $databodyBlocks$$5_numBlocks$$inline_3920_pane$$inline_3934_rowOfBuffers$$2$$[$colPane$$28_numCols$$inline_3921$$][0][0].childNodes[0].style.position = "absolute";
      }
    }
  }
  for ($i$$227_rowHeaderBlocks$$inline_3919_rowPane$$29_scrollPos$$inline_3933$$ = $startPane$$8$$[1];2 > $i$$227_rowHeaderBlocks$$inline_3919_rowPane$$29_scrollPos$$inline_3933$$;++$i$$227_rowHeaderBlocks$$inline_3919_rowPane$$29_scrollPos$$inline_3933$$) {
    rowHeaderBlock = $JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_rowHeaderBuffers$[$i$$227_rowHeaderBlocks$$inline_3919_rowPane$$29_scrollPos$$inline_3933$$][0];
    var $databodyBlocks$$5_numBlocks$$inline_3920_pane$$inline_3934_rowOfBuffers$$2$$ = 0 < $JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_splitSlice$[0] ? [$JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_databodyBuffers$[$i$$227_rowHeaderBlocks$$inline_3919_rowPane$$29_scrollPos$$inline_3933$$][0][0][0], $JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_databodyBuffers$[$i$$227_rowHeaderBlocks$$inline_3919_rowPane$$29_scrollPos$$inline_3933$$][1][0][0]] : [$JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_databodyBuffers$[$i$$227_rowHeaderBlocks$$inline_3919_rowPane$$29_scrollPos$$inline_3933$$][1][0][0]], 
    $defRowHeight$$ = Math.round($JSCompiler_StaticMethods_coordinateHTMLBlockRowHeights$$($JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$, rowHeaderBlock, $databodyBlocks$$5_numBlocks$$inline_3920_pane$$inline_3934_rowOfBuffers$$2$$, void 0, void 0, $sizeBeforeViewport$$3$$));
  }
  $JSCompiler_StaticMethods_setBlockTableStyles$$($JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$, !1);
  $bSetDefaultSizes$$ && ($JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$.$_defaultSliceSize$ = [$defColWidth$$, $defRowHeight$$]);
  $isIE7$$2$$ && $JSCompiler_StaticMethods_shiftAllPlaceholderCells$$($JSCompiler_StaticMethods_sizeInitialHTMLBlocks$self$$, !1);
  return $sizeBeforeViewport$$3$$;
}
function $JSCompiler_StaticMethods_getRowHeaderBlockColumnWidth$$($JSCompiler_StaticMethods_getRowHeaderBlockColumnWidth$self$$, $block$$61_widthOverride$$, $iCol$$4$$, $colWidth$$1$$) {
  if ($block$$61_widthOverride$$) {
    var $cells$$8$$ = $block$$61_widthOverride$$.childNodes[0].rows[0].cells, $cell$$55$$ = $cells$$8$$[$iCol$$4$$], $_width$$1$$ = $cell$$55$$.offsetWidth, $isLayerLabel$$ = $block$$61_widthOverride$$ == $JSCompiler_StaticMethods_getRowHeaderBlockColumnWidth$self$$.$_layerLabelBlock$;
    $isLayerLabel$$ && $iCol$$4$$ == $cells$$8$$.length - 2 && ($_width$$1$$ += $cells$$8$$[$iCol$$4$$ + 1].offsetWidth);
    $colWidth$$1$$ < $_width$$1$$ && ($colWidth$$1$$ = $_width$$1$$);
    "true" == $block$$61_widthOverride$$.childNodes[0].getAttribute("isrowheadercontainsimage") && ($colWidth$$1$$ += AdfDhtmlPivotTablePeer.$ROW_HEADER_IMAGE_WIDTH$);
    $isLayerLabel$$ || ($block$$61_widthOverride$$ = AdfAgent.getAgent().getIntAttribute($cell$$55$$, "_winW"), void 0 != $block$$61_widthOverride$$ && ($block$$61_widthOverride$$ < $colWidth$$1$$ && ($JSCompiler_StaticMethods_getRowHeaderBlockColumnWidth$self$$.$_isRowHeaderWidthOverrideSmaller$ = !0), $colWidth$$1$$ = $block$$61_widthOverride$$));
  }
  return $colWidth$$1$$;
}
function $JSCompiler_StaticMethods_setRowHeaderBlockColumnWidths$$($JSCompiler_StaticMethods_setRowHeaderBlockColumnWidths$self_rhLabelWidth$$1$$, $block$$62$$, $totalIntersectionWidth_widthArray$$1$$, $totalWidth$$1$$) {
  if ($block$$62$$) {
    for (var $sizingCells$$3$$ = $block$$62$$.childNodes[0].rows[0].cells, $numCols$$4_upperLimit$$ = $sizingCells$$3$$.length, $isLayerLabel$$1$$ = $block$$62$$ == $JSCompiler_StaticMethods_setRowHeaderBlockColumnWidths$self_rhLabelWidth$$1$$.$_layerLabelBlock$, $numCols$$4_upperLimit$$ = $isLayerLabel$$1$$ ? $numCols$$4_upperLimit$$ - 2 : $numCols$$4_upperLimit$$, $i$$228$$ = 1;$i$$228$$ < $numCols$$4_upperLimit$$;$i$$228$$++) {
      $sizingCells$$3$$[$i$$228$$].style.width = $totalIntersectionWidth_widthArray$$1$$[$i$$228$$] + "px";
    }
    $isLayerLabel$$1$$ && ($totalIntersectionWidth_widthArray$$1$$ = $totalIntersectionWidth_widthArray$$1$$[$numCols$$4_upperLimit$$], $JSCompiler_StaticMethods_setRowHeaderBlockColumnWidths$self_rhLabelWidth$$1$$ = Math.ceil($JSCompiler_StaticMethods_setRowHeaderBlockColumnWidths$self_rhLabelWidth$$1$$.$_innerRhLayerLabelPercentage$ * $totalIntersectionWidth_widthArray$$1$$), $sizingCells$$3$$[$numCols$$4_upperLimit$$].style.width = $JSCompiler_StaticMethods_setRowHeaderBlockColumnWidths$self_rhLabelWidth$$1$$ + 
    "px", $sizingCells$$3$$[$numCols$$4_upperLimit$$ + 1].style.width = $totalIntersectionWidth_widthArray$$1$$ - $JSCompiler_StaticMethods_setRowHeaderBlockColumnWidths$self_rhLabelWidth$$1$$ + "px");
    $block$$62$$.style.width = $totalWidth$$1$$ + "px";
    $block$$62$$._width = $totalWidth$$1$$;
    $block$$62$$.childNodes[0].style.width = $totalWidth$$1$$ + "px";
  }
}
function $JSCompiler_StaticMethods_coordinateHTMLBlockColumnWidths$$($JSCompiler_StaticMethods_coordinateHTMLBlockColumnWidths$self$$, $colHeaderBlock$$10$$, $databodyBlocks$$6$$, $sizeBeforeViewport$$4_widthVal$$) {
  for (var $agent$$73$$ = AdfAgent.getAgent(), $length$$45$$ = $databodyBlocks$$6$$.length, $colCells$$ = $colHeaderBlock$$10$$.childNodes[0].rows[0].cells, $numCols$$5$$ = $colCells$$.length - 1, $widthArray$$2$$ = Array($numCols$$5$$), $totalWidth$$2$$ = 0, $blockStartCol$$5_i$$229$$ = $JSCompiler_StaticMethods_coordinateHTMLBlockColumnWidths$self$$.getIntAttribute($colHeaderBlock$$10$$, "_startSlice"), $pane$$94$$ = $blockStartCol$$5_i$$229$$ < $JSCompiler_StaticMethods_coordinateHTMLBlockColumnWidths$self$$.$_splitSlice$[0] ? 
  0 : 1, $lastColBeforeViewport$$ = $JSCompiler_StaticMethods_getViewportStartSliceProperty$$($JSCompiler_StaticMethods_coordinateHTMLBlockColumnWidths$self$$.$_pivotTablePeer$, 0, $pane$$94$$, !1) - $blockStartCol$$5_i$$229$$ - 1, $widthBeforeViewport$$1$$ = 0, $blockStartCol$$5_i$$229$$ = 0;$blockStartCol$$5_i$$229$$ < $numCols$$5$$;$blockStartCol$$5_i$$229$$++) {
    var $maxWidth$$, $_winW_iBlock$$1$$ = $agent$$73$$.getIntAttribute($colCells$$[$blockStartCol$$5_i$$229$$ + 1], "_winW");
    if (void 0 != $_winW_iBlock$$1$$) {
      $maxWidth$$ = $_winW_iBlock$$1$$;
    } else {
      for ($maxWidth$$ = $colCells$$[$blockStartCol$$5_i$$229$$ + 1].offsetWidth, $_winW_iBlock$$1$$ = 0;$_winW_iBlock$$1$$ < $length$$45$$;$_winW_iBlock$$1$$++) {
        var $databodyCells_databodyTable$$ = $databodyBlocks$$6$$[$_winW_iBlock$$1$$].childNodes[0], $databodyCells_databodyTable$$ = $databodyCells_databodyTable$$.rows[0].cells;
        $maxWidth$$ = Math.max($maxWidth$$, $databodyCells_databodyTable$$[$blockStartCol$$5_i$$229$$ + 1].offsetWidth);
      }
    }
    $widthArray$$2$$[$blockStartCol$$5_i$$229$$] = $maxWidth$$;
    $totalWidth$$2$$ += $maxWidth$$;
    $blockStartCol$$5_i$$229$$ == $lastColBeforeViewport$$ && ($widthBeforeViewport$$1$$ = $totalWidth$$2$$);
  }
  $sizeBeforeViewport$$4_widthVal$$ && ($widthBeforeViewport$$1$$ += $JSCompiler_StaticMethods_getViewportStartSliceProperty$$($JSCompiler_StaticMethods_coordinateHTMLBlockColumnWidths$self$$.$_pivotTablePeer$, 0, $pane$$94$$, !0), $sizeBeforeViewport$$4_widthVal$$.$widthBeforeViewport$[$pane$$94$$] = $widthBeforeViewport$$1$$);
  for ($blockStartCol$$5_i$$229$$ = 0;$blockStartCol$$5_i$$229$$ < $numCols$$5$$;$blockStartCol$$5_i$$229$$++) {
    if (void 0 == $agent$$73$$.getAttribute($colCells$$[$blockStartCol$$5_i$$229$$ + 1], "_winW")) {
      for ($sizeBeforeViewport$$4_widthVal$$ = $widthArray$$2$$[$blockStartCol$$5_i$$229$$] + "px", $colCells$$[$blockStartCol$$5_i$$229$$ + 1].style.width = $sizeBeforeViewport$$4_widthVal$$, $_winW_iBlock$$1$$ = 0;$_winW_iBlock$$1$$ < $length$$45$$;$_winW_iBlock$$1$$++) {
        $databodyCells_databodyTable$$ = $databodyBlocks$$6$$[$_winW_iBlock$$1$$].childNodes[0], $databodyCells_databodyTable$$ = $databodyCells_databodyTable$$.rows[0].cells, $databodyCells_databodyTable$$[$blockStartCol$$5_i$$229$$ + 1].style.width = $sizeBeforeViewport$$4_widthVal$$;
      }
    }
  }
  $JSCompiler_StaticMethods_setCachedSize$$($JSCompiler_StaticMethods_coordinateHTMLBlockColumnWidths$self$$, $colHeaderBlock$$10$$, $totalWidth$$2$$, AdfPivotTableUtils.$COLUMN_EDGE$);
  $colHeaderBlock$$10$$.childNodes[0].style.width = $totalWidth$$2$$ + "px";
  for ($_winW_iBlock$$1$$ = 0;$_winW_iBlock$$1$$ < $length$$45$$;$_winW_iBlock$$1$$++) {
    $JSCompiler_StaticMethods_setCachedSize$$($JSCompiler_StaticMethods_coordinateHTMLBlockColumnWidths$self$$, $databodyBlocks$$6$$[$_winW_iBlock$$1$$], $totalWidth$$2$$, AdfPivotTableUtils.$COLUMN_EDGE$), $databodyBlocks$$6$$[$_winW_iBlock$$1$$].childNodes[0].style.width = $totalWidth$$2$$ + "px";
  }
  return 0 == $numCols$$5$$ ? 0 : $totalWidth$$2$$ / $numCols$$5$$;
}
function $JSCompiler_StaticMethods_getSizeString$$($isWidth$$2$$, $sizingBlock$$) {
  var $isIE8Plus$$11_newColCells$$ = AdfAgent.AGENT.getPlatform() == AdfAgent.IE_PLATFORM && 8 <= AdfAgent.AGENT.getVersion(), $sizes$$1$$ = "", $table$$23$$ = $sizingBlock$$.childNodes[0];
  if ($isWidth$$2$$) {
    for (var $isIE8Plus$$11_newColCells$$ = $table$$23$$.rows[0].cells, $length$$46$$ = $isIE8Plus$$11_newColCells$$.length, $i$$230$$ = 1;$i$$230$$ < $length$$46$$;$i$$230$$++) {
      $sizes$$1$$ += $isIE8Plus$$11_newColCells$$[$i$$230$$].offsetWidth + ",";
    }
    $sizes$$1$$ += $sizingBlock$$.offsetWidth;
  } else {
    $length$$46$$ = $table$$23$$.rows.length;
    for ($i$$230$$ = 1;$i$$230$$ < $length$$46$$;$i$$230$$++) {
      $sizes$$1$$ += $isIE8Plus$$11_newColCells$$ ? $table$$23$$.rows[$i$$230$$].cells[0].offsetHeight + "," : $table$$23$$.rows[$i$$230$$].offsetHeight + ",";
    }
    $sizes$$1$$ += $sizingBlock$$.offsetHeight;
  }
  return $sizes$$1$$;
}
function $JSCompiler_StaticMethods_getHeaderSizingBlock$$($JSCompiler_StaticMethods_getHeaderSizingBlock$self$$, $edge$$173$$) {
  for (var $pane$$95$$ = $JSCompiler_StaticMethods_getHeaderSizingBlock$self$$.$_startPane$[$edge$$173$$];2 > $pane$$95$$;++$pane$$95$$) {
    var $headerBuffer$$16$$ = $JSCompiler_StaticMethods_getHeaderSizingBlock$self$$.$_buffers2$[$edge$$173$$][$pane$$95$$], $length$$47$$ = $headerBuffer$$16$$.length;
    for (i = 0;i < $length$$47$$;i++) {
      var $block$$63$$ = $headerBuffer$$16$$[i];
      if (!$block$$63$$._placeholder && !$block$$63$$._new) {
        return $block$$63$$;
      }
    }
  }
  return null;
}
function $JSCompiler_StaticMethods_getRowHeaderWidths$$($JSCompiler_StaticMethods_getRowHeaderWidths$self_sizingBlock$$1$$) {
  $JSCompiler_StaticMethods_getRowHeaderWidths$self_sizingBlock$$1$$ = $JSCompiler_StaticMethods_getHeaderSizingBlock$$($JSCompiler_StaticMethods_getRowHeaderWidths$self_sizingBlock$$1$$, 1);
  return $JSCompiler_StaticMethods_getSizeString$$(!0, $JSCompiler_StaticMethods_getRowHeaderWidths$self_sizingBlock$$1$$);
}
function $JSCompiler_StaticMethods_getColumnHeaderHeights$$($JSCompiler_StaticMethods_getColumnHeaderHeights$self_sizingBlock$$2$$) {
  $JSCompiler_StaticMethods_getColumnHeaderHeights$self_sizingBlock$$2$$ = $JSCompiler_StaticMethods_getHeaderSizingBlock$$($JSCompiler_StaticMethods_getColumnHeaderHeights$self_sizingBlock$$2$$, 0);
  return $JSCompiler_StaticMethods_getSizeString$$(!1, $JSCompiler_StaticMethods_getColumnHeaderHeights$self_sizingBlock$$2$$);
}
function $JSCompiler_StaticMethods_coordinateColumnHeaderRowHeights$$($JSCompiler_StaticMethods_coordinateColumnHeaderRowHeights$self$$, $colHeaderBlocks$$3_scrollTop$$6$$, $isInit_pane$$96$$) {
  var $agent$$74_isIE8Plus$$12$$ = AdfAgent.getAgent(), $isWebkit$$5_platform$$16$$ = $agent$$74_isIE8Plus$$12$$.getPlatform(), $isIE$$11$$ = $isWebkit$$5_platform$$16$$ == AdfAgent.IE_PLATFORM, $agent$$74_isIE8Plus$$12$$ = $isIE$$11$$ && 8 <= $agent$$74_isIE8Plus$$12$$.getVersion(), $isWebkit$$5_platform$$16$$ = $isWebkit$$5_platform$$16$$ == AdfAgent.WEBKIT_PLATFORM, $numBlocks$$3$$ = $colHeaderBlocks$$3_scrollTop$$6$$.length, $numRows$$5$$ = $colHeaderBlocks$$3_scrollTop$$6$$[0].childNodes[0].rows.length, 
  $heightArray$$ = Array($numRows$$5$$), $totalHeight$$1$$ = 0, $component$$500$$ = $JSCompiler_StaticMethods_coordinateColumnHeaderRowHeights$self$$.$_pivotTablePeer$.getComponent(), $colHeaderStartLayer$$1$$ = $component$$500$$.getProperty(AdfRichPivotTable.$__COLUMN_HEADER_START_LAYER_KEY$), $lastLayerBeforeViewport$$1$$ = $colHeaderStartLayer$$1$$ - 1, $heightBeforeViewport$$ = 0, $newOffsetHeight$$1$$;
  if ($isIE$$11$$) {
    $newOffsetHeight$$1$$ = Array($numBlocks$$3$$);
    for (var $iBlock$$2$$ = 0;$iBlock$$2$$ < $numBlocks$$3$$;$iBlock$$2$$++) {
      var $block$$64_iRow$$7$$ = $colHeaderBlocks$$3_scrollTop$$6$$[$iBlock$$2$$];
      if (void 0 == $block$$64_iRow$$7$$.$_processOffsetHeight$) {
        $block$$64_iRow$$7$$.$_processOffsetHeight$ = 1;
        $newOffsetHeight$$1$$[$iBlock$$2$$] = Array($numRows$$5$$);
        for (var $rowHeight$$3_rows$$25$$ = $block$$64_iRow$$7$$.childNodes[0].rows, $block$$64_iRow$$7$$ = $numRows$$5$$ - 1;0 < $block$$64_iRow$$7$$;$block$$64_iRow$$7$$--) {
          var $row$$52$$ = $rowHeight$$3_rows$$25$$[$block$$64_iRow$$7$$];
          $newOffsetHeight$$1$$[$iBlock$$2$$][$block$$64_iRow$$7$$] = void 0 == $newOffsetHeight$$1$$[$iBlock$$2$$][$block$$64_iRow$$7$$] ? $agent$$74_isIE8Plus$$12$$ ? $row$$52$$.cells[0].offsetHeight : $row$$52$$.offsetHeight : $newOffsetHeight$$1$$[$iBlock$$2$$][$block$$64_iRow$$7$$] + ($agent$$74_isIE8Plus$$12$$ ? $row$$52$$.cells[0].offsetHeight : $row$$52$$.offsetHeight);
          1 == $row$$52$$.cells.length && $row$$52$$.cells[0].className == AdfPivotTableUtils.$COLUMN_HEADER_SIZING_CELL_CLASS$ && ($newOffsetHeight$$1$$[$iBlock$$2$$][$block$$64_iRow$$7$$ - 1] = $newOffsetHeight$$1$$[$iBlock$$2$$][$block$$64_iRow$$7$$], $newOffsetHeight$$1$$[$iBlock$$2$$][$block$$64_iRow$$7$$] = 0);
        }
      }
    }
  }
  for ($block$$64_iRow$$7$$ = 1;$block$$64_iRow$$7$$ < $numRows$$5$$;$block$$64_iRow$$7$$++) {
    $rowHeight$$3_rows$$25$$ = AdfDhtmlPivotTablePeer.$MIN_COL_HEADER_HEIGHT$;
    for ($iBlock$$2$$ = 0;$iBlock$$2$$ < $numBlocks$$3$$;$iBlock$$2$$++) {
      $rowHeight$$3_rows$$25$$ = $JSCompiler_StaticMethods_getColumnHeaderBlockRowHeight$$($JSCompiler_StaticMethods_coordinateColumnHeaderRowHeights$self$$, $colHeaderBlocks$$3_scrollTop$$6$$[$iBlock$$2$$], $iBlock$$2$$, $block$$64_iRow$$7$$, $numRows$$5$$, $rowHeight$$3_rows$$25$$, $newOffsetHeight$$1$$, $isIE$$11$$, $agent$$74_isIE8Plus$$12$$);
    }
    $rowHeight$$3_rows$$25$$ = $JSCompiler_StaticMethods_getColumnHeaderBlockRowHeight$$($JSCompiler_StaticMethods_coordinateColumnHeaderRowHeights$self$$, $JSCompiler_StaticMethods_coordinateColumnHeaderRowHeights$self$$.$_layerLabelBlock$, -1, $block$$64_iRow$$7$$, $numRows$$5$$, $rowHeight$$3_rows$$25$$, $newOffsetHeight$$1$$, $isIE$$11$$, $agent$$74_isIE8Plus$$12$$);
    $heightArray$$[$block$$64_iRow$$7$$] = $rowHeight$$3_rows$$25$$;
    $totalHeight$$1$$ += $rowHeight$$3_rows$$25$$;
    $block$$64_iRow$$7$$ - 1 == $lastLayerBeforeViewport$$1$$ && ($heightBeforeViewport$$ = $totalHeight$$1$$);
  }
  for ($iBlock$$2$$ = 0;$iBlock$$2$$ < $numBlocks$$3$$;$iBlock$$2$$++) {
    $JSCompiler_StaticMethods_setColumnHeaderBlockRowHeights$$($colHeaderBlocks$$3_scrollTop$$6$$[$iBlock$$2$$], $heightArray$$, $totalHeight$$1$$, $isIE$$11$$, $agent$$74_isIE8Plus$$12$$, $isWebkit$$5_platform$$16$$);
  }
  $JSCompiler_StaticMethods_setColumnHeaderBlockRowHeights$$($JSCompiler_StaticMethods_coordinateColumnHeaderRowHeights$self$$.$_layerLabelBlock$, $heightArray$$, $totalHeight$$1$$, $isIE$$11$$, $agent$$74_isIE8Plus$$12$$, $isWebkit$$5_platform$$16$$);
  if ($isInit_pane$$96$$) {
    $colHeaderBlocks$$3_scrollTop$$6$$ = $colHeaderStartLayer$$1$$ >= $JSCompiler_StaticMethods_coordinateColumnHeaderRowHeights$self$$.$_colLayerCount$ ? 999999 : $heightBeforeViewport$$ += $component$$500$$.getProperty(AdfRichPivotTable.$__COLUMN_HEADER_START_PIXEL_KEY$);
    for ($isInit_pane$$96$$ = $JSCompiler_StaticMethods_coordinateColumnHeaderRowHeights$self$$.$_startPane$[0];2 > $isInit_pane$$96$$;++$isInit_pane$$96$$) {
      $JSCompiler_StaticMethods_coordinateColumnHeaderRowHeights$self$$.$_colHeaders$[$isInit_pane$$96$$].scrollTop = $colHeaderBlocks$$3_scrollTop$$6$$;
    }
    $JSCompiler_StaticMethods_coordinateColumnHeaderRowHeights$self$$.$_layerLabelBlock$ && (999999 == $colHeaderBlocks$$3_scrollTop$$6$$ && ($colHeaderBlocks$$3_scrollTop$$6$$ = $JSCompiler_StaticMethods_coordinateColumnHeaderRowHeights$self$$.$_colHeaders$[1].scrollTop), $JSCompiler_StaticMethods_coordinateColumnHeaderRowHeights$self$$.$_corner$.scrollTop = $colHeaderBlocks$$3_scrollTop$$6$$);
  }
}
function $JSCompiler_StaticMethods_getColumnHeaderBlockRowHeight$$($JSCompiler_StaticMethods_getColumnHeaderBlockRowHeight$self_heightOverride$$, $block$$65$$, $_height$$1_iBlock$$3$$, $iRow$$8$$, $numRows$$6$$, $rowHeight$$4$$, $newOffsetHeight$$2$$, $isIE$$12$$, $isIE8Plus$$13$$) {
  if ($block$$65$$) {
    var $row$$53$$ = $block$$65$$.childNodes[0].rows[$iRow$$8$$];
    $isIE$$12$$ && 1 == $block$$65$$.$_processOffsetHeight$ ? ($_height$$1_iBlock$$3$$ = $newOffsetHeight$$2$$[$_height$$1_iBlock$$3$$][$iRow$$8$$], $iRow$$8$$ == $numRows$$6$$ - 1 && ($block$$65$$.$_processOffsetHeight$ = 2)) : $_height$$1_iBlock$$3$$ = $isIE8Plus$$13$$ ? $row$$53$$.cells[0].offsetHeight : $row$$53$$.offsetHeight;
    $rowHeight$$4$$ < $_height$$1_iBlock$$3$$ && ($rowHeight$$4$$ = $_height$$1_iBlock$$3$$);
    void 0 == $row$$53$$.$_minRH$ && ($row$$53$$.$_minRH$ = Math.max($_height$$1_iBlock$$3$$, AdfDhtmlPivotTablePeer.$MIN_COL_HEADER_HEIGHT$), $block$$65$$ != $JSCompiler_StaticMethods_getColumnHeaderBlockRowHeight$self_heightOverride$$.$_layerLabelBlock$ && ($JSCompiler_StaticMethods_getColumnHeaderBlockRowHeight$self_heightOverride$$ = AdfAgent.getAgent().getIntAttribute($row$$53$$, "_winH"), void 0 != $JSCompiler_StaticMethods_getColumnHeaderBlockRowHeight$self_heightOverride$$ && $JSCompiler_StaticMethods_getColumnHeaderBlockRowHeight$self_heightOverride$$ > 
    $rowHeight$$4$$ && ($rowHeight$$4$$ = $JSCompiler_StaticMethods_getColumnHeaderBlockRowHeight$self_heightOverride$$)));
  }
  return $rowHeight$$4$$;
}
function $JSCompiler_StaticMethods_setColumnHeaderBlockRowHeights$$($block$$66$$, $heightArray$$1$$, $totalHeight$$2$$, $endOffsetHeight_isIE$$13_newHeight$$18$$, $isIE8Plus$$14$$, $isWebkit$$6$$) {
  if ($block$$66$$) {
    for (var $colHeaderTable$$2$$ = $block$$66$$.childNodes[0], $rows$$26$$ = $colHeaderTable$$2$$.rows, $numRows$$7$$ = $rows$$26$$.length, $i$$231$$ = 1;$i$$231$$ < $numRows$$7$$;$i$$231$$++) {
      var $resizedElem$$4_row$$54$$ = $rows$$26$$[$i$$231$$], $resizedElem$$4_row$$54$$ = $isWebkit$$6$$ || $isIE8Plus$$14$$ ? $resizedElem$$4_row$$54$$.cells[0] : $resizedElem$$4_row$$54$$;
      $resizedElem$$4_row$$54$$.style.height = $heightArray$$1$$[$i$$231$$] + "px";
    }
    if ($endOffsetHeight_isIE$$13_newHeight$$18$$) {
      for ($i$$231$$ = 1;$i$$231$$ < $numRows$$7$$;$i$$231$$++) {
        $endOffsetHeight_isIE$$13_newHeight$$18$$ = $isIE8Plus$$14$$ ? $rows$$26$$[$i$$231$$].cells[0].offsetHeight : $rows$$26$$[$i$$231$$].offsetHeight, $endOffsetHeight_isIE$$13_newHeight$$18$$ != $heightArray$$1$$[$i$$231$$] && ($endOffsetHeight_isIE$$13_newHeight$$18$$ = $heightArray$$1$$[$i$$231$$] + $heightArray$$1$$[$i$$231$$] - $endOffsetHeight_isIE$$13_newHeight$$18$$, 0 <= $endOffsetHeight_isIE$$13_newHeight$$18$$ && ($resizedElem$$4_row$$54$$ = $rows$$26$$[$i$$231$$], $resizedElem$$4_row$$54$$ = 
        $isWebkit$$6$$ || $isIE8Plus$$14$$ ? $resizedElem$$4_row$$54$$.cells[0] : $resizedElem$$4_row$$54$$, $resizedElem$$4_row$$54$$.style.height = $endOffsetHeight_isIE$$13_newHeight$$18$$ + "px"));
      }
    }
    $block$$66$$.style.height = $totalHeight$$2$$ + "px";
    $block$$66$$._height = $totalHeight$$2$$;
    $colHeaderTable$$2$$.style.height = $totalHeight$$2$$ + "px";
  }
}
function $JSCompiler_StaticMethods_coordinateHTMLBlockRowHeights$$($JSCompiler_StaticMethods_coordinateHTMLBlockRowHeights$self$$, $rowHeaderBlock$$8$$, $databodyBlocks$$7$$, $existingDatabodyBlocks$$2$$, $blockIndex$$8$$, $ieDatabodyExtraHeight_sizeBeforeViewport$$5$$) {
  var $agent$$75_ieRowHeaderExtraHeight$$ = AdfAgent.getAgent(), $numRows$$8_platform$$17$$ = $agent$$75_ieRowHeaderExtraHeight$$.getPlatform(), $isIE$$14$$ = $numRows$$8_platform$$17$$ == AdfAgent.IE_PLATFORM, $isIE8Plus$$15$$ = $isIE$$14$$ && 8 <= AdfAgent.AGENT.getVersion();
  $isIE$$14$$ && AdfAgent.AGENT.getVersion();
  for (var $heightDelta_isWebkit$$7$$ = $numRows$$8_platform$$17$$ == AdfAgent.WEBKIT_PLATFORM, $resizedElem$$5_rowHeaderHeightsNeedIncrement$$ = $rowHeaderBlock$$8$$.$_new$, $rowHeaderTable$$ = $rowHeaderBlock$$8$$.childNodes[0], $numRows$$8_platform$$17$$ = $rowHeaderTable$$.rows.length - 1, $heightArray$$2$$ = Array($numRows$$8_platform$$17$$), $sizeAllRowsArray$$ = Array($numRows$$8_platform$$17$$), $totalHeight$$3$$ = 0, $headerRow$$1_length$$48_row$$55$$, $blockStartRow$$6_i$$232$$ = $JSCompiler_StaticMethods_coordinateHTMLBlockRowHeights$self$$.getIntAttribute($rowHeaderBlock$$8$$, 
  "_startSlice"), $pane$$97$$ = $blockStartRow$$6_i$$232$$ < $JSCompiler_StaticMethods_coordinateHTMLBlockRowHeights$self$$.$_splitSlice$[1] ? 0 : 1, $databodyRow$$1_lastRowBeforeViewport$$ = $JSCompiler_StaticMethods_getViewportStartSliceProperty$$($JSCompiler_StaticMethods_coordinateHTMLBlockRowHeights$self$$.$_pivotTablePeer$, 1, $pane$$97$$, !1) - $blockStartRow$$6_i$$232$$ - 1, $heightBeforeViewport$$1$$ = 0, $blockStartRow$$6_i$$232$$ = 0;$blockStartRow$$6_i$$232$$ < $numRows$$8_platform$$17$$;$blockStartRow$$6_i$$232$$++) {
    $headerRow$$1_length$$48_row$$55$$ = $rowHeaderTable$$.rows[$blockStartRow$$6_i$$232$$ + 1];
    var $rowHeight$$5$$ = $headerRow$$1_length$$48_row$$55$$.cells[0].offsetHeight;
    $resizedElem$$5_rowHeaderHeightsNeedIncrement$$ && $rowHeight$$5$$++;
    if (void 0 == $headerRow$$1_length$$48_row$$55$$.$_minRH$) {
      $rowHeight$$5$$ < AdfDhtmlPivotTablePeer.$MIN_ROW_HEIGHT$ && ($rowHeight$$5$$ = AdfDhtmlPivotTablePeer.$MIN_ROW_HEIGHT$);
      $headerRow$$1_length$$48_row$$55$$.$_minRH$ = $rowHeight$$5$$;
      var $databodyBlock$$4_heightOverride$$1$$ = $agent$$75_ieRowHeaderExtraHeight$$.getIntAttribute($headerRow$$1_length$$48_row$$55$$, "_winH");
      void 0 != $databodyBlock$$4_heightOverride$$1$$ && $databodyBlock$$4_heightOverride$$1$$ > $rowHeight$$5$$ && ($rowHeight$$5$$ = $databodyBlock$$4_heightOverride$$1$$);
    }
    $headerRow$$1_length$$48_row$$55$$ = $databodyBlocks$$7$$.length;
    for (var $maxHeight$$ = $rowHeight$$5$$, $iBlock$$4$$ = 0;$iBlock$$4$$ < $headerRow$$1_length$$48_row$$55$$;$iBlock$$4$$++) {
      var $databodyBlock$$4_heightOverride$$1$$ = $databodyBlocks$$7$$[$iBlock$$4$$], $_row$$1_databodyTable$$1$$ = $databodyBlock$$4_heightOverride$$1$$.childNodes[0], $_row$$1_databodyTable$$1$$ = $_row$$1_databodyTable$$1$$.rows[$blockStartRow$$6_i$$232$$ + 1], $JSCompiler_temp$$129_maxSize$$inline_3938$$;
      if (void 0 != $agent$$75_ieRowHeaderExtraHeight$$.getAttribute($_row$$1_databodyTable$$1$$, "_ss")) {
        var $cells$$inline_3937_databodyHeight$$1$$ = $_row$$1_databodyTable$$1$$.cells;
        $JSCompiler_temp$$129_maxSize$$inline_3938$$ = 0;
        for (var $i$$inline_3939$$ = 1;$i$$inline_3939$$ < $cells$$inline_3937_databodyHeight$$1$$.length;$i$$inline_3939$$++) {
          for (var $offset$$inline_3941$$ = AdfPivotTableUtils.$CELL_EXTRA_HEIGHT$, $nodes$$inline_3942$$ = $cells$$inline_3937_databodyHeight$$1$$[$i$$inline_3939$$].getElementsByTagName("*"), $nodeCount$$inline_3943$$ = $nodes$$inline_3942$$.length, $j$$inline_3944$$ = 0;$j$$inline_3944$$ < $nodeCount$$inline_3943$$;$j$$inline_3944$$++) {
            $JSCompiler_temp$$129_maxSize$$inline_3938$$ = Math.max($JSCompiler_temp$$129_maxSize$$inline_3938$$, $nodes$$inline_3942$$[$j$$inline_3944$$].scrollHeight + $offset$$inline_3941$$);
          }
        }
      } else {
        $JSCompiler_temp$$129_maxSize$$inline_3938$$ = 0;
      }
      $cells$$inline_3937_databodyHeight$$1$$ = $_row$$1_databodyTable$$1$$.cells[0].offsetHeight;
      $cells$$inline_3937_databodyHeight$$1$$ = Math.max($cells$$inline_3937_databodyHeight$$1$$, $JSCompiler_temp$$129_maxSize$$inline_3938$$);
      $databodyBlock$$4_heightOverride$$1$$.$_new$ && $cells$$inline_3937_databodyHeight$$1$$++;
      void 0 == $_row$$1_databodyTable$$1$$.$_minRH$ && ($cells$$inline_3937_databodyHeight$$1$$ < AdfDhtmlPivotTablePeer.$MIN_ROW_HEIGHT$ && ($cells$$inline_3937_databodyHeight$$1$$ = AdfDhtmlPivotTablePeer.$MIN_ROW_HEIGHT$), $_row$$1_databodyTable$$1$$.$_minRH$ = $cells$$inline_3937_databodyHeight$$1$$, $databodyBlock$$4_heightOverride$$1$$ = $agent$$75_ieRowHeaderExtraHeight$$.getIntAttribute($_row$$1_databodyTable$$1$$, "_winH"), void 0 != $databodyBlock$$4_heightOverride$$1$$ && $databodyBlock$$4_heightOverride$$1$$ > 
      $cells$$inline_3937_databodyHeight$$1$$ && ($cells$$inline_3937_databodyHeight$$1$$ = $databodyBlock$$4_heightOverride$$1$$));
      $maxHeight$$ = Math.max($maxHeight$$, $cells$$inline_3937_databodyHeight$$1$$);
      $rowHeaderBlock$$8$$._new || ($sizeAllRowsArray$$[$blockStartRow$$6_i$$232$$] = $rowHeight$$5$$ < $maxHeight$$);
    }
    $heightArray$$2$$[$blockStartRow$$6_i$$232$$] = $maxHeight$$;
    $totalHeight$$3$$ += $maxHeight$$;
    $blockStartRow$$6_i$$232$$ == $databodyRow$$1_lastRowBeforeViewport$$ && ($heightBeforeViewport$$1$$ = $totalHeight$$3$$);
  }
  $ieDatabodyExtraHeight_sizeBeforeViewport$$5$$ && ($heightBeforeViewport$$1$$ += $JSCompiler_StaticMethods_getViewportStartSliceProperty$$($JSCompiler_StaticMethods_coordinateHTMLBlockRowHeights$self$$.$_pivotTablePeer$, 1, $pane$$97$$, !0), $ieDatabodyExtraHeight_sizeBeforeViewport$$5$$.$heightBeforeViewport$[$pane$$97$$] = $heightBeforeViewport$$1$$);
  $agent$$75_ieRowHeaderExtraHeight$$ = $ieDatabodyExtraHeight_sizeBeforeViewport$$5$$ = 0;
  $isIE$$14$$ && !$isIE8Plus$$15$$ && ($ieDatabodyExtraHeight_sizeBeforeViewport$$5$$ = AdfPivotTableUtils.$CELL_EXTRA_HEIGHT$, $agent$$75_ieRowHeaderExtraHeight$$ = $ieDatabodyExtraHeight_sizeBeforeViewport$$5$$ + 1);
  for ($blockStartRow$$6_i$$232$$ = 0;$blockStartRow$$6_i$$232$$ < $numRows$$8_platform$$17$$;$blockStartRow$$6_i$$232$$++) {
    $headerRow$$1_length$$48_row$$55$$ = $rowHeaderTable$$.rows[$blockStartRow$$6_i$$232$$ + 1];
    $resizedElem$$5_rowHeaderHeightsNeedIncrement$$ = $heightDelta_isWebkit$$7$$ || $isIE8Plus$$15$$ ? $headerRow$$1_length$$48_row$$55$$.cells[0] : $headerRow$$1_length$$48_row$$55$$;
    $resizedElem$$5_rowHeaderHeightsNeedIncrement$$.style.height = $heightArray$$2$$[$blockStartRow$$6_i$$232$$] - $agent$$75_ieRowHeaderExtraHeight$$ + "px";
    $headerRow$$1_length$$48_row$$55$$ = $databodyBlocks$$7$$.length;
    for ($iBlock$$4$$ = 0;$iBlock$$4$$ < $headerRow$$1_length$$48_row$$55$$;$iBlock$$4$$++) {
      $_row$$1_databodyTable$$1$$ = $databodyBlocks$$7$$[$iBlock$$4$$].childNodes[0], $databodyRow$$1_lastRowBeforeViewport$$ = $_row$$1_databodyTable$$1$$.rows[$blockStartRow$$6_i$$232$$ + 1], $resizedElem$$5_rowHeaderHeightsNeedIncrement$$ = $heightDelta_isWebkit$$7$$ || $isIE8Plus$$15$$ ? $databodyRow$$1_lastRowBeforeViewport$$.cells[0] : $databodyRow$$1_lastRowBeforeViewport$$, $resizedElem$$5_rowHeaderHeightsNeedIncrement$$.style.height = $heightArray$$2$$[$blockStartRow$$6_i$$232$$] - $ieDatabodyExtraHeight_sizeBeforeViewport$$5$$ + 
      "px", $JSCompiler_StaticMethods_updateTextAreaCellHeights$$($databodyRow$$1_lastRowBeforeViewport$$, $heightArray$$2$$[$blockStartRow$$6_i$$232$$] - $ieDatabodyExtraHeight_sizeBeforeViewport$$5$$);
    }
    if ($sizeAllRowsArray$$[$blockStartRow$$6_i$$232$$] && void 0 != $existingDatabodyBlocks$$2$$) {
      for ($headerRow$$1_length$$48_row$$55$$ = $existingDatabodyBlocks$$2$$.length, $iBlock$$4$$ = 0;$iBlock$$4$$ < $headerRow$$1_length$$48_row$$55$$;$iBlock$$4$$++) {
        $_row$$1_databodyTable$$1$$ = $existingDatabodyBlocks$$2$$[$iBlock$$4$$].childNodes[0], $databodyRow$$1_lastRowBeforeViewport$$ = $_row$$1_databodyTable$$1$$.rows[$blockStartRow$$6_i$$232$$ + 1], $resizedElem$$5_rowHeaderHeightsNeedIncrement$$ = $heightDelta_isWebkit$$7$$ || $isIE8Plus$$15$$ ? $databodyRow$$1_lastRowBeforeViewport$$.cells[0] : $databodyRow$$1_lastRowBeforeViewport$$, $resizedElem$$5_rowHeaderHeightsNeedIncrement$$.style.height = $heightArray$$2$$[$blockStartRow$$6_i$$232$$] - 
        $ieDatabodyExtraHeight_sizeBeforeViewport$$5$$ + "px";
      }
    }
  }
  $rowHeaderBlock$$8$$.style.height = $totalHeight$$3$$ + "px";
  $rowHeaderBlock$$8$$._new || ($heightDelta_isWebkit$$7$$ = $rowHeaderBlock$$8$$._height - $totalHeight$$3$$, 0 != $heightDelta_isWebkit$$7$$ && $JSCompiler_StaticMethods_moveExistingBlocksTop$$($JSCompiler_StaticMethods_coordinateHTMLBlockRowHeights$self$$, $pane$$97$$, $blockIndex$$8$$ + 1, $heightDelta_isWebkit$$7$$));
  $rowHeaderBlock$$8$$._height = $totalHeight$$3$$;
  $rowHeaderBlock$$8$$.childNodes[0].style.height = $isIE$$14$$ && !$isIE8Plus$$15$$ ? $totalHeight$$3$$ + 1 + "px" : $totalHeight$$3$$ + "px";
  $headerRow$$1_length$$48_row$$55$$ = $databodyBlocks$$7$$.length;
  for ($iBlock$$4$$ = 0;$iBlock$$4$$ < $headerRow$$1_length$$48_row$$55$$;$iBlock$$4$$++) {
    $databodyBlocks$$7$$[$iBlock$$4$$].style.height = $isIE$$14$$ && !$isIE8Plus$$15$$ ? $totalHeight$$3$$ + 1 + "px" : $totalHeight$$3$$ + "px", $databodyBlocks$$7$$[$iBlock$$4$$]._height = $totalHeight$$3$$, $databodyBlocks$$7$$[$iBlock$$4$$].childNodes[0].style.height = $totalHeight$$3$$ + "px";
  }
  if (void 0 != $existingDatabodyBlocks$$2$$) {
    for ($headerRow$$1_length$$48_row$$55$$ = $existingDatabodyBlocks$$2$$.length, $iBlock$$4$$ = 0;$iBlock$$4$$ < $headerRow$$1_length$$48_row$$55$$;$iBlock$$4$$++) {
      $existingDatabodyBlocks$$2$$[$iBlock$$4$$].style.height = $isIE$$14$$ && !$isIE8Plus$$15$$ ? $totalHeight$$3$$ + 1 + "px" : $totalHeight$$3$$ + "px", $existingDatabodyBlocks$$2$$[$iBlock$$4$$]._height = $totalHeight$$3$$, $existingDatabodyBlocks$$2$$[$iBlock$$4$$].childNodes[0].style.height = $totalHeight$$3$$ + "px";
    }
  }
  return 0 == $numRows$$8_platform$$17$$ ? 0 : $totalHeight$$3$$ / $numRows$$8_platform$$17$$;
}
function $JSCompiler_StaticMethods_shiftAllPlaceholderCells$$($JSCompiler_StaticMethods_shiftAllPlaceholderCells$self$$, $bNewBlocksOnly$$1$$) {
  for (var $buffer$$27$$, $block$$67$$, $edge$$174_rowPane$$30$$ = 0;2 > $edge$$174_rowPane$$30$$;++$edge$$174_rowPane$$30$$) {
    for (var $edgeBuffers$$2_rowOfBuffers$$3$$ = $JSCompiler_StaticMethods_shiftAllPlaceholderCells$self$$.$_buffers2$[$edge$$174_rowPane$$30$$], $colPane$$29_pane$$98$$ = $JSCompiler_StaticMethods_shiftAllPlaceholderCells$self$$.$_startPane$[$edge$$174_rowPane$$30$$];2 > $colPane$$29_pane$$98$$;++$colPane$$29_pane$$98$$) {
      $buffer$$27$$ = $edgeBuffers$$2_rowOfBuffers$$3$$[$colPane$$29_pane$$98$$];
      for (var $length$$49_numBlockRows$$4$$ = $buffer$$27$$.length, $i$$233$$ = 0;$i$$233$$ < $length$$49_numBlockRows$$4$$;$i$$233$$++) {
        $block$$67$$ = $buffer$$27$$[$i$$233$$], $block$$67$$._placeholder || !$block$$67$$._new && $bNewBlocksOnly$$1$$ || $JSCompiler_StaticMethods_shiftPlaceholderCells$$($JSCompiler_StaticMethods_shiftAllPlaceholderCells$self$$, $block$$67$$);
      }
    }
  }
  for ($edge$$174_rowPane$$30$$ = $JSCompiler_StaticMethods_shiftAllPlaceholderCells$self$$.$_startPane$[1];2 > $edge$$174_rowPane$$30$$;++$edge$$174_rowPane$$30$$) {
    for ($edgeBuffers$$2_rowOfBuffers$$3$$ = $JSCompiler_StaticMethods_shiftAllPlaceholderCells$self$$.$_databodyBuffers$[$edge$$174_rowPane$$30$$], $colPane$$29_pane$$98$$ = $JSCompiler_StaticMethods_shiftAllPlaceholderCells$self$$.$_startPane$[0];2 > $colPane$$29_pane$$98$$;++$colPane$$29_pane$$98$$) {
      $buffer$$27$$ = $edgeBuffers$$2_rowOfBuffers$$3$$[$colPane$$29_pane$$98$$];
      for (var $length$$49_numBlockRows$$4$$ = $buffer$$27$$.length, $i$$233$$ = 0;$i$$233$$ < $length$$49_numBlockRows$$4$$;$i$$233$$++) {
        for (var $rowOfBlocks$$3$$ = $buffer$$27$$[$i$$233$$], $numBlocks$$4$$ = $rowOfBlocks$$3$$.length, $j$$56$$ = 0;$j$$56$$ < $numBlocks$$4$$;$j$$56$$++) {
          $block$$67$$ = $rowOfBlocks$$3$$[$j$$56$$], !$block$$67$$ || !$block$$67$$._new && $bNewBlocksOnly$$1$$ || $JSCompiler_StaticMethods_shiftPlaceholderCells$$($JSCompiler_StaticMethods_shiftAllPlaceholderCells$self$$, $block$$67$$);
        }
      }
    }
  }
  !$JSCompiler_StaticMethods_shiftAllPlaceholderCells$self$$.$_layerLabelBlock$ || !$JSCompiler_StaticMethods_shiftAllPlaceholderCells$self$$.$_layerLabelBlock$._new && $bNewBlocksOnly$$1$$ || $JSCompiler_StaticMethods_shiftPlaceholderCells$$($JSCompiler_StaticMethods_shiftAllPlaceholderCells$self$$, $JSCompiler_StaticMethods_shiftAllPlaceholderCells$self$$.$_layerLabelBlock$);
}
function $JSCompiler_StaticMethods_shiftPlaceholderCells$$($JSCompiler_StaticMethods_shiftPlaceholderCells$self$$, $block$$68$$) {
  $block$$68$$.style.height = $block$$68$$.childNodes[0].offsetHeight - AdfPivotTableUtils.$PLACEHOLDER_ROW_HEIGHT$ + "px";
  $JSCompiler_StaticMethods_setCachedSize$$($JSCompiler_StaticMethods_shiftPlaceholderCells$self$$, $block$$68$$, $block$$68$$.childNodes[0].offsetWidth, AdfPivotTableUtils.$COLUMN_EDGE$);
  $block$$68$$.style.overflow = "hidden";
}
AdfPivotTableUtils.$adjustPrintablePageRendering$ = function $AdfPivotTableUtils$$adjustPrintablePageRendering$$($clientId$$108$$, $isRtl$$) {
  for (var $sizeAttrs_startSlices$$ = ["width", "height"], $clientSizeAttrs$$ = ["clientWidth", "clientHeight"], $offsetSizeAttrs$$ = ["offsetWidth", "offsetHeight"], $layerPixels_ptOuterContainer$$ = document.getElementById($clientId$$108$$), $innerContainer_startPixels$$ = $layerPixels_ptOuterContainer$$.childNodes[0], $startPane$$9$$ = [-1 == parseInt($layerPixels_ptOuterContainer$$.getAttribute("_splitCol")) ? 1 : 0, -1 == parseInt($layerPixels_ptOuterContainer$$.getAttribute("_splitRow")) ? 
  1 : 0], $frameDivs_headerExtraPixelExtent$$1_layerAdjust_length$$51$$ = $innerContainer_startPixels$$.childNodes, $containerExtraSize$$1_i$$235$$ = 0, $corner$$3_header$$6_otherPane$$5$$ = $frameDivs_headerExtraPixelExtent$$1_layerAdjust_length$$51$$[$containerExtraSize$$1_i$$235$$++], $div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$, $block$$70_databodyPaneRegionSize$$1_desiredHeaderOuterPixelDepth$$1$$, $columnHeaders_depthAttr_sizeAttr$$4_start$$25$$ = 
  [], $columnHeaderBlocks_headerBlocks$$ = [], $columnHeaderRows_dbRows_headerBlock$$5_ptInnerSize$$1$$ = [], $emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$ = $startPane$$9$$[0];2 > $emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$;++$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$) {
    $div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$ = $frameDivs_headerExtraPixelExtent$$1_layerAdjust_length$$51$$[$containerExtraSize$$1_i$$235$$++], $block$$70_databodyPaneRegionSize$$1_desiredHeaderOuterPixelDepth$$1$$ = $div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$.childNodes[0], $columnHeaders_depthAttr_sizeAttr$$4_start$$25$$[$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$] = 
    $div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$, $columnHeaderBlocks_headerBlocks$$[$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$] = $block$$70_databodyPaneRegionSize$$1_desiredHeaderOuterPixelDepth$$1$$, $columnHeaderRows_dbRows_headerBlock$$5_ptInnerSize$$1$$[$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$] = $block$$70_databodyPaneRegionSize$$1_desiredHeaderOuterPixelDepth$$1$$.childNodes[0].childNodes[0].childNodes
    ;
  }
  for (var $databodyInnerSizePx_end$$8_extentAttr_left$$23_rowHeaders$$1$$ = [], $emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$ = [], $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$ = [], $headers$$2$$ = [$columnHeaders_depthAttr_sizeAttr$$4_start$$25$$, $databodyInnerSizePx_end$$8_extentAttr_left$$23_rowHeaders$$1$$], $columnHeaderBlocks_headerBlocks$$ = [$columnHeaderBlocks_headerBlocks$$, $emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$], 
  $headerRows$$2$$ = [$columnHeaderRows_dbRows_headerBlock$$5_ptInnerSize$$1$$, $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$], $databodies$$2_startLayers$$ = [[], []], $databodyBlocks$$8$$ = [[], []], $clientSizeAttr_databodyExtraSize$$1_databodyRows$$ = [[], []], $headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$ = $startPane$$9$$[1];2 > $headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$;++$headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$) {
    $div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$ = $frameDivs_headerExtraPixelExtent$$1_layerAdjust_length$$51$$[$containerExtraSize$$1_i$$235$$++];
    $block$$70_databodyPaneRegionSize$$1_desiredHeaderOuterPixelDepth$$1$$ = $div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$.childNodes[0];
    $databodyInnerSizePx_end$$8_extentAttr_left$$23_rowHeaders$$1$$[$headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$] = $div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$;
    $emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$[$headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$] = $block$$70_databodyPaneRegionSize$$1_desiredHeaderOuterPixelDepth$$1$$;
    $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$[$headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$] = $block$$70_databodyPaneRegionSize$$1_desiredHeaderOuterPixelDepth$$1$$.childNodes[0].childNodes[0].childNodes;
    for (var $blockSize_colPane$$30_headerInnerPixelExtent$$1$$ = $startPane$$9$$[0];2 > $blockSize_colPane$$30_headerInnerPixelExtent$$1$$;++$blockSize_colPane$$30_headerInnerPixelExtent$$1$$) {
      $div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$ = $frameDivs_headerExtraPixelExtent$$1_layerAdjust_length$$51$$[$containerExtraSize$$1_i$$235$$++], $block$$70_databodyPaneRegionSize$$1_desiredHeaderOuterPixelDepth$$1$$ = $div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$.childNodes[0], $databodies$$2_startLayers$$[$headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$][$blockSize_colPane$$30_headerInnerPixelExtent$$1$$] = 
      $div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$, $databodyBlocks$$8$$[$headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$][$blockSize_colPane$$30_headerInnerPixelExtent$$1$$] = $block$$70_databodyPaneRegionSize$$1_desiredHeaderOuterPixelDepth$$1$$, $clientSizeAttr_databodyExtraSize$$1_databodyRows$$[$headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$][$blockSize_colPane$$30_headerInnerPixelExtent$$1$$] = $block$$70_databodyPaneRegionSize$$1_desiredHeaderOuterPixelDepth$$1$$.childNodes[0].childNodes[0].childNodes
      ;
    }
  }
  for ($emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$ = $startPane$$9$$[0];2 > $emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$;++$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$) {
    for ($headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$ = $columnHeaderRows_dbRows_headerBlock$$5_ptInnerSize$$1$$[$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$], $frameDivs_headerExtraPixelExtent$$1_layerAdjust_length$$51$$ = $headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$.length, $containerExtraSize$$1_i$$235$$ = 1;$containerExtraSize$$1_i$$235$$ < $frameDivs_headerExtraPixelExtent$$1_layerAdjust_length$$51$$;$containerExtraSize$$1_i$$235$$++) {
      $div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$ = $headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$[$containerExtraSize$$1_i$$235$$].getAttribute("_winH"), null != $div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$ && ($headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$[$containerExtraSize$$1_i$$235$$].style.height = $div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$ + 
      "px");
    }
  }
  for ($headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$ = $startPane$$9$$[1];2 > $headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$;++$headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$) {
    for ($emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$ = $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$[$headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$], $columnHeaderRows_dbRows_headerBlock$$5_ptInnerSize$$1$$ = $clientSizeAttr_databodyExtraSize$$1_databodyRows$$[$headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$], $frameDivs_headerExtraPixelExtent$$1_layerAdjust_length$$51$$ = $emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$.length, 
    $containerExtraSize$$1_i$$235$$ = 1;$containerExtraSize$$1_i$$235$$ < $frameDivs_headerExtraPixelExtent$$1_layerAdjust_length$$51$$;$containerExtraSize$$1_i$$235$$++) {
      if ($div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$ = $emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$[$containerExtraSize$$1_i$$235$$].getAttribute("_winH"), null != $div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$) {
        for ($div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$ += "px", $emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$[$containerExtraSize$$1_i$$235$$].style.height = $div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$, $blockSize_colPane$$30_headerInnerPixelExtent$$1$$ = $startPane$$9$$[0];2 > $blockSize_colPane$$30_headerInnerPixelExtent$$1$$;++$blockSize_colPane$$30_headerInnerPixelExtent$$1$$) {
          $columnHeaderRows_dbRows_headerBlock$$5_ptInnerSize$$1$$[$blockSize_colPane$$30_headerInnerPixelExtent$$1$$][$containerExtraSize$$1_i$$235$$].style.height = $div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$;
        }
      }
    }
  }
  AdfPivotTableUtils.$initSizeConstants$();
  var $containerExtraSize$$1_i$$235$$ = AdfPivotTableUtils.$CONTAINER_EXTRA_SIZE$, $clientSizeAttr_databodyExtraSize$$1_databodyRows$$ = AdfPivotTableUtils.$DATABODY_EXTRA_SIZE$, $frameDivs_headerExtraPixelExtent$$1_layerAdjust_length$$51$$ = AdfPivotTableUtils.$HEADER_EXTRA_PIXEL_EXTENT$, $databodyRegionSize$$1_headerExtraPixelDepth$$2_topPx$$ = AdfPivotTableUtils.$HEADER_EXTRA_PIXEL_DEPTH$, $columnHeaderRows_dbRows_headerBlock$$5_ptInnerSize$$1$$ = [$innerContainer_startPixels$$.clientWidth, $innerContainer_startPixels$$.clientHeight], 
  $headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$ = [$columnHeaderRows_dbRows_headerBlock$$5_ptInnerSize$$1$$[0], $columnHeaderRows_dbRows_headerBlock$$5_ptInnerSize$$1$$[1] - 0], $blockSize_colPane$$30_headerInnerPixelExtent$$1$$ = [[], []];
  $block$$70_databodyPaneRegionSize$$1_desiredHeaderOuterPixelDepth$$1$$ = [];
  var $desiredDatabodyRegionSize$$1$$ = [];
  if (1 == $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$[1].length) {
    var $bAutosize$$2_emptyTextDiv$$2_pixelAdjust$$ = $databodyBlocks$$8$$[1][1], $emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$ = $bAutosize$$2_emptyTextDiv$$2_pixelAdjust$$.childNodes[0], $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$ = parseInt($bAutosize$$2_emptyTextDiv$$2_pixelAdjust$$.getAttribute("_totHorizMargin"));
    $div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$ = parseInt($bAutosize$$2_emptyTextDiv$$2_pixelAdjust$$.getAttribute("_totVertMargin"));
    $block$$70_databodyPaneRegionSize$$1_desiredHeaderOuterPixelDepth$$1$$ = AdfPivotTableUtils.$HEADER_OUTER_PIXEL_DEPTH_NO_DATA$;
    $desiredDatabodyRegionSize$$1$$ = [$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$.offsetWidth + $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$, $emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$.offsetHeight + $div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$];
  } else {
    for ($edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$ = 0;2 > $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$;++$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$) {
      $div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$ = $offsetSizeAttrs$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$];
      $desiredDatabodyRegionSize$$1$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$] = 0;
      for ($emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$ = $startPane$$9$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$];2 > $emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$;++$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$) {
        $blockSize_colPane$$30_headerInnerPixelExtent$$1$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$][$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$] = $columnHeaderBlocks_headerBlocks$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$][$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$][$div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$], 
        $desiredDatabodyRegionSize$$1$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$] += $blockSize_colPane$$30_headerInnerPixelExtent$$1$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$][$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$];
      }
      $block$$70_databodyPaneRegionSize$$1_desiredHeaderOuterPixelDepth$$1$$[1 - $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$] = $columnHeaderBlocks_headerBlocks$$[1 - $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$][1][$div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$] + $databodyRegionSize$$1_headerExtraPixelDepth$$2_topPx$$[1 - $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$];
    }
  }
  $div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$ = [];
  for (var $emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$ = [], $headerSizeAllocation$$ = [Number($layerPixels_ptOuterContainer$$.getAttribute("_sizeAlloc0")), Number($layerPixels_ptOuterContainer$$.getAttribute("_sizeAlloc1"))], $headerSizeAllocUnit$$ = [$layerPixels_ptOuterContainer$$.getAttribute("_sizeUnit0"), $layerPixels_ptOuterContainer$$.getAttribute("_sizeUnit1")], $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$ = 0;2 > $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$;++$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$) {
    var $ptAvailableContentSize$$1$$ = $headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$] - $databodyRegionSize$$1_headerExtraPixelDepth$$2_topPx$$[1 - $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$], $desiredHeaderInnerPixelDepth$$1$$ = $block$$70_databodyPaneRegionSize$$1_desiredHeaderOuterPixelDepth$$1$$[1 - $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$] - 
    $databodyRegionSize$$1_headerExtraPixelDepth$$2_topPx$$[1 - $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$];
    if ($bAutosize$$2_emptyTextDiv$$2_pixelAdjust$$) {
      var $headerAllocation$$1$$ = .15, $headerAllocUnit$$1$$ = "%"
    } else {
      $headerAllocation$$1$$ = $headerSizeAllocation$$[1 - $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$], $headerAllocUnit$$1$$ = $headerSizeAllocUnit$$[1 - $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$];
    }
    $div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$[1 - $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$] = AdfPivotTableUtils.$allocateSpace$($ptAvailableContentSize$$1$$, $desiredHeaderInnerPixelDepth$$1$$, $desiredDatabodyRegionSize$$1$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$], $headerAllocation$$1$$, $headerAllocUnit$$1$$)[0];
    $emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$[1 - $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$] = $div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$[1 - $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$] + $databodyRegionSize$$1_headerExtraPixelDepth$$2_topPx$$[1 - $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$];
  }
  $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$ = AdfAgent.getAgent().getAttribute($layerPixels_ptOuterContainer$$, "sizing");
  if ($bAutosize$$2_emptyTextDiv$$2_pixelAdjust$$ = AdfPivotTableUtils.$isShrinkToFit$($edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$, $layerPixels_ptOuterContainer$$)) {
    for ($edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$ = 0;2 > $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$;++$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$) {
      $headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$] = Math.min($headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$], $block$$70_databodyPaneRegionSize$$1_desiredHeaderOuterPixelDepth$$1$$[1 - $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$] + $desiredDatabodyRegionSize$$1$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$])
      ;
    }
    $columnHeaderRows_dbRows_headerBlock$$5_ptInnerSize$$1$$[0] = $headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$[0];
    $columnHeaderRows_dbRows_headerBlock$$5_ptInnerSize$$1$$[1] = $headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$[1] + 0;
  }
  $databodyRegionSize$$1_headerExtraPixelDepth$$2_topPx$$ = [];
  $block$$70_databodyPaneRegionSize$$1_desiredHeaderOuterPixelDepth$$1$$ = [[], []];
  for ($edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$ = 0;2 > $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$;++$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$) {
    $databodyRegionSize$$1_headerExtraPixelDepth$$2_topPx$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$] = $headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$] - $emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$[1 - $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$], 0 == $startPane$$9$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$] ? 
    ($block$$70_databodyPaneRegionSize$$1_desiredHeaderOuterPixelDepth$$1$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$][0] = AdfPivotTableUtils.$allocateSpace$($databodyRegionSize$$1_headerExtraPixelDepth$$2_topPx$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$], $blockSize_colPane$$30_headerInnerPixelExtent$$1$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$][0], $blockSize_colPane$$30_headerInnerPixelExtent$$1$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$][1], 
    .5, "%")[0], $block$$70_databodyPaneRegionSize$$1_desiredHeaderOuterPixelDepth$$1$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$][1] = $databodyRegionSize$$1_headerExtraPixelDepth$$2_topPx$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$] - $block$$70_databodyPaneRegionSize$$1_desiredHeaderOuterPixelDepth$$1$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$][0]) : $block$$70_databodyPaneRegionSize$$1_desiredHeaderOuterPixelDepth$$1$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$][1] = 
    $databodyRegionSize$$1_headerExtraPixelDepth$$2_topPx$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$];
  }
  $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$ = $emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$[0];
  $databodyRegionSize$$1_headerExtraPixelDepth$$2_topPx$$ = $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$ + "px";
  for ($headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$ = $startPane$$9$$[1];2 > $headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$;++$headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$) {
    $databodyInnerSizePx_end$$8_extentAttr_left$$23_rowHeaders$$1$$[$headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$].style.top = $databodyRegionSize$$1_headerExtraPixelDepth$$2_topPx$$;
    for ($blockSize_colPane$$30_headerInnerPixelExtent$$1$$ = $startPane$$9$$[0];2 > $blockSize_colPane$$30_headerInnerPixelExtent$$1$$;++$blockSize_colPane$$30_headerInnerPixelExtent$$1$$) {
      $databodies$$2_startLayers$$[$headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$][$blockSize_colPane$$30_headerInnerPixelExtent$$1$$].style.top = $databodyRegionSize$$1_headerExtraPixelDepth$$2_topPx$$;
    }
    0 == $headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$ && ($edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$ += $block$$70_databodyPaneRegionSize$$1_desiredHeaderOuterPixelDepth$$1$$[1][$headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$], $databodyRegionSize$$1_headerExtraPixelDepth$$2_topPx$$ = $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$ + "px");
  }
  if ($isRtl$$) {
    for ($databodyInnerSizePx_end$$8_extentAttr_left$$23_rowHeaders$$1$$ = 0, $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$ = "0px", $blockSize_colPane$$30_headerInnerPixelExtent$$1$$ = 1;$blockSize_colPane$$30_headerInnerPixelExtent$$1$$ >= $startPane$$9$$[0];--$blockSize_colPane$$30_headerInnerPixelExtent$$1$$) {
      $columnHeaders_depthAttr_sizeAttr$$4_start$$25$$[$blockSize_colPane$$30_headerInnerPixelExtent$$1$$].style.left = $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$;
      for ($headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$ = $startPane$$9$$[1];2 > $headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$;++$headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$) {
        $databodies$$2_startLayers$$[$headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$][$blockSize_colPane$$30_headerInnerPixelExtent$$1$$].style.left = $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$;
      }
      1 == $blockSize_colPane$$30_headerInnerPixelExtent$$1$$ && ($databodyInnerSizePx_end$$8_extentAttr_left$$23_rowHeaders$$1$$ += $block$$70_databodyPaneRegionSize$$1_desiredHeaderOuterPixelDepth$$1$$[0][$blockSize_colPane$$30_headerInnerPixelExtent$$1$$], $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$ = $databodyInnerSizePx_end$$8_extentAttr_left$$23_rowHeaders$$1$$ + "px");
    }
  } else {
    for ($databodyInnerSizePx_end$$8_extentAttr_left$$23_rowHeaders$$1$$ = $emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$[1], $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$ = $databodyInnerSizePx_end$$8_extentAttr_left$$23_rowHeaders$$1$$ + "px", $blockSize_colPane$$30_headerInnerPixelExtent$$1$$ = $startPane$$9$$[0];2 > $blockSize_colPane$$30_headerInnerPixelExtent$$1$$;++$blockSize_colPane$$30_headerInnerPixelExtent$$1$$) {
      $columnHeaders_depthAttr_sizeAttr$$4_start$$25$$[$blockSize_colPane$$30_headerInnerPixelExtent$$1$$].style.left = $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$;
      for ($headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$ = $startPane$$9$$[1];2 > $headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$;++$headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$) {
        $databodies$$2_startLayers$$[$headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$][$blockSize_colPane$$30_headerInnerPixelExtent$$1$$].style.left = $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$;
      }
      0 == $blockSize_colPane$$30_headerInnerPixelExtent$$1$$ && ($databodyInnerSizePx_end$$8_extentAttr_left$$23_rowHeaders$$1$$ += $block$$70_databodyPaneRegionSize$$1_desiredHeaderOuterPixelDepth$$1$$[0][$blockSize_colPane$$30_headerInnerPixelExtent$$1$$], $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$ = $databodyInnerSizePx_end$$8_extentAttr_left$$23_rowHeaders$$1$$ + "px");
    }
  }
  $corner$$3_header$$6_otherPane$$5$$.style.width = $emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$[1] + "px";
  $corner$$3_header$$6_otherPane$$5$$.style.height = $emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$[0] + "px";
  for ($edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$ = 0;2 > $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$;++$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$) {
    for ($corner$$3_header$$6_otherPane$$5$$ = $headers$$2$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$], $columnHeaders_depthAttr_sizeAttr$$4_start$$25$$ = $sizeAttrs_startSlices$$[1 - $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$], $databodyInnerSizePx_end$$8_extentAttr_left$$23_rowHeaders$$1$$ = $sizeAttrs_startSlices$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$], $headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$ = 
    $div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$] + "px", $emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$ = $startPane$$9$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$];2 > $emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$;++$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$) {
      $blockSize_colPane$$30_headerInnerPixelExtent$$1$$ = $block$$70_databodyPaneRegionSize$$1_desiredHeaderOuterPixelDepth$$1$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$][$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$] - $frameDivs_headerExtraPixelExtent$$1_layerAdjust_length$$51$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$], $corner$$3_header$$6_otherPane$$5$$[$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$].style[$columnHeaders_depthAttr_sizeAttr$$4_start$$25$$] = 
      $headerInnerPixelDepthPx_ptAvailableSize$$2_rowPane$$31_rows$$27$$, $corner$$3_header$$6_otherPane$$5$$[$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$].style[$databodyInnerSizePx_end$$8_extentAttr_left$$23_rowHeaders$$1$$] = $blockSize_colPane$$30_headerInnerPixelExtent$$1$$ + "px";
    }
  }
  for ($edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$ = 0;2 > $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$;++$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$) {
    for ($columnHeaders_depthAttr_sizeAttr$$4_start$$25$$ = $sizeAttrs_startSlices$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$], $emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$ = $startPane$$9$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$];2 > $emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$;++$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$) {
      for ($databodyInnerSizePx_end$$8_extentAttr_left$$23_rowHeaders$$1$$ = $block$$70_databodyPaneRegionSize$$1_desiredHeaderOuterPixelDepth$$1$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$][$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$] - $clientSizeAttr_databodyExtraSize$$1_databodyRows$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$] + "px", $corner$$3_header$$6_otherPane$$5$$ = $startPane$$9$$[1 - $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$];2 > 
      $corner$$3_header$$6_otherPane$$5$$;++$corner$$3_header$$6_otherPane$$5$$) {
        ($edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$ ? $databodies$$2_startLayers$$[$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$][$corner$$3_header$$6_otherPane$$5$$] : $databodies$$2_startLayers$$[$corner$$3_header$$6_otherPane$$5$$][$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$]).style[$columnHeaders_depthAttr_sizeAttr$$4_start$$25$$] = $databodyInnerSizePx_end$$8_extentAttr_left$$23_rowHeaders$$1$$
        ;
      }
    }
  }
  $innerContainer_startPixels$$.style.width = $columnHeaderRows_dbRows_headerBlock$$5_ptInnerSize$$1$$[0] + "px";
  $innerContainer_startPixels$$.style.height = $columnHeaderRows_dbRows_headerBlock$$5_ptInnerSize$$1$$[1] + "px";
  $bAutosize$$2_emptyTextDiv$$2_pixelAdjust$$ && ($layerPixels_ptOuterContainer$$.style.width = $columnHeaderRows_dbRows_headerBlock$$5_ptInnerSize$$1$$[0] + $containerExtraSize$$1_i$$235$$[0] + "px", $layerPixels_ptOuterContainer$$.style.height = $columnHeaderRows_dbRows_headerBlock$$5_ptInnerSize$$1$$[1] + $containerExtraSize$$1_i$$235$$[1] + "px");
  $sizeAttrs_startSlices$$ = [];
  $innerContainer_startPixels$$ = [];
  0 == $startPane$$9$$[0] ? ($sizeAttrs_startSlices$$[0] = [parseInt($layerPixels_ptOuterContainer$$.getAttribute("_startCol")), parseInt($layerPixels_ptOuterContainer$$.getAttribute("_secondStartCol"))], $innerContainer_startPixels$$[0] = [parseInt($layerPixels_ptOuterContainer$$.getAttribute("_startColPixel")), parseInt($layerPixels_ptOuterContainer$$.getAttribute("_secondStartColPixel"))]) : ($sizeAttrs_startSlices$$[0] = [null, parseInt($layerPixels_ptOuterContainer$$.getAttribute("_startCol"))], 
  $innerContainer_startPixels$$[0] = [null, parseInt($layerPixels_ptOuterContainer$$.getAttribute("_startColPixel"))]);
  0 == $startPane$$9$$[1] ? ($sizeAttrs_startSlices$$[1] = [parseInt($layerPixels_ptOuterContainer$$.getAttribute("_startRow")), parseInt($layerPixels_ptOuterContainer$$.getAttribute("_secondStartRow"))], $innerContainer_startPixels$$[1] = [parseInt($layerPixels_ptOuterContainer$$.getAttribute("_startRowPixel")), parseInt($layerPixels_ptOuterContainer$$.getAttribute("_secondStartRowPixel"))]) : ($sizeAttrs_startSlices$$[1] = [null, parseInt($layerPixels_ptOuterContainer$$.getAttribute("_startRow"))], 
  $innerContainer_startPixels$$[1] = [null, parseInt($layerPixels_ptOuterContainer$$.getAttribute("_startRowPixel"))]);
  $databodies$$2_startLayers$$ = [parseInt($layerPixels_ptOuterContainer$$.getAttribute("_colHeaderStartLayer")), parseInt($layerPixels_ptOuterContainer$$.getAttribute("_rowHeaderStartLayer"))];
  $layerPixels_ptOuterContainer$$ = [parseInt($layerPixels_ptOuterContainer$$.getAttribute("_colHeaderStartPixel")), parseInt($layerPixels_ptOuterContainer$$.getAttribute("_rowHeaderStartPixel"))];
  for ($edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$ = 0;2 > $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$;++$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$) {
    $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$ ? ($columnHeaders_depthAttr_sizeAttr$$4_start$$25$$ = "top", $databodyInnerSizePx_end$$8_extentAttr_left$$23_rowHeaders$$1$$ = "bottom") : $isRtl$$ ? ($columnHeaders_depthAttr_sizeAttr$$4_start$$25$$ = "right", $databodyInnerSizePx_end$$8_extentAttr_left$$23_rowHeaders$$1$$ = "left") : ($columnHeaders_depthAttr_sizeAttr$$4_start$$25$$ = "left", $databodyInnerSizePx_end$$8_extentAttr_left$$23_rowHeaders$$1$$ = "right");
    $div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$ = $offsetSizeAttrs$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$];
    $clientSizeAttr_databodyExtraSize$$1_databodyRows$$ = $clientSizeAttrs$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$];
    for ($emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$ = $startPane$$9$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$];2 > $emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$;++$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$) {
      for (var $corner$$3_header$$6_otherPane$$5$$ = $headers$$2$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$][$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$], $columnHeaderRows_dbRows_headerBlock$$5_ptInnerSize$$1$$ = $columnHeaderBlocks_headerBlocks$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$][$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$], $layers$$1_side_slices$$4$$ = 
      $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$ ? $headerRows$$2$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$][$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$] : $headerRows$$2$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$][$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$][0].childNodes, $positionPx_sliceAdjust$$ = $sizeAttrs_startSlices$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$][$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$] - 
      parseInt($columnHeaderRows_dbRows_headerBlock$$5_ptInnerSize$$1$$.getAttribute("_startslice")), $bAutosize$$2_emptyTextDiv$$2_pixelAdjust$$ = -$innerContainer_startPixels$$[$edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$][$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$], $containerExtraSize$$1_i$$235$$ = 0;$containerExtraSize$$1_i$$235$$ < $positionPx_sliceAdjust$$;$containerExtraSize$$1_i$$235$$++) {
        $bAutosize$$2_emptyTextDiv$$2_pixelAdjust$$ -= $layers$$1_side_slices$$4$$[$containerExtraSize$$1_i$$235$$ + 1][$div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$];
      }
      $columnHeaderRows_dbRows_headerBlock$$5_ptInnerSize$$1$$[$div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$] + $bAutosize$$2_emptyTextDiv$$2_pixelAdjust$$ < $corner$$3_header$$6_otherPane$$5$$[$clientSizeAttr_databodyExtraSize$$1_databodyRows$$] ? ($layers$$1_side_slices$$4$$ = $columnHeaderRows_dbRows_headerBlock$$5_ptInnerSize$$1$$[$div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$] < $corner$$3_header$$6_otherPane$$5$$[$clientSizeAttr_databodyExtraSize$$1_databodyRows$$] ? 
      $columnHeaders_depthAttr_sizeAttr$$4_start$$25$$ : $databodyInnerSizePx_end$$8_extentAttr_left$$23_rowHeaders$$1$$, $positionPx_sliceAdjust$$ = "0px") : ($layers$$1_side_slices$$4$$ = $columnHeaders_depthAttr_sizeAttr$$4_start$$25$$, $positionPx_sliceAdjust$$ = $bAutosize$$2_emptyTextDiv$$2_pixelAdjust$$ + "px");
      $columnHeaderRows_dbRows_headerBlock$$5_ptInnerSize$$1$$.style[$layers$$1_side_slices$$4$$] = $positionPx_sliceAdjust$$;
      for ($corner$$3_header$$6_otherPane$$5$$ = $startPane$$9$$[1 - $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$];2 > $corner$$3_header$$6_otherPane$$5$$;++$corner$$3_header$$6_otherPane$$5$$) {
        ($edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$ ? $databodyBlocks$$8$$[$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$][$corner$$3_header$$6_otherPane$$5$$] : $databodyBlocks$$8$$[$corner$$3_header$$6_otherPane$$5$$][$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$]).style[$layers$$1_side_slices$$4$$] = $positionPx_sliceAdjust$$;
      }
    }
    $frameDivs_headerExtraPixelExtent$$1_layerAdjust_length$$51$$ = $databodies$$2_startLayers$$[1 - $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$];
    $bAutosize$$2_emptyTextDiv$$2_pixelAdjust$$ = -$layerPixels_ptOuterContainer$$[1 - $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$];
    for ($emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$ = $startPane$$9$$[1 - $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$];2 > $emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$;++$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$) {
      $columnHeaderRows_dbRows_headerBlock$$5_ptInnerSize$$1$$ = $columnHeaderBlocks_headerBlocks$$[1 - $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$][$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$];
      if ($emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$ == $startPane$$9$$[1 - $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$]) {
        $corner$$3_header$$6_otherPane$$5$$ = $headers$$2$$[1 - $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$][$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$];
        $layers$$1_side_slices$$4$$ = $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$ ? $headerRows$$2$$[1 - $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$][$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$] : $headerRows$$2$$[1 - $edge$$176_leftPx_rowHeaderRows_sizing$$1_top$$17_totalHorizMargin$$1$$][$emptyTextInnerDiv$$1_headerOuterPixelDepth$$1_pane$$100_rhRows_rowHeaderBlocks$$2$$][0].childNodes;
        for ($containerExtraSize$$1_i$$235$$ = 0;$containerExtraSize$$1_i$$235$$ < $frameDivs_headerExtraPixelExtent$$1_layerAdjust_length$$51$$;$containerExtraSize$$1_i$$235$$++) {
          $bAutosize$$2_emptyTextDiv$$2_pixelAdjust$$ -= $layers$$1_side_slices$$4$$[$containerExtraSize$$1_i$$235$$ + 1][$div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$];
        }
        $columnHeaderRows_dbRows_headerBlock$$5_ptInnerSize$$1$$[$div$$3_headerInnerPixelDepth$$1_height$$30_heightPx_offsetSizeAttr_totalVertMargin$$1$$] + $bAutosize$$2_emptyTextDiv$$2_pixelAdjust$$ < $corner$$3_header$$6_otherPane$$5$$[$clientSizeAttr_databodyExtraSize$$1_databodyRows$$] ? ($layers$$1_side_slices$$4$$ = $databodyInnerSizePx_end$$8_extentAttr_left$$23_rowHeaders$$1$$, $positionPx_sliceAdjust$$ = "0px") : ($layers$$1_side_slices$$4$$ = $columnHeaders_depthAttr_sizeAttr$$4_start$$25$$, 
        $positionPx_sliceAdjust$$ = $bAutosize$$2_emptyTextDiv$$2_pixelAdjust$$ + "px");
      }
      $columnHeaderRows_dbRows_headerBlock$$5_ptInnerSize$$1$$.style[$layers$$1_side_slices$$4$$] = $positionPx_sliceAdjust$$;
    }
  }
};
function $JSCompiler_StaticMethods_updateTextAreaCellHeights$$($row$$56$$, $height$$31$$) {
  for (var $cells$$9$$ = $row$$56$$.cells, $i$$236$$ = 1;$i$$236$$ < $cells$$9$$.length;$i$$236$$++) {
    var $cell$$56$$ = $cells$$9$$[$i$$236$$], $nodes$$inline_3947_offset$$26$$ = $cell$$56$$.getElementsByTagName("TEXTAREA");
    null != (0 < $nodes$$inline_3947_offset$$26$$.length ? $nodes$$inline_3947_offset$$26$$[0] : null) && ($nodes$$inline_3947_offset$$26$$ = AdfPivotTableUtils.$CELL_EXTRA_HEIGHT$, void 0 == $height$$31$$ && ($height$$31$$ = $row$$56$$.offsetHeight), $cell$$56$$.style.height = Math.max(0, $height$$31$$ - $nodes$$inline_3947_offset$$26$$) + "px");
  }
}
;