var/cache/dev/twig/ca/ca53798656471c76e6b6787d9822b34e.php line 249

  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_35cc1a38439472ca140215eed1a8438b extends 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 3
  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.'3$this->source); })()), "request", [], "any"falsefalsefalse3), "locale", [], "any"falsefalsefalse3), 02), "html"nulltrue);
  46.         echo "\">
  47. <head>
  48.     <meta charset=\"utf-8\">
  49.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  50.     <title>";
  51.         // line 8
  52.         $this->displayBlock('title'$context$blocks);
  53.         echo "</title>
  54.     <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  55.     <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  56.     <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  57.     <link href=\"https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap\" rel=\"stylesheet\">
  58.     ";
  59.         // line 15
  60.         $this->displayBlock('metatags'$context$blocks);
  61.         // line 17
  62.         echo "
  63.     ";
  64.         // line 18
  65.         $this->displayBlock('stylesheets'$context$blocks);
  66.         // line 21
  67.         echo "
  68.     ";
  69.         // line 22
  70.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.head");
  71.         echo "
  72. </head>
  73. <body class=\"pushable\">
  74. ";
  75.         // line 26
  76.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.before_body");
  77.         echo "
  78. <div class=\"pusher\" data-route=\"";
  79.         // line 27
  80.         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.'27$this->source); })()), "request", [], "any"falsefalsefalse27), "get", [=> "_route"], "method"falsefalsefalse27), "html"nulltrue);
  81.         echo "\">
  82.     ";
  83.         // line 28
  84.         $this->displayBlock('top'$context$blocks);
  85.         // line 34
  86.         echo "
  87.     <div class=\"ui container\">
  88.         ";
  89.         // line 36
  90.         $this->displayBlock('header'$context$blocks);
  91.         // line 41
  92.         echo "
  93.         ";
  94.         // line 42
  95.         $this->loadTemplate("@SyliusShop/_flashes.html.twig""@SyliusShop/layout.html.twig"42)->display($context);
  96.         // line 43
  97.         echo "
  98.         ";
  99.         // line 44
  100.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.before_content");
  101.         echo "
  102.         ";
  103.         // line 46
  104.         $this->displayBlock('content'$context$blocks);
  105.         // line 48
  106.         echo "
  107.         ";
  108.         // line 49
  109.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.after_content");
  110.         echo "
  111.     </div>
  112.     ";
  113.         // line 52
  114.         $this->displayBlock('footer'$context$blocks);
  115.         // line 55
  116.         echo "</div>
  117. ";
  118.         // line 57
  119.         $this->displayBlock('javascripts'$context$blocks);
  120.         // line 60
  121.         echo "
  122. ";
  123.         // line 61
  124.         $this->loadTemplate("@SyliusUi/Modal/_confirmation.html.twig""@SyliusShop/layout.html.twig"61)->display($context);
  125.         // line 62
  126.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.after_body");
  127.         echo "
  128. </body>
  129. </html>
  130. ";
  131.         
  132.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  133.         
  134.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  135.     }
  136.     // line 8
  137.     public function block_title($context, array $blocks = [])
  138.     {
  139.         $macros $this->macros;
  140.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  141.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  142.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  143.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  144.         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.'8$this->source); })()), "channel", [], "any"falsefalsefalse8), "name", [], "any"falsefalsefalse8), "html"nulltrue);
  145.         
  146.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  147.         
  148.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  149.     }
  150.     // line 15
  151.     public function block_metatags($context, array $blocks = [])
  152.     {
  153.         $macros $this->macros;
  154.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  155.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  156.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  157.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  158.         // line 16
  159.         echo "    ";
  160.         
  161.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  162.         
  163.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  164.     }
  165.     // line 18
  166.     public function block_stylesheets($context, array $blocks = [])
  167.     {
  168.         $macros $this->macros;
  169.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  170.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  171.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  172.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  173.         // line 19
  174.         echo "        ";
  175.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.stylesheets");
  176.         echo "
  177.     ";
  178.         
  179.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  180.         
  181.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  182.     }
  183.     // line 28
  184.     public function block_top($context, array $blocks = [])
  185.     {
  186.         $macros $this->macros;
  187.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  188.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""top"));
  189.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  190.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""top"));
  191.         // line 29
  192.         echo "        <div id=\"menu\" class=\"top-menu\">
  193.             <a href=\"#\" class=\"top-menu__link\">";
  194.         // line 30
  195.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.top_bar"), "html"nulltrue);
  196.         echo "</a>
  197.             <div class=\"top-bar\">";
  198.         // line 31
  199.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.topbar");
  200.         echo "</div>
  201.         </div>
  202.     ";
  203.         
  204.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  205.         
  206.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  207.     }
  208.     // line 36
  209.     public function block_header($context, array $blocks = [])
  210.     {
  211.         $macros $this->macros;
  212.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  213.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  214.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  215.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  216.         // line 37
  217.         echo "            <header>
  218.                 ";
  219.         // line 38
  220.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.header");
  221.         echo "
  222.             </header>
  223.         ";
  224.         
  225.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  226.         
  227.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  228.     }
  229.     // line 46
  230.     public function block_content($context, array $blocks = [])
  231.     {
  232.         $macros $this->macros;
  233.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  234.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  235.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  236.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  237.         // line 47
  238.         echo "        ";
  239.         
  240.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  241.         
  242.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  243.     }
  244.     // line 52
  245.     public function block_footer($context, array $blocks = [])
  246.     {
  247.         $macros $this->macros;
  248.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  249.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  250.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  251.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  252.         // line 53
  253.         echo "        ";
  254.         $this->loadTemplate("@SyliusShop/_footer.html.twig""@SyliusShop/layout.html.twig"53)->display($context);
  255.         // line 54
  256.         echo "    ";
  257.         
  258.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  259.         
  260.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  261.     }
  262.     // line 57
  263.     public function block_javascripts($context, array $blocks = [])
  264.     {
  265.         $macros $this->macros;
  266.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  267.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  268.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  269.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  270.         // line 58
  271.         echo "    ";
  272.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.javascripts");
  273.         echo "
  274. ";
  275.         
  276.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  277.         
  278.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  279.     }
  280.     public function getTemplateName()
  281.     {
  282.         return "@SyliusShop/layout.html.twig";
  283.     }
  284.     public function isTraitable()
  285.     {
  286.         return false;
  287.     }
  288.     public function getDebugInfo()
  289.     {
  290.         return array (  328 => 58,  318 => 57,  308 => 54,  305 => 53,  295 => 52,  285 => 47,  275 => 46,  262 => 38,  259 => 37,  249 => 36,  236 => 31,  232 => 30,  229 => 29,  219 => 28,  206 => 19,  196 => 18,  186 => 16,  176 => 15,  157 => 8,  143 => 62,  141 => 61,  138 => 60,  136 => 57,  132 => 55,  130 => 52,  124 => 49,  121 => 48,  119 => 46,  114 => 44,  111 => 43,  109 => 42,  106 => 41,  104 => 36,  100 => 34,  98 => 28,  94 => 27,  90 => 26,  83 => 22,  80 => 21,  78 => 18,  75 => 17,  73 => 15,  63 => 8,  55 => 3,  51 => 1,);
  291.     }
  292.     public function getSourceContext()
  293.     {
  294.         return new Source("<!DOCTYPE html>
  295. <html lang=\"{{ app.request.locale|slice(0, 2) }}\">
  296. <head>
  297.     <meta charset=\"utf-8\">
  298.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  299.     <title>{% block title %}{{ sylius.channel.name }}{% endblock %}</title>
  300.     <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  301.     <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  302.     <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  303.     <link href=\"https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap\" rel=\"stylesheet\">
  304.     {% block metatags %}
  305.     {% endblock %}
  306.     {% block stylesheets %}
  307.         {{ sylius_template_event('sylius.shop.layout.stylesheets') }}
  308.     {% endblock %}
  309.     {{ sylius_template_event('sylius.shop.layout.head') }}
  310. </head>
  311. <body class=\"pushable\">
  312. {{ sylius_template_event('sylius.shop.layout.before_body') }}
  313. <div class=\"pusher\" data-route=\"{{ app.request.get('_route') }}\">
  314.     {% block top %}
  315.         <div id=\"menu\" class=\"top-menu\">
  316.             <a href=\"#\" class=\"top-menu__link\">{{ 'sylius.top_bar'|trans }}</a>
  317.             <div class=\"top-bar\">{{ sylius_template_event('sylius.shop.layout.topbar') }}</div>
  318.         </div>
  319.     {% endblock %}
  320.     <div class=\"ui container\">
  321.         {% block header %}
  322.             <header>
  323.                 {{ sylius_template_event('sylius.shop.layout.header') }}
  324.             </header>
  325.         {% endblock %}
  326.         {% include '@SyliusShop/_flashes.html.twig' %}
  327.         {{ sylius_template_event('sylius.shop.layout.before_content') }}
  328.         {% block content %}
  329.         {% endblock %}
  330.         {{ sylius_template_event('sylius.shop.layout.after_content') }}
  331.     </div>
  332.     {% block footer %}
  333.         {% include '@SyliusShop/_footer.html.twig' %}
  334.     {% endblock %}
  335. </div>
  336. {% block javascripts %}
  337.     {{ sylius_template_event('sylius.shop.layout.javascripts') }}
  338. {% endblock %}
  339. {% include '@SyliusUi/Modal/_confirmation.html.twig' %}
  340. {{ sylius_template_event('sylius.shop.layout.after_body') }}
  341. </body>
  342. </html>
  343. ""@SyliusShop/layout.html.twig""/var/www/html/kindaka/vendor/sylius/sylius/src/Sylius/Bundle/ShopBundle/Resources/views/layout.html.twig");
  344.     }
  345. }