<?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_c04ea0871e3e3ae37273cce95cf3fb4ddb89fe977da6f77379c4ab208aff7d5c extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'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
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);
echo "\">
<head>
<meta charset=\"UTF-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
<link type=\"image/png\" rel=\"icon\"
href=\"";
// line 8
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/icone.png"), "html", null, true);
echo "\">
";
// line 15
echo " ";
// line 16
echo " <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/apple-touch-icon.png"), "html", null, true);
echo "\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"";
// line 17
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/favicon-32x32.png"), "html", null, true);
echo "\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"";
// line 18
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/favicon-16x16.png"), "html", null, true);
echo "\">
<link rel=\"manifest\" href=\"";
// line 19
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/site.webmanifest"), "html", null, true);
echo "\">
<link rel=\"mask-icon\" href=\"";
// line 20
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/safari-pinned-tab.svg"), "html", null, true);
echo "\" color=\"#15683A\">
<meta name=\"msapplication-TileColor\" content=\"#15683A\">
";
// line 22
$this->displayBlock('metaTags', $context, $blocks);
// line 33
echo " ";
$context["metaColor"] = $this->extensions['App\Service\AppService']->getMetaColor();
// line 34
echo " ";
if ((isset($context["metaColor"]) || array_key_exists("metaColor", $context) ? $context["metaColor"] : (function () { throw new RuntimeError('Variable "metaColor" does not exist.', 34, $this->source); })())) {
// line 35
echo " <meta name=\"theme-color\" content=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Service\AppService']->getMetaColor(), "html", null, true);
echo "\">
";
}
// line 37
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
echo "
";
// line 38
$this->displayBlock('stylesheets', $context, $blocks);
// line 40
echo " ";
$context["googleAnalytic"] = $this->extensions['App\Service\AppService']->getGoogleAnalytic();
// line 41
echo " ";
if ((isset($context["googleAnalytic"]) || array_key_exists("googleAnalytic", $context) ? $context["googleAnalytic"] : (function () { throw new RuntimeError('Variable "googleAnalytic" does not exist.', 41, $this->source); })())) {
// line 42
echo " <!-- Google tag (gtag.js) -->
<script async src=\"https://www.googletagmanager.com/gtag/js?id=";
// line 43
echo twig_escape_filter($this->env, (isset($context["googleAnalytic"]) || array_key_exists("googleAnalytic", $context) ? $context["googleAnalytic"] : (function () { throw new RuntimeError('Variable "googleAnalytic" does not exist.', 43, $this->source); })()), "html", null, true);
echo "\"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', '";
// line 54
echo twig_escape_filter($this->env, (isset($context["googleAnalytic"]) || array_key_exists("googleAnalytic", $context) ? $context["googleAnalytic"] : (function () { throw new RuntimeError('Variable "googleAnalytic" does not exist.', 54, $this->source); })()), "html", null, true);
echo "');
</script>
";
}
// line 57
echo " ";
$context["googleSearchConsole"] = $this->extensions['App\Service\AppService']->getGoogleSearchConsole();
// line 58
echo " ";
if ((isset($context["googleSearchConsole"]) || array_key_exists("googleSearchConsole", $context) ? $context["googleSearchConsole"] : (function () { throw new RuntimeError('Variable "googleSearchConsole" does not exist.', 58, $this->source); })())) {
// line 59
echo " <meta name=\"google-site-verification\" content=\"";
echo twig_escape_filter($this->env, (isset($context["googleSearchConsole"]) || array_key_exists("googleSearchConsole", $context) ? $context["googleSearchConsole"] : (function () { throw new RuntimeError('Variable "googleSearchConsole" does not exist.', 59, $this->source); })()), "html", null, true);
echo "\"/>
";
}
// line 61
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 62
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 63
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/libs/aos/aos.css"), "html", null, true);
echo "\">
</head>
<body data-navbar-search-url=\"";
// line 65
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_navbar_search");
echo "\" ";
$this->displayBlock('body_tag', $context, $blocks);
echo ">
<div class=\"wrapper\">
";
// line 67
$this->displayBlock('flash', $context, $blocks);
// line 95
echo " ";
$this->displayBlock('navbar', $context, $blocks);
// line 113
echo " ";
$this->displayBlock('body', $context, $blocks);
// line 114
echo " ";
$this->displayBlock('footer', $context, $blocks);
// line 117
echo " <div class=\"position-fixed b-20 r-20 pointer scrollToTopDiv scrollToTop bgc-white pa-12\">
<i class=\"fa-light fa-arrow-up-to-line fs-25 c-15683A\"></i>
</div>
</div>
";
// line 121
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
echo "
<script type=\"text/javascript\" src=\"";
// line 122
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 128
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 136
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.', 136, $this->source); })()), "html", null, true);
echo "\",
\"change_preferences_selector\": \"#changePreferences\"
});
});
</script>
<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
";
// line 142
$this->displayBlock('javascripts', $context, $blocks);
// line 144
echo "</body>
</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 22
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 23
echo " <meta name=\"description\" content=\"";
(((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 23, $this->source); })())) ? (print (twig_escape_filter($this->env, 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.', 23, $this->source); })()), "metaDescription", [], "any", false, false, false, 23), "html", null, true))) : (print ("Concepteur et fabricant de machines pour abattoir.")));
echo "\">
<title>";
// line 24
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.', 24, $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.', 24, $this->source); })()), "metaTitle", [], "any", false, false, false, 24)) : ((isset($context["siteTitle"]) || array_key_exists("siteTitle", $context) ? $context["siteTitle"] : (function () { throw new RuntimeError('Variable "siteTitle" does not exist.', 24, $this->source); })()))), "html", null, true);
echo "</title>
<meta property=\"og:type\" content=\"website\">
<meta property=\"og:site_name\" content=\"FACOMIA\">
<meta property=\"og:url\" content=\"";
// line 27
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.', 27, $this->source); })()), "request", [], "any", false, false, false, 27), "uri", [], "any", false, false, false, 27), "html", null, true);
echo "\">
<meta property=\"og:image\" content=\"";
// line 28
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/logo-ogg.jpg"), "html", null, true);
echo "\">
<meta property=\"og:title\" content=\"";
// line 29
(((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 29, $this->source); })())) ? (print (twig_escape_filter($this->env, 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), "html", null, true))) : (print ("FACOMIA - Le pionnier des constructeurs français de machines pour abattoir")));
echo "\">
<meta property=\"og:description\" content=\"";
// line 30
(((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 30, $this->source); })())) ? (print (twig_escape_filter($this->env, 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); })()), "metaDescription", [], "any", false, false, false, 30), "html", null, true))) : (print ("Concepteur et fabricant de machines pour abattoir.")));
echo "\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 38
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 39
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 65
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 67
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 68
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.', 68, $this->source); })()), "flashes", [], "any", false, false, false, 68));
foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
// line 69
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["messages"]);
foreach ($context['_seq'] as $context["key"] => $context["message"]) {
// line 70
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 81
if ((0 === twig_compare($context["label"], "success"))) {
// line 82
echo " <i class=\"fa fa-check text-success\"></i>
";
} else {
// line 84
echo " <i class=\"fa fa-warning text-danger\"></i>
";
}
// line 86
echo " ";
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["message"]);
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 93
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 94
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 95
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 96
echo " ";
// line 105
echo " <div class=\"d-none d-lg-block\">
";
// line 106
$this->loadTemplate("commons/navbar.html.twig", "base.html.twig", 106)->display($context);
// line 107
echo " </div>
<div class=\"d-block d-lg-none\">
";
// line 109
$this->loadTemplate("commons/navbarMobile.html.twig", "base.html.twig", 109)->display($context);
// line 110
echo " </div>
";
// line 112
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 113
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 114
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 115
echo " ";
$this->loadTemplate("front/footer.html.twig", "base.html.twig", 115)->display($context);
// line 116
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 142
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 143
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 ( 483 => 143, 473 => 142, 463 => 116, 460 => 115, 450 => 114, 432 => 113, 422 => 112, 419 => 110, 417 => 109, 413 => 107, 411 => 106, 408 => 105, 406 => 96, 396 => 95, 386 => 94, 380 => 93, 366 => 86, 362 => 84, 358 => 82, 356 => 81, 343 => 70, 338 => 69, 333 => 68, 323 => 67, 305 => 65, 295 => 39, 285 => 38, 272 => 30, 268 => 29, 264 => 28, 260 => 27, 254 => 24, 249 => 23, 239 => 22, 227 => 144, 225 => 142, 216 => 136, 205 => 128, 196 => 122, 192 => 121, 186 => 117, 183 => 114, 180 => 113, 177 => 95, 175 => 67, 168 => 65, 163 => 63, 159 => 62, 154 => 61, 148 => 59, 145 => 58, 142 => 57, 136 => 54, 122 => 43, 119 => 42, 116 => 41, 113 => 40, 111 => 38, 106 => 37, 100 => 35, 97 => 34, 94 => 33, 92 => 22, 87 => 20, 83 => 19, 79 => 18, 75 => 17, 70 => 16, 68 => 15, 64 => 8, 56 => 3, 53 => 2, 51 => 1,);
}
public function getSourceContext()
{
return new Source("{% set page = getPage(app.request.attributes.get(\"_controller\")) %}
<!DOCTYPE html>
<html lang=\"{{ app.request.locale }}\">
<head>
<meta charset=\"UTF-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
<link type=\"image/png\" rel=\"icon\"
href=\"{{ asset('assets/img/icone.png') }}\">
{# <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/apple-touch-icon.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicon-32x32.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicon-16x16.png\">
<link rel=\"manifest\" href=\"/site.webmanifest\">
<link rel=\"mask-icon\" href=\"/safari-pinned-tab.svg\" color=\"#15683A\">
<meta name=\"msapplication-TileColor\" content=\"#15683A\">#}
{# <a href=\"{{path('name')}}\"></a>#}
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"{{ asset('assets/img/apple-touch-icon.png') }}\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"{{ asset('assets/img/favicon-32x32.png') }}\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"{{ asset('assets/img/favicon-16x16.png') }}\">
<link rel=\"manifest\" href=\"{{ asset('assets/img/site.webmanifest') }}\">
<link rel=\"mask-icon\" href=\"{{ asset('assets/img/safari-pinned-tab.svg') }}\" color=\"#15683A\">
<meta name=\"msapplication-TileColor\" content=\"#15683A\">
{% block metaTags %}
<meta name=\"description\" content=\"{{ page ? page.metaDescription : \"Concepteur et fabricant de machines pour abattoir.\" }}\">
<title>{{ page ? page.metaTitle : siteTitle }}</title>
<meta property=\"og:type\" content=\"website\">
<meta property=\"og:site_name\" content=\"FACOMIA\">
<meta property=\"og:url\" content=\"{{ app.request.uri }}\">
<meta property=\"og:image\" content=\"{{ asset('assets/img/logo-ogg.jpg') }}\">
<meta property=\"og:title\" content=\"{{ page ? page.metaTitle : \"FACOMIA - Le pionnier des constructeurs français de machines pour abattoir\" }}\">
<meta property=\"og:description\" content=\"{{ page ? page.metaDescription : \"Concepteur et fabricant de machines pour abattoir.\" }}\">
{% endblock %}
{% set metaColor = getMetaColor() %}
{% if metaColor %}
<meta name=\"theme-color\" content=\"{{ getMetaColor() }}\">
{% endif %}
{{ encore_entry_link_tags('app') }}
{% block stylesheets %}
{% endblock %}
{% set googleAnalytic = getGoogleAnalytic() %}
{% if googleAnalytic %}
<!-- Google tag (gtag.js) -->
<script async src=\"https://www.googletagmanager.com/gtag/js?id={{ googleAnalytic }}\"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', '{{ googleAnalytic }}');
</script>
{% endif %}
{% set googleSearchConsole = getGoogleSearchConsole() %}
{% if googleSearchConsole %}
<meta name=\"google-site-verification\" content=\"{{ googleSearchConsole }}\"/>
{% endif %}
<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') }}\">
</head>
<body data-navbar-search-url=\"{{ path('front_navbar_search') }}\" {% block body_tag %}{% endblock %}>
<div class=\"wrapper\">
{% 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|raw }}
</div>
</div>
</div>
</div>
</div>
{% endfor %}
{% endfor %}
{% endblock %}
{% block navbar %}
{# <div class=\"fixed-top zi-999 bgc-white c-black pay-10\">
<div class=\"container\">
<div class=\"row align-items-center fs-14 fw-300\">
<div class=\"font-italic col\">
{{ page ? page.title : siteTitle }}
</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>
{# #}
{% endblock %}
{% block body %}{% endblock %}
{% block footer %}
{% include \"front/footer.html.twig\" %}
{% endblock %}
<div class=\"position-fixed b-20 r-20 pointer scrollToTopDiv scrollToTop bgc-white pa-12\">
<i class=\"fa-light fa-arrow-up-to-line fs-25 c-15683A\"></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/facomia_dev/templates/base.html.twig");
}
}