function K9g(a){this.a=a}
function j9g(a,b){this.a=a;this.b=b}
function p9g(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 l9g(a,b,d){this.a=a;this.b=b;this.c=d}
function n9g(a,b,d){this.a=a;this.b=b;this.c=d}
function Htk(a){E9g((this.a.A,this.b),false)}
function D9g(a){e9g(a.c,x6j);e9g(a.c,z6j);e9g(a.c,B6j)}
function ngh(a){var b;if(!a.d){b=new I9g;a.d=b}return a.d}
function g9g(a,b,d,e){lGd.call(this,a,b,d);this.b=e;this.a=new O0i(S2b)}
function B9g(a,b){zPd(b,x6j)&&f9g(a.c,b);zPd(b,z6j)&&f9g(a.c,b);zPd(b,B6j)&&f9g(a.c,b)}
function A9g(a,b){zPd(b,x6j)&&d9g(a.c,b,y6j,true);zPd(b,z6j)&&d9g(a.c,b,A6j,true);zPd(b,B6j)&&b9g(a.c,b,tAj,null)}
function G9g(a,b){b||(uYd(),Kee(Afe(Fce(sYd.a)),new mee('Removal of Logger '+a+C6j,(Cee(),Aee))))}
function F9g(a,b){b||(uYd(),Kee(Afe(Fce(sYd.a)),new mee('Addition of Logger '+a+C6j,(Cee(),Aee))))}
function E9g(a,b){b||(uYd(),Kee(Afe(Fce(sYd.a)),new mee('Addition Logging handler '+a+C6j,(Cee(),Aee))))}
function I9g(){this.a=new vjd('Enable Audit Logging');this.b=new vjd('Enable Command Logging');this.d=new vjd('Enable Trace Logging')}
function e9g(a,b){var d,e;d=nef();h8i(N7i(d),eIj,xFj);h8i(N7i(d),eUj,b);e=new v8i;g8i(Z7i(e,PGj),J_j);l8i(Z7i(e,RGj),d);Unj(new lnj(e),new j9g(a,b))}
function f9g(a,b){var d,e;d=nef();h8i(N7i(d),eIj,xFj);h8i(N7i(d),eUj,b);e=new v8i;g8i(Z7i(e,PGj),L0j);l8i(Z7i(e,RGj),d);Unj(new lnj(e),new t9g(a,b))}
function c9g(a,b,d){var e,g;e=nef();h8i(N7i(e),eIj,xFj);h8i(N7i(e),eUj,b);g=new v8i;g8i(Z7i(g,PGj),J_j);l8i(Z7i(g,RGj),e);Unj(new lnj(g),new n9g(a,d,b))}
function d9g(a,b,d,e){var g,i;g=nef();h8i(N7i(g),eIj,xFj);e?(h8i(N7i(g),CIj,d),g):(h8i(N7i(g),cVj,d),g);i=new v8i;g8i(Z7i(i,PGj),J_j);l8i(Z7i(i,RGj),g);Unj(new lnj(i),new l9g(a,b,e))}
function b9g(a,b,d,e){var g,i;g=nef();h8i(N7i(g),eIj,xFj);h8i(N7i(g),eUj,b);i=new v8i;g8i(Z7i(i,PGj),J0j);l8i(Z7i(i,RGj),g);l8i(Z7i(i,vIj),g8i(new v8i,d));e!=null&&U7i(Z7i(i,sIj),g8i(new v8i,e));Unj(new lnj(i),new r9g(a,b))}
function mgh(a){var b;if(!a.c){b=new g9g(vFd(sce(a.a)),ngh(a),lgh(a),(woj(Zde(a.a)),A1i(Xde(a.a)),SLg(lde(a.a))));HFd((tce(a.a),b),EGd(tce(a.a)));a.c=b}return a.c}
function i9g(a,b){var d,e;e=Onj(b);if(e.b.iN(kHj)&&Z7i(e,kHj).b.b!=(pmj(),omj)&&zPd(Z7i(e,kHj).b.bf(),lHj)){if(Z7i(e,YGj).b.b!=(pmj(),omj)){d=E0i(a.a.a,Z7i(e,YGj));H9g(a.a.A,a.b,d)}}else{H9g(a.a.A,a.b,null)}}
function H9g(a,b,d){zPd(x6j,b)&&(!!d&&zPd(d.NA(),uAj)?sjd(a.a,(vNd(),uNd)):sjd(a.a,(vNd(),tNd)));zPd(z6j,b)&&(!!d&&zPd(d.NA(),uAj)?sjd(a.b,(vNd(),uNd)):sjd(a.b,(vNd(),tNd)));zPd(B6j,b)&&(!!d&&zPd(d.NA(),tAj)?sjd(a.d,(vNd(),uNd)):sjd(a.d,(vNd(),tNd)))}
function C9g(a,b,d,e){if(e){zPd(b,x6j)&&b9g(a.c,b,uAj,y6j);zPd(b,z6j)&&b9g(a.c,b,uAj,A6j)}else{if(d){zPd(b,x6j)&&d9g(a.c,b,y6j,false);zPd(b,z6j)&&d9g(a.c,b,A6j,false)}else{if(zPd(b,x6j)){a9g(a.c,y6j,'teiid-audit.log');b9g(a.c,b,uAj,y6j)}if(zPd(b,z6j)){a9g(a.c,A6j,'teiid-command.log');b9g(a.c,b,uAj,A6j)}}}}
function a9g(a,b,d){var e,g,i;e=nef();h8i(N7i(e),eIj,xFj);h8i(N7i(e),cVj,b);i=new v8i;g8i(Z7i(i,PGj),J0j);l8i(Z7i(i,RGj),e);l8i(Z7i(i,HRj),g8i(new v8i,kBj));l8i(Z7i(i,PKj),g8i(new v8i,kBj));l8i(Z7i(i,vIj),g8i(new v8i,uAj));l8i(Z7i(i,aVj),g8i(new v8i,'.yyyy-MM-dd'));l8i(Z7i(i,GKj),g8i(new v8i,'%d{HH:mm:ss,SSS} %-5p [%c] (%t) %X{teiid-session} %s%E%n'));g=new v8i;l8i(Z7i(g,GEj),g8i(new v8i,d));l8i(Z7i(g,bNj),g8i(new v8i,FRj));l8i(Z7i(i,E_j),g);Unj(new lnj(i),new p9g(a,b))}
var C6j=' failed',y6j='TEIID_AUDIT_LOG',A6j='TEIID_COMMAND_LOG',B6j='org.teiid',x6j='org.teiid.AUDIT_LOG',z6j='org.teiid.COMMAND_LOG';w3c(4493,1011,Pyj,g9g);_.Ti=function(){this.A.c=this};_.Yi=function(){D9g(this.A)};_.aj=function(){Yuf(this.b,this)};w3c(4494,1298,{},j9g);_.sd=function(a){H9g(this.a.A,this.b,null)};_.eh=function(a){i9g(this,a)};w3c(4495,1298,{},l9g);_.sd=function(a){C9g(this.a.A,this.b,this.c,false)};_.eh=function(a){var b;b=Onj(a);b.b.iN(kHj)&&Z7i(b,kHj).b.b!=(pmj(),omj)&&zPd(Z7i(b,kHj).b.bf(),lHj)&&C9g(this.a.A,this.b,this.c,true)};_.c=false;w3c(4496,1298,{},n9g);_.sd=function(a){this.b&&A9g(this.a.A,this.c)};_.eh=function(a){var b;b=Onj(a);b.b.iN(kHj)&&Z7i(b,kHj).b.b!=(pmj(),omj)&&zPd(Z7i(b,kHj).b.bf(),lHj)?Z7i(b,YGj).b.b!=(pmj(),omj)&&(this.b||B9g(this.a.A,this.c)):this.b&&A9g(this.a.A,this.c)};_.b=false;w3c(4497,1298,{},p9g);_.sd=Htk;_.eh=function(a){var b;b=Onj(a);E9g((this.a.A,this.b),b.b.iN(kHj)&&Z7i(b,kHj).b.b!=(pmj(),omj)&&zPd(Z7i(b,kHj).b.bf(),lHj))};w3c(4498,1298,{},r9g);_.sd=Htk;_.eh=function(a){var b;b=Onj(a);F9g((this.a.A,this.b),b.b.iN(kHj)&&Z7i(b,kHj).b.b!=(pmj(),omj)&&zPd(Z7i(b,kHj).b.bf(),lHj))};w3c(4499,1298,{},t9g);_.sd=function(a){AYd('Failed to remove logger '+this.b,a.$b())};_.eh=function(a){var b;b=Onj(a);G9g((this.a.A,this.b),b.b.iN(kHj)&&Z7i(b,kHj).b.b!=(pmj(),omj)&&zPd(Z7i(b,kHj).b.bf(),lHj))};w3c(4502,1415,Oyj,I9g);_.Bh=function(){var a,b,d,e;a=VBe(YBe(ZBe(aCe(new cCe,'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 mvh(D6j,new K9g(this)),e=new Hwd,Ewd(e,this.a),Ewd(e,this.b),Ewd(e,this.d),Ewd(e,d),hjd(e,this.a,(Vnd(),Snd)),hjd(e,this.b,Snd),hjd(e,this.d,Snd),$r(b.ab,e),(Wfd(),b.gb).style[TCj]=E6j,zz(b.gb,vBj,F6j),b));return WBe(a)};w3c(4503,1,byj,K9g);_.le=function(a){c9g(this.a.c,x6j,ojd(this.a.a).a);c9g(this.a.c,z6j,ojd(this.a.b).a);c9g(this.a.c,B6j,ojd(this.a.d).a)};w3c(4575,1,vzj);_.td=function(){dHd(this.b,mgh(this.a.a))};var D1b=bOd(4493),v1b=bOd(4494),w1b=bOd(4495),x1b=bOd(4496),y1b=bOd(4497),z1b=bOd(4498),A1b=bOd(4499),F1b=bOd(4502),E1b=bOd(4503);jAj(fp)(16);