
<!doctype html>
<html lang="en" data-bs-theme="light">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
    <title><?php echo e(config('app.name')); ?> - <?php echo e($pageTitle ?? 'New chat'); ?></title>

    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link rel="preconnect" href="https://cdn.jsdelivr.net">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
    <link href="<?php echo e(asset('assets/mb/css/style.css')); ?>?v=<?php echo e(filemtime(public_path('assets/mb/css/style.css'))); ?>" rel="stylesheet">
    <link href="<?php echo e(asset('assets/mb/css/app.css')); ?>?v=<?php echo e(filemtime(public_path('assets/mb/css/app.css'))); ?>" rel="stylesheet">
    <link href="<?php echo e(asset('assets/mb/css/creatives.css')); ?>?v=<?php echo e(filemtime(public_path('assets/mb/css/creatives.css'))); ?>" rel="stylesheet">
    
    <link href="<?php echo e(asset('assets/mb/css/new-creative.css')); ?>?v=<?php echo e(filemtime(public_path('assets/mb/css/new-creative.css'))); ?>" rel="stylesheet">
    <?php echo $__env->yieldPushContent('styles'); ?>

    <style>
        body { margin: 0; font-family: Inter, system-ui, -apple-system, sans-serif; }
        .mb-logo-mark { width: 104px; height: 24px; max-width: 104px; }
        .mb-nav-panel.is-closed, .mb-chats-panel.is-closed { display: none !important; }
        [x-cloak] { display: none !important; }
    </style>

    <script>
        /* apply saved theme before paint to avoid flash */
        (function () {
            var t = localStorage.getItem('mb-theme') || (matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light');
            document.documentElement.setAttribute('data-bs-theme', t);
        })();
    </script>
</head>
<body>
<div class="mb-shell" id="shell">
    <?php echo $__env->make('partials.mb.sidebar', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

    <div class="mb-main">
        <header class="mb-header">
            <div class="d-flex align-items-center gap-2">
                <button class="mb-icon-btn mb-menu-btn" data-action="toggle-sidebar" aria-label="Open menu"><i class="bi bi-list"></i></button>
                <div class="mb-crumb"><strong><?php echo e(config('app.name')); ?></strong><span><?php echo e($pageTitle ?? 'New chat'); ?></span></div>
            </div>
            <div class="mb-hdr-actions">
                
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(isset($campaignPanel)): ?>
                    <button class="mb-icon-btn<?php echo e(!empty($hasCampaign) ? ' is-active' : ''); ?>" data-action="toggle-campaign" aria-label="Show campaign" aria-expanded="<?php echo e(!empty($hasCampaign) ? 'true' : 'false'); ?>" title="Campaign">
                        <i class="bi bi-clipboard-data"></i>
                    </button>
                <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                <button class="mb-icon-btn" data-pop="notif" aria-label="Notifications"><i class="bi bi-bell"></i></button>
                <button class="mb-icon-btn d-none d-lg-inline-flex" data-action="toggle-theme" aria-label="Toggle theme"><i class="bi bi-moon"></i></button>
            </div>
        </header>

        <?php echo $__env->make('partials.mb.notifications', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

        <main class="mb-content">
            <?php echo e($slot); ?>

        </main>

        <footer class="mb-footer">
            <span>&copy; <?php echo e(date('Y')); ?> <?php echo e(config('app.name')); ?></span>
        </footer>
    </div><!-- /.mb-main -->
</div><!-- /.mb-shell -->
<?php echo $__env->make('partials.mb.search', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

<div class="mb-backdrop" id="backdrop"></div>

<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
<script src="<?php echo e(asset('assets/mb/js/app.js')); ?>?v=<?php echo e(filemtime(public_path('assets/mb/js/app.js'))); ?>"></script>
<?php echo $__env->yieldPushContent('scripts'); ?>
</body>
</html>
<?php /**PATH /var/www/php85/koushik/arb.admedia.com/resources/views/layouts/mb.blade.php ENDPATH**/ ?>