<!DOCTYPE html>

<html lang="en">
<!--begin::Head-->

<head>
    <title>The Greater Chiangmai : Backend</title>
    <meta charset="utf-8" />
    <meta name="description" content="The Greater Chiangmai : Backend" />
    <meta name="keywords" content="The Greater Chiangmai : Backend" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta property="og:locale" content="en_US" />
    <meta property="og:type" content="article" />
    <meta property="og:title" content="The Greater Chiangmai : Backend" />
    <meta property="og:url" content="" />
    <meta property="og:site_name" content="Keenthemes | Metronic" />
    <link rel="canonical" href="" />
    <link rel="shortcut icon" href="{{ url('assets/media/logos/favicon.ico') }}" />

    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inter:300,400,500,600,700" />

    <link href="{{ url('assets/plugins/custom/fullcalendar/fullcalendar.bundle.css') }}" rel="stylesheet"
        type="text/css" />
    <link href="{{ url('assets/plugins/custom/datatables/datatables.bundle.css') }}" rel="stylesheet" type="text/css" />

    <link href="{{ url('assets/plugins/global/plugins.bundle.css') }}" rel="stylesheet" type="text/css" />

    <link href="{{ url('assets/css/style.bundle.css') }}" rel="stylesheet" type="text/css" />


    <link href="{{ url('assets/plugins/custom/magnific/magnific-popup.css') }}" rel="stylesheet" type="text/css" />

    <meta name="csrf-token" content="{{ csrf_token() }}">


    {{-- fileuploader --}}
    <link href="{{ url('assets/plugins/fileuploader-2.2/dist/jquery.fileuploader.min.css') }}" media="all"
        rel="stylesheet">

    <link href="{{ url('assets/plugins/fileuploader-2.2/dist/font/font-fileuploader.css') }}" rel="stylesheet">
    <link href="{{ url('assets/plugins/fileuploader-2.2/dist/jquery.fileuploader-theme-dragdrop.css') }}" media="all"
        rel="stylesheet">
    <link href="{{ url('assets/plugins/fileuploader-2.2/dist/jquery.fileuploader-theme-thumbnails.css') }}"
        media="all" rel="stylesheet">

    <style>
        .image-input-placeholder {
            background-image: url('{{ url('assets/media/svg/files/blank-image.svg') }}');
        }

        [data-bs-theme="dark"] .image-input-placeholder {
            background-image: url('{{ url('assets/media/svg/files/blank-image-dark.svg') }}');
        }

        .form-check-label {
            color: #2e2e2e;
            font-size: 1.2rem;
            font-weight: 500;
        }

        .fv-row {
            position: relative;
        }

        .invalid {
            color: red;
            font-size: 0.9rem;
            position: absolute;
            right: 0;
            top: 0;
        }

        .ck-editor__editable_inline {
            min-height: 300px;
        }

        .app-sidebar-logo-default {
            height: 50px;
        }

        @media (min-width: 992px) {
            .app-sidebar-logo-minimize {
                display: none !important;
            }
        }
    </style>


</head>
<!--end::Head-->


<!--begin::Body-->

