var A_d={VD:"noteWindow",kA:"alignElement",Hl:"autodismiss",qA:"autodismissNever",oA:"autodismissMouseOut",pA:"autodismissMouseOut",aC:"focus",Xi:"mousePosition",TYPE:"type",Au:"menu",Nt:"autodismissMenu",Wm:function(a,b){if(a){if(b===a)return 0;var c=b.length,d=a.length,e=a.indexOf(b);if(0<=e){var f=0==e||" "==a.charAt(e-1),g=e+c,g=g==d||" "==a.charAt(g);if(f&&g)return e;var h=a.lastIndexOf(b);if(h!=e)return f=a.charAt(h-1),g=h+c,g=g==d||" "==a.charAt(g),f&&g?h:a.indexOf(" "+b+" ")}}return-1},ya:function(a,
b){AdfAssert.assertDomElement(a);var c=!1;if(null!=b){AdfAssert.assertString(b);var d=a.className;-1==A_d.Wm(d,b)&&(a.className=d?b+" "+d:b,c=!0)}return c},X:function(a,b){AdfAssert.assertDomElement(a);var c=!1;if(null!=b){var d=a.className,e=A_d.Wm(d,b);-1!=e&&(c=e+b.length,e=0==e?null:d.substring(0,e),d=c==d.length?null:d.substring(c+1),a.className=null==e?null==d?"":d:null==d?e:e+d,c=!0)}return c},ta:function(a,b){return null!=b?-1!=A_d.Wm(a.className,b):!1},Zk:function(a,b,c){AdfAssert.assertNonEmptyString(b);
AdfAssert.assert(a);a=c?a.getClientId()+":"+b:AdfRichUIPeer.CreateSubId(a.getClientId(),b);return(a=AdfAgent.getAgent().getElementById(a))?a:null},ps:function(a,b){AdfAssert.assertPrototype(a,AdfBaseEvent);if(b)if(AdfCollections.isArray(b))for(var c=b.length,d=0;d<c;d++){var e=b[d],f;"function"!=typeof e&&(f=e,d++,e=b[d]);A_d.Qy(a,f,e)}else A_d.Qy(a,null,b)},Qy:function(a,b,c){AdfAssert.assertPrototype(a,AdfBaseEvent);AdfAssert.assertObjectOrNull(b);AdfAssert.assertFunction(c);try{null==b?c(a):c.call(b,
a)}catch(d){AdfLogger.LOGGER.logError(d,AdfLogger.WARNING,"Error delivering event:"+a+" to "+c+" on instance "+b)}},ji:function(a,b,c,d){var e=AdfAgent.AGENT,f=0==a.offsetHeight;if(f||e.pointInElementBounds(a,b,c))for(f||(d=a),a=a.firstChild;a;){if(1==a.nodeType&&(f=e.getComputedStyle(a),!f||"hidden"!=f.visibility&&"none"!=f.display)&&(f=A_d.ji(a,b,c,d),f!=d))return f;a=a.nextSibling}return d}};