@viteReactRefresh @vite(['resources/css/app.css', 'resources/js/admin/main.tsx']) @php $matomoConfig = config('services.matomo'); $matomoAdmin = ($matomoConfig['enabled'] ?? false) && !empty($matomoConfig['url']) && !empty($matomoConfig['site_id_admin']) ? [ 'enabled' => true, 'url' => rtrim($matomoConfig['url'], '/'), 'siteId' => (string) $matomoConfig['site_id_admin'], ] : ['enabled' => false]; $adminRuntimeConfig = [ 'push' => [ 'enabled' => config('push.enabled', false), 'vapidPublicKey' => config('push.vapid.public_key'), ], ]; @endphp
@php $noscriptLocale = in_array(app()->getLocale(), ['de', 'en'], true) ? app()->getLocale() : 'de'; @endphp