<?php
    $assetBase = 'assets';
    $hasBootstrap = file_exists(public_path("{$assetBase}/vendor/bootstrap/css/bootstrap.min.css"));
    $hasIcons = file_exists(public_path("{$assetBase}/vendor/bootstrap-icons/css/bootstrap-icons.min.css"));
    $hasAppCss = file_exists(public_path("{$assetBase}/css/app.css"));
    $hasFullCalendar = file_exists(public_path("{$assetBase}/vendor/fullcalendar/index.global.min.css"));
?>

<?php if($hasBootstrap): ?>
    <link rel="stylesheet" href="<?php echo e(asset("{$assetBase}/vendor/bootstrap/css/bootstrap.min.css")); ?>">
<?php endif; ?>

<?php if($hasIcons): ?>
    <link rel="stylesheet" href="<?php echo e(asset("{$assetBase}/vendor/bootstrap-icons/css/bootstrap-icons.min.css")); ?>">
<?php endif; ?>

<?php if($hasFullCalendar && ($includeFullCalendar ?? false)): ?>
    <link rel="stylesheet" href="<?php echo e(asset("{$assetBase}/vendor/fullcalendar/index.global.min.css")); ?>">
<?php endif; ?>

<?php if($hasAppCss): ?>
    <link rel="stylesheet" href="<?php echo e(asset("{$assetBase}/css/app.css")); ?>">
<?php else: ?>
    
    <style>
        :root { --vem-primary: #0f4c5c; --vem-accent: #e36414; --vem-bg: #f3f6f8; }
        body { font-family: system-ui, sans-serif; background: var(--vem-bg); }
    </style>
<?php endif; ?>

<?php echo $__env->yieldPushContent('styles'); ?>

<?php
    $hasBootstrapJs = file_exists(public_path("{$assetBase}/vendor/bootstrap/js/bootstrap.bundle.min.js"));
    $hasAlpine = file_exists(public_path("{$assetBase}/vendor/alpine/alpine.min.js"));
    $hasAppJs = file_exists(public_path("{$assetBase}/js/app.js"));
    $hasFullCalendarJs = file_exists(public_path("{$assetBase}/vendor/fullcalendar/index.global.min.js"));
?>

<?php if($hasBootstrapJs): ?>
    <script src="<?php echo e(asset("{$assetBase}/vendor/bootstrap/js/bootstrap.bundle.min.js")); ?>" defer></script>
<?php endif; ?>

<?php if($hasAlpine): ?>
    <script src="<?php echo e(asset("{$assetBase}/vendor/alpine/alpine.min.js")); ?>" defer></script>
<?php endif; ?>

<?php if($hasFullCalendarJs && ($includeFullCalendar ?? false)): ?>
    <script src="<?php echo e(asset("{$assetBase}/vendor/fullcalendar/index.global.min.js")); ?>" defer></script>
<?php endif; ?>

<?php if($hasAppJs): ?>
    <script src="<?php echo e(asset("{$assetBase}/js/app.js")); ?>" defer></script>
<?php endif; ?>

<?php echo $__env->yieldPushContent('scripts'); ?>
<?php /**PATH C:\xampp\htdocs\hotelplus\consol\resources\views/layouts/partials/assets-head.blade.php ENDPATH**/ ?>