function $AdfRichTextEditorBehaviorManager$$() {
  this.Init();
  this.$_queuedBindings$ = [];
  this.$_registeredComponents$ = []
}
$goog$exportSymbol$$("AdfRichTextEditorBehaviorManager", $AdfRichTextEditorBehaviorManager$$);
$AdfObject$$.$createSubclass$($AdfRichTextEditorBehaviorManager$$);
$AdfRichTextEditorBehaviorManager$$.$getInstance$ = function $$AdfRichTextEditorBehaviorManager$$$$getInstance$$() {
  $AdfRichTextEditorBehaviorManager$$.$_INSTANCE$ == $JSCompiler_alias_VOID$$ && ($AdfRichTextEditorBehaviorManager$$.$_INSTANCE$ = new $AdfRichTextEditorBehaviorManager$$);
  return $AdfRichTextEditorBehaviorManager$$.$_INSTANCE$
};
$goog$exportSymbol$$("AdfRichTextEditorBehaviorManager.getInstance", $AdfRichTextEditorBehaviorManager$$.$getInstance$);
$AdfRichTextEditorBehaviorManager$$.prototype.$addBinding$ = function $$AdfRichTextEditorBehaviorManager$$$$$addBinding$$($componentClientId$$2$$, $boundComponentId$$, $behaviorComponent$$6$$, $command$$8$$, $commandParameter$$, $propertyName$$38$$, $eventType$$35$$) {
  for(var $length$$26_richTextEditorComponent$$ = this.$_queuedBindings$.length, $i$$97$$ = 0;$i$$97$$ < $length$$26_richTextEditorComponent$$;$i$$97$$++) {
    var $observerObj$$ = this.$_queuedBindings$[$i$$97$$];
    if($observerObj$$.$componentId$ == $componentClientId$$2$$ && $observerObj$$.$boundComponentId$ == $boundComponentId$$ && $observerObj$$.$command$ == $command$$8$$) {
      return $observerObj$$.$commandParameter$ = $commandParameter$$, $JSCompiler_alias_FALSE$$
    }
  }
  $length$$26_richTextEditorComponent$$ = $AdfPage$$.$PAGE$.$findComponent$($componentClientId$$2$$);
  if($length$$26_richTextEditorComponent$$ != $JSCompiler_alias_NULL$$ && 0 <= $AdfCollections$$.indexOf(this.$_registeredComponents$, $componentClientId$$2$$)) {
    return $length$$26_richTextEditorComponent$$.$getPeer$().$addBinding$($boundComponentId$$, $behaviorComponent$$6$$, $command$$8$$, $commandParameter$$, $propertyName$$38$$, $eventType$$35$$), $JSCompiler_alias_TRUE$$
  }
  this.$_queuedBindings$.push({$componentId$:$componentClientId$$2$$, $boundComponentId$:$boundComponentId$$, $command$:$command$$8$$, $commandParameter$:$commandParameter$$, propertyName:$propertyName$$38$$, $eventType$:$eventType$$35$$});
  return $JSCompiler_alias_FALSE$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfRichTextEditorBehaviorManager.prototype.addBinding", {$addBinding$:$AdfRichTextEditorBehaviorManager$$.prototype.$addBinding$});
$AdfRichTextEditorBehaviorManager$$.prototype.$registerComponent$ = function $$AdfRichTextEditorBehaviorManager$$$$$registerComponent$$($component$$249_peer$$44$$) {
  $AdfAssert$$.$assertPrototype$($component$$249_peer$$44$$, AdfRichTextEditor);
  var $componentId$$11$$ = $component$$249_peer$$44$$.$getClientId$();
  $component$$249_peer$$44$$ = $component$$249_peer$$44$$.$getPeer$();
  this.$_registeredComponents$.push($componentId$$11$$);
  for(var $bindings$$ = this.$_queuedBindings$, $newBindings$$ = [], $length$$27$$ = $bindings$$.length, $i$$98$$ = 0;$i$$98$$ < $length$$27$$;$i$$98$$++) {
    var $binding$$ = $bindings$$[$i$$98$$], $behaviorComponent$$7$$ = $AdfPage$$.$PAGE$.$findComponent$($binding$$.$boundComponentId$), $richTextEditor$$ = $AdfPage$$.$PAGE$.$findComponent$($binding$$.$componentId$), $realRichTextEditorId$$ = $JSCompiler_alias_NULL$$;
    $richTextEditor$$ != $JSCompiler_alias_NULL$$ && ($realRichTextEditorId$$ = $richTextEditor$$.$getClientId$());
    $realRichTextEditorId$$ == $componentId$$11$$ ? $component$$249_peer$$44$$.$addBinding$($binding$$.$boundComponentId$, $behaviorComponent$$7$$, $binding$$.$command$, $binding$$.$commandParameter$, $binding$$.propertyName, $binding$$.$eventType$) : $newBindings$$.push($binding$$)
  }
  this.$_queuedBindings$ = $newBindings$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfRichTextEditorBehaviorManager.prototype.registerComponent", {$registerComponent$:$AdfRichTextEditorBehaviorManager$$.prototype.$registerComponent$});
$AdfRichTextEditorBehaviorManager$$.prototype.$unregisterComponent$ = function $$AdfRichTextEditorBehaviorManager$$$$$unregisterComponent$$($component$$250$$) {
  $AdfAssert$$.$assertPrototype$($component$$250$$, AdfRichTextEditor);
  $AdfCollections$$.$removeValue$(this.$_registeredComponents$, $component$$250$$.$getClientId$())
};
$AdfObject$$.$exportPrototypeSymbol$("AdfRichTextEditorBehaviorManager.prototype.unregisterComponent", {$unregisterComponent$:$AdfRichTextEditorBehaviorManager$$.prototype.$unregisterComponent$});
$AdfRichTextEditorBehaviorManager$$.prototype.$isComponentIdRegistered$ = function $$AdfRichTextEditorBehaviorManager$$$$$isComponentIdRegistered$$($componentId$$12$$) {
  return 0 <= $AdfCollections$$.indexOf(this.$_registeredComponents$, $componentId$$12$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfRichTextEditorBehaviorManager.prototype.isComponentIdRegistered", {$isComponentIdRegistered$:$AdfRichTextEditorBehaviorManager$$.prototype.$isComponentIdRegistered$});
