var/cache/dev/twig/b1/b165c9dc0ff07990345a7cf29afdc281.php line 105

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