<?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;
/* FrontBundle/layout_shop.html.twig */
class __TwigTemplate_7cfa87271d80c0dfcf5da0ecf3b37b0e12ee8a1c21fabc9296647852e466f412 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'extra_class' => [$this, 'block_extra_class'],
'google' => [$this, 'block_google'],
'title' => [$this, 'block_title'],
'description' => [$this, 'block_description'],
'stylesheets' => [$this, 'block_stylesheets'],
'menu_min' => [$this, 'block_menu_min'],
'menu_max' => [$this, 'block_menu_max'],
'sub_header' => [$this, 'block_sub_header'],
'body' => [$this, 'block_body'],
'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", "FrontBundle/layout_shop.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "FrontBundle/layout_shop.html.twig"));
// line 1
$context["route"] = 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 => "_route"], "method", false, false, false, 1);
// line 2
$context["controller"] = $this->extensions['App\Twig\AppExtension']->parseControllerName(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.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "attributes", [], "any", false, false, false, 2), "get", [0 => "_controller"], "method", false, false, false, 2));
// line 3
$context["action"] = $this->extensions['App\Twig\AppExtension']->parseActionName(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.', 3, $this->source); })()), "request", [], "any", false, false, false, 3), "attributes", [], "any", false, false, false, 3), "get", [0 => "_controller"], "method", false, false, false, 3));
// line 4
echo "
";
// line 5
if (twig_in_filter((isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 5, $this->source); })()), [0 => "security_login", 1 => "security_login_locale"])) {
// line 6
echo " ";
$context["page"] = ["slug" => "security_login"];
}
// line 8
echo "
";
// line 9
if (twig_in_filter((isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 9, $this->source); })()), [0 => "security_reset", 1 => "security_reset_locale"])) {
// line 10
echo " ";
$context["page"] = ["slug" => "security_login"];
}
// line 12
echo "
<!doctype html>
<html lang=\"";
// line 14
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.', 14, $this->source); })()), "request", [], "any", false, false, false, 14), "locale", [], "any", false, false, false, 14), "html", null, true);
echo "\" class=\"page_shop page_";
echo 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.', 14, $this->source); })()), "slug", [], "any", false, false, false, 14), "html", null, true);
echo " ";
$this->displayBlock('extra_class', $context, $blocks);
echo "\">
<head>
<!-- End Cookie Yes Privacy Center -->
<!-- Google tag (gtag.js) -->
<script async src=\"https://www.googletagmanager.com/gtag/js?id=G-9910XG68H3\"></script>
\t<!-- 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-PP6RN2GT');</script>
<!-- End Google Tag Manager -->
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-9910XG68H3');
</script>
";
// line 33
$this->displayBlock('google', $context, $blocks);
// line 34
echo " <meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, minimum-scale=1\">
";
// line 38
echo " <meta name=\"apple-mobile-web-app-capable\" content=\"yes\" />
<title>";
// line 40
$this->displayBlock('title', $context, $blocks);
echo "</title>
<meta name=\"description\" content=\"";
// line 41
$this->displayBlock('description', $context, $blocks);
echo "\"/>
";
// line 45
echo " <link href=\"/front/css/bootstrap.min.css\" rel=\"stylesheet\">
<link href=\"/front/css/tooltipster.bundle.min.css\" rel=\"stylesheet\">
<link href=\"/front/css/royal-palace.css?v=";
// line 47
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "U"), "html", null, true);
echo "\" rel=\"stylesheet\">
<link rel=\"stylesheet\" href=\"/front/css/responsive.css?v=";
// line 48
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "U"), "html", null, true);
echo "\" />
<link rel=\"apple-touch-icon\" sizes=\"57x57\" href=\"/favicon/apple-icon-57x57.png\">
<link rel=\"apple-touch-icon\" sizes=\"60x60\" href=\"/favicon/apple-icon-60x60.png\">
<link rel=\"apple-touch-icon\" sizes=\"72x72\" href=\"/favicon/apple-icon-72x72.png\">
<link rel=\"apple-touch-icon\" sizes=\"76x76\" href=\"/favicon/apple-icon-76x76.png\">
<link rel=\"apple-touch-icon\" sizes=\"114x114\" href=\"/favicon/apple-icon-114x114.png\">
<link rel=\"apple-touch-icon\" sizes=\"120x120\" href=\"/favicon/apple-icon-120x120.png\">
<link rel=\"apple-touch-icon\" sizes=\"144x144\" href=\"/favicon/apple-icon-144x144.png\">
<link rel=\"apple-touch-icon\" sizes=\"152x152\" href=\"/favicon/apple-icon-152x152.png\">
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/favicon/apple-icon-180x180.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/favicon/android-icon-192x192.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicon/favicon-32x32.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"96x96\" href=\"/favicon/favicon-96x96.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicon/favicon-16x16.png\">
<meta name=\"msapplication-TileColor\" content=\"#ffffff\">
<meta name=\"msapplication-TileImage\" content=\"/favicon/ms-icon-144x144.png\">
<meta name=\"theme-color\" content=\"#ffffff\">
<meta name=\"google-site-verification\" content=\"BC5-9oXkZhRVo7dozRIvZvdSvBJ4grngDXi5YGVmYLE\" />
";
// line 70
$this->displayBlock('stylesheets', $context, $blocks);
// line 71
echo "
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-PP6RN2GT\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) --> ";
// line 78
$context["tr"] = $this->extensions['App\Framework\Twig\AppExtension']->loadTranslation(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.', 78, $this->source); })()), "request", [], "any", false, false, false, 78), "locale", [], "any", false, false, false, 78));
// line 79
echo "
<div class=\"topbar\">
<p>";
// line 81
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("topbar_shop", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 81, $this->source); })()));
echo "</p>
<a href=\"/";
// line 82
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.', 82, $this->source); })()), "request", [], "any", false, false, false, 82), "locale", [], "any", false, false, false, 82), "html", null, true);
echo "/spectacle/grand-amour\">Découvrir <img src=\"/front/img/espaces-arrow-r-w.svg\" alt=\"spectacle\" /></a>
</div>
<input type=\"hidden\" id=\"menu_min\" value=\"";
// line 84
$this->displayBlock('menu_min', $context, $blocks);
echo "\" />
<input type=\"hidden\" id=\"menu_max\" value=\"";
// line 85
$this->displayBlock('menu_max', $context, $blocks);
echo "\" />
<header class=\"shop\">
<a href=\"/";
// line 88
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.', 88, $this->source); })()), "request", [], "any", false, false, false, 88), "locale", [], "any", false, false, false, 88), "html", null, true);
echo "\" class=\"logo\"><img src=\"/front/img/logo-w.svg\" alt=\"";
echo twig_escape_filter($this->env, (isset($context["app_sitename"]) || array_key_exists("app_sitename", $context) ? $context["app_sitename"] : (function () { throw new RuntimeError('Variable "app_sitename" does not exist.', 88, $this->source); })()), "html", null, true);
echo "\" /></a>
<div class=\"menu-left\">
<div href=\"#\" class=\"locale\">
";
// line 92
echo twig_escape_filter($this->env, twig_upper_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.', 92, $this->source); })()), "request", [], "any", false, false, false, 92), "locale", [], "any", false, false, false, 92)), "html", null, true);
echo "
<ul>
";
// line 94
if ((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.', 94, $this->source); })()), "request", [], "any", false, false, false, 94), "locale", [], "any", false, false, false, 94), "fr"))) {
echo "<li><a href=\"/fr/";
echo twig_escape_filter($this->env, ((array_key_exists("fr_url", $context)) ? ((isset($context["fr_url"]) || array_key_exists("fr_url", $context) ? $context["fr_url"] : (function () { throw new RuntimeError('Variable "fr_url" does not exist.', 94, $this->source); })())) : ($this->extensions['App\Framework\Twig\AppExtension']->getUrl(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.', 94, $this->source); })()), "slug", [], "any", false, false, false, 94), "fr"))), "html", null, true);
echo "\">FR</a></li>";
}
// line 95
echo " ";
if ((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.', 95, $this->source); })()), "request", [], "any", false, false, false, 95), "locale", [], "any", false, false, false, 95), "de"))) {
echo "<li><a href=\"/de/";
echo twig_escape_filter($this->env, ((array_key_exists("de_url", $context)) ? ((isset($context["de_url"]) || array_key_exists("de_url", $context) ? $context["de_url"] : (function () { throw new RuntimeError('Variable "de_url" does not exist.', 95, $this->source); })())) : ($this->extensions['App\Framework\Twig\AppExtension']->getUrl(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.', 95, $this->source); })()), "slug", [], "any", false, false, false, 95), "de"))), "html", null, true);
echo "\">DE</a></li>";
}
// line 96
echo " ";
if ((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.', 96, $this->source); })()), "request", [], "any", false, false, false, 96), "locale", [], "any", false, false, false, 96), "en"))) {
echo "<li><a href=\"/en/";
echo twig_escape_filter($this->env, ((array_key_exists("en_url", $context)) ? ((isset($context["en_url"]) || array_key_exists("en_url", $context) ? $context["en_url"] : (function () { throw new RuntimeError('Variable "en_url" does not exist.', 96, $this->source); })())) : ($this->extensions['App\Framework\Twig\AppExtension']->getUrl(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.', 96, $this->source); })()), "slug", [], "any", false, false, false, 96), "en"))), "html", null, true);
echo "\">EN</a></li>";
}
// line 97
echo " </ul>
</div>
<a href=\"/";
// line 99
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.', 99, $this->source); })()), "request", [], "any", false, false, false, 99), "locale", [], "any", false, false, false, 99), "html", null, true);
echo "/mon-compte\"><img width=\"27px\" src=\"/front/img/user-icon.svg\" alt=\"Mon compte\" /></a>
</div>
<div class=\"menu-right\">
<a href=\"/";
// line 103
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.', 103, $this->source); })()), "request", [], "any", false, false, false, 103), "locale", [], "any", false, false, false, 103), "html", null, true);
echo "/boutique/panier\" class=\"cart\">
<img src=\"/front/img/cart.svg\" alt=\"cart\" />
<span class=\"badge\"></span>
</a>
<div class=\"menu-icon\">
<div>
<span></span>
<span></span>
</div>
</div>
</div>
";
// line 116
$this->displayBlock('sub_header', $context, $blocks);
// line 117
echo "
";
// line 118
$this->loadTemplate("FrontBundle/Partial/menu.html.twig", "FrontBundle/layout_shop.html.twig", 118)->display($context);
// line 119
echo "
";
// line 121
$this->loadTemplate("FrontBundle/Partial/search.html.twig", "FrontBundle/layout_shop.html.twig", 121)->display($context);
// line 122
echo "
</header>
";
// line 126
$this->displayBlock('body', $context, $blocks);
// line 127
echo "
";
// line 128
$this->loadTemplate("FrontBundle/Partial/resa-resume.html.twig", "FrontBundle/layout_shop.html.twig", 128)->display($context);
// line 129
echo "
";
// line 131
echo "
<script src=\"/front/js/bootstrap.min.js\"></script>
<script src=\"/front/js/jquery-3.6.0.min.js\"></script>
";
// line 136
echo "
<script src=\"/front/js/tooltipster.bundle.min.js\"></script>
<script src=\"/front/js/script.js?v=";
// line 139
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "U"), "html", null, true);
echo "\"></script>
<script src=\"/front/js/resa.js?v=";
// line 141
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "U"), "html", null, true);
echo "\"></script>
<script src=\"/front/js/cart.js?v=";
// line 143
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "U"), "html", null, true);
echo "\"></script>
";
// line 146
echo "
<script type=\"text/javascript\">
window.addEventListener( \"pageshow\", function ( event ) {
var historyTraversal = event.persisted ||
( typeof window.performance != \"undefined\" &&
window.performance.navigation.type === 2 );
if ( historyTraversal ) {
// Handle page restore.
window.location.reload();
}
});
\$(document).ready(function() {
\$(window).on('beforeunload', function() {
\$('body').hide();
\$(window).scrollTop(0);
});
if( \$('.nav-list .overlay').length > 0 ){
const overlay = document.querySelector('.nav-list .overlay');
const nav_list = document.querySelectorAll('.nav-list ul li');
nav_list.forEach((list) => {
list.addEventListener('mouseover', () => {
let position = list.getBoundingClientRect();
overlay.classList.add('active');
overlay.style.left = position.x + 'px';
overlay.style.top = position.y + 'px';
overlay.style.height = position.height + 'px';
overlay.style.width = position.width + 'px';
});
list.addEventListener('mouseout', () => {
overlay.classList.remove('active');
});
});
}
});
function hoverList(list){
if( \$('.nav-list .overlay').length > 0 ){
const overlay = document.querySelector('.nav-list .overlay');
let position = list.getBoundingClientRect();
overlay.classList.add('active');
overlay.style.left = position.x + 'px';
overlay.style.top = position.y + 'px';
overlay.style.height = position.height + 'px';
overlay.style.width = position.width + 'px';
}
}
setTimeout( function(){hoverList(document.querySelector('.nav-list ul li.active'));} , 500);
\$('.nav-list ul li').on('mouseover', function(){
\$('.nav-list ul li').removeClass('hover');
\$(this).addClass('hover');
});
</script>
";
// line 215
$this->displayBlock('javascripts', $context, $blocks);
// line 216
echo "
</body>
</html>";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 14
public function block_extra_class($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", "extra_class"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extra_class"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 33
public function block_google($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", "google"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "google"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 40
public function block_title($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", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 41
public function block_description($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", "description"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 70
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"));
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 84
public function block_menu_min($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", "menu_min"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu_min"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 85
public function block_menu_max($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", "menu_max"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu_max"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 116
public function block_sub_header($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", "sub_header"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sub_header"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 126
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"));
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 215
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"));
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "FrontBundle/layout_shop.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 560 => 215, 541 => 126, 523 => 116, 505 => 85, 487 => 84, 468 => 70, 450 => 41, 432 => 40, 414 => 33, 396 => 14, 384 => 216, 382 => 215, 311 => 146, 306 => 143, 301 => 141, 296 => 139, 291 => 136, 285 => 131, 282 => 129, 280 => 128, 277 => 127, 275 => 126, 269 => 122, 267 => 121, 263 => 119, 261 => 118, 258 => 117, 256 => 116, 240 => 103, 233 => 99, 229 => 97, 222 => 96, 215 => 95, 209 => 94, 204 => 92, 195 => 88, 189 => 85, 185 => 84, 180 => 82, 176 => 81, 172 => 79, 170 => 78, 161 => 71, 159 => 70, 134 => 48, 130 => 47, 126 => 45, 122 => 41, 118 => 40, 114 => 38, 109 => 34, 107 => 33, 81 => 14, 77 => 12, 73 => 10, 71 => 9, 68 => 8, 64 => 6, 62 => 5, 59 => 4, 57 => 3, 55 => 2, 53 => 1,);
}
public function getSourceContext()
{
return new Source("{% set route = app.request.attributes.get('_route') %}
{% set controller = app.request.attributes.get(\"_controller\")|parseControllerName %}
{% set action = app.request.attributes.get(\"_controller\")|parseActionName %}
{% if route in ['security_login', 'security_login_locale'] %}
{% set page = {'slug':'security_login'} %}
{% endif %}
{% if route in ['security_reset', 'security_reset_locale'] %}
{% set page = {'slug':'security_login'} %}
{% endif %}
<!doctype html>
<html lang=\"{{ app.request.locale }}\" class=\"page_shop page_{{page.slug}} {% block extra_class %}{% endblock %}\">
<head>
<!-- End Cookie Yes Privacy Center -->
<!-- Google tag (gtag.js) -->
<script async src=\"https://www.googletagmanager.com/gtag/js?id=G-9910XG68H3\"></script>
\t<!-- 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-PP6RN2GT');</script>
<!-- End Google Tag Manager -->
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-9910XG68H3');
</script>
{% block google %}{% endblock %}
<meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, minimum-scale=1\">
{# <meta name=\"viewport\" content=\"user-scalable=no, width=device-width, initial-scale=1.0\" /> #}
<meta name=\"apple-mobile-web-app-capable\" content=\"yes\" />
<title>{% block title %}{% endblock %}</title>
<meta name=\"description\" content=\"{% block description %}{% endblock %}\"/>
{# <link href=\"/front/css/preloader.css\" rel=\"stylesheet\"> #}
{# <link href=\"https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/css/bootstrap.min.css\" rel=\"stylesheet\" integrity=\"sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor\" crossorigin=\"anonymous\"> #}
{# <link href=\"/front/css/bootstrap.custom.min.css\" rel=\"stylesheet\"> #}
<link href=\"/front/css/bootstrap.min.css\" rel=\"stylesheet\">
<link href=\"/front/css/tooltipster.bundle.min.css\" rel=\"stylesheet\">
<link href=\"/front/css/royal-palace.css?v={{'now'|date('U')}}\" rel=\"stylesheet\">
<link rel=\"stylesheet\" href=\"/front/css/responsive.css?v={{'now'|date('U')}}\" />
<link rel=\"apple-touch-icon\" sizes=\"57x57\" href=\"/favicon/apple-icon-57x57.png\">
<link rel=\"apple-touch-icon\" sizes=\"60x60\" href=\"/favicon/apple-icon-60x60.png\">
<link rel=\"apple-touch-icon\" sizes=\"72x72\" href=\"/favicon/apple-icon-72x72.png\">
<link rel=\"apple-touch-icon\" sizes=\"76x76\" href=\"/favicon/apple-icon-76x76.png\">
<link rel=\"apple-touch-icon\" sizes=\"114x114\" href=\"/favicon/apple-icon-114x114.png\">
<link rel=\"apple-touch-icon\" sizes=\"120x120\" href=\"/favicon/apple-icon-120x120.png\">
<link rel=\"apple-touch-icon\" sizes=\"144x144\" href=\"/favicon/apple-icon-144x144.png\">
<link rel=\"apple-touch-icon\" sizes=\"152x152\" href=\"/favicon/apple-icon-152x152.png\">
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/favicon/apple-icon-180x180.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/favicon/android-icon-192x192.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicon/favicon-32x32.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"96x96\" href=\"/favicon/favicon-96x96.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicon/favicon-16x16.png\">
<meta name=\"msapplication-TileColor\" content=\"#ffffff\">
<meta name=\"msapplication-TileImage\" content=\"/favicon/ms-icon-144x144.png\">
<meta name=\"theme-color\" content=\"#ffffff\">
<meta name=\"google-site-verification\" content=\"BC5-9oXkZhRVo7dozRIvZvdSvBJ4grngDXi5YGVmYLE\" />
{% block stylesheets %} {% endblock %}
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-PP6RN2GT\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) --> {% set tr = app.request.locale|loadTranslation %}
<div class=\"topbar\">
<p>{{ 'topbar_shop'|tr(tr)|raw }}</p>
<a href=\"/{{app.request.locale }}/spectacle/grand-amour\">Découvrir <img src=\"/front/img/espaces-arrow-r-w.svg\" alt=\"spectacle\" /></a>
</div>
<input type=\"hidden\" id=\"menu_min\" value=\"{% block menu_min %}{% endblock %}\" />
<input type=\"hidden\" id=\"menu_max\" value=\"{% block menu_max %}{% endblock %}\" />
<header class=\"shop\">
<a href=\"/{{app.request.locale}}\" class=\"logo\"><img src=\"/front/img/logo-w.svg\" alt=\"{{app_sitename}}\" /></a>
<div class=\"menu-left\">
<div href=\"#\" class=\"locale\">
{{ app.request.locale|upper }}
<ul>
{% if app.request.locale != 'fr' %}<li><a href=\"/fr/{{ (fr_url is defined) ? fr_url : page.slug|getUrl('fr') }}\">FR</a></li>{% endif %}
{% if app.request.locale != 'de' %}<li><a href=\"/de/{{ (de_url is defined) ? de_url : page.slug|getUrl('de') }}\">DE</a></li>{% endif %}
{% if app.request.locale != 'en' %}<li><a href=\"/en/{{ (en_url is defined) ? en_url : page.slug|getUrl('en') }}\">EN</a></li>{% endif %}
</ul>
</div>
<a href=\"/{{app.request.locale}}/mon-compte\"><img width=\"27px\" src=\"/front/img/user-icon.svg\" alt=\"Mon compte\" /></a>
</div>
<div class=\"menu-right\">
<a href=\"/{{app.request.locale }}/boutique/panier\" class=\"cart\">
<img src=\"/front/img/cart.svg\" alt=\"cart\" />
<span class=\"badge\"></span>
</a>
<div class=\"menu-icon\">
<div>
<span></span>
<span></span>
</div>
</div>
</div>
{% block sub_header %}{% endblock %}
{% include 'FrontBundle/Partial/menu.html.twig' %}
{% include 'FrontBundle/Partial/search.html.twig' %}
</header>
{% block body %} {% endblock %}
{% include 'FrontBundle/Partial/resa-resume.html.twig' %}
{# <script src=\"/front/js/preloader.js\"></script> #}
<script src=\"/front/js/bootstrap.min.js\"></script>
<script src=\"/front/js/jquery-3.6.0.min.js\"></script>
{# <script src=\"/front/js/smoothscroll.js\"></script> #}
<script src=\"/front/js/tooltipster.bundle.min.js\"></script>
<script src=\"/front/js/script.js?v={{'now'|date('U')}}\"></script>
<script src=\"/front/js/resa.js?v={{'now'|date('U')}}\"></script>
<script src=\"/front/js/cart.js?v={{'now'|date('U')}}\"></script>
{# <script type=\"text/javascript\" src=\"/front/js/magic_mouse.cdn.min.js\"></script> #}
<script type=\"text/javascript\">
window.addEventListener( \"pageshow\", function ( event ) {
var historyTraversal = event.persisted ||
( typeof window.performance != \"undefined\" &&
window.performance.navigation.type === 2 );
if ( historyTraversal ) {
// Handle page restore.
window.location.reload();
}
});
\$(document).ready(function() {
\$(window).on('beforeunload', function() {
\$('body').hide();
\$(window).scrollTop(0);
});
if( \$('.nav-list .overlay').length > 0 ){
const overlay = document.querySelector('.nav-list .overlay');
const nav_list = document.querySelectorAll('.nav-list ul li');
nav_list.forEach((list) => {
list.addEventListener('mouseover', () => {
let position = list.getBoundingClientRect();
overlay.classList.add('active');
overlay.style.left = position.x + 'px';
overlay.style.top = position.y + 'px';
overlay.style.height = position.height + 'px';
overlay.style.width = position.width + 'px';
});
list.addEventListener('mouseout', () => {
overlay.classList.remove('active');
});
});
}
});
function hoverList(list){
if( \$('.nav-list .overlay').length > 0 ){
const overlay = document.querySelector('.nav-list .overlay');
let position = list.getBoundingClientRect();
overlay.classList.add('active');
overlay.style.left = position.x + 'px';
overlay.style.top = position.y + 'px';
overlay.style.height = position.height + 'px';
overlay.style.width = position.width + 'px';
}
}
setTimeout( function(){hoverList(document.querySelector('.nav-list ul li.active'));} , 500);
\$('.nav-list ul li').on('mouseover', function(){
\$('.nav-list ul li').removeClass('hover');
\$(this).addClass('hover');
});
</script>
{% block javascripts %} {% endblock %}
</body>
</html>", "FrontBundle/layout_shop.html.twig", "/home/clients/3cdd021c67ffcc8186b679e7845b2138/sites/api-royal-palace.dix-demo.fr/13_06_24/templates/FrontBundle/layout_shop.html.twig");
}
}