<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @Web/Home/_top-carousel.html.twig */
class __TwigTemplate_7e6086f8338a973288e65e12183fc414c0f845d67850c0cef14733a9a3ec5efa extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Web/Home/_top-carousel.html.twig"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Web/Home/_top-carousel.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Web/Home/_top-carousel.html.twig"));
// line 1
$context["homeTopCarouselClass"] = "";
// line 2
if ((array_key_exists("isHome", $context) && (isset($context["isHome"]) || array_key_exists("isHome", $context) ? $context["isHome"] : (function () { throw new RuntimeError('Variable "isHome" does not exist.', 2, $this->source); })()))) {
// line 3
echo "\t";
$context["homeTopCarouselClass"] = " js-home-top-carousel";
// line 4
echo "\t";
$context["homeTopCarouselItemClass"] = " js-home-top-carousel-item";
}
// line 6
echo "
";
// line 9
$context["homeTopCarouselCookie"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 9, $this->source); })()), "request", [], "any", false, false, false, 9), "cookies", [], "any", false, false, false, 9), "get", [0 => "homeTopCarousel"], "method", false, false, false, 9);
// line 10
if ( !(isset($context["homeTopCarouselCookie"]) || array_key_exists("homeTopCarouselCookie", $context) ? $context["homeTopCarouselCookie"] : (function () { throw new RuntimeError('Variable "homeTopCarouselCookie" does not exist.', 10, $this->source); })())) {
// line 11
echo "\t";
$context["homeTopCarouselCookie"] = "top-week";
}
// line 13
echo "
";
// line 14
$context["dataCur"] = twig_get_attribute($this->env, $this->source, (isset($context["topCarousel"]) || array_key_exists("topCarousel", $context) ? $context["topCarousel"] : (function () { throw new RuntimeError('Variable "topCarousel" does not exist.', 14, $this->source); })()), (isset($context["homeTopCarouselCookie"]) || array_key_exists("homeTopCarouselCookie", $context) ? $context["homeTopCarouselCookie"] : (function () { throw new RuntimeError('Variable "homeTopCarouselCookie" does not exist.', 14, $this->source); })()), [], "array", false, false, false, 14);
// line 15
echo "
";
// line 16
if (((isset($context["homeTopCarouselCookie"]) || array_key_exists("homeTopCarouselCookie", $context) ? $context["homeTopCarouselCookie"] : (function () { throw new RuntimeError('Variable "homeTopCarouselCookie" does not exist.', 16, $this->source); })()) == "top-week")) {
// line 17
echo "\t";
$context["homeTopCarouselLinkClass"] = " main-link-top-week";
} elseif (( // line 18
(isset($context["homeTopCarouselCookie"]) || array_key_exists("homeTopCarouselCookie", $context) ? $context["homeTopCarouselCookie"] : (function () { throw new RuntimeError('Variable "homeTopCarouselCookie" does not exist.', 18, $this->source); })()) == "top-month")) {
// line 19
echo "\t";
$context["homeTopCarouselLinkClass"] = " main-link-top-month";
} else {
// line 21
echo "\t";
$context["homeTopCarouselLinkClass"] = " main-link-top-all";
}
// line 23
echo "
<div id=\"top_collection\" class=\"carousel-collection-block js-carousel-block";
// line 24
echo twig_escape_filter($this->env, (isset($context["homeTopCarouselClass"]) || array_key_exists("homeTopCarouselClass", $context) ? $context["homeTopCarouselClass"] : (function () { throw new RuntimeError('Variable "homeTopCarouselClass" does not exist.', 24, $this->source); })()), "html", null, true);
echo "\" data-group-carousel>
\t<div class=\"carousel-controls\">
\t\t<h2 class=\"carousel-name popular\">
\t\t\t<a href=\"";
// line 29
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["dataCur"]) || array_key_exists("dataCur", $context) ? $context["dataCur"] : (function () { throw new RuntimeError('Variable "dataCur" does not exist.', 29, $this->source); })()), "link", [], "array", false, false, false, 29), "html", null, true);
echo "\"
\t\t\t class=\"text js-group-carousel-name";
// line 30
echo twig_escape_filter($this->env, (isset($context["homeTopCarouselLinkClass"]) || array_key_exists("homeTopCarouselLinkClass", $context) ? $context["homeTopCarouselLinkClass"] : (function () { throw new RuntimeError('Variable "homeTopCarouselLinkClass" does not exist.', 30, $this->source); })()), "html", null, true);
echo "\"
\t\t\t data-link-classes=\"main-link-top-week main-link-top-month main-link-top-all\"
\t\t\t data-sort-to-catalog=\"1\"
\t\t\t>
\t\t\t\t";
// line 34
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["dataCur"]) || array_key_exists("dataCur", $context) ? $context["dataCur"] : (function () { throw new RuntimeError('Variable "dataCur" does not exist.', 34, $this->source); })()), "title", [], "array", false, false, false, 34), "html", null, true);
echo "
\t\t\t</a>
\t\t\t<span class=\"arrow\"></span>
\t\t\t<div class=\"list-of-top-wrap\">
\t\t\t\t<ul data-group-carousels-list>
\t\t\t\t\t";
// line 41
$context["data"] = twig_get_attribute($this->env, $this->source, (isset($context["topCarousel"]) || array_key_exists("topCarousel", $context) ? $context["topCarousel"] : (function () { throw new RuntimeError('Variable "topCarousel" does not exist.', 41, $this->source); })()), "top-week", [], "array", false, false, false, 41);
// line 42
echo "\t\t\t\t\t<li class=\"";
echo ((((isset($context["homeTopCarouselCookie"]) || array_key_exists("homeTopCarouselCookie", $context) ? $context["homeTopCarouselCookie"] : (function () { throw new RuntimeError('Variable "homeTopCarouselCookie" does not exist.', 42, $this->source); })()) == twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 42, $this->source); })()), "key", [], "array", false, false, false, 42))) ? ("active ") : (""));
echo "main-popup-top-week";
echo twig_escape_filter($this->env, (isset($context["homeTopCarouselItemClass"]) || array_key_exists("homeTopCarouselItemClass", $context) ? $context["homeTopCarouselItemClass"] : (function () { throw new RuntimeError('Variable "homeTopCarouselItemClass" does not exist.', 42, $this->source); })()), "html", null, true);
echo "\"
\t\t\t\t\t\tdata-link-class=\"main-link-top-week\"
\t\t\t\t\t\tdata-carousel-title=\"";
// line 44
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 44, $this->source); })()), "title", [], "array", false, false, false, 44), "html", null, true);
echo "\"
\t\t\t\t\t\tdata-link=\"";
// line 45
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 45, $this->source); })()), "link", [], "array", false, false, false, 45), "html", null, true);
echo "\"
\t\t\t\t\t data-url=\"";
// line 46
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 46, $this->source); })()), "url-json", [], "array", false, false, false, 46), "html", null, true);
echo "\"
\t\t\t\t\t ";
// line 47
if ((isset($context["homeTopCarouselClass"]) || array_key_exists("homeTopCarouselClass", $context) ? $context["homeTopCarouselClass"] : (function () { throw new RuntimeError('Variable "homeTopCarouselClass" does not exist.', 47, $this->source); })())) {
echo "data-cookie=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 47, $this->source); })()), "key", [], "array", false, false, false, 47), "html", null, true);
echo "\"";
}
// line 48
echo "\t\t\t\t\t>
\t\t\t\t\t\t";
// line 49
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("top.week"), "html", null, true);
echo "
\t\t\t\t\t</li>
\t\t\t\t\t";
// line 51
$context["data"] = twig_get_attribute($this->env, $this->source, (isset($context["topCarousel"]) || array_key_exists("topCarousel", $context) ? $context["topCarousel"] : (function () { throw new RuntimeError('Variable "topCarousel" does not exist.', 51, $this->source); })()), "top-month", [], "array", false, false, false, 51);
// line 52
echo "\t\t\t\t\t<li class=\"";
echo ((((isset($context["homeTopCarouselCookie"]) || array_key_exists("homeTopCarouselCookie", $context) ? $context["homeTopCarouselCookie"] : (function () { throw new RuntimeError('Variable "homeTopCarouselCookie" does not exist.', 52, $this->source); })()) == twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 52, $this->source); })()), "key", [], "array", false, false, false, 52))) ? ("active ") : (""));
echo "main-popup-top-month";
echo twig_escape_filter($this->env, (isset($context["homeTopCarouselItemClass"]) || array_key_exists("homeTopCarouselItemClass", $context) ? $context["homeTopCarouselItemClass"] : (function () { throw new RuntimeError('Variable "homeTopCarouselItemClass" does not exist.', 52, $this->source); })()), "html", null, true);
echo "\"
\t\t\t\t\t\tdata-link-class=\"main-link-top-month\"
\t\t\t\t\t\tdata-carousel-title=\"";
// line 54
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 54, $this->source); })()), "title", [], "array", false, false, false, 54), "html", null, true);
echo "\"
\t\t\t\t\t\tdata-link=\"";
// line 55
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 55, $this->source); })()), "link", [], "array", false, false, false, 55), "html", null, true);
echo "\"
\t\t\t\t\t\tdata-url=\"";
// line 56
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 56, $this->source); })()), "url-json", [], "array", false, false, false, 56), "html", null, true);
echo "\"
\t\t\t\t\t\t";
// line 57
if ((isset($context["homeTopCarouselClass"]) || array_key_exists("homeTopCarouselClass", $context) ? $context["homeTopCarouselClass"] : (function () { throw new RuntimeError('Variable "homeTopCarouselClass" does not exist.', 57, $this->source); })())) {
echo "data-cookie=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 57, $this->source); })()), "key", [], "array", false, false, false, 57), "html", null, true);
echo "\"";
}
// line 58
echo "\t\t\t\t\t>
\t\t\t\t\t\t";
// line 59
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("top.month"), "html", null, true);
echo "
\t\t\t\t\t</li>
\t\t\t\t\t";
// line 61
$context["data"] = twig_get_attribute($this->env, $this->source, (isset($context["topCarousel"]) || array_key_exists("topCarousel", $context) ? $context["topCarousel"] : (function () { throw new RuntimeError('Variable "topCarousel" does not exist.', 61, $this->source); })()), "top-all", [], "array", false, false, false, 61);
// line 62
echo "\t\t\t\t\t<li class=\"";
echo ((((isset($context["homeTopCarouselCookie"]) || array_key_exists("homeTopCarouselCookie", $context) ? $context["homeTopCarouselCookie"] : (function () { throw new RuntimeError('Variable "homeTopCarouselCookie" does not exist.', 62, $this->source); })()) == twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 62, $this->source); })()), "key", [], "array", false, false, false, 62))) ? ("active ") : (""));
echo "main-popup-top-all";
echo twig_escape_filter($this->env, (isset($context["homeTopCarouselItemClass"]) || array_key_exists("homeTopCarouselItemClass", $context) ? $context["homeTopCarouselItemClass"] : (function () { throw new RuntimeError('Variable "homeTopCarouselItemClass" does not exist.', 62, $this->source); })()), "html", null, true);
echo "\"
\t\t\t\t\t\tdata-link-class=\"main-link-top-all\"
\t\t\t\t\t\tdata-carousel-title=\"";
// line 64
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 64, $this->source); })()), "title", [], "array", false, false, false, 64), "html", null, true);
echo "\"
\t\t\t\t\t\tdata-link=\"";
// line 65
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 65, $this->source); })()), "link", [], "array", false, false, false, 65), "html", null, true);
echo "\"
\t\t\t\t\t\tdata-url=\"";
// line 66
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 66, $this->source); })()), "url-json", [], "array", false, false, false, 66), "html", null, true);
echo "\"
\t\t\t\t\t\t";
// line 67
if ((isset($context["homeTopCarouselClass"]) || array_key_exists("homeTopCarouselClass", $context) ? $context["homeTopCarouselClass"] : (function () { throw new RuntimeError('Variable "homeTopCarouselClass" does not exist.', 67, $this->source); })())) {
echo "data-cookie=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 67, $this->source); })()), "key", [], "array", false, false, false, 67), "html", null, true);
echo "\"";
}
// line 68
echo "\t\t\t\t\t>
\t\t\t\t\t\t";
// line 69
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("top.all"), "html", null, true);
echo "
\t\t\t\t\t</li>
\t\t\t\t</ul>
\t\t\t</div>
\t\t</h2>
\t\t<span class=\"material-icons prev disabled hidden-xs swiper-button-prev\" data-prev-show>
\t\t\t
\t\t</span>
\t\t<span class=\"material-icons next hidden-xs swiper-button-next ladda-button\"
\t\t\t data-ajax-url=\"";
// line 79
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_last_collection", ["type" => "top-week"]);
echo "\"
\t\t\t data-style=\"zoom-in\"
\t\t\t data-spinner-color=\"#6890c5\"
\t\t\t data-next-show
\t\t>
\t\t\t<span class=\"ladda-label\"></span>
\t\t</span>
\t</div>
\t";
// line 88
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragmentStrategy("esi", Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("WebBundle\\Controller\\HomeController::carouselAction", ["type" => (isset($context["homeTopCarouselCookie"]) || array_key_exists("homeTopCarouselCookie", $context) ? $context["homeTopCarouselCookie"] : (function () { throw new RuntimeError('Variable "homeTopCarouselCookie" does not exist.', 88, $this->source); })())]));
echo "
</div>";
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "@Web/Home/_top-carousel.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 251 => 88, 239 => 79, 226 => 69, 223 => 68, 217 => 67, 213 => 66, 209 => 65, 205 => 64, 197 => 62, 195 => 61, 190 => 59, 187 => 58, 181 => 57, 177 => 56, 173 => 55, 169 => 54, 161 => 52, 159 => 51, 154 => 49, 151 => 48, 145 => 47, 141 => 46, 137 => 45, 133 => 44, 125 => 42, 123 => 41, 113 => 34, 106 => 30, 102 => 29, 94 => 24, 91 => 23, 87 => 21, 83 => 19, 81 => 18, 78 => 17, 76 => 16, 73 => 15, 71 => 14, 68 => 13, 64 => 11, 62 => 10, 60 => 9, 57 => 6, 53 => 4, 50 => 3, 48 => 2, 46 => 1,);
}
public function getSourceContext()
{
return new Source("{% set homeTopCarouselClass = '' %}
{% if isHome is defined and isHome %}
\t{% set homeTopCarouselClass = ' js-home-top-carousel' %}
\t{% set homeTopCarouselItemClass = ' js-home-top-carousel-item' %}
{% endif %}
{# если есть cookie с настройкой топ-карусели, считать значение этих cookie и вывести #}
{# содержимое карусели, урл ссылки, текст ссылки, и классы в соответствии с этими cookie #}
{% set homeTopCarouselCookie = app.request.cookies.get('homeTopCarousel') %}
{% if not homeTopCarouselCookie %}
\t{% set homeTopCarouselCookie = 'top-week' %}
{% endif %}
{% set dataCur = topCarousel[homeTopCarouselCookie] %}
{% if homeTopCarouselCookie == 'top-week' %}
\t{% set homeTopCarouselLinkClass = ' main-link-top-week' %}
{% elseif homeTopCarouselCookie == 'top-month' %}
\t{% set homeTopCarouselLinkClass = ' main-link-top-month' %}
{% else %}
\t{% set homeTopCarouselLinkClass = ' main-link-top-all' %}
{% endif %}
<div id=\"top_collection\" class=\"carousel-collection-block js-carousel-block{{ homeTopCarouselClass }}\" data-group-carousel>
\t<div class=\"carousel-controls\">
\t\t<h2 class=\"carousel-name popular\">
\t\t\t<a href=\"{{ dataCur['link'] }}\"
\t\t\t class=\"text js-group-carousel-name{{ homeTopCarouselLinkClass }}\"
\t\t\t data-link-classes=\"main-link-top-week main-link-top-month main-link-top-all\"
\t\t\t data-sort-to-catalog=\"1\"
\t\t\t>
\t\t\t\t{{ dataCur['title'] }}
\t\t\t</a>
\t\t\t<span class=\"arrow\"></span>
\t\t\t<div class=\"list-of-top-wrap\">
\t\t\t\t<ul data-group-carousels-list>
\t\t\t\t\t{% set data = topCarousel['top-week'] %}
\t\t\t\t\t<li class=\"{{ homeTopCarouselCookie == data['key'] ? 'active ' : '' }}main-popup-top-week{{ homeTopCarouselItemClass }}\"
\t\t\t\t\t\tdata-link-class=\"main-link-top-week\"
\t\t\t\t\t\tdata-carousel-title=\"{{ data['title'] }}\"
\t\t\t\t\t\tdata-link=\"{{ data['link'] }}\"
\t\t\t\t\t data-url=\"{{ data['url-json'] }}\"
\t\t\t\t\t {% if homeTopCarouselClass %}data-cookie=\"{{ data['key'] }}\"{% endif %}
\t\t\t\t\t>
\t\t\t\t\t\t{{ 'top.week' | trans }}
\t\t\t\t\t</li>
\t\t\t\t\t{% set data = topCarousel['top-month'] %}
\t\t\t\t\t<li class=\"{{ homeTopCarouselCookie == data['key'] ? 'active ' : '' }}main-popup-top-month{{ homeTopCarouselItemClass }}\"
\t\t\t\t\t\tdata-link-class=\"main-link-top-month\"
\t\t\t\t\t\tdata-carousel-title=\"{{ data['title'] }}\"
\t\t\t\t\t\tdata-link=\"{{ data['link'] }}\"
\t\t\t\t\t\tdata-url=\"{{ data['url-json'] }}\"
\t\t\t\t\t\t{% if homeTopCarouselClass %}data-cookie=\"{{ data['key'] }}\"{% endif %}
\t\t\t\t\t>
\t\t\t\t\t\t{{ 'top.month' | trans }}
\t\t\t\t\t</li>
\t\t\t\t\t{% set data = topCarousel['top-all'] %}
\t\t\t\t\t<li class=\"{{ homeTopCarouselCookie == data['key'] ? 'active ' : '' }}main-popup-top-all{{ homeTopCarouselItemClass }}\"
\t\t\t\t\t\tdata-link-class=\"main-link-top-all\"
\t\t\t\t\t\tdata-carousel-title=\"{{ data['title'] }}\"
\t\t\t\t\t\tdata-link=\"{{ data['link'] }}\"
\t\t\t\t\t\tdata-url=\"{{ data['url-json'] }}\"
\t\t\t\t\t\t{% if homeTopCarouselClass %}data-cookie=\"{{ data['key'] }}\"{% endif %}
\t\t\t\t\t>
\t\t\t\t\t\t{{ 'top.all' | trans }}
\t\t\t\t\t</li>
\t\t\t\t</ul>
\t\t\t</div>
\t\t</h2>
\t\t<span class=\"material-icons prev disabled hidden-xs swiper-button-prev\" data-prev-show>
\t\t\t
\t\t</span>
\t\t<span class=\"material-icons next hidden-xs swiper-button-next ladda-button\"
\t\t\t data-ajax-url=\"{{ path('app_last_collection', {'type': 'top-week'}) }}\"
\t\t\t data-style=\"zoom-in\"
\t\t\t data-spinner-color=\"#6890c5\"
\t\t\t data-next-show
\t\t>
\t\t\t<span class=\"ladda-label\"></span>
\t\t</span>
\t</div>
\t{{ render_esi( controller('WebBundle\\\\Controller\\\\HomeController::carouselAction', {type: homeTopCarouselCookie}) ) }}
</div>", "@Web/Home/_top-carousel.html.twig", "/var/www/dev5.tile.expert/src/WebBundle/Resources/views/Home/_top-carousel.html.twig");
}
}