var $Yc=" failed",aZc="TEIID_AUDIT_LOG",bZc="TEIID_COMMAND_LOG",cZc="org.teiid",I7="org.teiid.AUDIT_LOG",J7="org.teiid.COMMAND_LOG";
function dZc(a,b,d){var e,h;e=y1();AI(zI(e),xr,cl);AI(zI(e),vha,b);h=new H;I(J(h,jn),AM);FI(J(h,n),e);FI(J(h,Dd),I(new H,ms));FI(J(h,Yd),I(new H,ms));FI(J(h,Ek),I(new H,gb));FI(J(h,zr),I(new H,".yyyy-MM-dd"));FI(J(h,hi),I(new H,"%d{HH:mm:ss,SSS} %-5p [%c] (%t) %X{teiid-session} %s%E%n"));e=new H;FI(J(e,An),I(new H,d));FI(J(e,No),I(new H,tga));FI(J(h,Pfa),e);LE(new ME(h),new eZc(a,b))}
function fZc(a,b,d,e){var h,l;h=y1();AI(zI(h),xr,cl);AI(zI(h),bl,b);l=new H;I(J(l,jn),AM);FI(J(l,n),h);FI(J(l,Ek),I(new H,d));null!=e&&(d=J(l,ti),e=I(new H,e),FI(zI(d),e));LE(new ME(l),new gZc(a,b))}function hZc(a,b,d){var e,h;e=y1();AI(zI(e),xr,cl);AI(zI(e),bl,b);h=new H;I(J(h,jn),xO);FI(J(h,n),e);LE(new ME(h),new iZc(a,d,b))}function jZc(a,b,d,e){var h;h=y1();AI(zI(h),xr,cl);e?AI(zI(h),Hea,d):AI(zI(h),vha,d);d=new H;I(J(d,jn),xO);FI(J(d,n),h);LE(new ME(d),new kZc(a,b,e))}
function lZc(a,b){var d,e;d=y1();AI(zI(d),xr,cl);AI(zI(d),bl,b);e=new H;I(J(e,jn),xO);FI(J(e,n),d);LE(new ME(e),new mZc(a,b))}function nZc(a,b){var d,e;d=y1();AI(zI(d),xr,cl);AI(zI(d),bl,b);e=new H;I(J(e,jn),yO);FI(J(e,n),d);LE(new ME(e),new oZc(a,b))}function pZc(a,b,d,e){SW.call(this,a,b,d,null);this.b=e;this.a=new qE(CF)}x(4487,1005,gu,pZc);_.Ri=function(){this.A.c=this};_.Wi=function(){var a=this.A;lZc(a.c,I7);lZc(a.c,J7);lZc(a.c,cZc)};_.$i=function(){L1(this.b,this)};
function mZc(a,b){this.a=a;this.b=b}x(4488,1292,{},mZc);_.sd=function(){qZc(this.a.A,this.b,null)};_.eh=function(a){a=PE(a);a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&y(J(a,t).b.bf(),yr)?J(a,hp).b.b!=(L(),M)&&(a=cZ(this.a.a,J(a,hp)),qZc(this.a.A,this.b,a)):qZc(this.a.A,this.b,null)};function kZc(a,b,d){this.a=a;this.b=b;this.c=d}x(4489,1292,{},kZc);_.sd=function(){rZc(this.a.A,this.b,this.c,!1)};_.eh=function(a){a=PE(a);a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&y(J(a,t).b.bf(),yr)&&rZc(this.a.A,this.b,this.c,!0)};
_.c=!1;function iZc(a,b,d){this.a=a;this.b=b;this.c=d}x(4490,1292,{},iZc);_.sd=function(){this.b&&sZc(this.a.A,this.c)};_.eh=function(a){a=PE(a);if(a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&y(J(a,t).b.bf(),yr)){if(J(a,hp).b.b!=(L(),M)&&!this.b){a=this.a.A;var b=this.c;y(b,I7)&&nZc(a.c,b);y(b,J7)&&nZc(a.c,b);y(b,cZc)&&nZc(a.c,b)}}else this.b&&sZc(this.a.A,this.c)};_.b=!1;function eZc(a,b){this.a=a;this.b=b}x(4491,1292,{},eZc);_.sd=tZc;
_.eh=function(a){a=PE(a);uZc(this.b,a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&y(J(a,t).b.bf(),yr))};function gZc(a,b){this.a=a;this.b=b}x(4492,1292,{},gZc);_.sd=tZc;_.eh=function(a){a=PE(a);var b=this.b;a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&y(J(a,t).b.bf(),yr)||(G(),GD(HD(ID(ED.a)),new sX("Addition of Logger "+b+$Yc,(KD(),lE))))};function oZc(a,b){this.a=a;this.b=b}x(4493,1292,{},oZc);_.sd=function(a){FD("Failed to remove logger "+this.b,a.$b())};
_.eh=function(a){a=PE(a);var b=this.b;a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&y(J(a,t).b.bf(),yr)||(G(),GD(HD(ID(ED.a)),new sX("Removal of Logger "+b+$Yc,(KD(),lE))))};function sZc(a,b){y(b,I7)&&jZc(a.c,b,aZc,!0);y(b,J7)&&jZc(a.c,b,bZc,!0);y(b,cZc)&&fZc(a.c,b,$da,null)}
function rZc(a,b,d,e){e?(y(b,I7)&&fZc(a.c,b,gb,aZc),y(b,J7)&&fZc(a.c,b,gb,bZc)):d?(y(b,I7)&&jZc(a.c,b,aZc,!1),y(b,J7)&&jZc(a.c,b,bZc,!1)):(y(b,I7)&&(dZc(a.c,aZc,"teiid-audit.log"),fZc(a.c,b,gb,aZc)),y(b,J7)&&(dZc(a.c,bZc,"teiid-command.log"),fZc(a.c,b,gb,bZc)))}function uZc(a,b){b||(G(),GD(HD(ID(ED.a)),new sX("Addition Logging handler "+a+$Yc,(KD(),lE))))}
function qZc(a,b,d){y(I7,b)&&(d&&y(d.LA(),gb)?mT(a.a,(D(),E)):mT(a.a,(D(),VB)));y(J7,b)&&(d&&y(d.LA(),gb)?mT(a.b,(D(),E)):mT(a.b,(D(),VB)));y(cZc,b)&&(d&&y(d.LA(),$da)?mT(a.d,(D(),E)):mT(a.d,(D(),VB)))}function vZc(){this.a=new nT("Enable Audit Logging");this.b=new nT("Enable Command Logging");this.d=new nT("Enable Trace Logging")}x(4496,1409,Du,vZc);
_.Bh=function(){var a,b,d,e=SZ(TZ(WZ(new XZ,"Audit Logging"),"Audit/Command Logging"),"Turn On/Off Audit/Command Logging. By default file handler(s) will be added. Alternatively, add TEIID_COMMAND_LOG/TEIID_AUDIT_LOG handlers to override the default handlers");a=new jT("Select Logging Type");b=new V4("Apply",new wZc(this));d=new HT;V(d,this.a);V(d,this.b);V(d,this.d);V(d,b);kT(d,this.a,(fU(),gU));kT(d,this.b,gU);kT(d,this.d,gU);qQ(a.ab,d);(B(),a.gb).style[jt]=AK;a.gb.setAttribute(vr,"font-weight:bold;");
a=QZ(e,"Audit/Command Logging for Teiid Subsystem",a);return RZ(a)};function wZc(a){this.a=a}x(4497,1,v,wZc);_.le=function(){hZc(this.a.c,I7,lT(this.a.a).a);hZc(this.a.c,J7,lT(this.a.b).a);hZc(this.a.c,cZc,lT(this.a.d).a)};x(4569,1,fu);_.td=function(){var a=this.b,b=this.a.a,d;if(!b.c){d=NA(GB(b.a));var e;b.d||(e=new vZc,b.d=e);d=new pZc(d,b.d,nxa(b),(vE(jE(b.a)),xE(hE(b.a)),L4(iY(b.a))));$A((cE(b.a),d),lB(cE(b.a)));b.c=d}sB(a,b.c)};F(4487);F(4488);F(4489);F(4490);F(4491);F(4492);F(4493);F(4496);
F(4497);Aw(MJ)(16);function tZc(){uZc(this.b,!1)};