function Z8g(a){this.a=a}
function y8g(a,b){this.a=a;this.b=b}
function E8g(a,b){this.a=a;this.b=b}
function G8g(a,b){this.a=a;this.b=b}
function I8g(a,b){this.a=a;this.b=b}
function A8g(a,b,d){this.a=a;this.b=b;this.c=d}
function C8g(a,b,d){this.a=a;this.b=b;this.c=d}
function wsk(a){T8g((this.a.A,this.b),false)}
function S8g(a){t8g(a.c,r5j);t8g(a.c,t5j);t8g(a.c,v5j)}
function Cfh(a){var b;if(!a.d){b=new X8g;a.d=b}return a.d}
function v8g(a,b,d,e){GFd.call(this,a,b,d);this.b=e;this.a=new K_i(J2b)}
function Q8g(a,b){UOd(b,r5j)&&u8g(a.c,b);UOd(b,t5j)&&u8g(a.c,b);UOd(b,v5j)&&u8g(a.c,b)}
function P8g(a,b){UOd(b,r5j)&&s8g(a.c,b,s5j,true);UOd(b,t5j)&&s8g(a.c,b,u5j,true);UOd(b,v5j)&&q8g(a.c,b,ozj,null)}
function V8g(a,b){b||(PXd(),dee(Vee($be(NXd.a)),new Hde('Removal of Logger '+a+w5j,(Xde(),Vde))))}
function U8g(a,b){b||(PXd(),dee(Vee($be(NXd.a)),new Hde('Addition of Logger '+a+w5j,(Xde(),Vde))))}
function T8g(a,b){b||(PXd(),dee(Vee($be(NXd.a)),new Hde('Addition Logging handler '+a+w5j,(Xde(),Vde))))}
function X8g(){this.a=new hjd('Enable Audit Logging');this.b=new hjd('Enable Command Logging');this.d=new hjd('Enable Trace Logging')}
function t8g(a,b){var d,e;d=Hdf();d7i(J6i(d),ZGj,jEj);d7i(J6i(d),XSj,b);e=new r7i;c7i(V6i(e,IFj),C$j);h7i(V6i(e,KFj),d);Qmj(new hmj(e),new y8g(a,b))}
function u8g(a,b){var d,e;d=Hdf();d7i(J6i(d),ZGj,jEj);d7i(J6i(d),XSj,b);e=new r7i;c7i(V6i(e,IFj),F_j);h7i(V6i(e,KFj),d);Qmj(new hmj(e),new I8g(a,b))}
function r8g(a,b,d){var e,g;e=Hdf();d7i(J6i(e),ZGj,jEj);d7i(J6i(e),XSj,b);g=new r7i;c7i(V6i(g,IFj),C$j);h7i(V6i(g,KFj),e);Qmj(new hmj(g),new C8g(a,d,b))}
function s8g(a,b,d,e){var g,i;g=Hdf();d7i(J6i(g),ZGj,jEj);e?(d7i(J6i(g),vHj,d),g):(d7i(J6i(g),VTj,d),g);i=new r7i;c7i(V6i(i,IFj),C$j);h7i(V6i(i,KFj),g);Qmj(new hmj(i),new A8g(a,b,e))}
function q8g(a,b,d,e){var g,i;g=Hdf();d7i(J6i(g),ZGj,jEj);d7i(J6i(g),XSj,b);i=new r7i;c7i(V6i(i,IFj),D_j);h7i(V6i(i,KFj),g);h7i(V6i(i,oHj),c7i(new r7i,d));e!=null&&Q6i(V6i(i,lHj),c7i(new r7i,e));Qmj(new hmj(i),new G8g(a,b))}
function Bfh(a){var b;if(!a.c){b=new v8g(QEd(Nbe(a.a)),Cfh(a),Afh(a),(snj(sde(a.a)),w0i(qde(a.a)),kLg(Gce(a.a))));aFd((Obe(a.a),b),ZFd(Obe(a.a)));a.c=b}return a.c}
function x8g(a,b){var d,e;e=Kmj(b);if(e.b.gN(dGj)&&V6i(e,dGj).b.b!=(llj(),klj)&&UOd(V6i(e,dGj).b.Ze(),eGj)){if(V6i(e,RFj).b.b!=(llj(),klj)){d=A_i(a.a.a,V6i(e,RFj));W8g(a.a.A,a.b,d)}}else{W8g(a.a.A,a.b,null)}}
function W8g(a,b,d){UOd(r5j,b)&&(!!d&&UOd(d.LA(),pzj)?ejd(a.a,(QMd(),PMd)):ejd(a.a,(QMd(),OMd)));UOd(t5j,b)&&(!!d&&UOd(d.LA(),pzj)?ejd(a.b,(QMd(),PMd)):ejd(a.b,(QMd(),OMd)));UOd(v5j,b)&&(!!d&&UOd(d.LA(),ozj)?ejd(a.d,(QMd(),PMd)):ejd(a.d,(QMd(),OMd)))}
function R8g(a,b,d,e){if(e){UOd(b,r5j)&&q8g(a.c,b,pzj,s5j);UOd(b,t5j)&&q8g(a.c,b,pzj,u5j)}else{if(d){UOd(b,r5j)&&s8g(a.c,b,s5j,false);UOd(b,t5j)&&s8g(a.c,b,u5j,false)}else{if(UOd(b,r5j)){p8g(a.c,s5j,'teiid-audit.log');q8g(a.c,b,pzj,s5j)}if(UOd(b,t5j)){p8g(a.c,u5j,'teiid-command.log');q8g(a.c,b,pzj,u5j)}}}}
function p8g(a,b,d){var e,g,i;e=Hdf();d7i(J6i(e),ZGj,jEj);d7i(J6i(e),VTj,b);i=new r7i;c7i(V6i(i,IFj),D_j);h7i(V6i(i,KFj),e);h7i(V6i(i,yQj),c7i(new r7i,eAj));h7i(V6i(i,FJj),c7i(new r7i,eAj));h7i(V6i(i,oHj),c7i(new r7i,pzj));h7i(V6i(i,TTj),c7i(new r7i,'.yyyy-MM-dd'));h7i(V6i(i,wJj),c7i(new r7i,'%d{HH:mm:ss,SSS} %-5p [%c] (%t) %X{teiid-session} %s%E%n'));g=new r7i;h7i(V6i(g,iFj),c7i(new r7i,d));h7i(V6i(g,ULj),c7i(new r7i,wQj));h7i(V6i(i,x$j),g);Qmj(new hmj(i),new E8g(a,b))}
var w5j=' failed',s5j='TEIID_AUDIT_LOG',u5j='TEIID_COMMAND_LOG',v5j='org.teiid',r5j='org.teiid.AUDIT_LOG',t5j='org.teiid.COMMAND_LOG';f3c(4488,1006,Kxj,v8g);_.Qi=function(){this.A.c=this};_.Vi=function(){S8g(this.A)};_.Zi=function(){quf(this.b,this)};f3c(4489,1293,{},y8g);_.od=function(a){W8g(this.a.A,this.b,null)};_.dh=function(a){x8g(this,a)};f3c(4490,1293,{},A8g);_.od=function(a){R8g(this.a.A,this.b,this.c,false)};_.dh=function(a){var b;b=Kmj(a);b.b.gN(dGj)&&V6i(b,dGj).b.b!=(llj(),klj)&&UOd(V6i(b,dGj).b.Ze(),eGj)&&R8g(this.a.A,this.b,this.c,true)};_.c=false;f3c(4491,1293,{},C8g);_.od=function(a){this.b&&P8g(this.a.A,this.c)};_.dh=function(a){var b;b=Kmj(a);b.b.gN(dGj)&&V6i(b,dGj).b.b!=(llj(),klj)&&UOd(V6i(b,dGj).b.Ze(),eGj)?V6i(b,RFj).b.b!=(llj(),klj)&&(this.b||Q8g(this.a.A,this.c)):this.b&&P8g(this.a.A,this.c)};_.b=false;f3c(4492,1293,{},E8g);_.od=wsk;_.dh=function(a){var b;b=Kmj(a);T8g((this.a.A,this.b),b.b.gN(dGj)&&V6i(b,dGj).b.b!=(llj(),klj)&&UOd(V6i(b,dGj).b.Ze(),eGj))};f3c(4493,1293,{},G8g);_.od=wsk;_.dh=function(a){var b;b=Kmj(a);U8g((this.a.A,this.b),b.b.gN(dGj)&&V6i(b,dGj).b.b!=(llj(),klj)&&UOd(V6i(b,dGj).b.Ze(),eGj))};f3c(4494,1293,{},I8g);_.od=function(a){VXd('Failed to remove logger '+this.b,a.$b())};_.dh=function(a){var b;b=Kmj(a);V8g((this.a.A,this.b),b.b.gN(dGj)&&V6i(b,dGj).b.b!=(llj(),klj)&&UOd(V6i(b,dGj).b.Ze(),eGj))};f3c(4497,1410,Jxj,X8g);_.Ah=function(){var a,b,d,e;a=nBe(qBe(rBe(uBe(new wBe,'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'),'Audit/Command Logging for Teiid Subsystem',(b=new Pid('Select Logging Type'),d=new Buh(x5j,new Z8g(this)),e=new rwd,owd(e,this.a),owd(e,this.b),owd(e,this.d),owd(e,d),Vid(e,this.a,(Fnd(),Cnd)),Vid(e,this.b,Cnd),Vid(e,this.d,Cnd),as(b.ab,e),(Mfd(),b.gb).style[LBj]=y5j,yz(b.gb,h_j,z5j),b));return oBe(a)};f3c(4498,1,Ywj,Z8g);_.he=function(a){r8g(this.a.c,r5j,ajd(this.a.a).a);r8g(this.a.c,t5j,ajd(this.a.b).a);r8g(this.a.c,v5j,ajd(this.a.d).a)};f3c(4570,1,qyj);_.pd=function(){yGd(this.b,Bfh(this.a.a))};var u1b=wNd(4488),m1b=wNd(4489),n1b=wNd(4490),o1b=wNd(4491),p1b=wNd(4492),q1b=wNd(4493),r1b=wNd(4494),w1b=wNd(4497),v1b=wNd(4498);ezj(hp)(16);