var TcHmi;!function(TcHmi){let Controls;!function(Controls){let System;!function(System){class TcHmiView extends TcHmi.Controls.System.TcHmiPartial{constructor(element,pcElement,attrs){super(element,pcElement,attrs)}__processAccessConfig(){super.__processAccessConfig();const currentAccess=TcHmi.Access.checkAccess(this,"observe");if(null===currentAccess);else if(!1===currentAccess){if(TcHmi.Server.getWebsocketReadyState()===WebSocket.OPEN){let localization=this.__localization;const loggedInUser=TcHmi.Server.getCurrentUserConfig();4===loggedInUser.state?TcHmi.DialogManager.updateText("__TcHmiViewAccess",tchmi_format_string(localization.getText("Error_Dialog_Load_View_Insufficient_Access_User_Details"),this.__id,window.location.pathname,loggedInUser.userIsInGroups.join(", "),loggedInUser.domain,loggedInUser.session,loggedInUser.name),TcHmi.DialogManager.DialogSeverity.Error):TcHmi.DialogManager.updateText("__TcHmiViewAccess",tchmi_format_string(localization.getText("Error_Dialog_Load_View_Insufficient_Access"),this.__id,window.location.pathname),TcHmi.DialogManager.DialogSeverity.Error),TcHmi.DialogManager.showDialog("__TcHmiViewAccess",!0,TcHmi.DialogManager.DialogType.Overlay)}}else!0===currentAccess&&"__TcHmiViewAccess"===TcHmi.DialogManager.getDialogOwner()&&TcHmi.DialogManager.showDialog("__TcHmiViewAccess",!1)}}System.TcHmiView=TcHmiView}(System=Controls.System||(Controls.System={}))}(Controls=TcHmi.Controls||(TcHmi.Controls={}))}(TcHmi||(TcHmi={})),TcHmi.Controls.registerEx("TcHmiView","TcHmi.Controls.System",TcHmi.Controls.System.TcHmiView);