var TcHmi;!function(TcHmi){let Functions;!function(Functions){let Beckhoff;!function(Beckhoff){Beckhoff.GoToLoginPage=function(){return 4===TcHmi.Server.getCurrentUserConfig().state&&(window.location.href="/Login?Location="+window.location.pathname,!0)}}(Beckhoff=Functions.Beckhoff||(Functions.Beckhoff={}))}(Functions=TcHmi.Functions||(TcHmi.Functions={}))}(TcHmi||(TcHmi={})),TcHmi.Functions.registerFunctionEx("GoToLoginPage","TcHmi.Functions.Beckhoff",TcHmi.Functions.Beckhoff.GoToLoginPage);