<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta content="width=device-width, initial-scale=1.0" name="viewport">
  <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>" />
  <title>American Plastics Dashboard</title>
  <meta content="" name="description">
  <meta content="" name="keywords">

  <!-- Favicons -->

  <link href="<?php echo e(asset('admin/assets/img/favicon.png')); ?>" rel="icon">
  <link href="<?php echo e(asset('admin/assets/img/apple-touch-icon.png')); ?>" rel="apple-touch-icon">

  <!-- Google Fonts -->
  <link href="https://fonts.gstatic.com" rel="preconnect">
  <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Nunito:300,300i,400,400i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap" rel="stylesheet">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" integrity="...">

  <!-- Vendor CSS Files -->

  <link href="<?php echo e(asset('admin/assets/vendor/bootstrap/css/bootstrap.min.css')); ?>" rel="stylesheet">
  <link href="<?php echo e(asset('admin/assets/vendor/bootstrap-icons/bootstrap-icons.css')); ?>" rel="stylesheet">
  <link href="<?php echo e(asset('admin/assets/vendor/boxicons/css/boxicons.min.css')); ?>" rel="stylesheet">
  <link href="<?php echo e(asset('admin/assets/vendor/quill/quill.snow.css')); ?>" rel="stylesheet">
  <link href="<?php echo e(asset('admin/assets/vendor/quill/quill.bubble.css')); ?>" rel="stylesheet">
  <link href="<?php echo e(asset('admin/assets/vendor/remixicon/remixicon.css')); ?>" rel="stylesheet">
  <link href="<?php echo e(asset('admin/assets/vendor/simple-datatables/style.css')); ?>" rel="stylesheet">

  <!-- Template Main CSS File -->

  <link href="<?php echo e(asset('admin/assets/css/style.css')); ?>" rel="stylesheet">
  <script src="https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.7.8/lottie.min.js"></script>
  <link href="https://transloadit.edgly.net/releases/uppy/v1.6.0/uppy.min.css" rel="stylesheet">
  <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/css/bootstrap-datepicker.min.css">
  <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/js/bootstrap-datepicker.min.js"></script>
  <link href="https://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.18/summernote-bs4.min.css" rel="stylesheet">
  <script src="https://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.18/summernote.min.js" defer></script>
  <link href="https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap" rel="stylesheet" />
  <script src="https://kit.fontawesome.com/42d5adcbca.js" crossorigin="anonymous"></script>

  <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"></script>
  <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>

  <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">

  <script src="https://cdn.datatables.net/1.10.21/js/jquery.dataTables.min.js"></script>
  <script src="https://cdn.datatables.net/1.10.21/js/dataTables.bootstrap4.min.js"></script>
  <link rel="stylesheet" href="https://cdn.datatables.net/1.11.3/css/dataTables.bootstrap4.min.css">

  <link rel="stylesheet"
  href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/css/bootstrap-datepicker.min.css">
  <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/js/bootstrap-datepicker.min.js"></script>
</head>

