var sZc=" failed",tZc="TEIID_AUDIT_LOG",uZc="TEIID_COMMAND_LOG",vZc="org.teiid",K7="org.teiid.AUDIT_LOG",L7="org.teiid.COMMAND_LOG";
function wZc(a,b,d){var e,h;e=z1();BI(AI(e),Br,gl);BI(AI(e),yha,b);h=new H;I(J(h,on),DM);GI(J(h,n),e);GI(J(h,Fd),I(new H,ts));GI(J(h,$d),I(new H,ts));GI(J(h,Kk),I(new H,gb));GI(J(h,Dr),I(new H,".yyyy-MM-dd"));GI(J(h,ii),I(new H,"%d{HH:mm:ss,SSS} %-5p [%c] (%t) %X{teiid-session} %s%E%n"));e=new H;GI(J(e,Fn),I(new H,d));GI(J(e,To),I(new H,vga));GI(J(h,Qfa),e);NE(new OE(h),new xZc(a,b))}
function yZc(a,b,d,e){var h,l;h=z1();BI(AI(h),Br,gl);BI(AI(h),fl,b);l=new H;I(J(l,on),DM);GI(J(l,n),h);GI(J(l,Kk),I(new H,d));null!=e&&(d=J(l,yi),e=I(new H,e),GI(AI(d),e));NE(new OE(l),new zZc(a,b))}function AZc(a,b,d){var e,h;e=z1();BI(AI(e),Br,gl);BI(AI(e),fl,b);h=new H;I(J(h,on),xO);GI(J(h,n),e);NE(new OE(h),new BZc(a,d,b))}function CZc(a,b,d,e){var h;h=z1();BI(AI(h),Br,gl);e?BI(AI(h),Iea,d):BI(AI(h),yha,d);d=new H;I(J(d,on),xO);GI(J(d,n),h);NE(new OE(d),new DZc(a,b,e))}
function EZc(a,b){var d,e;d=z1();BI(AI(d),Br,gl);BI(AI(d),fl,b);e=new H;I(J(e,on),xO);GI(J(e,n),d);NE(new OE(e),new FZc(a,b))}function GZc(a,b){var d,e;d=z1();BI(AI(d),Br,gl);BI(AI(d),fl,b);e=new H;I(J(e,on),yO);GI(J(e,n),d);NE(new OE(e),new HZc(a,b))}function IZc(a,b,d,e){TW.call(this,a,b,d,null);this.b=e;this.a=new sE(yF)}w(4498,1008,ju,IZc);_.Si=function(){this.A.c=this};_.Xi=function(){var a=this.A;EZc(a.c,K7);EZc(a.c,L7);EZc(a.c,vZc)};_._i=function(){M1(this.b,this)};
function FZc(a,b){this.a=a;this.b=b}w(4499,1294,{},FZc);_.td=function(){JZc(this.a.A,this.b,null)};_.fh=function(a){a=RE(a);a.b.iN(t)&&J(a,t).b.b!=(L(),M)&&y(J(a,t).b.cf(),Cr)?J(a,np).b.b!=(L(),M)&&(a=dZ(this.a.a,J(a,np)),JZc(this.a.A,this.b,a)):JZc(this.a.A,this.b,null)};function DZc(a,b,d){this.a=a;this.b=b;this.c=d}w(4500,1294,{},DZc);_.td=function(){KZc(this.a.A,this.b,this.c,!1)};_.fh=function(a){a=RE(a);a.b.iN(t)&&J(a,t).b.b!=(L(),M)&&y(J(a,t).b.cf(),Cr)&&KZc(this.a.A,this.b,this.c,!0)};
_.c=!1;function BZc(a,b,d){this.a=a;this.b=b;this.c=d}w(4501,1294,{},BZc);_.td=function(){this.b&&LZc(this.a.A,this.c)};_.fh=function(a){a=RE(a);if(a.b.iN(t)&&J(a,t).b.b!=(L(),M)&&y(J(a,t).b.cf(),Cr)){if(J(a,np).b.b!=(L(),M)&&!this.b){a=this.a.A;var b=this.c;y(b,K7)&&GZc(a.c,b);y(b,L7)&&GZc(a.c,b);y(b,vZc)&&GZc(a.c,b)}}else this.b&&LZc(this.a.A,this.c)};_.b=!1;function xZc(a,b){this.a=a;this.b=b}w(4502,1294,{},xZc);_.td=MZc;
_.fh=function(a){a=RE(a);NZc(this.b,a.b.iN(t)&&J(a,t).b.b!=(L(),M)&&y(J(a,t).b.cf(),Cr))};function zZc(a,b){this.a=a;this.b=b}w(4503,1294,{},zZc);_.td=MZc;_.fh=function(a){a=RE(a);var b=this.b;a.b.iN(t)&&J(a,t).b.b!=(L(),M)&&y(J(a,t).b.cf(),Cr)||(G(),HD(ID(JD(FD.a)),new tX("Addition of Logger "+b+sZc,(LD(),nE))))};function HZc(a,b){this.a=a;this.b=b}w(4504,1294,{},HZc);_.td=function(a){GD("Failed to remove logger "+this.b,a._b())};
_.fh=function(a){a=RE(a);var b=this.b;a.b.iN(t)&&J(a,t).b.b!=(L(),M)&&y(J(a,t).b.cf(),Cr)||(G(),HD(ID(JD(FD.a)),new tX("Removal of Logger "+b+sZc,(LD(),nE))))};function LZc(a,b){y(b,K7)&&CZc(a.c,b,tZc,!0);y(b,L7)&&CZc(a.c,b,uZc,!0);y(b,vZc)&&yZc(a.c,b,aea,null)}
function KZc(a,b,d,e){e?(y(b,K7)&&yZc(a.c,b,gb,tZc),y(b,L7)&&yZc(a.c,b,gb,uZc)):d?(y(b,K7)&&CZc(a.c,b,tZc,!1),y(b,L7)&&CZc(a.c,b,uZc,!1)):(y(b,K7)&&(wZc(a.c,tZc,"teiid-audit.log"),yZc(a.c,b,gb,tZc)),y(b,L7)&&(wZc(a.c,uZc,"teiid-command.log"),yZc(a.c,b,gb,uZc)))}function NZc(a,b){b||(G(),HD(ID(JD(FD.a)),new tX("Addition Logging handler "+a+sZc,(LD(),nE))))}
function JZc(a,b,d){y(K7,b)&&(d&&y(d.LA(),gb)?qT(a.a,(D(),E)):qT(a.a,(D(),XB)));y(L7,b)&&(d&&y(d.LA(),gb)?qT(a.b,(D(),E)):qT(a.b,(D(),XB)));y(vZc,b)&&(d&&y(d.LA(),aea)?qT(a.d,(D(),E)):qT(a.d,(D(),XB)))}function OZc(){this.a=new rT("Enable Audit Logging");this.b=new rT("Enable Command Logging");this.d=new rT("Enable Trace Logging")}w(4507,1411,Gu,OZc);
_.Ch=function(){var a,b,d,e=TZ(UZ(XZ(new YZ,"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");a=new nT("Select Logging Type");b=new Y4("Apply",new PZc(this));d=new LT;V(d,this.a);V(d,this.b);V(d,this.d);V(d,b);oT(d,this.a,(iU(),jU));oT(d,this.b,jU);oT(d,this.d,jU);sQ(a.ab,d);(B(),a.gb).style[mt]=DK;a.gb.setAttribute(zr,"font-weight:bold;");
a=RZ(e,"Audit/Command Logging for Teiid Subsystem",a);return SZ(a)};function PZc(a){this.a=a}w(4508,1,v,PZc);_.me=function(){AZc(this.a.c,K7,pT(this.a.a).a);AZc(this.a.c,L7,pT(this.a.b).a);AZc(this.a.c,vZc,pT(this.a.d).a)};w(4580,1,iu);_.ud=function(){var a=this.b,b=this.a.a,d;if(!b.c){d=ZA(IB(b.a));var e;b.d||(e=new OZc,b.d=e);d=new IZc(d,b.d,pxa(b),(xE(lE(b.a)),zE(jE(b.a)),N4(jY(b.a))));cB((eE(b.a),d),nB(eE(b.a)));b.c=d}uB(a,b.c)};F(4498);F(4499);F(4500);F(4501);F(4502);F(4503);F(4504);F(4507);
F(4508);Ow(RJ)(16);function MZc(){NZc(this.b,!1)};