function kah(a){this.a=a}
function L9g(a,b){this.a=a;this.b=b}
function R9g(a,b){this.a=a;this.b=b}
function T9g(a,b){this.a=a;this.b=b}
function V9g(a,b){this.a=a;this.b=b}
function N9g(a,b,d){this.a=a;this.b=b;this.c=d}
function P9g(a,b,d){this.a=a;this.b=b;this.c=d}
function Htk(a){eah((this.a.A,this.b),false)}
function dah(a){G9g(a.c,p6j);G9g(a.c,r6j);G9g(a.c,t6j)}
function Qgh(a){var b;if(!a.d){b=new iah;a.d=b}return a.d}
function I9g(a,b,d,e){yGd.call(this,a,b,d);this.b=e;this.a=new M0i(k3b)}
function bah(a,b){IPd(b,p6j)&&H9g(a.c,b);IPd(b,r6j)&&H9g(a.c,b);IPd(b,t6j)&&H9g(a.c,b)}
function aah(a,b){IPd(b,p6j)&&F9g(a.c,b,q6j,true);IPd(b,r6j)&&F9g(a.c,b,s6j,true);IPd(b,t6j)&&D9g(a.c,b,hAj,null)}
function gah(a,b){b||(DYd(),See(Ife(Mce(BYd.a)),new uee('Removal of Logger '+a+u6j,(Kee(),Iee))))}
function fah(a,b){b||(DYd(),See(Ife(Mce(BYd.a)),new uee('Addition of Logger '+a+u6j,(Kee(),Iee))))}
function eah(a,b){b||(DYd(),See(Ife(Mce(BYd.a)),new uee('Addition Logging handler '+a+u6j,(Kee(),Iee))))}
function iah(){this.a=new Bjd('Enable Audit Logging');this.b=new Bjd('Enable Command Logging');this.d=new Bjd('Enable Trace Logging')}
function G9g(a,b){var d,e;d=$ef();i8i(M7i(d),SHj,zFj);i8i(M7i(d),QTj,b);e=new w8i;h8i(Z7i(e,BGj),w_j);m8i(Z7i(e,DGj),d);Ynj(new onj(e),new L9g(a,b))}
function H9g(a,b){var d,e;d=$ef();i8i(M7i(d),SHj,zFj);i8i(M7i(d),QTj,b);e=new w8i;h8i(Z7i(e,BGj),z0j);m8i(Z7i(e,DGj),d);Ynj(new onj(e),new V9g(a,b))}
function E9g(a,b,d){var e,g;e=$ef();i8i(M7i(e),SHj,zFj);i8i(M7i(e),QTj,b);g=new w8i;h8i(Z7i(g,BGj),w_j);m8i(Z7i(g,DGj),e);Ynj(new onj(g),new P9g(a,d,b))}
function F9g(a,b,d,e){var g,i;g=$ef();i8i(M7i(g),SHj,zFj);e?(i8i(M7i(g),oIj,d),g):(i8i(M7i(g),OUj,d),g);i=new w8i;h8i(Z7i(i,BGj),w_j);m8i(Z7i(i,DGj),g);Ynj(new onj(i),new N9g(a,b,e))}
function D9g(a,b,d,e){var g,i;g=$ef();i8i(M7i(g),SHj,zFj);i8i(M7i(g),QTj,b);i=new w8i;h8i(Z7i(i,BGj),x0j);m8i(Z7i(i,DGj),g);m8i(Z7i(i,hIj),h8i(new w8i,d));e!=null&&T7i(Z7i(i,eIj),h8i(new w8i,e));Ynj(new onj(i),new T9g(a,b))}
function Pgh(a){var b;if(!a.c){b=new I9g(IFd(zce(a.a)),Qgh(a),Ogh(a),(loj(fee(a.a)),y1i(dee(a.a)),AMg(tde(a.a))));UFd((Ace(a.a),b),RGd(Ace(a.a)));a.c=b}return a.c}
function K9g(a,b){var d,e;e=Snj(b);if(e.b.mN(YGj)&&Z7i(e,YGj).b.b!=(tmj(),smj)&&IPd(Z7i(e,YGj).b.cf(),ZGj)){if(Z7i(e,KGj).b.b!=(tmj(),smj)){d=C0i(a.a.a,Z7i(e,KGj));hah(a.a.A,a.b,d)}}else{hah(a.a.A,a.b,null)}}
function hah(a,b,d){IPd(p6j,b)&&(!!d&&IPd(d.OA(),iAj)?yjd(a.a,(ENd(),DNd)):yjd(a.a,(ENd(),CNd)));IPd(r6j,b)&&(!!d&&IPd(d.OA(),iAj)?yjd(a.b,(ENd(),DNd)):yjd(a.b,(ENd(),CNd)));IPd(t6j,b)&&(!!d&&IPd(d.OA(),hAj)?yjd(a.d,(ENd(),DNd)):yjd(a.d,(ENd(),CNd)))}
function cah(a,b,d,e){if(e){IPd(b,p6j)&&D9g(a.c,b,iAj,q6j);IPd(b,r6j)&&D9g(a.c,b,iAj,s6j)}else{if(d){IPd(b,p6j)&&F9g(a.c,b,q6j,false);IPd(b,r6j)&&F9g(a.c,b,s6j,false)}else{if(IPd(b,p6j)){C9g(a.c,q6j,'teiid-audit.log');D9g(a.c,b,iAj,q6j)}if(IPd(b,r6j)){C9g(a.c,s6j,'teiid-command.log');D9g(a.c,b,iAj,s6j)}}}}
function C9g(a,b,d){var e,g,i;e=$ef();i8i(M7i(e),SHj,zFj);i8i(M7i(e),OUj,b);i=new w8i;h8i(Z7i(i,BGj),x0j);m8i(Z7i(i,DGj),e);m8i(Z7i(i,rRj),h8i(new w8i,$Aj));m8i(Z7i(i,tKj),h8i(new w8i,$Aj));m8i(Z7i(i,hIj),h8i(new w8i,iAj));m8i(Z7i(i,MUj),h8i(new w8i,'.yyyy-MM-dd'));m8i(Z7i(i,pKj),h8i(new w8i,'%d{HH:mm:ss,SSS} %-5p [%c] (%t) %X{teiid-session} %s%E%n'));g=new w8i;m8i(Z7i(g,SEj),h8i(new w8i,d));m8i(Z7i(g,MMj),h8i(new w8i,pRj));m8i(Z7i(i,o6j),g);Ynj(new onj(i),new R9g(a,b))}
var u6j=' failed',q6j='TEIID_AUDIT_LOG',s6j='TEIID_COMMAND_LOG',t6j='org.teiid',p6j='org.teiid.AUDIT_LOG',r6j='org.teiid.COMMAND_LOG';C3c(4503,1014,Fyj,I9g);_.Vi=function(){this.A.c=this};_.$i=function(){dah(this.A)};_.cj=function(){Hvf(this.b,this)};C3c(4504,1299,{},L9g);_.td=function(a){hah(this.a.A,this.b,null)};_.fh=function(a){K9g(this,a)};C3c(4505,1299,{},N9g);_.td=function(a){cah(this.a.A,this.b,this.c,false)};_.fh=function(a){var b;b=Snj(a);b.b.mN(YGj)&&Z7i(b,YGj).b.b!=(tmj(),smj)&&IPd(Z7i(b,YGj).b.cf(),ZGj)&&cah(this.a.A,this.b,this.c,true)};_.c=false;C3c(4506,1299,{},P9g);_.td=function(a){this.b&&aah(this.a.A,this.c)};_.fh=function(a){var b;b=Snj(a);b.b.mN(YGj)&&Z7i(b,YGj).b.b!=(tmj(),smj)&&IPd(Z7i(b,YGj).b.cf(),ZGj)?Z7i(b,KGj).b.b!=(tmj(),smj)&&(this.b||bah(this.a.A,this.c)):this.b&&aah(this.a.A,this.c)};_.b=false;C3c(4507,1299,{},R9g);_.td=Htk;_.fh=function(a){var b;b=Snj(a);eah((this.a.A,this.b),b.b.mN(YGj)&&Z7i(b,YGj).b.b!=(tmj(),smj)&&IPd(Z7i(b,YGj).b.cf(),ZGj))};C3c(4508,1299,{},T9g);_.td=Htk;_.fh=function(a){var b;b=Snj(a);fah((this.a.A,this.b),b.b.mN(YGj)&&Z7i(b,YGj).b.b!=(tmj(),smj)&&IPd(Z7i(b,YGj).b.cf(),ZGj))};C3c(4509,1299,{},V9g);_.td=function(a){JYd('Failed to remove logger '+this.b,a._b())};_.fh=function(a){var b;b=Snj(a);gah((this.a.A,this.b),b.b.mN(YGj)&&Z7i(b,YGj).b.b!=(tmj(),smj)&&IPd(Z7i(b,YGj).b.cf(),ZGj))};C3c(4512,1416,Eyj,iah);_.Dh=function(){var a,b,d,e;a=FCe(ICe(JCe(MCe(new OCe,'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 fjd('Select Logging Type'),d=new zvh(v6j,new kah(this)),e=new Uwd,Rwd(e,this.a),Rwd(e,this.b),Rwd(e,this.d),Rwd(e,d),njd(e,this.a,(cod(),_nd)),njd(e,this.b,_nd),njd(e,this.d,_nd),gs(b.ab,e),(agd(),b.gb).style[GCj]=w6j,Hz(b.gb,jBj,x6j),b));return GCe(a)};C3c(4513,1,Sxj,kah);_.me=function(a){E9g(this.a.c,p6j,ujd(this.a.a).a);E9g(this.a.c,r6j,ujd(this.a.b).a);E9g(this.a.c,t6j,ujd(this.a.d).a)};C3c(4585,1,lzj);_.ud=function(){qHd(this.b,Pgh(this.a.a))};var X1b=kOd(4503),P1b=kOd(4504),Q1b=kOd(4505),R1b=kOd(4506),S1b=kOd(4507),T1b=kOd(4508),U1b=kOd(4509),Z1b=kOd(4512),Y1b=kOd(4513);Zzj(np)(16);