<body>
  <!-- ======= Header ======= -->
  <header id="header" class="header fixed-top d-flex align-items-center">
    <div class="d-flex align-items-center justify-content-between">
      <a href="#" class="logo d-flex align-items-center">
        <img src="<?php echo e(asset('admin/assets/img/americanlogo.jpeg')); ?>" alt="">
        <span class="d-none d-lg-block">American Plastics</span>
      </a>
      <i class="bi bi-list toggle-sidebar-btn"></i>
    </div><!-- End Logo -->

    <div class="search-bar" hidden>
      <form class="search-form d-flex align-items-center" method="POST" action="#">
        <input type="text" name="query" placeholder="Search" title="Enter search keyword">
        <button type="submit" title="Search"><i class="bi bi-search"></i></button>
      </form>
    </div><!-- End Search Bar -->

    <nav class="header-nav ms-auto">
      <ul class="d-flex align-items-center">

        <li class="nav-item d-block d-lg-none">
          <a class="nav-link nav-icon search-bar-toggle " href="#">
            <i class="bi bi-search"></i>
          </a>
        </li><!-- End Search Icon-->



        <li class="nav-item dropdown" hidden>

          <a class="nav-link nav-icon" href="#" data-bs-toggle="dropdown">
            <i class="bi bi-chat-left-text"></i>
            <span class="badge bg-success badge-number">3</span>
          </a><!-- End Messages Icon -->

          <ul class="dropdown-menu dropdown-menu-end dropdown-menu-arrow messages">
            <li class="dropdown-header">
              You have 3 new messages
              <a href="#"><span class="badge rounded-pill bg-primary p-2 ms-2">View all</span></a>
            </li>
            <li>
              <hr class="dropdown-divider">
            </li>

            <li class="message-item">
              <a href="#">
                <img src="assets/img/messages-1.jpg" alt="" class="rounded-circle">
                <div>
                  <h4>Maria Hudson</h4>
                  <p>Velit asperiores et ducimus soluta repudiandae labore officia est ut...</p>
                  <p>4 hrs. ago</p>
                </div>
              </a>
            </li>
            <li>
              <hr class="dropdown-divider">
            </li>

            <li class="message-item">
              <a href="#">
                <img src="assets/img/messages-2.jpg" alt="" class="rounded-circle">
                <div>
                  <h4>Anna Nelson</h4>
                  <p>Velit asperiores et ducimus soluta repudiandae labore officia est ut...</p>
                  <p>6 hrs. ago</p>
                </div>
              </a>
            </li>
            <li>
              <hr class="dropdown-divider">
            </li>

            <li class="message-item">
              <a href="#">
                <img src="assets/img/messages-3.jpg" alt="" class="rounded-circle">
                <div>
                  <h4>David Muldon</h4>
                  <p>Velit asperiores et ducimus soluta repudiandae labore officia est ut...</p>
                  <p>8 hrs. ago</p>
                </div>
              </a>
            </li>
            <li>
              <hr class="dropdown-divider">
            </li>

            <li class="dropdown-footer">
              <a href="#">Show all messages</a>
            </li>

          </ul><!-- End Messages Dropdown Items -->

        </li><!-- End Messages Nav -->

        <li class="nav-item dropdown pe-3">

          <a class="nav-link nav-profile d-flex align-items-center pe-0" href="#" data-bs-toggle="dropdown">

            <?php
                $user=Auth::user();
            ?>
            <span class="d-none d-md-block dropdown-toggle ps-2"><?php echo e($user->name); ?></span>
          </a><!-- End Profile Iamge Icon -->

          <ul class="dropdown-menu dropdown-menu-end dropdown-menu-arrow profile">
            <li class="dropdown-header">
              <h6>SuperUser</h6>
              <span>System Owner</span>
            </li>
            <li>
              <hr class="dropdown-divider">
            </li>


            <li>
              <a class="dropdown-item d-flex align-items-center" href="<?php echo e(route('american.plastic.admin.log.out')); ?>">
                <i class="bi bi-box-arrow-right"></i>
                <span>Sign Out</span>
              </a>
            </li>

          </ul><!-- End Profile Dropdown Items -->
        </li><!-- End Profile Nav -->

      </ul>
    </nav><!-- End Icons Navigation -->

  </header><!-- End Header -->

  <!-- ======= Sidebar ======= -->
  <aside id="sidebar" class="sidebar">

    <ul class="sidebar-nav" id="sidebar-nav">

      <li class="nav-item">
        <a class="nav-link <?php echo e(request()->routeIs('american.plastic.admin.dashboard') ? '' : 'collapsed'); ?> " href="<?php echo e(route('american.plastic.admin.dashboard')); ?>">
          <i class="bi bi-grid"></i>
          <span>Dashboard</span>
        </a>
      </li><!-- End Dashboard Nav -->

      <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('create-users')): ?>
      <li class="nav-item">
        <a class="nav-link  <?php echo e(request()->routeIs('american.plastic.admin.create.admin') ? '' : 'collapsed'); ?>" data-bs-target="#forms-nav" data-bs-toggle="collapse" href="#">

          <i class="bi bi-journal-text"></i><span>Admin Section</span><i class="bi bi-chevron-down ms-auto"></i>
        </a>
        <ul id="forms-nav" class="nav-content collapse " data-bs-parent="#sidebar-nav">
          <li>
            <a href="<?php echo e(route('american.plastic.admin.create.admin')); ?>">
              <i class="bi bi-circle"></i><span>Admin</span>
            </a>
          </li>

        </ul>
      </li><!-- End Forms Nav -->
      <?php endif; ?>

      <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('create-category')): ?>
      <li class="nav-item">
        <a class="nav-link  <?php echo e(request()->routeIs('american.plastic.admin.category') || request()->routeIs('category.banner') ? '' : 'collapsed'); ?>" data-bs-target="#tables-nav" data-bs-toggle="collapse" href="#">
          <i class="bi bi-layout-text-window-reverse"></i><span>Category Section</span><i class="bi bi-chevron-down ms-auto"></i>
        </a>
        <ul id="tables-nav" class="nav-content collapse " data-bs-parent="#sidebar-nav">
          <li>
            <a href="<?php echo e(route('american.plastic.admin.category')); ?>">
              <i class="bi bi-circle"></i><span>Category</span>
            </a>
          </li>
        </ul>
      </li><!-- End Tables Nav -->
      <?php endif; ?>


      <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('add-product')): ?>
      <li class="nav-item">
        <a class="nav-link <?php echo e(request()->routeIs('american.plastic.admin.product')|| request()->routeIs('american.plastic.admin.product.summary')? '' : 'collapsed'); ?>" data-bs-target="#charts-nav" data-bs-toggle="collapse" href="#">
          <i class="bi bi-bar-chart"></i><span>Product Section</span><i class="bi bi-chevron-down ms-auto"></i>
        </a>
        <ul id="charts-nav" class="nav-content collapse " data-bs-parent="#sidebar-nav">
          <li>
            <a href="<?php echo e(route('american.plastic.admin.product')); ?>">
              <i class="bi bi-circle"></i><span>Product</span>
            </a>
          </li>
          <li>
            <a href="<?php echo e(route('american.plastic.admin.product.summary')); ?>">
              <i class="bi bi-circle"></i><span>Products summary</span>
            </a>
          </li>
            <li>
            <a href="<?php echo e(route('american.plastic.admin.product.color.out.of.stock')); ?>">
              <i class="bi bi-circle"></i><span>Product Color</span>
            </a>
          </li>
           <li>
            <a href="<?php echo e(route('american.plastic.admin.product.out.of.stock')); ?>">
              <i class="bi bi-circle"></i><span>Product (Out of Stock)</span>
            </a>
          </li>

        </ul>
      </li>
      <?php endif; ?>


       <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('edit-order')): ?>
      <li class="nav-item">
        <a class="nav-link <?php echo e(request()->routeIs('american.plastic.admin.all.order') || request()->routeIs('american.plastic.admin.order.history') || request()->routeIs('american.plastic.admin.pending.orders') ? '' : 'collapsed'); ?> " data-bs-target="#icons-nav" data-bs-toggle="collapse" href="#">
          <i class="bi bi-gem"></i><span>Order Section</span><i class="bi bi-chevron-down ms-auto"></i>
        </a>
        <ul id="icons-nav" class="nav-content collapse <?php echo e(request()->routeIs('american.plastic.admin.all.order') || request()->routeIs('american.plastic.admin.order.history') || request()->routeIs('american.plastic.admin.pending.orders') ? 'show' : ''); ?> " data-bs-parent="#sidebar-nav">
          <li>
            <a href="<?php echo e(route('american.plastic.admin.all.order')); ?>" class="<?php echo e(request()->routeIs('american.plastic.admin.all.order') ? 'active' : ''); ?>">
              <i class="bi bi-circle"></i><span>Orders</span>
            </a>
          </li>
          <li>
            <a href="<?php echo e(route('american.plastic.admin.pending.orders')); ?>" class="<?php echo e(request()->routeIs('american.plastic.admin.pending.orders') ? 'active' : ''); ?>">
              <i class="bi bi-circle"></i><span>Pending Orders</span>
            </a>
          </li>
          <li>
            <a href="<?php echo e(route('american.plastic.admin.order.history')); ?>" class="<?php echo e(request()->routeIs('american.plastic.admin.order.history') ? 'active' : ''); ?>">
              <i class="bi bi-circle"></i><span>History</span>
            </a>
          </li>
          <li>
            <a href="<?php echo e(route('american.plastic.admin.order.report.dashboard')); ?>" class="<?php echo e(request()->routeIs('american.plastic.admin.order.report.dashboard') ? 'active' : ''); ?>">
              <i class="bi bi-circle"></i><span>Order Report</span>
            </a>
          </li>
           <li>
            <a href="<?php echo e(route('american.plastic.admin.koombiyo.report')); ?>" class="<?php echo e(request()->routeIs('american.plastic.admin.koombiyo.report') ? 'active' : ''); ?>">
              <i class="bi bi-circle"></i><span>Koombiyo Report</span>
            </a>
          </li>

        </ul>
      </li>
      <?php endif; ?>


      <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('update-user')): ?>
      <li class="nav-item">
        <a class="nav-link <?php echo e(request()->routeIs('american.plastic.admin.get.users') ? '' : 'collapsed'); ?>" data-bs-target="#icons-navs" data-bs-toggle="collapse" href="#">
          <i class="bi bi-person"></i><span>User Section</span><i class="bi bi-chevron-down ms-auto"></i>
        </a>
        <ul id="icons-navs" class="nav-content collapse " data-bs-parent="#sidebar-nav">
          <li>
            <a href="<?php echo e(route('american.plastic.admin.get.users')); ?>">
              <i class="bi bi-circle"></i><span>Users</span>
            </a>
          </li>


        </ul>
      </li>
      <?php endif; ?>


      <li class="nav-item">
        <a class="nav-link  <?php echo e(request()->routeIs('american.plastic.admin.index.shipping.zone') || request()->routeIs('american.plastic.admin.index.shipping.area') ? '' : 'collapsed'); ?>" data-bs-target="#forms-navv" data-bs-toggle="collapse" href="#">

          <i class="bi bi-journal-text"></i><span>Shipping</span><i class="bi bi-chevron-down ms-auto"></i>
        </a>
        <ul id="forms-navv" class="nav-content collapse " data-bs-parent="#sidebar-nav">
          <li>
            <a href="<?php echo e(route('american.plastic.admin.index.shipping.zone')); ?>">
              <i class="bi bi-circle"></i><span>Zone</span>
            </a>
          </li>
          <li>
            <a href="<?php echo e(route('american.plastic.admin.index.shipping.area')); ?>">
              <i class="bi bi-circle"></i><span>Area</span>
            </a>
          </li>
        </ul>

      </li>


      <li class="nav-item">
        <a class="nav-link collapsed" href="<?php echo e(route('american.plastic.admin.product.reviews')); ?>">
       <i class="bi bi-star"></i>
        <span>Reviews</span>
        </a>
      </li>

      <li class="nav-item">
        <a class="nav-link <?php echo e(request()->routeIs('admin.vouchers.*') ? '' : 'collapsed'); ?>" href="<?php echo e(route('admin.vouchers.index')); ?>">
          <i class="bi bi-ticket-perforated"></i>
          <span>Vouchers</span>
        </a>
      </li>


      <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('view-full-dashboard')): ?>
      <li class="nav-item">
        <a class="nav-link collapsed" href="<?php echo e(route('american.plastic.admin.revenue')); ?>">
          <i class="bi bi-currency-dollar"></i>
          <span>Revenue</span>
        </a>
      </li>
      <?php endif; ?>

      <li class="nav-item">
        <a class="nav-link <?php echo e(request()->routeIs('admin.analytics.index') ? '' : 'collapsed'); ?>" href="<?php echo e(route('admin.analytics.index')); ?>">
          <i class="bi bi-bar-chart-line"></i>
          <span>Analytics</span>
        </a>
      </li>

      <li class="nav-item">
        <a class="nav-link <?php echo e(request()->routeIs('admin.tax-report') ? '' : 'collapsed'); ?>" href="<?php echo e(route('admin.tax-report')); ?>">
          <i class="bi bi-receipt"></i>
          <span>Tax Report</span>
        </a>
      </li>

      <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('update-banner')): ?>
      <li class="nav-item">
        <a class="nav-link <?php echo e(request()->routeIs('american.plastic.admin.update.home.banner') ? '' : 'collapsed'); ?>" href="<?php echo e(route('american.plastic.admin.update.home.banner')); ?>">
          <i class="bi bi-file-earmark"></i>
          <span>Banner</span>
        </a>
      </li>
      <?php endif; ?>

      <li class="nav-item">
        <a class="nav-link <?php echo e(request()->routeIs('american.plastic.admin.news.section') ? '' : 'collapsed'); ?>" href="<?php echo e(route('american.plastic.admin.news.section')); ?>">
          <i class="bi bi-dash-circle"></i>
          <span>News</span>
        </a>
      </li>

      <li class="nav-item">
        <a class="nav-link <?php echo e(request()->routeIs('american.plastic.admin.event.section') ? '' : 'collapsed'); ?>" href="<?php echo e(route('american.plastic.admin.event.section')); ?>">
          <i class="bi bi-dash-circle"></i>
          <span>Events</span>
        </a>
      </li>


      <li class="nav-item">
        <a class="nav-link <?php echo e(request()->routeIs('admin.csr.*') ? '' : 'collapsed'); ?>" href="<?php echo e(route('admin.csr.index')); ?>">
          <i class="bi bi-recycle"></i>
          <span>CSR Recycling</span>
        </a>
      </li>

      <li class="nav-item">
        <a class="nav-link <?php echo e(request()->routeIs('admin.dev-chat') ? '' : 'collapsed'); ?>" href="<?php echo e(route('admin.dev-chat')); ?>">
          <i class="bi bi-chat-dots"></i>
          <span>Dev Support</span>
        </a>
      </li>

      <li class="nav-item">
        <a class="nav-link <?php echo e(request()->routeIs('american.plastic.admin.system.log') ? '' : 'collapsed'); ?>" href="<?php echo e(route('american.plastic.admin.system.log')); ?>">
          <i class="bi bi-dash-circle"></i>
          <span>System Log</span>
        </a>
      </li><!-- End Error 404 Page Nav -->

      <li class="nav-item">
        <a class="nav-link collapsed" href="<?php echo e(route('american.plastic.admin.log.out')); ?>">
          <i class="bi bi-box-arrow-in-right"></i>
          <span>Log Out</span>
        </a>
      </li><!-- End Blank Page Nav -->

    </ul>

  </aside><!-- End Sidebar-->

