{% trans_default_domain 'Site' %}
<!DOCTYPE HTML>
<html lang="{{ app.request.locale }}">
<head>
{% if 2 == getCookieConsentVersion() %}
<link rel="stylesheet" href="https://cdn.consentmanager.mgr.consensu.org/delivery/cmp.min.css" />
<script type="text/javascript" data-cmp-ab="1" src="https://cdn.consentmanager.net/delivery/autoblocking/6e2d023889e6.js" data-cmp-host="b.delivery.consentmanager.net" data-cmp-cdn="cdn.consentmanager.net"></script>
{% endif %}
<script type="application/javascript">
{# Define the version of the cookie consent we use here 1 = old, 2 = new consentManager #}
const cc_v_td = {{ getCookieConsentVersion() }};
</script>
{% if cart is defined %}
{% set layerCart = cart %}
{% else %}
{% set layerCart = null %}
{% endif %}
{% if tracking is defined %}
{% set layerTracking = tracking %}
{% else %}
{% set layerTracking = null %}
{% endif %}
{{ getGTMLayerTag(layerTracking, layerCart, app.request.attributes.get('_route')) }}
{{ getGTMHeadTag(true) }}
<title>{% block title %}{{ 'site.head.title'|trans() }}{% endblock %}</title>
{{ getGTMEvents(app.request.attributes.get('_route')) }}
{% if 'www.brulafine.fr' == app.request.httpHost or 'brulafine.fr' == app.request.httpHost %}
<meta name="facebook-domain-verification" content="o1kd6ti8llazsusr05k31zkneknill" />
{% elseif 'www.brulafine.org' == app.request.httpHost or 'brulafine.org' == app.request.httpHost %}
<meta name="facebook-domain-verification" content="lyzgtozjtnnc2kd8rlviechgs23kem" />
{% else %}
{# {{ getFacebookMetaTag(app.request.attributes.get('_route')) }}#}
{% endif %}
{{ getCanonicalLinkTag(app.request.attributes.get('_route')) }}
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="msapplication-config" content="browserconfig.xml">
<meta name="theme-color" content="#D81C60">
{% if app.request.httpHost in ["www.brulafine.fr", "brulafine.fr", "brulafine.org", "www.brulafine.org"] %}
<meta name="robots" content="noindex, nofollow">
{% elseif app.request.httpHost in ['www.brulafine.com', 'brulafine.com', 'www.brulafine.it', 'brulafine.it'] or app.environment in ['dev', 'test'] %}
<link rel="alternate" href="{{ getLocaleRoute(app.request, 'fr') }}" hreflang="fr-fr" />
<link rel="alternate" href="{{ getLocaleRoute(app.request, 'it') }}" hreflang="it-it" />
<link rel="alternate" href="{{ getLocaleRoute(app.request, 'fr') }}" hreflang="x-default" />
{% endif %}
{% block meta_description %}
{% endblock %}
{% block page_specific_meta %}{% endblock %}
<meta name="google-site-verification" content="F-4-FJljideWvHsrBxLDOxEFV8yjPWHouNBa2KXmTME"/>
<link rel="apple-touch-icon" sizes="180x180" href="{{ asset('images/main/apple-touch-icon.png') }}">
<link rel="icon" type="image/png" href="{{ asset('images/main/favicon-32x32.png') }}" sizes="32x32">
<link rel="icon" type="image/png" href="{{ asset('images/main/favicon-16x16.png') }}" sizes="16x16">
<link rel="mask-icon" href="{{ asset('images/main/safari-pinned-tab.svg') }}" color="#404040">
<link rel="shortcut icon" href="{{ asset('css/images/favicon.ico') }}">
{#<link rel="stylesheet" href="{{ asset('assets/site/javascripts/intl-tel-input/build/css/intlTelInput.css') }}">#}
{% block stylesheets %}
<link rel="stylesheet" href="{{ asset('css/main/styles.css') }}" media="all"/>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,400;0,700;0,800;1,400;1,700&family=Yellowtail&display=swap" rel="stylesheet">
{% endblock stylesheets %}
{% if app.request.locale == 'fr' %}
<script type="text/javascript" src="{{ asset('js/general/p69303uni.js') }}"></script>
{% if tracking is defined %}
{% if justPurchasedUpsell is not defined %}
{{ getKelkooAllPagesTag(tracking) }}
{% elseif justPurchasedUpsell is defined and justPurchasedUpsell == false %}
{{ getKelkooAllPagesTag(tracking) }}
{% endif %}
{% endif %}
{% endif %}
{% if tracking is defined %}
{{ showBingTag(app.request.locale, tracking) }}
{% endif %}
{{ getGoogleAnalyticsTag(app.request.locale) }}
{% if tracking is defined %}
{% if cart is defined %}
{% if cartTotal is defined %}
{{ getGTagEventSnippet(app.request.locale, app.request.attributes.get('_route'), tracking, cart, cartTotal) }}
{% else %}
{{ getGTagEventSnippet(app.request.locale, app.request.attributes.get('_route'), tracking, cart) }}
{% endif %}
{% else %}
{{ getGTagEventSnippet(app.request.locale, app.request.attributes.get('_route'), tracking) }}
{% endif %}
{% else %}
{% if cart is defined %}
{% if cartTotal is defined %}
{{ getGTagEventSnippet(app.request.locale, app.request.attributes.get('_route'), cart, cartTotal) }}
{% else %}
{{ getGTagEventSnippet(app.request.locale, app.request.attributes.get('_route'), cart) }}
{% endif %}
{% else %}
{{ getGTagEventSnippet(app.request.locale, app.request.attributes.get('_route')) }}
{% endif %}
{% endif %}
{% if justPurchasedUpsell is not defined %}
{{ getTaboolaPixel() }}
{% if tracking is defined %}
{% if cart is defined %}
{{ getTaboolaPixelEvent(app.request.attributes.get('_route'), tracking, cart) }}
{% else %}
{{ getTaboolaPixelEvent(app.request.attributes.get('_route'), tracking) }}
{% endif %}
{% endif %}
{% elseif justPurchasedUpsell is defined and justPurchasedUpsell == false %}
{{ getTaboolaPixel() }}
{% if tracking is defined %}
{% if cart is defined %}
{{ getTaboolaPixelEvent(app.request.attributes.get('_route'), tracking, cart) }}
{% else %}
{{ getTaboolaPixelEvent(app.request.attributes.get('_route'), tracking) }}
{% endif %}
{% endif %}
{% endif %}
{% if cart is defined %}
{{ getGtagPurchaseEventTag(app.request.attributes.get('_route'), cart) }}
{% if justPurchasedUpsell is not defined %}
{{ getOutbrainTag(app.request.attributes.get('_route'), cart) }}
{# {{ getTaboolaPixelNew(app.request.attributes.get('_route'), cart) }}#}
{% elseif justPurchasedUpsell is defined and justPurchasedUpsell == false %}
{{ getOutbrainTag(app.request.attributes.get('_route'), cart) }}
{# {{ getTaboolaPixelNew(app.request.attributes.get('_route'), cart) }}#}
{% endif %}
{% else %}
{{ getGtagPurchaseEventTag(app.request.attributes.get('_route')) }}
{% if justPurchasedUpsell is not defined %}
{{ getOutbrainTag(app.request.attributes.get('_route')) }}
{% elseif justPurchasedUpsell is defined and justPurchasedUpsell == false %}
{{ getOutbrainTag(app.request.attributes.get('_route')) }}
{% endif %}
{% endif %}
{# {{ getMicrosoftClarityTag(app.request.locale) }}#}
{% if tracking is defined %}
{{ getNudgifyScript(tracking) }}
{% endif %}
</head>
{% block body %}<body>{% endblock %}
{% if tracking is defined %}
{% if cart is defined %}
{{ FbkJavascriptSDK(app.request.attributes.get('_route'), app.request.locale, tracking, cart) }}
{% else %}
{{ FbkJavascriptSDK(app.request.attributes.get('_route'), app.request.locale, tracking) }}
{% endif %}
{% else %}
{{ FbkJavascriptSDK(app.request.attributes.get('_route'), app.request.locale) }}
{% endif %}
{% block fb_event_tag %}
{{ getFbkEventTag(app.request.locale) }} {# We want only one tag per page. If no event provided, pageview will be displayed. #}
{% endblock %}
{% if tracking is defined %}
{% if cart is defined %}
{{ loadMetaPixelCode(cart, tracking) }}
{% else %}
{{ loadMetaPixelCode(null, tracking) }}
{% endif %}
{% if app.user is defined %}
{{ InspectletTag(tracking, app.request.attributes.get('_route'), app.user) }}
{% else %}
{{ InspectletTag(tracking, app.request.attributes.get('_route')) }}
{% endif %}
{% endif %}
{% if justPurchasedUpsell is not defined %}
{{ getAdRollTag() }}
{{ getIvidTag(app.request.attributes.get('_route')) }}
{% elseif justPurchasedUpsell is defined and justPurchasedUpsell == false %}
{{ getAdRollTag() }}
{{ getIvidTag(app.request.attributes.get('_route')) }}
{% endif %}
{% if cart is defined %}
{% if justPurchasedUpsell is not defined %}
{{ getSquaDataTag(app.request.attributes.get('_route'), cart) }}
{{ getAffilaeCommonTag(app.request.attributes.get('_route'), cart) }}
{{ getAffilaeCustomersTag(app.request.attributes.get('_route'), cart) }}
{{ getAffilaeCustomersTag(app.request.attributes.get('_route'), cart, 'new', 'b') }}
{{ getAffilaeCustomersTag(app.request.attributes.get('_route'), cart, 'old', 'a') }}
{{ getAffilaeCustomersTag(app.request.attributes.get('_route'), cart, 'old', 'b') }}
{% elseif justPurchasedUpsell is defined and justPurchasedUpsell == false %}
{{ getSquaDataTag(app.request.attributes.get('_route'), cart) }}
{{ getAffilaeCommonTag(app.request.attributes.get('_route'), cart) }}
{{ getAffilaeCustomersTag(app.request.attributes.get('_route'), cart) }}
{{ getAffilaeCustomersTag(app.request.attributes.get('_route'), cart, 'new', 'b') }}
{{ getAffilaeCustomersTag(app.request.attributes.get('_route'), cart, 'old', 'a') }}
{{ getAffilaeCustomersTag(app.request.attributes.get('_route'), cart, 'old', 'b') }}
{% endif %}
{% if displayConversionTag is defined and displayConversionTag %}
{{ getKwankoTag(app.request.attributes.get('_route'), cart) }}
{{ getAffilaeTag(app.request.attributes.get('_route'), cart) }}
{% endif %}
{# {{ getPerformcbTag(app.request.attributes.get('_route'), cart) }}#}
{% if tracking is defined %}
{% if justPurchasedUpsell is not defined %}
{{ getKelkooTag(app.request.attributes.get('_route'), tracking, cart) }}
{% elseif justPurchasedUpsell is defined and justPurchasedUpsell == false %}
{{ getKelkooTag(app.request.attributes.get('_route'), tracking, cart) }}
{% endif %}
{% endif %}
{% if justPurchasedUpsell is not defined %}
{{ getOutbrainOverTag(app.request.attributes.get('_route'), cart) }}
{% elseif justPurchasedUpsell is defined and justPurchasedUpsell == false %}
{{ getOutbrainOverTag(app.request.attributes.get('_route'), cart) }}
{% endif %}
{{ getCriteoTag(app.request.attributes.get('_route'), cart) }}
{% else %}
{% if displayConversionTag is defined and displayConversionTag %}
{{ getAffilaeTag(app.request.attributes.get('_route')) }}
{% endif %}
{% if justPurchasedUpsell is not defined %}
{{ getSquaDataTag(app.request.attributes.get('_route')) }}
{{ getAffilaeCommonTag(app.request.attributes.get('_route')) }}
{{ getAffilaeCustomersTag(app.request.attributes.get('_route')) }}
{{ getAffilaeCustomersTag(app.request.attributes.get('_route'), null, 'new', 'b') }}
{{ getAffilaeCustomersTag(app.request.attributes.get('_route'), null, 'old', 'a') }}
{{ getAffilaeCustomersTag(app.request.attributes.get('_route'), null, 'old', 'b') }}
{{ getOutbrainOverTag(app.request.attributes.get('_route')) }}
{% elseif justPurchasedUpsell is defined and justPurchasedUpsell == false %}
{{ getSquaDataTag(app.request.attributes.get('_route')) }}
{{ getAffilaeCommonTag(app.request.attributes.get('_route')) }}
{{ getAffilaeCustomersTag(app.request.attributes.get('_route')) }}
{{ getAffilaeCustomersTag(app.request.attributes.get('_route'), null, 'new', 'b') }}
{{ getAffilaeCustomersTag(app.request.attributes.get('_route'), null, 'old', 'a') }}
{{ getAffilaeCustomersTag(app.request.attributes.get('_route'), null, 'old', 'b') }}
{{ getOutbrainOverTag(app.request.attributes.get('_route')) }}
{% endif %}
{{ getCriteoTag(app.request.attributes.get('_route')) }}
{% endif %}
{{ firePageViewEvent() }}
{% set urlAllowedForMagazine = ['brulafine.com', 'www.brulafine.com'] %}
{% block page_topbar %}{% endblock %}
{% block page_navigation %}{% endblock %}
{% block page_content %}{% endblock %}
{% block page_footer %}{% endblock %}
{% block page_modals %}{% endblock %}
{% block javascripts %}
<script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
<script src="{{ asset('js/main/vendor.min.js') }}"></script>
<script src="{{ asset('js/main/scripts.min.js') }}"></script>
<script type="application/javascript">
// define some gobal js variables.
// TODO
{#var globalIsMobile = {{ is_mobile() | default(0) }};#}
{#var globalIsTablet = {{ is_tablet() | default(0) }};#}
{% set pbcValue = 1 %}
{% if (getConfigParam(constant('App\\Entity\\Main\\SiteConfig::COACHING_MODE_NAME'))).value == constant('App\\Entity\\Main\\SiteConfig::COACHING_MODE_OPTION_CLEAN') %}
{% set pbcValue = 0 %}
{% endif %}
var globalPBCValue = {{ pbcValue }};
{#var globalIsDesktop = {{ (not is_mobile() and not is_tablet()) | default(0) }};#}
</script>
{% endblock %}
</body>
</html>