+
Please log in with 42 api to access the website.
+
- {#if appState.includes(APPSTATE.CHANNELS)}
- {#if appState.replace(APPSTATE.CHANNELS, "") !== ""}
-
setAppState(APPSTATE.CHANNELS)}
- on:keydown={() => setAppState(APPSTATE.CHANNELS)}
- >
-
-
- {:else}
-
-
-
- {/if}
- {/if}
- {#if appState === APPSTATE.LEADERBOARD}
-
-
-
- {/if}
- {#if appState === APPSTATE.FRIENDS}
+
+
+ {:else if $store.twoFA === true && $store.isVerified === false}
+ {
- resetAppState();
- clearInterval(friendsInterval);
- }}
- on:keydown={() => {
- resetAppState();
- clearInterval(friendsInterval);
- }}
+ on:click={() => setAppState(APPSTATE.CHANNELS)}
+ on:keydown={() => setAppState(APPSTATE.CHANNELS)}
>
-
-
- {/if}
- {#if appState === APPSTATE.HISTORY}
- setAppState(APPSTATE.PROFILE)}
- on:keydown={() => setAppState(APPSTATE.PROFILE)}
- >
-
-
- {/if}
- {#if appState === APPSTATE.PROFILE}
-
- setAppState(APPSTATE.CHANNELS + "#" + selectedChannel.name)}
- on:keydown={() =>
- setAppState(APPSTATE.CHANNELS + "#" + selectedChannel.name)}
- >
-
+ {:else}
+
+
{/if}
+ {/if}
+ {#if appState === APPSTATE.LEADERBOARD}
+
+
+
+ {/if}
+ {#if appState === APPSTATE.FRIENDS}
+
{
+ resetAppState();
+ clearInterval(friendsInterval);
+ }}
+ on:keydown={() => {
+ resetAppState();
+ clearInterval(friendsInterval);
+ }}
+ >
+
+
+ {/if}
+ {#if appState === APPSTATE.HISTORY}
+
+
+
+ {/if}
+ {#if appState === APPSTATE.HISTORY_ID}
+
setAppState(APPSTATE.PROFILE)}
+ on:keydown={() => setAppState(APPSTATE.PROFILE)}
+ >
+
+
+ {/if}
+ {#if appState === APPSTATE.PROFILE}
+
+ {/if}
+ {#if appState === APPSTATE.PROFILE_ID}
+
+ setAppState(APPSTATE.CHANNELS + "#" + selectedChannel.name)}
+ on:keydown={() =>
+ setAppState(APPSTATE.CHANNELS + "#" + selectedChannel.name)}
+ >
+
+
+ {/if}
- {#if fakemenu}
-
-
-
- {:else}
-
- {/if}
+ {#if fakemenu}
+
+
+
+ {:else}
+
{/if}
-
+ {/if}
+