function He(){this.Init()}m("AdfSafariTouchContextMenuManager",He);r.v(He,ua);He.vCa=500;He.prototype.Init=function(){He.h.Init.call(this)};r.a("AdfSafariTouchContextMenuManager.prototype.Init",{Init:He.prototype.Init});He.prototype.ac=function(){var a=this.Tf;a&&(A.c.ic(a),delete this.Tf);delete this.pu;delete this.hU};r.a("AdfSafariTouchContextMenuManager.prototype.dispose",{ac:He.prototype.ac});
He.prototype.Iu=function(a){var b;switch(a.getType()){case la.Hj:var d=A.c;this.Tf&&(d.ic(this.Tf),delete this.Tf,this.pu=!1);if(1==a.ns()){var e=d.Dg();this.hU=this.pu=!1;e&&e.xha()?this.Tf=d.ta(this,this.cjb,null,He.vCa):this.Tf=d.ta(this,this.bjb,a,He.vCa)}break;case la.aA:case D.ze:case D.gg:if(a=this.Tf)A.c.ic(a),delete this.Tf;this.pu=this.hU=!1;break;case la.$z:d=this.pu;e=this.hU;this.pu=this.hU=!1;this.Tf?(A.c.ic(this.Tf),delete this.Tf):d&&(e=(b=la.Iu(a))?!0:!1);e&&a.cancel();break;default:b=
null}return b};r.a("AdfSafariTouchContextMenuManager.prototype.deriveContextMenuEvent",{Iu:He.prototype.Iu});He.prototype.cjb=function(){this.pu=!0;delete this.Tf};He.prototype.bjb=function(a){this.pu=!1;delete this.Tf;if(a=la.Iu(a))this.hU=!0,a.getSource().Hg(a)};