var/cache/dev/twig/50/50834a6559ff1b59c2415487aecee281bbd8ee52db4a1662c45a8a8d8f36121b.php line 312

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-large.html.twig */
  14. class __TwigTemplate_9e591621b9501f77615e9afabdeed9e95fb816aa1df5db36e9b620906d6bf693 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.             'head' => [$this'block_head'],
  25.             'title' => [$this'block_title'],
  26.             'metatags' => [$this'block_metatags'],
  27.             'stylesheets' => [$this'block_stylesheets'],
  28.             'header' => [$this'block_header'],
  29.             'banner' => [$this'block_banner'],
  30.             'content' => [$this'block_content'],
  31.             'footer' => [$this'block_footer'],
  32.             'javascripts' => [$this'block_javascripts'],
  33.         ];
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/layout-large.html.twig"));
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/layout-large.html.twig"));
  42.         // line 1
  43.         echo "<!DOCTYPE html>
  44. <html lang=\"";
  45.         // line 3
  46.         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);
  47.         echo "\">
  48. <head>
  49.     ";
  50.         // line 5
  51.         $this->displayBlock('head'$context$blocks);
  52.         // line 44
  53.         echo "</head>
  54. <body class=\"pushable\">
  55.     <!-- Google Tag Manager (noscript) -->
  56.     <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=";
  57.         // line 49
  58.         echo twig_escape_filter($this->env, (isset($context["gtm_code"]) || array_key_exists("gtm_code"$context) ? $context["gtm_code"] : (function () { throw new RuntimeError('Variable "gtm_code" does not exist.'49$this->source); })()), "html"nulltrue);
  59.         echo "\"
  60.     height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  61.     <!-- End Google Tag Manager (noscript) -->
  62.     ";
  63.         // line 53
  64.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.before_body");
  65.         echo "
  66.     <div class=\"pusher\">
  67.         ";
  68.         // line 55
  69.         $this->displayBlock('header'$context$blocks);
  70.         // line 62
  71.         echo "
  72.         <!-- @TODO: load that on certain pages only -->
  73.         ";
  74.         // line 64
  75.         $this->displayBlock('banner'$context$blocks);
  76.         // line 66
  77.         echo "
  78.         ";
  79.         // line 67
  80.         if (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 68
  81. (isset($context["sylius"]) || array_key_exists("sylius"$context) ? $context["sylius"] : (function () { throw new RuntimeError('Variable "sylius" does not exist.'68$this->source); })()), "channel", [], "any"falsefalsefalse68), "code", [], "any"falsefalsefalse68) == "collect") && ((((((((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 70
  82. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'70$this->source); })()), "request", [], "any"falsefalsefalse70), "attributes", [], "any"falsefalsefalse70), "get", [=> "_route"], "method"falsefalsefalse70) == "app_shop_product_search") || (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 71
  83. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'71$this->source); })()), "request", [], "any"falsefalsefalse71), "attributes", [], "any"falsefalsefalse71), "get", [=> "_route"], "method"falsefalsefalse71) == "sylius_shop_product_show")) || (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 72
  84. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'72$this->source); })()), "request", [], "any"falsefalsefalse72), "attributes", [], "any"falsefalsefalse72), "get", [=> "_route"], "method"falsefalsefalse72) == "sylius_shop_cart_summary")) || (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 73
  85. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'73$this->source); })()), "request", [], "any"falsefalsefalse73), "attributes", [], "any"falsefalsefalse73), "get", [=> "_route"], "method"falsefalsefalse73) == "sylius_shop_login")) || (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 74
  86. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'74$this->source); })()), "request", [], "any"falsefalsefalse74), "attributes", [], "any"falsefalsefalse74), "get", [=> "_route"], "method"falsefalsefalse74) == "sylius_shop_register")) || (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 75
  87. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'75$this->source); })()), "request", [], "any"falsefalsefalse75), "attributes", [], "any"falsefalsefalse75), "get", [=> "_route"], "method"falsefalsefalse75) == "sylius_shop_checkout_address")) || (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 76
  88. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'76$this->source); })()), "request", [], "any"falsefalsefalse76), "attributes", [], "any"falsefalsefalse76), "get", [=> "_route"], "method"falsefalsefalse76) == "sylius_shop_checkout_select_shipping")) || (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 77
  89. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'77$this->source); })()), "request", [], "any"falsefalsefalse77), "attributes", [], "any"falsefalsefalse77), "get", [=> "_route"], "method"falsefalsefalse77) == "sylius_shop_checkout_complete")))) {
  90.             // line 79
  91.             echo "            <div class=\"env env-message\">";
  92.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.vousboutique"), "html"nulltrue);
  93.             echo "  ";
  94.             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.'79$this->source); })()), "channel", [], "any"falsefalsefalse79), "name", [], "any"falsefalsefalse79), "html"nulltrue);
  95.             echo "</div>
  96.         ";
  97.         }
  98.         // line 81
  99.         echo "
  100.         <div class=\"container container--large\">
  101.             ";
  102.         // line 83
  103.         $this->loadTemplate("@SyliusShop/_flashes.html.twig""@SyliusShop/layout-large.html.twig"83)->display($context);
  104.         // line 84
  105.         echo "
  106.             ";
  107.         // line 85
  108.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.before_content");
  109.         echo "
  110.             ";
  111.         // line 87
  112.         $this->displayBlock('content'$context$blocks);
  113.         // line 89
  114.         echo "
  115.             ";
  116.         // line 90
  117.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.after_content");
  118.         echo "
  119.         </div>
  120.         ";
  121.         // line 93
  122.         $this->displayBlock('footer'$context$blocks);
  123.         // line 96
  124.         echo "
  125.         ";
  126.         // line 97
  127.         if ((twig_in_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'97$this->source); })()), "request", [], "any"falsefalsefalse97), "attributes", [], "any"falsefalsefalse97), "get", [=> "_route"], "method"falsefalsefalse97), (isset($context["click_and_collect_modal_routes"]) || array_key_exists("click_and_collect_modal_routes"$context) ? $context["click_and_collect_modal_routes"] : (function () { throw new RuntimeError('Variable "click_and_collect_modal_routes" does not exist.'97$this->source); })())) && (twig_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.'97$this->source); })()), "channel", [], "any"falsefalsefalse97), "code", [], "any"falsefalsefalse97) == "collect"))) {
  128.             // line 98
  129.             echo "            ";
  130.             $this->loadTemplate("modal/ClickAndCollectModal.html.twig""@SyliusShop/layout-large.html.twig"98)->display($context);
  131.             // line 99
  132.             echo "        ";
  133.         }
  134.         // line 100
  135.         echo "    </div>
  136.     ";
  137.         // line 102
  138.         $this->loadTemplate("@SyliusUi/Modal/_confirmation.html.twig""@SyliusShop/layout-large.html.twig"102)->display($context);
  139.         // line 103
  140.         echo "
  141.     ";
  142.         // line 104
  143.         $this->displayBlock('javascripts'$context$blocks);
  144.         // line 129
  145.         echo "    ";
  146.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.after_body");
  147.         echo "
  148. </body>
  149. </html>
  150. ";
  151.         
  152.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  153.         
  154.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  155.     }
  156.     // line 5
  157.     public function block_head($context, array $blocks = [])
  158.     {
  159.         $macros $this->macros;
  160.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  161.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  162.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  163.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  164.         // line 6
  165.         echo "        <meta charset=\"utf-8\">
  166.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  167.         <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/assets/shop/img/apple-touch-icon.png\">
  168.         <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/assets/shop/img/favicon-32x32.png\">
  169.         <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/assets/shop/img/favicon-16x16.png\">
  170.         <title>";
  171.         // line 12
  172.         $this->displayBlock('title'$context$blocks);
  173.         echo "</title>
  174.         <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\">
  175.         <link href=\"https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&display=swap\" rel=\"stylesheet\">
  176.         <script src=\"/assets/fontawesome.min.js\" crossorigin=\"anonymous\"></script>
  177.         <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  178.         ";
  179.         // line 19
  180.         $this->displayBlock('metatags'$context$blocks);
  181.         // line 21
  182.         echo "
  183.         ";
  184.         // line 22
  185.         $this->displayBlock('stylesheets'$context$blocks);
  186.         // line 32
  187.         echo "
  188.         <!-- Google Tag Manager -->
  189.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  190.         new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  191.         j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  192.         'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  193.         })(window,document,'script','dataLayer','";
  194.         // line 38
  195.         echo twig_escape_filter($this->env, (isset($context["gtm_code"]) || array_key_exists("gtm_code"$context) ? $context["gtm_code"] : (function () { throw new RuntimeError('Variable "gtm_code" does not exist.'38$this->source); })()), "html"nulltrue);
  196.         echo "');</script>
  197.         <!-- End Google Tag Manager -->
  198.         ";
  199.         // line 41
  200.         $this->loadTemplate("bundles/SyliusShopBundle/_chatbot.html.twig""@SyliusShop/layout-large.html.twig"41)->display($context);
  201.         // line 42
  202.         echo "        ";
  203.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.head");
  204.         echo "
  205.     ";
  206.         
  207.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  208.         
  209.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  210.     }
  211.     // line 12
  212.     public function block_title($context, array $blocks = [])
  213.     {
  214.         $macros $this->macros;
  215.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  216.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  217.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  218.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  219.         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.'12$this->source); })()), "channel", [], "any"falsefalsefalse12), "name", [], "any"falsefalsefalse12), "html"nulltrue);
  220.         
  221.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  222.         
  223.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  224.     }
  225.     // line 19
  226.     public function block_metatags($context, array $blocks = [])
  227.     {
  228.         $macros $this->macros;
  229.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  230.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  231.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  232.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  233.         // line 20
  234.         echo "        ";
  235.         
  236.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  237.         
  238.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  239.     }
  240.     // line 22
  241.     public function block_stylesheets($context, array $blocks = [])
  242.     {
  243.         $macros $this->macros;
  244.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  245.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  246.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  247.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  248.         // line 23
  249.         echo "            ";
  250.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.stylesheets");
  251.         echo "
  252.             <!-- @TODO: Remove next line, set it into _styles.html.twig (not working at the moment) -->
  253.             ";
  254.         // line 26
  255.         $this->loadTemplate("@SyliusUi/_stylesheets.html.twig""@SyliusShop/layout-large.html.twig"26)->display(twig_array_merge($context, ["path" => "assets/shop/css/framework.css"]));
  256.         // line 27
  257.         echo "
  258.             <!-- Slick Slider -->
  259.             <link rel=\"stylesheet\" type=\"text/css\" href=\"//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css\"/>
  260.             <link rel=\"stylesheet\" href=\"https://unpkg.com/aos@next/dist/aos.css\" />
  261.         ";
  262.         
  263.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  264.         
  265.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  266.     }
  267.     // line 55
  268.     public function block_header($context, array $blocks = [])
  269.     {
  270.         $macros $this->macros;
  271.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  272.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  273.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  274.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  275.         // line 56
  276.         echo "            <header class=\"header\" id=\"header\">
  277.                 <div class=\"container container--large\">
  278.                     ";
  279.         // line 58
  280.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.header");
  281.         echo "
  282.                 </div>
  283.             </header>
  284.         ";
  285.         
  286.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  287.         
  288.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  289.     }
  290.     // line 64
  291.     public function block_banner($context, array $blocks = [])
  292.     {
  293.         $macros $this->macros;
  294.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  295.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""banner"));
  296.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  297.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""banner"));
  298.         // line 65
  299.         echo "        ";
  300.         
  301.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  302.         
  303.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  304.     }
  305.     // line 87
  306.     public function block_content($context, array $blocks = [])
  307.     {
  308.         $macros $this->macros;
  309.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  310.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  311.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  312.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  313.         // line 88
  314.         echo "            ";
  315.         
  316.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  317.         
  318.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  319.     }
  320.     // line 93
  321.     public function block_footer($context, array $blocks = [])
  322.     {
  323.         $macros $this->macros;
  324.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  325.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  326.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  327.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  328.         // line 94
  329.         echo "            ";
  330.         $this->loadTemplate("@SyliusShop/_footer.html.twig""@SyliusShop/layout-large.html.twig"94)->display($context);
  331.         // line 95
  332.         echo "        ";
  333.         
  334.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  335.         
  336.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  337.     }
  338.     // line 104
  339.     public function block_javascripts($context, array $blocks = [])
  340.     {
  341.         $macros $this->macros;
  342.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  343.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  344.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  345.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  346.         // line 105
  347.         echo "
  348.         <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js\"></script>
  349.         <script type=\"text/javascript\" src=\"//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js\"></script>
  350.         <!-- @TODO: Find a better way to load that -->
  351.         ";
  352.         // line 110
  353.         $this->loadTemplate("@SyliusUi/_javascripts.html.twig""@SyliusShop/layout-large.html.twig"110)->display(twig_array_merge($context, ["path" => "assets/shop/js/header.js"]));
  354.         // line 111
  355.         echo "        ";
  356.         $this->loadTemplate("@SyliusUi/_javascripts.html.twig""@SyliusShop/layout-large.html.twig"111)->display(twig_array_merge($context, ["path" => "assets/shop/js/carousels.js"]));
  357.         // line 112
  358.         echo "
  359.         ";
  360.         // line 114
  361.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.javascripts");
  362.         echo "
  363.         <script src=\"https://unpkg.com/aos@next/dist/aos.js\"></script>
  364.         <script>
  365.             AOS.init({
  366.                 once: true
  367.             });
  368.             ";
  369.         // line 120
  370.         if ( !twig_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.'120$this->source); })()), "channel", [], "any"falsefalsefalse120), "getEnableClickNCollect", [], "method"falsefalsefalse120)) {
  371.             // line 121
  372.             echo "                ";
  373.             if ((twig_in_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'121$this->source); })()), "request", [], "any"falsefalsefalse121), "attributes", [], "any"falsefalsefalse121), "get", [=> "_route"], "method"falsefalsefalse121), (isset($context["click_and_collect_modal_routes"]) || array_key_exists("click_and_collect_modal_routes"$context) ? $context["click_and_collect_modal_routes"] : (function () { throw new RuntimeError('Variable "click_and_collect_modal_routes" does not exist.'121$this->source); })())) && (twig_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.'121$this->source); })()), "channel", [], "any"falsefalsefalse121), "code", [], "any"falsefalsefalse121) == "collect"))) {
  374.                 // line 122
  375.                 echo "                \$(document).ready(() => {
  376.                     \$('#click-and-collect-modal').modal('show');
  377.                 })
  378.                 ";
  379.             }
  380.             // line 126
  381.             echo "            ";
  382.         }
  383.         // line 127
  384.         echo "        </script>
  385.     ";
  386.         
  387.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  388.         
  389.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  390.     }
  391.     public function getTemplateName()
  392.     {
  393.         return "@SyliusShop/layout-large.html.twig";
  394.     }
  395.     public function isTraitable()
  396.     {
  397.         return false;
  398.     }
  399.     public function getDebugInfo()
  400.     {
  401.         return array (  452 => 127,  449 => 126,  443 => 122,  440 => 121,  438 => 120,  429 => 114,  425 => 112,  422 => 111,  420 => 110,  413 => 105,  403 => 104,  393 => 95,  390 => 94,  380 => 93,  370 => 88,  360 => 87,  350 => 65,  340 => 64,  326 => 58,  322 => 56,  312 => 55,  298 => 27,  296 => 26,  289 => 23,  279 => 22,  269 => 20,  259 => 19,  240 => 12,  227 => 42,  225 => 41,  219 => 38,  211 => 32,  209 => 22,  206 => 21,  204 => 19,  194 => 12,  186 => 6,  176 => 5,  161 => 129,  159 => 104,  156 => 103,  154 => 102,  150 => 100,  147 => 99,  144 => 98,  142 => 97,  139 => 96,  137 => 93,  131 => 90,  128 => 89,  126 => 87,  121 => 85,  118 => 84,  116 => 83,  112 => 81,  104 => 79,  102 => 77,  101 => 76,  100 => 75,  99 => 74,  98 => 73,  97 => 72,  96 => 71,  95 => 70,  94 => 68,  93 => 67,  90 => 66,  88 => 64,  84 => 62,  82 => 55,  77 => 53,  70 => 49,  63 => 44,  61 => 5,  56 => 3,  52 => 1,);
  402.     }
  403.     public function getSourceContext()
  404.     {
  405.         return new Source("<!DOCTYPE html>
  406. <html lang=\"{{ app.request.locale|slice(0, 2) }}\">
  407. <head>
  408.     {% block head %}
  409.         <meta charset=\"utf-8\">
  410.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  411.         <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/assets/shop/img/apple-touch-icon.png\">
  412.         <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/assets/shop/img/favicon-32x32.png\">
  413.         <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/assets/shop/img/favicon-16x16.png\">
  414.         <title>{% block title %}{{ sylius.channel.name }}{% endblock %}</title>
  415.         <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\">
  416.         <link href=\"https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&display=swap\" rel=\"stylesheet\">
  417.         <script src=\"/assets/fontawesome.min.js\" crossorigin=\"anonymous\"></script>
  418.         <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  419.         {% block metatags %}
  420.         {% endblock %}
  421.         {% block stylesheets %}
  422.             {{ sylius_template_event('sylius.shop.layout.stylesheets') }}
  423.             <!-- @TODO: Remove next line, set it into _styles.html.twig (not working at the moment) -->
  424.             {% include '@SyliusUi/_stylesheets.html.twig' with {'path': 'assets/shop/css/framework.css'} %}
  425.             <!-- Slick Slider -->
  426.             <link rel=\"stylesheet\" type=\"text/css\" href=\"//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css\"/>
  427.             <link rel=\"stylesheet\" href=\"https://unpkg.com/aos@next/dist/aos.css\" />
  428.         {% endblock %}
  429.         <!-- Google Tag Manager -->
  430.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  431.         new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  432.         j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  433.         'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  434.         })(window,document,'script','dataLayer','{{ gtm_code }}');</script>
  435.         <!-- End Google Tag Manager -->
  436.         {% include 'bundles/SyliusShopBundle/_chatbot.html.twig' %}
  437.         {{ sylius_template_event('sylius.shop.layout.head') }}
  438.     {% endblock %}
  439. </head>
  440. <body class=\"pushable\">
  441.     <!-- Google Tag Manager (noscript) -->
  442.     <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id={{ gtm_code }}\"
  443.     height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  444.     <!-- End Google Tag Manager (noscript) -->
  445.     {{ sylius_template_event('sylius.shop.layout.before_body') }}
  446.     <div class=\"pusher\">
  447.         {% block header %}
  448.             <header class=\"header\" id=\"header\">
  449.                 <div class=\"container container--large\">
  450.                     {{ sylius_template_event('sylius.shop.layout.header') }}
  451.                 </div>
  452.             </header>
  453.         {% endblock %}
  454.         <!-- @TODO: load that on certain pages only -->
  455.         {% block banner %}
  456.         {% endblock %}
  457.         {% if (
  458.             sylius.channel.code == \"collect\"
  459.             and
  460.             (app.request.attributes.get('_route') ==   \"app_shop_product_search\"
  461.             or app.request.attributes.get('_route') ==   \"sylius_shop_product_show\"
  462.             or app.request.attributes.get('_route') ==   \"sylius_shop_cart_summary\"
  463.             or app.request.attributes.get('_route') ==   \"sylius_shop_login\"
  464.             or app.request.attributes.get('_route') ==   \"sylius_shop_register\"
  465.             or app.request.attributes.get('_route') ==   \"sylius_shop_checkout_address\"
  466.             or app.request.attributes.get('_route') ==   \"sylius_shop_checkout_select_shipping\"
  467.             or app.request.attributes.get('_route') ==   \"sylius_shop_checkout_complete\")
  468.         ) %}
  469.             <div class=\"env env-message\">{{ 'sylius.ui.vousboutique'|trans }}  {{ sylius.channel.name }}</div>
  470.         {% endif %}
  471.         <div class=\"container container--large\">
  472.             {% include '@SyliusShop/_flashes.html.twig' %}
  473.             {{ sylius_template_event('sylius.shop.layout.before_content') }}
  474.             {% block content %}
  475.             {% endblock %}
  476.             {{ sylius_template_event('sylius.shop.layout.after_content') }}
  477.         </div>
  478.         {% block footer %}
  479.             {% include '@SyliusShop/_footer.html.twig' %}
  480.         {% endblock %}
  481.         {% if app.request.attributes.get('_route') in click_and_collect_modal_routes and sylius.channel.code == \"collect\" %}
  482.             {% include 'modal/ClickAndCollectModal.html.twig' %}
  483.         {% endif %}
  484.     </div>
  485.     {% include '@SyliusUi/Modal/_confirmation.html.twig' %}
  486.     {% block javascripts %}
  487.         <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js\"></script>
  488.         <script type=\"text/javascript\" src=\"//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js\"></script>
  489.         <!-- @TODO: Find a better way to load that -->
  490.         {% include '@SyliusUi/_javascripts.html.twig' with {'path': 'assets/shop/js/header.js'} %}
  491.         {% include '@SyliusUi/_javascripts.html.twig' with {'path': 'assets/shop/js/carousels.js'} %}
  492.         {{ sylius_template_event('sylius.shop.layout.javascripts') }}
  493.         <script src=\"https://unpkg.com/aos@next/dist/aos.js\"></script>
  494.         <script>
  495.             AOS.init({
  496.                 once: true
  497.             });
  498.             {% if ( not sylius.channel.getEnableClickNCollect() ) %}
  499.                 {% if app.request.attributes.get('_route') in click_and_collect_modal_routes and sylius.channel.code == \"collect\" %}
  500.                 \$(document).ready(() => {
  501.                     \$('#click-and-collect-modal').modal('show');
  502.                 })
  503.                 {% endif %}
  504.             {% endif %}
  505.         </script>
  506.     {% endblock %}
  507.     {{ sylius_template_event('sylius.shop.layout.after_body') }}
  508. </body>
  509. </html>
  510. ""@SyliusShop/layout-large.html.twig""/home/mons/site/www/templates/bundles/SyliusShopBundle/layout-large.html.twig");
  511.     }
  512. }