authState.openLoginModal()}
role="button"
tabindex="0"
onkeydown={(e) => e.key === "Enter" && authState.openLoginModal()}
>
{#if authState.currentAccount}

{:else}
{/if}
{authState.currentAccount ? authState.currentAccount.username : "Login Account"}
{#if authState.currentAccount}
{#if authState.currentAccount.type === "Microsoft"}
{#if authState.currentAccount.expires_at && authState.currentAccount.expires_at * 1000 < Date.now()}
Expired
{:else}
Online
{/if}
{:else}
Offline
{/if}
{:else}
Guest
{/if}