var xcd="Server Configuration",L9="Server Configuration ";function ycd(a,b,d,e){this.e=a;this.d=b;this.c=d;this.a=e}v(1530,1,{},ycd);_.a=null;_.b=null;_.c=null;_.d=null;_.e=null;function zcd(a){tX.call(this,o,a)}v(1531,1426,GJ,zcd);_.qj=SC;_.Cj=Ru;_.gk=Pu;function Acd(){}v(1532,1,{},Acd);_.hk=dI;function Bcd(a,b){this.a=a;this.b=b}v(1533,1,u,Bcd);
_.zd=function(){var a;a=QZ(this.b);if(!(0<this.b.Oj().a.b)){var b=this.a.e,d=CX(this.a.b),e=this.a.d,h;PZ(b.j);h=new G;H(I(h,q),kN);I(h,l).b=new CE;T(I(h,l),yi,XE(b.a));T(I(h,l),Vp,e.sc());IE(I(h,Mo),!0);K(new VX(h),new Ccd(b,e,a,d))}};_.a=null;_.b=null;function Dcd(a){this.a=a}v(1534,1,u,Dcd);_.zd=function(){Ecd(this.a.e)};_.a=null;function Fcd(a,b){this.b=a;this.c=b}v(1564,1,{},Fcd);_.a=null;_.b=null;_.c=null;function Gcd(a){tX.call(this,o,a)}v(1565,1426,GJ,Gcd);_.qj=SC;_.Cj=Ru;_.gk=Pu;
function Hcd(){}v(1566,1,{},Hcd);_.hk=dI;function Icd(a,b){this.a=a;this.b=b}v(1567,1,u,Icd);_.zd=function(){var a;a=QZ(this.b);if(!(0<this.b.Oj().a.b)){var b=a.Nk(),d,e,h;d=null;for(h=this.a.c.Rc();h.Uc();)if(e=h.Vc(),w(e.sc(),b)){d=e;break}a._k(d.Sk());a.Xk(null);a.$k((ev(),zy));$w((Xw(),Yw),new Jcd(this,a))}};_.a=null;_.b=null;function Jcd(a,b){this.a=a;this.b=b}v(1568,1,Au,Jcd);
_.oc=function(){var a=this.a.a.b,b=this.b;a.j&&a.j.I&&PZ(a.j);b.sc();var d=XE(a.a),a=new Kcd(a,b),e;e=new G;H(I(e,q),fM);T(I(e,l),yi,d);T(I(e,l),Vp,b.sc());H(I(e,o),b.sc());H(I(e,Zh),b.Nk());IE(I(e,Jea),b.Tk());b.Ok()&&H(I(e,Lj),b.Ok().sc());H(I(e,qq),b.Sk());HE(I(e,Zia),b.Pk());K(new KE(e),new Lcd(a))};_.a=null;_.b=null;function Mcd(a){this.a=a}v(1569,1,u,Mcd);_.zd=function(){Ecd(this.a.b)};_.a=null;function Ncd(a){this.c=(ev(),zy);this.d=a}v(1570,1,{},Ncd);_.a=null;_.b=null;_.d=null;_.e=null;
function Ocd(a){this.a=a}v(1571,1,{},Ocd);_.Yj=function(a){var b=this.a.d,d=QZ(this.a.a),e,h;a.Ki(co)&&a.ci(sq,d.Sk());a.Ki(sq)&&a.ci(co,LB(d.Pk()));d=d.sc();h=new G;H(I(h,q),MN);T(I(h,l),yi,XE(b.a));T(I(h,l),Vp,d);e=(bF(),N).ai(qE);a=W0(h,a,e);K(new KE(a),new Pcd(b,d))};_.a=null;function Qcd(a){GX.call(this,sq,a)}v(1572,1573,gJ,Qcd);_.qj=function(){return(F(),Csb)+" or portOffset undefined"};_.gk=function(){return!(this.u&&w(CX(this),g))};function Rcd(a){this.a=a}v(1574,1,{},Rcd);
_.hk=function(){var a;a=new G;T(a,yi,XE(this.a.d.a));wI(vI(a),Vp,oa);return a};_.a=null;function Scd(a,b){this.a=a;this.b=b}v(1575,1,u,Scd);_.cg=function(){var a,b,d;if((d=rU(this.b.W.k))&&w(g,d.Sk()))for(b=this.a.c.Rc();b.Uc();)if(a=b.Vc(),w(a.sc(),d.Nk())){$w((Xw(),Yw),new Tcd(this,a));break}};_.a=null;_.b=null;function Tcd(a,b){this.a=a;this.b=b}v(1576,1,Au,Tcd);_.oc=function(){DX(this.a.a.e,this.b.Sk())};_.a=null;_.b=null;function Ecd(a){a.j&&a.j.I&&PZ(a.j)}
function Ucd(a){a.j=new l0(tK+(F(),xcd));m0(a.j,480);n0(a.j,360);ZX(a.g,new Vcd(a))}function M9(a){kY(a.a,new Wcd(a));ZX(a.g,new Xcd(a))}function Ycd(a,b,d,e,h,j,m,p){UV.call(this,a,b,d,null);this.c=e;this.g=h;this.b=j;this.e=m;this.a=p;this.d=new l5b}v(1577,930,ou,Ycd);_.ik=function(){PZ(this.f)};_.jk=function(a){this.f=new l0(tK+(F(),"System Property"));m0(this.f,480);n0(this.f,360);o0(this.f,e1(new g1(this,a,!0)));UR(this.f);p0(this.f)};
_.ji=function(){this.y.c=this;Ay(this.v,(Zcd(),$cd),this);Ay(this.v,(D1(),E1),this)};_.kk=function(){};_.lk=function(a,b){var d;d=new G;T(d,yi,XE(this.a));wI(vI(d),Vp,a);T(d,Lj,b.sc());V6b(new X6b(this.b,d),b,new add(this))};_.mk=function(a,b){var d;this.f&&this.f.I&&PZ(this.f);d=new G;T(d,yi,XE(this.a));wI(vI(d),Vp,a);T(d,yN,b.Wo());T7b(new c1(this.b,d),b,new bdd(this))};_.nk=function(a,b){var d;d=new G;T(d,yi,XE(this.a));wI(vI(d),Vp,a);T(d,Lj,b.sc());Y6b(new $6b(this.b,d),new cdd(this))};
_.ok=function(a,b){var d;d=new G;T(d,yi,XE(this.a));wI(vI(d),Vp,a);T(d,yN,b.Wo());V7b(new d1(this.b,d),b,new ddd(this))};_.Ik=Tu;_.oi=Tu;_.pk=function(a,b,d){var e;0<d.ad()&&(e=new G,T(e,yi,XE(this.a)),wI(vI(e),Vp,a),wI(vI(e),Lj,b),a=new p7b(this.b,e),n7b(a,d,new edd(this)))};_.ri=function(a){var b;b=UA(a,"action",null);w("new",b)&&Ucd(this);UA(a,"config",null)};_.si=function(){vA(this,new VV((vX(),wX),this))};_.a=null;_.b=null;_.c=null;_.d=null;_.e=null;_.f=null;_.g=null;_.i=null;_.j=null;
function fdd(a){this.a=a}v(1578,1213,{},fdd);_.pg=function(a){var b=this.a.y;b.a&&(b=b.a,nVb(b.e),US(b.e.d,0),EX(b.e,a));M9(this.a)};_.a=null;function cdd(a){this.a=a}v(1579,1213,{},cdd);_.pg=function(){M9(this.a)};_.a=null;function edd(a){this.a=a}v(1580,1213,{},edd);_.pg=function(){M9(this.a)};_.a=null;function bdd(a){this.a=a}v(1581,1213,{},bdd);_.pg=function(){M9(this.a)};_.a=null;function ddd(a){this.a=a}v(1582,1213,{},ddd);_.pg=function(){M9(this.a)};_.a=null;
function gdd(a,b){this.a=a;this.b=b}v(1583,1213,{},gdd);_.pg=function(){this.b.Sk()};_.a=null;_.b=null;function hdd(a,b){var d=a.b.sc();T0(a.a.y.b,d,b)}function idd(a,b){this.a=a;this.b=b}v(1584,1213,{},idd);_.pg=function(a){hdd(this,a)};_.a=null;_.b=null;function jdd(a,b){this.a=a;this.b=b}v(1585,1213,{},jdd);_.pg=function(a){var b=this.b.sc();y0(this.a.y.d,b,a)};_.a=null;_.b=null;function kdd(a,b){this.a=a;this.b=b}v(1586,1213,{},kdd);
_.pg=function(a){var b=this.a.j,d=new ycd(this.a,this.b,a,XE(this.a.a)),e,h,j,m,p,t,A,J,a=new eS;a.db[Ke]=LN;V(a,new xY("<h3>Create copy</h3> You are about to create a copy of server-configuration <b>'"+d.d.sc()+"'</b>. Please verify the port offset to avoid conflicts when starting the server."));e=new pZ(qE);t=new zcd((F(),Xb));qX(t,d.d.sc()+"_copy");A=new C0(co,"Port Offset");j=new Vx(d.c.ad());J=1;m=0;for(p=d.c.Rc();p.Uc();)h=p.Vc(),h=h.sc(),Tw(j.a,j.b++,h),w(h,d.a)&&(J=m),++m;d.b=new GX(yi,LK);
EX(d.b,j);j=d.b;J+=1;m=w(HS(j.d,J),g);j.v=m;JS(j.d,J,!0);aX(e,Uf,y(YW,oJ,211,[t,A,d.b]));V(a,pY(new qZ(new Acd,e)));V(a,TW(e));d=new TZ(new Bcd(d,e),new Dcd(d));a=NZ(new OZ(a,d));o0(b,a);UR(this.a.j);p0(this.a.j)};_.a=null;_.b=null;function Ccd(a,b,d,e){this.a=a;this.c=b;this.b=d;this.d=e}v(1587,1,{},Ccd);_.lc=function(a){pD("Failed to read server-config: "+this.c.sc(),a.Lb())};
_.pg=function(a){var b,d,e,a=NE(a);a.b.wL(r)&&I(a,r).b.b!=(L(),M)&&!w(I(a,r).b.pe(),xr)?pD("Failed to read server-config: "+this.c.sc(),OE(a)):(b=I(a,op).b.oL(),HE(I(b,Zia),this.b.Pk()),b.b.xL(o),a=new G,H(I(a,q),af),I(a,l).b=new CE,e=new x,d=new G,H(I(d,q),fM),T(I(d,l),yi,this.d),T(I(d,l),Vp,this.b.sc()),Tw(e.a,e.b++,d),imc(b,d,e),JE(I(a,er),e),K(new KE(a),new ldd(this,this.b)))};_.a=null;_.b=null;_.c=null;_.d=null;function ldd(a,b){this.a=a;this.b=b}v(1588,1213,{},ldd);
_.pg=function(a){a=NE(a);a.b.wL(r)&&I(a,r).b.b!=(L(),M)&&!w(I(a,r).b.pe(),xr)?pD("Failed to copy server-config",OE(a)):wW("Successfully copied server-config '"+this.b.sc()+la);M9(this.a.a)};_.a=null;_.b=null;function Wcd(a){this.a=a}v(1589,1213,{},Wcd);_.pg=function(a){var b=this.a.a,a=a.b.sc();nWb(b.c,a,new mdd(b,new ndd(this)))};_.a=null;function ndd(a){this.a=a}v(1590,1213,{},ndd);_.pg=function(a){odd(this.a.a.y,a)};_.a=null;function Xcd(a){this.a=a}v(1591,1213,{},Xcd);
_.pg=function(a){var b=this.a.y.a,d,e;b.c=a;d=new Vx(a.ad());for(e=a.Rc();e.Uc();)a=e.Vc(),Lv(d,a.sc());EX(b.b,d)};_.a=null;function Vcd(a){this.a=a}v(1592,1213,{},Vcd);
_.pg=function(a){this.a.i=a;var a=this.a.j,b,d=new Fcd(this.a,this.a.i),e,h,j,m,p,t,A;b=new eS;b.db[Ke]=LN;e=new pZ(qE);j=new Gcd((F(),Xb));A=new uZ(Sd,"Auto Start?");m=new C0(co,"Port Offset");h=new Vx(d.c.ad());for(t=d.c.Rc();t.Uc();)p=t.Vc(),Lv(h,p.sc());d.a=new GX(Zh,QL);d.a.c=!0;EX(d.a,h);aX(e,Uf,y(YW,oJ,211,[j,d.a,m,A]));V(b,pY(new qZ(new Hcd,e)));V(b,TW(e));d=new TZ(new Icd(d,e),new Mcd(d));b=NZ(new OZ(b,d));o0(a,b);UR(this.a.j);p0(this.a.j)};_.a=null;
function pdd(a){F();qD(rD(sD(oD.a)),new vW("Failed to add Server Configuration "+a.b.sc(),(uD(),vD)))}function qdd(a,b){b.a?(wW(iK+(F(),L9)+a.b.sc()),M9(a.a)):(Ecd(a.a),uW(EK+(F(),L9)+a.b.sc()));vA(a.a,new oX(xtb))}function Kcd(a,b){this.a=a;this.b=b}v(1593,1,{},Kcd);_.lc=function(){pdd(this)};_.pg=function(a){qdd(this,a)};_.a=null;_.b=null;function Pcd(a,b){this.a=a;this.b=b}v(1594,1213,{},Pcd);
_.pg=function(a){a=NE(a);a.b.wL(r)&&I(a,r).b.b!=(L(),M)&&!w(I(a,r).b.pe(),xr)?pD(FK+(F(),L9)+this.b,OE(a)):wW(XK+(F(),L9)+this.b);M9(this.a)};_.a=null;_.b=null;function rdd(a,b){this.a=a;this.b=b}v(1595,1,{},rdd);_.lc=function(){var a=this.a,b=this.b;sdd(XE(a.a),b,new tdd(a,b))};
_.pg=function(a){var b,d,a=NE(a);b=I(a,r).b.pe();d=w(b,xr)?(B(),C):(B(),D);w(b,xr)&&(d=(B(),OB(I(I(a,op),"server-state").b.pe(),Gp)?C:D));d.a?pD(GK+(F(),xcd),"The server instance is still running: "+this.b.sc()):(a=this.a,b=this.b,sdd(XE(a.a),b,new tdd(a,b)))};_.a=null;_.b=null;function udd(a){F();qD(rD(sD(oD.a)),new vW("Failed to remove Server Configuration "+a.b.sc(),(uD(),vD)))}function vdd(a,b){b.a?(wW(jL+(F(),L9)+a.b.sc()),M9(a.a)):uW(GK+(F(),L9)+a.b.sc());vA(a.a,new oX(xtb))}
function tdd(a,b){this.a=a;this.b=b}v(1596,1,{},tdd);_.lc=function(){udd(this)};_.pg=function(a){vdd(this,a)};_.a=null;_.b=null;function add(a){this.a=a}v(1597,1213,{},add);_.pg=function(){M9(this.a)};_.a=null;function odd(a,b){jU(a.e.a);iU(a.e.a,b.a);ZKb(a.e);j0(a.b.d);x0(a.d);k0(a.f)}function wdd(){this.f=new g0(8,new xdd);this.e=new fU;UT(this.e,this.f)}v(1600,1129,xu,wdd);
_.Vi=function(){var a,b,d,e;b=new yX;a=new AX((F(),hK),new ydd(this));a.b=za;a.a=fM;yO(a,"addBtnServerConfigView");zX(b,a);a=new A0(iL);JO(a,new zdd(this),(BP(),BP(),CP));a.b=za;a.a=lN;yO(a,"deleteBtnServerConfigView");zX(b,a);a=new A0("Copy");JO(a,new Add(this),CP);a.b=za;a.a=fM;zX(b,a);b.a=za;d=new Bdd(new rO);a=new Cdd(new rO);e=new Ddd(new rO);HQ(this.f,d,"Configuration Name");HQ(this.f,a,QL);HQ(this.f,e,"Auto Start?");this.a=new Ncd(this.c);this.b=new h7b(this.c,!0,!0);this.b.a=new Edd(this);
this.d=new z0(this.c,!0);b=EY(DY(zY(BY(GY(new HY,"Group Configurations"),Fob),"A server configuration does specify the overall configuration of a server. A server configuration can be started and perform work. Server configurations belong to server groups."),"Available Server Configurations",this.f),b);a=i;e=this.a;var h,j,m;d=new eS;d.db[Ke]=DM;e.a=new pZ(qE);h=new i0(e.a,new Ocd(e));V(d,oY(h));h=new SZ(o,Xb);m=new uZ(Sd,(F(),"Auto Start?"));e.b=new GX(Zh,QL);j=new C0(co,"Port Offset");e.e=new Qcd(RL);
aX(e.a,Uf,y(YW,oJ,211,[h,m,e.b,e.e,j]));V(d,pY(new qZ(new Rcd(e),e.a)));ZW(e.a,!1);V(d,TW(e.a));e=e.a;e.f&&(e.f.a=za);b=uY(uY(uY(b,a,d),"JVM Configuration",d7b(this.b)),TL,v0(this.d));a=this.b;a.n&&(a.n.b=za);a.d&&(a=a.d,a.f&&(a.f.a=za));a=this.a;d=this.f;RW(a.a,d);d.W.k.ph(new Scd(a,d));this.f.W.k.ph(new Fdd(this));return wY(b)};_.a=null;_.b=null;_.c=null;_.d=null;_.e=null;_.f=null;function xdd(){}v(1601,1,{},xdd);_.lh=ew;function ydd(a){this.a=a}v(1602,1,u,ydd);_.zd=function(){Ucd(this.a.c)};
_.a=null;function zdd(a){this.a=a}v(1603,1,u,zdd);_.zd=function(){var a;a=rU(this.a.f.W.k);BZ((F(),"Remove Server Config"),'"Do you want to remove server config '+a.sc()+Sa,new Gdd(this,a))};_.a=null;function Gdd(a,b){this.a=a;this.b=b}v(1604,1,{},Gdd);_.Zj=function(a){if(a){var a=this.a.a.c,b=this.b,d;d=new G;T(I(d,l),yi,XE(a.a));T(I(d,l),Up,b.sc());IE(I(d,JM),!0);H(I(d,q),kN);K(new KE(d),new rdd(a,b))}};_.a=null;_.b=null;function Add(a){this.a=a}v(1605,1,u,Add);
_.zd=function(){var a=this.a.c,b=rU(this.a.f.W.k);a.j=new l0("New Server Configuration");m0(a.j,480);n0(a.j,380);lWb(a.c,new kdd(a,b))};_.a=null;function Bdd(a){this.c=a}v(1606,573,uJ,Bdd);_.kc=ew;function Cdd(a){this.c=a}v(1607,573,uJ,Cdd);_.kc=function(a){return a.Nk()};function Ddd(a){this.c=a}v(1608,573,uJ,Ddd);_.kc=function(a){return g+a.Tk()};function Edd(a){this.a=a}v(1609,1,{},Edd);_.hk=function(){var a;a=new G;T(a,yi,XE(this.a.c.a));wI(vI(a),Vp,oa);wI(vI(a),Lj,oa);return a};_.a=null;
function Fdd(a){this.a=a}v(1610,1,u,Fdd);_.cg=function(){var a=this.a.c,b=rU(this.a.f.W.k);if(b){var d=a.c,e=XE(a.a),h=new idd(a,b),j;j=new G;H(I(j,q),jN);T(I(j,l),yi,e);T(I(j,l),Vp,b.sc());H(I(j,Ee),Lj);K(new KE(j),new Hdd(d,h));d=a.c;e=XE(a.a);h=new jdd(a,b);j=new G;H(I(j,q),jN);T(I(j,l),yi,e);T(I(j,l),Vp,b.sc());H(I(j,Ee),yN);K(new KE(j),new Idd(d,h));null!=b.Sk()&&!w(b.Sk(),g)&&j5b(a.d,b.Sk(),new gdd(a,b));ME();vA(a,new Nzc(za,y(z,s,1,[b.sc()])))}};_.a=null;function Zcd(){Zcd=Nu;$cd=new tw}var $cd;
v(1659,1,nu);_.mc=function(){var a=this.b,b=this.a.a,d;if(!b.j){d=qA(jB(b.a));var e;b.k||(e=new wdd,b.k=e);d=new Ycd(d,b.k,owa(b),tE(eE(b.a)),fY(eE(b.a)),(uE(jE(b.a)),wE(iE(b.a)),vE(gE(b.a))),hB(sB(b.a)),ZE(hE(b.a)));tA((dE(b.a),d),FA(dE(b.a)));b.j=d}MA(a,b.j)};v(1669,1,{});_.Xk=function(a){Z(this.a).Xk(a)};_.$k=function(a){Z(this.a).$k(a)};v(1670,1,{});_.Xk=function(a){$(this.a,Lj,a)};_.$k=function(a){$(this.a,ro,a)};
function sdd(a,b,d){var e;e=new G;H(I(e,q),lN);T(I(e,l),yi,a);T(I(e,l),Vp,b.sc());K(new KE(e),new Jdd(d))}function Lcd(a){this.a=a}v(1683,1,{},Lcd);_.lc=function(){pdd(this.a)};_.pg=function(a){a=NE(a);a=I(a,r).b.pe();a=w(a,xr)?(B(),C):(B(),D);qdd(this.a,a)};_.a=null;function Jdd(a){this.a=a}v(1684,1,{},Jdd);_.lc=function(){udd(this.a)};_.pg=function(a){a=NE(a);a=(B(),a.b.wL(r)&&I(a,r).b.b!=(L(),M)&&!w(I(a,r).b.pe(),xr)?D:C);vdd(this.a,a)};_.a=null;function Hdd(a,b){this.a=a;this.b=b}
v(1685,1213,{},Hdd);_.pg=function(a){var b,a=NE(a);a.b.wL(r)&&I(a,r).b.b!=(L(),M)&&!w(I(a,r).b.pe(),xr)?zD(new aw("Failed to load jvms: "+OE(a))):(a=I(a,op).b.qL(),a.$c()?hdd(this.b,null):(b=a.ed(0),a=YX(this.a.b,b.b.b.oL()),a.xd(b.a),hdd(this.b,a)))};_.a=null;_.b=null;function Idd(a,b){this.a=a;this.b=b}v(1686,1213,{},Idd);
_.pg=function(a){var b,d,e,a=NE(a);if(a.b.wL(r)&&I(a,r).b.b!=(L(),M)&&!w(I(a,r).b.pe(),xr))zD(new aw("Failed to load server:"+OE(a)));else{d=I(a,op).b.qL();a=new Vx(d.ad());for(d=d.Rc();d.Uc();)b=d.Vc(),e=(new aY(this.a.a)).a,j1(e,b.a),b=b.b.b.oL(),cY(e,I(b,it).b.pe()),dY(e,I(b,oM).b.hL()),Tw(a.a,a.b++,e);d=this.b;e=d.b.sc();y0(d.a.y.d,e,a)}};_.a=null;_.b=null;function mdd(a,b){this.a=a;this.b=b}v(2600,1213,{},mdd);
_.pg=function(a){if(a.$c())a=(new FVb(this.a.b)).a,Z(a.a).xd(ym),a=new Kdd((ev(),zy)),odd(this.b.a.a.y,a);else{var b=this.a,d,e,h;if(a.$c())throw new Xv("No sever configs available!");d=null;for(h=a.Rc();h.Uc();)if(e=h.Vc(),b.e&&w(e.sc(),b.e.a)){d=e;break}!d&&(d=a.ed(0));b.e=new Q9b(d.sc(),d.Uk());odd(this.b.a.a.y,new Kdd(a))}};_.a=null;_.b=null;function Kdd(a){this.a=a}v(2612,1,{},Kdd);_.a=null;E(1577);E(1578);E(1589);E(1590);E(1591);E(1592);E(1593);E(1594);E(1595);E(1596);E(1597);E(1579);E(1580);
E(1581);E(1582);E(1583);E(1584);E(1585);E(1586);E(1587);E(1588);E(1600);E(1601);E(1602);E(1603);E(1604);E(1605);E(1606);E(1607);E(1608);E(1609);E(1610);E(2600);E(1683);E(1684);E(1685);E(1686);E(2612);E(1570);E(1571);E(1572);E(1574);E(1575);E(1576);E(1564);E(1565);E(1566);E(1567);E(1568);E(1569);E(1530);E(1531);E(1532);E(1533);E(1534);vw(dJ)(44);function Pu(a){var b;b=sX(this,a);a=-1!=a.indexOf(ba);return b&&!a}function Tu(){w(QA(this.e).a,this.r.Ai())&&AWb(new fdd(this))}
function ew(a){return a.sc()}function Ru(){}function SC(){return F(),Tnb}function dI(){var a;a=new G;T(a,yi,XE(ZE(hE((F(),oD).a))));wI(vI(a),Vp,oa);return a};