function R7g(a){this.a=a}
function q7g(a,b){this.a=a;this.b=b}
function w7g(a,b){this.a=a;this.b=b}
function y7g(a,b){this.a=a;this.b=b}
function A7g(a,b){this.a=a;this.b=b}
function s7g(a,b,d){this.a=a;this.b=b;this.c=d}
function u7g(a,b,d){this.a=a;this.b=b;this.c=d}
function Opk(a){L7g((this.a.A,this.b),false)}
function K7g(a){l7g(a.c,z2j);l7g(a.c,B2j);l7g(a.c,D2j)}
function weh(a){var b;if(!a.d){b=new P7g;a.d=b}return a.d}
function n7g(a,b,d,e){xEd.call(this,a,b,d);this.b=e;this.a=new qZi(Q1b)}
function I7g(a,b){GNd(b,z2j)&&m7g(a.c,b);GNd(b,B2j)&&m7g(a.c,b);GNd(b,D2j)&&m7g(a.c,b)}
function H7g(a,b){GNd(b,z2j)&&k7g(a.c,b,A2j,true);GNd(b,B2j)&&k7g(a.c,b,C2j,true);GNd(b,D2j)&&i7g(a.c,b,Mwj,null)}
function N7g(a,b){b||(AWd(),Mce(Cde(Gae(yWd.a)),new oce('Removal of Logger '+a+E2j,(Ece(),Cce))))}
function M7g(a,b){b||(AWd(),Mce(Cde(Gae(yWd.a)),new oce('Addition of Logger '+a+E2j,(Ece(),Cce))))}
function L7g(a,b){b||(AWd(),Mce(Cde(Gae(yWd.a)),new oce('Addition Logging handler '+a+E2j,(Ece(),Cce))))}
function P7g(){this.a=new Hhd('Enable Audit Logging');this.b=new Hhd('Enable Command Logging');this.d=new Hhd('Enable Trace Logging')}
function l7g(a,b){var d,e;d=Wcf();O4i(q4i(d),kEj,hCj);O4i(q4i(d),$Pj,b);e=new a5i;N4i(D4i(e,VCj),HXj);S4i(D4i(e,XCj),d);Ckj(new Ujj(e),new q7g(a,b))}
function m7g(a,b){var d,e;d=Wcf();O4i(q4i(d),kEj,hCj);O4i(q4i(d),$Pj,b);e=new a5i;N4i(D4i(e,VCj),LYj);S4i(D4i(e,XCj),d);Ckj(new Ujj(e),new A7g(a,b))}
function j7g(a,b,d){var e,g;e=Wcf();O4i(q4i(e),kEj,hCj);O4i(q4i(e),$Pj,b);g=new a5i;N4i(D4i(g,VCj),HXj);S4i(D4i(g,XCj),e);Ckj(new Ujj(g),new u7g(a,d,b))}
function k7g(a,b,d,e){var g,i;g=Wcf();O4i(q4i(g),kEj,hCj);e?(O4i(q4i(g),IEj,d),g):(O4i(q4i(g),YQj,d),g);i=new a5i;N4i(D4i(i,VCj),HXj);S4i(D4i(i,XCj),g);Ckj(new Ujj(i),new s7g(a,b,e))}
function i7g(a,b,d,e){var g,i;g=Wcf();O4i(q4i(g),kEj,hCj);O4i(q4i(g),$Pj,b);i=new a5i;N4i(D4i(i,VCj),JYj);S4i(D4i(i,XCj),g);S4i(D4i(i,BEj),N4i(new a5i,d));e!=null&&x4i(D4i(i,yEj),N4i(new a5i,e));Ckj(new Ujj(i),new y7g(a,b))}
function veh(a){var b;if(!a.c){b=new n7g(HDd(tae(a.a)),weh(a),ueh(a),(Rkj(_be(a.a)),c$i(Zbe(a.a)),fKg(nbe(a.a))));TDd((uae(a.a),b),QEd(uae(a.a)));a.c=b}return a.c}
function p7g(a,b){var d,e;e=wkj(b);if(e.b.ZM(qDj)&&D4i(e,qDj).b.b!=(Zij(),Yij)&&GNd(D4i(e,qDj).b.Ze(),rDj)){if(D4i(e,cDj).b.b!=(Zij(),Yij)){d=gZi(a.a.a,D4i(e,cDj));O7g(a.a.A,a.b,d)}}else{O7g(a.a.A,a.b,null)}}
function O7g(a,b,d){GNd(z2j,b)&&(!!d&&GNd(d.vA(),Nwj)?Ehd(a.a,(DLd(),CLd)):Ehd(a.a,(DLd(),BLd)));GNd(B2j,b)&&(!!d&&GNd(d.vA(),Nwj)?Ehd(a.b,(DLd(),CLd)):Ehd(a.b,(DLd(),BLd)));GNd(D2j,b)&&(!!d&&GNd(d.vA(),Mwj)?Ehd(a.d,(DLd(),CLd)):Ehd(a.d,(DLd(),BLd)))}
function J7g(a,b,d,e){if(e){GNd(b,z2j)&&i7g(a.c,b,Nwj,A2j);GNd(b,B2j)&&i7g(a.c,b,Nwj,C2j)}else{if(d){GNd(b,z2j)&&k7g(a.c,b,A2j,false);GNd(b,B2j)&&k7g(a.c,b,C2j,false)}else{if(GNd(b,z2j)){h7g(a.c,A2j,'teiid-audit.log');i7g(a.c,b,Nwj,A2j)}if(GNd(b,B2j)){h7g(a.c,C2j,'teiid-command.log');i7g(a.c,b,Nwj,C2j)}}}}
function h7g(a,b,d){var e,g,i;e=Wcf();O4i(q4i(e),kEj,hCj);O4i(q4i(e),YQj,b);i=new a5i;N4i(D4i(i,VCj),JYj);S4i(D4i(i,XCj),e);S4i(D4i(i,BNj),N4i(new a5i,Cxj));S4i(D4i(i,NGj),N4i(new a5i,Cxj));S4i(D4i(i,BEj),N4i(new a5i,Nwj));S4i(D4i(i,WQj),N4i(new a5i,'.yyyy-MM-dd'));S4i(D4i(i,JGj),N4i(new a5i,'%d{HH:mm:ss,SSS} %-5p [%c] (%t) %X{teiid-session} %s%E%n'));g=new a5i;S4i(D4i(g,vCj),N4i(new a5i,d));S4i(D4i(g,UIj),N4i(new a5i,zNj));S4i(D4i(i,y2j),g);Ckj(new Ujj(i),new w7g(a,b))}
var E2j=' failed',A2j='TEIID_AUDIT_LOG',C2j='TEIID_COMMAND_LOG',D2j='org.teiid',z2j='org.teiid.AUDIT_LOG',B2j='org.teiid.COMMAND_LOG';G1c(4485,997,ivj,n7g);_.Ri=function(){this.A.c=this};_.Wi=function(){K7g(this.A)};_.$i=function(){Dtf(this.b,this)};G1c(4486,1282,{},q7g);_.od=function(a){O7g(this.a.A,this.b,null)};_.dh=function(a){p7g(this,a)};G1c(4487,1282,{},s7g);_.od=function(a){J7g(this.a.A,this.b,this.c,false)};_.dh=function(a){var b;b=wkj(a);b.b.ZM(qDj)&&D4i(b,qDj).b.b!=(Zij(),Yij)&&GNd(D4i(b,qDj).b.Ze(),rDj)&&J7g(this.a.A,this.b,this.c,true)};_.c=false;G1c(4488,1282,{},u7g);_.od=function(a){this.b&&H7g(this.a.A,this.c)};_.dh=function(a){var b;b=wkj(a);b.b.ZM(qDj)&&D4i(b,qDj).b.b!=(Zij(),Yij)&&GNd(D4i(b,qDj).b.Ze(),rDj)?D4i(b,cDj).b.b!=(Zij(),Yij)&&(this.b||I7g(this.a.A,this.c)):this.b&&H7g(this.a.A,this.c)};_.b=false;G1c(4489,1282,{},w7g);_.od=Opk;_.dh=function(a){var b;b=wkj(a);L7g((this.a.A,this.b),b.b.ZM(qDj)&&D4i(b,qDj).b.b!=(Zij(),Yij)&&GNd(D4i(b,qDj).b.Ze(),rDj))};G1c(4490,1282,{},y7g);_.od=Opk;_.dh=function(a){var b;b=wkj(a);M7g((this.a.A,this.b),b.b.ZM(qDj)&&D4i(b,qDj).b.b!=(Zij(),Yij)&&GNd(D4i(b,qDj).b.Ze(),rDj))};G1c(4491,1282,{},A7g);_.od=function(a){};_.dh=function(a){var b;b=wkj(a);N7g((this.a.A,this.b),b.b.ZM(qDj)&&D4i(b,qDj).b.b!=(Zij(),Yij)&&GNd(D4i(b,qDj).b.Ze(),rDj))};G1c(4494,1399,hvj,P7g);_.Ah=function(){var a,b,d,e;a=BAe(EAe(FAe(IAe(new KAe,'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 nhd('Select Logging Type'),d=new fth(F2j,new R7g(this)),e=new dvd,avd(e,this.a),avd(e,this.b),avd(e,this.d),avd(e,d),thd(e,this.a,(hmd(),emd)),thd(e,this.b,emd),thd(e,this.d,emd),lr(b.ab,e),(ked(),b.gb).style[gzj]=G2j,Jy(b.gb,nYj,H2j),b));return CAe(a)};G1c(4495,1,vuj,R7g);_.he=function(a){j7g(this.a.c,z2j,Ahd(this.a.a).a);j7g(this.a.c,B2j,Ahd(this.a.b).a);j7g(this.a.c,D2j,Ahd(this.a.d).a)};G1c(4567,1,Qvj);_.pd=function(){pFd(this.b,veh(this.a.a))};var B0b=iMd(4485),t0b=iMd(4486),u0b=iMd(4487),v0b=iMd(4488),w0b=iMd(4489),x0b=iMd(4490),y0b=iMd(4491),D0b=iMd(4494),C0b=iMd(4495);Cwj(so)(16);