var logout={layout:"vbox",width:65,height:33,id:"logoutButtonDiv",align:"right",items:[{xtype:"container",html:'<div class="logOutButton">'+logouTitle+' <div class="crl" style="margin-top:-4px"></div><div style="display:block;margin:auto;font-size:9px;white-space:nowrap;margin-left:-2px;color:#29282a">(0.22 Secs)</div> </div>'}]};
var logonTot={xtype:"container",padding:5,html:'<table><tr><td style="font-size:11px;text-align:center;font-weight:bold">12.4</td></tr><tr><td style="font-size:10px;text-align:center">'+webLogonTitle+"</td></tr></table>"};var appLaunchTot={xtype:"container",padding:5,html:'<table><tr><td style="font-size:11px;text-align:center;font-weight:bold">32</td></tr><tr><td style="font-size:10px;text-align:center">'+appTitle+aDesTitle+"</br>"+launchTitle+"</td></tr></table>"};
var panelW=Ext.getBody().getViewSize().width-50;var panelH=Ext.getBody().getViewSize().height-20;Ext.define("ComponentMeasureTabSet.view.CitrixLogon",{extend:"Ext.panel.Panel",alias:"widget.citrixlogon",margin:"10",layout:{type:"vbox",align:"stretch"},id:"ctxLogon_id",style:{"float":"right","border":"0px solid blue"},jsonData:null,listeners:{"resize":function(a){if(strSkin=="Dark"){Ext.get("innerDiagram-body").setStyle("background-color","#444444");
}var c=Ext.get("innerDiagram-body").getHeight()-20;var b=Ext.get("innerDiagram-body").getWidth();a.setHeight(c);a.setWidth(b);},"afterrender":function(){var h=Ext.getCmp("ctxLogon_id").jsonData;var c="";var g="";var f="";var b="";if(c!=null||g!=null||f!=null||b!=null){c=h.urlString;g=h.server_name;f=h.application;
b=h.user;}else{c="N/A";g="N/A";f="N/A";b="N/A";}var e="";var d="";if(!Ext.isEmpty(h.test)&&h.test!="CtxXcXALogonSimTest"){e="display:none;visibility:hidden";d="width:500px !important";}var a='<table width="100%"><tr><td><div class="ctxDataBlock">'+"<ul><li>"+webURLTitle+" </li><li>:</li><li style="+d+' width="350" data-qtip="'+c+'" data-qclass="yellowTip">'+c+"</li>"+"<li style="+e+" >"+sessionHostTitle+"</li><li style="+e+" >:</li><li style="+e+' data-qclass="yellowTip" data-qtip="'+g+'">'+g+'</li></ul><div class="crl"></div>'+"<ul><li>"+userTitle+'</li><li>:</li><li data-qtip="'+b+'" data-qclass="yellowTip">'+b+"</li>"+"<li>"+targetTitle+'</li><li>:</li><li data-qtip="'+f+'" data-qclass="yellowTip">'+f+"</li></ul>"+'</div></td></tr></table><div ><ul class="ctxLegend"><li class="logonSuccess"></li><li>'+succTitle+'</li><li>&nbsp;</li><li class="logonFailed"></li><li>'+failTitle+"</li></</ul></div>";
Ext.getCmp("footerPanel").update(a);}},items:[{xtye:"container",id:"mainDiv",jsonData:null,align:"center",style:{"border":"0px solid red"},listeners:{"resize":function(a){var c=Ext.get("innerDiagram-body").getHeight()-100;var b=Ext.get("innerDiagram-body").getWidth();a.setHeight(c);a.setWidth(b);},"afterrender":function(){var d=Ext.getCmp("ctxLogon_id").jsonData;
var a='<span id="logonHeaderText" style="display:block;width:100%;text-align:center">'+d.c_type+" "+flowfortxt+' <span class="f17-bold" >'+d.host+"</span> "+attext+' <span class="f17-bold" >'+d.time+"</span>";Ext.getCmp("headerText").update(a);var c=Ext.get("innerDiagram-body").getHeight()-100;var b=Ext.get("innerDiagram-body").getWidth();
this.setHeight(c);this.setWidth(b);}},items:[{xtype:"container",margin:"20 0 10 0",id:"headerText",height:30},{xtype:"container",id:"circleImg ",style:{"border":"0px solid orange"},cls:"ctxCircleImage",listeners:{"render":function(B){var h=Ext.getCmp("ctxLogon_id").jsonData;var aj=Ext.get("innerDiagram-body").getHeight();
var R=Ext.get("innerDiagram-body").getWidth();var K=h.logoff_time;var b="";if(Ext.isEmpty(K)||K==null||K==undefined){K="-";}var u=h.isEnumDisabled;var c=false;if(!Ext.isEmpty(u)&&u!=null&&u!=undefined&&(u==true||u=="true")){c=true;}if(c==true){B.removeCls("ctxCircleImage");B.addCls("ctxCircleImage-v1");
}var ab="#29282a";try{if(monitor_Skin.toLowerCase()=="light"){ab="#29282a";}else{ab="#c6c6c6";}}catch(ah){}try{var an=h["test"];if(an=="HrznLogonSimTest"){Ext.create("Ext.container.Container",{layout:{type:"absolute"},flex:1,id:"stateBulletPanel",renderTo:"statePanel",height:"80%",style:{"border":"0px solid yellow"},listeners:{"render":function(e){},},html:'<div id="totalSimDiv"></div>',items:[{width:250,height:160,cls:"ctxLogonPanel",align:"right",style:{"border":"0px solid red"},id:"authentication",},{width:300,height:140,cls:"ctxLogonPanel",align:"left",style:{"border":"0px solid blue"},id:"enumeration",},{width:300,height:110,cls:"ctxLogonPanel",align:"right",style:{"border":"0px solid green"},id:"weburlHorizon",},{cls:"ctxLogonPanel",align:"right",id:"hdxsession",width:300,style:{"border":"0px solid violet"},},{height:85,width:300,cls:"ctxLogonPanel",align:"right",style:{"border":"0px solid orange"},id:"clientProcess",},{cls:"ctxLogonPanel",align:"left",style:{"border":"0px solid black"},id:"appLaunch",hidden:c,},{cls:"ctxLogonPanel",align:"left",width:300,style:{"border":"0px solid red"},id:"logOff",},{height:35,cls:"ctxLogonPanel",style:{"border":"0px solid green"},id:"dummypanel",},{height:35,cls:"ctxLogonPanel",id:"logout",hidden:c,items:[{layout:{type:"vbox",pack:"center",align:"center"},width:65,height:35,id:"logoutButtonDiv",cls:"logOutButton",items:[{xtype:"container",html:'<div  style="font-weight:bold;margin:auto;white-space:nowrap;color:'+ab+'">'+K+"</div> "},{xtype:"container",margin:"0 0 0 0",html:"<div >"+logouTitle+"</div>"}]}]}]});
}else{if(an=="AWSLogonSimTest"){Ext.create("Ext.container.Container",{layout:{type:"absolute"},flex:1,id:"stateBulletPanel",renderTo:"statePanel",height:"80%",style:{"border":"0px solid yellow"},listeners:{"render":function(e){}},html:'<div id="totalSimDiv"></div>',items:[{width:250,height:160,cls:"ctxLogonPanel",align:"right",style:{"border":"0px solid red"},id:"authentication",},{width:300,height:140,cls:"ctxLogonPanel",align:"left",style:{"border":"0px solid blue"},id:"enumeration",},{width:300,height:110,cls:"ctxLogonPanel",align:"right",style:{"border":"0px solid green"},id:"weburlAws",},{cls:"ctxLogonPanel",align:"right",id:"hdxsession",width:300,style:{"border":"0px solid violet"},},{height:85,width:300,cls:"ctxLogonPanel",align:"right",style:{"border":"0px solid orange"},id:"clientProcess",},{cls:"ctxLogonPanel",align:"left",style:{"border":"0px solid black"},id:"appLaunch",hidden:c,},{cls:"ctxLogonPanel",align:"left",width:300,style:{"border":"0px solid red"},id:"logOff",},{height:35,cls:"ctxLogonPanel",style:{"border":"0px solid green"},id:"dummypanel",},{height:55,cls:"ctxLogonPanel",id:"logout",hidden:c,items:[{layout:"vbox",width:65,height:33,id:"logoutButtonDiv",align:"right",items:[{xtype:"container",html:'<div class="logOutButton">'+logouTitle+' <div class="crl" style="margin-top:-4px"></div><div style="font-weight:bold;display:block;margin:auto;font-size:9px;white-space:nowrap;margin-left:-2px;color:'+ab+'">('+K+")</div> </div>"}]}]}]});
}else{Ext.create("Ext.container.Container",{layout:{type:"absolute"},flex:1,id:"stateBulletPanel",renderTo:"statePanel",height:"80%",style:{"border":"0px solid yellow"},listeners:{"render":function(e){}},html:'<div id="totalSimDiv"></div>',items:[{width:250,height:160,cls:"ctxLogonPanel",align:"right",style:{"border":"0px solid red"},id:"authentication",},{width:300,height:140,cls:"ctxLogonPanel",align:"left",style:{"border":"0px solid blue"},id:"enumeration",},{width:300,height:110,cls:"ctxLogonPanel",align:"right",style:{"border":"0px solid green"},id:"weburl",},{cls:"ctxLogonPanel",align:"right",id:"hdxsession",width:300,style:{"border":"0px solid violet"},},{height:85,width:300,cls:"ctxLogonPanel",align:"right",style:{"border":"0px solid orange"},id:"clientProcess",},{cls:"ctxLogonPanel",align:"left",style:{"border":"0px solid black"},id:"appLaunch",hidden:c,},{cls:"ctxLogonPanel",align:"left",width:300,style:{"border":"0px solid red"},id:"logOff",},{height:35,cls:"ctxLogonPanel",style:{"border":"0px solid green"},id:"dummypanel",},{height:80,width:65,cls:"ctxLogonPanel",layout:"vbox",id:"logout",hidden:c,items:[{layout:{type:"vbox",pack:"center",align:"center"},width:65,height:34,cls:"logOutButton",id:"logoutButtonDiv",items:[{xtype:"container",html:'<div  style="font-weight:bold;display:block;margin:auto;white-space:nowrap;color:'+ab+'">'+K+"</div> "},{xtype:"container",margin:"0 0 0 0",html:"<div >"+logouTitle+"</div>"}]}]}]});
}}}catch(S){}var m=h.client_process["state"];var q=h.client_process["icon"];var ae=h.client_process["value"];var I=h.client_process["text"];var n=h.web_url_access["state"];var a=h.web_url_access["icon"];var ad=h.web_url_access["value"];var y=h.web_url_access["text"];var x=h.authentication["state"];var E=h.authentication["icon"];
var g=h.authentication["value"];var Q=h.authentication["text"];var ac=h.enumeration["state"];var J=h.enumeration["icon"];var N=h.enumeration["value"];var T=h.enumeration["text"];var D=h.hdx_session["state"];var C=h.hdx_session["icon"];var o=h.hdx_session["value"];var O=h.hdx_session["text"];var f=h.app_launch["state"];
var L=h.app_launch["icon"];var aa=h.app_launch["value"];var U=h.app_launch["text"];var ag=h.app_launch["state"];var Y=h.app_launch["icon"];var P=h.app_launch["value"];var j=h.app_launch["text"];var Z=h["logon_time"];var i=h["launch_time"];var M="";var G="";var A="";var ak="";var s="";var am=h.total_time;
var X=h.screenShot;var W=true;var t="Scrshot";var v="button";if(X==undefined||X==null||X=="undefined"||X=="-"||Ext.isEmpty(X)){W=false;v="container";t="";}if(M!="undefined"||M!=""||M!=null){M=h.web_url_access["color"];}else{M="";}if(G!="undefined"||G!=""||G!=null){G=h.client_process["color"];}else{G="";
}if(A!="undefined"||A!=""||A!=null){A=h.authentication["color"];}else{A="";}if(ak!="undefined"||ak!=""||ak!=null){ak=h.hdx_session["color"];}else{ak="";}if(s!="undefined"||s!=""||s!=null||s=="-"){s=h.app_launch["color"];}else{s="";}if(m=="GOOD"){var r={layout:{type:"column",align:"stretch"},height:85,width:300,id:"clientProcess"+m,style:{"float":"left","border":"0px solid red"},items:[{xtype:"container",style:{"padding-top":"17px","margin-right":"7px"},layout:{type:"table",columns:1,tableAttrs:{style:{align:"center",overflow:"visible"}},tdAttrs:{align:"center",valign:"middle",overflow:"visible"}},items:[{xtype:"label",cls:"logonValue",style:{"color":G},text:ae},{xtype:"label",cls:"logonLabel",text:I}]},{xtype:"container",width:100,html:'<div class="'+q+'"></div>'},{xtype:"container",height:40,width:40,html:'<div style="margin-top:20px" class="logon'+m+'"></div>'}]};
Ext.getCmp("clientProcess").add(r);}else{if(m=="HIGH"){var r={layout:{type:"column",align:"stretch"},width:300,id:"clientProcess"+x,items:[{xtype:"container",layout:{type:"vbox",pack:"center"},style:{"padding-top":"30px","margin-right":"5px"},layout:{type:"table",columns:1,tableAttrs:{style:{align:"center",overflow:"visible"}},tdAttrs:{align:"center",valign:"middle",overflow:"visible"}},items:[{xtype:"label",cls:"logonLabelDisable",text:I}]},{xtype:"container",height:100,width:80,html:'<div class="'+q+'" ></div>'},{xtype:v,height:40,width:40,id:"clientProcessStateButton",cls:"logon"+m,style:{"border":"none","margin-top":"20px","margin-left":"22px !important"},listeners:{"render":function(ao){var e=Ext.getCmp("ctxLogon_id").jsonData;
if(m=="HIGH"){Ext.create("Ext.tip.ToolTip",{target:Ext.get("clientProcessStateButton"),trackMouse:false,html:e.error});}if(m=="HIGH"&&W){ao.removeCls("logon"+m);ao.addCls("logon"+m+""+t);}},"click":function(){showErrorScreenShot(X);}}}]};Ext.getCmp("clientProcess").add(r);}else{var r={layout:{type:"column",align:"stretch"},width:300,id:"clientProcess"+x,items:[{xtype:"container",style:{"padding-top":"20px","margin-right":"5px"},layout:{type:"table",columns:1,tableAttrs:{style:{align:"center",overflow:"visible"}},tdAttrs:{align:"center",valign:"middle",overflow:"visible"}},items:[{xtype:"label",cls:"logonLabelDisable",text:I}]},{xtype:"container",height:100,width:80,html:'<div class="'+q+'" ></div>'},{xtype:"container",height:40,width:40,id:"clientProcessStateButton",cls:"logon"+m,style:{"border":"none","margin-top":"20px","margin-left":"22px !important"},html:'<div id="clientProcessStateButton" class="logon'+m+'"></div>',listeners:{"render":function(ao){var e=Ext.getCmp("ctxLogon_id").jsonData;
if(m=="HIGH"){Ext.create("Ext.tip.ToolTip",{target:Ext.get("clientProcessStateButton"),trackMouse:false,html:e.error});}}}}]};Ext.getCmp("clientProcess").add(r);}}if(n=="GOOD"){var V={layout:{type:"hbox",pack:"end"},width:300,id:"webUrl"+n,items:[{xtype:"container",style:{"padding-top":"10px","margin-top":"-8px","margin-right":"30px"},layout:{type:"table",columns:1,tableAttrs:{style:{align:"right",overflow:"visible",}},tdAttrs:{align:"center",valign:"middle",overflow:"visible"}},items:[{xtype:"label",cls:"logonValue",style:{"color":M},html:ad},{xtype:"label",cls:"logonLabel",style:{"margin-left":"0px"},html:y}]},{xtype:"container",height:100,width:100,html:'<div class="'+a+'" style="position:relative;left:-20px;;margin-top:-4px"></div>'},{xtype:"container",height:40,width:40,html:'<div style="margin-top:25px!important" class="logon'+n+'" ></div>'}]};
var an=h["test"];if(an=="HrznLogonSimTest"){Ext.getCmp("weburlHorizon").add(V);}else{if(an=="AWSLogonSimTest"){Ext.getCmp("weburlAws").add(V);}else{Ext.getCmp("weburl").add(V);}}}else{if(n=="HIGH"){var V={layout:{type:"hbox",pack:"end"},width:300,id:"webUrl"+n,items:[{xtype:"container",style:{"padding-top":"20px","margin-right":"30px"},layout:{type:"table",columns:1,tableAttrs:{style:{align:"center",overflow:"visible"}},tdAttrs:{align:"center",valign:"middle",overflow:"visible"}},items:[{xtype:"label",cls:"logonLabelDisable",html:y}]},{xtype:"container",width:100,html:'<div class="'+a+'" style="margin-top:-4px;position:relative;left:-10px;"></div>'},{xtype:v,height:40,width:40,style:{"border":"none","margin-top":"25px !important","margin-right":"3px !important"},id:"webUrlStateButton",cls:"logon"+n,listeners:{"render":function(ao){var e=Ext.getCmp("ctxLogon_id").jsonData;
if(n=="HIGH"){Ext.create("Ext.tip.ToolTip",{target:Ext.get("webUrlStateButton"),trackMouse:false,html:e.error});}if(n=="HIGH"&&W){ao.removeCls("logon"+n);ao.addCls("logon"+n+""+t);}},"click":function(){showErrorScreenShot(X);}}}]};var an=h["test"];if(an=="HrznLogonSimTest"){Ext.getCmp("weburlHorizon").add(V);
}else{if(an=="AWSLogonSimTest"){Ext.getCmp("weburlAws").add(V);}else{Ext.getCmp("weburl").add(V);}}}else{var V={layout:{type:"hbox",pack:"end"},width:300,id:"webUrl"+n,style:{"border":"0px solid green"},items:[{xtype:"container",style:{"padding-top":"20px","margin-right":"20px"},layout:{type:"table",columns:1,tableAttrs:{style:{align:"center",overflow:"visible"}},tdAttrs:{align:"center",valign:"middle",overflow:"visible"}},items:[{xtype:"label",cls:"logonLabelDisable",html:y}]},{xtype:"container",width:100,html:'<div class="'+a+'" style="margin-top:-4px;position:relative;left:-10px;"></div>'},{xtype:"container",height:40,width:40,style:{"border":"none","margin-top":"25px !important","margin-right":"3px !important"},id:"webUrlStateButton",cls:"logon"+n,listeners:{"render":function(ao){var e=Ext.getCmp("ctxLogon_id").jsonData;
if(n=="HIGH"){Ext.create("Ext.tip.ToolTip",{target:Ext.get("webUrlStateButton"),trackMouse:false,html:e.error});}}}}]};var an=h["test"];if(an=="HrznLogonSimTest"){Ext.getCmp("weburlHorizon").add(V);}else{if(an=="AWSLogonSimTest"){Ext.getCmp("weburlAws").add(V);}else{Ext.getCmp("weburl").add(V);}}}}if(x=="GOOD"){var z={layout:"hbox",id:"authentication"+x,style:{"border":"0px solid green"},items:[{xtype:"container",style:{"padding-left":"6px","padding-top":"10px","border":"0px solid blue"},layout:{type:"table",columns:1,tableAttrs:{style:{align:"center",overflow:"visible"}},tdAttrs:{align:"center",valign:"middle",overflow:"visible"}},items:[{xtype:"label",cls:"logonValue",style:{"color":A},text:g},{xtype:"label",cls:"logonLabel",text:Q}]},{xtype:"container",width:80,style:{"padding-left":"10px","border":"0px solid grey"},html:'<div class="'+E+'" ></div>'},{xtype:"container",height:40,width:40,style:{"border":"0px solid red","margin-top":"92px"},html:'<div class="logon'+x+'" ></div>'}]};
Ext.getCmp("authentication").add(z);}else{if(x=="HIGH"){var z={layout:"hbox",width:300,height:130,id:"authentication"+x,style:{"border":"0px solid blue"},items:[{xtype:"container",style:{"padding-top":"20px","border":"0px solid blue"},layout:{type:"table",columns:1,tableAttrs:{style:{align:"center",overflow:"visible"}},tdAttrs:{align:"center",valign:"middle",overflow:"visible"}},items:[{xtype:"label",cls:"logonLabelDisable",width:130,text:Q}]},{xtype:"container",width:80,style:{"border":"0px solid violet"},html:'<div class="'+E+'" ></div>'},{xtype:v,style:{"border":"none","margin-top":"96px"},height:40,width:40,id:"authenticaionStateButton",cls:"logon"+x,listeners:{"render":function(ao){var e=Ext.getCmp("ctxLogon_id").jsonData;
if(x=="HIGH"){Ext.create("Ext.tip.ToolTip",{target:Ext.get("authenticaionStateButton"),trackMouse:false,html:e.error});}if(x=="HIGH"&&W){ao.removeCls("logon"+x);ao.addCls("logon"+x+""+t);}},"click":function(){showErrorScreenShot(X);}}}]};Ext.getCmp("authentication").add(z);}else{var z={layout:"hbox",width:300,height:130,id:"authentication"+x,style:{"border":"0px solid blue"},items:[{xtype:"container",style:{"padding-top":"20px","border":"0px solid blue"},layout:{type:"table",columns:1,tableAttrs:{style:{align:"center",overflow:"visible"}},tdAttrs:{align:"center",valign:"middle",overflow:"visible"}},items:[{xtype:"label",cls:"logonLabelDisable",width:130,text:Q}]},{xtype:"container",width:80,style:{"border":"0px solid violet"},html:'<div class="'+E+'" ></div>'},{xtype:"container",style:{"border":"none","margin-top":"96px"},height:40,width:40,id:"authenticaionStateButton",cls:"logon"+x,listeners:{"render":function(ao){var e=Ext.getCmp("ctxLogon_id").jsonData;
if(x=="HIGH"){Ext.create("Ext.tip.ToolTip",{target:Ext.get("authenticaionStateButton"),trackMouse:false,html:e.error});}}}}]};Ext.getCmp("authentication").add(z);}}if(ac=="GOOD"){var ai={layout:"hbox",width:300,height:140,id:"enumeration"+ac,style:{"border":"0px solid violet"},items:[{xtype:"container",height:40,width:40,style:{"border":"0px solid red","margin-top":"94px"},html:'<div class="logon'+ac+'" ></div>'},{xtype:"container",width:70,style:{"border":"0px solid grey","margin-left":"-10px","margin-top":"25px"},html:'<div class="'+J+'"></div>'},{xtype:"container",style:{"padding-top":"10px","border":"0px solid violet","margin-left":"20px !important","margin-top":"25px"},layout:{type:"table",columns:1,tableAttrs:{style:{align:"center",overflow:"visible"}},tdAttrs:{align:"center",valign:"middle",}},items:[{xtype:"label",cls:"logonValue",text:N},{xtype:"label",cls:"logonLabel",html:T}]}]};
Ext.getCmp("enumeration").add(ai);}else{if(ac=="HIGH"){var p="-35px";var d="25px";if(c==true){p="-15px";d="15px";}var ai={layout:"hbox",width:300,height:140,id:"enumeration"+ac,style:{"border":"0px solid violet"},items:[{xtype:v,height:40,id:"enumStateButton",width:40,cls:"logon"+ac,style:{"border":"none","margin-top":"94px"},listeners:{"afterrender":function(ao){var e=Ext.getCmp("ctxLogon_id").jsonData;
if(ac=="HIGH"){Ext.create("Ext.tip.ToolTip",{target:Ext.get("enumStateButton"),trackMouse:false,html:e.error});}if(ac=="HIGH"&&W){ao.removeCls("logon"+ac);ao.addCls("logon"+ac+""+t);}},"click":function(){showErrorScreenShot(X);}}},{xtype:"container",width:70,html:'<div class="'+J+'"  style="margin-top:0px;margin-left:'+p+'px;margin-top:25px"></div>'},{xtype:"container",layout:{type:"table",columns:1,tableAttrs:{style:{align:"center",overflow:"visible"}},tdAttrs:{align:"center",valign:"middle",}},style:{"border":"0px solid red","padding-top":"45px","padding-left":d},items:[{xtype:"label",cls:"logonLabelDisable",width:130,html:T}]}]};
Ext.getCmp("enumeration").add(ai);}else{var p="-35px";var d="25px";if(c==true){p="-15px";d="15px";}var ai={layout:"hbox",width:300,height:140,id:"enumeration"+ac,style:{"border":"0px solid violet"},items:[{xtype:"container",height:40,id:"enumStateButton",width:40,cls:"logon"+ac,style:{"border":"none","margin-top":"94px"},listeners:{"afterrender":function(ao){var e=Ext.getCmp("ctxLogon_id").jsonData;
if(ac=="HIGH"){Ext.create("Ext.tip.ToolTip",{target:Ext.get("enumStateButton"),trackMouse:false,html:e.error});}}}},{xtype:"container",width:70,html:'<div class="'+J+'"  style="margin-top:0px;margin-left:'+p+'px;margin-top:25px"></div>'},{xtype:"container",layout:{type:"table",columns:1,tableAttrs:{style:{align:"center",overflow:"visible"}},tdAttrs:{align:"center",valign:"middle",}},style:{"border":"0px solid red","padding-top":"55px","padding-left":d},items:[{xtype:"label",cls:"logonLabelDisable",width:130,html:T}]}]};
Ext.getCmp("enumeration").add(ai);}}if(D=="GOOD"){var w=100;if(c==true){w=80;}var k={layout:"hbox",width:260,height:135,id:"hdxsession"+D,style:{"border":"0px solid blue"},items:[{xtype:"container",height:40,width:40,style:{"border":"0px solid yellow","margin-top":"20px"},html:'<div class="logon'+D+'"></div>'},{xtype:"container",width:w,style:{"border":"0px solid red"},html:'<div style="margin-left:10px" class="'+C+'"></div>'},{xtype:"container",style:{"padding-top":"10px","border":"0px solid green"},layout:{type:"table",columns:1,tableAttrs:{style:{align:"center",overflow:"visible",}},tdAttrs:{align:"center",valign:"middle",}},items:[{xtype:"label",cls:"logonValue",style:{"color":ak},html:'<div style="margin-left:10px">'+o+"</div>"},{xtype:"label",cls:"logonLabel",html:'<div style="margin-left:10px">'+O+"</div>"}]}]};
Ext.getCmp("hdxsession").add(k);}else{if(D=="HIGH"){var k={layout:"hbox",width:300,id:"hdxsession"+D,style:{"border":"0px solid blue"},items:[{xtype:v,height:40,width:40,id:"hdxStateButton",cls:"logon"+D,style:{"border":"none","margin-top":"15px","margin-left":"-4px"},listeners:{"afterrender":function(ao){var e=Ext.getCmp("ctxLogon_id").jsonData;
if(D=="HIGH"){Ext.create("Ext.tip.ToolTip",{target:Ext.get("hdxStateButton"),trackMouse:false,html:e.error});}if(D=="HIGH"&&W){ao.removeCls("logon"+D);ao.addCls("logon"+D+""+t);}},"click":function(){showErrorScreenShot(X);}}},{xtype:"container",width:80,html:'<div style="margin-left:10px" class="'+C+'"></div>'},{xtype:"container",layout:{type:"table",columns:1,tableAttrs:{style:{align:"center",overflow:"visible"}},tdAttrs:{align:"center",valign:"middle",}},style:{"padding-top":"14px"},items:[{xtype:"label",cls:"logonLabelDisable",width:130,html:'<div style="margin-left:10px">'+O+"</div>"}]}]};
Ext.getCmp("hdxsession").add(k);}else{var k={layout:"hbox",width:300,id:"hdxsession"+D,style:{"border":"0px solid blue"},items:[{xtype:"container",height:40,width:40,id:"hdxStateButton",cls:"logon"+D,style:{"border":"none","margin-top":"15px","margin-left":"-4px"},listeners:{"afterrender":function(ao){var e=Ext.getCmp("ctxLogon_id").jsonData;
if(D=="HIGH"){Ext.create("Ext.tip.ToolTip",{target:Ext.get("hdxStateButton"),trackMouse:false,html:e.error});}}}},{xtype:"container",width:80,html:'<div style="margin-left:10px" class="'+C+'"></div>'},{xtype:"container",layout:{type:"table",columns:1,tableAttrs:{style:{align:"center",overflow:"visible"}},tdAttrs:{align:"center",valign:"middle",}},style:{"padding-top":"14px"},items:[{xtype:"label",cls:"logonLabelDisable",width:130,html:'<div style="margin-left:10px">'+O+"</div>"}]}]};
Ext.getCmp("hdxsession").add(k);}}if(c==false||c=="false"){var F="Failure Screenshot";if(ag=="GOOD"){var l={layout:"hbox",width:300,height:100,id:"logOff"+ag,style:{"border":"0px solid blue"},items:[{xtype:v,height:29,width:33,cls:"logon"+ag,id:"appLaunchStateButton",style:{"margin-top":"15px","margin-left":"1px","border":"none"},listeners:{"afterrender":function(e){if(ag=="HIGH"&&W){e.removeCls("logon"+ag);
e.addCls("logon"+ag+""+t);}else{if(ag=="GOOD"&&W){F="Success Screenshot";e.removeCls("logon"+ag);e.addCls("logon"+ag+""+t);}}},"click":function(){showErrorScreenShot(X,F);}}},{xtype:"container",height:100,width:70,padding:"0 0 0 0",html:'<div class="'+Y+'" style="border:0px solid yellow;margin-top:-3px;margin-left:15px;"></div>'},{xtype:"container",style:{"padding-top":"4px","margin-left":"30px !important"},layout:{type:"table",columns:1,tableAttrs:{style:{align:"center",overflow:"visible"}},tdAttrs:{align:"center",valign:"middle",}},items:[{xtype:"label",cls:"logonValue",style:{"color":s,"margin-left":"-15px"},text:P},{xtype:"label",cls:"logonLabel",html:j}]}]};
Ext.getCmp("logOff").add(l);}else{if(ag=="HIGH"){var l={layout:"hbox",width:300,height:100,id:"logOff"+ag,style:{"border":"0px solid red"},items:[{xtype:v,id:"logoffButton",style:{"border":"none","margin-top":"15px","margin-left":"-1px"},height:29,width:33,cls:"logon"+ag,listeners:{"afterrender":function(ao){var e=Ext.getCmp("ctxLogon_id").jsonData;
if(f=="HIGH"){Ext.create("Ext.tip.ToolTip",{target:Ext.get("logoffButton"),trackMouse:false,html:e.error});}if(ag=="HIGH"&&W){ao.removeCls("logon"+ag);ao.addCls("logon"+ag+""+t);}},"click":function(){showErrorScreenShot(X);}}},{xtype:"container",height:100,width:70,padding:"0 0 0 0",html:'<div class="'+Y+'" style="margin-top:0px;margin-left:15px;"></div>'},{xtype:"container",style:{"padding-top":"13px","margin-left":"5px !important"},layout:{type:"table",columns:1,tableAttrs:{style:{align:"center",overflow:"visible"}},tdAttrs:{align:"center",valign:"middle",}},items:[{xtype:"label",cls:"logonLabelDisable",style:{"margin-top":"25px"},html:j}]}]};
Ext.getCmp("logOff").add(l);}else{var l={layout:"hbox",width:300,height:100,id:"logOff"+ag,style:{"border":"0px solid black"},items:[{xtype:"container",style:{"border":"none","margin-top":"15px","margin-left":"-2px"},height:29,width:33,cls:"logon"+ag},{xtype:"container",height:100,width:70,padding:"0 0 0 0",html:'<div class="'+Y+'" style="margin-top:0px;margin-left:10px;"></div>'},{xtype:"container",style:{"padding-top":"13px","margin-left":"5px !important"},layout:{type:"table",columns:1,tableAttrs:{style:{align:"center",overflow:"visible"}},tdAttrs:{align:"center",valign:"middle",}},items:[{xtype:"label",cls:"logonLabelDisable",style:{"margin-top":"25px"},html:j}]}]};
Ext.getCmp("logOff").add(l);}}}else{if(ag=="GOOD"){var F="Failure Screenshot";var l={layout:"hbox",width:300,height:100,id:"logOff"+ag,style:{"border":"0px solid blue"},items:[{xtype:v,height:29,width:33,cls:"logon"+ag,id:"appLaunchStateButton",style:{"margin-top":"19px","margin-left":"-1px","border":"none"},listeners:{"afterrender":function(e){if(ag=="HIGH"&&W){e.removeCls("logon"+ag);
e.addCls("logon"+ag+""+t);}else{if(ag=="GOOD"&&W){F="Success Screenshot";e.removeCls("logon"+ag);e.addCls("logon"+ag+""+t);}}},"click":function(){showErrorScreenShot(X,F);}}},{xtype:"container",height:100,width:70,padding:"0 0 0 0",html:'<div class="'+Y+'" style="border:0px solid yellow;margin-top:-3px;margin-left:5px;"></div>'},{xtype:"container",style:{"padding-top":"14px","margin-left":"35px !important"},layout:{type:"table",columns:1,tableAttrs:{style:{align:"center",overflow:"visible"}},tdAttrs:{align:"center",valign:"middle",}},items:[{xtype:"label",cls:"logonValue",style:{"color":ag,"margin-left":"-15px"},text:P},{xtype:"label",cls:"logonLabel",html:j}]}]};
Ext.getCmp("logOff").add(l);}else{if(ag=="HIGH"){var l={layout:"hbox",width:300,height:100,id:"logOff"+ag,style:{"border":"1px solid orange"},items:[{xtype:v,id:"logoffButton",style:{"border":"none","margin-top":"15px","margin-left":"-3px"},height:29,width:33,cls:"logon"+ag,listeners:{"afterrender":function(ao){var e=Ext.getCmp("ctxLogon_id").jsonData;
if(ag=="HIGH"){Ext.create("Ext.tip.ToolTip",{target:Ext.get("logoffButton"),trackMouse:false,html:e.error});}if(ag=="HIGH"&&W){ao.removeCls("logon"+ag);ao.addCls("logon"+ag+""+t);}},"click":function(){showErrorScreenShot(X);}}},{xtype:"container",height:100,width:70,padding:"0 0 0 0",html:'<div class="'+Y+'" style="margin-top:0px;margin-left:5px;"></div>'},{xtype:"container",style:{"padding-top":"13px","margin-left":"5px !important"},layout:{type:"table",columns:1,tableAttrs:{style:{align:"center",overflow:"visible"}},tdAttrs:{align:"center",valign:"middle",}},items:[{xtype:"label",cls:"logonLabelDisable",style:{"margin-top":"25px"},html:j}]}]};
Ext.getCmp("logOff").add(l);}else{var l={layout:"hbox",width:300,height:100,id:"logOff"+ag,style:{"border":"0px solid black"},items:[{xtype:"container",style:{"border":"none","margin-top":"15px","margin-left":"-3px"},height:29,width:33,cls:"logon"+ag},{xtype:"container",height:100,width:70,padding:"0 0 0 0",html:'<div class="'+Y+'" style="margin-top:0px;margin-left:5px;"></div>'},{xtype:"container",style:{"padding-top":"13px","margin-left":"5px !important"},layout:{type:"table",columns:1,tableAttrs:{style:{align:"center",overflow:"visible"}},tdAttrs:{align:"center",valign:"middle",}},items:[{xtype:"label",cls:"logonLabelDisable",style:{"margin-top":"25px"},html:j}]}]};
Ext.getCmp("logOff").add(l);}}if(f=="GOOD"){var H=40;if(c==true){H=0;}var af={layout:"hbox",width:300,height:100,id:"appLaunch"+f,style:{"border":"0px solid orange"},items:[{xtype:"container",height:40,width:40,html:'<div style="margin-top:15px;" class="logon'+f+'"></div>'},{xtype:"container",height:100,width:70,padding:"0 0 0 0",html:'<div class="'+L+'" style="margin-top:0px;margin-left:10px;"></div>'},{xtype:"container",style:{"padding-top":"22px","padding-left":""+H+"px"},layout:{type:"table",columns:1,tableAttrs:{style:{align:"center",overflow:"visible"}},tdAttrs:{align:"center",valign:"middle",}},items:[{xtype:"label",cls:"logonValue",style:{"color":s},text:aa},{xtype:"label",cls:"logonLabel",html:U}]}]};
Ext.getCmp("appLaunch").add(af);}else{var H=10;var al=20;if(c==true){H=0;al=0;}var F="Failure Screenshot";var af={layout:"hbox",width:300,height:100,id:"appLaunch"+f,style:{"border":"0px solid green"},items:[{xtype:"button",id:"appLaunchStateButton",height:35,width:35,cls:"logon"+f,style:{"border":"none"},listeners:{"afterrender":function(ao){var e=Ext.getCmp("ctxLogon_id").jsonData;
if(f=="HIGH"){Ext.create("Ext.tip.ToolTip",{target:Ext.get("appLaunchStateButton"),trackMouse:false,html:e.error});}if(f=="HIGH"&&W){ao.removeCls("logon"+f);ao.addCls("logon"+f+""+t);}else{if(f=="GOOD"&&W){F="Success Screenshot";ao.removeCls("logon"+f);ao.addCls("logon"+f+""+t);}}},"click":function(){showErrorScreenShot(X,F);
}}},{xtype:"container",height:120,width:70,padding:"0 0 0 7",style:{"border":"0px solid red","margin-left":H+"px"},html:'<div class="'+L+'" style="margin-top:0px"></div>'},{xtype:"container",layout:{type:"table",columns:1,tableAttrs:{style:{align:"center",overflow:"visible"}},tdAttrs:{align:"center",valign:"middle",}},style:{"margin-left":al+"px","padding-top":"14px","border":"0px solid blue"},items:[{xtype:"label",cls:"logonLabelDisable",width:130,html:U}]}]};
Ext.getCmp("appLaunch").add(af);}}}},items:[{xtype:"container",jsonData:null,cls:"ctxDottedCircle",id:"statePanel",listeners:{"resize":function(a){a.setHeight(Ext.getBody().getViewSize().height-120);},"render":function(){this.setHeight(Ext.getBody().getViewSize().height-120);Ext.create("Ext.container.Container",{renderTo:"totalSimDiv",layout:{type:"table",columns:3,tableAttrs:{style:{width:"100%",height:"100%",align:"center"}}},id:"mainSimulationTotal",style:{"border":"0px solid red"},items:[{xtype:"container",width:80,listeners:{"afterrender":function(a){var c=Ext.getCmp("ctxLogon_id").jsonData;
var b="";if(c.logon_time!="undefined"||c.logon_time!=""||c.logon_time!=null){if(!Ext.isEmpty(c.logon_time_state)){b='<table width="100%" style="border:0px solid red;"><tr><td style="border:0px solid blue;text-align:center;"><span style="padding:4px 3px 3px 3px;background:'+c.logon_time_state+';color:#fff">'+c.logon_time+'</span></td></tr><tr><td style="text-align:center;padding-top:2px">'+webLogonTitle+"</td></tr></table>";
}else{b='<table width="100%" style="border:0px solid red;"><tr><td style="border:0px solid blue;text-align:center;"><span style="padding:4px 3px 3px 3px;background:'+c.logon_time_state+';">'+c.logon_time+'</span></td></tr><tr><td style="text-align:center;padding-top:2px">'+webLogonTitle+"</td></tr></table>";
}}else{b='<table width="100%" style="border:0px solid green"<tr><td style="text-align:center;">'+webLogonTitle+"</td></tr></table>";}Ext.getCmp("logonTime").update(b);}},items:[{xtype:"container",cls:"logonTime",padding:"0 0 0 0 ",id:"logonTime",listeners:{"afterrender":function(a){var d=Ext.getCmp("ctxLogon_id").jsonData;
var b=d.isEnumDisabled;var c=true;if(Ext.isEmpty(b)||b==null||b==undefined){c=false;}if(c==true){a.removeCls("logonTime");a.addCls("logonTime-v1");}}}}]},{xtype:"container",cls:"removeBg",listeners:{"afterrender":function(b){var i=Ext.getCmp("ctxLogon_id").jsonData;var a="";try{a=jsonData.ctxDataArr[0].user;
}catch(g){a="";}var h="/final/monitor/endUserLogonDetails.jsp?access=allusers&userType=XenApp7&fromMenu=true&comptype=none&compName=none&info=*"+encodeURIComponent(a)+"&msmt_host=none&tab=layerModel&testNameForLogon=CtxXcXDUserTest&fromPage=CtxLogon";var f="";if(!Ext.isEmpty(i.test)&&i.test=="HrznLogonSimTest"){f="visibility:hidden;display:none;";
}var d="";if(false&&isUserHaveDirector!=undefined&&(isUserHaveDirector==true||isUserHaveDirector||isUserHaveDirector=="true")){d='<div class="ctxUserDetailsIcon mouse" id="ctxUserDetails" onclick="LogonDetailsPopUp(\''+h+'\')" style="position:absolute;margin-top:48px;margin-left:100px;'+f+'"></div>';
}var c='<div style="border-radius:50px;margin:auto;border:0px solid orange;background-color: rgba(255, 0, 0, 0.0);">'+'<table style="margin:auto;border:0px solid blue"><tr><td ><div style="margin:auto" class="ctxLogonUser"></div></td></tr>'+d+'<tr><td style="text-align:center;padding-top:8px;padding-bottom:7px"><span class="logonValue">'+i.total_time+"</span></td></tr>"+'<tr><td style="text-align:center"><span style="margin:auto;display:block">'+totalsimTitle+"</span></td></tr>"+"</div>";
Ext.getCmp("totalSimValue").update(c);}},items:[{xtype:"container",cls:"removeBg",id:"totalSimValue",}]},{xtype:"container",width:80,cls:"appLaunchTime",id:"appLaunchTime",listeners:{"afterrender":function(a){var f=Ext.getCmp("ctxLogon_id").jsonData;var c=f.isEnumDisabled;var e=false;if(!Ext.isEmpty(c)&&c!=null&&c!=undefined&&(c==true||c=="true")){e=true;
}var b="<table>";if(e==true){a.removeCls("appLaunchTime");a.addCls("appLaunchTime-v1");}if(f.launch_time!=""||f.launch_time!=null){if(!Ext.isEmpty(f.launch_time_state)){b+='<tr><td style="border:0px solid blue;text-align:center;"><span style="padding:4px 3px 3px 3px;background:'+f.launch_time_state+';color:#fff">'+f.launch_time+"</span></td></tr>";
}else{b+='<tr><td style="border:0px solid blue;text-align:center;"><span style="padding:4px 3px 3px 3px;background:'+f.launch_time_state+';">'+f.launch_time+"</span></td></tr>";}}try{if(f.test=="XchgLogonSimTest"){b+='<tr><td style="border:0px solid orange;text-align:center;padding-top:7px;padding-left:20px;">'+inboxTitle+"</br>"+accessTitle+"</br>"+durationTitle+"</td></tr></table>";
}else{b+='<tr><td style="border:0px solid orange;text-align:center;padding-top:7px;">'+appTitle+"</br>"+aDesTitle+"</br>"+launchTitle+"</td></tr></table>";}}catch(d){b+='<tr><td style="border:0px solid orange;text-align:center;padding-top:7px;">'+appTitle+"</br>"+aDesTitle+"</br>"+launchTitle+"</td></tr></table>";
}Ext.getCmp("appLaunchTime").update(b);}},},{xtype:"container",colspan:3,html:'<div id="logonFooter" style="display:block;text-align:center"><table style="margin:auto"><tr><td ><div><tr><td ><div class="logonFooterLine"></div></td><td class="logonFooterText">*Times shown are in seconds</td><td><div class="logonFooterLine"></div></td></tr></table></div>'}]});
}},items:[]}]},]},{xtype:"container",height:10,},{xtype:"container",height:70,id:"footerPanel"}],createTabUI:function(){}});function showErrorScreenShot(a,c){if(a==undefined||a==null||a=="undefined"||a=="-"||Ext.isEmpty(a)){return;}if(c==undefined||c==null||c=="undefined"||Ext.isEmpty(c)){c="Failure Screenshot";
}if(a!=null&&!Ext.isEmpty(a)&&a.endsWith(".jpg")){a=a.substring(0,a.indexOf(".jpg"));}try{managerId="";if(a.indexOf("|">0)){managerId=a.substring(0,a.indexOf("|"));a=a.substring(a.indexOf("|")+1);}Ext.create("Ext.window.Window",{title:c,height:"90%",cls:"logonWindowShadow",modal:true,shadow:"sides",shadowOffset:50,width:"80%",border:false,layout:"fit",resizable:false,width:"80%",items:[{xtype:"component",style:{"align":"center"},listeners:{"render":function(d){Ext.EventManager.onWindowResize(function(e,f){d.doComponentLayout();
});}},autoEl:{tag:"iframe",frameborder:false,width:"100%",height:"100%",style:{"align":"center"},src:"/final/monitor/screenshotDisplay.jsp?managerId="+managerId+"&imageID="+encodeURI(a)+".jpg"}}]}).show();}catch(b){}}