var/cache/dev/twig/33/33384e69208712bf94afe0b6e8843785.php line 165

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @SyliusShop/layout.html.twig */
  14. class __TwigTemplate_c00e3b017fb058332e0b4186b8dbd155 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'metatags' => [$this'block_metatags'],
  26.             'stylesheets' => [$this'block_stylesheets'],
  27.             'top' => [$this'block_top'],
  28.             'header' => [$this'block_header'],
  29.             'content' => [$this'block_content'],
  30.             'footer' => [$this'block_footer'],
  31.             'javascripts' => [$this'block_javascripts'],
  32.         ];
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/layout.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/layout.html.twig"));
  41.         // line 1
  42.         echo "<!DOCTYPE html>
  43. <html lang=\"";
  44.         // line 2
  45.         echo twig_escape_filter($this->envtwig_slice($this->envtwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse2), "locale", [], "any"falsefalsefalse2), 02), "html"nulltrue);
  46.         echo "\">
  47.     <head>
  48.         <meta charset=\"utf-8\">
  49.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  50.         ";
  51.         // line 7
  52.         $context["_title_no_tag"] = ((        $this->hasBlock("title_no_tag"$context$blocks)) ? (        $this->renderBlock("title_no_tag"$context$blocks)) : (""));
  53.         // line 8
  54.         echo "
  55.         ";
  56.         // line 9
  57.         if ( !twig_test_empty((isset($context["_title_no_tag"]) || array_key_exists("_title_no_tag"$context) ? $context["_title_no_tag"] : (function () { throw new RuntimeError('Variable "_title_no_tag" does not exist.'9$this->source); })()))) {
  58.             // line 10
  59.             echo "            ";
  60.             echo (isset($context["_title_no_tag"]) || array_key_exists("_title_no_tag"$context) ? $context["_title_no_tag"] : (function () { throw new RuntimeError('Variable "_title_no_tag" does not exist.'10$this->source); })());
  61.             echo "
  62.         ";
  63.         } else {
  64.             // line 12
  65.             echo "            <title> ";
  66.             $this->displayBlock('title'$context$blocks);
  67.             echo "</title>
  68.         ";
  69.         }
  70.         // line 14
  71.         echo "
  72.         ";
  73.         // line 15
  74.         echo $this->extensions['App\Twig\Extensions\GoogleTagManager\GoogleTagManagerExtension']->getGoogleTagManagerDatalayer();
  75.         echo "
  76.         <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  77.     ";
  78.         // line 18
  79.         $this->displayBlock('metatags'$context$blocks);
  80.         // line 27
  81.         echo "    ";
  82.         $context["canonicalList"] = $this->extensions['App\Twig\Extensions\Canonical\CanonicalExtension']->getCanonicalLink(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'27$this->source); })()), "request", [], "any"falsefalsefalse27));
  83.         // line 28
  84.         echo "    ";
  85.         if ( !(null === (isset($context["canonicalList"]) || array_key_exists("canonicalList"$context) ? $context["canonicalList"] : (function () { throw new RuntimeError('Variable "canonicalList" does not exist.'28$this->source); })()))) {
  86.             // line 29
  87.             echo "        <link rel=\"canonical\" href=\"";
  88.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["canonicalList"]) || array_key_exists("canonicalList"$context) ? $context["canonicalList"] : (function () { throw new RuntimeError('Variable "canonicalList" does not exist.'29$this->source); })()), twig_get_attribute($this->env$this->source, (isset($context["sylius"]) || array_key_exists("sylius"$context) ? $context["sylius"] : (function () { throw new RuntimeError('Variable "sylius" does not exist.'29$this->source); })()), "localeCode", [], "any"falsefalsefalse29), [], "array"falsefalsefalse29), "html"nulltrue);
  89.             echo "\" />
  90.     ";
  91.         }
  92.         // line 31
  93.         echo "    ";
  94.         $context['_parent'] = $context;
  95.         $context['_seq'] = twig_ensure_traversable((isset($context["canonicalList"]) || array_key_exists("canonicalList"$context) ? $context["canonicalList"] : (function () { throw new RuntimeError('Variable "canonicalList" does not exist.'31$this->source); })()));
  96.         foreach ($context['_seq'] as $context["key"] => $context["value"]) {
  97.             // line 32
  98.             echo "        <link rel=\"alternate\" href=\"";
  99.             echo twig_escape_filter($this->env$context["value"], "html"nulltrue);
  100.             echo "\" hreflang=\"";
  101.             echo twig_escape_filter($this->envtwig_replace_filter($context["key"], ["_" => "-"]), "html"nulltrue);
  102.             echo "\" />
  103.     ";
  104.         }
  105.         $_parent $context['_parent'];
  106.         unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
  107.         $context array_intersect_key($context$_parent) + $_parent;
  108.         // line 34
  109.         echo "        <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  110.         ";
  111.         // line 36
  112.         $this->displayBlock('stylesheets'$context$blocks);
  113.         // line 40
  114.         echo "
  115.         ";
  116.         // line 41
  117.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.head");
  118.         echo "
  119.     </head>
  120.     <body class=\"body-";
  121.         // line 45
  122.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'45$this->source); })()), "request", [], "any"falsefalsefalse45), "attributes", [], "any"falsefalsefalse45), "get", [=> "_route"], "method"falsefalsefalse45), "html"nulltrue);
  123.         echo "\">
  124.         ";
  125.         // line 46
  126.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.before_body");
  127.         echo "
  128.         ";
  129.         // line 47
  130.         $this->displayBlock('top'$context$blocks);
  131.         // line 59
  132.         echo "        <main class=\"big-wrapper\">
  133.             <div class=\"menu-mob-overlay\"></div>
  134.             ";
  135.         // line 61
  136.         $this->displayBlock('header'$context$blocks);
  137.         // line 82
  138.         echo "
  139.             <div class=\"main-content page-content\">
  140.                 <div class=\"container p-lg-0 my-0\">";
  141.         // line 84
  142.         $this->loadTemplate("@SyliusShop/_flashes.html.twig""@SyliusShop/layout.html.twig"84)->display($context);
  143.         echo "</div>
  144.                 ";
  145.         // line 85
  146.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.before_content");
  147.         echo "
  148.                 ";
  149.         // line 87
  150.         $this->displayBlock('content'$context$blocks);
  151.         // line 89
  152.         echo "
  153.                 ";
  154.         // line 92
  155.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.after_content");
  156.         echo "
  157.             </div>
  158.             ";
  159.         // line 96
  160.         $this->displayBlock('footer'$context$blocks);
  161.         // line 99
  162.         echo "
  163.             ";
  164.         // line 100
  165.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.after_body");
  166.         echo "
  167.             <div class=\"bloc-help text-white d-block d-lg-none\">
  168.                 <div class=\" font-18  bg-sce\">
  169.                     <div class=\"font-aller-bold font-18 font-18-mobile\">Besoin d'aide?</div>
  170.                     <div>
  171.                         <a href=\"tel:0385338969\" class=\"font-20-mobile font-20  p-nomargin color-pink-s font-weight-medium\"><p>06 20 15 80 43 </p> </a>
  172.                     </div>  
  173.                 </div>  
  174.             </div>
  175.             <div class=\"loading-overlay\" data-js-loading-overlay>
  176.                 <div class=\"spinner-border\" role=\"status\">
  177.                     <span class=\"sr-only\">Loading...</span>
  178.                 </div>
  179.             </div>
  180.         </main>
  181.         
  182.         <div class=\"goToTop\"><img src=\"";
  183.         // line 117
  184.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/top_go.png"), "html"nulltrue);
  185.         echo "\" alt=\"\" /></div>
  186.         ";
  187.         // line 120
  188.         $this->loadTemplate("@CHCookieConsent/cookie_consent_styling.html.twig""@SyliusShop/layout.html.twig"120)->display($context);
  189.         // line 121
  190.         echo "        ";
  191.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragmentStrategy("esi"$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("ch_cookie_consent.show", ["locale" => twig_get_attribute($this->env$this->source, (isset($context["sylius"]) || array_key_exists("sylius"$context) ? $context["sylius"] : (function () { throw new RuntimeError('Variable "sylius" does not exist.'121$this->source); })()), "localeCode", [], "any"falsefalsefalse121)]));
  192.         echo "
  193.         ";
  194.         // line 123
  195.         $this->displayBlock('javascripts'$context$blocks);
  196.         // line 126
  197.         echo "    </body>
  198. </html>
  199. ";
  200.         
  201.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  202.         
  203.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  204.     }
  205.     // line 12
  206.     public function block_title($context, array $blocks = [])
  207.     {
  208.         $macros $this->macros;
  209.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  210.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  211.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  212.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  213.         $this->loadTemplate("@DediSyliusSEOPlugin/Shop/Header/_title.html.twig""@SyliusShop/layout.html.twig"12)->display(twig_array_merge($context, ["resource" => (($context["product"]) ?? (twig_get_attribute($this->env$this->source, (isset($context["sylius"]) || array_key_exists("sylius"$context) ? $context["sylius"] : (function () { throw new RuntimeError('Variable "sylius" does not exist.'12$this->source); })()), "channel", [], "any"falsefalsefalse12)))]));
  214.         
  215.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  216.         
  217.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  218.     }
  219.     // line 18
  220.     public function block_metatags($context, array $blocks = [])
  221.     {
  222.         $macros $this->macros;
  223.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  224.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  225.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  226.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  227.         // line 19
  228.         echo "        ";
  229.         $context["metaDescription"] = $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("dedi_sylius_seo_plugin.metatags", ["resource" => (($context["product"]) ?? (twig_get_attribute($this->env$this->source, (isset($context["sylius"]) || array_key_exists("sylius"$context) ? $context["sylius"] : (function () { throw new RuntimeError('Variable "sylius" does not exist.'19$this->source); })()), "channel", [], "any"falsefalsefalse19)))]);
  230.         // line 20
  231.         echo "        ";
  232.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("dedi_sylius_seo_plugin.rich_snippets");
  233.         echo "
  234.         ";
  235.         // line 21
  236.         if (twig_test_empty((isset($context["metaDescription"]) || array_key_exists("metaDescription"$context) ? $context["metaDescription"] : (function () { throw new RuntimeError('Variable "metaDescription" does not exist.'21$this->source); })()))) {
  237.             // line 22
  238.             echo "            <meta name=\"description\" content=\"";
  239.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["sylius"]) || array_key_exists("sylius"$context) ? $context["sylius"] : (function () { throw new RuntimeError('Variable "sylius" does not exist.'22$this->source); })()), "channel", [], "any"falsefalsefalse22), "description", [], "any"falsefalsefalse22), "html"nulltrue);
  240.             echo "\">
  241.         ";
  242.         } else {
  243.             // line 24
  244.             echo "            ";
  245.             echo (isset($context["metaDescription"]) || array_key_exists("metaDescription"$context) ? $context["metaDescription"] : (function () { throw new RuntimeError('Variable "metaDescription" does not exist.'24$this->source); })());
  246.             echo "
  247.         ";
  248.         }
  249.         // line 26
  250.         echo "    ";
  251.         
  252.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  253.         
  254.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  255.     }
  256.     // line 36
  257.     public function block_stylesheets($context, array $blocks = [])
  258.     {
  259.         $macros $this->macros;
  260.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  261.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  262.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  263.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  264.         // line 37
  265.         echo "            <link rel=\"stylesheet\" href=\"https://use.typekit.net/icm3oad.css\">
  266.             ";
  267.         // line 38
  268.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.stylesheets");
  269.         echo "
  270.         ";
  271.         
  272.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  273.         
  274.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  275.     }
  276.     // line 47
  277.     public function block_top($context, array $blocks = [])
  278.     {
  279.         $macros $this->macros;
  280.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  281.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""top"));
  282.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  283.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""top"));
  284.         // line 53
  285.         echo "
  286. ";
  287.         // line 58
  288.         echo "        ";
  289.         
  290.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  291.         
  292.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  293.     }
  294.     // line 61
  295.     public function block_header($context, array $blocks = [])
  296.     {
  297.         $macros $this->macros;
  298.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  299.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  300.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  301.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  302.         // line 62
  303.         echo "
  304.                 <header class=\"header-body\">
  305.                 ";
  306.         // line 64
  307.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.header");
  308.         echo "
  309.                 </header>
  310.                 ";
  311.         // line 68
  312.         echo "                ";
  313.         $context["popups"] = $this->extensions['App\Twig\Extensions\Popup\PopupExtension']->getCurrentPagePopup(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'68$this->source); })()), "request", [], "any"falsefalsefalse68), "get", [=> "_route"], "method"falsefalsefalse68), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'68$this->source); })()), "request", [], "any"falsefalsefalse68), "attributes", [], "any"falsefalsefalse68), "get", [=> "_route_params"], "method"falsefalsefalse68));
  314.         // line 69
  315.         echo "                ";
  316.         $context["existPopup"] = false;
  317.         // line 70
  318.         echo "                ";
  319.         $context['_parent'] = $context;
  320.         $context['_seq'] = twig_ensure_traversable((isset($context["popups"]) || array_key_exists("popups"$context) ? $context["popups"] : (function () { throw new RuntimeError('Variable "popups" does not exist.'70$this->source); })()));
  321.         $context['loop'] = [
  322.           'parent' => $context['_parent'],
  323.           'index0' => 0,
  324.           'index'  => 1,
  325.           'first'  => true,
  326.         ];
  327.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  328.             $length count($context['_seq']);
  329.             $context['loop']['revindex0'] = $length 1;
  330.             $context['loop']['revindex'] = $length;
  331.             $context['loop']['length'] = $length;
  332.             $context['loop']['last'] = === $length;
  333.         }
  334.         foreach ($context['_seq'] as $context["_key"] => $context["popup"]) {
  335.             // line 71
  336.             echo "                    ";
  337.             $context["existPopup"] = true;
  338.             // line 72
  339.             echo "                    ";
  340.             $this->loadTemplate("@SyliusShop/_popup.html.twig""@SyliusShop/layout.html.twig"72)->display(twig_array_merge($context, ["popup" => $context["popup"]]));
  341.             // line 73
  342.             echo "                ";
  343.             ++$context['loop']['index0'];
  344.             ++$context['loop']['index'];
  345.             $context['loop']['first'] = false;
  346.             if (isset($context['loop']['length'])) {
  347.                 --$context['loop']['revindex0'];
  348.                 --$context['loop']['revindex'];
  349.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  350.             }
  351.         }
  352.         $_parent $context['_parent'];
  353.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['popup'], $context['_parent'], $context['loop']);
  354.         $context array_intersect_key($context$_parent) + $_parent;
  355.         // line 74
  356.         echo "                ";
  357.         if ((isset($context["existPopup"]) || array_key_exists("existPopup"$context) ? $context["existPopup"] : (function () { throw new RuntimeError('Variable "existPopup" does not exist.'74$this->source); })())) {
  358.             // line 75
  359.             echo "                    ";
  360.             echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("popup"null"bootstrapTheme");
  361.             echo "
  362.                 ";
  363.         }
  364.         // line 77
  365.         echo "                ";
  366.         // line 78
  367.         echo "
  368.                 ";
  369.         // line 79
  370.         $this->loadTemplate("@SyliusShop/Product/_popupAddToCart.html.twig""@SyliusShop/layout.html.twig"79)->display($context);
  371.         // line 80
  372.         echo "
  373.             ";
  374.         
  375.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  376.         
  377.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  378.     }
  379.     // line 87
  380.     public function block_content($context, array $blocks = [])
  381.     {
  382.         $macros $this->macros;
  383.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  384.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  385.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  386.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  387.         // line 88
  388.         echo "                ";
  389.         
  390.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  391.         
  392.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  393.     }
  394.     // line 96
  395.     public function block_footer($context, array $blocks = [])
  396.     {
  397.         $macros $this->macros;
  398.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  399.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  400.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  401.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  402.         // line 97
  403.         echo "                ";
  404.         $this->loadTemplate("@SyliusShop/_footer.html.twig""@SyliusShop/layout.html.twig"97)->display($context);
  405.         // line 98
  406.         echo "            ";
  407.         
  408.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  409.         
  410.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  411.     }
  412.     // line 123
  413.     public function block_javascripts($context, array $blocks = [])
  414.     {
  415.         $macros $this->macros;
  416.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  417.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  418.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  419.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  420.         // line 124
  421.         echo "            ";
  422.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.javascripts");
  423.         echo "
  424.         ";
  425.         
  426.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  427.         
  428.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  429.     }
  430.     public function getTemplateName()
  431.     {
  432.         return "@SyliusShop/layout.html.twig";
  433.     }
  434.     public function isTraitable()
  435.     {
  436.         return false;
  437.     }
  438.     public function getDebugInfo()
  439.     {
  440.         return array (  485 => 124,  475 => 123,  465 => 98,  462 => 97,  452 => 96,  442 => 88,  432 => 87,  421 => 80,  419 => 79,  416 => 78,  414 => 77,  408 => 75,  405 => 74,  391 => 73,  388 => 72,  385 => 71,  367 => 70,  364 => 69,  361 => 68,  355 => 64,  351 => 62,  341 => 61,  331 => 58,  328 => 53,  318 => 47,  306 => 38,  303 => 37,  293 => 36,  283 => 26,  277 => 24,  271 => 22,  269 => 21,  264 => 20,  261 => 19,  251 => 18,  232 => 12,  220 => 126,  218 => 123,  212 => 121,  210 => 120,  204 => 117,  184 => 100,  181 => 99,  179 => 96,  172 => 92,  167 => 89,  165 => 87,  160 => 85,  156 => 84,  152 => 82,  150 => 61,  146 => 59,  144 => 47,  140 => 46,  136 => 45,  129 => 41,  126 => 40,  124 => 36,  120 => 34,  109 => 32,  104 => 31,  98 => 29,  95 => 28,  92 => 27,  90 => 18,  84 => 15,  81 => 14,  75 => 12,  69 => 10,  67 => 9,  64 => 8,  62 => 7,  54 => 2,  51 => 1,);
  441.     }
  442.     public function getSourceContext()
  443.     {
  444.         return new Source("<!DOCTYPE html>
  445. <html lang=\"{{ app.request.locale|slice(0, 2) }}\">
  446.     <head>
  447.         <meta charset=\"utf-8\">
  448.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  449.         {% set _title_no_tag = block('title_no_tag') ?? '' %}
  450.         {% if _title_no_tag is not empty %}
  451.             {{ _title_no_tag|raw }}
  452.         {% else %}
  453.             <title> {% block title %}{% include '@DediSyliusSEOPlugin/Shop/Header/_title.html.twig' with { 'resource': product ?? sylius.channel } %}{% endblock %}</title>
  454.         {% endif %}
  455.         {{ app_get_google_tag_manager_datalayer() }}
  456.         <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  457.     {% block metatags %}
  458.         {% set metaDescription = sylius_template_event('dedi_sylius_seo_plugin.metatags', { resource: product ?? sylius.channel }) %}
  459.         {{ sylius_template_event('dedi_sylius_seo_plugin.rich_snippets') }}
  460.         {% if metaDescription is empty %}
  461.             <meta name=\"description\" content=\"{{ sylius.channel.description }}\">
  462.         {% else %}
  463.             {{ metaDescription|raw }}
  464.         {% endif %}
  465.     {% endblock %}
  466.     {% set canonicalList = app_get_canonical_link(app.request) %}
  467.     {% if canonicalList is not null %}
  468.         <link rel=\"canonical\" href=\"{{ canonicalList[sylius.localeCode] }}\" />
  469.     {% endif %}
  470.     {% for key,value in canonicalList %}
  471.         <link rel=\"alternate\" href=\"{{ value }}\" hreflang=\"{{ key|replace({ '_': \"-\"}) }}\" />
  472.     {% endfor %}
  473.         <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  474.         {% block stylesheets %}
  475.             <link rel=\"stylesheet\" href=\"https://use.typekit.net/icm3oad.css\">
  476.             {{ sylius_template_event('sylius.shop.layout.stylesheets') }}
  477.         {% endblock %}
  478.         {{ sylius_template_event('sylius.shop.layout.head') }}
  479.     </head>
  480.     <body class=\"body-{{app.request.attributes.get('_route')}}\">
  481.         {{ sylius_template_event('sylius.shop.layout.before_body') }}
  482.         {% block top %}
  483. {#            a remettre si on veut gerer les switch de langue & de channel#}
  484. {#            <nav class=\"bg-dark navbar navbar-expand-lg\">#}
  485. {#                <button class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarTop\" aria-controls=\"navbarSupportedContent\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">#}
  486. {#                    <span class=\"navbar-toggler-icon\"></span>#}
  487. {#                </button>#}
  488. {#                <div class=\"collapse navbar-collapse\" id=\"navbarTop\">#}
  489. {#                    {{ sylius_template_event('sylius.shop.layout.topbar') }}#}
  490. {#                </div>#}
  491. {#            </nav>#}
  492.         {% endblock %}
  493.         <main class=\"big-wrapper\">
  494.             <div class=\"menu-mob-overlay\"></div>
  495.             {% block header %}
  496.                 <header class=\"header-body\">
  497.                 {{ sylius_template_event('sylius.shop.layout.header') }}
  498.                 </header>
  499.                 {#  --- BEGIN POPUP ADMINISTRABLE ---  #}
  500.                 {% set popups = app_get_current_page_popup(app.request.get('_route'), app.request.attributes.get('_route_params')) %}
  501.                 {% set existPopup = false %}
  502.                 {% for popup in popups %}
  503.                     {% set existPopup = true %}
  504.                     {% include '@SyliusShop/_popup.html.twig' with { popup: popup } %}
  505.                 {% endfor %}
  506.                 {% if existPopup %}
  507.                     {{ encore_entry_script_tags('popup', null, 'bootstrapTheme') }}
  508.                 {% endif %}
  509.                 {#  --- END POPUP ADMINISTRABLE  ---  #}
  510.                 {% include '@SyliusShop/Product/_popupAddToCart.html.twig'  %}
  511.             {% endblock %}
  512.             <div class=\"main-content page-content\">
  513.                 <div class=\"container p-lg-0 my-0\">{% include '@SyliusShop/_flashes.html.twig' %}</div>
  514.                 {{ sylius_template_event('sylius.shop.layout.before_content') }}
  515.                 {% block content %}
  516.                 {% endblock %}
  517.                 {{ sylius_template_event('sylius.shop.layout.after_content') }}
  518.             </div>
  519.             {% block footer %}
  520.                 {% include '@SyliusShop/_footer.html.twig' %}
  521.             {% endblock %}
  522.             {{ sylius_template_event('sylius.shop.layout.after_body') }}
  523.             <div class=\"bloc-help text-white d-block d-lg-none\">
  524.                 <div class=\" font-18  bg-sce\">
  525.                     <div class=\"font-aller-bold font-18 font-18-mobile\">Besoin d'aide?</div>
  526.                     <div>
  527.                         <a href=\"tel:0385338969\" class=\"font-20-mobile font-20  p-nomargin color-pink-s font-weight-medium\"><p>06 20 15 80 43 </p> </a>
  528.                     </div>  
  529.                 </div>  
  530.             </div>
  531.             <div class=\"loading-overlay\" data-js-loading-overlay>
  532.                 <div class=\"spinner-border\" role=\"status\">
  533.                     <span class=\"sr-only\">Loading...</span>
  534.                 </div>
  535.             </div>
  536.         </main>
  537.         
  538.         <div class=\"goToTop\"><img src=\"{{ asset('images/top_go.png')}}\" alt=\"\" /></div>
  539.         {% include \"@CHCookieConsent/cookie_consent_styling.html.twig\" %}
  540.         {{ render_esi(path('ch_cookie_consent.show', { 'locale' : sylius.localeCode })) }}
  541.         {% block javascripts %}
  542.             {{ sylius_template_event('sylius.shop.layout.javascripts') }}
  543.         {% endblock %}
  544.     </body>
  545. </html>
  546. ""@SyliusShop/layout.html.twig""/var/www/html/themes/BootstrapTheme/templates/bundles/SyliusShopBundle/layout.html.twig");
  547.     }
  548. }