$AdfDhtmlTrainV2Peer$$.prototype.$GetSubIdDomElement$ = function $$AdfDhtmlTrainV2Peer$$$$$GetSubIdDomElement$$($locator$$26_stopIndex$$3$$) {
  $AdfAssert$$.$assertNonEmptyString$($locator$$26_stopIndex$$3$$);
  var $component$$2475_stamp$$2$$ = this.$getComponent$(), $subElementId$$71_trainStopPeer$$2$$ = $locator$$26_stopIndex$$3$$, $nestedSubElementId$$8$$, $startIndex$$31$$ = $locator$$26_stopIndex$$3$$.lastIndexOf("#");
  -1 < $startIndex$$31$$ && ($subElementId$$71_trainStopPeer$$2$$ = $locator$$26_stopIndex$$3$$.substring(0, $startIndex$$31$$), $AdfAssert$$.$assertNonEmptyString$($subElementId$$71_trainStopPeer$$2$$), $nestedSubElementId$$8$$ = $locator$$26_stopIndex$$3$$.substring($startIndex$$31$$ + 1));
  var $clientId$$535$$;
  if ($subElementId$$71_trainStopPeer$$2$$ && (-1 != $subElementId$$71_trainStopPeer$$2$$.indexOf("stop[") || -1 != $subElementId$$71_trainStopPeer$$2$$.indexOf($AdfDhtmlTrainV2Peer$$.$_NODE_STAMP_ID$)) && ($locator$$26_stopIndex$$3$$ = $subElementId$$71_trainStopPeer$$2$$.substring($subElementId$$71_trainStopPeer$$2$$.indexOf("[") + 1, $subElementId$$71_trainStopPeer$$2$$.indexOf("]")), $clientId$$535$$ = $component$$2475_stamp$$2$$.$getClientId$() + ":" + $locator$$26_stopIndex$$3$$ + ":" + $AdfDhtmlTrainV2Peer$$.$_NODE_STAMP_ID$, 
  !$nestedSubElementId$$8$$)) {
    return $AdfAgent$$.$AGENT$.getElementById($clientId$$535$$);
  }
  if ($nestedSubElementId$$8$$ && ($component$$2475_stamp$$2$$ = $AdfPage$$.$PAGE$.$findComponent$($clientId$$535$$))) {
    return $subElementId$$71_trainStopPeer$$2$$ = $component$$2475_stamp$$2$$.$getPeer$(), $subElementId$$71_trainStopPeer$$2$$.bind($component$$2475_stamp$$2$$), $subElementId$$71_trainStopPeer$$2$$.$GetSubIdDomElement$($nestedSubElementId$$8$$);
  }
  $AdfLogger$$.$LOGGER$.warning("Sub Id doesn't exist for this component:", $subElementId$$71_trainStopPeer$$2$$);
  return null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTrainV2Peer.prototype.GetSubIdDomElement", {$GetSubIdDomElement$:$AdfDhtmlTrainV2Peer$$.prototype.$GetSubIdDomElement$});
$AdfDhtmlTrainV2Peer$$.prototype.$GetBestMatchSubId$ = function $$AdfDhtmlTrainV2Peer$$$$$GetBestMatchSubId$$($domElement$$702$$) {
  var $singleColonLastIndex$$1_stamp$$3$$, $clientId$$536_stopIndex$$4$$ = $domElement$$702$$.id;
  if ($clientId$$536_stopIndex$$4$$ && -1 != $clientId$$536_stopIndex$$4$$.indexOf($AdfDhtmlTrainV2Peer$$.$_NODE_STAMP_ID$)) {
    return $singleColonLastIndex$$1_stamp$$3$$ = $clientId$$536_stopIndex$$4$$.lastIndexOf(":"), $clientId$$536_stopIndex$$4$$ = $clientId$$536_stopIndex$$4$$.substring($singleColonLastIndex$$1_stamp$$3$$ - 1, $singleColonLastIndex$$1_stamp$$3$$), "stop[" + $clientId$$536_stopIndex$$4$$ + "]";
  }
  for (var $element$$401_trainStopPeer$$3$$ = $domElement$$702$$;$element$$401_trainStopPeer$$3$$;$element$$401_trainStopPeer$$3$$ = $element$$401_trainStopPeer$$3$$.parentNode) {
    if (($clientId$$536_stopIndex$$4$$ = $element$$401_trainStopPeer$$3$$.id) && -1 != $clientId$$536_stopIndex$$4$$.indexOf($AdfDhtmlTrainV2Peer$$.$_NODE_STAMP_ID$)) {
      $singleColonLastIndex$$1_stamp$$3$$ = $AdfPage$$.$PAGE$.$findComponent$($clientId$$536_stopIndex$$4$$);
      break;
    }
  }
  return $singleColonLastIndex$$1_stamp$$3$$ ? ($element$$401_trainStopPeer$$3$$ = $singleColonLastIndex$$1_stamp$$3$$.$getPeer$(), $element$$401_trainStopPeer$$3$$.bind($singleColonLastIndex$$1_stamp$$3$$), $singleColonLastIndex$$1_stamp$$3$$ = $clientId$$536_stopIndex$$4$$.lastIndexOf(":"), $clientId$$536_stopIndex$$4$$ = $clientId$$536_stopIndex$$4$$.substring($singleColonLastIndex$$1_stamp$$3$$ - 1, $singleColonLastIndex$$1_stamp$$3$$), "stop[" + $clientId$$536_stopIndex$$4$$ + "]#" + $element$$401_trainStopPeer$$3$$.$GetBestMatchSubId$($domElement$$702$$)) : 
  null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTrainV2Peer.prototype.GetBestMatchSubId", {$GetBestMatchSubId$:$AdfDhtmlTrainV2Peer$$.prototype.$GetBestMatchSubId$});
$AdfDhtmlTrainV2Peer$$.$_NODE_STAMP_ID$ = "_afrStopNavItem";
