<!DOCTYPE html>
<html lang="<?php echo e(str_replace('_', '-', current_locale())); ?>">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no,  maximum-scale=1.0">
    <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">

    <link rel="icon" type="image/png" sizes="56x56"
        href="<?php echo e(asset(get_option('primary_data')['favicon'] ?? 'favicon.png')); ?>">

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

    <meta name="app-name" content="<?php echo e(config('app.name')); ?>" />

    <meta name="app-translations" content="<?php echo e(getTranslationFile()); ?>" />

    <title inertia><?php echo e(config('app.name', 'Laravel')); ?></title>

    <script>
        "use strict"
        if (
            localStorage.getItem('theme') === 'dark' ||
            (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)
        ) {
            document.documentElement.classList.add('dark');
        } else {
            document.documentElement.classList.remove('dark');
        }
    </script>
    <script src="<?php echo e(asset('assets/js/initialLoader.js')); ?>" async></script>
    <link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/css/custom.css')); ?>" media="all">
    <link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/css/custom-toastr.css')); ?>" media="all">
    <link rel="stylesheet" href="<?php echo e(asset('assets/css/payment.css')); ?>">

    <?php echo app('Tighten\Ziggy\BladeRouteGenerator')->generate(); ?>

    <?php
        $activeModule = $page['props']['activeModule'] ?? null;
        $moduleJsPath = "modules/{$activeModule}/resources/js";
        $moduleJs = "$moduleJsPath/app.js";
    ?>

    <?php if($activeModule): ?>
        <?php if(Vite::isRunningHot()): ?>
            <?php echo app('Illuminate\Foundation\Vite')([$moduleJs, "$moduleJsPath/Pages/{$page['component']}.vue"]); ?>
        <?php else: ?>
            <?php echo e(module_vite(str('build')->append($activeModule)->kebab()->toString(), $moduleJs)); ?>

        <?php endif; ?>
    <?php else: ?>
        <?php echo app('Illuminate\Foundation\Vite')(['resources/js/app.js']); ?>
    <?php endif; ?>

    <?php if(Vite::isRunningHot()): ?>
        <?php echo app('Illuminate\Foundation\Vite')(['resources/css/app.css', 'resources/scss/admin/main.scss']); ?>
    <?php else: ?>
        <?php echo e(module_vite('build', 'resources/scss/admin/main.scss')); ?>

    <?php endif; ?>

    <?php if (!isset($__inertiaSsrDispatched)) { $__inertiaSsrDispatched = true; $__inertiaSsrResponse = app(\Inertia\Ssr\Gateway::class)->dispatch($page); }  if ($__inertiaSsrResponse) { echo $__inertiaSsrResponse->head; } ?>
</head>

<body>
    <?php echo $__env->make('layouts.loader', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
    <?php if (!isset($__inertiaSsrDispatched)) { $__inertiaSsrDispatched = true; $__inertiaSsrResponse = app(\Inertia\Ssr\Gateway::class)->dispatch($page); }  if ($__inertiaSsrResponse) { echo $__inertiaSsrResponse->body; } else { ?><div id="app" data-page="<?php echo e(json_encode($page)); ?>"></div><?php } ?>
</body>

</html>
<?php /**PATH /Volumes/my-works/laravel/whatsml/resources/views/layouts/user.blade.php ENDPATH**/ ?>