const get_uid=new URLSearchParams(window.location.search).get("uid");VCSSO={Init:function(){VCSSO.Logout()||VCSSO.SetUserId()},SetUserId:function(e,t){return get_uid||"undefined"!=typeof angular||void 0!==e?(void 0===e&&(e=VCSSO.GetUID()),"undefined"==typeof vc_protocol&&(vc_protocol=window.location.protocol.replace(":","")),vc_domains.forEach((function(t){var o=vc_protocol+"://"+t+"/vcapid?v="+e;void 0!==e&&(o+="&p="+e);var n=document.createElement("iframe");n.width=n.height=n.border=0,n.src=o,document.head.appendChild(n)})),!0):void 0===t&&setTimeout(VCSSO.SetUserId(e,!0),2e3)},GetUID:function(){return get_uid||("undefined"!=typeof angular?angular.element(document.body).injector().get("Account").business.uid:null)},Logout:function(){return(window.location.href.split("vclogout").length>1||document.querySelectorAll("[data-vclogout]").length>0)&&VCSSO.SetUserId("")}},setTimeout(VCSSO.Init,1e3); var vc_domains=["www.vcita.com","intandem.vcita.com","learning.vcita.com","www.businessunusual.io","www.vcita.com"];