<commit_before><nav id="shell-top-nav" class="navbar">

	<div class="navbar-left">

		<!-- Mobile Menu Toggle -->
		<ul class="navbar-items">
			<li>
				<a ng-class="{ active: isMainMenuActive }"
					gj-popover-trigger="main-menu"
					gj-tooltip="Menu" tooltip-placement="right"
					gj-track-event="top-nav:main-menu:toggle"
					>
					<span class="jolticon jolticon-menu"></span>
				</a>
			</li>
		</ul>

		<gj-shell-menu-popover
			is-shown="isMainMenuActive"
			>
		</gj-shell-menu-popover>

		<!-- History Navigator (for desktop client) -->
		<gj-shell-history-navigator ng-if="Environment.isClient"></gj-shell-history-navigator>

		<a class="navbar-item" ui-sref="discover.home" ng-if="!Screen.isXs">
			<img ng-if="!Screen.isMobile" src="/lib/gj-lib-client/components/site-selector/game-jolt-logo.svg" alt="Game Jolt">
			<img ng-if="Screen.isSm" src="/lib/gj-lib-client/components/site-selector/jolt.svg" alt="Game Jolt">
		</a>

		<div class="navbar-separator hidden-xs"></div>

	</div>

	<div class="navbar-center">

		<!-- Search Input -->
		<gj-search ng-if="!Screen.isXs"></gj-search>

	</div>

	<!--
		Cloak this so that it doesn't flash wrong things before we load the user.
		Fixes: https://github.com/gamejolt/issue-tracker/issues/382
	-->
	<div class="navbar-right" ng-if="App.userBootstrapped">

		<ul class="navbar-items" ng-if="App.user">

			<!-- Notifications -->
			<li ng-if="!Connection.isClientOffline" tooltip-placement="bottom">
				<a
					gj-popover-trigger="notifications"
					ng-class="{ active: notificationsShowing }"
					gj-tooltip="Notifications"
					gj-track-event="top-nav:notifications:toggle"
					>
					<span class="notification-tag tag tag-pink anim-fade-enter anim-fade-leave" ng-if="notificationsCount">{{ notificationsCount }}</span>
					<span class="jolticon jolticon-notifications"></span>
				</a>
				<gj-notifications-popover
					notifications-count="notificationsCount"
					is-shown="notificationsShowing"
					>
				</gj-notifications-popover>
			</li>

			<!-- Friend Requests -->
			<li ng-if="!Connection.isClientOffline">
				<a
					gj-popover-trigger="friend-requests"
					ng-class="{ active: friendRequestsShowing }"
					gj-tooltip="Friend Requests" tooltip-placement="bottom"
					gj-track-event="top-nav:friend-requests:toggle"
					>
					<span class="notification-tag tag tag-pink anim-fade-enter anim-fade-leave" ng-if="friendRequestCount">{{ friendRequestCount }}</span><commit_msg>Added game library in top nav. It directs to installed games in client, and library overview in site. Closes https://github.com/gamejolt/issue-tracker/issues/519<commit_after><nav id="shell-top-nav" class="navbar">

	<div class="navbar-left">

		<!-- Mobile Menu Toggle -->
		<ul class="navbar-items">
			<li>
				<a ng-class="{ active: isMainMenuActive }"
					gj-popover-trigger="main-menu"
					gj-tooltip="Menu" tooltip-placement="right"
					gj-track-event="top-nav:main-menu:toggle"
					>
					<span class="jolticon jolticon-menu"></span>
				</a>
			</li>
		</ul>

		<gj-shell-menu-popover
			is-shown="isMainMenuActive"
			>
		</gj-shell-menu-popover>

		<!-- History Navigator (for desktop client) -->
		<gj-shell-history-navigator ng-if="Environment.isClient"></gj-shell-history-navigator>

		<a class="navbar-item" ui-sref="discover.home" ng-if="!Screen.isXs">
			<img ng-if="!Screen.isMobile" src="/lib/gj-lib-client/components/site-selector/game-jolt-logo.svg" alt="Game Jolt">
			<img ng-if="Screen.isSm" src="/lib/gj-lib-client/components/site-selector/jolt.svg" alt="Game Jolt">
		</a>

		<div class="navbar-separator hidden-xs"></div>

	</div>

	<div class="navbar-center">

		<!-- Search Input -->
		<gj-search ng-if="!Screen.isXs"></gj-search>

	</div>

	<!--
		Cloak this so that it doesn't flash wrong things before we load the user.
		Fixes: https://github.com/gamejolt/issue-tracker/issues/382
	-->
	<div class="navbar-right" ng-if="App.userBootstrapped">

		<ul class="navbar-items" ng-if="App.user">

			<li class="hidden-xs">
				<a
					ui-sref="{{ ::Environment.isClient ? 'library.installed' : 'library.overview' }}"
					ng-class="{ active: $state.includes( 'library' ) }"
					gj-tooltip="Your Game Library"
					tooltip-placement="bottom"
					gj-track-event="top-nav:library"
					>
					<span class="jolticon jolticon-books"></span>
				</a>
			</li>

			<!-- Notifications -->
			<li ng-if="!Connection.isClientOffline">
				<a
					gj-popover-trigger="notifications"
					ng-class="{ active: notificationsShowing }"
					gj-tooltip="Notifications"
					tooltip-placement="bottom"
					gj-track-event="top-nav:notifications:toggle"
					>
					<span class="notification-tag tag tag-pink anim-fade-enter anim-fade-leave" ng-if="notificationsCount">{{ notificationsCount }}</span>
					<span class="jolticon jolticon-notifications"></span>
				</a>
				<gj-notifications-popover
					notifications-count="notificationsCount"
					is-shown="notificationsShowing"
					>
				</gj-notifications-popover>
			</li>

			<!-- Friend Requests -->
			<li ng-if="!Connection.isClientOffline">
				<a
					gj-popover-trigger="friend-requests"
					ng-class="{ active: friendRequestsShowing }"
					gj-tooltip="Friend Requests"
					tooltip-placement="bottom"
					gj-track-event="top-nav:friend-requests:toggle"
					>
					<span class="notification-tag tag tag-pink anim-fade-enter anim-fade-leave" ng-if="friendRequestCount">{{ friendRequestCount }}</span>
{'fraction_non_alphanumeric': 0.17744305657604703, 'fraction_numerical': 0.0016531961792799412, 'mean_word_length': 3.5261845386533666, 'pattern_counts': {'":': 0, '<': 103, '<?xml version=': 0, '>': 103, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2226504', 'n_tokens_mistral': 2282, 'n_tokens_neox': 1878, 'n_words': 307}