<commit_before><nav class="navbar navbar-light bg-faded">
    <div class="container">
        <button class="navbar-toggler hidden-lg-up" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation" (click)="toggleNavbar()"></button>
        <div class="collapse navbar-toggleable-md" id="navbarResponsive" [ngbCollapse]="isNavbarCollapsed" [ngSwitch]="isAuthenticated()">
            <a class="navbar-brand logo" uiSref="home" (click)="collapseNavbar()">
                <span class="logo-img"></span>
                <span jhi-translate="global.title" class="navbar-title"><%= capitalizedBaseName %></span> <span class="navbar-version">{{version}}</span>
            </a>
            <ul class="nav navbar-nav float-lg-right">
                <li class="nav-item" uiSrefActive="active">
                    <a class="nav-link" uiSref="home" (click)="collapseNavbar()">
                        <i class="fa fa-home" aria-hidden="true"></i>
                        <span class="hidden-sm" jhi-translate="global.menu.home">Home</span>
                    </a>
                </li>
                <!-- jhipster-needle-add-element-to-menu - JHipster will add new menu items here -->
                <li uiSrefActive="active" *ngSwitchCase="true" ngbDropdown class="nav-item dropdown pointer">
                    <a class="nav-link dropdown-toggle" ngbDropdownToggle href="javascript:void(0);" id="entity-menu">
                        <span>
                            <i class="fa fa-th-list" aria-hidden="true"></i>
                            <span class="hidden-sm" jhi-translate="global.menu.entities.main">
                                Entities
                            </span>
                            <b class="caret"></b>
                        </span>
                    </a>
                    <ul class="dropdown-menu" ngbDropdownMenu>
                        <!-- jhipster-needle-add-entity-to-menu - JHipster will add entities to the menu here -->
                    </ul>
                </li>
                <li ngbDropdown class="nav-item dropdown pointer">
                    <a class="nav-link dropdown-toggle" ngbDropdownToggle href="javascript:void(0);" id="account-menu">
                        <span>
                            <i class="fa fa-user" aria-hidden="true"></i>
                            <span class="hidden-sm" jhi-translate="global.menu.account.main">
                                Account
                            </span>
                            <b class="caret"></b>
                        </span>
                    </a>
                    <ul class="dropdown-menu" ngbDropdownMenu>
                        <li uiSrefActive="active" *ngSwitchCase="true">
                            <a class="dropdown-item" uiSref="settings" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-wrench" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.account.settings">Settings</span>
                            </a>
                        </li>
                        <li uiSrefActive="active" *ngSwitchCase="true">
                            <a class="dropdown-item" uiSref="password" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-clock-o" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.account.password">Password</span>
                            </a>
                        </li>
                        <%_ if (authenticationType == 'session') { _%>
                        <li uiSrefActive="active" *ngSwitchCase="true">
                            <a class="dropdown-item" uiSref="sessions" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-cloud" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.account.sessions">Sessions</span>
                            </a>
                        </li>
                        <%_ } _%>
                        <li *ngSwitchCase="true">
                            <a class="dropdown-item" (click)="logout()" id="logout">
                                <i class="fa fa-fw fa-sign-out" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.account.logout">Sign out</span>
                            </a>
                        </li>
                        <li *ngSwitchCase="false">
                            <a class="dropdown-item" (click)="login()" id="login">
                                <i class="fa fa-fw fa-sign-in" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.account.login">Sign in</span>
                            </a>
                        </li>
                        <li uiSrefActive="active" *ngSwitchCase="false">
                            <a class="dropdown-item" uiSref="register" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-registered" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.account.register">Register</span>
                            </a>
                        </li>
                    </ul>
                </li>
                <li *ngSwitchCase="true" has-authority="ROLE_ADMIN" ngbDropdown class="nav-item dropdown pointer">
                    <a class="nav-link dropdown-toggle" ngbDropdownToggle href="javascript:void(0);" id="admin-menu">
                        <span>
                            <i class="fa fa-user-plus" aria-hidden="true"></i>
                            <span class="hidden-sm" jhi-translate="global.menu.admin.main">Administration</span>
                            <b class="caret"></b>
                        </span>
                    </a>
                    <ul class="dropdown-menu" ngbDropdownMenu>
                        <%_ if (applicationType == 'gateway') { _%>
                        <li uiSrefActive="active">
                            <a class="dropdown-item" uiSref="gateway" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-road" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.admin.gateway">Gateway</span>
                            </a>
                        </li>
                        <%_ } _%>
                        <li uiSrefActive="active">
                            <a class="dropdown-item" uiSref="user-management" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-user" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.admin.userManagement">User management</span>
                            </a>
                        </li>
                        <%_ if (websocket == 'spring-websocket') { _%>
                        <li uiSrefActive="active">
                            <a class="dropdown-item" uiSref="<%=jhiPrefix%>-tracker" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-eye" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.admin.tracker">User tracker</span>
                            </a>
                        </li>
                        <%_ } _%>
                        <li uiSrefActive="active">
                            <a class="dropdown-item" uiSref="<%=jhiPrefix%>-metrics" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-tachometer" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.admin.metrics">Metrics</span>
                            </a>
                        </li>
                        <li uiSrefActive="active">
                            <a class="dropdown-item" uiSref="<%=jhiPrefix%>-health" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-heart" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.admin.health">Health</span>
                            </a>
                        </li>
                        <li uiSrefActive="active">
                            <a class="dropdown-item" uiSref="<%=jhiPrefix%>-configuration" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-list" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.admin.configuration">Configuration</span>
                            </a>
                        </li>
                        <li uiSrefActive="active">
                            <a class="dropdown-item" uiSref="audits" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-bell" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.admin.audits">Audits</span>
                            </a>
                        </li>
                        <li uiSrefActive="active">
                            <a class="dropdown-item" uiSref="logs" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-tasks" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.admin.logs">Logs</span>
                            </a>
                        </li>
                        <li *ngIf="swaggerEnabled" uiSrefActive="active">
                            <a class="dropdown-item" uiSref="docs" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-book" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.admin.apidocs">API</span>
                            </a>
                        </li>
                        <!-- jhipster-needle-add-element-to-admin-menu - JHipster will add entities to the admin menu here -->
                        <%_ if (devDatabaseType == 'h2Disk' || devDatabaseType == 'h2Memory') { _%>
                        <li *ngIf="!inProduction">
                            <a class="dropdown-item" href='/h2-console' target="_tab" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-hdd-o" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.admin.database">Database</span>
                            </a>
                        </li>
                        <%_ } _%>
                    </ul>
                </li><commit_msg>Fix highlighting of the navbar<commit_after><nav class="navbar navbar-light bg-faded">
    <div class="container">
        <button class="navbar-toggler hidden-lg-up" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation" (click)="toggleNavbar()"></button>
        <div class="collapse navbar-toggleable-md" id="navbarResponsive" [ngbCollapse]="isNavbarCollapsed" [ngSwitch]="isAuthenticated()">
            <a class="navbar-brand logo" uiSref="home" (click)="collapseNavbar()">
                <span class="logo-img"></span>
                <span jhi-translate="global.title" class="navbar-title"><%= capitalizedBaseName %></span> <span class="navbar-version">{{version}}</span>
            </a>
            <ul class="nav navbar-nav float-lg-right">
                <li class="nav-item" uiSrefActive="active">
                    <a class="nav-link" uiSref="home" (click)="collapseNavbar()">
                        <i class="fa fa-home" aria-hidden="true"></i>
                        <span class="hidden-sm" jhi-translate="global.menu.home">Home</span>
                    </a>
                </li>
                <!-- jhipster-needle-add-element-to-menu - JHipster will add new menu items here -->
                <li *ngSwitchCase="true" ngbDropdown class="nav-item dropdown pointer">
                    <a class="nav-link dropdown-toggle" uiSrefActive="active" ngbDropdownToggle href="javascript:void(0);" id="entity-menu">
                        <span>
                            <i class="fa fa-th-list" aria-hidden="true"></i>
                            <span class="hidden-sm" jhi-translate="global.menu.entities.main">
                                Entities
                            </span>
                            <b class="caret"></b>
                        </span>
                    </a>
                    <ul class="dropdown-menu" ngbDropdownMenu>
                        <!-- jhipster-needle-add-entity-to-menu - JHipster will add entities to the menu here -->
                    </ul>
                </li>
                <li ngbDropdown class="nav-item dropdown pointer">
                    <a class="nav-link dropdown-toggle" ngbDropdownToggle href="javascript:void(0);" id="account-menu">
                        <span>
                            <i class="fa fa-user" aria-hidden="true"></i>
                            <span class="hidden-sm" jhi-translate="global.menu.account.main">
                                Account
                            </span>
                            <b class="caret"></b>
                        </span>
                    </a>
                    <ul class="dropdown-menu" ngbDropdownMenu>
                        <li *ngSwitchCase="true">
                            <a class="dropdown-item" uiSref="settings" uiSrefActive="active" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-wrench" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.account.settings">Settings</span>
                            </a>
                        </li>
                        <li *ngSwitchCase="true">
                            <a class="dropdown-item" uiSref="password" uiSrefActive="active" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-clock-o" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.account.password">Password</span>
                            </a>
                        </li>
                        <%_ if (authenticationType == 'session') { _%>
                        <li *ngSwitchCase="true">
                            <a class="dropdown-item" uiSref="sessions" uiSrefActive="active" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-cloud" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.account.sessions">Sessions</span>
                            </a>
                        </li>
                        <%_ } _%>
                        <li *ngSwitchCase="true">
                            <a class="dropdown-item" (click)="logout()" id="logout">
                                <i class="fa fa-fw fa-sign-out" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.account.logout">Sign out</span>
                            </a>
                        </li>
                        <li *ngSwitchCase="false">
                            <a class="dropdown-item" (click)="login()" id="login">
                                <i class="fa fa-fw fa-sign-in" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.account.login">Sign in</span>
                            </a>
                        </li>
                        <li *ngSwitchCase="false">
                            <a class="dropdown-item" uiSref="register" uiSrefActive="active" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-registered" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.account.register">Register</span>
                            </a>
                        </li>
                    </ul>
                </li>
                <li *ngSwitchCase="true" has-authority="ROLE_ADMIN" ngbDropdown class="nav-item dropdown pointer">
                    <a class="nav-link dropdown-toggle" ngbDropdownToggle href="javascript:void(0);" id="admin-menu">
                        <span>
                            <i class="fa fa-user-plus" aria-hidden="true"></i>
                            <span class="hidden-sm" jhi-translate="global.menu.admin.main">Administration</span>
                            <b class="caret"></b>
                        </span>
                    </a>
                    <ul class="dropdown-menu" ngbDropdownMenu>
                        <%_ if (applicationType == 'gateway') { _%>
                        <li>
                            <a class="dropdown-item" uiSref="gateway" uiSrefActive="active" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-road" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.admin.gateway">Gateway</span>
                            </a>
                        </li>
                        <%_ } _%>
                        <li>
                            <a class="dropdown-item" uiSref="user-management" uiSrefActive="active" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-user" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.admin.userManagement">User management</span>
                            </a>
                        </li>
                        <%_ if (websocket == 'spring-websocket') { _%>
                        <li>
                            <a class="dropdown-item" uiSref="<%=jhiPrefix%>-tracker" uiSrefActive="active" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-eye" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.admin.tracker">User tracker</span>
                            </a>
                        </li>
                        <%_ } _%>
                        <li>
                            <a class="dropdown-item" uiSref="<%=jhiPrefix%>-metrics" uiSrefActive="active" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-tachometer" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.admin.metrics">Metrics</span>
                            </a>
                        </li>
                        <li>
                            <a class="dropdown-item" uiSref="<%=jhiPrefix%>-health" uiSrefActive="active" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-heart" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.admin.health">Health</span>
                            </a>
                        </li>
                        <li>
                            <a class="dropdown-item" uiSref="<%=jhiPrefix%>-configuration" uiSrefActive="active" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-list" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.admin.configuration">Configuration</span>
                            </a>
                        </li>
                        <li>
                            <a class="dropdown-item" uiSref="audits" uiSrefActive="active" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-bell" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.admin.audits">Audits</span>
                            </a>
                        </li>
                        <li>
                            <a class="dropdown-item" uiSref="logs" uiSrefActive="active" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-tasks" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.admin.logs">Logs</span>
                            </a>
                        </li>
                        <li *ngIf="swaggerEnabled">
                            <a class="dropdown-item" uiSref="docs" uiSrefActive="active" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-book" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.admin.apidocs">API</span>
                            </a>
                        </li>
                        <!-- jhipster-needle-add-element-to-admin-menu - JHipster will add entities to the admin menu here -->
                        <%_ if (devDatabaseType == 'h2Disk' || devDatabaseType == 'h2Memory') { _%>
                        <li *ngIf="!inProduction">
                            <a class="dropdown-item" href='/h2-console' target="_tab" (click)="collapseNavbar()">
                                <i class="fa fa-fw fa-hdd-o" aria-hidden="true"></i>
                                <span jhi-translate="global.menu.admin.database">Database</span>
                            </a>
                        </li>
                        <%_ } _%>
                    </ul>
                </li>
{'fraction_non_alphanumeric': 0.14057538271956016, 'fraction_numerical': 0.0005687473339968719, 'mean_word_length': 1.1894780533361005, 'pattern_counts': {'":': 0, '<': 419, '<?xml version=': 0, '>': 419, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 32, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3025824', 'n_tokens_mistral': 5578, 'n_tokens_neox': 5244, 'n_words': 885}