<!--
=========================================================
* DJPS Information Project - v1.0.3
=========================================================

* Product Page: https://www.creative-tim.com/product/soft-ui-dashboard
* Copyright 2021 Creative Tim (https://www.creative-tim.com)
* Licensed under MIT (https://www.creative-tim.com/license)

* Coded 

=========================================================

* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-->
<!DOCTYPE html>

<?php if(\Request::is('rtl')): ?>
  <html dir="rtl" lang="ar">
<?php else: ?>
  <html lang="en" >
<?php endif; ?>

<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

  <?php if(env('IS_DEMO')): ?>
      <?php if (isset($component)) { $__componentOriginalb028e3c120f9eb4dcf5f37307a919070 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalb028e3c120f9eb4dcf5f37307a919070 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.demo-metas','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('demo-metas'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalb028e3c120f9eb4dcf5f37307a919070)): ?>
<?php $attributes = $__attributesOriginalb028e3c120f9eb4dcf5f37307a919070; ?>
<?php unset($__attributesOriginalb028e3c120f9eb4dcf5f37307a919070); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalb028e3c120f9eb4dcf5f37307a919070)): ?>
<?php $component = $__componentOriginalb028e3c120f9eb4dcf5f37307a919070; ?>
<?php unset($__componentOriginalb028e3c120f9eb4dcf5f37307a919070); ?>
<?php endif; ?>
  <?php endif; ?>

  <link rel="apple-touch-icon" sizes="76x76" href="<?php echo e(asset('assets/img/apple-icon.png')); ?>">
  <link rel="icon" type="image/png" href="<?php echo e(asset('assets/img/favicon.png')); ?>">
  <title>
    DJPS Information Project 
  </title>
  <!--     Fonts and icons     -->
  <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700" rel="stylesheet" />
  <!-- Nucleo Icons -->
  <link href="<?php echo e(asset('assets/css/nucleo-icons.css')); ?>" rel="stylesheet" />
  <link href="<?php echo e(asset('assets/css/nucleo-svg.css')); ?>" rel="stylesheet" />
  <!-- Font Awesome Icons -->
  <script src="https://kit.fontawesome.com/42d5adcbca.js" crossorigin="anonymous"></script>
  <link href="<?php echo e(asset('assets/css/nucleo-svg.css')); ?>" rel="stylesheet" />
  <!-- CSS Files -->
  <link id="pagestyle" href="<?php echo e(asset('assets/css/soft-ui-dashboard.css?v=1.0.3')); ?>" rel="stylesheet" />
</head>

<body class="g-sidenav-show  bg-gray-100 <?php echo e((\Request::is('rtl') ? 'rtl' : (Request::is('virtual-reality') ? 'virtual-reality' : ''))); ?> ">
  <?php if(auth()->guard()->check()): ?>
    <?php echo $__env->yieldContent('auth'); ?>
  <?php endif; ?>
  <?php if(auth()->guard()->guest()): ?>
    <?php echo $__env->yieldContent('guest'); ?>
  <?php endif; ?>
    <!--   Core JS Files   -->
  <script src="<?php echo e(asset('assets/js/core/popper.min.js')); ?>"></script>
  <script src="<?php echo e(asset('assets/js/core/bootstrap.min.js')); ?>"></script>
  <script src="<?php echo e(asset('assets/js/plugins/perfect-scrollbar.min.js')); ?>"></script>
  <script src="<?php echo e(asset('assets/js/plugins/smooth-scrollbar.min.js')); ?>"></script>
  <script src="<?php echo e(asset('assets/js/plugins/fullcalendar.min.js')); ?>"></script>
  <script src="<?php echo e(asset('assets/js/plugins/chartjs.min.js')); ?>"></script>
  <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11/dist/sweetalert2.all.min.js"></script>
  <?php echo $__env->yieldPushContent('rtl'); ?>
  <?php echo $__env->yieldPushContent('dashboard'); ?>
  <script>
    var win = navigator.platform.indexOf('Win') > -1;
    if (win && document.querySelector('#sidenav-scrollbar')) {
      var options = {
        damping: '0.5'
      }
      Scrollbar.init(document.querySelector('#sidenav-scrollbar'), options);
    }
  </script>
  <div id="flash-data"
       data-success="<?php echo e(session('success')); ?>"
       data-error="<?php echo e(session('error')); ?>"
       data-status="<?php echo e(session('status')); ?>"
       data-first-error="<?php echo e($errors->any() ? $errors->first() : ''); ?>"
       style="display:none;"></div>
  <script>
    document.addEventListener('DOMContentLoaded', function () {
      var getSwal = function() {
        return window.Swal || window.sweetAlert || window.Sweetalert2 || null;
      };
      var toast = function(icon, title) {
        var s = getSwal();
        if (!s || !s.fire) {
          try { console.warn('SweetAlert tidak tersedia'); } catch(e) {}
          return;
        }
        s.fire({
          toast: true,
          position: 'top-end',
          icon: icon,
          title: title,
          showConfirmButton: false,
          timer: 3000,
          timerProgressBar: true
        });
      };
      window.showToast = toast;
      var flashEl = document.getElementById('flash-data');
      if (flashEl) {
        var msg;
        msg = flashEl.getAttribute('data-success'); if (msg) toast('success', msg);
        msg = flashEl.getAttribute('data-error'); if (msg) toast('error', msg);
        msg = flashEl.getAttribute('data-status'); if (msg) toast('info', msg);
        msg = flashEl.getAttribute('data-first-error'); if (msg) toast('error', msg);
      }
      document.querySelectorAll('[data-confirm]').forEach(function(el) {
        el.addEventListener('click', function(e) {
          e.preventDefault();
          var message = el.getAttribute('data-confirm') || 'Apakah Anda yakin?';
          var href = el.getAttribute('href');
          var form = el.closest('form');
          var s = getSwal();
          if (!s || !s.fire) {
            if (confirm(message)) {
              if (href) { window.location.href = href; }
              else if (form) { form.submit(); }
            }
            return;
          }
          s.fire({
            title: message,
            icon: 'warning',
            showCancelButton: true,
            confirmButtonText: 'Ya',
            cancelButtonText: 'Batal'
          }).then(function(result) {
            if (result.isConfirmed) {
              if (href) {
                window.location.href = href;
              } else if (form) {
                form.submit();
              }
            }
          });
        });
      });
    });
  </script>
 

  <!-- Github buttons -->
  <script async defer src="https://buttons.github.io/buttons.js"></script>
  <!-- Control Center for Soft Dashboard: parallax effects, scripts for the example pages etc -->
  <script src="<?php echo e(asset('assets/js/soft-ui-dashboard.min.js?v=1.0.3')); ?>"></script>
</body>

</html>
<?php /**PATH /Users/tryprasetyoadi/Documents/cubi/soft-ui-dashboard-laravel/resources/views/layouts/app.blade.php ENDPATH**/ ?>