<?php echo $__env->yieldContent('content'); ?>
<style>
  body {
      font-family: sans-serif;
      background-color: #fff;

      font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }

  .alert-message {
      line-height: 20px;
      font-size: 15px;
      padding-bottom: 12px;
  }




  .unstyled {
      margin: 0;
      list-style: none;
  }

  .unstyled a,
  .unstyled #test {
      width: 120px;
      text-decoration: none;
      padding: .5em 1em;
      background-color: #213347;
      border-radius: 4px;
      display: block;
      margin-bottom: .5em;
      font-size: 15px;
      font-weight: 300;
      font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }

  .unstyled a:hover,
  .unstyled #test:hover {
      background-color: #f25c5d;
  }

  .cf,
  .alert {
      *zoom: 1;
  }

  .cf:before,
  .alert:before,
  .cf:after,
  .alert:after {
      display: table;
      content: "";
      line-height: 0;
  }

  .cf:after,
  .alert:after {
      clear: both;
  }

  #alerts {
      width: 400px;
      top: 12px;
      right: 50px;
      position: fixed;
      z-index: 9999;
      list-style: none;
  }

  .alert {
      width: 100%;
      margin-bottom: 8px;
      display: block;
      position: relative;
      border-left: 4px solid;
      right: -50px;
      opacity: 0;
      line-height: 1;
      padding: 0;
      transition: right 400ms, opacity 400ms, line-height 300ms 100ms, padding 300ms 100ms;
      display: table;
  }

  .alert:hover {
      cursor: pointer;
      box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
  }

  .open {
      right: 0;
      opacity: 1;
      line-height: 2;
      padding: 3px 15px;
      transition: line-height 200ms, padding 200ms, right 350ms 200ms, opacity 350ms 200ms;
  }

  .alert-title {
      font-weight: bold;
  }

  .alert-block {
      width: 80%;
      width: -webkit-calc(100% - 10px);
      width: calc(100% - 10px);
      text-align: left;
  }

  .alert-block em,
  .alert-block small {
      font-size: .75em;
      opacity: .75;
      display: block;
  }

  .alert i {
      font-size: 2em;
      width: 1.5em;
      max-height: 48px;
      top: 50%;
      margin-top: -12px;
      display: table-cell;
      vertical-align: middle;
  }

  .alert-success {
      color: #fff;
      border-color: #539753;
      background-color: #8fbf2f;
  }

  .alert-error {
      color: #fff;
      border-color: #dc4a4d;
      background-color: #f25c5d;
  }

  .alert-trash {
      color: #fff;
      border-color: #dc4a4d;
      background-color: #f25c5d;
  }

  .alert-info {
      color: #fff;
      border-color: #076d91;
      background-color: #3397db;
  }

  .alert-warning {
      color: #fff;
      border-color: #dd6137;
      background-color: #f7931d;
  }
