function Wg(){this.Init()}v("AdfDhtmlPopupMenu",Wg);z.l(Wg,vg);Wg.da=function(){Wg.cNa="AFPopupMenuPopup";Wg.HL="AFPopupMenuContent"};v("AdfDhtmlPopupMenu.InitClass",Wg.da);Wg.prototype.Init=function(){Wg.f.Init.call(this);this.sD(this.RYa)};z.a("AdfDhtmlPopupMenu.prototype.Init",{Init:Wg.prototype.Init});
Wg.prototype.Rf=function(){var a=F.c,b=a.w(),d=b.createElement("div"),e=b.createElement("div"),f=b.createElement("div");H.n(e,Wg.cNa);H.n(f,Wg.HL);d.appendChild(e);this.GE()&&(b=b.createElement("div"),e.appendChild(b),a=a.u().V("af_menu.TIP_DISMISS"),b.innerHTML='\x3ca href\x3d"javascript:;" style\x3d"position:absolute;top:-999px;" onclick\x3d"AdfMenuUtils.setMenuBarAutoOpenMode(false);AdfMenuUtils.closeAllMenus(true);"\x3e'+a+"\x3c/a\x3e");e.appendChild(f);this.RYa=e;this.Aj=f;return d};
z.a("AdfDhtmlPopupMenu.prototype.CreateDomElement",{Rf:Wg.prototype.Rf});Wg.prototype.zh=r("Aj");z.a("AdfDhtmlPopupMenu.prototype.GetContentParent",{zh:Wg.prototype.zh});Wg.prototype.Kv=function(a){(!this.eo()||a)&&qg.NQ(this.kf(),this.La(),l)};z.a("AdfDhtmlPopupMenu.prototype.CreateShadow",{Kv:Wg.prototype.Kv});Wg.prototype.pz=ca();z.a("AdfDhtmlPopupMenu.prototype.DoResizeNotifyDom",{pz:Wg.prototype.pz});Wg.prototype.Xz=ca();z.a("AdfDhtmlPopupMenu.prototype.SaveScrollValues",{Xz:Wg.prototype.Xz});
Wg.prototype.PE=ca();z.a("AdfDhtmlPopupMenu.prototype.RestoreScrollValues",{PE:Wg.prototype.PE});Wg.prototype.yh=t("af|menu-tr-open-animation-duration");z.a("AdfDhtmlPopupMenu.prototype.GetAnimationDurationSkinProperty",{yh:Wg.prototype.yh});Wg.prototype.lj=t("af|menu-tr-animate");z.a("AdfDhtmlPopupMenu.prototype.GetAnimateSkinProperty",{lj:Wg.prototype.lj});Wg.prototype.hE=function(){var a=W.dla();return a?w.b.getElementById(a):n};z.a("AdfDhtmlPopupMenu.prototype.GetLaunchSourceElement",{hE:Wg.prototype.hE});
Wg.prototype.Gi=function(){var a=w.b;if(a.R().gj&&a instanceof ee)return Wg.f.Gi.call(this);if(a=this.yj)if((a=F.c.j(a))&&a instanceof AdfRichMenu){a.lg(this.yQ,this,l);var b=this.kr;b&&delete this.kr;return b?M.Ib(b):M.Ib(a)}return this.La()};z.a("AdfDhtmlPopupMenu.prototype.GetFocusContent",{Gi:Wg.prototype.Gi});Wg.prototype.rj=t(p);z.a("AdfDhtmlPopupMenu.prototype.ShouldHideOnClip",{rj:Wg.prototype.rj});
Wg.prototype.yQ=function(a){return a instanceof AdfRichCommandMenuItem||a instanceof AdfRichMenu||a instanceof AdfRichGoMenuItem?(this.kr=a,2):1};Wg.prototype.Nh=function(){this.Ov()};z.a("AdfDhtmlPopupMenu.prototype.activate",{Nh:Wg.prototype.Nh});