<div class="sidebar">
    <nav class="sidebar-nav ps ps--active-y">

        <ul class="nav">
            <li class="nav-item">
                <a href="{{ route("admin.home") }}" class="nav-link">
                    <i class="nav-icon fas fa-fw fa-tachometer-alt">

                    </i>
                    {{ trans('global.dashboard') }}
                </a>
            </li>
            @can('home_access')
                <li class="nav-item">
                    <a href="{{ route("admin.homes.index") }}" class="nav-link {{ request()->is('admin/homes') || request()->is('admin/homes/*') ? 'active' : '' }}">
                        <i class="fa-fw fas fa-cogs nav-icon">

                        </i>
                        {{ trans('cruds.home.title') }}
                    </a>
                </li>
            @endcan
            @can('user_management_access')
                <li class="nav-item nav-dropdown">
                    <a class="nav-link  nav-dropdown-toggle">
                        <i class="fa-fw fas fa-users nav-icon">

                        </i>
                        {{ trans('cruds.userManagement.title') }}
                    </a>
                    <ul class="nav-dropdown-items">
                        @can('permission_access')
                            <li class="nav-item">
                                <a href="{{ route("admin.permissions.index") }}" class="nav-link {{ request()->is('admin/permissions') || request()->is('admin/permissions/*') ? 'active' : '' }}">
                                    <i class="fa-fw fas fa-unlock-alt nav-icon">

                                    </i>
                                    {{ trans('cruds.permission.title') }}
                                </a>
                            </li>
                        @endcan
                        @can('role_access')
                            <li class="nav-item">
                                <a href="{{ route("admin.roles.index") }}" class="nav-link {{ request()->is('admin/roles') || request()->is('admin/roles/*') ? 'active' : '' }}">
                                    <i class="fa-fw fas fa-briefcase nav-icon">

                                    </i>
                                    {{ trans('cruds.role.title') }}
                                </a>
                            </li>
                        @endcan
                        @can('user_access')
                            <li class="nav-item">
                                <a href="{{ route("admin.users.index") }}" class="nav-link {{ request()->is('admin/users') || request()->is('admin/users/*') ? 'active' : '' }}">
                                    <i class="fa-fw fas fa-user nav-icon">

                                    </i>
                                    {{ trans('cruds.user.title') }}
                                </a>
                            </li>
                        @endcan
                        @can('team_access')
                            <li class="nav-item">
                                <a href="{{ route("admin.teams.index") }}" class="nav-link {{ request()->is('admin/teams') || request()->is('admin/teams/*') ? 'active' : '' }}">
                                    <i class="fa-fw fas fa-users nav-icon">

                                    </i>
                                    {{ trans('cruds.team.title') }}
                                </a>
                            </li>
                        @endcan
                    </ul>
                </li>
            @endcan
            @can('data_referensi_access')
                <li class="nav-item nav-dropdown">
                    <a class="nav-link  nav-dropdown-toggle">
                        <i class="fa-fw fas fa-cogs nav-icon">

                        </i>
                        {{ trans('cruds.dataReferensi.title') }}
                    </a>
                    <ul class="nav-dropdown-items">
                        @can('referensi_access')
                            <li class="nav-item">
                                <a href="{{ route("admin.referensis.index") }}" class="nav-link {{ request()->is('admin/referensis') || request()->is('admin/referensis/*') ? 'active' : '' }}">
                                    <i class="fa-fw fas fa-book nav-icon">

                                    </i>
                                    {{ trans('cruds.referensi.title') }}
                                </a>
                            </li>
                        @endcan
                        @can('referensipkapk_access')
                            <li class="nav-item">
                                <a href="{{ route("admin.referensipkapks.index") }}" class="nav-link {{ request()->is('admin/referensipkapks') || request()->is('admin/referensipkapks/*') ? 'active' : '' }}">
                                    <i class="fa-fw fas fa-cogs nav-icon">

                                    </i>
                                    {{ trans('cruds.referensipkapk.title') }}
                                </a>
                            </li>
                        @endcan
                    </ul>
                </li>
            @endcan
            @can('klien_access')
                <li class="nav-item nav-dropdown">
                    <a class="nav-link  nav-dropdown-toggle">
                        <i class="fa-fw far fa-address-card nav-icon">

                        </i>
                        {{ trans('cruds.klien.title') }}
                    </a>
                    <ul class="nav-dropdown-items">
                        @can('identitas_klien_access')
                            <li class="nav-item">
                                <a href="{{ route("admin.identitas-kliens.index") }}" class="nav-link {{ request()->is('admin/identitas-kliens') || request()->is('admin/identitas-kliens/*') ? 'active' : '' }}">
                                    <i class="fa-fw far fa-address-book nav-icon">

                                    </i>
                                    {{ trans('cruds.identitasKlien.title') }}
                                </a>
                            </li>
                        @endcan
                        @can('litmas_sidang_access')
                            <li class="nav-item">
                                <a href="{{ route("admin.litmas-sidangs.index") }}" class="nav-link {{ request()->is('admin/litmas-sidangs') || request()->is('admin/litmas-sidangs/*') ? 'active' : '' }}">
                                    <i class="fa-fw fas fa-cogs nav-icon">

                                    </i>
                                    {{ trans('cruds.litmasSidang.title') }}
                                </a>
                            </li>
                        @endcan
                        @can('bimbingan_access')
                            <li class="nav-item">
                                <a href="{{ route("admin.bimbingans.index") }}" class="nav-link {{ request()->is('admin/bimbingans') || request()->is('admin/bimbingans/*') ? 'active' : '' }}">
                                    <i class="fa-fw fas fa-car nav-icon">

                                    </i>
                                    {{ trans('cruds.bimbingan.title') }}
                                </a>
                            </li>
                        @endcan
                        @can('kunjungan_access')
                            <li class="nav-item">
                                <a href="{{ route("admin.kunjungans.index") }}" class="nav-link {{ request()->is('admin/kunjungans') || request()->is('admin/kunjungans/*') ? 'active' : '' }}">
                                    <i class="fa-fw fas fa-cogs nav-icon">

                                    </i>
                                    {{ trans('cruds.kunjungan.title') }}
                                </a>
                            </li>
                        @endcan
                        @can('pengakhiran_access')
                            <li class="nav-item">
                                <a href="{{ route("admin.pengakhirans.index") }}" class="nav-link {{ request()->is('admin/pengakhirans') || request()->is('admin/pengakhirans/*') ? 'active' : '' }}">
                                    <i class="fa-fw fas fa-cogs nav-icon">

                                    </i>
                                    {{ trans('cruds.pengakhiran.title') }}
                                </a>
                            </li>
                        @endcan
                        @can('pelimpahan_access')
                            <li class="nav-item">
                                <a href="{{ route("admin.pelimpahans.index") }}" class="nav-link {{ request()->is('admin/pelimpahans') || request()->is('admin/pelimpahans/*') ? 'active' : '' }}">
                                    <i class="fa-fw fas fa-cogs nav-icon">

                                    </i>
                                    {{ trans('cruds.pelimpahan.title') }}
                                </a>
                            </li>
                        @endcan
                        @can('pendampingan_access')
                            <li class="nav-item">
                                <a href="{{ route("admin.pendampingans.index") }}" class="nav-link {{ request()->is('admin/pendampingans') || request()->is('admin/pendampingans/*') ? 'active' : '' }}">
                                    <i class="fa-fw fas fa-cogs nav-icon">

                                    </i>
                                    {{ trans('cruds.pendampingan.title') }}
                                </a>
                            </li>
                        @endcan
                        @can('pengawasan_access')
                            <li class="nav-item">
                                <a href="{{ route("admin.pengawasans.index") }}" class="nav-link {{ request()->is('admin/pengawasans') || request()->is('admin/pengawasans/*') ? 'active' : '' }}">
                                    <i class="fa-fw fas fa-cogs nav-icon">

                                    </i>
                                    {{ trans('cruds.pengawasan.title') }}
                                </a>
                            </li>
                        @endcan
                    </ul>
                </li>
            @endcan
            @can('kegiatanpkapk_access')
                <li class="nav-item">
                    <a href="{{ route("admin.kegiatanpkapks.index") }}" class="nav-link {{ request()->is('admin/kegiatanpkapks') || request()->is('admin/kegiatanpkapks/*') ? 'active' : '' }}">
                        <i class="fa-fw fas fa-cogs nav-icon">

                        </i>
                        {{ trans('cruds.kegiatanpkapk.title') }}
                    </a>
                </li>
            @endcan
            @can('penilaianak_access')
                <li class="nav-item">
                    <a href="{{ route("admin.penilaianaks.index") }}" class="nav-link {{ request()->is('admin/penilaianaks') || request()->is('admin/penilaianaks/*') ? 'active' : '' }}">
                        <i class="fa-fw fas fa-cogs nav-icon">

                        </i>
                        {{ trans('cruds.penilaianak.title') }}
                    </a>
                </li>
            @endcan
            @can('dokuman_access')
                <li class="nav-item">
                    <a href="{{ route("admin.dokumen.index") }}" class="nav-link {{ request()->is('admin/dokumen') || request()->is('admin/dokumen/*') ? 'active' : '' }}">
                        <i class="fa-fw fas fa-cogs nav-icon">

                        </i>
                        {{ trans('cruds.dokuman.title') }}
                    </a>
                </li>
            @endcan
            <li class="nav-item">
                <a href="#" class="nav-link" onclick="event.preventDefault(); document.getElementById('logoutform').submit();">
                    <i class="nav-icon fas fa-fw fa-sign-out-alt">

                    </i>
                    {{ trans('global.logout') }}
                </a>
            </li>
        </ul>

        <div class="ps__rail-x" style="left: 0px; bottom: 0px;">
            <div class="ps__thumb-x" tabindex="0" style="left: 0px; width: 0px;"></div>
        </div>
        <div class="ps__rail-y" style="top: 0px; height: 869px; right: 0px;">
            <div class="ps__thumb-y" tabindex="0" style="top: 0px; height: 415px;"></div>
        </div>
    </nav>
    <button class="sidebar-minimizer brand-minimizer" type="button"></button>
</div>