var VYc=" failed",WYc="TEIID_AUDIT_LOG",XYc="TEIID_COMMAND_LOG",YYc="org.teiid",J7="org.teiid.AUDIT_LOG",K7="org.teiid.COMMAND_LOG";
function ZYc(a,b,d){var e,h;e=w1();zI(yI(e),xr,dl);zI(yI(e),rha,b);h=new H;I(J(h,kn),zM);EI(J(h,n),e);EI(J(h,Dd),I(new H,qs));EI(J(h,Yd),I(new H,qs));EI(J(h,Hk),I(new H,gb));EI(J(h,zr),I(new H,".yyyy-MM-dd"));EI(J(h,ii),I(new H,"%d{HH:mm:ss,SSS} %-5p [%c] (%t) %X{teiid-session} %s%E%n"));e=new H;EI(J(e,Bn),I(new H,d));EI(J(e,No),I(new H,pga));EI(J(h,Nfa),e);KE(new LE(h),new $Yc(a,b))}
function aZc(a,b,d,e){var h,l;h=w1();zI(yI(h),xr,dl);zI(yI(h),cl,b);l=new H;I(J(l,kn),zM);EI(J(l,n),h);EI(J(l,Hk),I(new H,d));null!=e&&(d=J(l,vi),e=I(new H,e),EI(yI(d),e));KE(new LE(l),new bZc(a,b))}function cZc(a,b,d){var e,h;e=w1();zI(yI(e),xr,dl);zI(yI(e),cl,b);h=new H;I(J(h,kn),uO);EI(J(h,n),e);KE(new LE(h),new dZc(a,d,b))}function eZc(a,b,d,e){var h;h=w1();zI(yI(h),xr,dl);e?zI(yI(h),Fea,d):zI(yI(h),rha,d);d=new H;I(J(d,kn),uO);EI(J(d,n),h);KE(new LE(d),new fZc(a,b,e))}
function gZc(a,b){var d,e;d=w1();zI(yI(d),xr,dl);zI(yI(d),cl,b);e=new H;I(J(e,kn),uO);EI(J(e,n),d);KE(new LE(e),new hZc(a,b))}function iZc(a,b){var d,e;d=w1();zI(yI(d),xr,dl);zI(yI(d),cl,b);e=new H;I(J(e,kn),vO);EI(J(e,n),d);KE(new LE(e),new jZc(a,b))}function kZc(a,b,d,e){QW.call(this,a,b,d,null);this.b=e;this.a=new pE(BF)}x(4503,1009,Eu,kZc);_.Ri=function(){this.A.c=this};_.Wi=function(){var a=this.A;gZc(a.c,J7);gZc(a.c,K7);gZc(a.c,YYc)};_.$i=function(){J1(this.b,this)};
function hZc(a,b){this.a=a;this.b=b}x(4504,1296,{},hZc);_.pd=function(){lZc(this.a.A,this.b,null)};_.eh=function(a){a=OE(a);a.b.iN(t)&&J(a,t).b.b!=(K(),L)&&z(J(a,t).b.$e(),yr)?J(a,hp).b.b!=(K(),L)&&(a=aZ(this.a.a,J(a,hp)),lZc(this.a.A,this.b,a)):lZc(this.a.A,this.b,null)};function fZc(a,b,d){this.a=a;this.b=b;this.c=d}x(4505,1296,{},fZc);_.pd=function(){mZc(this.a.A,this.b,this.c,!1)};_.eh=function(a){a=OE(a);a.b.iN(t)&&J(a,t).b.b!=(K(),L)&&z(J(a,t).b.$e(),yr)&&mZc(this.a.A,this.b,this.c,!0)};
_.c=!1;function dZc(a,b,d){this.a=a;this.b=b;this.c=d}x(4506,1296,{},dZc);_.pd=function(){this.b&&nZc(this.a.A,this.c)};_.eh=function(a){a=OE(a);if(a.b.iN(t)&&J(a,t).b.b!=(K(),L)&&z(J(a,t).b.$e(),yr)){if(J(a,hp).b.b!=(K(),L)&&!this.b){a=this.a.A;var b=this.c;z(b,J7)&&iZc(a.c,b);z(b,K7)&&iZc(a.c,b);z(b,YYc)&&iZc(a.c,b)}}else this.b&&nZc(this.a.A,this.c)};_.b=!1;function $Yc(a,b){this.a=a;this.b=b}x(4507,1296,{},$Yc);_.pd=oZc;
_.eh=function(a){a=OE(a);pZc(this.b,a.b.iN(t)&&J(a,t).b.b!=(K(),L)&&z(J(a,t).b.$e(),yr))};function bZc(a,b){this.a=a;this.b=b}x(4508,1296,{},bZc);_.pd=oZc;_.eh=function(a){a=OE(a);var b=this.b;a.b.iN(t)&&J(a,t).b.b!=(K(),L)&&z(J(a,t).b.$e(),yr)||(G(),ED(FD(GD(CD.a)),new qX("Addition of Logger "+b+VYc,(ID(),kE))))};function jZc(a,b){this.a=a;this.b=b}x(4509,1296,{},jZc);_.pd=function(a){DD("Failed to remove logger "+this.b,a._b())};
_.eh=function(a){a=OE(a);var b=this.b;a.b.iN(t)&&J(a,t).b.b!=(K(),L)&&z(J(a,t).b.$e(),yr)||(G(),ED(FD(GD(CD.a)),new qX("Removal of Logger "+b+VYc,(ID(),kE))))};function nZc(a,b){z(b,J7)&&eZc(a.c,b,WYc,!0);z(b,K7)&&eZc(a.c,b,XYc,!0);z(b,YYc)&&aZc(a.c,b,Yda,null)}
function mZc(a,b,d,e){e?(z(b,J7)&&aZc(a.c,b,gb,WYc),z(b,K7)&&aZc(a.c,b,gb,XYc)):d?(z(b,J7)&&eZc(a.c,b,WYc,!1),z(b,K7)&&eZc(a.c,b,XYc,!1)):(z(b,J7)&&(ZYc(a.c,WYc,"teiid-audit.log"),aZc(a.c,b,gb,WYc)),z(b,K7)&&(ZYc(a.c,XYc,"teiid-command.log"),aZc(a.c,b,gb,XYc)))}function pZc(a,b){b||(G(),ED(FD(GD(CD.a)),new qX("Addition Logging handler "+a+VYc,(ID(),kE))))}
function lZc(a,b,d){z(J7,b)&&(d&&z(d.NA(),gb)?pT(a.a,(D(),E)):pT(a.a,(D(),TB)));z(K7,b)&&(d&&z(d.NA(),gb)?pT(a.b,(D(),E)):pT(a.b,(D(),TB)));z(YYc,b)&&(d&&z(d.NA(),Yda)?pT(a.d,(D(),E)):pT(a.d,(D(),TB)))}function qZc(){this.a=new qT("Enable Audit Logging");this.b=new qT("Enable Command Logging");this.d=new qT("Enable Trace Logging")}x(4512,1413,pu,qZc);
_.Bh=function(){var a,b,d,e=QZ(RZ(UZ(new VZ,"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 mT("Select Logging Type");b=new W4("Apply",new rZc(this));d=new HT;V(d,this.a);V(d,this.b);V(d,this.d);V(d,b);nT(d,this.a,(fU(),gU));nT(d,this.b,gU);nT(d,this.d,gU);pQ(a.ab,d);(B(),a.gb).style[jt]=zK;a.gb.setAttribute(LO,"font-weight:bold;");
a=OZ(e,"Audit/Command Logging for Teiid Subsystem",a);return PZ(a)};function rZc(a){this.a=a}x(4513,1,v,rZc);_.ie=function(){cZc(this.a.c,J7,oT(this.a.a).a);cZc(this.a.c,K7,oT(this.a.b).a);cZc(this.a.c,YYc,oT(this.a.d).a)};x(4585,1,nu);_.qd=function(){var a=this.b,b=this.a.a,d;if(!b.c){d=VA(EB(b.a));var e;b.d||(e=new qZc,b.d=e);d=new kZc(d,b.d,fxa(b),(uE(iE(b.a)),wE(gE(b.a)),M4(gY(b.a))));ZA((bE(b.a),d),jB(bE(b.a)));b.c=d}qB(a,b.c)};F(4503);F(4504);F(4505);F(4506);F(4507);F(4508);F(4509);F(4512);
F(4513);Mw(NJ)(16);function oZc(){pZc(this.b,!1)};