function Cah(a){this.a=a}
function bah(a,b){this.a=a;this.b=b}
function hah(a,b){this.a=a;this.b=b}
function jah(a,b){this.a=a;this.b=b}
function lah(a,b){this.a=a;this.b=b}
function dah(a,b,d){this.a=a;this.b=b;this.c=d}
function fah(a,b,d){this.a=a;this.b=b;this.c=d}
function ouk(a){wah((this.a.A,this.b),false)}
function vah(a){Y9g(a.c,d7j);Y9g(a.c,f7j);Y9g(a.c,h7j)}
function fhh(a){var b;if(!a.d){b=new Aah;a.d=b}return a.d}
function $9g(a,b,d,e){CGd.call(this,a,b,d);this.b=e;this.a=new n1i(m3b)}
function tah(a,b){QPd(b,d7j)&&Z9g(a.c,b);QPd(b,f7j)&&Z9g(a.c,b);QPd(b,h7j)&&Z9g(a.c,b)}
function sah(a,b){QPd(b,d7j)&&X9g(a.c,b,e7j,true);QPd(b,f7j)&&X9g(a.c,b,g7j,true);QPd(b,h7j)&&V9g(a.c,b,TAj,null)}
function yah(a,b){b||(LYd(),afe(Sfe(Wce(JYd.a)),new Eee('Removal of Logger '+a+i7j,(Uee(),See))))}
function xah(a,b){b||(LYd(),afe(Sfe(Wce(JYd.a)),new Eee('Addition of Logger '+a+i7j,(Uee(),See))))}
function wah(a,b){b||(LYd(),afe(Sfe(Wce(JYd.a)),new Eee('Addition Logging handler '+a+i7j,(Uee(),See))))}
function Aah(){this.a=new Jjd('Enable Audit Logging');this.b=new Jjd('Enable Command Logging');this.d=new Jjd('Enable Trace Logging')}
function Y9g(a,b){var d,e;d=lff();I8i(m8i(d),FIj,RFj);I8i(m8i(d),DUj,b);e=new W8i;H8i(y8i(e,oHj),i0j);M8i(y8i(e,qHj),d);uoj(new Nnj(e),new bah(a,b))}
function Z9g(a,b){var d,e;d=lff();I8i(m8i(d),FIj,RFj);I8i(m8i(d),DUj,b);e=new W8i;H8i(y8i(e,oHj),k1j);M8i(y8i(e,qHj),d);uoj(new Nnj(e),new lah(a,b))}
function W9g(a,b,d){var e,g;e=lff();I8i(m8i(e),FIj,RFj);I8i(m8i(e),DUj,b);g=new W8i;H8i(y8i(g,oHj),i0j);M8i(y8i(g,qHj),e);uoj(new Nnj(g),new fah(a,d,b))}
function X9g(a,b,d,e){var g,i;g=lff();I8i(m8i(g),FIj,RFj);e?(I8i(m8i(g),bJj,d),g):(I8i(m8i(g),BVj,d),g);i=new W8i;H8i(y8i(i,oHj),i0j);M8i(y8i(i,qHj),g);uoj(new Nnj(i),new dah(a,b,e))}
function V9g(a,b,d,e){var g,i;g=lff();I8i(m8i(g),FIj,RFj);I8i(m8i(g),DUj,b);i=new W8i;H8i(y8i(i,oHj),i1j);M8i(y8i(i,qHj),g);M8i(y8i(i,WIj),H8i(new W8i,d));e!=null&&t8i(y8i(i,TIj),H8i(new W8i,e));uoj(new Nnj(i),new jah(a,b))}
function ehh(a){var b;if(!a.c){b=new $9g(MFd(Jce(a.a)),fhh(a),dhh(a),(Yoj(pee(a.a)),_1i(nee(a.a)),PMg(Dde(a.a))));YFd((Kce(a.a),b),VGd(Kce(a.a)));a.c=b}return a.c}
function aah(a,b){var d,e;e=ooj(b);if(e.b.kN(LHj)&&y8i(e,LHj).b.b!=(Rmj(),Qmj)&&QPd(y8i(e,LHj).b.cf(),MHj)){if(y8i(e,xHj).b.b!=(Rmj(),Qmj)){d=d1i(a.a.a,y8i(e,xHj));zah(a.a.A,a.b,d)}}else{zah(a.a.A,a.b,null)}}
function zah(a,b,d){QPd(d7j,b)&&(!!d&&QPd(d.PA(),UAj)?Gjd(a.a,(MNd(),LNd)):Gjd(a.a,(MNd(),KNd)));QPd(f7j,b)&&(!!d&&QPd(d.PA(),UAj)?Gjd(a.b,(MNd(),LNd)):Gjd(a.b,(MNd(),KNd)));QPd(h7j,b)&&(!!d&&QPd(d.PA(),TAj)?Gjd(a.d,(MNd(),LNd)):Gjd(a.d,(MNd(),KNd)))}
function uah(a,b,d,e){if(e){QPd(b,d7j)&&V9g(a.c,b,UAj,e7j);QPd(b,f7j)&&V9g(a.c,b,UAj,g7j)}else{if(d){QPd(b,d7j)&&X9g(a.c,b,e7j,false);QPd(b,f7j)&&X9g(a.c,b,g7j,false)}else{if(QPd(b,d7j)){U9g(a.c,e7j,'teiid-audit.log');V9g(a.c,b,UAj,e7j)}if(QPd(b,f7j)){U9g(a.c,g7j,'teiid-command.log');V9g(a.c,b,UAj,g7j)}}}}
function U9g(a,b,d){var e,g,i;e=lff();I8i(m8i(e),FIj,RFj);I8i(m8i(e),BVj,b);i=new W8i;H8i(y8i(i,oHj),i1j);M8i(y8i(i,qHj),e);M8i(y8i(i,eSj),H8i(new W8i,KBj));M8i(y8i(i,lLj),H8i(new W8i,KBj));M8i(y8i(i,WIj),H8i(new W8i,UAj));M8i(y8i(i,zVj),H8i(new W8i,'.yyyy-MM-dd'));M8i(y8i(i,cLj),H8i(new W8i,'%d{HH:mm:ss,SSS} %-5p [%c] (%t) %X{teiid-session} %s%E%n'));g=new W8i;M8i(y8i(g,QGj),H8i(new W8i,d));M8i(y8i(g,ANj),H8i(new W8i,cSj));M8i(y8i(i,d0j),g);uoj(new Nnj(i),new hah(a,b))}
var i7j=' failed',e7j='TEIID_AUDIT_LOG',g7j='TEIID_COMMAND_LOG',h7j='org.teiid',d7j='org.teiid.AUDIT_LOG',f7j='org.teiid.COMMAND_LOG';K3c(4507,1013,pzj,$9g);_.Ui=function(){this.A.c=this};_.Zi=function(){vah(this.A)};_.bj=function(){Vvf(this.b,this)};K3c(4508,1300,{},bah);_.td=function(a){zah(this.a.A,this.b,null)};_.fh=function(a){aah(this,a)};K3c(4509,1300,{},dah);_.td=function(a){uah(this.a.A,this.b,this.c,false)};_.fh=function(a){var b;b=ooj(a);b.b.kN(LHj)&&y8i(b,LHj).b.b!=(Rmj(),Qmj)&&QPd(y8i(b,LHj).b.cf(),MHj)&&uah(this.a.A,this.b,this.c,true)};_.c=false;K3c(4510,1300,{},fah);_.td=function(a){this.b&&sah(this.a.A,this.c)};_.fh=function(a){var b;b=ooj(a);b.b.kN(LHj)&&y8i(b,LHj).b.b!=(Rmj(),Qmj)&&QPd(y8i(b,LHj).b.cf(),MHj)?y8i(b,xHj).b.b!=(Rmj(),Qmj)&&(this.b||tah(this.a.A,this.c)):this.b&&sah(this.a.A,this.c)};_.b=false;K3c(4511,1300,{},hah);_.td=ouk;_.fh=function(a){var b;b=ooj(a);wah((this.a.A,this.b),b.b.kN(LHj)&&y8i(b,LHj).b.b!=(Rmj(),Qmj)&&QPd(y8i(b,LHj).b.cf(),MHj))};K3c(4512,1300,{},jah);_.td=ouk;_.fh=function(a){var b;b=ooj(a);xah((this.a.A,this.b),b.b.kN(LHj)&&y8i(b,LHj).b.b!=(Rmj(),Qmj)&&QPd(y8i(b,LHj).b.cf(),MHj))};K3c(4513,1300,{},lah);_.td=function(a){RYd('Failed to remove logger '+this.b,a._b())};_.fh=function(a){var b;b=ooj(a);yah((this.a.A,this.b),b.b.kN(LHj)&&y8i(b,LHj).b.b!=(Rmj(),Qmj)&&QPd(y8i(b,LHj).b.cf(),MHj))};K3c(4516,1417,ozj,Aah);_.Ch=function(){var a,b,d,e;a=SCe(VCe(WCe(ZCe(new _Ce,'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 njd('Select Logging Type'),d=new ewh(j7j,new Cah(this)),e=new Ywd,Vwd(e,this.a),Vwd(e,this.b),Vwd(e,this.d),Vwd(e,d),vjd(e,this.a,(kod(),hod)),vjd(e,this.b,hod),vjd(e,this.d,hod),gs(b.ab,e),(igd(),b.gb).style[rDj]=k7j,Hz(b.gb,VBj,l7j),b));return TCe(a)};K3c(4517,1,Dyj,Cah);_.me=function(a){W9g(this.a.c,d7j,Cjd(this.a.a).a);W9g(this.a.c,f7j,Cjd(this.a.b).a);W9g(this.a.c,h7j,Cjd(this.a.d).a)};K3c(4589,1,Xzj);_.ud=function(){uHd(this.b,ehh(this.a.a))};var Z1b=sOd(4507),R1b=sOd(4508),S1b=sOd(4509),T1b=sOd(4510),U1b=sOd(4511),V1b=sOd(4512),W1b=sOd(4513),_1b=sOd(4516),$1b=sOd(4517);JAj(np)(16);