<body id="kt_app_body" data-kt-app-layout="dark-sidebar" data-kt-app-header-fixed="true"
    data-kt-app-sidebar-enabled="true" data-kt-app-sidebar-fixed="true" data-kt-app-sidebar-hoverable="true"
    data-kt-app-sidebar-push-header="true" data-kt-app-sidebar-push-toolbar="true"
    data-kt-app-sidebar-push-footer="true" data-kt-app-toolbar-enabled="true" class="app-default">


    <div class="page-loader flex-column">
        <span class="spinner-border text-primary" role="status"></span>
        <span class="text-muted fs-6 fw-semibold mt-5">Loading...</span>
    </div>

    <!--begin body -->
    <div class="d-flex flex-column flex-root app-root" id="kt_app_root">
        <!--begin::Page-->
        <div class="app-page flex-column flex-column-fluid" id="kt_app_page">

            @include('uc.header')


            <!--begin:: Main Wrapper -->
            <div class="app-wrapper flex-column flex-row-fluid" id="kt_app_wrapper">

                <!--begin:: Sidebar-->
                <div id="kt_app_sidebar" class="app-sidebar flex-column" data-kt-drawer="true"
                    data-kt-drawer-name="app-sidebar" data-kt-drawer-activate="{default: true, lg: false}"
                    data-kt-drawer-overlay="true" data-kt-drawer-width="225px" data-kt-drawer-direction="start"
                    data-kt-drawer-toggle="#kt_app_sidebar_mobile_toggle">

                    <!--begin::Logo-->
                    <div class="app-sidebar-logo px-6" id="kt_app_sidebar_logo">
                        <!--begin::Logo image-->
                        <a href="{{ url('') }}">
                            <img alt="The Greater Chiangmai" src="{{ url('assets/media/logos/footer-logo.png') }}"
                                class=" app-sidebar-logo-default" />
                            <img alt="The Greater Chiangmai" src="{{ url('assets/media/logos/footer-logo.png') }}"
                                class="app-sidebar-logo-minimize" />
                        </a>
                        <!--end::Logo image-->
                        <!--begin::Sidebar toggle-->
                        <div id="kt_app_sidebar_toggle"
                            class="app-sidebar-toggle btn btn-icon btn-shadow btn-sm btn-color-muted btn-active-color-primary body-bg h-30px w-30px position-absolute top-50 start-100 translate-middle rotate"
                            data-kt-toggle="true" data-kt-toggle-state="active" data-kt-toggle-target="body"
                            data-kt-toggle-name="app-sidebar-minimize">
                            <!--begin::Svg Icon | path: icons/duotune/arrows/arr079.svg-->
                            <span class="svg-icon svg-icon-2 rotate-180">
                                <svg width="24" height="24" viewBox="0 0 24 24" fill="none"
                                    xmlns="http://www.w3.org/2000/svg">
                                    <path opacity="0.5"
                                        d="M14.2657 11.4343L18.45 7.25C18.8642 6.83579 18.8642 6.16421 18.45 5.75C18.0358 5.33579 17.3642 5.33579 16.95 5.75L11.4071 11.2929C11.0166 11.6834 11.0166 12.3166 11.4071 12.7071L16.95 18.25C17.3642 18.6642 18.0358 18.6642 18.45 18.25C18.8642 17.8358 18.8642 17.1642 18.45 16.75L14.2657 12.5657C13.9533 12.2533 13.9533 11.7467 14.2657 11.4343Z"
                                        fill="currentColor" />
                                    <path
                                        d="M8.2657 11.4343L12.45 7.25C12.8642 6.83579 12.8642 6.16421 12.45 5.75C12.0358 5.33579 11.3642 5.33579 10.95 5.75L5.40712 11.2929C5.01659 11.6834 5.01659 12.3166 5.40712 12.7071L10.95 18.25C11.3642 18.6642 12.0358 18.6642 12.45 18.25C12.8642 17.8358 12.8642 17.1642 12.45 16.75L8.2657 12.5657C7.95328 12.2533 7.95328 11.7467 8.2657 11.4343Z"
                                        fill="currentColor" />
                                </svg>
                            </span>

                        </div>
                        <!--end::Sidebar toggle-->
                    </div>
                    <!--end::Logo-->

                    <!--begin:: SIDEBAR menu-->
                    <div class="app-sidebar-menu overflow-hidden flex-column-fluid">
                        <!--begin::Menu wrapper-->
                        <div id="kt_app_sidebar_menu_wrapper" class="app-sidebar-wrapper hover-scroll-overlay-y my-5"
                            data-kt-scroll="true" data-kt-scroll-activate="true" data-kt-scroll-height="auto"
                            data-kt-scroll-dependencies="#kt_app_sidebar_logo, #kt_app_sidebar_footer"
                            data-kt-scroll-wrappers="#kt_app_sidebar_menu" data-kt-scroll-offset="5px"
                            data-kt-scroll-save-state="true">

                            <div class="menu menu-column menu-rounded menu-sub-indention px-3"
                                id="#kt_app_sidebar_menu" data-kt-menu="true" data-kt-menu-expand="false">

                                <div class="menu-item here show menu-accordion">

                                    <a class="menu-link {{ Request::is('dashboard*') ? 'active' : '' }}"
                                        href="{{ url('') }}">
                                        <span class="menu-icon">
                                            <!--begin::Svg Icon | path: icons/duotune/general/gen025.svg-->
                                            <span class="svg-icon svg-icon-2">
                                                <svg width="24" height="24" viewBox="0 0 24 24"
                                                    fill="none" xmlns="http://www.w3.org/2000/svg">
                                                    <rect x="2" y="2" width="9" height="9" rx="2"
                                                        fill="currentColor" />
                                                    <rect opacity="0.3" x="13" y="2" width="9" height="9"
                                                        rx="2" fill="currentColor" />
                                                    <rect opacity="0.3" x="13" y="13" width="9" height="9"
                                                        rx="2" fill="currentColor" />
                                                    <rect opacity="0.3" x="2" y="13" width="9" height="9"
                                                        rx="2" fill="currentColor" />
                                                </svg>
                                            </span>

                                        </span>
                                        <span class="menu-title">Dashboards</span>
                                    </a>

                                </div>


                                @if (Auth::user()->role != 2)
                                    {{-- Category: CHIANG MAI AND NOWHERE ELSE --}}
                                    <div class="menu-item pt-5">
                                        <div class="menu-content"><span
                                                class="menu-heading fw-bold text-uppercase fs-7">
                                                CHIANG MAI AND NOWHERE ELSE
                                            </span></div>
                                    </div>


                                    {{-- Sub category --}}
                                    <div class="menu-item menu-accordion">

                                        <a class="menu-link {{ Request::is('no-where-else/sub-category*') || Request::is('no-where-else/add-sub-category*') || Request::is('no-where-else/edit-sub-category*') ? 'active' : '' }}"
                                            href="{{ url('no-where-else/sub-category') }}">
                                            <span class="menu-icon">
                                                <!--begin::Svg Icon | path: icons/duotune/abstract/abs042.svg-->
                                                <span class="svg-icon svg-icon-2">
                                                    <svg width="24" height="24" viewBox="0 0 24 24"
                                                        fill="none" xmlns="http://www.w3.org/2000/svg">
                                                        <path
                                                            d="M18 21.6C16.6 20.4 9.1 20.3 6.3 21.2C5.7 21.4 5.1 21.2 4.7 20.8L2 18C4.2 15.8 10.8 15.1 15.8 15.8C16.2 18.3 17 20.5 18 21.6ZM18.8 2.8C18.4 2.4 17.8 2.20001 17.2 2.40001C14.4 3.30001 6.9 3.2 5.5 2C6.8 3.3 7.4 5.5 7.7 7.7C9 7.9 10.3 8 11.7 8C15.8 8 19.8 7.2 21.5 5.5L18.8 2.8Z"
                                                            fill="currentColor"></path>
                                                        <path opacity="0.3"
                                                            d="M21.2 17.3C21.4 17.9 21.2 18.5 20.8 18.9L18 21.6C15.8 19.4 15.1 12.8 15.8 7.8C18.3 7.4 20.4 6.70001 21.5 5.60001C20.4 7.00001 20.2 14.5 21.2 17.3ZM8 11.7C8 9 7.7 4.2 5.5 2L2.8 4.8C2.4 5.2 2.2 5.80001 2.4 6.40001C2.7 7.40001 3.00001 9.2 3.10001 11.7C3.10001 15.5 2.40001 17.6 2.10001 18C3.20001 16.9 5.3 16.2 7.8 15.8C8 14.2 8 12.7 8 11.7Z"
                                                            fill="currentColor"></path>
                                                    </svg>
                                                </span>
                                                <!--end::Svg Icon-->
                                            </span>
                                            <span class="menu-title">Sub Category</span>
                                        </a>

                                    </div>

                                    {{-- Sub article --}}
                                    <div class="menu-item menu-accordion">
                                        <a class="menu-link {{ Request::is('no-where-else/article*') || Request::is('no-where-else/add-article*') ? 'active' : '' }}"
                                            href="{{ url('no-where-else/article') }}">
                                            <span class="menu-icon">
                                                <!--begin::Svg Icon | path: icons/duotune/layouts/lay008.svg-->
                                                <span class="svg-icon svg-icon-2">
                                                    <svg width="24" height="24" viewBox="0 0 24 24"
                                                        fill="none" xmlns="http://www.w3.org/2000/svg">
                                                        <path
                                                            d="M20 7H3C2.4 7 2 6.6 2 6V3C2 2.4 2.4 2 3 2H20C20.6 2 21 2.4 21 3V6C21 6.6 20.6 7 20 7ZM7 9H3C2.4 9 2 9.4 2 10V20C2 20.6 2.4 21 3 21H7C7.6 21 8 20.6 8 20V10C8 9.4 7.6 9 7 9Z"
                                                            fill="currentColor"></path>
                                                        <path opacity="0.3"
                                                            d="M20 21H11C10.4 21 10 20.6 10 20V10C10 9.4 10.4 9 11 9H20C20.6 9 21 9.4 21 10V20C21 20.6 20.6 21 20 21Z"
                                                            fill="currentColor"></path>
                                                    </svg>
                                                </span>
                                                <!--end::Svg Icon-->
                                            </span>
                                            <span class="menu-title">Article</span>
                                        </a>

                                    </div>
                                @endif





                                @if (Auth::user()->role != 2)
                                    {{-- Category: CHIANG MAI AND NOWHERE ELSE --}}
                                    <div class="menu-item pt-5">
                                        <div class="menu-content"><span
                                                class="menu-heading fw-bold text-uppercase fs-7">
                                                WHERE ELSE
                                            </span></div>
                                    </div>

                                    {{-- Sub category --}}
                                    <div class="menu-item menu-accordion">
                                        <a class="menu-link {{ Request::is('where-else/sub-category*') || Request::is('where-else/add-sub-category*') || Request::is('where-else/edit-sub-category*') ? 'active' : '' }}"
                                            href="{{ url('where-else/sub-category') }}">
                                            <span class="menu-icon">
                                                <!--begin::Svg Icon | path: icons/duotune/abstract/abs042.svg-->
                                                <span class="svg-icon svg-icon-2">
                                                    <svg width="24" height="24" viewBox="0 0 24 24"
                                                        fill="none" xmlns="http://www.w3.org/2000/svg">
                                                        <path
                                                            d="M18 21.6C16.6 20.4 9.1 20.3 6.3 21.2C5.7 21.4 5.1 21.2 4.7 20.8L2 18C4.2 15.8 10.8 15.1 15.8 15.8C16.2 18.3 17 20.5 18 21.6ZM18.8 2.8C18.4 2.4 17.8 2.20001 17.2 2.40001C14.4 3.30001 6.9 3.2 5.5 2C6.8 3.3 7.4 5.5 7.7 7.7C9 7.9 10.3 8 11.7 8C15.8 8 19.8 7.2 21.5 5.5L18.8 2.8Z"
                                                            fill="currentColor"></path>
                                                        <path opacity="0.3"
                                                            d="M21.2 17.3C21.4 17.9 21.2 18.5 20.8 18.9L18 21.6C15.8 19.4 15.1 12.8 15.8 7.8C18.3 7.4 20.4 6.70001 21.5 5.60001C20.4 7.00001 20.2 14.5 21.2 17.3ZM8 11.7C8 9 7.7 4.2 5.5 2L2.8 4.8C2.4 5.2 2.2 5.80001 2.4 6.40001C2.7 7.40001 3.00001 9.2 3.10001 11.7C3.10001 15.5 2.40001 17.6 2.10001 18C3.20001 16.9 5.3 16.2 7.8 15.8C8 14.2 8 12.7 8 11.7Z"
                                                            fill="currentColor"></path>
                                                    </svg>
                                                </span>
                                                <!--end::Svg Icon-->
                                            </span>
                                            <span class="menu-title">Sub Category</span>
                                        </a>

                                    </div>

                                    {{-- Sub article --}}
                                    <div class="menu-item menu-accordion">
                                        <a class="menu-link {{ Request::is('where-else/article*') || Request::is('where-else/add-article*') ? 'active' : '' }}"
                                            href="{{ url('where-else/article') }}">
                                            <span class="menu-icon">
                                                <!--begin::Svg Icon | path: icons/duotune/layouts/lay008.svg-->
                                                <span class="svg-icon svg-icon-2">
                                                    <svg width="24" height="24" viewBox="0 0 24 24"
                                                        fill="none" xmlns="http://www.w3.org/2000/svg">
                                                        <path
                                                            d="M20 7H3C2.4 7 2 6.6 2 6V3C2 2.4 2.4 2 3 2H20C20.6 2 21 2.4 21 3V6C21 6.6 20.6 7 20 7ZM7 9H3C2.4 9 2 9.4 2 10V20C2 20.6 2.4 21 3 21H7C7.6 21 8 20.6 8 20V10C8 9.4 7.6 9 7 9Z"
                                                            fill="currentColor"></path>
                                                        <path opacity="0.3"
                                                            d="M20 21H11C10.4 21 10 20.6 10 20V10C10 9.4 10.4 9 11 9H20C20.6 9 21 9.4 21 10V20C21 20.6 20.6 21 20 21Z"
                                                            fill="currentColor"></path>
                                                    </svg>
                                                </span>
                                                <!--end::Svg Icon-->
                                            </span>
                                            <span class="menu-title">Article</span>
                                        </a>

                                    </div>
                                @endif

                                {{-- Manage: File --}}
                                <div class="menu-item pt-5">
                                    <div class="menu-content"><span class="menu-heading fw-bold text-uppercase fs-7">
                                            MANAGE FILE
                                        </span></div>
                                </div>

                                {{-- Video --}}
                                <div class="menu-item menu-accordion">
                                    <a class="menu-link {{ Request::is('video*') ? 'active' : '' }}"
                                        href="{{ url('video') }}">
                                        <span class="menu-icon">
                                            <!--begin::Svg Icon | path: icons/duotune/abstract/abs042.svg-->
                                            <span class="svg-icon svg-icon-2">
                                                <svg width="24" height="24" viewBox="0 0 24 24"
                                                    fill="none" xmlns="http://www.w3.org/2000/svg">
                                                    <path
                                                        d="M18 21.6C16.6 20.4 9.1 20.3 6.3 21.2C5.7 21.4 5.1 21.2 4.7 20.8L2 18C4.2 15.8 10.8 15.1 15.8 15.8C16.2 18.3 17 20.5 18 21.6ZM18.8 2.8C18.4 2.4 17.8 2.20001 17.2 2.40001C14.4 3.30001 6.9 3.2 5.5 2C6.8 3.3 7.4 5.5 7.7 7.7C9 7.9 10.3 8 11.7 8C15.8 8 19.8 7.2 21.5 5.5L18.8 2.8Z"
                                                        fill="currentColor"></path>
                                                    <path opacity="0.3"
                                                        d="M21.2 17.3C21.4 17.9 21.2 18.5 20.8 18.9L18 21.6C15.8 19.4 15.1 12.8 15.8 7.8C18.3 7.4 20.4 6.70001 21.5 5.60001C20.4 7.00001 20.2 14.5 21.2 17.3ZM8 11.7C8 9 7.7 4.2 5.5 2L2.8 4.8C2.4 5.2 2.2 5.80001 2.4 6.40001C2.7 7.40001 3.00001 9.2 3.10001 11.7C3.10001 15.5 2.40001 17.6 2.10001 18C3.20001 16.9 5.3 16.2 7.8 15.8C8 14.2 8 12.7 8 11.7Z"
                                                        fill="currentColor"></path>
                                                </svg>
                                            </span>
                                            <!--end::Svg Icon-->
                                        </span>
                                        <span class="menu-title">Videos</span>
                                    </a>
                                </div>

                                {{-- Sound --}}
                                <div class="menu-item menu-accordion">
                                    <a class="menu-link {{ Request::is('sound*') ? 'active' : '' }}"
                                        href="{{ url('sound') }}">
                                        <span class="menu-icon">
                                            <!--begin::Svg Icon | path: icons/duotune/maps/map002.svg-->
                                            <span class="svg-icon svg-icon-2">
                                                <svg width="24" height="24" viewBox="0 0 24 24"
                                                    fill="none" xmlns="http://www.w3.org/2000/svg">
                                                    <path
                                                        d="M8.7 4.19995L4 6.30005V18.8999L8.7 16.8V19L3.1 21.5C2.6 21.7 2 21.4 2 20.8V6C2 5.4 2.3 4.89995 2.9 4.69995L8.7 2.09998V4.19995Z"
                                                        fill="currentColor"></path>
                                                    <path
                                                        d="M15.3 19.8L20 17.6999V5.09992L15.3 7.19989V4.99994L20.9 2.49994C21.4 2.29994 22 2.59989 22 3.19989V17.9999C22 18.5999 21.7 19.1 21.1 19.3L15.3 21.8998V19.8Z"
                                                        fill="currentColor"></path>
                                                    <path opacity="0.3"
                                                        d="M15.3 7.19995L20 5.09998V17.7L15.3 19.8V7.19995Z"
                                                        fill="currentColor"></path>
                                                    <path opacity="0.3"
                                                        d="M8.70001 4.19995V2L15.4 5V7.19995L8.70001 4.19995ZM8.70001 16.8V19L15.4 22V19.8L8.70001 16.8Z"
                                                        fill="currentColor"></path>
                                                    <path opacity="0.3"
                                                        d="M8.7 16.8L4 18.8999V6.30005L8.7 4.19995V16.8Z"
                                                        fill="currentColor"></path>
                                                </svg>
                                            </span>
                                            <!--end::Svg Icon-->
                                        </span>
                                        <span class="menu-title">Sounds</span>
                                    </a>
                                </div>

                                {{-- Images --}}
                                <div class="menu-item menu-accordion">
                                    <a class="menu-link {{ Request::is('image*') ? 'active' : '' }}"
                                        href="{{ url('image') }}">
                                        <span class="menu-icon">
                                            <!--begin::Svg Icon | path: icons/duotune/abstract/abs014.svg-->
                                            <span class="svg-icon svg-icon-2">
                                                <svg width="24" height="24" viewBox="0 0 24 24"
                                                    fill="none" xmlns="http://www.w3.org/2000/svg">
                                                    <path opacity="0.3"
                                                        d="M11.8 5.2L17.7 8.6V15.4L11.8 18.8L5.90001 15.4V8.6L11.8 5.2ZM11.8 2C11.5 2 11.2 2.1 11 2.2L3.8 6.4C3.3 6.7 3 7.3 3 7.9V16.2C3 16.8 3.3 17.4 3.8 17.7L11 21.9C11.3 22 11.5 22.1 11.8 22.1C12.1 22.1 12.4 22 12.6 21.9L19.8 17.7C20.3 17.4 20.6 16.8 20.6 16.2V7.9C20.6 7.3 20.3 6.7 19.8 6.4L12.6 2.2C12.4 2.1 12.1 2 11.8 2Z"
                                                        fill="currentColor"></path>
                                                    <path
                                                        d="M11.8 8.69995L8.90001 10.3V13.7L11.8 15.3L14.7 13.7V10.3L11.8 8.69995Z"
                                                        fill="currentColor"></path>
                                                </svg>
                                            </span>
                                            <!--end::Svg Icon-->
                                        </span>
                                        <span class="menu-title">Images</span>
                                    </a>
                                </div>

                                {{-- Documents --}}
                                <div class="menu-item menu-accordion">
                                    <a class="menu-link {{ Request::is('document*') ? 'active' : '' }}"
                                        href="{{ url('document') }}">
                                        <span class="menu-icon">
                                            <!--begin::Svg Icon | path: icons/duotune/abstract/abs026.svg-->
                                            <span class="svg-icon svg-icon-2">
                                                <svg width="24" height="24" viewBox="0 0 24 24"
                                                    fill="none" xmlns="http://www.w3.org/2000/svg">
                                                    <path opacity="0.3"
                                                        d="M7 20.5L2 17.6V11.8L7 8.90002L12 11.8V17.6L7 20.5ZM21 20.8V18.5L19 17.3L17 18.5V20.8L19 22L21 20.8Z"
                                                        fill="currentColor"></path>
                                                    <path d="M22 14.1V6L15 2L8 6V14.1L15 18.2L22 14.1Z"
                                                        fill="currentColor"></path>
                                                </svg>
                                            </span>
                                            <!--end::Svg Icon-->
                                        </span>
                                        <span class="menu-title">Documents</span>
                                    </a>
                                </div>




                                @if (Auth::user()->role == 0)
                                    {{-- Manage: User --}}
                                    <div class="menu-item pt-5">
                                        <div class="menu-content"><span
                                                class="menu-heading fw-bold text-uppercase fs-7">
                                                MANAGE USER
                                            </span></div>
                                    </div>

                                    {{-- User --}}
                                    <div class="menu-item menu-accordion">

                                        <a class="menu-link {{ Request::is('user*') ? 'active' : '' }}"
                                            href="{{ url('user') }}">
                                            <span class="menu-icon">
                                                <!--begin::Svg Icon | path: icons/duotune/communication/com005.svg-->
                                                <span class="svg-icon svg-icon-2">
                                                    <svg width="24" height="24" viewBox="0 0 24 24"
                                                        fill="none" xmlns="http://www.w3.org/2000/svg">
                                                        <path
                                                            d="M20 14H18V10H20C20.6 10 21 10.4 21 11V13C21 13.6 20.6 14 20 14ZM21 19V17C21 16.4 20.6 16 20 16H18V20H20C20.6 20 21 19.6 21 19ZM21 7V5C21 4.4 20.6 4 20 4H18V8H20C20.6 8 21 7.6 21 7Z"
                                                            fill="currentColor"></path>
                                                        <path opacity="0.3"
                                                            d="M17 22H3C2.4 22 2 21.6 2 21V3C2 2.4 2.4 2 3 2H17C17.6 2 18 2.4 18 3V21C18 21.6 17.6 22 17 22ZM10 7C8.9 7 8 7.9 8 9C8 10.1 8.9 11 10 11C11.1 11 12 10.1 12 9C12 7.9 11.1 7 10 7ZM13.3 16C14 16 14.5 15.3 14.3 14.7C13.7 13.2 12 12 10.1 12C8.10001 12 6.49999 13.1 5.89999 14.7C5.59999 15.3 6.19999 16 7.39999 16H13.3Z"
                                                            fill="currentColor"></path>
                                                    </svg>
                                                </span>

                                            </span>
                                            <span class="menu-title">User</span>
                                        </a>

                                    </div>
                                @endif

                            </div>
                        </div>
                    </div>

                </div>
                <!--end:: Sidebar-->

                @yield('content')

            </div>
            <!--end:: Main Wrapper-->

        </div>
    </div>


    <div id="kt_scrolltop" class="scrolltop" data-kt-scrolltop="true">
        <!--begin::Svg Icon | path: icons/duotune/arrows/arr066.svg-->
        <span class="svg-icon">
            <svg width="24" height="24" viewBox="0 0 24 24" fill="none"
                xmlns="http://www.w3.org/2000/svg">
                <rect opacity="0.5" x="13" y="6" width="13" height="2" rx="1"
                    transform="rotate(90 13 6)" fill="currentColor" />
                <path
                    d="M12.5657 8.56569L16.75 12.75C17.1642 13.1642 17.8358 13.1642 18.25 12.75C18.6642 12.3358 18.6642 11.6642 18.25 11.25L12.7071 5.70711C12.3166 5.31658 11.6834 5.31658 11.2929 5.70711L5.75 11.25C5.33579 11.6642 5.33579 12.3358 5.75 12.75C6.16421 13.1642 6.83579 13.1642 7.25 12.75L11.4343 8.56569C11.7467 8.25327 12.2533 8.25327 12.5657 8.56569Z"
                    fill="currentColor" />
            </svg>
        </span>

    </div>

    <script>
        var hostUrl = "";
        let baseSite = "{{ url('') }}";
    </script>

    <!--begin::Global Javascript Bundle(mandatory for all pages)-->
    <script src="{{ url('assets/plugins/global/plugins.bundle.js') }}"></script>
    <script src="{{ url('assets/plugins/custom/fslightbox/fslightbox.bundle.js') }}"></script>
    <script src="{{ url('assets/js/scripts.bundle.js') }}"></script>
    <!--end::Global Javascript Bundle-->

    <!--begin::Vendors Javascript(used for this page only)-->
    <script src="{{ url('assets/plugins/custom/fullcalendar/fullcalendar.bundle.js') }}"></script>
    <script src="https://cdn.amcharts.com/lib/5/index.js"></script>
    <script src="https://cdn.amcharts.com/lib/5/xy.js"></script>
    <script src="https://cdn.amcharts.com/lib/5/percent.js"></script>
    <script src="https://cdn.amcharts.com/lib/5/radar.js"></script>
    <script src="https://cdn.amcharts.com/lib/5/themes/Animated.js"></script>
    <script src="https://cdn.amcharts.com/lib/5/map.js"></script>
    <script src="https://cdn.amcharts.com/lib/5/geodata/worldLow.js"></script>
    <script src="https://cdn.amcharts.com/lib/5/geodata/continentsLow.js"></script>
    <script src="https://cdn.amcharts.com/lib/5/geodata/usaLow.js"></script>
    <script src="https://cdn.amcharts.com/lib/5/geodata/worldTimeZonesLow.js"></script>
    <script src="https://cdn.amcharts.com/lib/5/geodata/worldTimeZoneAreasLow.js"></script>
    <script src="{{ url('assets/plugins/custom/datatables/datatables.bundle.js') }}"></script>
    <script src="{{ url('assets/plugins/custom/formrepeater/formrepeater.bundle.js') }}"></script>
    <!--end::Vendors Javascript-->
    <!--begin::Custom Javascript(used for this page only)-->
    <script src="{{ url('assets/js/widgets.bundle.js') }}"></script>
    <script src="{{ url('assets/js/custom/widgets.js') }}"></script>
    <script src="{{ url('assets/js/custom/apps/chat/chat.js') }}"></script>
    <script src="{{ url('assets/js/custom/utilities/modals/upgrade-plan.js') }}"></script>
    <script src="{{ url('assets/js/custom/utilities/modals/create-app.js') }}"></script>
    <script src="{{ url('assets/js/custom/utilities/modals/new-target.js') }}"></script>
    <script src="{{ url('assets/js/custom/utilities/modals/users-search.js') }}"></script>
    <script src="{{ url('assets/js/custom/apps/ecommerce/catalog/save-category.js') }}"></script>
    <script src="{{ url('assets/js/custom/utilities/modals/upgrade-plan.js') }}"></script>
    <script src="{{ url('assets/js/custom/utilities/modals/create-app.js') }}"></script>
    <script src="{{ url('assets/js/custom/utilities/modals/users-search.js') }}"></script>
    <!--end::Custom Javascript-->

    <script src="{{ url('assets/js/utils.js') }}"></script>
    <!--end::Javascript-->


    {{-- Custom --}}
    {{-- <script type="text/javascript" src="{{ url('assets/plugins/ckeditor4162/ckeditor.js') }}"></script>
    <script type="text/javascript" src="{{ url('assets/plugins/ckeditor4162/styles.js') }}"></script>
 --}}

    <script src="https://cdn.ckeditor.com/ckeditor5/39.0.2/super-build/ckeditor.js"></script>

    <script src="{{ url('assets/plugins/custom/magnific/magnific-popup.js') }}"></script>

    {{-- fileuploader --}}
    <script src="{{ url('assets/plugins/fileuploader-2.2/dist/jquery.fileuploader.min.js') }}" type="text/javascript">
    </script>

    <script>
        $('.show-image-preview').magnificPopup({
            type: 'image'
            // other options
        });
    </script>

    @yield('script')

</body>
<!--end::Body-->

</html>
