System.register(["./p-77e9a1cf.system.js","./p-c0811bf8.system.js"],(function(t){"use strict";var n,i,e;return{setters:[function(t){n=t.S;i=t.a},function(t){e=t.C}],execute:function(){t({a:o,i:r,l:c});function o(){return new e}var u=t("g",(function(t){if(t===void 0){t=o()}return{token:t.get(n),uid:t.get(i)}}));function r(t,n){var i=!!u(t).token;n===null||n===void 0?void 0:n.new("KimlikUtilFunctions").debugGroup("isUserLoggedIn",{result:i,storage:u(t)});return i}function c(t,n,i,e){if(t===void 0){t="/"}if(i===void 0){i=o()}if(e===void 0){e=function(t){return window.location=t.path}}if(n){n===null||n===void 0?void 0:n.logout().then((function(){i.clear();e({path:t})}))}else{i.clear();e({path:t})}}}}}));