{% load static %}
{% load tt_chat %}

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>


    <script src='{% static "js/jquery_v3_6_4.js" %}'> </script>


    {% if user and not user.is_anonymous %}
        <script src='{% static "js/chat_sockets.js" %}'></script>
        <script src="{% static "js/global_js.js" %}"></script>
        <script>

            {#var user_id = {{ user.id }}#}
            ws_url = `ws://{% get_ws_address %}/ws/socket-server/?user_id={{ user.id }}`;
            var chatSocket;
            init_ws()
            const beep = new Audio('/static/sounds/beep_2.mp3')
        </script>

    {% endif %}



    <link rel="stylesheet" href="{% static 'css/styles.css' %}">

    <link rel="stylesheet" href="{% static 'css/styles(boris).css' %}" >

    <script src='{% static "js/find_route.js" %}'></script>
    <script src="{% static "js/filters_functions_find_route.js" %}"></script>
    <script src="{% static "js/dynamic_loading_routes.js" %}"></script>
    <script src="{% static "js/user_profile.js" %}"></script>





    {% block meta %}
    {% endblock %}
</head>
<body>
<div class="wrapper">

    {% include 'blocks/b_header.html' %}


    {% block content %}
    {% endblock %}

    {% include 'blocks/b_footer.html' %}

</div>
</body>
</html>