{% apply spaceless %}<!DOCTYPE html>
<html>
<head>
{% if cookie_confirmed() %}
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-CJX5CNMGZS"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-CJX5CNMGZS');
</script>
<!-- End Google Tag Manager -->
{% else %}
<script>
gaId = 'G-CJX5CNMGZS';
</script>
{% endif %}
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{% block title %}Welcome!{% endblock %} | {{ 'site_name'|trans({}, 'frontend') }}</title>
<link rel="apple-touch-icon" sizes="180x180" href="{{ asset('/favicon/apple-touch-icon.png') }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ asset('/favicon/favicon-32x32.png') }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ asset('/favicon/favicon-16x16.png') }}">
<link rel="manifest" href="{{ asset('/favicon/site.webmanifest') }}">
<link rel="mask-icon" href="{{ asset('/favicon/safari-pinned-tab.svg') }}" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<meta name="description" content="{{ 'site_description'|trans({}, 'frontend') }}" />
<meta name="robots" content="index, follow" />
{% block stylesheets %}
{{ encore_entry_link_tags('frontend') }}
{% endblock %}
</head>
<body class="nk-body bg-white npc-crypto {% block body_class %}{% endblock %}{{ preferredTheme.getPreferredTheme(app.request) }}">
{% if cookie_confirmed() %}
<!-- Google Tag Manager (noscript) -->
<noscript>
<iframe src="https://www.googletagmanager.com/ns.html?id=G-CJX5CNMGZS" height="0" width="0" style="display:none;visibility:hidden"></iframe>
</noscript>
<!-- End Google Tag Manager (noscript) -->
{% endif %}
{% block body %}
<div class="nk-app-root">
<div class="nk-main">
<div class="nk-wrap">
{% block header %}
{% include 'partials/header.html.twig' %}
{% endblock %}
<div class="nk-content {% block page_content_class %}{% endblock %}">
{% include 'partials/menu/menu_main_mobile_logged_in.html.twig' %}
<div class="container container-fluid">
{% block content %}
{%- block messages -%}
<div class="row mb-4">
<div class="col-12">
{% include 'partials/flash_messages.html.twig' with {app: app} only %}
</div>
</div>
{%- endblock -%}
{% endblock %}
</div>
</div>
</div>
</div>
{% block footer %}
{% include 'partials/footer.html.twig' %}
{% endblock %}
</div>
{% endblock %}
{% if is_granted('ROLE_USER') and app.request.attributes.get('_route') not in [
'deal_details',
'project_details',
'shop_video_details'
] %}
{% set purchaseCredits = get_crud_action('App\\Controller\\Settings\\PurchaseCreditsController', {'returnUrl': app.request.requestUri}) %}
{% include 'settings/purchase_credits.html.twig' with purchaseCredits.params | merge({'hasCredits': true}) %}
{% endif %}
{% include 'partials/popup.html.twig' %}
{% include 'partials/credits_status_popup.html.twig' %}
{% include 'partials/credits_membership_status_popup.html.twig' %}
{% block javascripts %}
{{ encore_entry_script_tags('frontend') }}
{% endblock %}
{% if app.environment not in ['dev', 'test'] %}
<script type="text/javascript" charset="UTF-8" src="//cdn.cookie-script.com/s/20ee5b3bf8d24cb300b9c6db4b6cddb3.js"></script>
{% endif %}
</body>
</html>{% endapply %}