</style>
<script>
  var Alert = undefined;

  (function(Alert) {
      var alert, error, trash, info, success, warning, _container;
      info = function(message, title, options) {
          return alert("info", message, title, "fa fa-info-circle", options);
      };
      warning = function(message, title, options) {
          return alert("warning", message, title, "fa fa-warning", options);
      };
      error = function(message, title, options) {
          return alert("error", message, title, "fa fa-exclamation-circle", options);
      };

      trash = function(message, title, options) {
          return alert("trash", message, title, "fa fa-trash-o", options);
      };

      success = function(message, title, options) {
          return alert("success", message, title, "fa fa-check-circle", options);
      };
      alert = function(type, message, title, icon, options) {
          var alertElem, messageElem, titleElem, iconElem, innerElem, _container;
          if (typeof options === "undefined") {
              options = {};
          }
          options = $.extend({}, Alert.defaults, options);
          if (!_container) {
              _container = $("#alerts");
              if (_container.length === 0) {
                  _container = $("<ul>").attr("id", "alerts").appendTo($("body"));
              }
          }
          if (options.width) {
              _container.css({
                  width: options.width
              });
          }
          alertElem = $("<li>").addClass("alert").addClass("alert-" + type);
          setTimeout(function() {
              alertElem.addClass('open');
          }, 1);
          if (icon) {
              iconElem = $("<i>").addClass(icon);
              alertElem.append(iconElem);
          }
          innerElem = $("<div>").addClass("alert-block");
          //innerElem = $("<i>").addClass("fa fa-times");
          alertElem.append(innerElem);
          if (title) {
              titleElem = $("<div>").addClass("alert-title").append(title);
              innerElem.append(titleElem);

          }
          if (message) {
              messageElem = $("<div>").addClass("alert-message").append(message);
              //innerElem.append("<i class="fa fa-times"></i>");
              innerElem.append(messageElem);
              //innerElem.append("<em>Click to Dismiss</em>");
              //      innerElemc = $("<i>").addClass("fa fa-times");

          }
          if (options.displayDuration > 0) {
              setTimeout((function() {
                  leave();
              }), options.displayDuration);
          } else {
              innerElem.append("<em>Click to Dismiss</em>");
          }
          alertElem.on("click", function() {
              leave();
          });

          function leave() {
              alertElem.removeClass('open');
              alertElem.one('webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend',
                  function() {
                      return alertElem.remove();
                  });
          }
          return _container.prepend(alertElem);
      };
      Alert.defaults = {
          width: "",
          icon: "",
          displayDuration: 3000,
          pos: ""
      };
      Alert.info = info;
      Alert.warning = warning;
      Alert.error = error;
      Alert.trash = trash;
      Alert.success = success;
      return _container = void 0;

  })(Alert || (Alert = {}));

  this.Alert = Alert;

  $('#test').on('click', function() {
      Alert.info('Message');
  });
