var hZc=" failed",iZc="TEIID_AUDIT_LOG",jZc="TEIID_COMMAND_LOG",kZc="org.teiid",I7="org.teiid.AUDIT_LOG",J7="org.teiid.COMMAND_LOG";
function lZc(a,b,d){var e,h;e=t1();vI(uI(e),Ar,cl);vI(uI(e),vha,b);h=new H;I(J(h,ln),EM);AI(J(h,n),e);AI(J(h,Ed),I(new H,ps));AI(J(h,Yd),I(new H,ps));AI(J(h,Fk),I(new H,gb));AI(J(h,Cr),I(new H,".yyyy-MM-dd"));AI(J(h,ei),I(new H,"%d{HH:mm:ss,SSS} %-5p [%c] (%t) %X{teiid-session} %s%E%n"));e=new H;AI(J(e,Cn),I(new H,d));AI(J(e,Qo),I(new H,tga));AI(J(h,Pfa),e);DE(new EE(h),new mZc(a,b))}
function nZc(a,b,d,e){var h,l;h=t1();vI(uI(h),Ar,cl);vI(uI(h),bl,b);l=new H;I(J(l,ln),EM);AI(J(l,n),h);AI(J(l,Fk),I(new H,d));null!=e&&(d=J(l,qi),e=I(new H,e),AI(uI(d),e));DE(new EE(l),new oZc(a,b))}function pZc(a,b,d){var e,h;e=t1();vI(uI(e),Ar,cl);vI(uI(e),bl,b);h=new H;I(J(h,ln),BO);AI(J(h,n),e);DE(new EE(h),new qZc(a,d,b))}function rZc(a,b,d,e){var h;h=t1();vI(uI(h),Ar,cl);e?vI(uI(h),Hea,d):vI(uI(h),vha,d);d=new H;I(J(d,ln),BO);AI(J(d,n),h);DE(new EE(d),new sZc(a,b,e))}
function tZc(a,b){var d,e;d=t1();vI(uI(d),Ar,cl);vI(uI(d),bl,b);e=new H;I(J(e,ln),BO);AI(J(e,n),d);DE(new EE(e),new uZc(a,b))}function vZc(a,b){var d,e;d=t1();vI(uI(d),Ar,cl);vI(uI(d),bl,b);e=new H;I(J(e,ln),CO);AI(J(e,n),d);DE(new EE(e),new wZc(a,b))}function xZc(a,b,d,e){NW.call(this,a,b,d,null);this.b=e;this.a=new iE(uF)}x(4488,1006,ju,xZc);_.Ri=function(){this.A.c=this};_.Wi=function(){var a=this.A;tZc(a.c,I7);tZc(a.c,J7);tZc(a.c,kZc)};_.$i=function(){I1(this.b,this)};
function uZc(a,b){this.a=a;this.b=b}x(4489,1293,{},uZc);_.sd=function(){yZc(this.a.A,this.b,null)};_.eh=function(a){a=HE(a);a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&y(J(a,t).b.bf(),Br)?J(a,kp).b.b!=(L(),M)&&(a=YY(this.a.a,J(a,kp)),yZc(this.a.A,this.b,a)):yZc(this.a.A,this.b,null)};function sZc(a,b,d){this.a=a;this.b=b;this.c=d}x(4490,1293,{},sZc);_.sd=function(){zZc(this.a.A,this.b,this.c,!1)};_.eh=function(a){a=HE(a);a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&y(J(a,t).b.bf(),Br)&&zZc(this.a.A,this.b,this.c,!0)};
_.c=!1;function qZc(a,b,d){this.a=a;this.b=b;this.c=d}x(4491,1293,{},qZc);_.sd=function(){this.b&&AZc(this.a.A,this.c)};_.eh=function(a){a=HE(a);if(a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&y(J(a,t).b.bf(),Br)){if(J(a,kp).b.b!=(L(),M)&&!this.b){a=this.a.A;var b=this.c;y(b,I7)&&vZc(a.c,b);y(b,J7)&&vZc(a.c,b);y(b,kZc)&&vZc(a.c,b)}}else this.b&&AZc(this.a.A,this.c)};_.b=!1;function mZc(a,b){this.a=a;this.b=b}x(4492,1293,{},mZc);_.sd=BZc;
_.eh=function(a){a=HE(a);CZc(this.b,a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&y(J(a,t).b.bf(),Br))};function oZc(a,b){this.a=a;this.b=b}x(4493,1293,{},oZc);_.sd=BZc;_.eh=function(a){a=HE(a);var b=this.b;a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&y(J(a,t).b.bf(),Br)||(G(),yD(zD(AD(wD.a)),new nX("Addition of Logger "+b+hZc,(CD(),dE))))};function wZc(a,b){this.a=a;this.b=b}x(4494,1293,{},wZc);_.sd=function(a){xD("Failed to remove logger "+this.b,a.$b())};
_.eh=function(a){a=HE(a);var b=this.b;a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&y(J(a,t).b.bf(),Br)||(G(),yD(zD(AD(wD.a)),new nX("Removal of Logger "+b+hZc,(CD(),dE))))};function AZc(a,b){y(b,I7)&&rZc(a.c,b,iZc,!0);y(b,J7)&&rZc(a.c,b,jZc,!0);y(b,kZc)&&nZc(a.c,b,$da,null)}
function zZc(a,b,d,e){e?(y(b,I7)&&nZc(a.c,b,gb,iZc),y(b,J7)&&nZc(a.c,b,gb,jZc)):d?(y(b,I7)&&rZc(a.c,b,iZc,!1),y(b,J7)&&rZc(a.c,b,jZc,!1)):(y(b,I7)&&(lZc(a.c,iZc,"teiid-audit.log"),nZc(a.c,b,gb,iZc)),y(b,J7)&&(lZc(a.c,jZc,"teiid-command.log"),nZc(a.c,b,gb,jZc)))}function CZc(a,b){b||(G(),yD(zD(AD(wD.a)),new nX("Addition Logging handler "+a+hZc,(CD(),dE))))}
function yZc(a,b,d){y(I7,b)&&(d&&y(d.LA(),gb)?jT(a.a,(D(),E)):jT(a.a,(D(),SB)));y(J7,b)&&(d&&y(d.LA(),gb)?jT(a.b,(D(),E)):jT(a.b,(D(),SB)));y(kZc,b)&&(d&&y(d.LA(),$da)?jT(a.d,(D(),E)):jT(a.d,(D(),SB)))}function DZc(){this.a=new kT("Enable Audit Logging");this.b=new kT("Enable Command Logging");this.d=new kT("Enable Trace Logging")}x(4497,1410,Gu,DZc);
_.Bh=function(){var a,b,d,e=NZ(OZ(RZ(new SZ,"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 T4("Apply",new EZc(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);uQ(a.ab,d);(B(),a.gb).style[pt]=EK;a.gb.setAttribute(yr,"font-weight:bold;");
a=LZ(e,"Audit/Command Logging for Teiid Subsystem",a);return MZ(a)};function EZc(a){this.a=a}x(4498,1,v,EZc);_.le=function(){pZc(this.a.c,I7,iT(this.a.a).a);pZc(this.a.c,J7,iT(this.a.b).a);pZc(this.a.c,kZc,iT(this.a.d).a)};x(4570,1,iu);_.td=function(){var a=this.b,b=this.a.a,d;if(!b.c){d=EA(DB(b.a));var e;b.d||(e=new DZc,b.d=e);d=new xZc(d,b.d,kxa(b),(nE(bE(b.a)),pE($D(b.a)),J4(dY(b.a))));KA((VD(b.a),d),iB(VD(b.a)));b.c=d}pB(a,b.c)};F(4488);F(4489);F(4490);F(4491);F(4492);F(4493);F(4494);F(4497);
F(4498);Aw(QJ)(16);function BZc(){CZc(this.b,!1)};