var/cache/dev/twig/06/0606d6acc34a583d5dd70635211c8340.php line 148

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_4a5301d823570ec3fdb568f80b88bbe6 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.             'seo_title' => [$this'block_seo_title'],
  25.             'seo_metatags' => [$this'block_seo_metatags'],
  26.             'stylesheets' => [$this'block_stylesheets'],
  27.             'messages' => [$this'block_messages'],
  28.             'sidebar' => [$this'block_sidebar'],
  29.             'accountSidebar' => [$this'block_accountSidebar'],
  30.             'top' => [$this'block_top'],
  31.             'header' => [$this'block_header'],
  32.             'content' => [$this'block_content'],
  33.             'footer' => [$this'block_footer'],
  34.             'javascripts' => [$this'block_javascripts'],
  35.             'confirmationModal' => [$this'block_confirmationModal'],
  36.         ];
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = [])
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/layout.html.twig"));
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/layout.html.twig"));
  45.         // line 1
  46.         echo "<!DOCTYPE html>
  47. <html lang=\"";
  48.         // line 3
  49.         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.'3$this->source); })()), "request", [], "any"falsefalsefalse3), "locale", [], "any"falsefalsefalse3), 02), "html"nulltrue);
  50.         echo "\">
  51. <head>
  52.     <meta charset=\"utf-8\">
  53.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  54.     ";
  55.         // line 8
  56.         $this->displayBlock('seo_title'$context$blocks);
  57.         // line 11
  58.         echo "    <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  59.     <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  60.     <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  61.     <link rel=\"icon\" href=\"/favicon.svg\" type=\"image/svg+xml\">
  62.     <link href=\"https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap\" rel=\"stylesheet\">
  63.     ";
  64.         // line 17
  65.         $this->loadTemplate("@SyliusShop/_links.html.twig""@SyliusShop/layout.html.twig"17)->display($context);
  66.         // line 18
  67.         echo "    ";
  68.         $this->displayBlock('seo_metatags'$context$blocks);
  69.         // line 30
  70.         echo "
  71.     ";
  72.         // line 32
  73.         $this->displayBlock('stylesheets'$context$blocks);
  74.         // line 35
  75.         echo "
  76.     ";
  77.         // line 36
  78.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.head");
  79.         echo "
  80. </head>
  81. <body class=\"pushable\">
  82. ";
  83.         // line 40
  84.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragmentStrategy("esi"$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("ch_cookie_consent.show_if_cookie_consent_not_set", ["locale" => 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.'40$this->source); })()), "request", [], "any"falsefalsefalse40), "locale", [], "any"falsefalsefalse40)]));
  85.         echo "
  86. ";
  87.         // line 41
  88.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.before_body");
  89.         echo "
  90. ";
  91.         // line 43
  92.         $this->displayBlock('messages'$context$blocks);
  93.         // line 46
  94.         echo "
  95. ";
  96.         // line 47
  97.         $this->displayBlock('sidebar'$context$blocks);
  98.         // line 52
  99.         echo "
  100. ";
  101.         // line 53
  102.         $this->displayBlock('accountSidebar'$context$blocks);
  103.         // line 60
  104.         echo "
  105. <div class=\"pusher\" data-route=\"";
  106.         // line 61
  107.         echo twig_escape_filter($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.'61$this->source); })()), "request", [], "any"falsefalsefalse61), "get", [=> "_route"], "method"falsefalsefalse61), "html"nulltrue);
  108.         echo "\">
  109.     ";
  110.         // line 62
  111.         $this->displayBlock('top'$context$blocks);
  112.         // line 72
  113.         echo "
  114.     ";
  115.         // line 73
  116.         $this->displayBlock('header'$context$blocks);
  117.         // line 81
  118.         echo "
  119.     <div class=\"ui container\">
  120.         ";
  121.         // line 84
  122.         $this->loadTemplate("@SyliusShop/_flashes.html.twig""@SyliusShop/layout.html.twig"84)->display($context);
  123.         // line 85
  124.         echo "
  125.         ";
  126.         // line 86
  127.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.before_content");
  128.         echo "
  129.         ";
  130.         // line 88
  131.         $this->displayBlock('content'$context$blocks);
  132.         // line 90
  133.         echo "
  134.         ";
  135.         // line 91
  136.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.after_content");
  137.         echo "
  138.     </div>
  139.     ";
  140.         // line 94
  141.         $this->displayBlock('footer'$context$blocks);
  142.         // line 97
  143.         echo "</div>
  144. ";
  145.         // line 99
  146.         $this->displayBlock('javascripts'$context$blocks);
  147.         // line 113
  148.         echo "
  149. ";
  150.         // line 114
  151.         $this->displayBlock('confirmationModal'$context$blocks);
  152.         // line 117
  153.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.after_body");
  154.         echo "
  155. </body>
  156. </html>
  157. ";
  158.         
  159.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  160.         
  161.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  162.     }
  163.     // line 8
  164.     public function block_seo_title($context, array $blocks = [])
  165.     {
  166.         $macros $this->macros;
  167.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  168.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seo_title"));
  169.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  170.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seo_title"));
  171.         // line 9
  172.         echo "        ";
  173.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("dedi_sylius_seo_plugin.title", ["resource" => (($context["product"]) ?? ((($context["taxon"]) ?? ((($context["vendor"]) ?? ((($context["page"]) ?? (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.'9$this->source); })()), "channel", [], "any"falsefalsefalse9)))))))))]);
  174.         echo "
  175.     ";
  176.         
  177.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  178.         
  179.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  180.     }
  181.     // line 18
  182.     public function block_seo_metatags($context, array $blocks = [])
  183.     {
  184.         $macros $this->macros;
  185.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  186.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seo_metatags"));
  187.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  188.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seo_metatags"));
  189.         // line 19
  190.         echo "        ";
  191.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("dedi_sylius_seo_plugin.metatags", ["resource" => (($context["product"]) ?? ((($context["taxon"]) ?? ((($context["vendor"]) ?? ((($context["page"]) ?? (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)))))))))]);
  192.         echo "
  193.         ";
  194.         // line 20
  195.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("dedi_sylius_seo_plugin.rich_snippets");
  196.         echo "
  197.         ";
  198.         // line 22
  199.         $context["resourceToUse"] = ((array_key_exists("taxon"$context)) ? ((isset($context["taxon"]) || array_key_exists("taxon"$context) ? $context["taxon"] : (function () { throw new RuntimeError('Variable "taxon" does not exist.'22$this->source); })())) : (((array_key_exists("vendor"$context)) ? ((isset($context["vendor"]) || array_key_exists("vendor"$context) ? $context["vendor"] : (function () { throw new RuntimeError('Variable "vendor" does not exist.'22$this->source); })())) : (((array_key_exists("page"$context)) ? ((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'22$this->source); })())) : (null))))));
  200.         // line 23
  201.         echo "
  202.         ";
  203.         // line 24
  204.         if ( !(null === (isset($context["resourceToUse"]) || array_key_exists("resourceToUse"$context) ? $context["resourceToUse"] : (function () { throw new RuntimeError('Variable "resourceToUse" does not exist.'24$this->source); })()))) {
  205.             // line 25
  206.             echo "            <script type=\"application/ld+json\">
  207.               ";
  208.             // line 26
  209.             echo twig_replace_filter(json_encode($this->extensions['BitBag\OpenMarketplace\Component\SEO\Extension\SchemaMarkupExtension']->generateSchemaMarkup((isset($context["resourceToUse"]) || array_key_exists("resourceToUse"$context) ? $context["resourceToUse"] : (function () { throw new RuntimeError('Variable "resourceToUse" does not exist.'26$this->source); })())), twig_constant("JSON_PRETTY_PRINT")), ["\\/" => "/"]);
  210.             echo "
  211.             </script>
  212.         ";
  213.         }
  214.         // line 29
  215.         echo "    ";
  216.         
  217.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  218.         
  219.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  220.     }
  221.     // line 32
  222.     public function block_stylesheets($context, array $blocks = [])
  223.     {
  224.         $macros $this->macros;
  225.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  226.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  227.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  228.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  229.         // line 33
  230.         echo "        ";
  231.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.stylesheets");
  232.         echo "
  233.     ";
  234.         
  235.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  236.         
  237.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  238.     }
  239.     // line 43
  240.     public function block_messages($context, array $blocks = [])
  241.     {
  242.         $macros $this->macros;
  243.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  244.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""messages"));
  245.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  246.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""messages"));
  247.         // line 44
  248.         echo "    <div class=\"hyf-messages\"></div>
  249. ";
  250.         
  251.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  252.         
  253.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  254.     }
  255.     // line 47
  256.     public function block_sidebar($context, array $blocks = [])
  257.     {
  258.         $macros $this->macros;
  259.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  260.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  261.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  262.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  263.         // line 48
  264.         echo "    <div class=\"ui right wide sidebar vertical menu overlay mobile-sidebar\">
  265.         ";
  266.         // line 49
  267.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.sidebar");
  268.         echo "
  269.     </div>
  270. ";
  271.         
  272.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  273.         
  274.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  275.     }
  276.     // line 53
  277.     public function block_accountSidebar($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""accountSidebar"));
  282.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  283.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""accountSidebar"));
  284.         // line 54
  285.         echo "    ";
  286.         if ((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.'54$this->source); })()), "user", [], "any"falsefalsefalse54) != null)) {
  287.             // line 55
  288.             echo "        <div class=\"ui left wide sidebar vertical menu overlay mobile-account-sidebar\">
  289.             ";
  290.             // line 56
  291.             $this->loadTemplate("Context/Vendor/Menu/_mobileMenu.html.twig""@SyliusShop/layout.html.twig"56)->display($context);
  292.             // line 57
  293.             echo "        </div>
  294.     ";
  295.         }
  296.         
  297.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  298.         
  299.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  300.     }
  301.     // line 62
  302.     public function block_top($context, array $blocks = [])
  303.     {
  304.         $macros $this->macros;
  305.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  306.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""top"));
  307.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  308.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""top"));
  309.         // line 63
  310.         echo "        <div id=\"menu\" class=\"top-menu bg-white\">
  311.             <div class=\"ui container\">
  312.                 <div class=\"top-bar\">
  313.                     ";
  314.         // line 66
  315.         $this->loadTemplate("@SyliusShop/Layout/Header/_logo.html.twig""@SyliusShop/layout.html.twig"66)->display($context);
  316.         // line 67
  317.         echo "                    ";
  318.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.topbar");
  319.         echo "
  320.                 </div>
  321.             </div>
  322.         </div>
  323.     ";
  324.         
  325.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  326.         
  327.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  328.     }
  329.     // line 73
  330.     public function block_header($context, array $blocks = [])
  331.     {
  332.         $macros $this->macros;
  333.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  334.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  335.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  336.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  337.         // line 74
  338.         echo "        <div class=\"bg-topaz-100\">
  339.             <div class=\"ui container\">
  340.                 ";
  341.         // line 76
  342.         $this->loadTemplate("@SyliusShop/Layout/Header/_menu.html.twig""@SyliusShop/layout.html.twig"76)->display($context);
  343.         // line 77
  344.         echo "            </div>
  345.         </div>
  346.         <div class=\"ui hidden divider\"></div>
  347.     ";
  348.         
  349.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  350.         
  351.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  352.     }
  353.     // line 88
  354.     public function block_content($context, array $blocks = [])
  355.     {
  356.         $macros $this->macros;
  357.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  358.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  359.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  360.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  361.         // line 89
  362.         echo "        ";
  363.         
  364.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  365.         
  366.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  367.     }
  368.     // line 94
  369.     public function block_footer($context, array $blocks = [])
  370.     {
  371.         $macros $this->macros;
  372.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  373.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  374.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  375.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  376.         // line 95
  377.         echo "        ";
  378.         $this->loadTemplate("@SyliusShop/_footer.html.twig""@SyliusShop/layout.html.twig"95)->display($context);
  379.         // line 96
  380.         echo "    ";
  381.         
  382.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  383.         
  384.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  385.     }
  386.     // line 99
  387.     public function block_javascripts($context, array $blocks = [])
  388.     {
  389.         $macros $this->macros;
  390.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  391.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  392.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  393.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  394.         // line 100
  395.         echo "    ";
  396.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.javascripts");
  397.         echo "
  398.     <script>
  399.         const addToCompareSuccessTitle = '";
  400.         // line 103
  401.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.success"), "html"nulltrue);
  402.         echo "';
  403.         const addToCompareSuccess = '";
  404.         // line 104
  405.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.product_compare.added"), "html"nulltrue);
  406.         echo "';
  407.         const addToCompareErrorTitle = '";
  408.         // line 105
  409.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.error"), "html"nulltrue);
  410.         echo "';
  411.         const addToCompareError = '";
  412.         // line 106
  413.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.product_compare.fail"), "html"nulltrue);
  414.         echo "';
  415.         const visitComparisonPage = '";
  416.         // line 107
  417.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.visit_comparison_page"), "html"nulltrue);
  418.         echo "';
  419.         const comparisonPageUrl = '";
  420.         // line 109
  421.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_shop_product_compare_show");
  422.         echo "';
  423.         const addToCompareUrl = '";
  424.         // line 110
  425.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_shop_product_compare_add_to_compare", ["productId" => "{id}"]);
  426.         echo "'
  427.     </script>
  428. ";
  429.         
  430.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  431.         
  432.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  433.     }
  434.     // line 114
  435.     public function block_confirmationModal($context, array $blocks = [])
  436.     {
  437.         $macros $this->macros;
  438.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  439.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""confirmationModal"));
  440.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  441.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""confirmationModal"));
  442.         // line 115
  443.         echo "    ";
  444.         $this->loadTemplate("@SyliusUi/Modal/_confirmation.html.twig""@SyliusShop/layout.html.twig"115)->display($context);
  445.         
  446.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  447.         
  448.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  449.     }
  450.     public function getTemplateName()
  451.     {
  452.         return "@SyliusShop/layout.html.twig";
  453.     }
  454.     public function isTraitable()
  455.     {
  456.         return false;
  457.     }
  458.     public function getDebugInfo()
  459.     {
  460.         return array (  525 => 115,  515 => 114,  502 => 110,  498 => 109,  493 => 107,  489 => 106,  485 => 105,  481 => 104,  477 => 103,  470 => 100,  460 => 99,  450 => 96,  447 => 95,  437 => 94,  427 => 89,  417 => 88,  404 => 77,  402 => 76,  398 => 74,  388 => 73,  372 => 67,  370 => 66,  365 => 63,  355 => 62,  343 => 57,  341 => 56,  338 => 55,  335 => 54,  325 => 53,  312 => 49,  309 => 48,  299 => 47,  288 => 44,  278 => 43,  265 => 33,  255 => 32,  245 => 29,  239 => 26,  236 => 25,  234 => 24,  231 => 23,  229 => 22,  224 => 20,  219 => 19,  209 => 18,  196 => 9,  186 => 8,  172 => 117,  170 => 114,  167 => 113,  165 => 99,  161 => 97,  159 => 94,  153 => 91,  150 => 90,  148 => 88,  143 => 86,  140 => 85,  138 => 84,  133 => 81,  131 => 73,  128 => 72,  126 => 62,  122 => 61,  119 => 60,  117 => 53,  114 => 52,  112 => 47,  109 => 46,  107 => 43,  102 => 41,  98 => 40,  91 => 36,  88 => 35,  86 => 32,  82 => 30,  79 => 18,  77 => 17,  69 => 11,  67 => 8,  59 => 3,  55 => 1,);
  461.     }
  462.     public function getSourceContext()
  463.     {
  464.         return new Source("<!DOCTYPE html>
  465. <html lang=\"{{ app.request.locale|slice(0, 2) }}\">
  466. <head>
  467.     <meta charset=\"utf-8\">
  468.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  469.     {% block seo_title %}
  470.         {{ sylius_template_event('dedi_sylius_seo_plugin.title', { resource: product ?? taxon ?? vendor ?? page ?? sylius.channel }) }}
  471.     {% endblock %}
  472.     <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  473.     <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  474.     <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  475.     <link rel=\"icon\" href=\"/favicon.svg\" type=\"image/svg+xml\">
  476.     <link href=\"https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap\" rel=\"stylesheet\">
  477.     {% include '@SyliusShop/_links.html.twig' %}
  478.     {% block seo_metatags %}
  479.         {{ sylius_template_event('dedi_sylius_seo_plugin.metatags', { resource: product ?? taxon ?? vendor ?? page ?? sylius.channel }) }}
  480.         {{ sylius_template_event('dedi_sylius_seo_plugin.rich_snippets') }}
  481.         {% set resourceToUse = taxon is defined ? taxon : (vendor is defined ? vendor : (page is defined ? page : null)) %}
  482.         {% if resourceToUse is not null %}
  483.             <script type=\"application/ld+json\">
  484.               {{ generate_schema_markup(resourceToUse) | json_encode(constant('JSON_PRETTY_PRINT')) | replace({'\\\\/':'/'}) | raw }}
  485.             </script>
  486.         {% endif %}
  487.     {% endblock %}
  488.     {% block stylesheets %}
  489.         {{ sylius_template_event('sylius.shop.layout.stylesheets') }}
  490.     {% endblock %}
  491.     {{ sylius_template_event('sylius.shop.layout.head') }}
  492. </head>
  493. <body class=\"pushable\">
  494. {{ render_esi(path('ch_cookie_consent.show_if_cookie_consent_not_set', { 'locale' : app.request.locale })) }}
  495. {{ sylius_template_event('sylius.shop.layout.before_body') }}
  496. {% block messages %}
  497.     <div class=\"hyf-messages\"></div>
  498. {% endblock %}
  499. {% block sidebar %}
  500.     <div class=\"ui right wide sidebar vertical menu overlay mobile-sidebar\">
  501.         {{ sylius_template_event('sylius.shop.layout.sidebar') }}
  502.     </div>
  503. {% endblock %}
  504. {% block accountSidebar %}
  505.     {% if app.user != null %}
  506.         <div class=\"ui left wide sidebar vertical menu overlay mobile-account-sidebar\">
  507.             {% include 'Context/Vendor/Menu/_mobileMenu.html.twig' %}
  508.         </div>
  509.     {% endif %}
  510. {% endblock %}
  511. <div class=\"pusher\" data-route=\"{{ app.request.get('_route') }}\">
  512.     {% block top %}
  513.         <div id=\"menu\" class=\"top-menu bg-white\">
  514.             <div class=\"ui container\">
  515.                 <div class=\"top-bar\">
  516.                     {% include \"@SyliusShop/Layout/Header/_logo.html.twig\" %}
  517.                     {{ sylius_template_event('sylius.shop.layout.topbar') }}
  518.                 </div>
  519.             </div>
  520.         </div>
  521.     {% endblock %}
  522.     {% block header %}
  523.         <div class=\"bg-topaz-100\">
  524.             <div class=\"ui container\">
  525.                 {% include '@SyliusShop/Layout/Header/_menu.html.twig' %}
  526.             </div>
  527.         </div>
  528.         <div class=\"ui hidden divider\"></div>
  529.     {% endblock %}
  530.     <div class=\"ui container\">
  531.         {% include '@SyliusShop/_flashes.html.twig' %}
  532.         {{ sylius_template_event('sylius.shop.layout.before_content') }}
  533.         {% block content %}
  534.         {% endblock %}
  535.         {{ sylius_template_event('sylius.shop.layout.after_content') }}
  536.     </div>
  537.     {% block footer %}
  538.         {% include '@SyliusShop/_footer.html.twig' %}
  539.     {% endblock %}
  540. </div>
  541. {% block javascripts %}
  542.     {{ sylius_template_event('sylius.shop.layout.javascripts') }}
  543.     <script>
  544.         const addToCompareSuccessTitle = '{{ 'sylius.ui.success'|trans }}';
  545.         const addToCompareSuccess = '{{ 'app.product_compare.added'|trans }}';
  546.         const addToCompareErrorTitle = '{{ 'sylius.ui.error'|trans }}';
  547.         const addToCompareError = '{{ 'app.product_compare.fail'|trans }}';
  548.         const visitComparisonPage = '{{ 'app.ui.visit_comparison_page'|trans }}';
  549.         const comparisonPageUrl = '{{ path('app_shop_product_compare_show') }}';
  550.         const addToCompareUrl = '{{ url('app_shop_product_compare_add_to_compare', {'productId': '{id}'}) }}'
  551.     </script>
  552. {% endblock %}
  553. {% block confirmationModal %}
  554.     {% include '@SyliusUi/Modal/_confirmation.html.twig' %}
  555. {% endblock %}
  556. {{ sylius_template_event('sylius.shop.layout.after_body') }}
  557. </body>
  558. </html>
  559. ""@SyliusShop/layout.html.twig""/srv/open_marketplace/templates/bundles/SyliusShopBundle/layout.html.twig");
  560.     }
  561. }