function d9g(a){this.a=a}
function E8g(a,b){this.a=a;this.b=b}
function K8g(a,b){this.a=a;this.b=b}
function M8g(a,b){this.a=a;this.b=b}
function O8g(a,b){this.a=a;this.b=b}
function G8g(a,b,d){this.a=a;this.b=b;this.c=d}
function I8g(a,b,d){this.a=a;this.b=b;this.c=d}
function Vsk(a){Z8g((this.a.A,this.b),false)}
function Y8g(a){z8g(a.c,Q5j);z8g(a.c,S5j);z8g(a.c,U5j)}
function Ifh(a){var b;if(!a.d){b=new b9g;a.d=b}return a.d}
function B8g(a,b,d,e){GFd.call(this,a,b,d);this.b=e;this.a=new h0i(B2b)}
function W8g(a,b){UOd(b,Q5j)&&A8g(a.c,b);UOd(b,S5j)&&A8g(a.c,b);UOd(b,U5j)&&A8g(a.c,b)}
function V8g(a,b){UOd(b,Q5j)&&y8g(a.c,b,R5j,true);UOd(b,S5j)&&y8g(a.c,b,T5j,true);UOd(b,U5j)&&w8g(a.c,b,Nzj,null)}
function _8g(a,b){b||(PXd(),dee(Vee($be(NXd.a)),new Hde('Removal of Logger '+a+V5j,(Xde(),Vde))))}
function $8g(a,b){b||(PXd(),dee(Vee($be(NXd.a)),new Hde('Addition of Logger '+a+V5j,(Xde(),Vde))))}
function Z8g(a,b){b||(PXd(),dee(Vee($be(NXd.a)),new Hde('Addition Logging handler '+a+V5j,(Xde(),Vde))))}
function b9g(){this.a=new hjd('Enable Audit Logging');this.b=new hjd('Enable Command Logging');this.d=new hjd('Enable Trace Logging')}
function z8g(a,b){var d,e;d=Idf();C7i(g7i(d),wHj,PEj);C7i(g7i(d),wTj,b);e=new Q7i;B7i(s7i(e,fGj),_$j);G7i(s7i(e,hGj),d);nnj(new Gmj(e),new E8g(a,b))}
function A8g(a,b){var d,e;d=Idf();C7i(g7i(d),wHj,PEj);C7i(g7i(d),wTj,b);e=new Q7i;B7i(s7i(e,fGj),c0j);G7i(s7i(e,hGj),d);nnj(new Gmj(e),new O8g(a,b))}
function x8g(a,b,d){var e,g;e=Idf();C7i(g7i(e),wHj,PEj);C7i(g7i(e),wTj,b);g=new Q7i;B7i(s7i(g,fGj),_$j);G7i(s7i(g,hGj),e);nnj(new Gmj(g),new I8g(a,d,b))}
function y8g(a,b,d,e){var g,i;g=Idf();C7i(g7i(g),wHj,PEj);e?(C7i(g7i(g),UHj,d),g):(C7i(g7i(g),uUj,d),g);i=new Q7i;B7i(s7i(i,fGj),_$j);G7i(s7i(i,hGj),g);nnj(new Gmj(i),new G8g(a,b,e))}
function w8g(a,b,d,e){var g,i;g=Idf();C7i(g7i(g),wHj,PEj);C7i(g7i(g),wTj,b);i=new Q7i;B7i(s7i(i,fGj),a0j);G7i(s7i(i,hGj),g);G7i(s7i(i,NHj),B7i(new Q7i,d));e!=null&&n7i(s7i(i,KHj),B7i(new Q7i,e));nnj(new Gmj(i),new M8g(a,b))}
function Hfh(a){var b;if(!a.c){b=new B8g(QEd(Nbe(a.a)),Ifh(a),Gfh(a),(Rnj(sde(a.a)),V0i(qde(a.a)),lLg(Gce(a.a))));aFd((Obe(a.a),b),ZFd(Obe(a.a)));a.c=b}return a.c}
function D8g(a,b){var d,e;e=hnj(b);if(e.b.gN(CGj)&&s7i(e,CGj).b.b!=(Klj(),Jlj)&&UOd(s7i(e,CGj).b.Ze(),DGj)){if(s7i(e,oGj).b.b!=(Klj(),Jlj)){d=Z_i(a.a.a,s7i(e,oGj));a9g(a.a.A,a.b,d)}}else{a9g(a.a.A,a.b,null)}}
function a9g(a,b,d){UOd(Q5j,b)&&(!!d&&UOd(d.LA(),Ozj)?ejd(a.a,(QMd(),PMd)):ejd(a.a,(QMd(),OMd)));UOd(S5j,b)&&(!!d&&UOd(d.LA(),Ozj)?ejd(a.b,(QMd(),PMd)):ejd(a.b,(QMd(),OMd)));UOd(U5j,b)&&(!!d&&UOd(d.LA(),Nzj)?ejd(a.d,(QMd(),PMd)):ejd(a.d,(QMd(),OMd)))}
function X8g(a,b,d,e){if(e){UOd(b,Q5j)&&w8g(a.c,b,Ozj,R5j);UOd(b,S5j)&&w8g(a.c,b,Ozj,T5j)}else{if(d){UOd(b,Q5j)&&y8g(a.c,b,R5j,false);UOd(b,S5j)&&y8g(a.c,b,T5j,false)}else{if(UOd(b,Q5j)){v8g(a.c,R5j,'teiid-audit.log');w8g(a.c,b,Ozj,R5j)}if(UOd(b,S5j)){v8g(a.c,T5j,'teiid-command.log');w8g(a.c,b,Ozj,T5j)}}}}
function v8g(a,b,d){var e,g,i;e=Idf();C7i(g7i(e),wHj,PEj);C7i(g7i(e),uUj,b);i=new Q7i;B7i(s7i(i,fGj),a0j);G7i(s7i(i,hGj),e);G7i(s7i(i,ZQj),B7i(new Q7i,DAj));G7i(s7i(i,fKj),B7i(new Q7i,DAj));G7i(s7i(i,NHj),B7i(new Q7i,Ozj));G7i(s7i(i,sUj),B7i(new Q7i,'.yyyy-MM-dd'));G7i(s7i(i,YJj),B7i(new Q7i,'%d{HH:mm:ss,SSS} %-5p [%c] (%t) %X{teiid-session} %s%E%n'));g=new Q7i;G7i(s7i(g,YDj),B7i(new Q7i,d));G7i(s7i(g,tMj),B7i(new Q7i,XQj));G7i(s7i(i,W$j),g);nnj(new Gmj(i),new K8g(a,b))}
var V5j=' failed',R5j='TEIID_AUDIT_LOG',T5j='TEIID_COMMAND_LOG',U5j='org.teiid',Q5j='org.teiid.AUDIT_LOG',S5j='org.teiid.COMMAND_LOG';f3c(4489,1007,hyj,B8g);_.Qi=function(){this.A.c=this};_.Vi=function(){Y8g(this.A)};_.Zi=function(){ruf(this.b,this)};f3c(4490,1294,{},E8g);_.od=function(a){a9g(this.a.A,this.b,null)};_.dh=function(a){D8g(this,a)};f3c(4491,1294,{},G8g);_.od=function(a){X8g(this.a.A,this.b,this.c,false)};_.dh=function(a){var b;b=hnj(a);b.b.gN(CGj)&&s7i(b,CGj).b.b!=(Klj(),Jlj)&&UOd(s7i(b,CGj).b.Ze(),DGj)&&X8g(this.a.A,this.b,this.c,true)};_.c=false;f3c(4492,1294,{},I8g);_.od=function(a){this.b&&V8g(this.a.A,this.c)};_.dh=function(a){var b;b=hnj(a);b.b.gN(CGj)&&s7i(b,CGj).b.b!=(Klj(),Jlj)&&UOd(s7i(b,CGj).b.Ze(),DGj)?s7i(b,oGj).b.b!=(Klj(),Jlj)&&(this.b||W8g(this.a.A,this.c)):this.b&&V8g(this.a.A,this.c)};_.b=false;f3c(4493,1294,{},K8g);_.od=Vsk;_.dh=function(a){var b;b=hnj(a);Z8g((this.a.A,this.b),b.b.gN(CGj)&&s7i(b,CGj).b.b!=(Klj(),Jlj)&&UOd(s7i(b,CGj).b.Ze(),DGj))};f3c(4494,1294,{},M8g);_.od=Vsk;_.dh=function(a){var b;b=hnj(a);$8g((this.a.A,this.b),b.b.gN(CGj)&&s7i(b,CGj).b.b!=(Klj(),Jlj)&&UOd(s7i(b,CGj).b.Ze(),DGj))};f3c(4495,1294,{},O8g);_.od=function(a){VXd('Failed to remove logger '+this.b,a.$b())};_.dh=function(a){var b;b=hnj(a);_8g((this.a.A,this.b),b.b.gN(CGj)&&s7i(b,CGj).b.b!=(Klj(),Jlj)&&UOd(s7i(b,CGj).b.Ze(),DGj))};f3c(4498,1411,gyj,b9g);_.Ah=function(){var a,b,d,e;a=oBe(rBe(sBe(vBe(new xBe,'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 Pid('Select Logging Type'),d=new Huh(W5j,new d9g(this)),e=new rwd,owd(e,this.a),owd(e,this.b),owd(e,this.d),owd(e,d),Vid(e,this.a,(Fnd(),Cnd)),Vid(e,this.b,Cnd),Vid(e,this.d,Cnd),Ur(b.ab,e),(Mfd(),b.gb).style[iCj]=X5j,qz(b.gb,G_j,Y5j),b));return pBe(a)};f3c(4499,1,vxj,d9g);_.he=function(a){x8g(this.a.c,Q5j,ajd(this.a.a).a);x8g(this.a.c,S5j,ajd(this.a.b).a);x8g(this.a.c,U5j,ajd(this.a.d).a)};f3c(4571,1,Pyj);_.pd=function(){yGd(this.b,Hfh(this.a.a))};var m1b=wNd(4489),e1b=wNd(4490),f1b=wNd(4491),g1b=wNd(4492),h1b=wNd(4493),i1b=wNd(4494),j1b=wNd(4495),o1b=wNd(4498),n1b=wNd(4499);Dzj(_o)(16);