var $AdfDhtmlSelectBooleanCheckboxPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfDhtmlEditableValuePeer$$, "AdfDhtmlSelectBooleanCheckboxPeer");
$goog$exportSymbol$$("AdfDhtmlSelectBooleanCheckboxPeer", $AdfDhtmlSelectBooleanCheckboxPeer$$);
$AdfDhtmlSelectBooleanCheckboxPeer$$.$InitSubclass$ = function $$AdfDhtmlSelectBooleanCheckboxPeer$$$$InitSubclass$$() {
  $AdfObject$$.$ensureClassInitialization$(AdfRichSelectBooleanCheckbox);
  $AdfRichUIPeer$$.$addComponentPropertyGetters$(this, AdfUIEditableValue.SUBMITTED_VALUE, AdfRichSelectBooleanCheckbox.TEXT);
  $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$CLICK_EVENT_TYPE$);
  $AdfAgent$$.$AGENT$.$isTouchFirstDevice$() || $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$MOUSE_IN_EVENT_TYPE$);
  $AdfRichUIPeer$$.$addComponentPropertyChanges$(this, AdfRichSelectBooleanCheckbox.TEXT);
  this.$_inlineEditor$ = null;
  this.$_SELECT_BOOLEAN_VALUE_KEY$ = "_adfSbv";
  this.$_TRCB$ = "icon-style";
  this.$_TRCB_ID$ = "_adfTRC";
};
$goog$exportSymbol$$("AdfDhtmlSelectBooleanCheckboxPeer.InitSubclass", $AdfDhtmlSelectBooleanCheckboxPeer$$.$InitSubclass$);
$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$isTristateDeterminateUnchecked$ = function $$AdfDhtmlSelectBooleanCheckboxPeer$$$$$isTristateDeterminateUnchecked$$($component$$2010_id$$348_triStateNode$$) {
  $component$$2010_id$$348_triStateNode$$ = $AdfRichUIPeer$$.$createSubId$($component$$2010_id$$348_triStateNode$$.$getClientId$(), $AdfDhtmlSelectBooleanCheckboxPeer$$.$_TRCB$);
  return ($component$$2010_id$$348_triStateNode$$ = $AdfAgent$$.$AGENT$.getElementById($component$$2010_id$$348_triStateNode$$)) && !$AdfDomUtils$$.$containsCSSClassName$($component$$2010_id$$348_triStateNode$$, $AdfRichUIPeer$$.$SELECTED_STYLECLASS$) && !$AdfDomUtils$$.$containsCSSClassName$($component$$2010_id$$348_triStateNode$$, "p_AFMixed");
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectBooleanCheckboxPeer.prototype.isTristateDeterminateUnchecked", {$isTristateDeterminateUnchecked$:$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$isTristateDeterminateUnchecked$});
$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlSelectBooleanCheckboxPeer$$$$$InitDomElement$$($component$$2011$$, $domElement$$436$$) {
  $AdfDhtmlSelectBooleanCheckboxPeer$$.$superclass$.$InitDomElement$.call(this, $component$$2011$$, $domElement$$436$$);
  var $clientId$$423_domNode$$inline_3875_trcId$$ = $component$$2011$$.$getClientId$(), $clientId$$423_domNode$$inline_3875_trcId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$423_domNode$$inline_3875_trcId$$, $AdfDhtmlSelectBooleanCheckboxPeer$$.$_TRCB$);
  $domElement$$436$$.setAttribute($AdfDhtmlSelectBooleanCheckboxPeer$$.$_TRCB_ID$, $clientId$$423_domNode$$inline_3875_trcId$$);
  var $clientId$$423_domNode$$inline_3875_trcId$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$2011$$, $domElement$$436$$), $labels$$inline_3876$$ = document.querySelectorAll("label[for\x3d'" + $clientId$$423_domNode$$inline_3875_trcId$$.id + "']");
  if ($labels$$inline_3876$$ && 0 < $labels$$inline_3876$$.length) {
    for (var $labelledById$$inline_3877$$ = "", $labelId$$inline_3878$$, $i$$inline_3879$$ = 0;$i$$inline_3879$$ < $labels$$inline_3876$$.length;$i$$inline_3879$$++) {
      $labelId$$inline_3878$$ = $domElement$$436$$.id + "::Label" + $i$$inline_3879$$, $labels$$inline_3876$$[$i$$inline_3879$$].setAttribute("id", $labelId$$inline_3878$$), $labelledById$$inline_3877$$ += " " + $labelId$$inline_3878$$;
    }
    $labelledById$$inline_3877$$ = $labelledById$$inline_3877$$.substring(1, $labelledById$$inline_3877$$.length);
    $clientId$$423_domNode$$inline_3875_trcId$$.setAttribute("aria-labelledby", $labelledById$$inline_3877$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectBooleanCheckboxPeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$InitDomElement$});
