<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* base.html.twig */
class __TwigTemplate_73fd4d589cf52416006d09f6e627edbe extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'meta' => [$this, 'block_meta'],
'stylesheets' => [$this, 'block_stylesheets'],
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
// line 1
yield "<!DOCTYPE html>
<html lang=\"fr\">
<head>
";
// line 4
$context["config"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 4, $this->source); })()), "getConfig", [], "any", false, false, false, 4);
// line 5
yield " <meta charset=\"UTF-8\" />
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />
<title>
";
// line 9
yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
// line 12
yield " </title>
";
// line 13
yield from $this->unwrap()->yieldBlock('meta', $context, $blocks);
// line 16
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 16, $this->source); })()), "analytics", [], "any", false, false, false, 16);
yield "
<link rel=\"icon\" href=\"";
// line 18
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 18, $this->source); })()), "icon", [], "any", false, false, false, 18), "html", null, true);
yield "\" />
";
// line 21
yield " ";
yield from $this->unwrap()->yieldBlock('stylesheets', $context, $blocks);
// line 24
yield " <link rel=\"stylesheet\" href=\"/css/setting.css\" />
<link rel=\"stylesheet\" href=\"";
// line 25
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dynamic_style");
yield "\" />
";
// line 26
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 26, $this->source); })()), "cssAdd", [], "any", false, false, false, 26))) {
// line 27
yield " <link rel=\"stylesheet\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 27, $this->source); })()), "cssAdd", [], "any", false, false, false, 27), "html", null, true);
yield "\" />
";
}
// line 29
yield " ";
// line 30
yield " </head>
<body class=\"app\">
<div style=\"background-color: rgba(99, 99, 99, 0.8);z-index:5000;\" id=\"modal-picture\" class=\"fixed flex-center hidden inset-0\">
<div class=\"abs m-l-1 pointer left-0 rounded bg-grey-4-op ft-white p-1 flex-center\" id=\"prev-box\" style=\"z-index: 6000;\">
<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">
<path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M15.75 19.5 8.25 12l7.5-7.5\" />
</svg>
</div>
<div class=\"abs m-r-1 pointer right-0 rounded bg-grey-4-op ft-white p-1 flex-center\" id=\"next-box\" style=\"z-index: 6000;\">
<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">
<path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"m8.25 4.5 7.5 7.5-7.5 7.5\" />
</svg>
</div>
<div class=\"flex-center rel\">
<img src=\"\" style=\"height: 95vh;width:auto;\" id=\"img-target\" alt=\"\" />
<div class=\"top-1 right-1 rounded abs p-05 pointer flex-center pointer r1-1 border bg-light\" data-toggle=\"hidden\" data-target=\"modal-picture\" style=\"z-index: 8000;\">
<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">
<path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M6 18 18 6M6 6l12 12\" />
</svg>
</div>
</div>
</div>
<header class=\"fixed top-0 left-0 w-100\" style=\"max-height: 0px;\" id=\"header\" style=\"z-index: 500;\">
<div id=\"dynamic-link\" class=\"hidden\">
";
// line 54
if (array_key_exists("dynamicLink", $context)) {
// line 55
yield " ";
// line 56
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["dynamicLink"]) || array_key_exists("dynamicLink", $context) ? $context["dynamicLink"] : (function () { throw new RuntimeError('Variable "dynamicLink" does not exist.', 56, $this->source); })()), "cart_road_enable", [], "any", false, false, false, 56)) {
// line 57
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["dynamicLink"]) || array_key_exists("dynamicLink", $context) ? $context["dynamicLink"] : (function () { throw new RuntimeError('Variable "dynamicLink" does not exist.', 57, $this->source); })()), "cart_url", [], "any", false, false, false, 57), "html", null, true);
yield "\">
";
// line 58
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["dynamicLink"]) || array_key_exists("dynamicLink", $context) ? $context["dynamicLink"] : (function () { throw new RuntimeError('Variable "dynamicLink" does not exist.', 58, $this->source); })()), "icon_cart", [], "any", false, false, false, 58))) {
// line 59
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["dynamicLink"]) || array_key_exists("dynamicLink", $context) ? $context["dynamicLink"] : (function () { throw new RuntimeError('Variable "dynamicLink" does not exist.', 59, $this->source); })()), "icon_cart", [], "any", false, false, false, 59);
yield "
";
}
// line 61
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["dynamicLink"]) || array_key_exists("dynamicLink", $context) ? $context["dynamicLink"] : (function () { throw new RuntimeError('Variable "dynamicLink" does not exist.', 61, $this->source); })()), "link_text_cart", [], "any", false, false, false, 61), "html", null, true);
yield "
</a>
";
}
// line 64
yield " ";
// line 65
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 65, $this->source); })()), "user", [], "any", false, false, false, 65)) {
// line 66
yield " ";
// line 67
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["dynamicLink"]) || array_key_exists("dynamicLink", $context) ? $context["dynamicLink"] : (function () { throw new RuntimeError('Variable "dynamicLink" does not exist.', 67, $this->source); })()), "user_profile_enable", [], "any", false, false, false, 67)) {
// line 68
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["dynamicLink"]) || array_key_exists("dynamicLink", $context) ? $context["dynamicLink"] : (function () { throw new RuntimeError('Variable "dynamicLink" does not exist.', 68, $this->source); })()), "user_profile_url", [], "any", false, false, false, 68), "html", null, true);
yield "\">
";
// line 69
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["dynamicLink"]) || array_key_exists("dynamicLink", $context) ? $context["dynamicLink"] : (function () { throw new RuntimeError('Variable "dynamicLink" does not exist.', 69, $this->source); })()), "icon_user_profile", [], "any", false, false, false, 69))) {
// line 70
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["dynamicLink"]) || array_key_exists("dynamicLink", $context) ? $context["dynamicLink"] : (function () { throw new RuntimeError('Variable "dynamicLink" does not exist.', 70, $this->source); })()), "icon_user_profile", [], "any", false, false, false, 70);
yield "
";
}
// line 72
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["dynamicLink"]) || array_key_exists("dynamicLink", $context) ? $context["dynamicLink"] : (function () { throw new RuntimeError('Variable "dynamicLink" does not exist.', 72, $this->source); })()), "link_text_user_profile", [], "any", false, false, false, 72), "html", null, true);
yield "
</a>
";
}
// line 75
yield "
";
// line 76
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["dynamicLink"]) || array_key_exists("dynamicLink", $context) ? $context["dynamicLink"] : (function () { throw new RuntimeError('Variable "dynamicLink" does not exist.', 76, $this->source); })()), "login_road_enable", [], "any", false, false, false, 76)) {
// line 77
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["dynamicLink"]) || array_key_exists("dynamicLink", $context) ? $context["dynamicLink"] : (function () { throw new RuntimeError('Variable "dynamicLink" does not exist.', 77, $this->source); })()), "logout_url", [], "any", false, false, false, 77), "html", null, true);
yield "\">
";
// line 78
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["dynamicLink"]) || array_key_exists("dynamicLink", $context) ? $context["dynamicLink"] : (function () { throw new RuntimeError('Variable "dynamicLink" does not exist.', 78, $this->source); })()), "icon_logout", [], "any", false, false, false, 78))) {
// line 79
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["dynamicLink"]) || array_key_exists("dynamicLink", $context) ? $context["dynamicLink"] : (function () { throw new RuntimeError('Variable "dynamicLink" does not exist.', 79, $this->source); })()), "icon_logout", [], "any", false, false, false, 79);
yield "
";
}
// line 81
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["dynamicLink"]) || array_key_exists("dynamicLink", $context) ? $context["dynamicLink"] : (function () { throw new RuntimeError('Variable "dynamicLink" does not exist.', 81, $this->source); })()), "link_text_logout", [], "any", false, false, false, 81), "html", null, true);
yield "
</a>
";
}
// line 84
yield " ";
} else {
// line 85
yield " ";
// line 86
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["dynamicLink"]) || array_key_exists("dynamicLink", $context) ? $context["dynamicLink"] : (function () { throw new RuntimeError('Variable "dynamicLink" does not exist.', 86, $this->source); })()), "login_road_enable", [], "any", false, false, false, 86)) {
// line 87
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["dynamicLink"]) || array_key_exists("dynamicLink", $context) ? $context["dynamicLink"] : (function () { throw new RuntimeError('Variable "dynamicLink" does not exist.', 87, $this->source); })()), "login_url", [], "any", false, false, false, 87), "html", null, true);
yield "\">
";
// line 88
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["dynamicLink"]) || array_key_exists("dynamicLink", $context) ? $context["dynamicLink"] : (function () { throw new RuntimeError('Variable "dynamicLink" does not exist.', 88, $this->source); })()), "icon_login", [], "any", false, false, false, 88))) {
// line 89
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["dynamicLink"]) || array_key_exists("dynamicLink", $context) ? $context["dynamicLink"] : (function () { throw new RuntimeError('Variable "dynamicLink" does not exist.', 89, $this->source); })()), "icon_login", [], "any", false, false, false, 89);
yield "
";
}
// line 91
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["dynamicLink"]) || array_key_exists("dynamicLink", $context) ? $context["dynamicLink"] : (function () { throw new RuntimeError('Variable "dynamicLink" does not exist.', 91, $this->source); })()), "link_text_login", [], "any", false, false, false, 91), "html", null, true);
yield "
</a>
";
}
// line 94
yield " ";
}
// line 95
yield " ";
}
// line 96
yield " </div>
";
// line 97
if (array_key_exists("isHeaderComponent", $context)) {
// line 98
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["config"] ?? null), "headerComponent", [], "any", true, true, false, 98) && ((isset($context["isHeaderComponent"]) || array_key_exists("isHeaderComponent", $context) ? $context["isHeaderComponent"] : (function () { throw new RuntimeError('Variable "isHeaderComponent" does not exist.', 98, $this->source); })()) == false))) {
// line 99
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 99, $this->source); })()), "headerComponent", [], "any", false, false, false, 99) == null)) {
// line 100
yield "
";
} else {
// line 102
yield " <div class=\"w-100\" id=\"headercomponent\">";
yield CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 102, $this->source); })()), "headerComponent", [], "any", false, false, false, 102), "content", [], "any", false, false, false, 102);
yield "</div>
";
}
// line 104
yield " ";
}
// line 105
yield " ";
}
// line 106
yield "
";
// line 107
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 107, $this->source); })()), "header", [], "any", false, false, false, 107);
yield "
</header>
";
// line 109
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 109, $this->source); })()), "session", [], "any", false, false, false, 109), "flashbag", [], "any", false, false, false, 109), "get", ["success"], "method", false, false, false, 109));
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 110
yield " <div id=\"popup\" class=\"fixed inset-0 flex-center\" data-toggle=\"hidden\">
<div class=\"bg-light rel p1 z-10 border rad1\">
<p>";
// line 112
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["message"], "html", null, true);
yield "</p>
<div class=\"top-right abs p05 flex-center pointer circle r1-1 border bg-light\" data-toggle=\"hidden\" data-target=\"popup\">
<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">
<path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M6 18 18 6M6 6l12 12\" />
</svg>
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['message'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 121
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 121, $this->source); })()), "request", [], "any", false, false, false, 121), "query", [], "any", false, false, false, 121), "get", ["email"], "method", false, false, false, 121) == "1")) {
// line 122
yield " <div id=\"popup\" class=\"fixed inset-0 p-1 flex-center\">
<div class=\"bg-light rel p-1 z-10 border rad-1\">
<p>Votre message à bien été envoyé. Nous vous recontactons prochainement.</p>
<div class=\"top-right abs p-05 flex-center pointer circle r1-1 border bg-light\" data-toggle=\"hidden\" data-target=\"popup\">
<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">
<path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M6 18 18 6M6 6l12 12\" />
</svg>
</div>
</div>
</div>
";
}
// line 133
yield " ";
yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
// line 136
yield " <footer>
<div class=\"w-100\">
";
// line 138
if ( !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 138, $this->source); })()), "footerComponent", [], "any", false, false, false, 138))) {
// line 139
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 139, $this->source); })()), "footerComponent", [], "any", false, false, false, 139), "content", [], "any", false, false, false, 139);
yield "
";
}
// line 141
yield " </div>
<ul class=\"flex-row bg-light p-05 ft-dark w-100 space-around wrap\">
";
// line 144
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) {
// line 145
yield " <li class=\"p-05\">
<a href=\"";
// line 146
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_admin");
yield "\" class=\"roboto\">Admin</a>
</li>
";
}
// line 149
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 149, $this->source); })()), "user", [], "any", false, false, false, 149)) {
// line 150
yield " <li class=\"p-05\">
<a href=\"";
// line 151
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
yield "\" class=\"roboto\">Déconnexion</a>
</li>
";
} else {
// line 154
yield " <li class=\"p-05\">
<a href=\"";
// line 155
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
yield "\" class=\"roboto\">Connexion</a>
</li>
";
}
// line 158
yield "
<li class=\"p-05\">
<span class=\"roboto\">Développé par</span> <a target=\"_blank\" href=\"https://impulse-web-design.com/\" class=\"roboto\">Impulse Web Design</a>
</li>
</ul>
";
// line 164
yield " </footer>
";
// line 165
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 165, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 165), "is_cookie", [], "any", false, false, false, 165) == true)) {
// line 166
yield " <div id=\"consentModal\" class=\"hidden fixed ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 166, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 166), "modal_position", [], "any", false, false, false, 166), "html", null, true);
yield "\">
<form id=\"consentForm\" class=\"";
// line 167
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 167, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 167), "form_appearance", [], "any", false, false, false, 167), "html", null, true);
yield "\" data-noload=\"\">
<div class=\"p-1\">
<p class=\"";
// line 169
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 169, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 169), "text_appearance", [], "any", false, false, false, 169), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 169, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 169), "title", [], "any", false, false, false, 169), "html", null, true);
yield "</p>
</div>
<div class=\"p-1\">
<p class=\"";
// line 172
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 172, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 172), "text_appearance", [], "any", false, false, false, 172), "html", null, true);
yield "\" data-text-base=\"\" data-text-class=\"\">
";
// line 173
yield Twig\Extension\CoreExtension::nl2br($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 173, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 173), "text", [], "any", false, false, false, 173), "html", null, true));
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 173, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 173), "link", [], "any", false, false, false, 173), "html", null, true);
yield "\" target=\"_blank\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 173, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 173), "link_text", [], "any", false, false, false, 173), "html", null, true);
yield "</a>
</p>
</div>
<div id=\"choice-section\" class=\"hidden\">
<div class=\"column\">
";
// line 178
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 178, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 178), "is_tracking", [], "any", false, false, false, 178) == true)) {
// line 179
yield " <div class=\"flex-row p-1\">
<p class=\"";
// line 180
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 180, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 180), "text_appearance", [], "any", false, false, false, 180), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 180, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 180), "text_tracking", [], "any", false, false, false, 180), "html", null, true);
yield "</p>
<div>
<input class=\"tgl tgl-light\" id=\"tracking\" type=\"checkbox\" name=\"tracking\" />
<label class=\"tgl-btn\" for=\"tracking\"></label>
</div>
</div>
";
} else {
// line 187
yield " <div class=\"hidden\">
<p class=\"";
// line 188
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 188, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 188), "text_appearance", [], "any", false, false, false, 188), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 188, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 188), "text_tracking", [], "any", false, false, false, 188), "html", null, true);
yield "</p>
<div>
<input class=\"tgl tgl-light\" id=\"tracking\" type=\"checkbox\" name=\"tracking\" />
<label class=\"tgl-btn\" for=\"tracking\"></label>
</div>
</div>
";
}
// line 195
yield "
";
// line 196
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 196, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 196), "is_publicity", [], "any", false, false, false, 196) == true)) {
// line 197
yield " <div class=\"flex-row p-1\">
<p class=\"";
// line 198
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 198, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 198), "text_appearance", [], "any", false, false, false, 198), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 198, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 198), "text_publicity", [], "any", false, false, false, 198), "html", null, true);
yield "</p>
<div>
<input class=\"tgl tgl-light\" id=\"publicity\" type=\"checkbox\" name=\"publicity\" />
<label class=\"tgl-btn\" for=\"publicity\"></label>
</div>
</div>
";
} else {
// line 205
yield " <div class=\"hidden\">
<p class=\"";
// line 206
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 206, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 206), "text_appearance", [], "any", false, false, false, 206), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 206, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 206), "text_publicity", [], "any", false, false, false, 206), "html", null, true);
yield "</p>
<div>
<input class=\"tgl tgl-light\" id=\"publicity\" type=\"checkbox\" name=\"publicity\" />
<label class=\"tgl-btn\" for=\"publicity\"></label>
</div>
</div>
";
}
// line 213
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 213, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 213), "is_custom", [], "any", false, false, false, 213) == true)) {
// line 214
yield " <div class=\"flex-row p-1\">
<p class=\"";
// line 215
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 215, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 215), "text_appearance", [], "any", false, false, false, 215), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 215, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 215), "text_custom", [], "any", false, false, false, 215), "html", null, true);
yield "</p>
<div>
<input class=\"tgl tgl-light\" id=\"preference\" type=\"checkbox\" name=\"preference\" />
<label class=\"tgl-btn\" for=\"preference\"></label>
</div>
</div>
";
} else {
// line 222
yield " <div class=\"hidden\">
<p class=\"";
// line 223
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 223, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 223), "text_appearance", [], "any", false, false, false, 223), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 223, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 223), "text_custom", [], "any", false, false, false, 223), "html", null, true);
yield "</p>
<div>
<input class=\"tgl tgl-light\" id=\"preference\" type=\"checkbox\" name=\"preference\" />
<label class=\"tgl-btn\" for=\"preference\"></label>
</div>
</div>
";
}
// line 230
yield " <button class=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 230, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 230), "button_appearance", [], "any", false, false, false, 230), "html", null, true);
yield "\" type=\"submit\">Valider</button>
</div>
</div>
<div class=\"grid grid-col-3 w-100\">
<button class=\"";
// line 234
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 234, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 234), "button_appearance", [], "any", false, false, false, 234), "html", null, true);
yield "\" type=\"button\" id=\"customchoice\" data-toggle=\"hidden\" data-target=\"choice-section\">Personnaliser</button>
<button class=\"";
// line 235
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 235, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 235), "button_appearance", [], "any", false, false, false, 235), "html", null, true);
yield "\" type=\"button\" id=\"rejectAll\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 235, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 235), "button_text_reject", [], "any", false, false, false, 235), "html", null, true);
yield "</button>
<button class=\"";
// line 236
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 236, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 236), "button_appearance", [], "any", false, false, false, 236), "html", null, true);
yield "\" type=\"button\" id=\"acceptAll\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 236, $this->source); })()), "cookiesInformation", [], "any", false, false, false, 236), "button_text_accept", [], "any", false, false, false, 236), "html", null, true);
yield "</button>
</div>
</form>
</div>
<script src=\"/js/cookies.js\"></script>
";
}
// line 242
yield "
<script src=\"/js/app-min.js?v=0049\"></script>
";
// line 244
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 244, $this->source); })()), "cookiesconsent", [], "any", false, false, false, 244);
yield "
";
// line 246
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 246, $this->source); })()), "javascriptAdd", [], "any", false, false, false, 246))) {
// line 247
yield " <script src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 247, $this->source); })()), "javascriptAdd", [], "any", false, false, false, 247), "html", null, true);
yield "\"></script>
";
}
// line 249
yield " ";
yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
// line 252
yield " </body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
// line 9
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
// line 10
yield " Welcome!
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 13
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_meta(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
// line 14
yield " ";
yield Twig\Extension\CoreExtension::include($this->env, $context, "component/_meta_base.html.twig");
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 21
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_stylesheets(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 22
yield " ";
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 133
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_body(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 134
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 249
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_javascripts(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 250
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "base.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 697 => 250, 684 => 249, 672 => 134, 659 => 133, 645 => 22, 632 => 21, 618 => 14, 605 => 13, 593 => 10, 580 => 9, 567 => 252, 564 => 249, 558 => 247, 556 => 246, 551 => 244, 547 => 242, 536 => 236, 530 => 235, 526 => 234, 518 => 230, 506 => 223, 503 => 222, 491 => 215, 488 => 214, 485 => 213, 473 => 206, 470 => 205, 458 => 198, 455 => 197, 453 => 196, 450 => 195, 438 => 188, 435 => 187, 423 => 180, 420 => 179, 418 => 178, 406 => 173, 402 => 172, 394 => 169, 389 => 167, 384 => 166, 382 => 165, 379 => 164, 372 => 158, 366 => 155, 363 => 154, 357 => 151, 354 => 150, 351 => 149, 345 => 146, 342 => 145, 340 => 144, 335 => 141, 329 => 139, 327 => 138, 323 => 136, 320 => 133, 307 => 122, 304 => 121, 289 => 112, 285 => 110, 281 => 109, 276 => 107, 273 => 106, 270 => 105, 267 => 104, 261 => 102, 257 => 100, 254 => 99, 251 => 98, 249 => 97, 246 => 96, 243 => 95, 240 => 94, 233 => 91, 227 => 89, 225 => 88, 220 => 87, 217 => 86, 215 => 85, 212 => 84, 205 => 81, 199 => 79, 197 => 78, 192 => 77, 190 => 76, 187 => 75, 180 => 72, 174 => 70, 172 => 69, 167 => 68, 164 => 67, 162 => 66, 159 => 65, 157 => 64, 150 => 61, 144 => 59, 142 => 58, 137 => 57, 134 => 56, 132 => 55, 130 => 54, 104 => 30, 102 => 29, 96 => 27, 94 => 26, 90 => 25, 87 => 24, 84 => 21, 79 => 18, 73 => 16, 71 => 13, 68 => 12, 66 => 9, 60 => 5, 58 => 4, 53 => 1,);
}
public function getSourceContext(): Source
{
return new Source("<!DOCTYPE html>
<html lang=\"fr\">
<head>
{% set config = config.getConfig %}
<meta charset=\"UTF-8\" />
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />
<title>
{% block title %}
Welcome!
{% endblock %}
</title>
{% block meta %}
{{ include('component/_meta_base.html.twig') }}
{% endblock %}
{{ config.analytics|raw }}
<link rel=\"icon\" href=\"{{ config.icon }}\" />
{# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
{% endblock %}
<link rel=\"stylesheet\" href=\"/css/setting.css\" />
<link rel=\"stylesheet\" href=\"{{ path('dynamic_style') }}\" />
{% if config.cssAdd is not empty %}
<link rel=\"stylesheet\" href=\"{{ config.cssAdd }}\" />
{% endif %}
{# {{ render(controller('App\\\\Controller\\\\BaseController::style')) }} #}
</head>
<body class=\"app\">
<div style=\"background-color: rgba(99, 99, 99, 0.8);z-index:5000;\" id=\"modal-picture\" class=\"fixed flex-center hidden inset-0\">
<div class=\"abs m-l-1 pointer left-0 rounded bg-grey-4-op ft-white p-1 flex-center\" id=\"prev-box\" style=\"z-index: 6000;\">
<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">
<path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M15.75 19.5 8.25 12l7.5-7.5\" />
</svg>
</div>
<div class=\"abs m-r-1 pointer right-0 rounded bg-grey-4-op ft-white p-1 flex-center\" id=\"next-box\" style=\"z-index: 6000;\">
<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">
<path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"m8.25 4.5 7.5 7.5-7.5 7.5\" />
</svg>
</div>
<div class=\"flex-center rel\">
<img src=\"\" style=\"height: 95vh;width:auto;\" id=\"img-target\" alt=\"\" />
<div class=\"top-1 right-1 rounded abs p-05 pointer flex-center pointer r1-1 border bg-light\" data-toggle=\"hidden\" data-target=\"modal-picture\" style=\"z-index: 8000;\">
<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">
<path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M6 18 18 6M6 6l12 12\" />
</svg>
</div>
</div>
</div>
<header class=\"fixed top-0 left-0 w-100\" style=\"max-height: 0px;\" id=\"header\" style=\"z-index: 500;\">
<div id=\"dynamic-link\" class=\"hidden\">
{% if dynamicLink is defined %}
{# Lien panier utilisateur #}
{% if dynamicLink.cart_road_enable %}
<a href=\"{{ dynamicLink.cart_url }}\">
{% if dynamicLink.icon_cart is not empty %}
{{ dynamicLink.icon_cart|raw }}
{% endif %}
{{ dynamicLink.link_text_cart }}
</a>
{% endif %}
{# Lien logout #}
{% if app.user %}
{# Lien profil utilisateur si activé #}
{% if dynamicLink.user_profile_enable %}
<a href=\"{{ dynamicLink.user_profile_url }}\">
{% if dynamicLink.icon_user_profile is not empty %}
{{ dynamicLink.icon_user_profile|raw }}
{% endif %}
{{ dynamicLink.link_text_user_profile }}
</a>
{% endif %}
{% if dynamicLink.login_road_enable %}
<a href=\"{{ dynamicLink.logout_url }}\">
{% if dynamicLink.icon_logout is not empty %}
{{ dynamicLink.icon_logout|raw }}
{% endif %}
{{ dynamicLink.link_text_logout }}
</a>
{% endif %}
{% else %}
{# Lien login si pas connecté #}
{% if dynamicLink.login_road_enable %}
<a href=\"{{ dynamicLink.login_url }}\">
{% if dynamicLink.icon_login is not empty %}
{{ dynamicLink.icon_login|raw }}
{% endif %}
{{ dynamicLink.link_text_login }}
</a>
{% endif %}
{% endif %}
{% endif %}
</div>
{% if isHeaderComponent is defined %}
{% if config.headerComponent is defined and isHeaderComponent == false %}
{% if config.headerComponent == null %}
{% else %}
<div class=\"w-100\" id=\"headercomponent\">{{ config.headerComponent.content|raw }}</div>
{% endif %}
{% endif %}
{% endif %}
{{ config.header|raw }}
</header>
{% for message in app.session.flashbag.get('success') %}
<div id=\"popup\" class=\"fixed inset-0 flex-center\" data-toggle=\"hidden\">
<div class=\"bg-light rel p1 z-10 border rad1\">
<p>{{ message }}</p>
<div class=\"top-right abs p05 flex-center pointer circle r1-1 border bg-light\" data-toggle=\"hidden\" data-target=\"popup\">
<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">
<path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M6 18 18 6M6 6l12 12\" />
</svg>
</div>
</div>
</div>
{% endfor %}
{% if app.request.query.get('email') == '1' %}
<div id=\"popup\" class=\"fixed inset-0 p-1 flex-center\">
<div class=\"bg-light rel p-1 z-10 border rad-1\">
<p>Votre message à bien été envoyé. Nous vous recontactons prochainement.</p>
<div class=\"top-right abs p-05 flex-center pointer circle r1-1 border bg-light\" data-toggle=\"hidden\" data-target=\"popup\">
<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">
<path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M6 18 18 6M6 6l12 12\" />
</svg>
</div>
</div>
</div>
{% endif %}
{% block body %}
{% endblock %}
<footer>
<div class=\"w-100\">
{% if config.footerComponent is not null %}
{{ config.footerComponent.content|raw }}
{% endif %}
</div>
<ul class=\"flex-row bg-light p-05 ft-dark w-100 space-around wrap\">
{% if is_granted('ROLE_ADMIN') %}
<li class=\"p-05\">
<a href=\"{{ path('app_admin') }}\" class=\"roboto\">Admin</a>
</li>
{% endif %}
{% if app.user %}
<li class=\"p-05\">
<a href=\"{{ path('app_logout') }}\" class=\"roboto\">Déconnexion</a>
</li>
{% else %}
<li class=\"p-05\">
<a href=\"{{ path('app_login') }}\" class=\"roboto\">Connexion</a>
</li>
{% endif %}
<li class=\"p-05\">
<span class=\"roboto\">Développé par</span> <a target=\"_blank\" href=\"https://impulse-web-design.com/\" class=\"roboto\">Impulse Web Design</a>
</li>
</ul>
{# <button id=\"openConsent\">⚙️ Gérer mes cookies</button> #}
</footer>
{% if config.cookiesInformation.is_cookie == true %}
<div id=\"consentModal\" class=\"hidden fixed {{ config.cookiesInformation.modal_position }}\">
<form id=\"consentForm\" class=\"{{ config.cookiesInformation.form_appearance }}\" data-noload=\"\">
<div class=\"p-1\">
<p class=\"{{ config.cookiesInformation.text_appearance }}\">{{ config.cookiesInformation.title }}</p>
</div>
<div class=\"p-1\">
<p class=\"{{ config.cookiesInformation.text_appearance }}\" data-text-base=\"\" data-text-class=\"\">
{{ config.cookiesInformation.text|nl2br }} <a href=\"{{ config.cookiesInformation.link }}\" target=\"_blank\">{{ config.cookiesInformation.link_text }}</a>
</p>
</div>
<div id=\"choice-section\" class=\"hidden\">
<div class=\"column\">
{% if config.cookiesInformation.is_tracking == true %}
<div class=\"flex-row p-1\">
<p class=\"{{ config.cookiesInformation.text_appearance }}\">{{ config.cookiesInformation.text_tracking }}</p>
<div>
<input class=\"tgl tgl-light\" id=\"tracking\" type=\"checkbox\" name=\"tracking\" />
<label class=\"tgl-btn\" for=\"tracking\"></label>
</div>
</div>
{% else %}
<div class=\"hidden\">
<p class=\"{{ config.cookiesInformation.text_appearance }}\">{{ config.cookiesInformation.text_tracking }}</p>
<div>
<input class=\"tgl tgl-light\" id=\"tracking\" type=\"checkbox\" name=\"tracking\" />
<label class=\"tgl-btn\" for=\"tracking\"></label>
</div>
</div>
{% endif %}
{% if config.cookiesInformation.is_publicity == true %}
<div class=\"flex-row p-1\">
<p class=\"{{ config.cookiesInformation.text_appearance }}\">{{ config.cookiesInformation.text_publicity }}</p>
<div>
<input class=\"tgl tgl-light\" id=\"publicity\" type=\"checkbox\" name=\"publicity\" />
<label class=\"tgl-btn\" for=\"publicity\"></label>
</div>
</div>
{% else %}
<div class=\"hidden\">
<p class=\"{{ config.cookiesInformation.text_appearance }}\">{{ config.cookiesInformation.text_publicity }}</p>
<div>
<input class=\"tgl tgl-light\" id=\"publicity\" type=\"checkbox\" name=\"publicity\" />
<label class=\"tgl-btn\" for=\"publicity\"></label>
</div>
</div>
{% endif %}
{% if config.cookiesInformation.is_custom == true %}
<div class=\"flex-row p-1\">
<p class=\"{{ config.cookiesInformation.text_appearance }}\">{{ config.cookiesInformation.text_custom }}</p>
<div>
<input class=\"tgl tgl-light\" id=\"preference\" type=\"checkbox\" name=\"preference\" />
<label class=\"tgl-btn\" for=\"preference\"></label>
</div>
</div>
{% else %}
<div class=\"hidden\">
<p class=\"{{ config.cookiesInformation.text_appearance }}\">{{ config.cookiesInformation.text_custom }}</p>
<div>
<input class=\"tgl tgl-light\" id=\"preference\" type=\"checkbox\" name=\"preference\" />
<label class=\"tgl-btn\" for=\"preference\"></label>
</div>
</div>
{% endif %}
<button class=\"{{ config.cookiesInformation.button_appearance }}\" type=\"submit\">Valider</button>
</div>
</div>
<div class=\"grid grid-col-3 w-100\">
<button class=\"{{ config.cookiesInformation.button_appearance }}\" type=\"button\" id=\"customchoice\" data-toggle=\"hidden\" data-target=\"choice-section\">Personnaliser</button>
<button class=\"{{ config.cookiesInformation.button_appearance }}\" type=\"button\" id=\"rejectAll\">{{ config.cookiesInformation.button_text_reject }}</button>
<button class=\"{{ config.cookiesInformation.button_appearance }}\" type=\"button\" id=\"acceptAll\">{{ config.cookiesInformation.button_text_accept }}</button>
</div>
</form>
</div>
<script src=\"/js/cookies.js\"></script>
{% endif %}
<script src=\"/js/app-min.js?v=0049\"></script>
{{ config.cookiesconsent|raw }}
{% if config.javascriptAdd is not empty %}
<script src=\"{{ config.javascriptAdd }}\"></script>
{% endif %}
{% block javascripts %}
{% endblock %}
</body>
</html>
", "base.html.twig", "/home/u677714286/domains/kapilko.com/public_html/templates/base.html.twig");
}
}