!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f7a85f72-f05a-47b1-b683-9bbf4eabddfe",e._sentryDebugIdIdentifier="sentry-dbid-f7a85f72-f05a-47b1-b683-9bbf4eabddfe")}catch(e){}}(),(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d215fa4"],{c100:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e._self._c;return t("div")},r=[],s=n("c7eb"),o=n("1da1"),u=(n("14d9"),n("b395")),i=n("d11b"),c={name:"Logout",computed:{isImpersonating:function(){var e;return!(null===(e=this.$auth.user)||void 0===e||!e.is_impersonating)}},created:function(){this.isImpersonating?this.leaveImpersonate():this.logout()},methods:{logout:function(){var e=this;return Object(o["a"])(Object(s["a"])().mark((function t(){return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$auth.logout();case 2:e.$router.push({name:i["a"].LOGIN});case 3:case"end":return t.stop()}}),t)})))()},leaveImpersonate:function(){var e=this;return Object(o["a"])(Object(s["a"])().mark((function t(){var n;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,u["t"].leaveImpersonate();case 2:return n=t.sent,t.next=5,e.$auth.logout();case 5:window.location.href=n;case 6:case"end":return t.stop()}}),t)})))()}}},d=c,f=n("2877"),b=Object(f["a"])(d,a,r,!1,null,null,null);t["default"]=b.exports}}]);
//# sourceMappingURL=chunk-2d215fa4.aa9046b6.js.map