$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$HandleComponentMouseOver$ = function $$AdfDhtmlSelectBooleanCheckboxPeer$$$$$HandleComponentMouseOver$$($componentEvent$$438$$) {
  this.$ShowNoteWindowMouseOver$($componentEvent$$438$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectBooleanCheckboxPeer.prototype.HandleComponentMouseOver", {$HandleComponentMouseOver$:$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$HandleComponentMouseOver$});
$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$HandleComponentClick$ = function $$AdfDhtmlSelectBooleanCheckboxPeer$$$$$HandleComponentClick$$($componentEvent$$439_targetNode$$47$$) {
  $AdfDhtmlSelectBooleanCheckboxPeer$$.$superclass$.$HandleComponentClick$.call(this, $componentEvent$$439_targetNode$$47$$);
  var $component$$2012$$ = this.$getComponent$();
  $componentEvent$$439_targetNode$$47$$ = $componentEvent$$439_targetNode$$47$$.$getNativeEventTarget$();
  var $domNode$$87_rootDomElement$$19$$ = this.$getDomElement$(), $domNode$$87_rootDomElement$$19$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$2012$$, $domNode$$87_rootDomElement$$19$$), $id$$349_triStateNode$$1$$ = $AdfRichUIPeer$$.$createSubId$($component$$2012$$.$getClientId$(), $AdfDhtmlSelectBooleanCheckboxPeer$$.$_TRCB$);
  if ($domNode$$87_rootDomElement$$19$$ == $componentEvent$$439_targetNode$$47$$) {
    if ($id$$349_triStateNode$$1$$ = $AdfAgent$$.$AGENT$.getElementById($id$$349_triStateNode$$1$$)) {
      $domNode$$87_rootDomElement$$19$$.checked ? $AdfDomUtils$$.$addCSSClassName$($id$$349_triStateNode$$1$$, $AdfRichUIPeer$$.$SELECTED_STYLECLASS$) : $AdfDomUtils$$.$removeCSSClassName$($id$$349_triStateNode$$1$$, $AdfRichUIPeer$$.$SELECTED_STYLECLASS$), $AdfDomUtils$$.$removeCSSClassName$($id$$349_triStateNode$$1$$, "p_AFMixed");
    }
  } else {
    $domNode$$87_rootDomElement$$19$$ && $id$$349_triStateNode$$1$$ == $componentEvent$$439_targetNode$$47$$.id && ($domNode$$87_rootDomElement$$19$$.checked ? ($domNode$$87_rootDomElement$$19$$.checked = !1, $AdfDomUtils$$.$removeCSSClassName$($componentEvent$$439_targetNode$$47$$, "p_AFSelected")) : ($domNode$$87_rootDomElement$$19$$.checked = !0, $AdfDomUtils$$.$addCSSClassName$($componentEvent$$439_targetNode$$47$$, "p_AFSelected")), $AdfDomUtils$$.$removeCSSClassName$($componentEvent$$439_targetNode$$47$$, 
    "p_AFMixed"), $componentEvent$$439_targetNode$$47$$ = $domNode$$87_rootDomElement$$19$$);
  }
  "INPUT" == $AdfAgent$$.$AGENT$.$getNodeName$($componentEvent$$439_targetNode$$47$$) && ($componentEvent$$439_targetNode$$47$$ && $componentEvent$$439_targetNode$$47$$.checked ? this.$Validate$($component$$2012$$, !0) : this.$Validate$($component$$2012$$, !1));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectBooleanCheckboxPeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$GetSubmittedValue$ = function $$AdfDhtmlSelectBooleanCheckboxPeer$$$$$GetSubmittedValue$$($component$$2013$$, $domElement$$437$$) {
  var $domNode$$88$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$2013$$, $domElement$$437$$);
  return $component$$2013$$.getReadOnly() ? $AdfAgent$$.$AGENT$.getAttribute($domNode$$88$$, $AdfDhtmlSelectBooleanCheckboxPeer$$.$_SELECT_BOOLEAN_VALUE_KEY$) : null != $domNode$$88$$ && $domNode$$88$$.checked ? !0 : !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectBooleanCheckboxPeer.prototype.GetSubmittedValue", {$GetSubmittedValue$:$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$GetSubmittedValue$});
$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$SetDisplayValue$ = function $$AdfDhtmlSelectBooleanCheckboxPeer$$$$$SetDisplayValue$$($component$$2014_trcElement$$, $domElement$$438_domNode$$89$$, $newValue$$138_text$$40$$) {
  $domElement$$438_domNode$$89$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$2014_trcElement$$, $domElement$$438_domNode$$89$$);
  null != $domElement$$438_domNode$$89$$ && ($component$$2014_trcElement$$.getReadOnly() ? "true" == $newValue$$138_text$$40$$ || 1 == $newValue$$138_text$$40$$ ? ($newValue$$138_text$$40$$ = $component$$2014_trcElement$$.getText(), $AdfAgent$$.$AGENT$.$setTextContent$($domElement$$438_domNode$$89$$, $newValue$$138_text$$40$$)) : $AdfAgent$$.$AGENT$.$setTextContent$($domElement$$438_domNode$$89$$, "") : ($component$$2014_trcElement$$ = $AdfAgent$$.$AGENT$.getElementById($domElement$$438_domNode$$89$$.getAttribute($AdfDhtmlSelectBooleanCheckboxPeer$$.$_TRCB_ID$)), 
  "true" == $newValue$$138_text$$40$$ || 1 == $newValue$$138_text$$40$$ ? ($domElement$$438_domNode$$89$$.checked = !0, $component$$2014_trcElement$$ && ($AdfDomUtils$$.$addCSSClassName$($component$$2014_trcElement$$, "p_AFSelected"), $AdfDomUtils$$.$removeCSSClassName$($component$$2014_trcElement$$, "p_AFMixed"))) : ($domElement$$438_domNode$$89$$.checked = !1, $component$$2014_trcElement$$ && ($AdfDomUtils$$.$removeCSSClassName$($component$$2014_trcElement$$, "p_AFSelected"), $AdfDomUtils$$.$removeCSSClassName$($component$$2014_trcElement$$, 
  "p_AFMixed")))));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectBooleanCheckboxPeer.prototype.SetDisplayValue", {$SetDisplayValue$:$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$SetDisplayValue$});
$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$GetInlineEditor$ = function $$AdfDhtmlSelectBooleanCheckboxPeer$$$$$GetInlineEditor$$() {
  var $inlineEditor$$8$$ = $AdfDhtmlSelectBooleanCheckboxPeer$$.$_inlineEditor$;
  null == $inlineEditor$$8$$ && ($inlineEditor$$8$$ = new $AdfDhtmlSelectBooleanTextEditor$$, $AdfDhtmlSelectBooleanCheckboxPeer$$.$_inlineEditor$ = $inlineEditor$$8$$);
  return $inlineEditor$$8$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectBooleanCheckboxPeer.prototype.GetInlineEditor", {$GetInlineEditor$:$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$GetInlineEditor$});
$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$GetComponentText$ = function $$AdfDhtmlSelectBooleanCheckboxPeer$$$$$GetComponentText$$($component$$2015$$, $domElement$$439$$) {
  var $itemTextElement$$ = $AdfDhtmlSelectBooleanCheckboxPeer$$.$__getLabelTextElement$($domElement$$439$$, this.$GetItemTextStyleClass$());
  return null != $itemTextElement$$ ? $AdfAgent$$.$AGENT$.$getTextContent$($itemTextElement$$) : 1 == $component$$2015$$.getReadOnly() ? this.$GetReadOnlyComponentText$($component$$2015$$) : null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectBooleanCheckboxPeer.prototype.GetComponentText", {$GetComponentText$:$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$GetComponentText$});
$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$ComponentTextChanged$ = function $$AdfDhtmlSelectBooleanCheckboxPeer$$$$$ComponentTextChanged$$($component$$2016$$, $domElement$$440_labelElement$$7$$, $newValue$$139$$) {
  $domElement$$440_labelElement$$7$$ = $AdfDhtmlSelectBooleanCheckboxPeer$$.$__getLabelTextElement$($domElement$$440_labelElement$$7$$, this.$GetItemTextStyleClass$());
  return null != $domElement$$440_labelElement$$7$$ ? $AdfDomUtils$$.$handleTextChangeWithAccessKey$($component$$2016$$, $domElement$$440_labelElement$$7$$, $newValue$$139$$) : !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectBooleanCheckboxPeer.prototype.ComponentTextChanged", {$ComponentTextChanged$:$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$ComponentTextChanged$});
$AdfDhtmlSelectBooleanCheckboxPeer$$.$__getInlineEditableTextElement$ = function $$AdfDhtmlSelectBooleanCheckboxPeer$$$$__getInlineEditableTextElement$$($domElement$$441$$) {
  var $txtelm$$ = $AdfDhtmlSelectBooleanCheckboxPeer$$.$__getLabelTextElement$($domElement$$441$$, "af|selectBooleanCheckbox::item-text");
  null == $txtelm$$ && ($txtelm$$ = $AdfDhtmlSelectBooleanCheckboxPeer$$.$__getLabelTextElement$($domElement$$441$$, "af|selectBooleanRadio::item-text"));
  return $txtelm$$;
};
$AdfDhtmlSelectBooleanCheckboxPeer$$.$__getLabelTextElement$ = function $$AdfDhtmlSelectBooleanCheckboxPeer$$$$__getLabelTextElement$$($domElement$$442$$, $cssClass$$1$$) {
  for (var $actualCssClass$$1$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$().getStyleClass($cssClass$$1$$), $labelElements$$5$$ = $domElement$$442$$.getElementsByTagName("LABEL"), $length$$79$$ = $labelElements$$5$$.length, $i$$527$$ = 0;$i$$527$$ < $length$$79$$;$i$$527$$++) {
    var $labelElement$$8$$ = $labelElements$$5$$[$i$$527$$];
    if (null != $labelElement$$8$$ && $AdfDomUtils$$.$containsCSSClassName$($labelElement$$8$$, $actualCssClass$$1$$)) {
      return $labelElement$$8$$;
    }
  }
  return null;
};
$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$GetReadOnlyComponentText$ = function $$AdfDhtmlSelectBooleanCheckboxPeer$$$$$GetReadOnlyComponentText$$($component$$2017_node$$103$$) {
  $component$$2017_node$$103$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$2017_node$$103$$);
  return $AdfAgent$$.$AGENT$.$getTextContent$($component$$2017_node$$103$$).substring(1);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectBooleanCheckboxPeer.prototype.GetReadOnlyComponentText", {$GetReadOnlyComponentText$:$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$GetReadOnlyComponentText$});
$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$NeedsSpuriousDirtyValueTracking$ = function $$AdfDhtmlSelectBooleanCheckboxPeer$$$$$NeedsSpuriousDirtyValueTracking$$() {
  return !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectBooleanCheckboxPeer.prototype.NeedsSpuriousDirtyValueTracking", {$NeedsSpuriousDirtyValueTracking$:$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$NeedsSpuriousDirtyValueTracking$});
$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$GetItemTextStyleClass$ = function $$AdfDhtmlSelectBooleanCheckboxPeer$$$$$GetItemTextStyleClass$$() {
  return "af|selectBooleanCheckbox::item-text";
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectBooleanCheckboxPeer.prototype.GetItemTextStyleClass", {$GetItemTextStyleClass$:$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$GetItemTextStyleClass$});
$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$GetLabelTextStyleClass$ = function $$AdfDhtmlSelectBooleanCheckboxPeer$$$$$GetLabelTextStyleClass$$() {
  return "af|selectBooleanCheckbox::label-text";
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectBooleanCheckboxPeer.prototype.GetLabelTextStyleClass", {$GetLabelTextStyleClass$:$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$GetLabelTextStyleClass$});
$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$getLastSubmittedValue$ = function $$AdfDhtmlSelectBooleanCheckboxPeer$$$$$getLastSubmittedValue$$($component$$2018_lastValue$$10$$) {
  return ($component$$2018_lastValue$$10$$ = $AdfDhtmlSelectBooleanCheckboxPeer$$.$superclass$.$getLastSubmittedValue$.call(this, $component$$2018_lastValue$$10$$)) ? "t" == $component$$2018_lastValue$$10$$ ? !0 : $component$$2018_lastValue$$10$$ : !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectBooleanCheckboxPeer.prototype.getLastSubmittedValue", {$getLastSubmittedValue$:$AdfDhtmlSelectBooleanCheckboxPeer$$.prototype.$getLastSubmittedValue$});
