var/cache/dev/twig/3a/3afa3bc07a6537f69578af1d53fcea5245f8f0427e66d1eb8f08a06862965697.php line 63

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. /* Slivki/sale/index.html.twig */
  14. class __TwigTemplate_2487a53987435d2eeb89dc2c9bf6ef5d3a22f4a3663195ad24958ea2d0454bee 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->blocks = [
  23.             'ogimage' => [$this'block_ogimage'],
  24.             'header' => [$this'block_header'],
  25.             'stylesheets' => [$this'block_stylesheets'],
  26.             'javascripts' => [$this'block_javascripts'],
  27.             'content' => [$this'block_content'],
  28.             'mainColumnClass' => [$this'block_mainColumnClass'],
  29.             'main_content' => [$this'block_main_content'],
  30.             'teaserList' => [$this'block_teaserList'],
  31.             'popups' => [$this'block_popups'],
  32.         ];
  33.     }
  34.     protected function doGetParent(array $context)
  35.     {
  36.         // line 4
  37.         return "base.html.twig";
  38.     }
  39.     protected function doDisplay(array $context, array $blocks = [])
  40.     {
  41.         $macros $this->macros;
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Slivki/sale/index.html.twig"));
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Slivki/sale/index.html.twig"));
  46.         // line 1
  47.         $context["currentCategoryID"] = ((array_key_exists("currentCategoryID"$context)) ? ((isset($context["currentCategoryID"]) || array_key_exists("currentCategoryID"$context) ? $context["currentCategoryID"] : (function () { throw new RuntimeError('Variable "currentCategoryID" does not exist.'1$this->source); })())) : (0));
  48.         // line 2
  49.         $context["yesterday"] = twig_date_format_filter($this->envtwig_date_modify_filter($this->env"now""-1 day"), "Y-m-d");
  50.         // line 3
  51.         $context["statViewer"] = (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.'3$this->source); })()), "user", [], "any"falsefalsefalse3) && 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.'3$this->source); })()), "user", [], "any"falsefalsefalse3), "hasRole", [=> twig_constant("Slivki\\Entity\\UserGroup::STATISTICS_VIEWER")], "method"falsefalsefalse3));
  52.         // line 4
  53.         $this->parent $this->loadTemplate("base.html.twig""Slivki/sale/index.html.twig"4);
  54.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  55.         
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  57.         
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  59.     }
  60.     // line 6
  61.     public function block_ogimage($context, array $blocks = [])
  62.     {
  63.         $macros $this->macros;
  64.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ogimage"));
  66.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  67.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ogimage"));
  68.         // line 7
  69.         echo "    ";
  70.         if (((array_key_exists("isVideoguideCategory"$context) && (isset($context["isVideoguideCategory"]) || array_key_exists("isVideoguideCategory"$context) ? $context["isVideoguideCategory"] : (function () { throw new RuntimeError('Variable "isVideoguideCategory" does not exist.'7$this->source); })())) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["currentCategory"]) || array_key_exists("currentCategory"$context) ? $context["currentCategory"] : (function () { throw new RuntimeError('Variable "currentCategory" does not exist.'7$this->source); })()), "category", [], "any"falsefalsefalse7), "getHotFeedIconMedia", [], "method"falsefalsefalse7))) {
  71.             // line 8
  72.             echo "        <meta property=\"og:image\" content=\"";
  73.             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.'8$this->source); })()), "request", [], "any"falsefalsefalse8), "getSchemeAndHttpHost", [], "method"falsefalsefalse8), "html"nulltrue);
  74.             echo twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getImageURL(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["currentCategory"]) || array_key_exists("currentCategory"$context) ? $context["currentCategory"] : (function () { throw new RuntimeError('Variable "currentCategory" does not exist.'8$this->source); })()), "category", [], "any"falsefalsefalse8), "getHotFeedIconMedia", [], "method"falsefalsefalse8), 128128), "html"nulltrue);
  75.             echo "\"/>
  76.         <meta property=\"og:image:width\" content=\"128\"/>
  77.         <meta property=\"og:image:height\" content=\"128\"/>
  78.     ";
  79.         } else {
  80.             // line 12
  81.             echo "        ";
  82.             $this->displayParentBlock("ogimage"$context$blocks);
  83.             echo "
  84.     ";
  85.         }
  86.         
  87.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  88.         
  89.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  90.     }
  91.     // line 16
  92.     public function block_header($context, array $blocks = [])
  93.     {
  94.         $macros $this->macros;
  95.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  96.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  97.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  98.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  99.         // line 17
  100.         echo "    ";
  101.         if ($this->extensions['Slivki\Twig\SlivkiTwigExtension']->isMobileDevice()) {
  102.             // line 18
  103.             echo "        ";
  104.             $this->loadTemplate("header_sales_mobile.html.twig""Slivki/sale/index.html.twig"18)->display($context);
  105.             // line 19
  106.             echo "    ";
  107.         } else {
  108.             // line 20
  109.             echo "        ";
  110.             $this->loadTemplate("header_sales.html.twig""Slivki/sale/index.html.twig"20)->display($context);
  111.             // line 21
  112.             echo "    ";
  113.         }
  114.         
  115.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  116.         
  117.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  118.     }
  119.     // line 24
  120.     public function block_stylesheets($context, array $blocks = [])
  121.     {
  122.         $macros $this->macros;
  123.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  124.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  125.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  126.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  127.         // line 25
  128.         echo "    ";
  129.         if (((array_key_exists("mainHotFeed"$context) && (=== twig_compare(twig_length_filter($this->env, (isset($context["mainHotFeed"]) || array_key_exists("mainHotFeed"$context) ? $context["mainHotFeed"] : (function () { throw new RuntimeError('Variable "mainHotFeed" does not exist.'25$this->source); })())), 0))) || (array_key_exists("isVideoguideCategory"$context) && (isset($context["isVideoguideCategory"]) || array_key_exists("isVideoguideCategory"$context) ? $context["isVideoguideCategory"] : (function () { throw new RuntimeError('Variable "isVideoguideCategory" does not exist.'25$this->source); })())))) {
  130.             // line 26
  131.             echo "        <link rel=\"stylesheet\" href=\"/css/swiper/swiper.min.css\" />
  132.     ";
  133.         }
  134.         // line 28
  135.         echo "    ";
  136.         $this->displayParentBlock("stylesheets"$context$blocks);
  137.         echo "
  138. ";
  139.         
  140.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  141.         
  142.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  143.     }
  144.     // line 31
  145.     public function block_javascripts($context, array $blocks = [])
  146.     {
  147.         $macros $this->macros;
  148.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  149.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  150.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  151.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  152.         // line 32
  153.         echo "    ";
  154.         if (((array_key_exists("mainHotFeed"$context) && (=== twig_compare(twig_length_filter($this->env, (isset($context["mainHotFeed"]) || array_key_exists("mainHotFeed"$context) ? $context["mainHotFeed"] : (function () { throw new RuntimeError('Variable "mainHotFeed" does not exist.'32$this->source); })())), 0))) || (array_key_exists("isVideoguideCategory"$context) && (isset($context["isVideoguideCategory"]) || array_key_exists("isVideoguideCategory"$context) ? $context["isVideoguideCategory"] : (function () { throw new RuntimeError('Variable "isVideoguideCategory" does not exist.'32$this->source); })())))) {
  155.             // line 33
  156.             echo "        <script src=\"/js/swiper-js/swiper.min.js\"></script>
  157.     ";
  158.         }
  159.         // line 35
  160.         echo "    ";
  161.         if (array_key_exists("flierMenu"$context)) {
  162.             // line 36
  163.             echo "        <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.countdown/2.2.0/jquery.countdown.min.js\"></script>
  164.     ";
  165.         }
  166.         // line 38
  167.         echo "    ";
  168.         $this->displayParentBlock("javascripts"$context$blocks);
  169.         echo "
  170.     <script src=\"//api-maps.yandex.ru/2.1.29/?lang=ru-RU\"></script>
  171.     <script src=\"//mourner.github.io/simplify-js/simplify.js\"></script>
  172.     <script src=\"/js/sales.js?v=";
  173.         // line 41
  174.         echo twig_escape_filter($this->env, (isset($context["sales_js_version"]) || array_key_exists("sales_js_version"$context) ? $context["sales_js_version"] : (function () { throw new RuntimeError('Variable "sales_js_version" does not exist.'41$this->source); })()), "html"nulltrue);
  175.         echo "\"></script>
  176. ";
  177.         
  178.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  179.         
  180.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  181.     }
  182.     // line 43
  183.     public function block_content($context, array $blocks = [])
  184.     {
  185.         $macros $this->macros;
  186.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  187.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  188.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  189.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  190.         // line 44
  191.         echo "    <input type=\"hidden\" id=\"categoryID\" value=\"";
  192.         echo twig_escape_filter($this->env, (isset($context["currentCategoryID"]) || array_key_exists("currentCategoryID"$context) ? $context["currentCategoryID"] : (function () { throw new RuntimeError('Variable "currentCategoryID" does not exist.'44$this->source); })()), "html"nulltrue);
  193.         echo "\"/>
  194.     <div class=\"content container transparent with-banner sales video-guide-block\"  id=\"contentContainer\">
  195.         <div class=\"";
  196.         // line 46
  197.         $this->displayBlock('mainColumnClass'$context$blocks);
  198.         echo "\">
  199.             <div class=\"content-wrapper\">
  200.                 ";
  201.         // line 48
  202.         if (array_key_exists("flierMenu"$context)) {
  203.             // line 49
  204.             echo "                    <div class=\"stock-group-header with-search\">
  205.                         ";
  206.             // line 50
  207.             if ((=== twig_compare((isset($context["currentCategoryID"]) || array_key_exists("currentCategoryID"$context) ? $context["currentCategoryID"] : (function () { throw new RuntimeError('Variable "currentCategoryID" does not exist.'50$this->source); })()), 0))) {
  208.                 // line 51
  209.                 echo "                            <div class=\"breadcrumbs\">
  210.                                 <a href=\"";
  211.                 // line 52
  212.                 echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'52$this->source); })()), "html"nulltrue);
  213.                 echo "\">Главная</a>
  214.                                 ";
  215.                 // line 53
  216.                 if ( !array_key_exists("isChildOfFlier"$context)) {
  217.                     // line 54
  218.                     echo "                                    <i class=\"fa fa-angle-right\"></i> ";
  219.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["currentCategory"]) || array_key_exists("currentCategory"$context) ? $context["currentCategory"] : (function () { throw new RuntimeError('Variable "currentCategory" does not exist.'54$this->source); })()), "category", [], "any"falsefalsefalse54), "getName", [], "method"falsefalsefalse54), "html"nulltrue);
  220.                     echo "
  221.                                 ";
  222.                 } else {
  223.                     // line 56
  224.                     echo "                                    <i class=\"fa fa-angle-right\"></i><a href=\"";
  225.                     echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'56$this->source); })()), "html"nulltrue);
  226.                     echo "/giper-shop\">&nbsp;Листовки</a>
  227.                                     <i class=\"fa fa-angle-right\"></i> ";
  228.                     // line 57
  229.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["currentCategory"]) || array_key_exists("currentCategory"$context) ? $context["currentCategory"] : (function () { throw new RuntimeError('Variable "currentCategory" does not exist.'57$this->source); })()), "category", [], "any"falsefalsefalse57), "getName", [], "method"falsefalsefalse57), "html"nulltrue);
  230.                     echo "
  231.                                 ";
  232.                 }
  233.                 // line 59
  234.                 echo "                            </div>
  235.                             <div class=\"title\"><h1>";
  236.                 // line 60
  237.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["currentCategory"]) || array_key_exists("currentCategory"$context) ? $context["currentCategory"] : (function () { throw new RuntimeError('Variable "currentCategory" does not exist.'60$this->source); })()), "category", [], "any"falsefalsefalse60), "getName", [], "method"falsefalsefalse60), "html"nulltrue);
  238.                 echo "</h1> (";
  239.                 echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["currentCategory"]) || array_key_exists("currentCategory"$context) ? $context["currentCategory"] : (function () { throw new RuntimeError('Variable "currentCategory" does not exist.'60$this->source); })()), "entityList", [], "any"falsefalsefalse60)), "html"nulltrue);
  240.                 echo ")</div>
  241.                         ";
  242.             } else {
  243.                 // line 62
  244.                 echo "                            <div class=\"title\"><h1>Листовки</h1> (";
  245.                 echo twig_escape_filter($this->env, (isset($context["flierMenuCount"]) || array_key_exists("flierMenuCount"$context) ? $context["flierMenuCount"] : (function () { throw new RuntimeError('Variable "flierMenuCount" does not exist.'62$this->source); })()), "html"nulltrue);
  246.                 echo ")</div>
  247.                         ";
  248.             }
  249.             // line 64
  250.             echo "                        <div class=\"flier-total-visit-count\">
  251.                             <span data-toggle=\"tooltip\" data-placement=\"left\" data-original-title='";
  252.             // line 65
  253.             echo twig_escape_filter($this->env, (isset($context["saleVisitCountTooltip"]) || array_key_exists("saleVisitCountTooltip"$context) ? $context["saleVisitCountTooltip"] : (function () { throw new RuntimeError('Variable "saleVisitCountTooltip" does not exist.'65$this->source); })()), "html"nulltrue);
  254.             echo "\"'><i class=\"slivki-icon-users\"></i>";
  255.             echo twig_escape_filter($this->env, (isset($context["saleVisitCount"]) || array_key_exists("saleVisitCount"$context) ? $context["saleVisitCount"] : (function () { throw new RuntimeError('Variable "saleVisitCount" does not exist.'65$this->source); })()), "html"nulltrue);
  256.             echo "</span><br>
  257.                             <span data-toggle=\"tooltip\" data-placement=\"left\" data-original-title='";
  258.             // line 66
  259.             echo twig_escape_filter($this->env, (isset($context["visitedSalesTooltip"]) || array_key_exists("visitedSalesTooltip"$context) ? $context["visitedSalesTooltip"] : (function () { throw new RuntimeError('Variable "visitedSalesTooltip" does not exist.'66$this->source); })()), "html"nulltrue);
  260.             echo "'><i class=\"slivki-icon-paper\"></i>";
  261.             echo twig_escape_filter($this->env, (isset($context["visitedSales"]) || array_key_exists("visitedSales"$context) ? $context["visitedSales"] : (function () { throw new RuntimeError('Variable "visitedSales" does not exist.'66$this->source); })()), "html"nulltrue);
  262.             echo "</span>
  263.                         </div>
  264.                         <div class=\"clear\"></div>
  265.                     </div>
  266.                     <ul id=\"saleTopMenu\" class=\"capsule-menu expanded\">
  267.                         ";
  268.             // line 71
  269.             $context["flierCompanyNewsMenuItem"] = null;
  270.             // line 72
  271.             echo "                        ";
  272.             if ((=== twig_compare(twig_length_filter($this->env, (isset($context["flierMenu"]) || array_key_exists("flierMenu"$context) ? $context["flierMenu"] : (function () { throw new RuntimeError('Variable "flierMenu" does not exist.'72$this->source); })())), 1))) {
  273.                 // line 73
  274.                 echo "                            ";
  275.                 $context['_parent'] = $context;
  276.                 $context['_seq'] = twig_ensure_traversable((isset($context["flierMenu"]) || array_key_exists("flierMenu"$context) ? $context["flierMenu"] : (function () { throw new RuntimeError('Variable "flierMenu" does not exist.'73$this->source); })()));
  277.                 foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  278.                     // line 74
  279.                     echo "                                ";
  280.                     if ((=== twig_compare(twig_get_attribute($this->env$this->source$context["item"], "getEntityID", [], "method"falsefalsefalse74), twig_constant("Slivki\\Entity\\Category::FLIER_COMPANY_NEWS_CATEGORY_ID")))) {
  281.                         // line 75
  282.                         echo "                                    ";
  283.                         $context["flierCompanyNewsMenuItem"] = $context["item"];
  284.                         // line 76
  285.                         echo "                                ";
  286.                     } else {
  287.                         // line 77
  288.                         echo "                                    <li>
  289.                                         <a href=\"";
  290.                         // line 78
  291.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "getURL", [], "method"falsefalsefalse78), "html"nulltrue);
  292.                         ((array_key_exists("selectedCity"$context)) ? (print (twig_escape_filter($this->env, ("?city=" . (isset($context["selectedCity"]) || array_key_exists("selectedCity"$context) ? $context["selectedCity"] : (function () { throw new RuntimeError('Variable "selectedCity" does not exist.'78$this->source); })())), "html"nulltrue))) : (print ("")));
  293.                         echo "\" ";
  294.                         echo (((=== twig_compare(twig_get_attribute($this->env$this->source$context["item"], "getEntityID", [], "method"falsefalsefalse78), (isset($context["currentCategoryID"]) || array_key_exists("currentCategoryID"$context) ? $context["currentCategoryID"] : (function () { throw new RuntimeError('Variable "currentCategoryID" does not exist.'78$this->source); })())))) ? ("class=\"active\"") : (""));
  295.                         echo " data-id=\"";
  296.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "getEntityID", [], "method"falsefalsefalse78), "html"nulltrue);
  297.                         echo "\">
  298.                                             ";
  299.                         // line 79
  300.                         echo twig_escape_filter($this->env, (((!== twig_compare(twig_get_attribute($this->env$this->source$context["item"], "getAlias", [], "method"falsefalsefalse79), null))) ? (twig_get_attribute($this->env$this->source$context["item"], "getAlias", [], "method"falsefalsefalse79)) : (twig_get_attribute($this->env$this->source$context["item"], "getName", [], "method"falsefalsefalse79))), "html"nulltrue);
  301.                         echo " <span>";
  302.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "getEntityCount", [], "method"falsefalsefalse79), "html"nulltrue);
  303.                         echo "</span>
  304.                                         </a>
  305.                                     </li>
  306.                                 ";
  307.                     }
  308.                     // line 83
  309.                     echo "                            ";
  310.                 }
  311.                 $_parent $context['_parent'];
  312.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  313.                 $context array_intersect_key($context$_parent) + $_parent;
  314.                 // line 84
  315.                 echo "                            ";
  316.                 if ((isset($context["flierCompanyNewsMenuItem"]) || array_key_exists("flierCompanyNewsMenuItem"$context) ? $context["flierCompanyNewsMenuItem"] : (function () { throw new RuntimeError('Variable "flierCompanyNewsMenuItem" does not exist.'84$this->source); })())) {
  317.                     // line 85
  318.                     echo "                                ";
  319.                     $context["item"] = (isset($context["flierCompanyNewsMenuItem"]) || array_key_exists("flierCompanyNewsMenuItem"$context) ? $context["flierCompanyNewsMenuItem"] : (function () { throw new RuntimeError('Variable "flierCompanyNewsMenuItem" does not exist.'85$this->source); })());
  320.                     // line 86
  321.                     echo "                                <li>
  322.                                     <a href=\"";
  323.                     // line 87
  324.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'87$this->source); })()), "getURL", [], "method"falsefalsefalse87), "html"nulltrue);
  325.                     echo "\" ";
  326.                     echo (((=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'87$this->source); })()), "getEntityID", [], "method"falsefalsefalse87), (isset($context["currentCategoryID"]) || array_key_exists("currentCategoryID"$context) ? $context["currentCategoryID"] : (function () { throw new RuntimeError('Variable "currentCategoryID" does not exist.'87$this->source); })())))) ? ("class=\"active\"") : (""));
  327.                     echo " data-id=\"";
  328.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'87$this->source); })()), "getEntityID", [], "method"falsefalsefalse87), "html"nulltrue);
  329.                     echo "\">
  330.                                         ";
  331.                     // line 88
  332.                     echo twig_escape_filter($this->env, (((!== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'88$this->source); })()), "getAlias", [], "method"falsefalsefalse88), null))) ? (twig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'88$this->source); })()), "getAlias", [], "method"falsefalsefalse88)) : (twig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'88$this->source); })()), "getName", [], "method"falsefalsefalse88))), "html"nulltrue);
  333.                     echo " <span>";
  334.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'88$this->source); })()), "getEntityCount", [], "method"falsefalsefalse88), "html"nulltrue);
  335.                     echo "</span>
  336.                                     </a>
  337.                                 </li>
  338.                             ";
  339.                 }
  340.                 // line 92
  341.                 echo "                        ";
  342.             }
  343.             // line 93
  344.             echo "                    </ul>
  345.                     <div class=\"clear\"></div>
  346.                     <div id=\"flierCitySelectBox\">
  347.                         <div class=\"title\">Выберите свой город</div>
  348.                         ";
  349.             // line 97
  350.             ob_start();
  351.             // line 98
  352.             echo "                        <ul id=\"flierFirstLetterCityFilters\">
  353.                             ";
  354.             // line 99
  355.             $context['_parent'] = $context;
  356.             $context['_seq'] = twig_ensure_traversable(twig_get_array_keys_filter((isset($context["cityList"]) || array_key_exists("cityList"$context) ? $context["cityList"] : (function () { throw new RuntimeError('Variable "cityList" does not exist.'99$this->source); })())));
  357.             foreach ($context['_seq'] as $context["_key"] => $context["char"]) {
  358.                 // line 100
  359.                 echo "                                <li><a href=\"#\" data-char=\"";
  360.                 echo twig_escape_filter($this->env$context["char"], "html"nulltrue);
  361.                 echo "\">";
  362.                 echo twig_escape_filter($this->env$context["char"], "html"nulltrue);
  363.                 echo "</a></li>
  364.                             ";
  365.             }
  366.             $_parent $context['_parent'];
  367.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['char'], $context['_parent'], $context['loop']);
  368.             $context array_intersect_key($context$_parent) + $_parent;
  369.             // line 102
  370.             echo "                        </ul>
  371.                         <div id=\"flierCitySelectList\">
  372.                             ";
  373.             // line 104
  374.             $context["cityColumnCount"] = 6;
  375.             // line 105
  376.             echo "                            ";
  377.             $context["itemInColumnCount"] = twig_round((twig_length_filter($this->envtwig_constant("Slivki\\Entity\\City::FLIER_DEFAULT_CITY_LIST")) / (isset($context["cityColumnCount"]) || array_key_exists("cityColumnCount"$context) ? $context["cityColumnCount"] : (function () { throw new RuntimeError('Variable "cityColumnCount" does not exist.'105$this->source); })())), 1"ceil");
  378.             // line 106
  379.             echo "                            ";
  380.             $context['_parent'] = $context;
  381.             $context['_seq'] = twig_ensure_traversable(twig_array_batch(twig_constant("Slivki\\Entity\\City::FLIER_DEFAULT_CITY_LIST"), (isset($context["itemInColumnCount"]) || array_key_exists("itemInColumnCount"$context) ? $context["itemInColumnCount"] : (function () { throw new RuntimeError('Variable "itemInColumnCount" does not exist.'106$this->source); })())));
  382.             foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
  383.                 // line 107
  384.                 echo "                                <ul class=\"char-div\">
  385.                                 ";
  386.                 // line 108
  387.                 $context['_parent'] = $context;
  388.                 $context['_seq'] = twig_ensure_traversable($context["row"]);
  389.                 foreach ($context['_seq'] as $context["_key"] => $context["defaultCity"]) {
  390.                     // line 109
  391.                     echo "                                    <li class=\"default-city-li ";
  392.                     echo (((array_key_exists("selectedCity"$context) && (=== twig_compare((isset($context["selectedCity"]) || array_key_exists("selectedCity"$context) ? $context["selectedCity"] : (function () { throw new RuntimeError('Variable "selectedCity" does not exist.'109$this->source); })()), twig_get_attribute($this->env$this->source$context["defaultCity"], "name", [], "any"falsefalsefalse109))))) ? ("active") : (""));
  393.                     echo "\" data-char=\"";
  394.                     echo twig_escape_filter($this->envtwig_first($this->envtwig_get_attribute($this->env$this->source$context["defaultCity"], "name", [], "any"falsefalsefalse109)), "html"nulltrue);
  395.                     echo "\">
  396.                                         <a href=\"";
  397.                     // line 110
  398.                     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.'110$this->source); })()), "request", [], "any"falsefalsefalse110), "pathInfo", [], "any"falsefalsefalse110), "html"nulltrue);
  399.                     echo "?city=";
  400.                     echo twig_escape_filter($this->envtwig_urlencode_filter(twig_get_attribute($this->env$this->source$context["defaultCity"], "name", [], "any"falsefalsefalse110)), "html"nulltrue);
  401.                     echo "\">";
  402.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["defaultCity"], "name", [], "any"falsefalsefalse110), "html"nulltrue);
  403.                     echo " <span data-toggle=\"tooltip\" data-placement=\"top\" data-original-title=\"Количество жителей\">";
  404.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["defaultCity"], "population", [], "any"falsefalsefalse110), "html"nulltrue);
  405.                     echo "</span></a>
  406.                                     </li>
  407.                                 ";
  408.                 }
  409.                 $_parent $context['_parent'];
  410.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['defaultCity'], $context['_parent'], $context['loop']);
  411.                 $context array_intersect_key($context$_parent) + $_parent;
  412.                 // line 113
  413.                 echo "                                </ul>
  414.                             ";
  415.             }
  416.             $_parent $context['_parent'];
  417.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
  418.             $context array_intersect_key($context$_parent) + $_parent;
  419.             // line 115
  420.             echo "                            ";
  421.             $context["currentChar"] = twig_first($this->envtwig_get_array_keys_filter((isset($context["cityList"]) || array_key_exists("cityList"$context) ? $context["cityList"] : (function () { throw new RuntimeError('Variable "cityList" does not exist.'115$this->source); })())));
  422.             // line 116
  423.             echo "                            ";
  424.             $context['_parent'] = $context;
  425.             $context['_seq'] = twig_ensure_traversable(twig_get_array_keys_filter((isset($context["cityList"]) || array_key_exists("cityList"$context) ? $context["cityList"] : (function () { throw new RuntimeError('Variable "cityList" does not exist.'116$this->source); })())));
  426.             foreach ($context['_seq'] as $context["_key"] => $context["char"]) {
  427.                 // line 117
  428.                 echo "                                ";
  429.                 $context["itemInColumnCount"] = twig_round((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["cityList"]) || array_key_exists("cityList"$context) ? $context["cityList"] : (function () { throw new RuntimeError('Variable "cityList" does not exist.'117$this->source); })()), $context["char"], [], "array"falsefalsefalse117)) / (isset($context["cityColumnCount"]) || array_key_exists("cityColumnCount"$context) ? $context["cityColumnCount"] : (function () { throw new RuntimeError('Variable "cityColumnCount" does not exist.'117$this->source); })())), 1"ceil");
  430.                 // line 118
  431.                 echo "                                <div data-char=\"";
  432.                 echo twig_escape_filter($this->env$context["char"], "html"nulltrue);
  433.                 echo "\" class=\"char-div\">
  434.                                     ";
  435.                 // line 119
  436.                 $context['_parent'] = $context;
  437.                 $context['_seq'] = twig_ensure_traversable(twig_array_batch(twig_get_attribute($this->env$this->source, (isset($context["cityList"]) || array_key_exists("cityList"$context) ? $context["cityList"] : (function () { throw new RuntimeError('Variable "cityList" does not exist.'119$this->source); })()), $context["char"], [], "array"falsefalsefalse119), (isset($context["itemInColumnCount"]) || array_key_exists("itemInColumnCount"$context) ? $context["itemInColumnCount"] : (function () { throw new RuntimeError('Variable "itemInColumnCount" does not exist.'119$this->source); })())));
  438.                 foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
  439.                     // line 120
  440.                     echo "                                        <ul>
  441.                                         ";
  442.                     // line 121
  443.                     $context['_parent'] = $context;
  444.                     $context['_seq'] = twig_ensure_traversable($context["row"]);
  445.                     foreach ($context['_seq'] as $context["_key"] => $context["city"]) {
  446.                         // line 122
  447.                         echo "                                            <li ";
  448.                         echo (((array_key_exists("selectedCity"$context) && (=== twig_compare((isset($context["selectedCity"]) || array_key_exists("selectedCity"$context) ? $context["selectedCity"] : (function () { throw new RuntimeError('Variable "selectedCity" does not exist.'122$this->source); })()), twig_get_attribute($this->env$this->source$context["city"], "cityName", [], "any"falsefalsefalse122))))) ? ("class=active") : (""));
  449.                         echo ">
  450.                                                 <a href=\"";
  451.                         // line 123
  452.                         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.'123$this->source); })()), "request", [], "any"falsefalsefalse123), "pathInfo", [], "any"falsefalsefalse123), "html"nulltrue);
  453.                         echo "?city=";
  454.                         echo twig_escape_filter($this->envtwig_urlencode_filter(twig_get_attribute($this->env$this->source$context["city"], "cityName", [], "any"falsefalsefalse123)), "html"nulltrue);
  455.                         echo "\">";
  456.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["city"], "cityName", [], "any"falsefalsefalse123), "html"nulltrue);
  457.                         echo "</a>
  458.                                             </li>
  459.                                         ";
  460.                     }
  461.                     $_parent $context['_parent'];
  462.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['city'], $context['_parent'], $context['loop']);
  463.                     $context array_intersect_key($context$_parent) + $_parent;
  464.                     // line 126
  465.                     echo "                                        </ul>
  466.                                     ";
  467.                 }
  468.                 $_parent $context['_parent'];
  469.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
  470.                 $context array_intersect_key($context$_parent) + $_parent;
  471.                 // line 128
  472.                 echo "                                </div>
  473.                             ";
  474.             }
  475.             $_parent $context['_parent'];
  476.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['char'], $context['_parent'], $context['loop']);
  477.             $context array_intersect_key($context$_parent) + $_parent;
  478.             // line 130
  479.             echo "                        </div>
  480.                         ";
  481.             $___internal_parse_0_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  482.             // line 97
  483.             echo twig_spaceless($___internal_parse_0_);
  484.             // line 132
  485.             echo "                    </div>
  486.                     ";
  487.             // line 133
  488.             $this->loadTemplate("Slivki/sale/sale_map.html.twig""Slivki/sale/index.html.twig"133)->display($context);
  489.             // line 134
  490.             echo "                ";
  491.         }
  492.         // line 135
  493.         echo "
  494.                 ";
  495.         // line 136
  496.         $this->displayBlock('main_content'$context$blocks);
  497.         // line 258
  498.         echo "            </div>
  499.         </div>
  500.     </div>
  501.     ";
  502.         // line 261
  503.         echo $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getFooter($this->env);
  504.         echo "
  505. ";
  506.         
  507.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  508.         
  509.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  510.     }
  511.     // line 46
  512.     public function block_mainColumnClass($context, array $blocks = [])
  513.     {
  514.         $macros $this->macros;
  515.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  516.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainColumnClass"));
  517.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  518.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainColumnClass"));
  519.         echo " ";
  520.         $this->displayParentBlock("mainColumnClass"$context$blocks);
  521.         echo " one-column sales ";
  522.         
  523.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  524.         
  525.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  526.     }
  527.     // line 136
  528.     public function block_main_content($context, array $blocks = [])
  529.     {
  530.         $macros $this->macros;
  531.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  532.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main_content"));
  533.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  534.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main_content"));
  535.         // line 137
  536.         echo "                    ";
  537.         if ( !array_key_exists("flierMenu"$context)) {
  538.             // line 138
  539.             echo "                        <div class=\"stock-group-header with-search\">
  540.                             ";
  541.             // line 139
  542.             if ((=== twig_compare((isset($context["currentCategoryID"]) || array_key_exists("currentCategoryID"$context) ? $context["currentCategoryID"] : (function () { throw new RuntimeError('Variable "currentCategoryID" does not exist.'139$this->source); })()), 0))) {
  543.                 // line 140
  544.                 echo "                                ";
  545.                 if ((array_key_exists("isChildOfVideoGuide"$context) && (isset($context["isChildOfVideoGuide"]) || array_key_exists("isChildOfVideoGuide"$context) ? $context["isChildOfVideoGuide"] : (function () { throw new RuntimeError('Variable "isChildOfVideoGuide" does not exist.'140$this->source); })()))) {
  546.                     // line 141
  547.                     echo "                                    <div class=\"breadcrumbs\">
  548.                                         <a href=\"";
  549.                     // line 142
  550.                     echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'142$this->source); })()), "html"nulltrue);
  551.                     echo "\">Главная</a>
  552.                                         <i class=\"fa fa-angle-right\"></i><a href=\"";
  553.                     // line 143
  554.                     echo twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getURL("Slivki:Sale:category"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["videoguideCategory"]) || array_key_exists("videoguideCategory"$context) ? $context["videoguideCategory"] : (function () { throw new RuntimeError('Variable "videoguideCategory" does not exist.'143$this->source); })()), "category", [], "any"falsefalsefalse143), "getID", [], "method"falsefalsefalse143)), "html"nulltrue);
  555.                     echo "\"> ";
  556.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["videoguideCategory"]) || array_key_exists("videoguideCategory"$context) ? $context["videoguideCategory"] : (function () { throw new RuntimeError('Variable "videoguideCategory" does not exist.'143$this->source); })()), "category", [], "any"falsefalsefalse143), "getName", [], "method"falsefalsefalse143), "html"nulltrue);
  557.                     echo "</a>
  558.                                         <i class=\"fa fa-angle-right\"></i> ";
  559.                     // line 144
  560.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["currentCategory"]) || array_key_exists("currentCategory"$context) ? $context["currentCategory"] : (function () { throw new RuntimeError('Variable "currentCategory" does not exist.'144$this->source); })()), "category", [], "any"falsefalsefalse144), "getName", [], "method"falsefalsefalse144), "html"nulltrue);
  561.                     echo "
  562.                                     </div>
  563.                                 ";
  564.                 } elseif ((=== twig_compare(                // line 146
  565. (isset($context["currentCategoryID"]) || array_key_exists("currentCategoryID"$context) ? $context["currentCategoryID"] : (function () { throw new RuntimeError('Variable "currentCategoryID" does not exist.'146$this->source); })()), twig_constant("Slivki\\Entity\\Category::SALE_VIDEO_GUIDE_CATEGORY_ID")))) {
  566.                     // line 147
  567.                     echo "                                    <div class=\"breadcrumbs\">
  568.                                         <a href=\"";
  569.                     // line 148
  570.                     echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'148$this->source); })()), "html"nulltrue);
  571.                     echo "\">Главная</a>
  572.                                         <i class=\"fa fa-angle-right\"></i> ";
  573.                     // line 149
  574.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["currentCategory"]) || array_key_exists("currentCategory"$context) ? $context["currentCategory"] : (function () { throw new RuntimeError('Variable "currentCategory" does not exist.'149$this->source); })()), "category", [], "any"falsefalsefalse149), "getName", [], "method"falsefalsefalse149), "html"nulltrue);
  575.                     echo "
  576.                                     </div>
  577.                                 ";
  578.                 } else {
  579.                     // line 152
  580.                     echo "                                    <div class=\"breadcrumbs\">
  581.                                         <a href=\"";
  582.                     // line 153
  583.                     echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'153$this->source); })()), "html"nulltrue);
  584.                     echo "\">Главная</a>
  585.                                         <i class=\"fa fa-angle-right\"></i><a href=\"";
  586.                     // line 154
  587.                     echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'154$this->source); })()), "html"nulltrue);
  588.                     echo "/skidki-i-rasprodazhi\">&nbsp;Новости скидок</a>
  589.                                         ";
  590.                     // line 155
  591.                     if (array_key_exists("parentCategory"$context)) {
  592.                         // line 156
  593.                         echo "                                            <i class=\"fa fa-angle-right\"></i><a href=\"";
  594.                         echo twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getURL("Slivki:Sale:category"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["parentCategory"]) || array_key_exists("parentCategory"$context) ? $context["parentCategory"] : (function () { throw new RuntimeError('Variable "parentCategory" does not exist.'156$this->source); })()), "category", [], "any"falsefalsefalse156), "getID", [], "method"falsefalsefalse156)), "html"nulltrue);
  595.                         echo "\">&nbsp;";
  596.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["parentCategory"]) || array_key_exists("parentCategory"$context) ? $context["parentCategory"] : (function () { throw new RuntimeError('Variable "parentCategory" does not exist.'156$this->source); })()), "category", [], "any"falsefalsefalse156), "getName", [], "method"falsefalsefalse156), "html"nulltrue);
  597.                         echo "</a>
  598.                                         ";
  599.                     }
  600.                     // line 158
  601.                     echo "                                        <i class=\"fa fa-angle-right\"></i> ";
  602.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["currentCategory"]) || array_key_exists("currentCategory"$context) ? $context["currentCategory"] : (function () { throw new RuntimeError('Variable "currentCategory" does not exist.'158$this->source); })()), "category", [], "any"falsefalsefalse158), "getName", [], "method"falsefalsefalse158), "html"nulltrue);
  603.                     echo "
  604.                                     </div>
  605.                                 ";
  606.                 }
  607.                 // line 161
  608.                 echo "                                <div class=\"title\"><h1>";
  609.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["currentCategory"]) || array_key_exists("currentCategory"$context) ? $context["currentCategory"] : (function () { throw new RuntimeError('Variable "currentCategory" does not exist.'161$this->source); })()), "category", [], "any"falsefalsefalse161), "getName", [], "method"falsefalsefalse161), "html"nulltrue);
  610.                 echo "</h1> (";
  611.                 ((twig_get_attribute($this->env$this->source, ($context["currentCategory"] ?? null), "entityList", [], "any"truetruefalse161)) ? (print (twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["currentCategory"]) || array_key_exists("currentCategory"$context) ? $context["currentCategory"] : (function () { throw new RuntimeError('Variable "currentCategory" does not exist.'161$this->source); })()), "entityList", [], "any"falsefalsefalse161)), "html"nulltrue))) : (print (0)));
  612.                 echo ")</div>
  613.                             ";
  614.             } else {
  615.                 // line 163
  616.                 echo "                                <div class=\"breadcrumbs\">
  617.                                     <a href=\"";
  618.                 // line 164
  619.                 echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'164$this->source); })()), "html"nulltrue);
  620.                 echo "\">Главная</a>
  621.                                     <i class=\"fa fa-angle-right\"></i> Новости скидок
  622.                                 </div>
  623.                             <div class=\"clear\"></div>
  624.                                     <div class=\"title-wrap text-center\">
  625.                                         <div class=\"title\"><h1>";
  626.                 // line 169
  627.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["metaInfo"]) || array_key_exists("metaInfo"$context) ? $context["metaInfo"] : (function () { throw new RuntimeError('Variable "metaInfo" does not exist.'169$this->source); })()), "title", [], "any"falsefalsefalse169), "html"nulltrue);
  628.                 echo " Новости скидок</h1> (";
  629.                 echo twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getActiveSalesCount(), "html"nulltrue);
  630.                 echo ")</div>
  631.                             ";
  632.             }
  633.             // line 171
  634.             echo "                            ";
  635.             if ( !$this->extensions['Slivki\Twig\SlivkiTwigExtension']->isMobileDevice()) {
  636.                 // line 172
  637.                 echo "                                <div class=\"flier-total-visit-count\">
  638.                                     <span data-toggle=\"tooltip\" data-placement=\"left\" data-original-title='";
  639.                 // line 173
  640.                 echo twig_escape_filter($this->env, (isset($context["saleVisitCountTooltip"]) || array_key_exists("saleVisitCountTooltip"$context) ? $context["saleVisitCountTooltip"] : (function () { throw new RuntimeError('Variable "saleVisitCountTooltip" does not exist.'173$this->source); })()), "html"nulltrue);
  641.                 echo "'><i class=\"slivki-icon-users\"></i>";
  642.                 echo twig_escape_filter($this->env, (isset($context["saleVisitCount"]) || array_key_exists("saleVisitCount"$context) ? $context["saleVisitCount"] : (function () { throw new RuntimeError('Variable "saleVisitCount" does not exist.'173$this->source); })()), "html"nulltrue);
  643.                 echo "</span><br>
  644.                                     <span data-toggle=\"tooltip\" data-placement=\"left\" data-original-title='";
  645.                 // line 174
  646.                 echo twig_escape_filter($this->env, (isset($context["visitedSalesTooltip"]) || array_key_exists("visitedSalesTooltip"$context) ? $context["visitedSalesTooltip"] : (function () { throw new RuntimeError('Variable "visitedSalesTooltip" does not exist.'174$this->source); })()), "html"nulltrue);
  647.                 echo "'><i class=\"slivki-icon-paper\"></i>";
  648.                 echo twig_escape_filter($this->env, (isset($context["visitedSales"]) || array_key_exists("visitedSales"$context) ? $context["visitedSales"] : (function () { throw new RuntimeError('Variable "visitedSales" does not exist.'174$this->source); })()), "html"nulltrue);
  649.                 echo "</span>
  650.                                 </div>
  651.                             ";
  652.             }
  653.             // line 177
  654.             echo "                            <div class=\"clear\"></div>
  655.                                     </div>
  656.                         </div>
  657.                         ";
  658.             // line 181
  659.             if (( !array_key_exists("isVideoguideCategory"$context) ||  !(isset($context["isVideoguideCategory"]) || array_key_exists("isVideoguideCategory"$context) ? $context["isVideoguideCategory"] : (function () { throw new RuntimeError('Variable "isVideoguideCategory" does not exist.'181$this->source); })()))) {
  660.                 // line 182
  661.                 echo "                            ";
  662.                 $context["saleMenu"] = ((array_key_exists("saleMenu"$context)) ? ((isset($context["saleMenu"]) || array_key_exists("saleMenu"$context) ? $context["saleMenu"] : (function () { throw new RuntimeError('Variable "saleMenu" does not exist.'182$this->source); })())) : ((isset($context["categoryList"]) || array_key_exists("categoryList"$context) ? $context["categoryList"] : (function () { throw new RuntimeError('Variable "categoryList" does not exist.'182$this->source); })())));
  663.                 // line 183
  664.                 echo "                            ";
  665.                 if ($this->extensions['Slivki\Twig\SlivkiTwigExtension']->isMobileDevice()) {
  666.                     // line 184
  667.                     echo "                                <div id=\"mustBeFixedContainer\">
  668.                                     <div id=\"mustBeFixed\">
  669.                             ";
  670.                 }
  671.                 // line 187
  672.                 echo "                            <ul id=\"saleTopMenu\" class=\"capsule-menu pb-2\">
  673.                                 ";
  674.                 // line 188
  675.                 $context['_parent'] = $context;
  676.                 $context['_seq'] = twig_ensure_traversable((isset($context["saleMenu"]) || array_key_exists("saleMenu"$context) ? $context["saleMenu"] : (function () { throw new RuntimeError('Variable "saleMenu" does not exist.'188$this->source); })()));
  677.                 foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
  678.                     // line 189
  679.                     echo "                                    <li>
  680.                                         <a href=\"";
  681.                     // line 190
  682.                     echo twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getURL("Slivki:Sale:category"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["category"], "category", [], "any"falsefalsefalse190), "getID", [], "method"falsefalsefalse190)), "html"nulltrue);
  683.                     echo "\" ";
  684.                     echo (((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["category"], "category", [], "any"falsefalsefalse190), "getID", [], "method"falsefalsefalse190), (isset($context["currentCategoryID"]) || array_key_exists("currentCategoryID"$context) ? $context["currentCategoryID"] : (function () { throw new RuntimeError('Variable "currentCategoryID" does not exist.'190$this->source); })())))) ? ("class=\"active\"") : (""));
  685.                     echo " data-id=\"";
  686.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["category"], "category", [], "any"falsefalsefalse190), "getID", [], "method"falsefalsefalse190), "html"nulltrue);
  687.                     echo "\">
  688.                                             ";
  689.                     // line 191
  690.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["category"], "category", [], "any"falsefalsefalse191), "getName", [], "method"falsefalsefalse191), "html"nulltrue);
  691.                     echo "
  692.                                             ";
  693.                     // line 192
  694.                     if ((isset($context["statViewer"]) || array_key_exists("statViewer"$context) ? $context["statViewer"] : (function () { throw new RuntimeError('Variable "statViewer" does not exist.'192$this->source); })())) {
  695.                         // line 193
  696.                         echo "                                                (";
  697.                         echo twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getStatVisitCount(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["category"], "category", [], "any"falsefalsefalse193), "getID", [], "method"falsefalsefalse193), twig_constant("Slivki\\Entity\\Visit::TYPE_SALE_CATEGORY"), (isset($context["yesterday"]) || array_key_exists("yesterday"$context) ? $context["yesterday"] : (function () { throw new RuntimeError('Variable "yesterday" does not exist.'193$this->source); })()), (isset($context["yesterday"]) || array_key_exists("yesterday"$context) ? $context["yesterday"] : (function () { throw new RuntimeError('Variable "yesterday" does not exist.'193$this->source); })())), "html"nulltrue);
  698.                         echo ")
  699.                                             ";
  700.                     }
  701.                     // line 195
  702.                     echo "                                            <span>";
  703.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["category"], "category", [], "any"falsefalsefalse195), "getEntityCount", [], "method"falsefalsefalse195), "html"nulltrue);
  704.                     echo "</span>
  705.                                         </a>
  706.                                     </li>
  707.                                 ";
  708.                 }
  709.                 $_parent $context['_parent'];
  710.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
  711.                 $context array_intersect_key($context$_parent) + $_parent;
  712.                 // line 199
  713.                 echo "                                <li class=\"capsule-menu--collapse-btn\">
  714.                                     <a href=\"javascript:void(0)\" class=\"active\">Свернуть</a>
  715.                                 </li>
  716.                                 <li class=\"capsule-menu--expand-btn\">
  717.                                     <a href=\"javascript:void(0)\"><i class=\"slivki-icon-dot-3\"></i></a>
  718.                                 </li>
  719.                             </ul>
  720.                             ";
  721.                 // line 206
  722.                 if ($this->extensions['Slivki\Twig\SlivkiTwigExtension']->isMobileDevice()) {
  723.                     // line 207
  724.                     echo "                                    </div>
  725.                                 </div>
  726.                             ";
  727.                 }
  728.                 // line 210
  729.                 echo "                        ";
  730.             }
  731.             // line 211
  732.             echo "                        ";
  733.             if ((array_key_exists("isVideoguideCategory"$context) && (isset($context["isVideoguideCategory"]) || array_key_exists("isVideoguideCategory"$context) ? $context["isVideoguideCategory"] : (function () { throw new RuntimeError('Variable "isVideoguideCategory" does not exist.'211$this->source); })()))) {
  734.                 // line 212
  735.                 echo "                            ";
  736.                 ob_start();
  737.                 // line 213
  738.                 echo "                                <div id=\"videoguideCategoryMenu\" class=\"";
  739.                 echo (( !$this->extensions['Slivki\Twig\SlivkiTwigExtension']->isMobileDevice()) ? ("swiper-container") : (""));
  740.                 echo "\">
  741.                                     <div class=\"";
  742.                 // line 214
  743.                 echo (( !$this->extensions['Slivki\Twig\SlivkiTwigExtension']->isMobileDevice()) ? ("swiper-wrapper") : (""));
  744.                 echo "\">
  745.                                         ";
  746.                 // line 215
  747.                 $context['_parent'] = $context;
  748.                 $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, (isset($context["videoguideCategoryMenu"]) || array_key_exists("videoguideCategoryMenu"$context) ? $context["videoguideCategoryMenu"] : (function () { throw new RuntimeError('Variable "videoguideCategoryMenu" does not exist.'215$this->source); })()), function ($__category__) use ($context$macros) { $context["category"] = $__category__; return (!== twig_compare(twig_get_attribute($this->env$this->source$context["category"], "getID", [], "method"falsefalsefalse215), twig_constant("Slivki\\Entity\\Category::SALE_VIDEO_GUIDE_AUTORS_CATEGORY_ID"))); }));
  749.                 foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
  750.                     // line 216
  751.                     echo "                                            ";
  752.                     $context["categoryUrl"] = $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getURL("Slivki:Sale:category"twig_get_attribute($this->env$this->source$context["category"], "getID", [], "method"falsefalsefalse216));
  753.                     // line 217
  754.                     echo "                                            <a class=\"";
  755.                     echo (( !$this->extensions['Slivki\Twig\SlivkiTwigExtension']->isMobileDevice()) ? ("swiper-slide") : (""));
  756.                     echo " ";
  757.                     echo (((=== twig_compare((isset($context["categoryUrl"]) || array_key_exists("categoryUrl"$context) ? $context["categoryUrl"] : (function () { throw new RuntimeError('Variable "categoryUrl" does not exist.'217$this->source); })()), 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.'217$this->source); })()), "request", [], "any"falsefalsefalse217), "pathinfo", [], "any"falsefalsefalse217)))) ? ("active") : (""));
  758.                     echo "\" href=\"";
  759.                     echo twig_escape_filter($this->env, (isset($context["categoryUrl"]) || array_key_exists("categoryUrl"$context) ? $context["categoryUrl"] : (function () { throw new RuntimeError('Variable "categoryUrl" does not exist.'217$this->source); })()), "html"nulltrue);
  760.                     echo "\">
  761.                                                 <img src=\"";
  762.                     // line 218
  763.                     echo twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getImageURL(twig_get_attribute($this->env$this->source$context["category"], "getHotFeedIconMedia", [], "method"falsefalsefalse218), 128128), "html"nulltrue);
  764.                     echo "\" alt=''/>
  765.                                                 <br />
  766.                                                 ";
  767.                     // line 220
  768.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "getName", [], "method"falsefalsefalse220), "html"nulltrue);
  769.                     echo "
  770.                                                 ";
  771.                     // line 221
  772.                     if ((isset($context["statViewer"]) || array_key_exists("statViewer"$context) ? $context["statViewer"] : (function () { throw new RuntimeError('Variable "statViewer" does not exist.'221$this->source); })())) {
  773.                         // line 222
  774.                         echo "                                                    (";
  775.                         echo twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getStatVisitCount(twig_get_attribute($this->env$this->source$context["category"], "getID", [], "method"falsefalsefalse222), twig_constant("Slivki\\Entity\\Visit::TYPE_SALE_CATEGORY"), (isset($context["yesterday"]) || array_key_exists("yesterday"$context) ? $context["yesterday"] : (function () { throw new RuntimeError('Variable "yesterday" does not exist.'222$this->source); })()), (isset($context["yesterday"]) || array_key_exists("yesterday"$context) ? $context["yesterday"] : (function () { throw new RuntimeError('Variable "yesterday" does not exist.'222$this->source); })())), "html"nulltrue);
  776.                         echo ")
  777.                                                 ";
  778.                     }
  779.                     // line 224
  780.                     echo "                                            </a>
  781.                                         ";
  782.                 }
  783.                 $_parent $context['_parent'];
  784.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
  785.                 $context array_intersect_key($context$_parent) + $_parent;
  786.                 // line 226
  787.                 echo "                                    </div>
  788.                                     <div class=\"swiper-button swiper-button-prev\"></div>
  789.                                     <div class=\"swiper-button swiper-button-next\"></div>
  790.                                 </div>
  791.                             ";
  792.                 $___internal_parse_1_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  793.                 // line 212
  794.                 echo twig_spaceless($___internal_parse_1_);
  795.                 // line 231
  796.                 echo "                        ";
  797.             }
  798.             // line 232
  799.             echo "
  800.                         ";
  801.             // line 233
  802.             if (( !array_key_exists("isVideoguideCategory"$context) ||  !(isset($context["isVideoguideCategory"]) || array_key_exists("isVideoguideCategory"$context) ? $context["isVideoguideCategory"] : (function () { throw new RuntimeError('Variable "isVideoguideCategory" does not exist.'233$this->source); })()))) {
  803.                 // line 234
  804.                 echo "                            ";
  805.                 $this->loadTemplate("Slivki/sale/sale_map.html.twig""Slivki/sale/index.html.twig"234)->display($context);
  806.                 // line 235
  807.                 echo "                        ";
  808.             }
  809.             // line 236
  810.             echo "                        ";
  811.             if ((array_key_exists("mainHotFeed"$context) && (=== twig_compare(twig_length_filter($this->env, (isset($context["mainHotFeed"]) || array_key_exists("mainHotFeed"$context) ? $context["mainHotFeed"] : (function () { throw new RuntimeError('Variable "mainHotFeed" does not exist.'236$this->source); })())), 0)))) {
  812.                 // line 237
  813.                 echo "                            <div id=\"mainHotFeed\" class=\"sales-hot-feed\">
  814.                                 <div class=\"title\"><i>&nbsp;</i> ГОРЯЧАЯ ЛЕНТА</div>
  815.                                 <div class=\"swiper-container\" id=\"mainHotFeedSlider\" data-offset=\"0\" data-type=\"";
  816.                 // line 239
  817.                 echo twig_escape_filter($this->envtwig_constant("Slivki\\Entity\\HotFeed::TYPE_MAIN_PAGE"), "html"nulltrue);
  818.                 echo "\">
  819.                                     <div class=\"swiper-wrapper\">
  820.                                         ";
  821.                 // line 241
  822.                 echo (isset($context["mainHotFeed"]) || array_key_exists("mainHotFeed"$context) ? $context["mainHotFeed"] : (function () { throw new RuntimeError('Variable "mainHotFeed" does not exist.'241$this->source); })());
  823.                 echo "
  824.                                     </div>
  825.                                     <div class=\"swiper-button swiper-button-prev\"></div>
  826.                                     <div class=\"swiper-button swiper-button-next\"></div>
  827.                                 </div>
  828.                             </div>
  829.                         ";
  830.             }
  831.             // line 248
  832.             echo "                    ";
  833.         }
  834.         // line 249
  835.         echo "                    ";
  836.         $this->displayBlock('teaserList'$context$blocks);
  837.         // line 257
  838.         echo "                ";
  839.         
  840.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  841.         
  842.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  843.     }
  844.     // line 249
  845.     public function block_teaserList($context, array $blocks = [])
  846.     {
  847.         $macros $this->macros;
  848.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  849.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""teaserList"));
  850.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  851.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""teaserList"));
  852.         // line 250
  853.         echo "                        <div id=\"saleIndexTeasers\">
  854.                             ";
  855.         // line 251
  856.         $this->loadTemplate("Slivki/sale/sale_list_box.html.twig""Slivki/sale/index.html.twig"251)->display(twig_array_merge($context, ["noCategoryTitle" => (array_key_exists("isVideoguideCategory"$context) && (isset($context["isVideoguideCategory"]) || array_key_exists("isVideoguideCategory"$context) ? $context["isVideoguideCategory"] : (function () { throw new RuntimeError('Variable "isVideoguideCategory" does not exist.'251$this->source); })()))]));
  857.         // line 252
  858.         echo "                            ";
  859.         if ((=== twig_compare((isset($context["currentCategoryID"]) || array_key_exists("currentCategoryID"$context) ? $context["currentCategoryID"] : (function () { throw new RuntimeError('Variable "currentCategoryID" does not exist.'252$this->source); })()), 0))) {
  860.             // line 253
  861.             echo "                                <div id=\"saleCategoryListLoader\"><i class=\"fa fa-spinner fa-spin\" aria-hidden=\"true\"></i></div>
  862.                             ";
  863.         }
  864.         // line 255
  865.         echo "                        </div>
  866.                     ";
  867.         
  868.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  869.         
  870.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  871.     }
  872.     // line 264
  873.     public function block_popups($context, array $blocks = [])
  874.     {
  875.         $macros $this->macros;
  876.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  877.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""popups"));
  878.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  879.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""popups"));
  880.         // line 265
  881.         echo "    ";
  882.         $this->displayParentBlock("popups"$context$blocks);
  883.         echo "
  884.     ";
  885.         // line 266
  886.         $this->loadTemplate("Slivki/popups/video_guide_popup.html.twig""Slivki/sale/index.html.twig"266)->display($context);
  887.         
  888.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  889.         
  890.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  891.     }
  892.     public function getTemplateName()
  893.     {
  894.         return "Slivki/sale/index.html.twig";
  895.     }
  896.     public function isTraitable()
  897.     {
  898.         return false;
  899.     }
  900.     public function getDebugInfo()
  901.     {
  902.         return array (  941 => 266,  936 => 265,  926 => 264,  915 => 255,  911 => 253,  908 => 252,  906 => 251,  903 => 250,  893 => 249,  883 => 257,  880 => 249,  877 => 248,  867 => 241,  862 => 239,  858 => 237,  855 => 236,  852 => 235,  849 => 234,  847 => 233,  844 => 232,  841 => 231,  839 => 212,  832 => 226,  825 => 224,  819 => 222,  817 => 221,  813 => 220,  808 => 218,  799 => 217,  796 => 216,  792 => 215,  788 => 214,  783 => 213,  780 => 212,  777 => 211,  774 => 210,  769 => 207,  767 => 206,  758 => 199,  747 => 195,  741 => 193,  739 => 192,  735 => 191,  727 => 190,  724 => 189,  720 => 188,  717 => 187,  712 => 184,  709 => 183,  706 => 182,  704 => 181,  698 => 177,  690 => 174,  684 => 173,  681 => 172,  678 => 171,  671 => 169,  663 => 164,  660 => 163,  652 => 161,  645 => 158,  637 => 156,  635 => 155,  631 => 154,  627 => 153,  624 => 152,  618 => 149,  614 => 148,  611 => 147,  609 => 146,  604 => 144,  598 => 143,  594 => 142,  591 => 141,  588 => 140,  586 => 139,  583 => 138,  580 => 137,  570 => 136,  549 => 46,  537 => 261,  532 => 258,  530 => 136,  527 => 135,  524 => 134,  522 => 133,  519 => 132,  517 => 97,  513 => 130,  506 => 128,  499 => 126,  486 => 123,  481 => 122,  477 => 121,  474 => 120,  470 => 119,  465 => 118,  462 => 117,  457 => 116,  454 => 115,  447 => 113,  432 => 110,  425 => 109,  421 => 108,  418 => 107,  413 => 106,  410 => 105,  408 => 104,  404 => 102,  393 => 100,  389 => 99,  386 => 98,  384 => 97,  378 => 93,  375 => 92,  366 => 88,  358 => 87,  355 => 86,  352 => 85,  349 => 84,  343 => 83,  334 => 79,  325 => 78,  322 => 77,  319 => 76,  316 => 75,  313 => 74,  308 => 73,  305 => 72,  303 => 71,  293 => 66,  287 => 65,  284 => 64,  278 => 62,  271 => 60,  268 => 59,  263 => 57,  258 => 56,  252 => 54,  250 => 53,  246 => 52,  243 => 51,  241 => 50,  238 => 49,  236 => 48,  231 => 46,  225 => 44,  215 => 43,  203 => 41,  196 => 38,  192 => 36,  189 => 35,  185 => 33,  182 => 32,  172 => 31,  159 => 28,  155 => 26,  152 => 25,  142 => 24,  131 => 21,  128 => 20,  125 => 19,  122 => 18,  119 => 17,  109 => 16,  95 => 12,  86 => 8,  83 => 7,  73 => 6,  62 => 4,  60 => 3,  58 => 2,  56 => 1,  43 => 4,);
  903.     }
  904.     public function getSourceContext()
  905.     {
  906.         return new Source("{% set currentCategoryID = currentCategoryID is defined ? currentCategoryID : 0 %}
  907. {% set yesterday = 'now'|date_modify(\"-1 day\")|date(\"Y-m-d\") %}
  908. {% set statViewer = app.user and app.user.hasRole(constant('Slivki\\\\Entity\\\\UserGroup::STATISTICS_VIEWER')) %}
  909. {% extends 'base.html.twig' %}
  910. {% block ogimage %}
  911.     {% if isVideoguideCategory is defined and isVideoguideCategory and currentCategory.category.getHotFeedIconMedia() %}
  912.         <meta property=\"og:image\" content=\"{{ app.request.getSchemeAndHttpHost() }}{{ getImageURL(currentCategory.category.getHotFeedIconMedia(), 128, 128) }}\"/>
  913.         <meta property=\"og:image:width\" content=\"128\"/>
  914.         <meta property=\"og:image:height\" content=\"128\"/>
  915.     {% else %}
  916.         {{ parent() }}
  917.     {% endif %}
  918. {% endblock %}
  919. {% block header %}
  920.     {% if isMobileDevice() %}
  921.         {% include 'header_sales_mobile.html.twig' %}
  922.     {% else %}
  923.         {% include 'header_sales.html.twig' %}
  924.     {% endif %}
  925. {% endblock %}
  926. {% block stylesheets %}
  927.     {% if mainHotFeed is defined and mainHotFeed|length > 0 or (isVideoguideCategory is defined and isVideoguideCategory) %}
  928.         <link rel=\"stylesheet\" href=\"/css/swiper/swiper.min.css\" />
  929.     {% endif %}
  930.     {{ parent() }}
  931. {% endblock %}
  932. {% block javascripts %}
  933.     {% if mainHotFeed is defined and mainHotFeed|length > 0 or (isVideoguideCategory is defined and isVideoguideCategory) %}
  934.         <script src=\"/js/swiper-js/swiper.min.js\"></script>
  935.     {% endif %}
  936.     {% if flierMenu is defined %}
  937.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.countdown/2.2.0/jquery.countdown.min.js\"></script>
  938.     {% endif %}
  939.     {{ parent() }}
  940.     <script src=\"//api-maps.yandex.ru/2.1.29/?lang=ru-RU\"></script>
  941.     <script src=\"//mourner.github.io/simplify-js/simplify.js\"></script>
  942.     <script src=\"/js/sales.js?v={{ sales_js_version }}\"></script>
  943. {% endblock %}
  944. {% block content %}
  945.     <input type=\"hidden\" id=\"categoryID\" value=\"{{ currentCategoryID }}\"/>
  946.     <div class=\"content container transparent with-banner sales video-guide-block\"  id=\"contentContainer\">
  947.         <div class=\"{% block mainColumnClass %} {{ parent() }} one-column sales {% endblock %}\">
  948.             <div class=\"content-wrapper\">
  949.                 {% if flierMenu is defined %}
  950.                     <div class=\"stock-group-header with-search\">
  951.                         {% if currentCategoryID > 0 %}
  952.                             <div class=\"breadcrumbs\">
  953.                                 <a href=\"{{ base_url }}\">Главная</a>
  954.                                 {% if isChildOfFlier is not defined %}
  955.                                     <i class=\"fa fa-angle-right\"></i> {{ currentCategory.category.getName() }}
  956.                                 {% else %}
  957.                                     <i class=\"fa fa-angle-right\"></i><a href=\"{{ base_url }}/giper-shop\">&nbsp;Листовки</a>
  958.                                     <i class=\"fa fa-angle-right\"></i> {{ currentCategory.category.getName() }}
  959.                                 {% endif %}
  960.                             </div>
  961.                             <div class=\"title\"><h1>{{ currentCategory.category.getName() }}</h1> ({{ currentCategory.entityList|length }})</div>
  962.                         {% else %}
  963.                             <div class=\"title\"><h1>Листовки</h1> ({{ flierMenuCount }})</div>
  964.                         {% endif %}
  965.                         <div class=\"flier-total-visit-count\">
  966.                             <span data-toggle=\"tooltip\" data-placement=\"left\" data-original-title='{{ saleVisitCountTooltip }}\"'><i class=\"slivki-icon-users\"></i>{{ saleVisitCount }}</span><br>
  967.                             <span data-toggle=\"tooltip\" data-placement=\"left\" data-original-title='{{ visitedSalesTooltip }}'><i class=\"slivki-icon-paper\"></i>{{ visitedSales }}</span>
  968.                         </div>
  969.                         <div class=\"clear\"></div>
  970.                     </div>
  971.                     <ul id=\"saleTopMenu\" class=\"capsule-menu expanded\">
  972.                         {% set flierCompanyNewsMenuItem = null %}
  973.                         {% if flierMenu|length > 1 %}
  974.                             {% for item in flierMenu %}
  975.                                 {% if item.getEntityID() == constant('Slivki\\\\Entity\\\\Category::FLIER_COMPANY_NEWS_CATEGORY_ID') %}
  976.                                     {% set flierCompanyNewsMenuItem = item %}
  977.                                 {% else %}
  978.                                     <li>
  979.                                         <a href=\"{{ item.getURL() }}{{ selectedCity is defined ? '?city=' ~ selectedCity }}\" {{ item.getEntityID() == currentCategoryID ? 'class=\"active\"'}} data-id=\"{{ item.getEntityID() }}\">
  980.                                             {{ item.getAlias() != null ? item.getAlias() : item.getName() }} <span>{{ item.getEntityCount() }}</span>
  981.                                         </a>
  982.                                     </li>
  983.                                 {% endif %}
  984.                             {% endfor %}
  985.                             {% if flierCompanyNewsMenuItem %}
  986.                                 {% set item = flierCompanyNewsMenuItem %}
  987.                                 <li>
  988.                                     <a href=\"{{ item.getURL() }}\" {{ item.getEntityID() == currentCategoryID ? 'class=\"active\"'}} data-id=\"{{ item.getEntityID() }}\">
  989.                                         {{ item.getAlias() != null ? item.getAlias() : item.getName() }} <span>{{ item.getEntityCount() }}</span>
  990.                                     </a>
  991.                                 </li>
  992.                             {% endif %}
  993.                         {% endif %}
  994.                     </ul>
  995.                     <div class=\"clear\"></div>
  996.                     <div id=\"flierCitySelectBox\">
  997.                         <div class=\"title\">Выберите свой город</div>
  998.                         {% apply spaceless %}
  999.                         <ul id=\"flierFirstLetterCityFilters\">
  1000.                             {% for char in cityList|keys %}
  1001.                                 <li><a href=\"#\" data-char=\"{{ char }}\">{{ char }}</a></li>
  1002.                             {% endfor %}
  1003.                         </ul>
  1004.                         <div id=\"flierCitySelectList\">
  1005.                             {% set cityColumnCount = 6 %}
  1006.                             {% set itemInColumnCount = (constant('Slivki\\\\Entity\\\\City::FLIER_DEFAULT_CITY_LIST')|length / cityColumnCount)|round(1, 'ceil') %}
  1007.                             {% for row in constant('Slivki\\\\Entity\\\\City::FLIER_DEFAULT_CITY_LIST')|batch(itemInColumnCount) %}
  1008.                                 <ul class=\"char-div\">
  1009.                                 {% for defaultCity in row %}
  1010.                                     <li class=\"default-city-li {{ selectedCity is defined and selectedCity == defaultCity.name ? 'active' }}\" data-char=\"{{ defaultCity.name|first }}\">
  1011.                                         <a href=\"{{ app.request.pathInfo }}?city={{ defaultCity.name|url_encode }}\">{{ defaultCity.name }} <span data-toggle=\"tooltip\" data-placement=\"top\" data-original-title=\"Количество жителей\">{{ defaultCity.population }}</span></a>
  1012.                                     </li>
  1013.                                 {% endfor %}
  1014.                                 </ul>
  1015.                             {% endfor %}
  1016.                             {% set currentChar = cityList|keys|first %}
  1017.                             {% for char in cityList|keys %}
  1018.                                 {% set itemInColumnCount = (cityList[char]|length / cityColumnCount)|round(1, 'ceil') %}
  1019.                                 <div data-char=\"{{ char }}\" class=\"char-div\">
  1020.                                     {% for row in cityList[char]|batch(itemInColumnCount) %}
  1021.                                         <ul>
  1022.                                         {% for city in row %}
  1023.                                             <li {{ selectedCity is defined and selectedCity == city.cityName ? 'class=active' }}>
  1024.                                                 <a href=\"{{ app.request.pathInfo }}?city={{ city.cityName|url_encode }}\">{{ city.cityName }}</a>
  1025.                                             </li>
  1026.                                         {% endfor %}
  1027.                                         </ul>
  1028.                                     {% endfor %}
  1029.                                 </div>
  1030.                             {% endfor %}
  1031.                         </div>
  1032.                         {% endapply %}
  1033.                     </div>
  1034.                     {% include 'Slivki/sale/sale_map.html.twig' %}
  1035.                 {% endif %}
  1036.                 {% block main_content %}
  1037.                     {% if flierMenu is not defined %}
  1038.                         <div class=\"stock-group-header with-search\">
  1039.                             {% if currentCategoryID > 0 %}
  1040.                                 {% if isChildOfVideoGuide is defined and isChildOfVideoGuide %}
  1041.                                     <div class=\"breadcrumbs\">
  1042.                                         <a href=\"{{ base_url }}\">Главная</a>
  1043.                                         <i class=\"fa fa-angle-right\"></i><a href=\"{{ getURL(\"Slivki:Sale:category\", videoguideCategory.category.getID()) }}\"> {{ videoguideCategory.category.getName() }}</a>
  1044.                                         <i class=\"fa fa-angle-right\"></i> {{ currentCategory.category.getName() }}
  1045.                                     </div>
  1046.                                 {% elseif currentCategoryID == constant('Slivki\\\\Entity\\\\Category::SALE_VIDEO_GUIDE_CATEGORY_ID') %}
  1047.                                     <div class=\"breadcrumbs\">
  1048.                                         <a href=\"{{ base_url }}\">Главная</a>
  1049.                                         <i class=\"fa fa-angle-right\"></i> {{ currentCategory.category.getName() }}
  1050.                                     </div>
  1051.                                 {% else %}
  1052.                                     <div class=\"breadcrumbs\">
  1053.                                         <a href=\"{{ base_url }}\">Главная</a>
  1054.                                         <i class=\"fa fa-angle-right\"></i><a href=\"{{ base_url }}/skidki-i-rasprodazhi\">&nbsp;Новости скидок</a>
  1055.                                         {% if parentCategory is defined %}
  1056.                                             <i class=\"fa fa-angle-right\"></i><a href=\"{{ getURL(\"Slivki:Sale:category\", parentCategory.category.getID()) }}\">&nbsp;{{ parentCategory.category.getName() }}</a>
  1057.                                         {% endif %}
  1058.                                         <i class=\"fa fa-angle-right\"></i> {{ currentCategory.category.getName() }}
  1059.                                     </div>
  1060.                                 {% endif %}
  1061.                                 <div class=\"title\"><h1>{{ currentCategory.category.getName() }}</h1> ({{ currentCategory.entityList is defined ? currentCategory.entityList|length : 0 }})</div>
  1062.                             {% else %}
  1063.                                 <div class=\"breadcrumbs\">
  1064.                                     <a href=\"{{ base_url }}\">Главная</a>
  1065.                                     <i class=\"fa fa-angle-right\"></i> Новости скидок
  1066.                                 </div>
  1067.                             <div class=\"clear\"></div>
  1068.                                     <div class=\"title-wrap text-center\">
  1069.                                         <div class=\"title\"><h1>{{ metaInfo.title }} Новости скидок</h1> ({{ getActiveSalesCount() }})</div>
  1070.                             {% endif %}
  1071.                             {% if not isMobileDevice() %}
  1072.                                 <div class=\"flier-total-visit-count\">
  1073.                                     <span data-toggle=\"tooltip\" data-placement=\"left\" data-original-title='{{ saleVisitCountTooltip }}'><i class=\"slivki-icon-users\"></i>{{ saleVisitCount }}</span><br>
  1074.                                     <span data-toggle=\"tooltip\" data-placement=\"left\" data-original-title='{{ visitedSalesTooltip }}'><i class=\"slivki-icon-paper\"></i>{{ visitedSales }}</span>
  1075.                                 </div>
  1076.                             {% endif %}
  1077.                             <div class=\"clear\"></div>
  1078.                                     </div>
  1079.                         </div>
  1080.                         {% if isVideoguideCategory is not defined or not isVideoguideCategory %}
  1081.                             {% set saleMenu = saleMenu is defined ? saleMenu : categoryList %}
  1082.                             {% if isMobileDevice() %}
  1083.                                 <div id=\"mustBeFixedContainer\">
  1084.                                     <div id=\"mustBeFixed\">
  1085.                             {% endif %}
  1086.                             <ul id=\"saleTopMenu\" class=\"capsule-menu pb-2\">
  1087.                                 {% for category in saleMenu %}
  1088.                                     <li>
  1089.                                         <a href=\"{{ getURL(\"Slivki:Sale:category\", category.category.getID()) }}\" {{ category.category.getID() == currentCategoryID ? 'class=\"active\"'}} data-id=\"{{ category.category.getID() }}\">
  1090.                                             {{ category.category.getName() }}
  1091.                                             {% if statViewer %}
  1092.                                                 ({{ getStatVisitCount(category.category.getID(), constant('Slivki\\\\Entity\\\\Visit::TYPE_SALE_CATEGORY'), yesterday, yesterday) }})
  1093.                                             {% endif %}
  1094.                                             <span>{{ category.category.getEntityCount() }}</span>
  1095.                                         </a>
  1096.                                     </li>
  1097.                                 {% endfor %}
  1098.                                 <li class=\"capsule-menu--collapse-btn\">
  1099.                                     <a href=\"javascript:void(0)\" class=\"active\">Свернуть</a>
  1100.                                 </li>
  1101.                                 <li class=\"capsule-menu--expand-btn\">
  1102.                                     <a href=\"javascript:void(0)\"><i class=\"slivki-icon-dot-3\"></i></a>
  1103.                                 </li>
  1104.                             </ul>
  1105.                             {% if isMobileDevice() %}
  1106.                                     </div>
  1107.                                 </div>
  1108.                             {% endif %}
  1109.                         {% endif %}
  1110.                         {% if isVideoguideCategory is defined and isVideoguideCategory %}
  1111.                             {% apply spaceless %}
  1112.                                 <div id=\"videoguideCategoryMenu\" class=\"{{ not isMobileDevice() ? 'swiper-container' }}\">
  1113.                                     <div class=\"{{ not isMobileDevice() ? 'swiper-wrapper' }}\">
  1114.                                         {% for category in videoguideCategoryMenu|filter(category => category.getID() != constant('Slivki\\\\Entity\\\\Category::SALE_VIDEO_GUIDE_AUTORS_CATEGORY_ID')) %}
  1115.                                             {% set categoryUrl = getURL(\"Slivki:Sale:category\", category.getID()) %}
  1116.                                             <a class=\"{{ not isMobileDevice() ? 'swiper-slide' }} {{ categoryUrl == app.request.pathinfo ? 'active' }}\" href=\"{{ categoryUrl }}\">
  1117.                                                 <img src=\"{{ getImageURL(category.getHotFeedIconMedia(), 128, 128) }}\" alt=''/>
  1118.                                                 <br />
  1119.                                                 {{ category.getName() }}
  1120.                                                 {% if statViewer %}
  1121.                                                     ({{ getStatVisitCount(category.getID(), constant('Slivki\\\\Entity\\\\Visit::TYPE_SALE_CATEGORY'), yesterday, yesterday) }})
  1122.                                                 {% endif %}
  1123.                                             </a>
  1124.                                         {% endfor %}
  1125.                                     </div>
  1126.                                     <div class=\"swiper-button swiper-button-prev\"></div>
  1127.                                     <div class=\"swiper-button swiper-button-next\"></div>
  1128.                                 </div>
  1129.                             {% endapply %}
  1130.                         {% endif %}
  1131.                         {% if isVideoguideCategory is not defined or not isVideoguideCategory %}
  1132.                             {% include 'Slivki/sale/sale_map.html.twig' %}
  1133.                         {% endif %}
  1134.                         {% if mainHotFeed is defined and mainHotFeed|length > 0 %}
  1135.                             <div id=\"mainHotFeed\" class=\"sales-hot-feed\">
  1136.                                 <div class=\"title\"><i>&nbsp;</i> ГОРЯЧАЯ ЛЕНТА</div>
  1137.                                 <div class=\"swiper-container\" id=\"mainHotFeedSlider\" data-offset=\"0\" data-type=\"{{ constant('Slivki\\\\Entity\\\\HotFeed::TYPE_MAIN_PAGE') }}\">
  1138.                                     <div class=\"swiper-wrapper\">
  1139.                                         {{ mainHotFeed|raw }}
  1140.                                     </div>
  1141.                                     <div class=\"swiper-button swiper-button-prev\"></div>
  1142.                                     <div class=\"swiper-button swiper-button-next\"></div>
  1143.                                 </div>
  1144.                             </div>
  1145.                         {% endif %}
  1146.                     {% endif %}
  1147.                     {% block teaserList %}
  1148.                         <div id=\"saleIndexTeasers\">
  1149.                             {% include 'Slivki/sale/sale_list_box.html.twig' with {'noCategoryTitle': isVideoguideCategory is defined and isVideoguideCategory } %}
  1150.                             {% if currentCategoryID == 0 %}
  1151.                                 <div id=\"saleCategoryListLoader\"><i class=\"fa fa-spinner fa-spin\" aria-hidden=\"true\"></i></div>
  1152.                             {% endif %}
  1153.                         </div>
  1154.                     {% endblock %}
  1155.                 {% endblock %}
  1156.             </div>
  1157.         </div>
  1158.     </div>
  1159.     {{ getFooter() }}
  1160. {% endblock %}
  1161. {% block popups %}
  1162.     {{ parent() }}
  1163.     {% include 'Slivki/popups/video_guide_popup.html.twig' %}
  1164. {% endblock %}""Slivki/sale/index.html.twig""/mnt/data/virtwww/test/templates/Slivki/sale/index.html.twig");
  1165.     }
  1166. }