<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* base.html.twig */
class __TwigTemplate_342018957cfcca7f023e28788a7eff663c0824a0c4f505cb11cfab5985b304ec extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'html_lang' => [$this, 'block_html_lang'],
'metaTags' => [$this, 'block_metaTags'],
'stylesheets' => [$this, 'block_stylesheets'],
'body_tag' => [$this, 'block_body_tag'],
'flash' => [$this, 'block_flash'],
'navbar' => [$this, 'block_navbar'],
'body' => [$this, 'block_body'],
'footer' => [$this, 'block_footer'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
// line 1
$context["page"] = $this->extensions['App\Service\AppService']->getPage(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1, $this->source); })()), "request", [], "any", false, false, false, 1), "attributes", [], "any", false, false, false, 1), "get", [0 => "_controller"], "method", false, false, false, 1));
// line 2
echo "<!DOCTYPE html>
<html lang=\"";
// line 3
$this->displayBlock('html_lang', $context, $blocks);
echo "\">
<head>
<!-- Google Tag Manager -->
<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-TVSNTXH');
</script>
<!-- End Google Tag Manager -->
<meta charset=\"UTF-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0,minimum-scale=1\">
<link rel=\"icon\"
href=\"";
// line 26
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/favicon.png"), "html", null, true);
echo "\">
";
// line 27
$this->displayBlock('metaTags', $context, $blocks);
// line 33
echo " <meta name=\"theme-color\" content=\"#95D3EC\">
";
// line 34
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
echo "
";
// line 35
$this->displayBlock('stylesheets', $context, $blocks);
// line 37
echo " <link rel=\"stylesheet\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/libs/openlayers/ol.css"), "html", null, true);
echo "\">
<script type=\"text/javascript\" src=\"";
// line 38
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/libs/openlayers/ol.js"), "html", null, true);
echo "\"></script>
<link rel=\"stylesheet\" href=\"";
// line 39
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/libs/aos/aos.css"), "html", null, true);
echo "\">
";
// line 41
echo " ";
// line 42
echo " ";
// line 43
echo " ";
// line 44
echo "
";
// line 46
echo " ";
// line 47
echo " ";
// line 48
echo "
";
// line 50
echo "
";
// line 52
echo " ";
// line 53
echo " </head>
<body data-navbar-search-url=\"";
// line 54
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_navbar_search");
echo "\" ";
$this->displayBlock('body_tag', $context, $blocks);
echo ">
<!-- Google Tag Manager (noscript) -->
<noscript>
<iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-TVSNTXH\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe>
</noscript>
<!-- End Google Tag Manager (noscript) -->
<div class=\"wrapper\">
<div class=\"background-burger position-fixed t-0 b-0 z-0 zi-9\"></div>
";
// line 65
$this->displayBlock('flash', $context, $blocks);
// line 93
echo " ";
$this->displayBlock('navbar', $context, $blocks);
// line 176
echo "
";
// line 177
$this->displayBlock('body', $context, $blocks);
// line 178
echo " ";
$this->displayBlock('footer', $context, $blocks);
// line 181
echo " <div class=\"position-fixed zi-9999 b-20 r-20 scrollToTopDiv wi-50 d-flex align-items-center justify-content-center bgc-9DC771 c-white br-8\">
<i class=\"fa fa-arrow-up pointer scrollToTop fw-600 fs-15 wi-50 d-flex align-items-center justify-content-center he-50\"></i>
</div>
</div>
";
// line 185
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
echo "
<script type=\"text/javascript\" src=\"";
// line 186
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/libs/aos/aos.js"), "html", null, true);
echo "\"></script>
<script>
AOS.init({
once: true,
});
</script>
<script type=\"text/javascript\" src=\"";
// line 192
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/libs/cookieconsent/cookie-consent.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\">
document.addEventListener('DOMContentLoaded', function () {
cookieconsent.run({
\"notice_banner_type\": \"simple\",
\"consent_type\": \"implied\",
\"palette\": \"light\",
\"language\": \"fr\",
\"website_name\": \"";
// line 200
echo twig_escape_filter($this->env, (isset($context["siteTitle"]) || array_key_exists("siteTitle", $context) ? $context["siteTitle"] : (function () { throw new RuntimeError('Variable "siteTitle" does not exist.', 200, $this->source); })()), "html", null, true);
echo "\",
\"change_preferences_selector\": \"#changePreferences\"
});
});
</script>
<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
";
// line 206
$this->displayBlock('javascripts', $context, $blocks);
// line 208
echo "</body>
</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_html_lang($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "html_lang"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "html_lang"));
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 3, $this->source); })()), "request", [], "any", false, false, false, 3), "locale", [], "any", false, false, false, 3), "html", null, true);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 27
public function block_metaTags($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaTags"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaTags"));
// line 28
echo " <meta name=\"description\" content=\"";
echo twig_escape_filter($this->env, (((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 28, $this->source); })())) ? (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 28, $this->source); })()), "metaDescription", [], "any", false, false, false, 28)) : ((isset($context["siteTitle"]) || array_key_exists("siteTitle", $context) ? $context["siteTitle"] : (function () { throw new RuntimeError('Variable "siteTitle" does not exist.', 28, $this->source); })()))), "html", null, true);
echo "\">
<title>";
// line 29
echo twig_escape_filter($this->env, (((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 29, $this->source); })())) ? (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 29, $this->source); })()), "metaTitle", [], "any", false, false, false, 29)) : ((isset($context["siteTitle"]) || array_key_exists("siteTitle", $context) ? $context["siteTitle"] : (function () { throw new RuntimeError('Variable "siteTitle" does not exist.', 29, $this->source); })()))), "html", null, true);
echo "</title>
<meta property=\"og:title\" content=\"";
// line 30
echo twig_escape_filter($this->env, (((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 30, $this->source); })())) ? (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 30, $this->source); })()), "metaTitle", [], "any", false, false, false, 30)) : ((isset($context["siteTitle"]) || array_key_exists("siteTitle", $context) ? $context["siteTitle"] : (function () { throw new RuntimeError('Variable "siteTitle" does not exist.', 30, $this->source); })()))), "html", null, true);
echo "\">
<meta property=\"og:description\" content=\"";
// line 31
echo twig_escape_filter($this->env, (((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 31, $this->source); })())) ? (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 31, $this->source); })()), "metaDescription", [], "any", false, false, false, 31)) : ((isset($context["siteTitle"]) || array_key_exists("siteTitle", $context) ? $context["siteTitle"] : (function () { throw new RuntimeError('Variable "siteTitle" does not exist.', 31, $this->source); })()))), "html", null, true);
echo "\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 35
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 36
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 54
public function block_body_tag($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_tag"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_tag"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 65
public function block_flash($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "flash"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "flash"));
// line 66
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 66, $this->source); })()), "flashes", [], "any", false, false, false, 66));
foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
// line 67
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["messages"]);
foreach ($context['_seq'] as $context["key"] => $context["message"]) {
// line 68
echo " <div class=\"modal fade mat-200\" id=\"flashMessageModal\" tabindex=\"-1\" role=\"dialog\"
aria-labelledby=\"flashMessageModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-body\">
<div class=\"text-right\">
<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
<span aria-hidden=\"true\">×</span>
</button>
</div>
<div>
";
// line 79
if ((0 === twig_compare($context["label"], "success"))) {
// line 80
echo " <i class=\"fa fa-check text-success\"></i>
";
} else {
// line 82
echo " <i class=\"fa fa-warning text-danger\"></i>
";
}
// line 84
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["message"]), "html", null, true);
echo "
</div>
</div>
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 91
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['label'], $context['messages'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 92
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 93
public function block_navbar($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar"));
// line 94
echo " <header>
<div class=\"fixed-top zi-9999 he-47 bgc-95D3EC c-black pay-8 d-flex align-items-center\">
<div class=\"container container-top\">
<div class=\"d-flex align-items-center justify-content-between fs-14 fw-300\">
<h1 class=\" c-white fs-12 fw-500 col may-0\">
";
// line 99
$context["h1"] = ((array_key_exists("h1", $context)) ? (_twig_default_filter((isset($context["h1"]) || array_key_exists("h1", $context) ? $context["h1"] : (function () { throw new RuntimeError('Variable "h1" does not exist.', 99, $this->source); })()), null)) : (null));
// line 100
echo " ";
echo twig_escape_filter($this->env, (($context["h1"]) ?? ((((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 100, $this->source); })())) ? (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 100, $this->source); })()), "title", [], "any", false, false, false, 100)) : ((isset($context["siteTitle"]) || array_key_exists("siteTitle", $context) ? $context["siteTitle"] : (function () { throw new RuntimeError('Variable "siteTitle" does not exist.', 100, $this->source); })()))))), "html", null, true);
echo "
</h1>
<div class=\"col-auto text-right d-flex\">
<div class=\"d-none d-lg-flex align-items-center languages\">
";
// line 104
if ((1 === twig_compare(twig_length_filter($this->env, (isset($context["managedLocales"]) || array_key_exists("managedLocales", $context) ? $context["managedLocales"] : (function () { throw new RuntimeError('Variable "managedLocales" does not exist.', 104, $this->source); })())), 1))) {
// line 105
echo " <div class=\"nav-item max-7 d-flex align-items-center \">
<i class=\"fas fa-globe color-9DE3FF position-relative t-0 mar-6\"></i>
<div class=\" text-uppercase ls2-260 fs-13\">
<select class=\" \" onChange=\"window.location.href = this.value\">
";
// line 109
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["managedLocales"]) || array_key_exists("managedLocales", $context) ? $context["managedLocales"] : (function () { throw new RuntimeError('Variable "managedLocales" does not exist.', 109, $this->source); })()));
foreach ($context['_seq'] as $context["key"] => $context["managedLocale"]) {
// line 110
echo " <option class=\"text-uppercase\" ";
echo (((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 110, $this->source); })()), "request", [], "any", false, false, false, 110), "locale", [], "any", false, false, false, 110), $context["managedLocale"]))) ? ("selected") : (""));
echo "
value=\"";
// line 111
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_change_language", ["locale" => $context["managedLocale"], "redirectUrl" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 111, $this->source); })()), "request", [], "any", false, false, false, 111), "uri", [], "any", false, false, false, 111)]), "html", null, true);
echo "\">
";
// line 112
echo twig_escape_filter($this->env, (((0 === twig_compare($context["managedLocale"], "fr"))) ? ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("navbar.language.fr")) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("navbar.language.en"))), "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['managedLocale'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 115
echo " </select>
</div>
</div>
";
}
// line 119
echo " </div>
<div class=\" d-flex rs-top\">
<a target=\"_blank\"
href=\"https://www.linkedin.com/company/viewpoint-behavior-technology/\"
class=\"d-flex br-30 justify-content-center align-items-center c-white\">
<i class=\"fa-brands fa-linkedin-in\"></i>
</a>
<a target=\"_blank\" href=\"https://twitter.com/ViewpointBehav\"
class=\"d-flex max-18 justify-content-center align-items-center c-white\">
<i class=\"fa-brands fa-twitter\"></i>
</a>
<a target=\"_blank\"
href=\"https://www.youtube.com/@viewpointbehaviortechnolog5139\"
class=\"d-flex br-30 justify-content-center align-items-center c-white\">
<i class=\"fa-brands fa-youtube\"></i>
</a>
</div>
</div>
</div>
</div>
</div>
<div class=\"d-none d-lg-block\">
";
// line 141
$this->loadTemplate("commons/navbar.html.twig", "base.html.twig", 141)->display($context);
// line 142
echo " </div>
<div class=\"d-block d-lg-none\">
";
// line 144
$this->loadTemplate("commons/navbarMobile.html.twig", "base.html.twig", 144)->display($context);
// line 145
echo " </div>
</header>
";
// line 175
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 177
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 178
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 179
echo " ";
$this->loadTemplate("front/footer.html.twig", "base.html.twig", 179)->display($context);
// line 180
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 206
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 207
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 542 => 207, 532 => 206, 522 => 180, 519 => 179, 509 => 178, 491 => 177, 481 => 175, 477 => 145, 475 => 144, 471 => 142, 469 => 141, 445 => 119, 439 => 115, 430 => 112, 426 => 111, 421 => 110, 417 => 109, 411 => 105, 409 => 104, 401 => 100, 399 => 99, 392 => 94, 382 => 93, 372 => 92, 366 => 91, 352 => 84, 348 => 82, 344 => 80, 342 => 79, 329 => 68, 324 => 67, 319 => 66, 309 => 65, 291 => 54, 281 => 36, 271 => 35, 259 => 31, 255 => 30, 251 => 29, 246 => 28, 236 => 27, 217 => 3, 205 => 208, 203 => 206, 194 => 200, 183 => 192, 174 => 186, 170 => 185, 164 => 181, 161 => 178, 159 => 177, 156 => 176, 153 => 93, 151 => 65, 135 => 54, 132 => 53, 130 => 52, 127 => 50, 124 => 48, 122 => 47, 120 => 46, 117 => 44, 115 => 43, 113 => 42, 111 => 41, 107 => 39, 103 => 38, 98 => 37, 96 => 35, 92 => 34, 89 => 33, 87 => 27, 83 => 26, 57 => 3, 54 => 2, 52 => 1,);
}
public function getSourceContext()
{
return new Source("{% set page = getPage(app.request.attributes.get(\"_controller\")) %}
<!DOCTYPE html>
<html lang=\"{% block html_lang %}{{ app.request.locale }}{% endblock %}\">
<head>
<!-- Google Tag Manager -->
<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-TVSNTXH');
</script>
<!-- End Google Tag Manager -->
<meta charset=\"UTF-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0,minimum-scale=1\">
<link rel=\"icon\"
href=\"{{ asset('assets/img/favicon.png') }}\">
{% block metaTags %}
<meta name=\"description\" content=\"{{ page ? page.metaDescription : siteTitle }}\">
<title>{{ page ? page.metaTitle : siteTitle }}</title>
<meta property=\"og:title\" content=\"{{ page ? page.metaTitle : siteTitle }}\">
<meta property=\"og:description\" content=\"{{ page ? page.metaDescription : siteTitle }}\">
{% endblock %}
<meta name=\"theme-color\" content=\"#95D3EC\">
{{ encore_entry_link_tags('app') }}
{% block stylesheets %}
{% endblock %}
<link rel=\"stylesheet\" href=\"{{ asset('assets/libs/openlayers/ol.css') }}\">
<script type=\"text/javascript\" src=\"{{ asset('assets/libs/openlayers/ol.js') }}\"></script>
<link rel=\"stylesheet\" href=\"{{ asset('assets/libs/aos/aos.css') }}\">
{# <!-- Google tag (gtag.js) --> #}
{# <script async src=\"https://www.googletagmanager.com/gtag/js?id=UA-148514144-1\"></script> #}
{# <script> #}
{# window.dataLayer = window.dataLayer || []; #}
{# function gtag() { #}
{# dataLayer.push(arguments); #}
{# } #}
{# gtag('js', new Date()); #}
{# gtag('config', 'UA-148514144-1'); #}
{# </script> #}
</head>
<body data-navbar-search-url=\"{{ path('front_navbar_search') }}\" {% block body_tag %}{% endblock %}>
<!-- Google Tag Manager (noscript) -->
<noscript>
<iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-TVSNTXH\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe>
</noscript>
<!-- End Google Tag Manager (noscript) -->
<div class=\"wrapper\">
<div class=\"background-burger position-fixed t-0 b-0 z-0 zi-9\"></div>
{% block flash %}
{% for label, messages in app.flashes %}
{% for key, message in messages %}
<div class=\"modal fade mat-200\" id=\"flashMessageModal\" tabindex=\"-1\" role=\"dialog\"
aria-labelledby=\"flashMessageModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-body\">
<div class=\"text-right\">
<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
<span aria-hidden=\"true\">×</span>
</button>
</div>
<div>
{% if label == \"success\" %}
<i class=\"fa fa-check text-success\"></i>
{% else %}
<i class=\"fa fa-warning text-danger\"></i>
{% endif %}
{{ message|trans }}
</div>
</div>
</div>
</div>
</div>
{% endfor %}
{% endfor %}
{% endblock %}
{% block navbar %}
<header>
<div class=\"fixed-top zi-9999 he-47 bgc-95D3EC c-black pay-8 d-flex align-items-center\">
<div class=\"container container-top\">
<div class=\"d-flex align-items-center justify-content-between fs-14 fw-300\">
<h1 class=\" c-white fs-12 fw-500 col may-0\">
{% set h1 = h1|default(null) %}
{{ h1 ?? (page ? page.title : siteTitle) }}
</h1>
<div class=\"col-auto text-right d-flex\">
<div class=\"d-none d-lg-flex align-items-center languages\">
{% if managedLocales|length > 1 %}
<div class=\"nav-item max-7 d-flex align-items-center \">
<i class=\"fas fa-globe color-9DE3FF position-relative t-0 mar-6\"></i>
<div class=\" text-uppercase ls2-260 fs-13\">
<select class=\" \" onChange=\"window.location.href = this.value\">
{% for key, managedLocale in managedLocales %}
<option class=\"text-uppercase\" {{ app.request.locale == managedLocale ? 'selected' }}
value=\"{{ path('front_change_language', {'locale':managedLocale, \"redirectUrl\":app.request.uri}) }}\">
{{ (managedLocale == \"fr\") ? (\"navbar.language.fr\")|trans : (\"navbar.language.en\")|trans }}
</option>
{% endfor %}
</select>
</div>
</div>
{% endif %}
</div>
<div class=\" d-flex rs-top\">
<a target=\"_blank\"
href=\"https://www.linkedin.com/company/viewpoint-behavior-technology/\"
class=\"d-flex br-30 justify-content-center align-items-center c-white\">
<i class=\"fa-brands fa-linkedin-in\"></i>
</a>
<a target=\"_blank\" href=\"https://twitter.com/ViewpointBehav\"
class=\"d-flex max-18 justify-content-center align-items-center c-white\">
<i class=\"fa-brands fa-twitter\"></i>
</a>
<a target=\"_blank\"
href=\"https://www.youtube.com/@viewpointbehaviortechnolog5139\"
class=\"d-flex br-30 justify-content-center align-items-center c-white\">
<i class=\"fa-brands fa-youtube\"></i>
</a>
</div>
</div>
</div>
</div>
</div>
<div class=\"d-none d-lg-block\">
{% include \"commons/navbar.html.twig\" %}
</div>
<div class=\"d-block d-lg-none\">
{% include \"commons/navbarMobile.html.twig\" %}
</div>
</header>
{# {% for key, category in getCategories() %}
<div>
<a href=\"{{ path('front_products', {\"catSlug\":category.slug}) }}\">
{{ category.title }}
</a>
</div>
{% for key, subCategory in getSubCategories(category) %}
<div>
<a href=\"{{ path('front_products', {\"catSlug\":(subCategory.category ? subCategory.category.slug : 0),'subCatSlug':subCategory.slug}) }}\">
{{ subCategory.title }}
</a>
</div>
{% for key, product in getProducts(subCategory) %}
<div>
<a href=\"{{ getProductUrl(product, subCategory) }}\">
{{ product.title }}
</a>
</div>
{% endfor %}
{% endfor %}
{% endfor %}
{% for key, category in getCategories() %}
<div>
<a href=\"{{ path('front_publications', {'slug':category.slug}) }}\">
{{ category.title }}
</a>
</div>
{% endfor %} #}
{% endblock %}
{% block body %}{% endblock %}
{% block footer %}
{% include \"front/footer.html.twig\" %}
{% endblock %}
<div class=\"position-fixed zi-9999 b-20 r-20 scrollToTopDiv wi-50 d-flex align-items-center justify-content-center bgc-9DC771 c-white br-8\">
<i class=\"fa fa-arrow-up pointer scrollToTop fw-600 fs-15 wi-50 d-flex align-items-center justify-content-center he-50\"></i>
</div>
</div>
{{ encore_entry_script_tags('app') }}
<script type=\"text/javascript\" src=\"{{ asset('assets/libs/aos/aos.js') }}\"></script>
<script>
AOS.init({
once: true,
});
</script>
<script type=\"text/javascript\" src=\"{{ asset('assets/libs/cookieconsent/cookie-consent.js') }}\"></script>
<script type=\"text/javascript\">
document.addEventListener('DOMContentLoaded', function () {
cookieconsent.run({
\"notice_banner_type\": \"simple\",
\"consent_type\": \"implied\",
\"palette\": \"light\",
\"language\": \"fr\",
\"website_name\": \"{{ siteTitle }}\",
\"change_preferences_selector\": \"#changePreferences\"
});
});
</script>
<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
{% block javascripts %}
{% endblock %}
</body>
</html>
", "base.html.twig", "/home/hlcdisb/www/viewpoint_dev/templates/base.html.twig");
}
}