var KXc=" failed",LXc="TEIID_AUDIT_LOG",MXc="TEIID_COMMAND_LOG",NXc="org.teiid",K7="org.teiid.AUDIT_LOG",L7="org.teiid.COMMAND_LOG";
function OXc(a,b,d){var e,h;e=z1();qI(pI(e),Dr,fl);qI(pI(e),rha,b);h=new I;K(L(h,sn),vM);vI(L(h,n),e);vI(L(h,Dd),K(new I,os));vI(L(h,Xd),K(new I,os));vI(L(h,Hk),K(new I,ib));vI(L(h,Fr),K(new I,".yyyy-MM-dd"));vI(L(h,gi),K(new I,"%d{HH:mm:ss,SSS} %-5p [%c] (%t) %X{teiid-session} %s%E%n"));e=new I;vI(L(e,Jn),K(new I,d));vI(L(e,Zo),K(new I,oga));vI(L(h,sub),e);yE(new zE(h),new PXc(a,b))}
function QXc(a,b,d,e){var h,l;h=z1();qI(pI(h),Dr,fl);qI(pI(h),$k,b);l=new I;K(L(l,sn),vM);vI(L(l,n),h);vI(L(l,Hk),K(new I,d));null!=e&&(d=L(l,ti),e=K(new I,e),vI(pI(d),e));yE(new zE(l),new RXc(a,b))}function SXc(a,b,d){var e,h;e=z1();qI(pI(e),Dr,fl);qI(pI(e),$k,b);h=new I;K(L(h,sn),pO);vI(L(h,n),e);yE(new zE(h),new TXc(a,d,b))}function UXc(a,b,d,e){var h;h=z1();qI(pI(h),Dr,fl);e?qI(pI(h),Dea,d):qI(pI(h),rha,d);d=new I;K(L(d,sn),pO);vI(L(d,n),h);yE(new zE(d),new VXc(a,b,e))}
function WXc(a,b){var d,e;d=z1();qI(pI(d),Dr,fl);qI(pI(d),$k,b);e=new I;K(L(e,sn),pO);vI(L(e,n),d);yE(new zE(e),new XXc(a,b))}function YXc(a,b){var d,e;d=z1();qI(pI(d),Dr,fl);qI(pI(d),$k,b);e=new I;K(L(e,sn),qO);vI(L(e,n),d);yE(new zE(e),new ZXc(a,b))}function $Xc(a,b,d,e){QW.call(this,a,b,d,null);this.b=e;this.a=new dE(oF)}x(4481,993,Rt,$Xc);_.Ri=function(){this.A.c=this};_.Wi=function(){var a=this.A;WXc(a.c,K7);WXc(a.c,L7);WXc(a.c,NXc)};_.$i=function(){M1(this.b,this)};
function XXc(a,b){this.a=a;this.b=b}x(4482,1278,{},XXc);_.sd=function(){aYc(this.a.A,this.b,null)};_.eh=function(a){a=CE(a);a.b.YM(t)&&L(a,t).b.b!=(M(),N)&&y(L(a,t).b.bf(),Er)?L(a,tp).b.b!=(M(),N)&&(a=aZ(this.a.a,L(a,tp)),aYc(this.a.A,this.b,a)):aYc(this.a.A,this.b,null)};function VXc(a,b,d){this.a=a;this.b=b;this.c=d}x(4483,1278,{},VXc);_.sd=function(){bYc(this.a.A,this.b,this.c,!1)};_.eh=function(a){a=CE(a);a.b.YM(t)&&L(a,t).b.b!=(M(),N)&&y(L(a,t).b.bf(),Er)&&bYc(this.a.A,this.b,this.c,!0)};
_.c=!1;function TXc(a,b,d){this.a=a;this.b=b;this.c=d}x(4484,1278,{},TXc);_.sd=function(){this.b&&cYc(this.a.A,this.c)};_.eh=function(a){a=CE(a);if(a.b.YM(t)&&L(a,t).b.b!=(M(),N)&&y(L(a,t).b.bf(),Er)){if(L(a,tp).b.b!=(M(),N)&&!this.b){a=this.a.A;var b=this.c;y(b,K7)&&YXc(a.c,b);y(b,L7)&&YXc(a.c,b);y(b,NXc)&&YXc(a.c,b)}}else this.b&&cYc(this.a.A,this.c)};_.b=!1;function PXc(a,b){this.a=a;this.b=b}x(4485,1278,{},PXc);_.sd=dYc;
_.eh=function(a){a=CE(a);eYc(this.b,a.b.YM(t)&&L(a,t).b.b!=(M(),N)&&y(L(a,t).b.bf(),Er))};function RXc(a,b){this.a=a;this.b=b}x(4486,1278,{},RXc);_.sd=dYc;_.eh=function(a){a=CE(a);var b=this.b;a.b.YM(t)&&L(a,t).b.b!=(M(),N)&&y(L(a,t).b.bf(),Er)||(H(),sD(tD(uD(qD.a)),new qX("Addition of Logger "+b+KXc,(wD(),ZD))))};function ZXc(a,b){this.a=a;this.b=b}x(4487,1278,{},ZXc);_.sd=function(){};
_.eh=function(a){a=CE(a);var b=this.b;a.b.YM(t)&&L(a,t).b.b!=(M(),N)&&y(L(a,t).b.bf(),Er)||(H(),sD(tD(uD(qD.a)),new qX("Removal of Logger "+b+KXc,(wD(),ZD))))};function cYc(a,b){y(b,K7)&&UXc(a.c,b,LXc,!0);y(b,L7)&&UXc(a.c,b,MXc,!0);y(b,NXc)&&QXc(a.c,b,Wda,null)}
function bYc(a,b,d,e){e?(y(b,K7)&&QXc(a.c,b,ib,LXc),y(b,L7)&&QXc(a.c,b,ib,MXc)):d?(y(b,K7)&&UXc(a.c,b,LXc,!1),y(b,L7)&&UXc(a.c,b,MXc,!1)):(y(b,K7)&&(OXc(a.c,LXc,"teiid-audit.log"),QXc(a.c,b,ib,LXc)),y(b,L7)&&(OXc(a.c,MXc,"teiid-command.log"),QXc(a.c,b,ib,MXc)))}function eYc(a,b){b||(H(),sD(tD(uD(qD.a)),new qX("Addition Logging handler "+a+KXc,(wD(),ZD))))}
function aYc(a,b,d){y(K7,b)&&(d&&y(d.uA(),ib)?rT(a.a,(C(),E)):rT(a.a,(C(),F)));y(L7,b)&&(d&&y(d.uA(),ib)?rT(a.b,(C(),E)):rT(a.b,(C(),F)));y(NXc,b)&&(d&&y(d.uA(),Wda)?rT(a.d,(C(),E)):rT(a.d,(C(),F)))}function fYc(){this.a=new sT("Enable Audit Logging");this.b=new sT("Enable Command Logging");this.d=new sT("Enable Trace Logging")}x(4490,1395,Fu,fYc);
_.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 oT("Select Logging Type");b=new X4("Apply",new gYc(this));d=new MT;W(d,this.a);W(d,this.b);W(d,this.d);W(d,b);pT(d,this.a,(fU(),gU));pT(d,this.b,gU);pT(d,this.d,gU);jQ(a.ab,d);(A(),a.gb).style[mt]=uK;a.gb.setAttribute(Br,"font-weight:bold;");
a=OZ(e,"Audit/Command Logging for Teiid Subsystem",a);return PZ(a)};function gYc(a){this.a=a}x(4491,1,v,gYc);_.le=function(){SXc(this.a.c,K7,qT(this.a.a).a);SXc(this.a.c,L7,qT(this.a.b).a);SXc(this.a.c,NXc,qT(this.a.d).a)};x(4563,1,Qt);_.td=function(){var a=this.b,b=this.a.a,d;if(!b.c){d=zA(yB(b.a));var e;b.d||(e=new fYc,b.d=e);d=new $Xc(d,b.d,cxa(b),(iE(XD(b.a)),kE(VD(b.a)),M4(fY(b.a))));HA((QD(b.a),d),dB(QD(b.a)));b.c=d}kB(a,b.c)};G(4481);G(4482);G(4483);G(4484);G(4485);G(4486);G(4487);G(4490);
G(4491);zw(GJ)(16);function dYc(){eYc(this.b,!1)};