<commit_before>
<?php

function route_active($routeName, $classes = '', $activeClasses = '')
{
    $currentRouteName = Route::currentRouteName();

    $currentRouteSegmentsCount = count(explode(".", $currentRouteName));
    $passedRouteSegmentsCount = count(explode(".", $routeName));

    if (strpos($currentRouteName, $routeName) === 0 && abs($currentRouteSegmentsCount-$passedRouteSegmentsCount) <= 1) {
        return "class=\"{$classes} active {$activeClasses}\"";
    }
    return "class=\"{$classes}\"";
}

?>

<!DOCTYPE html>
<!--[if IE 9 ]><html class="ie9"><![endif]-->
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title> @yield('title') </title>

    <link href="{{ asset(mix('/css/vendor.css', '/assets/vendor')) }}" rel="stylesheet">
    <link href="{{ asset(mix('/css/app.css', '/assets/vendor')) }}" rel="stylesheet">

    <script src="{{ asset(mix('/js/manifest.js', '/assets/vendor')) }}"></script>
    <script src="{{ asset(mix('/js/vendor.js', '/assets/vendor')) }}"></script>
    <script src="{{ asset(mix('/js/app.js', '/assets/vendor')) }}"></script>

    @stack('head')
</head>

<body data-ma-header="cyan-600">
<header id="header" class="media">
    <div class="pull-left h-logo">
        <a href="/" class="hidden-xs"></a>

        <div class="menu-collapse" data-ma-action="sidebar-open" data-ma-target="main-menu">
            <div class="mc-wrap">
                <div class="mcw-line top palette-White bg"></div>
                <div class="mcw-line center palette-White bg"></div>
                <div class="mcw-line bottom palette-White bg"></div>
            </div>
        </div>
    </div>

    <ul class="pull-right h-menu">
        <li class="dropdown hidden-xs hidden-sm h-apps">
            <a data-toggle="dropdown" href="">
                <i class="hm-icon zmdi zmdi-apps"></i>
            </a>
            <ul class="dropdown-menu pull-right">
                <li>
                    <a href="">
                        <i class="palette-Green-400 bg zmdi zmdi-file-text"></i>
                        <small>Beam</small>
                    </a>
                </li>
                <li>
                    <a href="">
                        <i class="palette-Light-Blue bg zmdi zmdi-email"></i>
                        <small>Mailer</small>
                    </a>
                </li>
            </ul>
        </li>
        <li class="dropdown hm-profile">
            <a data-toggle="dropdown" href="">
                <img src="https://www.gravatar.com/avatar/{{ md5(Auth::user()->email) }}" alt="">
            </a>

            <ul class="dropdown-menu pull-right dm-icon">
                <li>
                    <a href=""><i class="zmdi zmdi-account"></i> View Profile</a>
                </li>
                <li>
                    <a href=""><i class="zmdi zmdi-settings"></i> Settings</a>
                </li>
                <li>
                    <a href=""><i class="zmdi zmdi-time-restore"></i> Logout</a>
                </li>
            </ul>
        </li>
    </ul>

    <div class="media-body h-search">
        <form class="p-relative">
            <input type="text" class="hs-input" placeholder="Search for banners and campaigns">
            <i class="zmdi zmdi-search hs-reset" data-ma-action="search-clear"></i>
        </form>
    </div>

</header>

<section id="main">
    <aside id="s-user-alerts" class="sidebar">

    <aside id="s-main-menu" class="sidebar">
        <ul class="main-menu">
            <li {!! route_active('dashboard') !!}>
                <a href="{{ route('dashboard') }}"><i class="zmdi zmdi-home"></i> Dashboard</a>
            </li>
            <li {!! route_active('banners') !!}>
                <a href="{{ route('banners.index') }}" ><i class="zmdi zmdi-view-quilt"></i> Banners</a>
            </li>
            <li {!! route_active('campaigns') !!}>
                <a href="{{ route('campaigns.index') }}" ><i class="zmdi zmdi-view-quilt"></i> Campaigns</a>
            </li>
        </ul>
    </aside>
<commit_msg>Removed more from the template than wanted.<commit_after>
<?php