</script>
  <a href="#" class="back-to-top d-flex align-items-center justify-content-center"><i class="bi bi-arrow-up-short"></i></a>
  <!-- Vendor JS Files -->
  <script src=" <?php echo e(asset('admin/assets/vendor/apexcharts/apexcharts.min.js')); ?>"></script>
  <script src="<?php echo e(asset('admin/assets/vendor/bootstrap/js/bootstrap.bundle.min.js')); ?>"></script>
  <script src="<?php echo e(asset('admin/assets/vendor/chart.js/chart.umd.js')); ?>"></script>
  <script src="<?php echo e(asset('admin/assets/vendor/echarts/echarts.min.js')); ?>"></script>
  <script src="<?php echo e(asset('admin/assets/vendor/quill/quill.min.js')); ?>"></script>
  <script src="<?php echo e(asset('admin/assets/vendor/simple-datatables/simple-datatables.js')); ?>"></script>
  <script src="<?php echo e(asset('admin/assets/vendor/tinymce/tinymce.min.js')); ?>"></script>
  <script src="<?php echo e(asset('admin/assets/vendor/php-email-form/validate.js')); ?>"></script>

  <!-- Template Main JS File -->

  <script src="<?php echo e(asset('admin/assets/js/main.js')); ?>"></script>

</body>

</html>
<?php /**PATH /home/amerbofz/public_html/resources/views/admin/layout/dashboard_master.blade.php ENDPATH**/ ?>