$(function(){(function(n,t,i){function u(){t.ajaxSubmitForm($("#sign-out-form"),function(){window.location.reload()},function(){window.location.reload()})}function s(){var n=window.location.href.replace(window.location.origin,"");window.location.href=i.login+"?returnUrl="+n}function f(n,t){if(n!==null)if(t){if(n!==t)return u()}else n.length&&$.ajax({type:"GET",url:"https://services.devexpress.com/SharedLayout/api/devexpress/GetAccountInfo/",xhrFields:{withCredentials:!0},crossDomain:!0,success:function(n){if(n&&!n.IsViolator)return s()}});else if(t)return u()}function e(){return document.documentElement.getAttribute("my-friendly-id")}function h(){return n?n.FriendlyId:null}var r=e(),o=h();r===null?document.addEventListener("CustomerLoggedIn",function(){r=e();f(r,o)}):f(r,o)})(supportCenter.client,supportCenter.dataService,supportCenter.urlConfiguration)})