var OA={};v("AdfMenuSubIdUtils",OA);OA.j0=function(a,b,d){B.Wa(d);if(W.cv(a)){if("bar-item-text"==d||"text"==d)return OA.nva(b);if("bar-item-icon"==d)return OA.mva(b)}else if(W.Bi(a)){if("submenu-text"==d||"text"==d)return OA.Ava(b);if("submenu-icon"==d)return OA.zva(b)}return n};v("AdfMenuSubIdUtils.getMenuItemElement",OA.j0);
OA.i0=function(a,b,d){if(W.cv(a)){a=OA.nva(b);if(a!=n&&a==d)return"bar-item-text";b=OA.mva(b);if(b!=n&&b==d)return"bar-item-icon"}else if(W.Bi(a)){a=OA.Ava(b);if(a!=n&&a==d)return"submenu-text";b=OA.zva(b);if(b!=n&&b==d)return"submenu-icon"}};v("AdfMenuSubIdUtils.getMenuItemBestMatchSubId",OA.i0);OA.nva=function(a){return H.qc(a,"A",0)};OA.Ava=function(a){return H.qc(a,"TD",1)};OA.mva=function(a){a=H.qc(a,"TD",0);return H.qc(a,"IMG",0)};OA.zva=function(a){a=H.qc(a,"TD",0);return H.qc(a,"IMG",0)};