function route_active($routeName, $classes = '', $activeClasses = '')
{
    $currentRouteName = Route::currentRouteName();

    $currentRouteSegmentsCount = count(explode(".", $currentRouteName));
    $passedRouteSegmentsCount = count(explode(".", $routeName));

    if (strpos($currentRouteName, $routeName) === 0 && abs($currentRouteSegmentsCount-$passedRouteSegmentsCount) <= 1) {
        return "class=\"{$classes} active {$activeClasses}\"";
    }
    return "class=\"{$classes}\"";
}

?>

<!DOCTYPE html>
<!--[if IE 9 ]><html class="ie9"><![endif]-->
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title> @yield('title') </title>

    <link href="{{ asset(mix('/css/vendor.css', '/assets/vendor')) }}" rel="stylesheet">
    <link href="{{ asset(mix('/css/app.css', '/assets/vendor')) }}" rel="stylesheet">

    <script src="{{ asset(mix('/js/manifest.js', '/assets/vendor')) }}"></script>
    <script src="{{ asset(mix('/js/vendor.js', '/assets/vendor')) }}"></script>
    <script src="{{ asset(mix('/js/app.js', '/assets/vendor')) }}"></script>

    @stack('head')
</head>

<body data-ma-header="cyan-600">
<header id="header" class="media">
    <div class="pull-left h-logo">
        <a href="/" class="hidden-xs"></a>

        <div class="menu-collapse" data-ma-action="sidebar-open" data-ma-target="main-menu">
            <div class="mc-wrap">
                <div class="mcw-line top palette-White bg"></div>
                <div class="mcw-line center palette-White bg"></div>
                <div class="mcw-line bottom palette-White bg"></div>
            </div>
        </div>
    </div>

    <ul class="pull-right h-menu">
        <li class="dropdown hidden-xs hidden-sm h-apps">
            <a data-toggle="dropdown" href="">
                <i class="hm-icon zmdi zmdi-apps"></i>
            </a>
            <ul class="dropdown-menu pull-right">
                <li>
                    <a href="">
                        <i class="palette-Green-400 bg zmdi zmdi-file-text"></i>
                        <small>Beam</small>
                    </a>
                </li>
                <li>
                    <a href="">
                        <i class="palette-Light-Blue bg zmdi zmdi-email"></i>
                        <small>Mailer</small>
                    </a>
                </li>
            </ul>
        </li>
        <li class="dropdown hm-profile">
            <a data-toggle="dropdown" href="">
                <img src="https://www.gravatar.com/avatar/{{ md5(Auth::user()->email) }}" alt="">
            </a>

            <ul class="dropdown-menu pull-right dm-icon">
                <li>
                    <a href=""><i class="zmdi zmdi-account"></i> View Profile</a>
                </li>
                <li>
                    <a href=""><i class="zmdi zmdi-settings"></i> Settings</a>
                </li>
                <li>
                    <a href=""><i class="zmdi zmdi-time-restore"></i> Logout</a>
                </li>
            </ul>
        </li>
    </ul>

    <div class="media-body h-search">
        <form class="p-relative">
            <input type="text" class="hs-input" placeholder="Search for banners and campaigns">
            <i class="zmdi zmdi-search hs-reset" data-ma-action="search-clear"></i>
        </form>
    </div>

</header>

<section id="main">
    <aside id="s-main-menu" class="sidebar">
        <ul class="main-menu">
            <li {!! route_active('dashboard') !!}>
                <a href="{{ route('dashboard') }}"><i class="zmdi zmdi-home"></i> Dashboard</a>
            </li>
            <li {!! route_active('banners') !!}>
                <a href="{{ route('banners.index') }}" ><i class="zmdi zmdi-view-quilt"></i> Banners</a>
            </li>
            <li {!! route_active('campaigns') !!}>
                <a href="{{ route('campaigns.index') }}" ><i class="zmdi zmdi-view-quilt"></i> Campaigns</a>
            </li>
        </ul>
    </aside>

{'fraction_non_alphanumeric': 0.20378404434803568, 'fraction_numerical': 0.0031332851289467343, 'mean_word_length': 1.9639285714285715, 'pattern_counts': {'":': 0, '<': 242, '<?xml version=': 0, '>': 242, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '3945731', 'n_tokens_mistral': 2681, 'n_tokens_neox': 2534, 'n_words': 511}