<html lang="{{ app.request.locale|split('_')[0] }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="icon" type="image/x-icon" href="{{ asset('build/img/favicon.ico') }}">
<!-- GOOGLE ANALYTICS -->
<!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-4YY0Y87SCV"></script><script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-4YY0Y87SCV'); </script>
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-1099043-1']);
_gaq.push(['_gat._anonymizeIp']);
_gaq.push(['_trackPageview']);
(function () {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
</script>
<!-- END GOOGLE ANALYTICS -->
{% cache "block-1-js" ttl(86400) %} {# 86400s = 1jour #}
{% endcache %}
{% set lang = 'fr' %}
{% if app.request.cookies.get('lang') %}
{% set lang = app.request.cookies.get('lang') %}
{% endif %}
{% if metaTag is defined and metaTag.getTitle %}
<title>{{ metaTag.getTitle }}</title>
{% else %}
{% block title %}
<title>FUSACQ {{ dates_provider.anneeEnCours }}</title>
{% endblock %}
{% endif %}
{% if metaTag is defined and metaTag.getDescription %}
<meta name="description" content="{{ metaTag.getDescription }}">
{% else %}
{% block description %}
{% endblock %}
{% endif %}
{# Attention : #}
{# 1 - Page canonique unique pour chaque variante linguistique #}
{# 2 - Autocanonisation : Chaque page linguistique devrait être "canonique" pour elle-même #}
{# 3 - Pas de page canonique vers une autre langue #}
{# 4 - Utiliser x-default correctement #}
{# 5 - La balise hreflang doit être seulement utilisée pour des pages qui ne renvoient pas à une autre page via l’attribut Canonical #}
{# https://www.ionos.fr/digitalguide/web-marketing/search-engine-marketing/hreflang-principes-et-erreurs-frequentes/ #}
{% if metaTag is defined and metaTag.getCanonical %}
<link rel="canonical" href="//{{ metaTag.getCanonical }}">
{% else %}
{% block canonical %}
{% endblock %}
{% endif %}
{% if metaTag is defined and metaTag.getAlternates %}
{% for alternate in metaTag.getAlternates %}
<link rel="alternate" hreflang="{{ alternate.lang }}" href="//{{ alternate.href }}">
{% endfor %}
{% else %}
{% block alternate %}
{% endblock %}
{% endif %}
{% if metaTag is defined and metaTag.getNext %}
<link rel="next" href="//{{ metaTag.getNext }}">
{% else %}
{% block next %}
{% endblock %}
{% endif %}
{% if metaTag is defined and metaTag.getPrev %}
<link rel="prev" href="//{{ metaTag.getPrev }}">
{% else %}
{% block prev %}
{% endblock %}
{% endif %}
{% if metaTag is defined and metaTag.getRobots %}
<meta name="robots" content="{{ metaTag.getRobots }}">
{% else %}
{% block robots %}
{% endblock %}
{% endif %}
{% if app.request is defined and app.request.hasPreviousSession %}
{% set dataSession = app.session.all %}
{% if app.session.all.codePays is defined %}
{% set codePays = app.session.all.codePays %}
{% set codePaysWithUnderScore = '_'~app.session.all.codePays~'_' %}
{% else %}
{% set codePays = "fr" %}
{% set codePaysWithUnderScore = '_fr_' %}
{% endif %}
{% else %}
{# Fallback si pas de session ouverte (ex: page d’erreur) #}
{% set codePays = 'fr' %}
{% set codePaysWithUnderScore = '_fr_' %}
{% endif %}
<script type="text/javascript">
if (window.$_boServerVars === undefined) {
window.$_boServerVars = {{ render_esi(controller('\App\\Ajax\\Controller\\BaseController::serverVariables',{"codePays": codePays})) }};
}
</script>
{# en mode production on cache les debug js #}
{% if app.request.server.get('APP_ENV') !="dev" %}
<script type="text/javascript">
console.log = function() {};
console.debug = function() {};
</script>
{% endif %}
{# en mode production on cache les debug js #}
{% set acceptPubCib = true %}
{% if app.request.cookies.get('acceptPubCib') == "non" %}
{% set acceptPubCib = false %}
{% endif %}
{% if acceptPubCib %}
<script async='async' src='https://www.googletagservices.com/tag/js/gpt.js'></script>
<script type='text/javascript'>
var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];
</script>
<script type='text/javascript'>
var gptAdSlots = [];
googletag.cmd.push(function() {
var bannerSize = googletag.sizeMapping().
addSize([1200, 0], [970, 90]).
addSize([740, 0], [728, 90]).
addSize([480, 0], [468, 60]).
addSize([0, 0], [320, 50]).
build();
var paveSize = googletag.sizeMapping().
addSize([1200, 0], [[300,100],[300, 250],[300,600]]).
addSize([740, 0], []).
addSize([480, 0], []).
addSize([0, 0], []).
build();
gptAdSlots[0] = googletag.defineSlot('/122043898/FUSACQ_mega_banner_general', [[320, 50], [728, 90], [970, 90], [468, 60]], 'div-gpt-ad-1515517010201-0').defineSizeMapping(bannerSize).addService(googletag.pubads());
gptAdSlots[1] = googletag.defineSlot('/122043898/FUSACQ_PAVE', [[300,100],[300, 250],[300,600]], 'div-gpt-ad-1515597594285-0').defineSizeMapping(paveSize).addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.pubads().setTargeting('PLS', ['RG']){% block googletag %}{% endblock %};
googletag.enableServices();
});
</script>
{% endif %}
{% set authFrom = app.request.query.get('authFrom') %}
{% set currentRoute = app.request.get('_route') %} {# pour linstant cette variable est non utilisé #}
{% if currentRoute =="index" %}
<link rel="stylesheet" href="{{ asset('build/css/lib/all_6_4_2.min.css') }}">
{% endif %}
{% block stylesheets %}
{% apply spaceless %}
<link rel="stylesheet" href="{{ asset('build/css/lib/bootstrap.min.css') }}">
<link rel="stylesheet" href="{{ asset('build/css/lib/jquery-ui-1.7.3.custom.css') }}">
<link rel="stylesheet" href="{{ asset('build/css/lib/animate.min.css') }}">
{# <link rel="stylesheet" href="https://www.fusacq.com/FUSACQ2020/css/custom_fusacq1.css">#}
<link rel="stylesheet" href="{{ asset('build/css/custom_fusacq.css') }}">
<link rel="stylesheet" href="{{ asset('build/css/onglets_nav.css') }}">
<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=Overpass:wght@400;500;600&display=swap" rel="stylesheet">
{#<link rel="stylesheet" href="{{ asset('build/css/lib/all_6_4_2.min.css') }}">#}
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"> -->
<script src="https://kit.fontawesome.com/ca7826b79a.js" crossorigin="anonymous"></script>
{% endapply %}
{% endblock %}
</head>
<body>
{% apply spaceless %}
{% block body %}
{% endblock %}
{% endapply %}
<!--FIN CONTAINER -->
<!-- FOOTER -->
{{ render_esi(controller(
'App\\Controller\\CoreController::footer',{ 'lang': lang,"codePays": codePaysWithUnderScore }
)) | spaceless }}
<!-- FIN FOOTER -->
{% block javascripts %}
<script src="{{ asset('build/js/lib/jquery-1.12.4.js') }}"></script>
<script src="{{ asset('build/js/lib/jquery-ui.js') }}"></script>
<script>
function testAnim(x) {
$('#animationSandbox').removeClass().addClass(x + ' animated').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function () {
$(this).removeClass();
});
}
$(document).ready(function () {
$('.js--triggerAnimation').click(function (e) {
e.preventDefault();
var anim = $('.js--animations').val();
testAnim(anim);
});
$('.js--animations').change(function () {
var anim = $(this).val();
testAnim(anim);
});
});
$(function () {
$("#slider-range").slider({
range: true,
min: 0,
max: 500,
values: [75, 300],
slide: function (event, ui) {
$("#amount").val("$" + ui.values[0] + " - $" + ui.values[1]);
}
});
$("#amount").val("$" + $("#slider-range").slider("values", 0) +
" - $" + $("#slider-range").slider("values", 1));
});
$(function () {
$("#li3").click(function () {
$(".nav-link").switchClass("nav-link", "nav-link2");
$(".nav-link2").switchClass("nav-link2", "nav-link");
});
});
</script>
{# <script src="{{ asset('build/js/lib/jquery-3.3.1.slim.min.js') }}"></script> #}
<script src="{{ asset('build/js/lib/jquery-3.3.1.min.js') }}"></script>
<script src="{{ asset('build/js/lib/popper.min.js') }}"></script>
<script src="{{ asset('build/js/lib/bootstrap.min.js') }}"></script>
<script src="{{ asset('build/js/lib/jquery-ui-1.8.22.slider.min.js') }}"></script>
<script>
$(document).ready(function () {
$("hidden").parent().remove();
});
</script>
<script>
$(document).ready(function () {
if (($("form#login").length == 1) && ($("div.modal div.alert-danger").length > 0)) {
$("a.link-compte").trigger("click");
}
if (($("form#login").length > 1) && ($("div.modal div.alert-danger").length > 0)) {
$("form#login:last").prepend($("div.modal div.alert-danger").clone());
$('html, body').animate({
scrollTop: $("form#login:last").offset().top
}, 2000);
}
$("button.btn-toggle").on("click", function () {
var classBtn = $(this).attr('class');
if (classBtn.includes("active")) {
$(this).siblings(" input[type='checkbox']").prop("checked", false);
} else {
$(this).siblings(" input[type='checkbox']").prop("checked", true);
}
});
/*$("#affichageCookie").on( "click", function() {
alert("here");
$('#CybotCookiebotDialog').removeAttr("style");
$('#CybotCookiebotDialog').css('display', 'flex');
$("#CybotCookiebotDialog").addClass("CybotCookiebotDialogActive");
});
$('#CookiebotWidget').css('display', 'none');*/
});
</script>
{% if authFrom %}
<script type="text/javascript" >
$("#Modalindex").modal("show");
</script>
{% endif %}
{% endblock %}
</body>
{% if app.request.host =='www.fusacq.com' %}
<script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-framework="TCFv2.2" data-cbid="679b781c-197a-42a0-be0e-18f29c98c691" data-blockingmode="auto" type="text/javascript" data-cookieconsent="marketing"></script>
{% endif %}
</html>