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