var iZc=" failed",jZc="TEIID_AUDIT_LOG",kZc="TEIID_COMMAND_LOG",lZc="org.teiid",H7="org.teiid.AUDIT_LOG",I7="org.teiid.COMMAND_LOG";
function mZc(a,b,d){var e,h;e=s1();zI(yI(e),Dr,cl);zI(yI(e),vha,b);h=new H;I(J(h,nn),FM);EI(J(h,n),e);EI(J(h,Ed),I(new H,ss));EI(J(h,Yd),I(new H,ss));EI(J(h,Fk),I(new H,gb));EI(J(h,Fr),I(new H,".yyyy-MM-dd"));EI(J(h,ei),I(new H,"%d{HH:mm:ss,SSS} %-5p [%c] (%t) %X{teiid-session} %s%E%n"));e=new H;EI(J(e,En),I(new H,d));EI(J(e,Wo),I(new H,tga));EI(J(h,Pfa),e);GE(new HE(h),new nZc(a,b))}
function oZc(a,b,d,e){var h,l;h=s1();zI(yI(h),Dr,cl);zI(yI(h),bl,b);l=new H;I(J(l,nn),FM);EI(J(l,n),h);EI(J(l,Fk),I(new H,d));null!=e&&(d=J(l,qi),e=I(new H,e),EI(yI(d),e));GE(new HE(l),new pZc(a,b))}function qZc(a,b,d){var e,h;e=s1();zI(yI(e),Dr,cl);zI(yI(e),bl,b);h=new H;I(J(h,nn),zO);EI(J(h,n),e);GE(new HE(h),new rZc(a,d,b))}function sZc(a,b,d,e){var h;h=s1();zI(yI(h),Dr,cl);e?zI(yI(h),Hea,d):zI(yI(h),vha,d);d=new H;I(J(d,nn),zO);EI(J(d,n),h);GE(new HE(d),new tZc(a,b,e))}
function uZc(a,b){var d,e;d=s1();zI(yI(d),Dr,cl);zI(yI(d),bl,b);e=new H;I(J(e,nn),zO);EI(J(e,n),d);GE(new HE(e),new vZc(a,b))}function wZc(a,b){var d,e;d=s1();zI(yI(d),Dr,cl);zI(yI(d),bl,b);e=new H;I(J(e,nn),AO);EI(J(e,n),d);GE(new HE(e),new xZc(a,b))}function yZc(a,b,d,e){NW.call(this,a,b,d,null);this.b=e;this.a=new lE(xF)}w(4488,1006,ku,yZc);_.Ri=function(){this.A.c=this};_.Wi=function(){var a=this.A;uZc(a.c,H7);uZc(a.c,I7);uZc(a.c,lZc)};_.$i=function(){H1(this.b,this)};
function vZc(a,b){this.a=a;this.b=b}w(4489,1293,{},vZc);_.sd=function(){zZc(this.a.A,this.b,null)};_.eh=function(a){a=KE(a);a.b.gN(t)&&J(a,t).b.b!=(K(),L)&&z(J(a,t).b.bf(),Er)?J(a,qp).b.b!=(K(),L)&&(a=XY(this.a.a,J(a,qp)),zZc(this.a.A,this.b,a)):zZc(this.a.A,this.b,null)};function tZc(a,b,d){this.a=a;this.b=b;this.c=d}w(4490,1293,{},tZc);_.sd=function(){AZc(this.a.A,this.b,this.c,!1)};_.eh=function(a){a=KE(a);a.b.gN(t)&&J(a,t).b.b!=(K(),L)&&z(J(a,t).b.bf(),Er)&&AZc(this.a.A,this.b,this.c,!0)};
_.c=!1;function rZc(a,b,d){this.a=a;this.b=b;this.c=d}w(4491,1293,{},rZc);_.sd=function(){this.b&&BZc(this.a.A,this.c)};_.eh=function(a){a=KE(a);if(a.b.gN(t)&&J(a,t).b.b!=(K(),L)&&z(J(a,t).b.bf(),Er)){if(J(a,qp).b.b!=(K(),L)&&!this.b){a=this.a.A;var b=this.c;z(b,H7)&&wZc(a.c,b);z(b,I7)&&wZc(a.c,b);z(b,lZc)&&wZc(a.c,b)}}else this.b&&BZc(this.a.A,this.c)};_.b=!1;function nZc(a,b){this.a=a;this.b=b}w(4492,1293,{},nZc);_.sd=CZc;
_.eh=function(a){a=KE(a);DZc(this.b,a.b.gN(t)&&J(a,t).b.b!=(K(),L)&&z(J(a,t).b.bf(),Er))};function pZc(a,b){this.a=a;this.b=b}w(4493,1293,{},pZc);_.sd=CZc;_.eh=function(a){a=KE(a);var b=this.b;a.b.gN(t)&&J(a,t).b.b!=(K(),L)&&z(J(a,t).b.bf(),Er)||(G(),BD(CD(DD(zD.a)),new mX("Addition of Logger "+b+iZc,(FD(),gE))))};function xZc(a,b){this.a=a;this.b=b}w(4494,1293,{},xZc);_.sd=function(a){AD("Failed to remove logger "+this.b,a.$b())};
_.eh=function(a){a=KE(a);var b=this.b;a.b.gN(t)&&J(a,t).b.b!=(K(),L)&&z(J(a,t).b.bf(),Er)||(G(),BD(CD(DD(zD.a)),new mX("Removal of Logger "+b+iZc,(FD(),gE))))};function BZc(a,b){z(b,H7)&&sZc(a.c,b,jZc,!0);z(b,I7)&&sZc(a.c,b,kZc,!0);z(b,lZc)&&oZc(a.c,b,$da,null)}
function AZc(a,b,d,e){e?(z(b,H7)&&oZc(a.c,b,gb,jZc),z(b,I7)&&oZc(a.c,b,gb,kZc)):d?(z(b,H7)&&sZc(a.c,b,jZc,!1),z(b,I7)&&sZc(a.c,b,kZc,!1)):(z(b,H7)&&(mZc(a.c,jZc,"teiid-audit.log"),oZc(a.c,b,gb,jZc)),z(b,I7)&&(mZc(a.c,kZc,"teiid-command.log"),oZc(a.c,b,gb,kZc)))}function DZc(a,b){b||(G(),BD(CD(DD(zD.a)),new mX("Addition Logging handler "+a+iZc,(FD(),gE))))}
function zZc(a,b,d){z(H7,b)&&(d&&z(d.LA(),gb)?jT(a.a,(D(),E)):jT(a.a,(D(),TB)));z(I7,b)&&(d&&z(d.LA(),gb)?jT(a.b,(D(),E)):jT(a.b,(D(),TB)));z(lZc,b)&&(d&&z(d.LA(),$da)?jT(a.d,(D(),E)):jT(a.d,(D(),TB)))}function EZc(){this.a=new kT("Enable Audit Logging");this.b=new kT("Enable Command Logging");this.d=new kT("Enable Trace Logging")}w(4497,1410,Hu,EZc);
_.Bh=function(){var a,b,d,e=MZ(NZ(QZ(new RZ,"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 gT("Select Logging Type");b=new S4("Apply",new FZc(this));d=new ET;V(d,this.a);V(d,this.b);V(d,this.d);V(d,b);hT(d,this.a,(cU(),dU));hT(d,this.b,dU);hT(d,this.d,dU);sQ(a.ab,d);(B(),a.gb).style[qt]=FK;a.gb.setAttribute(Br,"font-weight:bold;");
a=KZ(e,"Audit/Command Logging for Teiid Subsystem",a);return LZ(a)};function FZc(a){this.a=a}w(4498,1,v,FZc);_.le=function(){qZc(this.a.c,H7,iT(this.a.a).a);qZc(this.a.c,I7,iT(this.a.b).a);qZc(this.a.c,lZc,iT(this.a.d).a)};w(4570,1,iu);_.td=function(){var a=this.b,b=this.a.a,d;if(!b.c){d=FA(EB(b.a));var e;b.d||(e=new EZc,b.d=e);d=new yZc(d,b.d,mxa(b),(qE(eE(b.a)),sE(cE(b.a)),I4(cY(b.a))));LA((YD(b.a),d),jB(YD(b.a)));b.c=d}qB(a,b.c)};F(4488);F(4489);F(4490);F(4491);F(4492);F(4493);F(4494);F(4497);
F(4498);zw(RJ)(16);function CZc(){DZc(this.b,!1)};