function X9g(a){this.a=a}
function w9g(a,b){this.a=a;this.b=b}
function C9g(a,b){this.a=a;this.b=b}
function E9g(a,b){this.a=a;this.b=b}
function G9g(a,b){this.a=a;this.b=b}
function y9g(a,b,d){this.a=a;this.b=b;this.c=d}
function A9g(a,b,d){this.a=a;this.b=b;this.c=d}
function mtk(a){R9g((this.a.A,this.b),false)}
function Q9g(a){r9g(a.c,_5j);r9g(a.c,b6j);r9g(a.c,d6j)}
function Bgh(a){var b;if(!a.d){b=new V9g;a.d=b}return a.d}
function t9g(a,b,d,e){jGd.call(this,a,b,d);this.b=e;this.a=new x0i($2b)}
function O9g(a,b){tPd(b,_5j)&&s9g(a.c,b);tPd(b,b6j)&&s9g(a.c,b);tPd(b,d6j)&&s9g(a.c,b)}
function N9g(a,b){tPd(b,_5j)&&q9g(a.c,b,a6j,true);tPd(b,b6j)&&q9g(a.c,b,c6j,true);tPd(b,d6j)&&o9g(a.c,b,Tzj,null)}
function T9g(a,b){b||(oYd(),Dee(tfe(xce(mYd.a)),new fee('Removal of Logger '+a+e6j,(vee(),tee))))}
function S9g(a,b){b||(oYd(),Dee(tfe(xce(mYd.a)),new fee('Addition of Logger '+a+e6j,(vee(),tee))))}
function R9g(a,b){b||(oYd(),Dee(tfe(xce(mYd.a)),new fee('Addition Logging handler '+a+e6j,(vee(),tee))))}
function V9g(){this.a=new sjd('Enable Audit Logging');this.b=new sjd('Enable Command Logging');this.d=new sjd('Enable Trace Logging')}
function r9g(a,b){var d,e;d=Lef();V7i(x7i(d),BHj,iFj);V7i(x7i(d),zTj,b);e=new h8i;U7i(K7i(e,kGj),f_j);Z7i(K7i(e,mGj),d);Jnj(new _mj(e),new w9g(a,b))}
function s9g(a,b){var d,e;d=Lef();V7i(x7i(d),BHj,iFj);V7i(x7i(d),zTj,b);e=new h8i;U7i(K7i(e,kGj),j0j);Z7i(K7i(e,mGj),d);Jnj(new _mj(e),new G9g(a,b))}
function p9g(a,b,d){var e,g;e=Lef();V7i(x7i(e),BHj,iFj);V7i(x7i(e),zTj,b);g=new h8i;U7i(K7i(g,kGj),f_j);Z7i(K7i(g,mGj),e);Jnj(new _mj(g),new A9g(a,d,b))}
function q9g(a,b,d,e){var g,i;g=Lef();V7i(x7i(g),BHj,iFj);e?(V7i(x7i(g),ZHj,d),g):(V7i(x7i(g),xUj,d),g);i=new h8i;U7i(K7i(i,kGj),f_j);Z7i(K7i(i,mGj),g);Jnj(new _mj(i),new y9g(a,b,e))}
function o9g(a,b,d,e){var g,i;g=Lef();V7i(x7i(g),BHj,iFj);V7i(x7i(g),zTj,b);i=new h8i;U7i(K7i(i,kGj),h0j);Z7i(K7i(i,mGj),g);Z7i(K7i(i,SHj),U7i(new h8i,d));e!=null&&E7i(K7i(i,PHj),U7i(new h8i,e));Jnj(new _mj(i),new E9g(a,b))}
function Agh(a){var b;if(!a.c){b=new t9g(tFd(kce(a.a)),Bgh(a),zgh(a),(Ynj(Sde(a.a)),j1i(Qde(a.a)),lMg(ede(a.a))));FFd((lce(a.a),b),CGd(lce(a.a)));a.c=b}return a.c}
function v9g(a,b){var d,e;e=Dnj(b);if(e.b.lN(HGj)&&K7i(e,HGj).b.b!=(emj(),dmj)&&tPd(K7i(e,HGj).b.$e(),IGj)){if(K7i(e,tGj).b.b!=(emj(),dmj)){d=n0i(a.a.a,K7i(e,tGj));U9g(a.a.A,a.b,d)}}else{U9g(a.a.A,a.b,null)}}
function U9g(a,b,d){tPd(_5j,b)&&(!!d&&tPd(d.NA(),Uzj)?pjd(a.a,(pNd(),oNd)):pjd(a.a,(pNd(),nNd)));tPd(b6j,b)&&(!!d&&tPd(d.NA(),Uzj)?pjd(a.b,(pNd(),oNd)):pjd(a.b,(pNd(),nNd)));tPd(d6j,b)&&(!!d&&tPd(d.NA(),Tzj)?pjd(a.d,(pNd(),oNd)):pjd(a.d,(pNd(),nNd)))}
function P9g(a,b,d,e){if(e){tPd(b,_5j)&&o9g(a.c,b,Uzj,a6j);tPd(b,b6j)&&o9g(a.c,b,Uzj,c6j)}else{if(d){tPd(b,_5j)&&q9g(a.c,b,a6j,false);tPd(b,b6j)&&q9g(a.c,b,c6j,false)}else{if(tPd(b,_5j)){n9g(a.c,a6j,'teiid-audit.log');o9g(a.c,b,Uzj,a6j)}if(tPd(b,b6j)){n9g(a.c,c6j,'teiid-command.log');o9g(a.c,b,Uzj,c6j)}}}}
function n9g(a,b,d){var e,g,i;e=Lef();V7i(x7i(e),BHj,iFj);V7i(x7i(e),xUj,b);i=new h8i;U7i(K7i(i,kGj),h0j);Z7i(K7i(i,mGj),e);Z7i(K7i(i,aRj),U7i(new h8i,JAj));Z7i(K7i(i,cKj),U7i(new h8i,JAj));Z7i(K7i(i,SHj),U7i(new h8i,Uzj));Z7i(K7i(i,vUj),U7i(new h8i,'.yyyy-MM-dd'));Z7i(K7i(i,$Jj),U7i(new h8i,'%d{HH:mm:ss,SSS} %-5p [%c] (%t) %X{teiid-session} %s%E%n'));g=new h8i;Z7i(K7i(g,BEj),U7i(new h8i,d));Z7i(K7i(g,vMj),U7i(new h8i,$Qj));Z7i(K7i(i,$5j),g);Jnj(new _mj(i),new C9g(a,b))}
var e6j=' failed',a6j='TEIID_AUDIT_LOG',c6j='TEIID_COMMAND_LOG',d6j='org.teiid',_5j='org.teiid.AUDIT_LOG',b6j='org.teiid.COMMAND_LOG';q3c(4502,1013,pyj,t9g);_.Ti=function(){this.A.c=this};_.Yi=function(){Q9g(this.A)};_.aj=function(){svf(this.b,this)};q3c(4503,1298,{},w9g);_.pd=function(a){U9g(this.a.A,this.b,null)};_.eh=function(a){v9g(this,a)};q3c(4504,1298,{},y9g);_.pd=function(a){P9g(this.a.A,this.b,this.c,false)};_.eh=function(a){var b;b=Dnj(a);b.b.lN(HGj)&&K7i(b,HGj).b.b!=(emj(),dmj)&&tPd(K7i(b,HGj).b.$e(),IGj)&&P9g(this.a.A,this.b,this.c,true)};_.c=false;q3c(4505,1298,{},A9g);_.pd=function(a){this.b&&N9g(this.a.A,this.c)};_.eh=function(a){var b;b=Dnj(a);b.b.lN(HGj)&&K7i(b,HGj).b.b!=(emj(),dmj)&&tPd(K7i(b,HGj).b.$e(),IGj)?K7i(b,tGj).b.b!=(emj(),dmj)&&(this.b||O9g(this.a.A,this.c)):this.b&&N9g(this.a.A,this.c)};_.b=false;q3c(4506,1298,{},C9g);_.pd=mtk;_.eh=function(a){var b;b=Dnj(a);R9g((this.a.A,this.b),b.b.lN(HGj)&&K7i(b,HGj).b.b!=(emj(),dmj)&&tPd(K7i(b,HGj).b.$e(),IGj))};q3c(4507,1298,{},E9g);_.pd=mtk;_.eh=function(a){var b;b=Dnj(a);S9g((this.a.A,this.b),b.b.lN(HGj)&&K7i(b,HGj).b.b!=(emj(),dmj)&&tPd(K7i(b,HGj).b.$e(),IGj))};q3c(4508,1298,{},G9g);_.pd=function(a){uYd('Failed to remove logger '+this.b,a._b())};_.eh=function(a){var b;b=Dnj(a);T9g((this.a.A,this.b),b.b.lN(HGj)&&K7i(b,HGj).b.b!=(emj(),dmj)&&tPd(K7i(b,HGj).b.$e(),IGj))};q3c(4511,1415,oyj,V9g);_.Ch=function(){var a,b,d,e;a=qCe(tCe(uCe(xCe(new zCe,'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 $id('Select Logging Type'),d=new kvh(f6j,new X9g(this)),e=new Rwd,Owd(e,this.a),Owd(e,this.b),Owd(e,this.d),Owd(e,d),ejd(e,this.a,(Und(),Rnd)),ejd(e,this.b,Rnd),ejd(e,this.d,Rnd),as(b.ab,e),(Xfd(),b.gb).style[nCj]=g6j,yz(b.gb,N_j,h6j),b));return rCe(a)};q3c(4512,1,Cxj,X9g);_.ie=function(a){p9g(this.a.c,_5j,ljd(this.a.a).a);p9g(this.a.c,b6j,ljd(this.a.b).a);p9g(this.a.c,d6j,ljd(this.a.d).a)};q3c(4584,1,Xyj);_.qd=function(){bHd(this.b,Agh(this.a.a))};var L1b=XNd(4502),D1b=XNd(4503),E1b=XNd(4504),F1b=XNd(4505),G1b=XNd(4506),H1b=XNd(4507),I1b=XNd(4508),N1b=XNd(4511),M1b=XNd(4512);Jzj(hp)(16);