var Tnd="Choose Options",a$="PatchManager_",Und="Rollback",Vnd="STOPPING",Wnd="STOP_FAILED",Xnd="STOP_SERVERS",Ynd="SUCCESS",Znd="Select Patch",$nd="Shutdown Servers",aod="restart-error",bod="restart-window-content",cod="shutdown";function dod(a,b){if(null==b)throw new vy("Name cannot be null");if(w(b,g))throw new Yv("Name cannot be an empty string.");a.db.name=b}function eod(){this.db=czb(ui);dod(this,q)}v(690,166,zkb,eod);_.sc=function(){return this.db.name};_.xd=function(a){dod(this,a)};
function fod(a,b,d){b=new god(b,d);a.c=Oy(aJ());a.b=!1;K(new KE(b.b),new hod(b.a));TBc(new j6,new iod(a),new jod(d),a.an(),500)}v(1975,1,{});_.b=!1;_.c=Tt;_.d=Tt;function god(a,b){this.b=a;this.a=b}v(1976,1,Mu,god);_.oc=function(){K(new KE(this.b),new hod(this.a))};_.a=null;_.b=null;function hod(a){this.a=a}v(1977,1,{},hod);_.lc=function(a){this.a.bn(a)};_.pg=Tu;_.a=null;function jod(a){this.a=a}v(1978,1,{},jod);_.Ri=function(){this.a.cn()};_.pg=function(){this.a.mc()};_.a=null;
function iod(a){this.a=a}v(1979,1,{},iod);_.pl=function(){var a=this.a,b;b=xz(uz(Oy(aJ()),a.c),Dka);return!zz(b,a.d)&&!this.a.b};_.a=null;function kod(){}v(2257,1,FJ,kod);_.rc=function(){var a,b,d,e,h;d=new eS;d.db[Ke]=DM;a=new lod;e=new g0(8,a);b=Q4(a$,mod,null);e.db.id=b;this.b=new vU(a);SW(e,this.b);this.a=new fU;UT(this.a,e);b=new nod;a=new ood;h=new pod;GQ(e,e.u.b,b,new IQ(MK));HQ(e,a,(F(),"Date"));HQ(e,h,Ic);a=new mY;b=Q4(a$,mod,"_Pager");a.db.id=b;AR(a,e);V(d,e);V(d,a);return d};_.a=null;
_.b=null;function lod(){}v(2258,1,{},lod);_.lh=ew;function nod(){this.c=new rO}v(2259,605,uJ,nod);_.kc=ew;function ood(){this.c=new rO}v(2260,605,uJ,ood);_.kc=function(a){return a.Yo()};function pod(){this.c=new rO}v(2261,605,uJ,pod);_.kc=function(a){return a.$o().a};function b$(a){var b;b=new G;w(a.b.c.ai(Sq),us)||T(I(b,l),yi,XE(a.c));T(I(b,l),tM,Bn);return b}
function qod(a,b){var d,e,h;d=new G;I(d,l).b=new CE;H(I(d,q),af);h=new nD;e=b$(a);H(I(e,q),"show-history");mD(h,e);e=b$(a);H(I(e,q),kN);IE(I(e,JM),!0);mD(h,e);JE(I(d,er),h);K(new KE(d),new rod(a,b))}function sod(a,b,d){this.b=a;this.c=b;this.a=d}v(2262,1,{},sod);_.a=null;_.b=null;_.c=null;function rod(a,b){this.a=a;this.b=b}v(2263,1,{},rod);_.lc=function(a){var b=(F(),"Cannot read patch status"),a=a.Lb();F();qD(rD(sD(oD.a)),new tD(b,a,(uD(),oE)));this.b.pg(new tod)};
_.pg=function(a){var b,d,e,h,j;j=new tod;a=NE(a);if(!(a.b.wL(r)&&I(a,r).b.b!=(L(),M))||a.b.wL(r)&&I(a,r).b.b!=(L(),M)&&!w(I(a,r).b.pe(),xr))pD((F(),"Cannot read patch status"),OE(a));else{e=I(a,op);b=I(e,vN);b=I(b,op);if(b.b.b!=(L(),M))for(b=b.b.mL().Rc();b.Uc();){h=b.Vc();d=j;var m=h;h=void 0;h=(new OYb(this.a.a)).a;var p=I(m,"patch-id").b.pe();Z(h.a).ap(p);p=I(m,As).b.pe();gV();p=w(hV.a,p)?hV:w(iV.a,p)?iV:jV;Z(h.a).bp(p);m=I(m,"applied-at").b.pe();Z(h.a)._o(m);mD(d.b,h)}e=I(e,wN);e=I(e,op);if(e.b.b!=
M){b=null;d=I(e,"patches");d.b.b!=M&&(d=d.b.mL(),d.$c()||(b=d.ed(0).b.pe()));null==b&&(b=I(e,"cumulative-patch-id").b.pe());if(null!=b)for(h=KC(j.b,0);h.b!=h.d.a;)if(d=LC(h),w(b,d.Zo())){j.a=d;break}e=I(e,mt).b.pe();j.a&&j.a.Ho(e)}a=I(a,"response-headers");a.b.b!=M?(a=I(a,"process-state"),a=w("restart-required",a.b.pe()),j.c=a):j.c=!1}this.b.pg(j)};_.a=null;_.b=null;function uod(a){this.a=a}v(2264,1,{},uod);_.lc=function(a){vod(this.a,a)};
_.pg=function(a){a=NE(a);!(a.b.wL(r)&&I(a,r).b.b!=(L(),M))||a.b.wL(r)&&I(a,r).b.b!=(L(),M)&&!w(I(a,r).b.pe(),xr)?vod(this.a,new Iw(OE(a))):(a=this.a,a.b.d=!1,a.a.i.ip())};_.a=null;function wod(a){a.f&&a.f.$&&(n0(a.f,500),p0(a.f))}function xod(a){var b;b=new G;T(I(b,l),yi,a);H(I(b,q),jN);H(I(b,Ee),Up);IE(I(b,JM),!0);return b}
function yod(a){var b,d;b=new G;w(a.a.c.ai(Sq),us)||T(I(b,l),yi,XE(a.b));H(I(b,q),cod);IE(I(b,"restart"),!0);a=new zod;yGb(a.a,0);JP(a,~~(dy()/2)-~~(a.c/2),~~(cy()/2)-~~(a.b/2)-50);XR(a);ZR(a,a.c+wo);VR(a,a.b+wo);d=new Aod;fod(d,b,new Bod(a))}function Cod(a,b,d,e,h,j,m,p){UV.call(this,a,b,d,null);this.e=e;this.c=h;this.b=j;this.a=m;this.d=p}v(2265,930,ou,Cod);_.ji=function(){this.y.f=this;Ay(this.v,(D1(),E1),this);w(this.a.c.ai(Sq),us)||wXb(this.d,RA(ZA(XA(new SA,this.r.Ai()),yi,XE(this.b))))};
_.Ik=function(){this.z&&(xXb(this.d,this,RA(ZA(XA(new SA,this.r.Ai()),yi,XE(this.b)))),qod(this.c,new Dod(this)))};_.oi=function(){qod(this.c,new Dod(this))};_.si=function(){w(this.a.c.ai(Sq),us)?L1(this.e,this):vA(this,new VV((vX(),wX),this))};_.a=null;_.b=null;_.c=null;_.d=null;_.e=null;_.f=null;function Dod(a){this.a=a}v(2266,1213,{},Dod);_.pg=function(a){var b=this.a.y,d;dU(b.g.a,a.b);d=!!a.a;DO(b.d,d);d&&(rZ(b.e,a.a),a.c&&qX(b.c,pT(b.c.c)+ca+(F(),"Pending restart")+na))};_.a=null;
function Eod(a,b){a.a.f=new l0((F(),"Apply Patch"));m0(a.a.f,480);n0(a.a.f,400);o0(a.a.f,Fod(new God(a.a,b,a.a.c)));UR(a.a.f);p0(a.a.f)}function Hod(a){this.a=a}v(2267,1,{},Hod);_.a=null;v(2269,1,{});_.lc=function(){this.cp((ev(),ev(),zy))};_.pg=function(a){var b,d,e;d=NE(a);a=new nD;if(!(d.b.wL(r)&&I(d,r).b.b!=(L(),M))||w(I(d,r).b.pe(),xr)){d=I(d,op).b.qL();for(e=d.Rc();e.Uc();)b=e.Vc(),d=b.a,b=b.b,b=I(b,"server-state").b.pe(),w(Gp,b)&&mD(a,d)}this.cp(a)};
function Iod(a,b,d){this.a=a;this.b=b;this.c=d}v(2268,2269,{},Iod);_.cp=function(a){Eod(this.b,new Jod(!1,this.c,a,b$(this.a.c),this.a.a.c.ai(yha)))};_.a=null;_.b=null;_.c=null;function Kod(a,b){a.a.f=new l0((F(),Und));m0(a.a.f,480);n0(a.a.f,400);var d=new Lod(a.a,b,a.a.c);G2(a.a.f,!d?null:Fod(d));UR(a.a.f);p0(a.a.f)}function Mod(a){this.a=a}v(2270,1,{},Mod);_.a=null;function Nod(a,b,d,e){this.a=a;this.b=b;this.c=d;this.d=e}v(2271,2269,{},Nod);
_.cp=function(a){Kod(this.b,new Ood(!1,this.c,a,b$(this.a.c),this.d))};_.a=null;_.b=null;_.c=null;_.d=null;function Bod(a){this.a=a}v(2272,1,{},Bod);_.bn=function(){yGb(this.a.a,2)};_.mc=function(){$wnd.location.reload()};_.cn=function(){yGb(this.a.a,1)};_.a=null;function Pod(a,b){this.a=a;this.b=b}v(2275,1129,xu,Pod);
_.Vi=function(){var a,b,d,e,h;d=new eS;V(d,new BX(dL));(wD(),xD)==yD?V(d,new Qod((F(),new YN(aO(new XN,'To apply a patch, you must first download a patch file to your local system. The latest patches are available for download at <a href="https://access.redhat.com/home" target="_blank">Customer Portal</a>. After you download a patch, you may use patch manager to apply it and update your system.').a.a.a)))):V(d,new xY((F(),"To apply a patch, you must first download a patch file to your local system. After you download a patch, you may use patch manager to apply it and update your system.")));
V(d,new xY((F(),'Apply a new patch by starting the patch wizard, or "Rollback" to a previously applied patch using the table below.')));this.d=new aR;kS(this.d,new yY("Patch Information"));this.e=new pZ(VF);ZW(this.e,!1);this.c=new SZ(Ei,"Latest Applied Patch");h=new SZ(mt,Oc);b=new SZ(Ed,"Date Applied");a=new OW(Ic);e=new $u;e.ci((gV(),hV),hV.a);e.ci(iV,iV.a);RTb(a.c,e);LTb(a);aX(this.e,Uf,y(YW,oJ,211,[this.c,h,b,a]));LO(this.d,this.e);V(d,this.d);b=new yX;a=new AX("Apply a New Patch",new Rod(this));
a.b=paa;a.a="patch";e=Q4(a$,Sod,"_Apply");a.db.id=e;zX(b,a);e=new Tod(this);a=new A0(Und);a.b=paa;a.a="rollback";h=Q4(a$,Sod,"_Rollback");a.db.id=h;JO(a,e,(BP(),BP(),CP));zX(b,a);a=new A0("Restart");a.b=naa;a.a=cod;e=Q4(a$,Sod,"_Restart");a.db.id=e;JO(a,new Uod(this),CP);zX(b,a);V(d,new yY("Recent Patch History"));V(d,b);this.g=new kod;LO(d,this.g);d.db[Ke]=nN;b=new tT(d);a=new xX(dL);jA(a,b,a.n.c);d=new kA;d.Oc(a);d.Oc(b);ES(d,a,0,(hy(),iy),40,iy);ES(d,b,40,iy,100,jy);return d};_.a=null;_.b=null;
_.c=null;_.d=null;_.e=null;_.f=null;_.g=null;function Rod(a){this.a=a}v(2276,1,u,Rod);_.zd=function(){var a=this.a.f,b,d;b=new Hod(a);w(a.a.c.ai(Sq),us)?Eod(b,new Jod(!0,null,(ev(),ev(),zy),b$(a.c),a.a.c.ai(yha))):(d=XE(a.b),K(new KE(xod(d)),new Iod(a,b,d)))};_.a=null;function Tod(a){this.a=a}v(2277,1,u,Tod);_.zd=function(){var a;if(a=rU(this.a.g.b)){var b=this.a.f,d,e;d=new Mod(b);w(b.a.c.ai(Sq),us)?Kod(d,new Ood(!0,null,(ev(),ev(),zy),b$(b.c),a)):(e=XE(b.b),K(new KE(xod(e)),new Nod(b,d,e,a)))}};
_.a=null;function Uod(a){this.a=a}v(2278,1,u,Uod);_.zd=function(){var a;w(this.a.a.c.ai(Sq),us)?a=(F(),"Do you really want to restart the server?"):a="Do you really want to restart host "+(F(),XE(this.a.b))+Sa;BZ((F(),"Restart"),a,new Vod(this))};_.a=null;function Vod(a){this.a=a}v(2279,1,{},Vod);_.Zj=function(a){a&&yod(this.a.a.f)};_.a=null;function tod(){this.b=new nD;this.a=null}v(2281,1,{},tod);_.Rc=function(){return KC(this.b,0)};_.a=null;_.b=null;_.c=!1;
function Aod(){this.d=Vt;this.a=new G;H(I(this.a,q),kN)}v(2282,1975,{},Aod);_.an=function(){return new Wod(this)};_.a=null;function Wod(a){this.a=a}v(2283,1,zu,Wod);_.Tj=function(){K(new KE(this.a.a),new Xod(this))};_.a=null;function Xod(a){this.a=a}v(2284,1,{},Xod);_.lc=Tu;_.pg=function(a){a=NE(a);this.a.a.b=!(a.b.wL(r)&&I(a,r).b.b!=(L(),M)&&!w(I(a,r).b.pe(),xr))};_.a=null;
function Yod(a,b){var d,e,h,j;this.d=Aka;this.a=new G;I(this.a,l).b=new CE;H(I(this.a,q),af);j=new nD;for(h=b.Rc();h.Uc();)e=h.Vc(),d=new G,T(I(d,l),yi,a),T(I(d,l),Vp,e),H(I(d,q),hN),H(I(d,o),br),mD(j,d);JE(I(this.a,er),j)}v(2288,1975,{},Yod);_.an=function(){return new Zod(this)};_.a=null;function Zod(a){this.a=a}v(2289,1,zu,Zod);_.Tj=function(){K(new VX(this.a.a),new $od(this))};_.a=null;function $od(a){this.a=a}v(2290,1,{},$od);_.lc=Tu;
_.pg=function(a){var b,d;b=!0;a=NE(a);if(!(a.b.wL(r)&&I(a,r).b.b!=(L(),M))||w(I(a,r).b.pe(),xr)){a=I(a,op).b.qL();for(a=a.Rc();a.Uc()&&b;)d=a.Vc(),d=I(d.b,op),OB("stopped",d.b.pe())||(b=!1);this.a.a.b=b}};_.a=null;v(2293,1,nu);
_.mc=function(){var a=this.b,b=this.a.a,d;if(!b.d){d=qA(jB(b.a));var e;b.e||(e=new Pod((DD(b.a),tB(iB(b.a))),ZE(hE(b.a))),b.e=e);e=b.e;var h=Mwa(b),j=M4(hX(b.a)),m;b.b||(m=new sod((uE(jE(b.a)),tB(iB(b.a))),ZE(hE(b.a)),vE(gE(b.a))),b.b=m);d=new Cod(d,e,h,j,b.b,ZE(hE(b.a)),tB(iB(b.a)),(uE(jE(b.a)),MXb(vB(b.a))));tA((dE(b.a),d),FA(dE(b.a)));b.d=d}MA(a,b.d)};function apd(a,b){Hec(a.a,(gO(),new YN(kO(b))))}
function bpd(a,b){var d,e;e=new GW(a);xO(e.db,$qb,!0);d=Q4(a$,cpd,null);e.db.id=d;e.db.setAttribute(ur,"padding-top:.5em;");d=new dS;OO(d.b,e);xO(d.db,Hrb,!0);KO(d,new dpd(d,b),(!NP&&(NP=new tw),NP));KO(d,new epd(d,a),sw?sw:sw=new tw);this.a=new Gec;$R(d,this.a);fP(this,d);this.db[Ke]="hal-error-details"}v(2294,204,sJ,bpd);_.a=null;function dpd(a,b){this.b=a;this.a=b}v(2295,1,mJ,dpd);_._d=function(a){wO(a.a,Irb);bS(this.b).yd(this.a)};_.a=null;_.b=null;function epd(a,b){this.a=a;this.b=b}
v(2296,1,uu,epd);_.$d=function(){bS(this.a).yd(this.b)};_.a=null;_.b=null;function fpd(a){var b;b=new mz;b.a.a+='<div class="patch-error-panel"><i class="icon-exclamation-sign icon-large"></i> ';U(b,kO(a));b.a.a+=TJ;return new lO(b.a.a)}function gpd(a){var b;b=new mz;b.a.a+='<div class="patch-success-panel"><i class="icon-ok icon-large"></i> ';U(b,kO(a));b.a.a+=TJ;return new lO(b.a.a)}function hpd(a){this.a=new rS(ipd(a));fP(this,this.a);this.db.id=Q4(a$,jpd,null);this.db[Ke]="hal-pending"}
v(2298,204,sJ,hpd);_.a=null;function ipd(a){var b;b=new mz;b.a.a+='<div><img src="images/loading_lite.gif" class="spinner"/><span class="title">';U(b,kO(a));b.a.a+="</span></div>";return new lO(b.a.a)}
function zod(){var a,b;OGb.call(this,!1);this.E=!0;this.db.id=Q4(a$,kpd,null);Zx(eO(this.db))[Ke]=Xqb;this.a=new zGb;YR(this,this.a);b=new aR;xO(b.db,bod,!0);a=new hpd((F(),"Restarting the system. Please hold on..."));Xz(b,a,b.db);this.a.Oc(b);b=new aR;xO(b.db,bod,!0);a=new oS('"The operation ran into a timeout. Please wait until the system is up and running and refresh the console."');xO(a.db,aod,!0);Xz(b,a,b.db);this.a.Oc(b);b=new aR;xO(b.db,bod,!0);a=new oS("The operation terminated with an error. Please consulate the logs files to recover from the error and refresh the console.");
xO(a.db,aod,!0);Xz(b,a,b.db);this.a.Oc(b);this.c=kz((new JB(360)).a);this.b=kz((new JB(180)).a);UR(this)}v(2300,654,vu,zod);_.a=null;_.b=0;_.c=0;function lpd(a,b,d,e){this.r=a;this.k=b;this.p=d;this.n=e;this.v=!0;this.u=!1;this.t=this.s=null;this.q=d.$c();this.o=!0}v(2301,1,{});_.k=null;_.n=null;_.o=!1;_.p=null;_.q=!1;_.r=!1;_.s=null;_.t=null;_.u=!1;_.v=!1;function c$(a,b,d){cB(a.e,b,d)}
function Fod(a){var b,d;a.b=new mpd(a);for(d=wA(xA(a.e));d.a.Uc();)b=yA(d),LO(a.b,b);npd(a.b,a.d.e);b=new jX(a.b);a=Q4(a$,a.cZ,null);b.db.id=a;return b}function d$(a,b){a.d=b;npd(a.b,b.e)}v(2302,1,FJ);_.rc=function(){return Fod(this)};_.a=null;_.b=null;_.c=null;_.d=null;_.e=null;function npd(a,b){var d;d=a.a.c;d.f&&d.f.$&&(n0(d.f,400),p0(d.f));a:{var e,h;d=0;for(e=DC(xC(a.a.e));e.a.Uc();++d)if(h=GC(e),d==b){d=h;break a}d=null}d&&(d=VA(a.a.e,d))&&d.mp(a.a.a);RR(a,b)}
function mpd(a){this.a=a;fR.call(this)}v(2303,651,vu,mpd);_.yg=function(a){npd(this,a)};_.a=null;function opd(a,b){a.e.b.db[ug]=!b;a.e.a.db[ug]=!1}function e$(a,b){f$.call(this,a,b,new g$((F(),ZK)),new g$(nK))}function f$(a,b,d,e){this.i=a;this.g=b;this.f=d;this.d=e}v(2304,1,FJ);
_.rc=function(){var a;a=new eS;a.db[Ke]=LN;V(a,this.kp(this.i.a));LO(a,this.jp(this.i.a));this.e=new UW(this.f.b,new ppd(this),this.d.b,new qpd(this));this.f.c?(this.e.b.db.id=Q4(a$,this.cZ,"_Submit"),this.e.b.db[ug]=!this.f.a):mx(this.e.b.db,!1);this.d.c?(this.e.a.db.id=Q4(a$,this.cZ,"_Cancel"),this.e.a.db[ug]=!this.d.a):mx(this.e.a.db,!1);a=NZ(new OZ(a,this.e));var b=Q4(a$,this.cZ,null);a.db.id=b;return a};
_.kp=function(){var a;return new sS((a=new mz,a.a.a+=bK,null!=this.g&&U(a,this.g),a.a.a+=VJ,a.a.a))};_.lp=function(){this.i.ip()};_.mp=Tu;_.d=null;_.e=null;_.f=null;_.g=null;_.i=null;function ppd(a){this.a=a}v(2305,1,u,ppd);_.zd=function(){this.a.lp(this.a.i.a)};_.a=null;function qpd(a){this.a=a}v(2306,1,u,qpd);_.zd=function(){var a=this.a.i.c;a.f&&PZ(a.f)};_.a=null;function rpd(a){e$.call(this,a,(F(),"Shutdown Failed"))}v(2307,2304,FJ,rpd);
_.jp=function(){var a,b,d;return a=new aR,this.b=new FHb,kS(a,this.b),this.a=new bpd((F(),"View error details"),"Hide error details"),kS(a,this.a),kS(a,new sS('<h3 class="patch-followup-header">Possible actions</h3>')),b=new wS((d=new mz,d.a.a+='<ul class="patch-actions"><li><div class="title">',U(d,kO("Cancel (Recommended)")),d.a.a+='</div><div class="body">',U(d,kO("Exit the patch process and use the management CLI to troubleshoot and apply the patch.")),d.a.a+='</div></li><li><div class="title">',
U(d,kO("Continue applying the patch")),d.a.a+='</div><div class="body">',U(d,kO("Select this option only if you want to apply the patch nevertheless.")),d.a.a+="</div></li></ul>",new lO(d.a.a))),Xz(a,b,a.db),a};_.kp=function(){return new sS('<h3 class="error"><i class="icon-exclamation-sign icon-large"></i> '+this.g+VJ)};_.mp=function(a){var b;CR(this.b,a.s);b=null!=a.t;DO(this.a,b);b&&apd(this.a,a.t)};_.a=null;_.b=null;v(2308,2304,FJ);
_.jp=function(a){var b;b=new aR;LO(b,this.np(a));this.a=new sT("stop_servers",(F(),"Yes, shutdown the servers (Recommended)"));this.a.db.id=Q4(a$,this.cZ,"_Yes");wO(this.a,"patch-radio");LR(this.a,(B(),B(),C));a=new sT("stop_servers","No, leave the servers running");var d=Q4(a$,this.cZ,"_No");a.db.id=d;return xO(a.db,"patch-radio",!0),kS(b,this.a),Xz(b,a,b.db),b};_.lp=function(a){a.v=KR(this.a).a;this.i.ip()};_.a=null;function spd(a){f$.call(this,a,(F(),$nd),new h$,new g$(nK))}v(2309,2304,FJ,spd);
_.jp=function(){return new hpd((F(),"Shutdown in progress..."))};_.mp=function(a){var b,d,e,h,j;a.u=!1;a.s=null;a.t=null;j=new G;I(j,l).b=new CE;H(I(j,q),af);e=new nD;for(d=a.p.Rc();d.Uc();)b=d.Vc(),h=new G,T(I(h,l),yi,a.k),T(I(h,l),Vp,b),H(I(h,q),Ltb),mD(e,h);JE(I(j,er),e);b=new Yod(a.k,a.p);fod(b,j,new tpd(this,a))};function tpd(a,b){this.a=a;this.b=b}v(2310,1,{},tpd);
_.bn=function(a){this.b.u=!0;this.b.s=(F(),"The system encountered an error, which prevented the servers from being shutdown.");this.b.t=a.Lb();this.a.i.ip()};_.mc=function(){this.b.q=!0;this.a.i.ip()};_.cn=function(){this.b.u=!0;this.b.s=(F(),"The operation ran into an timeout. It might be that some servers are still running. Please check the server states using the CLI.");this.a.i.ip()};_.a=null;_.b=null;function g$(a){this.b=a;this.c=this.a=!0}function h$(){this.b=TM;this.c=this.a=!1}
v(2311,1,{},g$,h$);_.a=!1;_.b=null;_.c=!1;function upd(a){f$.call(this,a,(F(),Tba),new h$,new g$(nK))}v(2312,2304,FJ,upd);
_.jp=function(){var a,b,d;b=new aR;kS(b,new rS(fpd((F(),"The system encountered an error, which prevented the patch from being applied."))));this.a=new bpd("View error details","Hide error details");kS(b,this.a);kS(b,new sS('<h3 class="patch-followup-header">Possible actions</h3>'));a=new wS((d=new mz,d.a.a+='<ul class="patch-actions"><li><div class="title">',U(d,kO(nK)),d.a.a+='</div><div class="body">',U(d,kO("Select the cancel button to exit. Advanced users may use the CLI patch interface to identify and resolve specific patch errors.")),
d.a.a+='</div></li><li><div class="title">',U(d,kO("Choose a different patch file")),d.a.a+='</div><div class="body">',U(d,kO("Try again with a different patch file.")),d.a.a+='</div><div id="select-different-patch"></div></li></ul>',new lO(d.a.a)));this.b=new X4(Znd);this.b.db.setAttribute(ur,SM);wO(this.b,Zsb);tS(a,this.b,"select-different-patch");Xz(b,a,b.db);return b};_.mp=function(a){wod(this.i.c);apd(this.a,a.g);this.c||(this.c=new vpd(this),JO(this.b,this.c,(BP(),BP(),CP)));this.c.a=a};
_.a=null;_.b=null;_.c=null;function vpd(a){this.b=a}v(2313,1,u,vpd);_.zd=Pu;_.a=null;_.b=null;function wpd(a,b){var d=(F(),epb);f$.call(this,a,d,new g$(cnb),new g$((F(),nK)));this.b=b}v(2314,2304,FJ,wpd);
_.jp=function(){var a,b,d,e,h;a=new aR;kS(a,new oS("You must restart the "+(F(),this.b)+" for the patch to take effect."));kS(a,new rS(gpd("Patch successfully applied!")));this.a=new pZ(VF);ZW(this.a,!1);b=new SZ(Ei,MK);h=new SZ(mt,Oc);e=new $u;e.ci((gV(),hV),hV.a);e.ci(iV,iV.a);d=new OW(Ic);RTb(d.c,e);LTb(d);aX(this.a,Uf,y(YW,oJ,211,[b,h,d]));LO(a,this.a);kS(a,new sS('<h3 class="patch-followup-header">Restart Now?</h3>'));this.c=new sT("restart_host","Yes restart the "+this.b+" now (Recommended).");
this.c.db.id=Q4(a$,xpd,"_RestartYes");wO(this.c,"patch-radio");LR(this.c,(B(),B(),C));b=new sT("restart_host","No, restart later.");d=Q4(a$,xpd,"_RestartNo");b.db.id=d;xO(b.db,"patch-radio",!0);kS(a,this.c);Xz(a,b,a.db);return a};_.lp=function(a){a.o=KR(this.c).a;this.i.ip()};_.mp=function(a){a.i&&rZ(this.a,a.i)};_.a=null;_.b=null;_.c=null;function Jod(a,b,d,e,h){lpd.call(this,a,b,d,e);this.j=h;this.i=this.d=this.c=null;this.f=this.a=!1;this.g=null;this.e=!1}v(2315,2301,{},Jod);_.a=!1;_.b=null;
_.c=null;_.d=null;_.e=!1;_.f=!1;_.g=null;_.i=null;_.j=null;function i$(){i$=Nu;ypd=new j$(Xnd,0);zpd=new j$(Vnd,1);Apd=new j$(Wnd,2);k$=new j$("SELECT_PATCH",3);Bpd=new j$("APPLYING",4);Cpd=new j$(Ynd,5);Dpd=new j$("CONFLICT",6);Epd=new j$(kb,7);Fpd=y(Gpd,Iu,180,[ypd,zpd,Apd,k$,Bpd,Cpd,Dpd,Epd])}function j$(a,b){Aw.call(this,a,b)}v(2316,51,{104:1,114:1,117:1,180:1},j$);var Fpd,Bpd,Dpd,Epd,k$,zpd,Apd,ypd,Cpd;
function God(a,b,d){this.c=a;this.a=b;this.e=new YA;this.d=this.hp();c$(this,(i$(),ypd),new Hpd(this));c$(this,zpd,new spd(this));c$(this,Apd,new rpd(this));c$(this,k$,new Ipd(this));c$(this,Bpd,new Jpd(this,d));c$(this,Cpd,new wpd(this,b.r?Up:yi));c$(this,Dpd,new Kpd(this));c$(this,Epd,new upd(this))}v(2317,2302,FJ,God);_.hp=function(){return this.a.p.$c()?(i$(),k$):(i$(),ypd)};
_.ip=function(){switch(this.d.e){case 0:this.a.v?d$(this,(i$(),zpd)):d$(this,(i$(),k$));break;case 1:this.a.u?d$(this,(i$(),Apd)):d$(this,(i$(),k$));break;case 2:d$(this,(i$(),k$));break;case 6:case 3:d$(this,(i$(),Bpd));break;case 4:this.a.a?(d$(this,(i$(),Dpd)),opd(VA(this.e,this.d),!1)):this.a.f?d$(this,(i$(),Epd)):d$(this,(i$(),Cpd));break;case 5:var a=this.c;a.f&&PZ(a.f);this.a.o?yod(this.c):(a=this.c,qod(a.c,new Dod(a)));break;case 7:d$(this,(i$(),k$))}};
function Hpd(a){e$.call(this,a,(F(),$nd))}v(2318,2308,FJ,Hpd);_.np=function(a){var b;return b=new aR,kS(b,new oS('To avoid potential system conflicts, it is advised that you shutdown the servers on host "'+(F(),a.k)+'".')),kS(b,new sS('<h3 class="patch-followup-header">Shutdown servers before applying the patch?</h3>')),b};function Jpd(a,b){f$.call(this,a,null,new h$,new g$((F(),nK)));this.b=b}v(2319,2304,FJ,Jpd);_.jp=function(){var a;a=new aR;this.c=new hpd(g);kS(a,this.c);return a};
_.mp=function(a){var b;b="Applying "+(F(),a.b)+va;pS(this.c.a,ipd(b).a);b=xI(a.n);H(I(b,q),"patch");HE(I(vI(I(b,rM)),"input-stream-index"),0);a.e&&IE(I(b,cia),!0);b=b.b.AL(!1);a.d.db.value=b;this.a||(this.a=new Lpd(this),KO(a.c,this.a,(!nS&&(nS=new tw),nS)));this.a.a=a;var d=a.c;wHb(d)&&(b=d.db,(d=d.b)&&(d.__formAction=b.action),b.submit());a.o=!0;a.i=null;a.a=!1;a.f=!1;a.g=null;a.e=!1};_.a=null;_.b=null;_.c=null;function Lpd(a){this.b=a}v(2320,1,u,Lpd);
_.Eg=function(a){var b,d,e,a=b=a.a;-1!=Vy(b,hz(60))&&(a=Wv(b,b.indexOf(Ra)+1,b.lastIndexOf(RJ)));try{e=(UP(),ZP(a,!1)).le(),(d=XP(e,r).me())&&OB(xr,d.a)?qod(this.b.b,new Mpd(this)):(this.a.g=JSON.stringify(e.a,null,2),-1!=this.a.g.indexOf("conflicts")?this.a.a=!0:this.a.f=!0,this.b.i.ip())}catch(h){if(h=Xu(h),Yu(h,132))d=h,this.a.f=!0,this.a.g=(F(),d.Lb())+"\n\nResponse from server:\n\n"+a,this.b.i.ip();else throw h;}};_.a=null;_.b=null;function Mpd(a){this.a=a}v(2321,1213,{},Mpd);
_.pg=function(a){this.a.a.i=a.a;this.a.b.i.ip()};_.a=null;function Kpd(a){e$.call(this,a,(F(),"Conflict"))}v(2322,2304,FJ,Kpd);
_.jp=function(){var a,b;b=new aR;kS(b,new rS(fpd((F(),"The system encountered a conflict, which prevented the patch from being applied."))));this.a=new bpd("View error details","Hide error details");kS(b,this.a);kS(b,new sS('<h3 class="patch-followup-header">Possible actions</h3>'));a=new YN(aO(new XN,'<i class="icon-warning-sign"></i> Override all conflicts').a.a.a);var d;d=new mz;d.a.a+='<ul class="patch-actions"><li><div class="title">';U(d,kO("Cancel (Recommended)"));d.a.a+='</div><div class="body">';
U(d,kO("Select the cancel button to exit. Advanced users may use the CLI patch interface to identify and resolve specific patch conflicts."));d.a.a+='</div></li><li><div class="title">';U(d,a.a);d.a.a+='</div><div class="body">';U(d,kO("Select this option only if you understand the possible conflicts which caused this error. Selecting override might cause unpredictable results."));d.a.a+='</div><div id="patch-conflict-override"></div></li></ul>';a=new lO(d.a.a);a=new wS(a);this.b=new MR("Override all conflicts and continue");
this.b.db.id=Q4(a$,Npd,"_Override");nGb(this.b,new Opd(this));tS(a,this.b,"patch-conflict-override");Xz(b,a,b.db);return b};_.lp=function(a){a.e=KR(this.b).a;a.a=!KR(this.b).a;this.i.ip()};_.mp=function(a){wod(this.i.c);apd(this.a,a.g)};_.a=null;_.b=null;function Opd(a){this.a=a}v(2323,1,u,Opd);_.Ed=function(a){opd(this.a,a.a.a)};_.a=null;function Ipd(a){e$.call(this,a,(F(),Znd))}v(2324,2304,FJ,Ipd);
_.jp=function(a){var b,d,e;b=new yHb;b.db.action=a.j;e=b.db;d=Esb;e.enctype=d;e.encoding=d;b.db.method=Vsb;e=new aR;OO(b,e);a.c=b;d=new eod;Xz(e,d,e.db);a.d=d;kS(e,new oS((F(),"Select an available patch file to apply to your system.")));a.r||(this.b=new sS(g),this.b.db.style[QM]=2+(hy(),"em"),kS(e,this.b));d=new aR;d.db.style[QM]=2+(hy(),"em");a=new DS("Select a patch to apply");a.db.style.marginRight=qlb;Xz(d,a,d.db);this.c=new sHb;this.c.db.name="patch_file";this.c.db.id=Q4(a$,Ppd,"_Upload");kS(d,
this.c);Xz(e,d,e.db);this.a=new sS('<i class="icon-exclamation-sign"></i> Please choose a patch!');wO(this.a,ch);DO(this.a,!1);kS(e,this.a);return b};_.lp=function(a){DO(this.a,!1);a.b=this.c.db.value;null==a.b||0==a.b.length?DO(this.a,!0):this.i.ip()};_.mp=function(a){a.r||(a.q?CR(this.b,"Host: "+a.k+ca+(F(),"Servers shutdown")+na):pS(this.b,"Host: "+a.k+ca+(F(),"Servers running")+na),this.b.db.style[QM]=2+(hy(),"em"));DO(this.a,!1)};_.a=null;_.b=null;_.c=null;
function Qpd(a){e$.call(this,a,(F(),Tnd))}v(2325,2304,FJ,Qpd);
_.jp=function(){var a,b;a=new aR;kS(a,new oS((F(),'Choose from the options below and click "Next" to verify the rollback operation.')));b=new oS('Select "Reset Configuration" to update the installation configurations and reset the snapshots that were taken when the patch was applied.');b.db.style[QM]=1+(hy(),"em");Xz(a,b,a.db);b=new oS('Select "Override all" to bypass any content verification on the miscellaneous items changed by the patch that is rolled back.');b.db.style[QM]=qlb;Xz(a,b,a.db);b=
new pZ(mG);this.b=new uZ(jp,"Reset Configuration");this.a=new uZ(wn,"Override all");aX(b,Uf,y(YW,oJ,211,[this.b,this.a]));kS(a,!b?null:TW(b));return a};_.lp=function(a){a.c=KR(this.b.a).a;a.a=KR(this.a.a).a;this.i.ip()};_.a=null;_.b=null;function Rpd(a){e$.call(this,a,(F(),nmb))}v(2326,2304,FJ,Rpd);
_.jp=function(){var a,b,d,e,h;a=new aR;b=new oS((F(),"Confirm your options and the selected patch for rollback."));b.db.style.marginBottom=1+(hy(),"em");Xz(a,b,a.db);this.c=new oS(g);kS(a,this.c);this.b=new oS(g);this.b.db.style.marginBottom=qlb;kS(a,this.b);this.a=new pZ(VF);ZW(this.a,!1);d=new SZ(Ei,MK);b=new SZ(Ed,"Date Applied");h=new $u;h.ci((gV(),hV),hV.a);h.ci(iV,iV.a);e=new OW(Ic);RTb(e.c,h);LTb(e);aX(this.a,Uf,y(YW,oJ,211,[d,b,e]));LO(a,this.a);return a};
_.mp=function(a){a.b&&rZ(this.a,a.b);CR(this.c,(F(),"Reset Configuration")+La+(a.c?us:uh));CR(this.b,"Override all: "+(a.a?us:uh))};_.a=null;_.b=null;_.c=null;function Ood(a,b,d,e,h){lpd.call(this,a,b,d,e);this.b=h}v(2327,2301,{},Ood);_.a=!1;_.b=null;_.c=!1;_.d=!1;_.e=null;function Spd(a){f$.call(this,a,(F(),Tba),new h$,new g$(nK))}v(2328,2304,FJ,Spd);
_.jp=function(){var a,b,d;b=new aR;kS(b,new rS(fpd((F(),"The system encountered an error, which prevented the patch from being rolled back."))));this.c=new bpd("View error details","Hide error details");kS(b,this.c);kS(b,new sS('<h3 class="patch-followup-header">Possible actions</h3>'));a=new wS((d=new mz,d.a.a+='<ul class="patch-actions"><li><div class="title">',U(d,kO(nK)),d.a.a+='</div><div class="body">',U(d,kO("Exit the rollback process and use the management CLI to troubleshoot and rollback the patch.")),
d.a.a+='</div></li><li><div class="title">',U(d,kO("Choose different options")),d.a.a+='</div><div class="body">',U(d,kO("Try again with a different options.")),d.a.a+='</div><div id="choose-options"></div></li></ul>',new lO(d.a.a)));this.a=new X4(Tnd);this.a.db.setAttribute(ur,SM);wO(this.a,Zsb);tS(a,this.a,"choose-options");Xz(b,a,b.db);return b};_.mp=function(a){wod(this.i.c);apd(this.c,a.e);this.b||(this.b=new Tpd(this),JO(this.a,this.b,(BP(),BP(),CP)));this.b.a=a};_.a=null;_.b=null;_.c=null;
function Tpd(a){this.b=a}v(2329,1,u,Tpd);_.zd=Pu;_.a=null;_.b=null;function Upd(a,b){var d=(F(),Rob);f$.call(this,a,d,new g$(cnb),new g$((F(),nK)));this.a=b}v(2330,2304,FJ,Upd);
_.jp=function(){var a,b;a=new aR;kS(a,new oS("You must restart the "+(F(),this.a)+" for the patch to take effect."));kS(a,new rS(gpd("Patch successfully rolled back!")));kS(a,new sS('<h3 class="patch-followup-header">Restart Now?</h3>'));this.b=new sT("restart_host","Yes restart the "+this.a+" now (Recommended).");this.b.db.id=Q4(a$,Vpd,"_RestartYes");wO(this.b,"patch-radio");LR(this.b,(B(),B(),C));b=new sT("restart_host","No, restart later.");var d=Q4(a$,Vpd,"_RestartNo");b.db.id=d;xO(b.db,"patch-radio",
!0);kS(a,this.b);Xz(a,b,a.db);return a};_.lp=function(a){a.o=KR(this.b).a;this.i.ip()};_.a=null;_.b=null;function l$(){l$=Nu;Wpd=new m$(Xnd,0);Xpd=new m$(Vnd,1);Ypd=new m$(Wnd,2);n$=new m$("CHOOSE_OPTIONS",3);Zpd=new m$("CONFIRM_ROLLBACK",4);$pd=new m$("ROLLING_BACK",5);aqd=new m$(Ynd,6);bqd=new m$(kb,7);cqd=y(dqd,Iu,181,[Wpd,Xpd,Ypd,n$,Zpd,$pd,aqd,bqd])}function m$(a,b){Aw.call(this,a,b)}v(2331,51,{104:1,114:1,117:1,181:1},m$);var cqd,n$,Zpd,bqd,$pd,Xpd,Ypd,Wpd,aqd;
function Lod(a,b,d){this.c=a;this.a=b;this.e=new YA;this.d=this.hp();c$(this,(l$(),Wpd),new eqd(this));c$(this,Xpd,new spd(this));c$(this,Ypd,new rpd(this));c$(this,n$,new Qpd(this));c$(this,Zpd,new Rpd(this));c$(this,$pd,new fqd(this,d));c$(this,aqd,new Upd(this,b.r?Up:yi));c$(this,bqd,new Spd(this))}v(2332,2302,FJ,Lod);_.hp=function(){return this.a.p.$c()?(l$(),n$):(l$(),Wpd)};
_.ip=function(){switch(this.d.e){case 0:this.a.v?d$(this,(l$(),Xpd)):d$(this,(l$(),n$));break;case 1:this.a.u?d$(this,(l$(),Ypd)):d$(this,(l$(),n$));break;case 2:d$(this,(l$(),n$));break;case 3:d$(this,(l$(),Zpd));break;case 4:d$(this,(l$(),$pd));break;case 5:this.a.d?d$(this,(l$(),bqd)):d$(this,(l$(),aqd));break;case 6:var a=this.c;a.f&&PZ(a.f);this.a.o?yod(this.c):(a=this.c,qod(a.c,new Dod(a)));break;case 7:d$(this,(l$(),n$))}};function eqd(a){e$.call(this,a,(F(),$nd))}v(2333,2308,FJ,eqd);
_.np=function(a){var b;return b=new aR,kS(b,new oS('To avoid potential system conflicts, it is advised that you shutdown the servers on host "'+(F(),a.k)+'".')),kS(b,new sS('<h3 class="patch-followup-header">Shutdown servers before rolling back the patch?</h3>')),b};function fqd(a,b){f$.call(this,a,null,new h$,new g$((F(),nK)));this.a=b}v(2334,2304,FJ,fqd);_.jp=function(){var a;a=new aR;this.b=new hpd(g);kS(a,this.b);return a};
_.mp=function(a){var b="Rolling back "+(F(),a.b.Zo())+va;pS(this.b.a,ipd(b).a);var b=a.b,d=a.c,e=a.a,a=new gqd(this,a),h;h=b$(this.a);H(I(h,q),"rollback");H(I(h,"patch-id"),b.Zo());IE(I(h,Hia),d);IE(I(h,cia),e);K(new KE(h),new uod(a))};_.a=null;_.b=null;function vod(a,b){a.b.d=!0;a.b.e=b.Lb();a.a.i.ip()}function gqd(a,b){this.a=a;this.b=b}v(2335,1,{},gqd);_.lc=function(a){vod(this,a)};_.pg=function(){this.b.d=!1;this.a.i.ip()};_.a=null;_.b=null;function Qod(a){rS.call(this,a);this.db[Ke]=Iqb}
v(4549,680,DJ,Qod);
function o$(a){ZH();var b,d,e,h,j;j=a.length;b=new XB;b.a.a+=da;for(h=0;h<j;h=Lra(a,h))switch(d=a.charCodeAt(h),d){case 34:b.a.a+=bM;break;case 92:b.a.a+=mpb;break;case 8:b.a.a+=npb;break;case 12:b.a.a+=opb;break;case 10:b.a.a+=cM;break;case 13:b.a.a+=ppb;break;case 9:b.a.a+=qpb;break;case 47:b.a.a+="\\/";break;default:if(0<=d&&31>=d||127<=d&&159>=d||8192<=d&&8447>=d){e=Qu(d);b.a.a+="\\u";for(d=0;d<4-e.length;++d)b.a.a+=Ba;U(b,e.toUpperCase())}else e=b.a,d=String.fromCharCode(d),e.a+=d}b.a.a+=da;
return b.a.a}v(7275,1,Eu);_.tL=function(a){U(a,this.pe())};_.AL=function(a){var b;b=new mz;this.tL(b,0,!a);return b.a.a};function hqd(a,b,d){a.a.a+=Mt;d?bI((a.a.a+=aa,a),b+1):a.a.a+=ba;U(a,o$(cmb));a.a.a+=IJ;d?bI((a.a.a+=aa,a),b):a.a.a+=ba;a.a.a+=Rt}v(7278,7275,{113:1,223:1});_.tL=function(a,b,d){hqd(a,b,d)};_.AL=function(a){var b;b=new XB;hqd(b,0,!a);return b.a.a};v(7282,7275,{113:1,225:1});
_.tL=function(a,b,d){a.a.a+=Mt;d?bI((a.a.a+=aa,a),b+1):a.a.a+=ba;U(a,o$("EXPRESSION_VALUE"));a.a.a+=IJ;U(a,o$(this.a));d?bI((a.a.a+=aa,a),b):a.a.a+=ba;a.a.a+=Rt};v(7285,7275,{113:1,227:1});_.tL=function(a,b,d){var e,h,j;j=d&&1<this.a.b;e=dv(this.a);h=new ZC(e.b.Rc());a.a.a+=Qc;for(j&&bI((a.a.a+=aa,a),b+1);h.b.Uc();)e=h.b.Vc(),e.b.tL(a,j?b+1:b,d),h.b.Uc()&&(j?bI((a.a.a+=qa,a),b+1):a.a.a+=pa);j&&bI((a.a.a+=aa,a),b);a.a.a+=Sc};v(7290,7275,Eu);_.tL=function(a){a.a.a+=Hm};v(7291,7275,{113:1,231:1});
_.tL=function(a,b,d){var e,h,j;a.a.a+=Mt;(j=d&&1<this.a.c.ad())&&bI((a.a.a+=aa,a),b+1);for(h=new kD(new jD(this.a));h.b!=h.c.a.b;)e=lD(h),U(a,cI(e.d)),a.a.a+=IJ,e=e.e,e.b.tL(a,j?b+1:b,d),h.b!=h.c.a.b&&(j?bI((a.a.a+=qa,a),b+1):a.a.a+=ra);j&&bI((a.a.a+=aa,a),b);a.a.a+=Rt};v(7293,7275,{113:1,232:1});
_.tL=function(a,b,d){a.a.a+=Mt;d?bI((a.a.a+=aa,a),b+1):a.a.a+=ba;U(a,o$("PROPERTY_VALUE"));a.a.a+=IJ;a.a.a+=Mt;d?bI((a.a.a+=aa,a),b+1+1):a.a.a+=ba;U(a,o$(this.a.a));a.a.a+=IJ;this.a.b.b.tL(a,b+1+1,d);d?bI((a.a.a+=aa,a),b+1):a.a.a+=ba;a.a.a+=Rt;d?bI((a.a.a+=aa,a),b):a.a.a+=ba;a.a.a+=Rt};v(7294,7275,{113:1,233:1});_.tL=function(a){U(a,o$(this.a))};v(7295,7275,{113:1,234:1});
_.tL=function(a,b,d){a.a.a+=Mt;d?bI((a.a.a+=aa,a),b+1):a.a.a+=ba;U(a,o$("TYPE_MODEL_VALUE"));a.a.a+=IJ;U(a,o$(this.a.d));d?bI((a.a.a+=aa,a),b):a.a.a+=ba;a.a.a+=Rt};E(2265);E(2269);E(2266);E(2267);E(2268);E(2270);E(2271);E(2272);E(1975);E(1979);E(1978);E(1976);E(1977);E(2262);E(2263);E(2264);var Sod=E(2275);E(2278);E(2279);E(2276);E(2277);var mod=E(2257);E(2258);E(2259);E(2260);E(2261);E(2281);E(2301);E(2315);E(2327);E(690);var kpd=E(2300);E(2282);E(2283);E(2284);E(2302);E(2303);E(2317);E(2304);E(2308);
E(2318);E(2305);E(2306);E(2332);E(2333);var jpd=E(2298),iqd=GB(2316,zw,function(){i$();return Fpd}),Gpd=CB(7527,iqd);E(2309);E(2310);E(2307);var Ppd=E(2324);E(2319);E(2320);E(2321);var xpd=E(2314),Npd=E(2322);E(2323);E(2312);E(2313);var jqd=GB(2331,zw,function(){l$();return cqd}),dqd=CB(7528,jqd);E(2325);E(2326);E(2334);E(2335);var Vpd=E(2330);E(2328);E(2329);E(2311);var cpd=E(2294);E(2295);E(2296);E(2288);E(2289);E(2290);vw(dJ)(57);function Pu(){this.b.i.ip()}function Tu(){}
function ew(a){return a.Zo()};