<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>{{ config('app.name', 'Support Desk') }}</title>
        <link rel="preconnect" href="https://fonts.bunny.net">
        <link href="https://fonts.bunny.net/css?family=instrument-sans:400,500,600,700,800" rel="stylesheet" />
        @php
            $css = file_get_contents(resource_path('css/app.css'));
            $css = preg_replace("/@import[^;]+;\s*/", '', $css, 1);
            $css = preg_replace("/@source[^\n]*\n/", '', $css);
            $css = preg_replace("/@theme\s*\{.*?\}\s*/s", '', $css, 1);
            $js = file_get_contents(resource_path('js/ticketing-app.js'));
        @endphp
        <style>{!! $css !!}</style>
    </head>
    <body>
        <div id="app"></div>
        <script>{!! $js !!}</script>
    </body>
</html>
