function N9g(a){this.a=a}
function m9g(a,b){this.a=a;this.b=b}
function s9g(a,b){this.a=a;this.b=b}
function u9g(a,b){this.a=a;this.b=b}
function w9g(a,b){this.a=a;this.b=b}
function o9g(a,b,d){this.a=a;this.b=b;this.c=d}
function q9g(a,b,d){this.a=a;this.b=b;this.c=d}
function Ptk(a){H9g((this.a.A,this.b),false)}
function G9g(a){h9g(a.c,E6j);h9g(a.c,G6j);h9g(a.c,I6j)}
function pgh(a){var b;if(!a.d){b=new L9g;a.d=b}return a.d}
function j9g(a,b,d,e){oGd.call(this,a,b,d);this.b=e;this.a=new V0i(S2b)}
function E9g(a,b){CPd(b,E6j)&&i9g(a.c,b);CPd(b,G6j)&&i9g(a.c,b);CPd(b,I6j)&&i9g(a.c,b)}
function D9g(a,b){CPd(b,E6j)&&g9g(a.c,b,F6j,true);CPd(b,G6j)&&g9g(a.c,b,H6j,true);CPd(b,I6j)&&e9g(a.c,b,AAj,null)}
function J9g(a,b){b||(xYd(),Nee(Dfe(Ice(vYd.a)),new pee('Removal of Logger '+a+J6j,(Fee(),Dee))))}
function I9g(a,b){b||(xYd(),Nee(Dfe(Ice(vYd.a)),new pee('Addition of Logger '+a+J6j,(Fee(),Dee))))}
function H9g(a,b){b||(xYd(),Nee(Dfe(Ice(vYd.a)),new pee('Addition Logging handler '+a+J6j,(Fee(),Dee))))}
function L9g(){this.a=new yjd('Enable Audit Logging');this.b=new yjd('Enable Command Logging');this.d=new yjd('Enable Trace Logging')}
function h9g(a,b){var d,e;d=qef();o8i(U7i(d),lIj,EFj);o8i(U7i(d),lUj,b);e=new C8i;n8i(e8i(e,WGj),Q_j);s8i(e8i(e,YGj),d);_nj(new snj(e),new m9g(a,b))}
function i9g(a,b){var d,e;d=qef();o8i(U7i(d),lIj,EFj);o8i(U7i(d),lUj,b);e=new C8i;n8i(e8i(e,WGj),S0j);s8i(e8i(e,YGj),d);_nj(new snj(e),new w9g(a,b))}
function f9g(a,b,d){var e,g;e=qef();o8i(U7i(e),lIj,EFj);o8i(U7i(e),lUj,b);g=new C8i;n8i(e8i(g,WGj),Q_j);s8i(e8i(g,YGj),e);_nj(new snj(g),new q9g(a,d,b))}
function g9g(a,b,d,e){var g,i;g=qef();o8i(U7i(g),lIj,EFj);e?(o8i(U7i(g),JIj,d),g):(o8i(U7i(g),iVj,d),g);i=new C8i;n8i(e8i(i,WGj),Q_j);s8i(e8i(i,YGj),g);_nj(new snj(i),new o9g(a,b,e))}
function e9g(a,b,d,e){var g,i;g=qef();o8i(U7i(g),lIj,EFj);o8i(U7i(g),lUj,b);i=new C8i;n8i(e8i(i,WGj),Q0j);s8i(e8i(i,YGj),g);s8i(e8i(i,CIj),n8i(new C8i,d));e!=null&&_7i(e8i(i,zIj),n8i(new C8i,e));_nj(new snj(i),new u9g(a,b))}
function ogh(a){var b;if(!a.c){b=new j9g(yFd(vce(a.a)),pgh(a),ngh(a),(Doj(aee(a.a)),H1i($de(a.a)),VLg(ode(a.a))));KFd((wce(a.a),b),HGd(wce(a.a)));a.c=b}return a.c}
function l9g(a,b){var d,e;e=Vnj(b);if(e.b.iN(rHj)&&e8i(e,rHj).b.b!=(wmj(),vmj)&&CPd(e8i(e,rHj).b.bf(),sHj)){if(e8i(e,dHj).b.b!=(wmj(),vmj)){d=L0i(a.a.a,e8i(e,dHj));K9g(a.a.A,a.b,d)}}else{K9g(a.a.A,a.b,null)}}
function K9g(a,b,d){CPd(E6j,b)&&(!!d&&CPd(d.NA(),BAj)?vjd(a.a,(yNd(),xNd)):vjd(a.a,(yNd(),wNd)));CPd(G6j,b)&&(!!d&&CPd(d.NA(),BAj)?vjd(a.b,(yNd(),xNd)):vjd(a.b,(yNd(),wNd)));CPd(I6j,b)&&(!!d&&CPd(d.NA(),AAj)?vjd(a.d,(yNd(),xNd)):vjd(a.d,(yNd(),wNd)))}
function F9g(a,b,d,e){if(e){CPd(b,E6j)&&e9g(a.c,b,BAj,F6j);CPd(b,G6j)&&e9g(a.c,b,BAj,H6j)}else{if(d){CPd(b,E6j)&&g9g(a.c,b,F6j,false);CPd(b,G6j)&&g9g(a.c,b,H6j,false)}else{if(CPd(b,E6j)){d9g(a.c,F6j,'teiid-audit.log');e9g(a.c,b,BAj,F6j)}if(CPd(b,G6j)){d9g(a.c,H6j,'teiid-command.log');e9g(a.c,b,BAj,H6j)}}}}
function d9g(a,b,d){var e,g,i;e=qef();o8i(U7i(e),lIj,EFj);o8i(U7i(e),iVj,b);i=new C8i;n8i(e8i(i,WGj),Q0j);s8i(e8i(i,YGj),e);s8i(e8i(i,KRj),n8i(new C8i,rBj));s8i(e8i(i,WKj),n8i(new C8i,rBj));s8i(e8i(i,CIj),n8i(new C8i,BAj));s8i(e8i(i,gVj),n8i(new C8i,'.yyyy-MM-dd'));s8i(e8i(i,NKj),n8i(new C8i,'%d{HH:mm:ss,SSS} %-5p [%c] (%t) %X{teiid-session} %s%E%n'));g=new C8i;s8i(e8i(g,NEj),n8i(new C8i,d));s8i(e8i(g,iNj),n8i(new C8i,ORj));s8i(e8i(i,L_j),g);_nj(new snj(i),new s9g(a,b))}
var J6j=' failed',F6j='TEIID_AUDIT_LOG',H6j='TEIID_COMMAND_LOG',I6j='org.teiid',E6j='org.teiid.AUDIT_LOG',G6j='org.teiid.COMMAND_LOG';y3c(4493,1011,Wyj,j9g);_.Ti=function(){this.A.c=this};_.Yi=function(){G9g(this.A)};_.aj=function(){_uf(this.b,this)};y3c(4494,1298,{},m9g);_.sd=function(a){K9g(this.a.A,this.b,null)};_.eh=function(a){l9g(this,a)};y3c(4495,1298,{},o9g);_.sd=function(a){F9g(this.a.A,this.b,this.c,false)};_.eh=function(a){var b;b=Vnj(a);b.b.iN(rHj)&&e8i(b,rHj).b.b!=(wmj(),vmj)&&CPd(e8i(b,rHj).b.bf(),sHj)&&F9g(this.a.A,this.b,this.c,true)};_.c=false;y3c(4496,1298,{},q9g);_.sd=function(a){this.b&&D9g(this.a.A,this.c)};_.eh=function(a){var b;b=Vnj(a);b.b.iN(rHj)&&e8i(b,rHj).b.b!=(wmj(),vmj)&&CPd(e8i(b,rHj).b.bf(),sHj)?e8i(b,dHj).b.b!=(wmj(),vmj)&&(this.b||E9g(this.a.A,this.c)):this.b&&D9g(this.a.A,this.c)};_.b=false;y3c(4497,1298,{},s9g);_.sd=Ptk;_.eh=function(a){var b;b=Vnj(a);H9g((this.a.A,this.b),b.b.iN(rHj)&&e8i(b,rHj).b.b!=(wmj(),vmj)&&CPd(e8i(b,rHj).b.bf(),sHj))};y3c(4498,1298,{},u9g);_.sd=Ptk;_.eh=function(a){var b;b=Vnj(a);I9g((this.a.A,this.b),b.b.iN(rHj)&&e8i(b,rHj).b.b!=(wmj(),vmj)&&CPd(e8i(b,rHj).b.bf(),sHj))};y3c(4499,1298,{},w9g);_.sd=function(a){DYd('Failed to remove logger '+this.b,a.$b())};_.eh=function(a){var b;b=Vnj(a);J9g((this.a.A,this.b),b.b.iN(rHj)&&e8i(b,rHj).b.b!=(wmj(),vmj)&&CPd(e8i(b,rHj).b.bf(),sHj))};y3c(4502,1415,Vyj,L9g);_.Bh=function(){var a,b,d,e;a=YBe(_Be(aCe(dCe(new fCe,'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 cjd('Select Logging Type'),d=new tvh(K6j,new N9g(this)),e=new Kwd,Hwd(e,this.a),Hwd(e,this.b),Hwd(e,this.d),Hwd(e,d),kjd(e,this.a,(Ynd(),Vnd)),kjd(e,this.b,Vnd),kjd(e,this.d,Vnd),$r(b.ab,e),(Zfd(),b.gb).style[$Cj]=L6j,zz(b.gb,CBj,M6j),b));return ZBe(a)};y3c(4503,1,iyj,N9g);_.le=function(a){f9g(this.a.c,E6j,rjd(this.a.a).a);f9g(this.a.c,G6j,rjd(this.a.b).a);f9g(this.a.c,I6j,rjd(this.a.d).a)};y3c(4575,1,Czj);_.td=function(){gHd(this.b,ogh(this.a.a))};var D1b=eOd(4493),v1b=eOd(4494),w1b=eOd(4495),x1b=eOd(4496),y1b=eOd(4497),z1b=eOd(4498),A1b=eOd(4499),F1b=eOd(4502),E1b=eOd(4503);qAj(fp)(16);