$AdfDhtmlDocumentPeer$$.prototype.$GetSubIdDomElement$ = function $$AdfDhtmlDocumentPeer$$$$$GetSubIdDomElement$$($peer$$217_subElementIdLocator$$3$$) {
  $AdfAssert$$.$assertNonEmptyString$($peer$$217_subElementIdLocator$$3$$);
  var $nestedSubelementClientId_subElementId$$21$$ = $peer$$217_subElementIdLocator$$3$$, $dialogId$$13_popupUtilContainer$$1_subIdElement$$1$$ = null, $messageDialogId$$1_nestedSubElementId$$1_popupId$$81$$, $agent$$807_dialogServiceContainer_startIndex$$24_subComponent$$2$$ = $peer$$217_subElementIdLocator$$3$$.indexOf("#");
  -1 < $agent$$807_dialogServiceContainer_startIndex$$24_subComponent$$2$$ && ($nestedSubelementClientId_subElementId$$21$$ = $peer$$217_subElementIdLocator$$3$$.substring(0, $agent$$807_dialogServiceContainer_startIndex$$24_subComponent$$2$$), $AdfAssert$$.$assertNonEmptyString$($nestedSubelementClientId_subElementId$$21$$), $messageDialogId$$1_nestedSubElementId$$1_popupId$$81$$ = $peer$$217_subElementIdLocator$$3$$.substring($agent$$807_dialogServiceContainer_startIndex$$24_subComponent$$2$$ + 
  1));
  $agent$$807_dialogServiceContainer_startIndex$$24_subComponent$$2$$ = $AdfAgent$$.$AGENT$;
  if ("page.alertConfirmPopup" == $nestedSubelementClientId_subElementId$$21$$) {
    return $dialogId$$13_popupUtilContainer$$1_subIdElement$$1$$ = $agent$$807_dialogServiceContainer_startIndex$$24_subComponent$$2$$.getElementById($AdfDhtmlDocumentPeer$$.$_ALERT_CONFIRM_DIALOG_CONTAINER_ID$), $messageDialogId$$1_nestedSubElementId$$1_popupId$$81$$ = $dialogId$$13_popupUtilContainer$$1_subIdElement$$1$$.getAttribute($AdfDhtmlDocumentPeer$$.$_ALERT_CONFIRM_POPUP_ID_EXPANDO$), $agent$$807_dialogServiceContainer_startIndex$$24_subComponent$$2$$.getElementById($messageDialogId$$1_nestedSubElementId$$1_popupId$$81$$)
    ;
  }
  if ("page.alertConfirmDialog" == $nestedSubelementClientId_subElementId$$21$$) {
    return $dialogId$$13_popupUtilContainer$$1_subIdElement$$1$$ = $agent$$807_dialogServiceContainer_startIndex$$24_subComponent$$2$$.getElementById($AdfDhtmlDocumentPeer$$.$_ALERT_CONFIRM_DIALOG_CONTAINER_ID$), $dialogId$$13_popupUtilContainer$$1_subIdElement$$1$$ = $dialogId$$13_popupUtilContainer$$1_subIdElement$$1$$.getAttribute($AdfDhtmlDocumentPeer$$.$_ALERT_CONFIRM_DIALOG_ID_EXPANDO$), $dialogId$$13_popupUtilContainer$$1_subIdElement$$1$$ = $agent$$807_dialogServiceContainer_startIndex$$24_subComponent$$2$$.getElementById($dialogId$$13_popupUtilContainer$$1_subIdElement$$1$$), 
    $messageDialogId$$1_nestedSubElementId$$1_popupId$$81$$ && $dialogId$$13_popupUtilContainer$$1_subIdElement$$1$$ && ($nestedSubelementClientId_subElementId$$21$$ = $dialogId$$13_popupUtilContainer$$1_subIdElement$$1$$.id) && (($agent$$807_dialogServiceContainer_startIndex$$24_subComponent$$2$$ = $AdfPage$$.$PAGE$.$findComponent$($nestedSubelementClientId_subElementId$$21$$)) ? ($peer$$217_subElementIdLocator$$3$$ = $agent$$807_dialogServiceContainer_startIndex$$24_subComponent$$2$$.$getPeer$(), 
    $dialogId$$13_popupUtilContainer$$1_subIdElement$$1$$ = $peer$$217_subElementIdLocator$$3$$.$getSubIdDomElement$($agent$$807_dialogServiceContainer_startIndex$$24_subComponent$$2$$, $messageDialogId$$1_nestedSubElementId$$1_popupId$$81$$)) : $AdfLogger$$.$LOGGER$.warning("component: ", $nestedSubelementClientId_subElementId$$21$$, " doesn't exist for this subid:", $peer$$217_subElementIdLocator$$3$$)), $dialogId$$13_popupUtilContainer$$1_subIdElement$$1$$;
  }
  if ("page.dialogService" == $nestedSubelementClientId_subElementId$$21$$) {
    return ($agent$$807_dialogServiceContainer_startIndex$$24_subComponent$$2$$ = $AdfPage$$.$PAGE$.$findComponent$("afr::DlgSrvPopupCtnr")) && $messageDialogId$$1_nestedSubElementId$$1_popupId$$81$$ && ($peer$$217_subElementIdLocator$$3$$ = $agent$$807_dialogServiceContainer_startIndex$$24_subComponent$$2$$.$getPeer$(), $dialogId$$13_popupUtilContainer$$1_subIdElement$$1$$ = $peer$$217_subElementIdLocator$$3$$.$getSubIdDomElement$($agent$$807_dialogServiceContainer_startIndex$$24_subComponent$$2$$, 
    $messageDialogId$$1_nestedSubElementId$$1_popupId$$81$$)), $dialogId$$13_popupUtilContainer$$1_subIdElement$$1$$;
  }
  if ("page.messageDialog" == $nestedSubelementClientId_subElementId$$21$$) {
    return $messageDialogId$$1_nestedSubElementId$$1_popupId$$81$$ = this.$getMessageDialogId$(), $agent$$807_dialogServiceContainer_startIndex$$24_subComponent$$2$$.getElementById($messageDialogId$$1_nestedSubElementId$$1_popupId$$81$$);
  }
  $AdfLogger$$.$LOGGER$.warning("Sub Id doesn't exist for this component:", $peer$$217_subElementIdLocator$$3$$);
  return null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlDocumentPeer.prototype.GetSubIdDomElement", {$GetSubIdDomElement$:$AdfDhtmlDocumentPeer$$.prototype.$GetSubIdDomElement$});
$AdfDhtmlDocumentPeer$$.prototype.$GetBestMatchSubId$ = function $$AdfDhtmlDocumentPeer$$$$$GetBestMatchSubId$$($domElement$$641$$) {
  var $agent$$808_nestedSubElementId$$2_subComponent$$3_subIdElement$$2$$ = $AdfAgent$$.$AGENT$, $dialogId$$14_peer$$218_popupUtilContainer$$2$$;
  if ($dialogId$$14_peer$$218_popupUtilContainer$$2$$ = $agent$$808_nestedSubElementId$$2_subComponent$$3_subIdElement$$2$$.getElementById($AdfDhtmlDocumentPeer$$.$_ALERT_CONFIRM_DIALOG_CONTAINER_ID$)) {
    if ($domElement$$641$$.id && $domElement$$641$$.id == $dialogId$$14_peer$$218_popupUtilContainer$$2$$.getAttribute($AdfDhtmlDocumentPeer$$.$_ALERT_CONFIRM_POPUP_ID_EXPANDO$)) {
      return "page.alertConfirmPopup";
    }
    $dialogId$$14_peer$$218_popupUtilContainer$$2$$ = $dialogId$$14_peer$$218_popupUtilContainer$$2$$.getAttribute($AdfDhtmlDocumentPeer$$.$_ALERT_CONFIRM_DIALOG_ID_EXPANDO$);
    if ($agent$$808_nestedSubElementId$$2_subComponent$$3_subIdElement$$2$$ = $agent$$808_nestedSubElementId$$2_subComponent$$3_subIdElement$$2$$.getElementById($dialogId$$14_peer$$218_popupUtilContainer$$2$$)) {
      if ($domElement$$641$$.id && $domElement$$641$$.id == $agent$$808_nestedSubElementId$$2_subComponent$$3_subIdElement$$2$$.id) {
        return "page.alertConfirmDialog";
      }
      if ($agent$$808_nestedSubElementId$$2_subComponent$$3_subIdElement$$2$$ = $AdfPage$$.$PAGE$.$findComponent$($agent$$808_nestedSubElementId$$2_subComponent$$3_subIdElement$$2$$.id)) {
        if ($dialogId$$14_peer$$218_popupUtilContainer$$2$$ = $agent$$808_nestedSubElementId$$2_subComponent$$3_subIdElement$$2$$.$getPeer$(), $dialogId$$14_peer$$218_popupUtilContainer$$2$$.bind($agent$$808_nestedSubElementId$$2_subComponent$$3_subIdElement$$2$$), $agent$$808_nestedSubElementId$$2_subComponent$$3_subIdElement$$2$$ = $dialogId$$14_peer$$218_popupUtilContainer$$2$$.$GetBestMatchSubId$($domElement$$641$$)) {
          return "page.alertConfirmDialog#" + $agent$$808_nestedSubElementId$$2_subComponent$$3_subIdElement$$2$$;
        }
      }
    }
  }
  return $domElement$$641$$.id && $domElement$$641$$.id == this.$getMessageDialogId$() ? "page.messageDialog" : null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlDocumentPeer.prototype.GetBestMatchSubId", {$GetBestMatchSubId$:$AdfDhtmlDocumentPeer$$.prototype.$GetBestMatchSubId$});
