{% set _bottomActionBlock = block('bottom_action') %}
<!DOCTYPE html>
<html lang="{% block lang %}fr{% endblock %}">
<head>
<meta charset="utf-8"/>
<title>{% block title %}Prestachef{% endblock %}</title>
<meta name="description" content="{% block description %}{% endblock %}"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
{# <meta http-equiv="Content-Security-Policy" content="default-src 'self'">#}
{# <meta http-equiv="Content-Security-Policy" content="script-src http://*">#}
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-barstyle" content="black-translucent">
<link rel="apple-touch-icon-precomposed" href="{{ asset('assets/front/images/appIcons/logo303.png') }}">
<link rel="apple-touch-icon-precomposed" sizes="120x120"
href="{{ asset('assets/front/images/appIcons/logo120.png') }}">
<meta name="apple-mobile-web-app-title" content="Prestachef">
<meta name="theme-color" content="#ffffff">
<meta name="msapplication-navbutton-color" content="#ffffff">
<meta name="apple-mobile-web-app-status-bar-style" content="#ffffff">
<!-- for Chrome on Android, multi-resolution icon of 196x196 -->
<meta name="mobile-web-app-capable" content="yes">
{% block favicon %}
<link rel="icon" type="image/png" href="{{ asset('assets/front/images/favicon.png') }}">
{% endblock %}
<link rel="manifest" href="{{ asset('/manifest.json') }}">
{% block stylesheets %}
{{ encore_entry_link_tags('frontstyles') }}
{% endblock %}
<script src="https://kit.fontawesome.com/dce6251235.js" crossorigin="anonymous"></script>
<!-- Analytics FTW -->
<script>
window.dataLayer = window.dataLayer || [];
</script>
<!-- Google Tag Manager -->
{% if not is_granted(ga_disabled_roles) %}
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer', '{{ gtm_tracking }}');</script>
{% endif %}
<!-- End Google Tag Manager -->
</head>
<body
{% if user.entity is not empty and not user.isImpersonated %}
apphelper__userid="{{ user.entity.id }}"
{% endif %}
class="{% block bodyExtraClass %}{% endblock %} {% if _bottomActionBlock is not empty %}withBottomAction{% endif %} {% if is_granted('ROLE_PREVIOUS_ADMIN') %}withImpersonate{% endif %}"
{% if app.user is defined %}
{% set crispInfos = user.getCurrentUserCrispInfos %}
{% if crispInfos is defined %}
{% if crispInfos.username is defined %}
data-username="{{ crispInfos.username }}"
{% endif %}
{% if crispInfos.useremail is defined %}
data-useremail="{{ crispInfos.useremail }}"
{% endif %}
{% if crispInfos.shopname is defined %}
data-shopname="{{ crispInfos.shopname }}"
{% endif %}
{% if crispInfos.shopid is defined %}
data-shopurl="{{ url('malys_admin_customer_show', {'id': crispInfos.shopid}) }}"
{% endif %}
{% endif %}
data-gae_crisp-trigger="click"
data-gae_crisp-category="{{ gae.refs.assistanceCategory }}"
data-gae_crisp-action="{{ gae.refs.closeSupportAction }}"
data-gae_crisp-label="{{ app.request.uri }}"
{% endif %}
>
{% include "front/svg.html" %}
<div class="fullScreenLoader fullScreenLoader--hidden align-items-center justify-content-center ">
<div class="spinner spinner-primary"></div>
</div>
{% block body %}{% endblock %}
{% if _bottomActionBlock is not empty %}
<div class="bottomActionShell {% block bottom_action_class %}{% endblock %}">
<div class="container">
{{ _bottomActionBlock|raw }}
</div>
</div>
{% endif %}
{% block javascripts %}
{% include "front/common/js.html.twig" %}
<script type="text/javascript" id="zsiqchat">var $zoho=$zoho || {};$zoho.salesiq = $zoho.salesiq || {widgetcode: "{{ zoho_sales_iq_widget_code }}", values:{},ready:function(){}};var d=document;s=d.createElement("script");s.type="text/javascript";s.id="zsiqscript";s.defer=true;s.src="https://salesiq.zoho.eu/widget";t=d.getElementsByTagName("script")[0];t.parentNode.insertBefore(s,t);</script>
<script type="text/javascript">
{% if cart.modifyingOrder %}
window.modifyingOrder = true;
window.supplierId = {{cart.entity.orderToModify.supplier.id}};
{% else %}
window.modifyingOrder = false;
{% endif %}
</script>
{% endblock %}
{% block extra_javascripts %}{% endblock %}
{% include "front/common/appModal.html.twig" %}
{% include "front/common/appConfirm.html.twig" %}
</body>
<!-- Google Tag Manager (noscript) -->
<noscript>
<iframe src="https://www.googletagmanager.com/ns.html?id={{ gtm_tracking }}"
height="0" width="0" style="display:none;visibility:hidden"></iframe>
</noscript>
<!-- End Google Tag Manager (noscript) -->
</html>