var/cache/dev/twig/81/8176d8b6d5433018834f172d3bdc841f241e0cb6e37710b4e574775bc97df18b.php line 43

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. /* frontend/category/category.html.twig */
  14. class __TwigTemplate_bf485cd43c4c65bf17186eeb6f50367d4648ef32489c2f033cf33c3eaf51e3ae extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'meta_desc_key' => [$this'block_meta_desc_key'],
  25.             'facebook' => [$this'block_facebook'],
  26.             'css' => [$this'block_css'],
  27.             'javascripts' => [$this'block_javascripts'],
  28.             'content' => [$this'block_content'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 1
  34.         return "base.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/category/category.html.twig"));
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/category/category.html.twig"));
  43.         // line 3
  44.         $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'3$this->source); })()), [=> "form/front.html.twig"], true);
  45.         // line 1
  46.         $this->parent $this->loadTemplate("base.html.twig""frontend/category/category.html.twig"1);
  47.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  48.         
  49.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  50.         
  51.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  52.     }
  53.     // line 5
  54.     public function block_title($context, array $blocks = [])
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  61.         // line 6
  62.         echo "    ";
  63.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'6$this->source); })()), "metaTitle", [], "any"falsefalsefalse6), "html"nulltrue);
  64.         echo "
  65.     ";
  66.         // line 7
  67.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'7$this->source); })()), "request", [], "any"falsefalsefalse7), "attributes", [], "any"falsefalsefalse7), "get", [=> "av24h"], "method"falsefalsefalse7)) {
  68.             // line 8
  69.             echo "        ";
  70.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("products_in_24h_delivery", [], "store", (isset($context["locale"]) || array_key_exists("locale"$context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.'8$this->source); })())), "html"nulltrue);
  71.             echo "
  72.     ";
  73.         }
  74.         // line 10
  75.         echo "    ";
  76.         if (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'10$this->source); })()), "request", [], "any"falsefalsefalse10), "query", [], "any"falsefalsefalse10), "get", [=> "page"], "method"falsefalsefalse10) == 1) || (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'10$this->source); })()), "request", [], "any"falsefalsefalse10), "query", [], "any"falsefalsefalse10), "get", [=> "page"], "method"falsefalsefalse10) == null))) {
  77.             // line 11
  78.             echo "    ";
  79.         } else {
  80.             // line 12
  81.             echo "        - ";
  82.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("page", [], "store"), "html"nulltrue);
  83.             echo " ";
  84.             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.'12$this->source); })()), "request", [], "any"falsefalsefalse12), "get", [=> "page"], "method"falsefalsefalse12), "html"nulltrue);
  85.             echo "
  86.     ";
  87.         }
  88.         
  89.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  90.         
  91.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  92.     }
  93.     // line 16
  94.     public function block_meta_desc_key($context, array $blocks = [])
  95.     {
  96.         $macros $this->macros;
  97.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  98.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_desc_key"));
  99.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  100.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_desc_key"));
  101.         // line 17
  102.         echo "    ";
  103.         if (twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "metaDescription", [], "any"truetruefalse17)) {
  104.             // line 18
  105.             echo "        <meta name=\"description\" content=\"";
  106.             echo twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'18$this->source); })()), "metaDescription", [], "any"falsefalsefalse18);
  107.             echo "\">
  108.     ";
  109.         } else {
  110.             // line 20
  111.             echo "        <meta name=\"description\" content=\"Centrum KrzeseÅ‚, Sprawdź krzesÅ‚a i fotele do biura i domu. Niskie ceny, gwarancja oraz dostawa 24h. Kup teraz!\">
  112.     ";
  113.         }
  114.         // line 22
  115.         echo "
  116.     ";
  117.         // line 23
  118.         if (twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "metaKeywords", [], "any"truetruefalse23)) {
  119.             // line 24
  120.             echo "        <meta name=\"keywords\" content=\"";
  121.             echo twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'24$this->source); })()), "metaKeywords", [], "any"falsefalsefalse24);
  122.             echo "\">
  123.     ";
  124.         } else {
  125.             // line 26
  126.             echo "        <meta name=\"keywords\" content=\"krzesÅ‚a, fotele, hokery, meble, sklep internetowy, zakupy, centrum krzeseÅ‚\">
  127.     ";
  128.         }
  129.         // line 28
  130.         echo "    ";
  131.         if ((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.'28$this->source); })()), "request", [], "any"falsefalsefalse28), "locale", [], "any"falsefalsefalse28) == "pl")) {
  132.             // line 29
  133.             echo "        ";
  134.             // line 30
  135.             echo "        ";
  136.             // line 33
  137.             echo "    ";
  138.         }
  139.         
  140.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  141.         
  142.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  143.     }
  144.     // line 36
  145.     public function block_facebook($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""facebook"));
  150.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  151.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""facebook"));
  152.         // line 37
  153.         echo "    ";
  154.         if (twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'37$this->source); })()), "imageName", [], "any"falsefalsefalse37)) {
  155.             // line 38
  156.             echo "        <meta property=\"og:image\" content=\"";
  157.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["language"]) || array_key_exists("language"$context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.'38$this->source); })()), "storeUrl", [], "any"falsefalsefalse38), "html"nulltrue);
  158.             echo "/images/category/";
  159.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'38$this->source); })()), "imageName", [], "any"falsefalsefalse38), "html"nulltrue);
  160.             echo "\"/>
  161.     ";
  162.         }
  163.         // line 40
  164.         echo "    ";
  165.         // line 41
  166.         echo "        <meta property=\"og:title\" content=\"";
  167.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'41$this->source); })()), "name", [], "any"falsefalsefalse41), "html"nulltrue);
  168.         echo "\"/>
  169.     ";
  170.         // line 43
  171.         echo "    <meta property=\"og:url\" content=\"";
  172.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["language"]) || array_key_exists("language"$context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.'43$this->source); })()), "storeUrl", [], "any"falsefalsefalse43), "html"nulltrue);
  173.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category", ["slug" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'43$this->source); })()), "slug", [], "any"falsefalsefalse43), "id" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'43$this->source); })()), "id", [], "any"falsefalsefalse43)]), "html"nulltrue);
  174.         echo "\"/>
  175.     <meta property=\"og:type\" content=\"product.group\"/>
  176.     ";
  177.         // line 46
  178.         if (twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "metaDescription", [], "any"truetruefalse46)) {
  179.             // line 47
  180.             echo "        <meta property=\"og:description\" content=\"";
  181.             echo twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'47$this->source); })()), "metaDescription", [], "any"falsefalsefalse47);
  182.             echo "\">
  183.     ";
  184.         } else {
  185.             // line 49
  186.             echo "        <meta property=\"og:description\" content=\"";
  187.             echo twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'49$this->source); })()), "metaTitle", [], "any"falsefalsefalse49);
  188.             echo "\">
  189.     ";
  190.         }
  191.         // line 51
  192.         echo "
  193.     ";
  194.         // line 52
  195.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsetruefalse52), "get", [=> "slug"], "method"truetruefalse52) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsetruefalse52), "get", [=> "page"], "method"truetruefalse52))) {
  196.             // line 53
  197.             echo "        ";
  198.             // line 56
  199.             echo "    ";
  200.         }
  201.         // line 57
  202.         echo "
  203.     ";
  204.         // line 58
  205.         if ((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.'58$this->source); })()), "request", [], "any"falsefalsefalse58), "locale", [], "any"falsefalsefalse58) == "pl")) {
  206.             // line 59
  207.             echo "        ";
  208.             if (twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'59$this->source); })()), "getCanonical", [], "any"falsefalsefalse59)) {
  209.                 // line 60
  210.                 echo "            <link rel=\"canonical\" href=\"";
  211.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'60$this->source); })()), "getCanonical", [], "any"falsefalsefalse60), "html"nulltrue);
  212.                 echo "\" />
  213.         ";
  214.             } else {
  215.                 // line 62
  216.                 echo "
  217.             ";
  218.                 // line 63
  219.                 if (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.'63$this->source); })()), "request", [], "any"falsefalsefalse63), "get", [=> "search"], "method"falsefalsefalse63)) {
  220.                     // line 64
  221.                     echo "                <link rel=\"canonical\" href=\"https://www.centrumkrzesel.pl";
  222.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category", ["id" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'64$this->source); })()), "id", [], "any"falsefalsefalse64), "slug" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'64$this->source); })()), "slug", [], "any"falsefalsefalse64)]), "html"nulltrue);
  223.                     echo "\" />
  224.             ";
  225.                 } elseif (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                 // line 65
  226. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'65$this->source); })()), "request", [], "any"falsefalsefalse65), "attributes", [], "any"falsefalsefalse65), "get", [=> "av24h"], "method"falsefalsefalse65)) {
  227.                     // line 66
  228.                     echo "                <link rel=\"canonical\" href=\"https://www.centrumkrzesel.pl";
  229.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category", ["id" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'66$this->source); })()), "id", [], "any"falsefalsefalse66), "slug" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'66$this->source); })()), "slug", [], "any"falsefalsefalse66)]), "html"nulltrue);
  230.                     echo "\" />
  231.             ";
  232.                 } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                 // line 67
  233. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'67$this->source); })()), "request", [], "any"falsefalsefalse67), "get", [=> "page"], "method"falsefalsefalse67) == 1)) {
  234.                     // line 68
  235.                     echo "                <link rel=\"canonical\" href=\"https://www.centrumkrzesel.pl";
  236.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category", ["slug" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'68$this->source); })()), "slug", [], "any"falsefalsefalse68), "id" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'68$this->source); })()), "id", [], "any"falsefalsefalse68)]), "html"nulltrue);
  237.                     echo "\" />
  238.             ";
  239.                 } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                 // line 69
  240. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'69$this->source); })()), "request", [], "any"falsefalsefalse69), "get", [=> "page"], "method"falsefalsefalse69) >= 2)) {
  241.                     // line 70
  242.                     echo "            ";
  243.                 }
  244.                 // line 71
  245.                 echo "        ";
  246.             }
  247.             // line 72
  248.             echo "    ";
  249.         }
  250.         // line 73
  251.         echo "
  252.     ";
  253.         // line 74
  254.         if ((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.'74$this->source); })()), "request", [], "any"falsefalsefalse74), "locale", [], "any"falsefalsefalse74) == "cz")) {
  255.             // line 75
  256.             echo "        ";
  257.             if (twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'75$this->source); })()), "getCanonical", [], "any"falsefalsefalse75)) {
  258.                 // line 76
  259.                 echo "            <link rel=\"canonical\" href=\"";
  260.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'76$this->source); })()), "getCanonical", [], "any"falsefalsefalse76), "html"nulltrue);
  261.                 echo "\" />
  262.         ";
  263.             } else {
  264.                 // line 78
  265.                 echo "
  266.             ";
  267.                 // line 79
  268.                 if (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.'79$this->source); })()), "request", [], "any"falsefalsefalse79), "get", [=> "search"], "method"falsefalsefalse79)) {
  269.                     // line 80
  270.                     echo "                <link rel=\"canonical\" href=\"https://www.ezidle.cz";
  271.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category", ["id" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'80$this->source); })()), "id", [], "any"falsefalsefalse80), "slug" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'80$this->source); })()), "slug", [], "any"falsefalsefalse80)]), "html"nulltrue);
  272.                     echo "\" />
  273.             ";
  274.                 } elseif (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                 // line 81
  275. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'81$this->source); })()), "request", [], "any"falsefalsefalse81), "attributes", [], "any"falsefalsefalse81), "get", [=> "av24h"], "method"falsefalsefalse81)) {
  276.                     // line 82
  277.                     echo "                <link rel=\"canonical\" href=\"https://www.ezidle.cz";
  278.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category", ["id" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'82$this->source); })()), "id", [], "any"falsefalsefalse82), "slug" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'82$this->source); })()), "slug", [], "any"falsefalsefalse82)]), "html"nulltrue);
  279.                     echo "\" />
  280.             ";
  281.                 } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                 // line 83
  282. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'83$this->source); })()), "request", [], "any"falsefalsefalse83), "get", [=> "page"], "method"falsefalsefalse83) == 1)) {
  283.                     // line 84
  284.                     echo "                <link rel=\"canonical\" href=\"https://www.ezidle.cz";
  285.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category", ["slug" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'84$this->source); })()), "slug", [], "any"falsefalsefalse84), "id" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'84$this->source); })()), "id", [], "any"falsefalsefalse84)]), "html"nulltrue);
  286.                     echo "\" />
  287.             ";
  288.                 } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                 // line 85
  289. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'85$this->source); })()), "request", [], "any"falsefalsefalse85), "get", [=> "page"], "method"falsefalsefalse85) >= 2)) {
  290.                     // line 86
  291.                     echo "            ";
  292.                 }
  293.                 // line 87
  294.                 echo "        ";
  295.             }
  296.             // line 88
  297.             echo "    ";
  298.         }
  299.         // line 89
  300.         echo "
  301.     ";
  302.         // line 90
  303.         if ((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.'90$this->source); })()), "request", [], "any"falsefalsefalse90), "locale", [], "any"falsefalsefalse90) == "sk")) {
  304.             // line 91
  305.             echo "        ";
  306.             if (twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'91$this->source); })()), "getCanonical", [], "any"falsefalsefalse91)) {
  307.                 // line 92
  308.                 echo "            <link rel=\"canonical\" href=\"";
  309.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'92$this->source); })()), "getCanonical", [], "any"falsefalsefalse92), "html"nulltrue);
  310.                 echo "\" />
  311.         ";
  312.             } else {
  313.                 // line 94
  314.                 echo "
  315.             ";
  316.                 // line 95
  317.                 if (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.'95$this->source); })()), "request", [], "any"falsefalsefalse95), "get", [=> "search"], "method"falsefalsefalse95)) {
  318.                     // line 96
  319.                     echo "                <link rel=\"canonical\" href=\"https://www.stolicky24.sk";
  320.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category", ["id" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'96$this->source); })()), "id", [], "any"falsefalsefalse96), "slug" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'96$this->source); })()), "slug", [], "any"falsefalsefalse96)]), "html"nulltrue);
  321.                     echo "\" />
  322.             ";
  323.                 } elseif (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                 // line 97
  324. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'97$this->source); })()), "request", [], "any"falsefalsefalse97), "attributes", [], "any"falsefalsefalse97), "get", [=> "av24h"], "method"falsefalsefalse97)) {
  325.                     // line 98
  326.                     echo "                <link rel=\"canonical\" href=\"https://www.stolicky24.sk";
  327.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category", ["id" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'98$this->source); })()), "id", [], "any"falsefalsefalse98), "slug" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'98$this->source); })()), "slug", [], "any"falsefalsefalse98)]), "html"nulltrue);
  328.                     echo "\" />
  329.             ";
  330.                 } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                 // line 99
  331. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'99$this->source); })()), "request", [], "any"falsefalsefalse99), "get", [=> "page"], "method"falsefalsefalse99) == 1)) {
  332.                     // line 100
  333.                     echo "                <link rel=\"canonical\" href=\"https://www.stolicky24.sk";
  334.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category", ["slug" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'100$this->source); })()), "slug", [], "any"falsefalsefalse100), "id" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'100$this->source); })()), "id", [], "any"falsefalsefalse100)]), "html"nulltrue);
  335.                     echo "\" />
  336.             ";
  337.                 } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                 // line 101
  338. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'101$this->source); })()), "request", [], "any"falsefalsefalse101), "get", [=> "page"], "method"falsefalsefalse101) >= 2)) {
  339.                     // line 102
  340.                     echo "            ";
  341.                 }
  342.                 // line 103
  343.                 echo "        ";
  344.             }
  345.             // line 104
  346.             echo "    ";
  347.         }
  348.         // line 105
  349.         echo "
  350.     ";
  351.         // line 106
  352.         if ((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.'106$this->source); })()), "request", [], "any"falsefalsefalse106), "locale", [], "any"falsefalsefalse106) == "ro")) {
  353.             // line 107
  354.             echo "        ";
  355.             if (twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'107$this->source); })()), "getCanonical", [], "any"falsefalsefalse107)) {
  356.                 // line 108
  357.                 echo "            <link rel=\"canonical\" href=\"";
  358.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'108$this->source); })()), "getCanonical", [], "any"falsefalsefalse108), "html"nulltrue);
  359.                 echo "\" />
  360.         ";
  361.             } else {
  362.                 // line 110
  363.                 echo "
  364.             ";
  365.                 // line 111
  366.                 if (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.'111$this->source); })()), "request", [], "any"falsefalsefalse111), "get", [=> "search"], "method"falsefalsefalse111)) {
  367.                     // line 112
  368.                     echo "                <link rel=\"canonical\" href=\"https://www.mobila24.ro";
  369.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category", ["id" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'112$this->source); })()), "id", [], "any"falsefalsefalse112), "slug" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'112$this->source); })()), "slug", [], "any"falsefalsefalse112)]), "html"nulltrue);
  370.                     echo "\" />
  371.             ";
  372.                 } elseif (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                 // line 113
  373. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'113$this->source); })()), "request", [], "any"falsefalsefalse113), "attributes", [], "any"falsefalsefalse113), "get", [=> "av24h"], "method"falsefalsefalse113)) {
  374.                     // line 114
  375.                     echo "                <link rel=\"canonical\" href=\"https://www.mobila24.ro";
  376.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category", ["id" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'114$this->source); })()), "id", [], "any"falsefalsefalse114), "slug" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'114$this->source); })()), "slug", [], "any"falsefalsefalse114)]), "html"nulltrue);
  377.                     echo "\" />
  378.             ";
  379.                 } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                 // line 115
  380. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'115$this->source); })()), "request", [], "any"falsefalsefalse115), "get", [=> "page"], "method"falsefalsefalse115) == 1)) {
  381.                     // line 116
  382.                     echo "                <link rel=\"canonical\" href=\"https://www.mobila24.ro";
  383.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category", ["slug" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'116$this->source); })()), "slug", [], "any"falsefalsefalse116), "id" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'116$this->source); })()), "id", [], "any"falsefalsefalse116)]), "html"nulltrue);
  384.                     echo "\" />
  385.             ";
  386.                 } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                 // line 117
  387. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'117$this->source); })()), "request", [], "any"falsefalsefalse117), "get", [=> "page"], "method"falsefalsefalse117) >= 2)) {
  388.                     // line 118
  389.                     echo "            ";
  390.                 }
  391.                 // line 119
  392.                 echo "        ";
  393.             }
  394.             // line 120
  395.             echo "    ";
  396.         }
  397.         // line 121
  398.         echo "
  399. ";
  400.         
  401.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  402.         
  403.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  404.     }
  405.     // line 124
  406.     public function block_css($context, array $blocks = [])
  407.     {
  408.         $macros $this->macros;
  409.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  410.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""css"));
  411.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  412.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""css"));
  413.         // line 125
  414.         echo "    ";
  415.         $this->displayParentBlock("css"$context$blocks);
  416.         echo "
  417.     <style>
  418.         /* Kolory w bocznym menu rozwijanym dzialaja, ale problem jest w tym ze input typu checkbox nie ma backgrounda i trzeba z osobna dodawac kazdy background image z kazdym kolorem/tkanina. Checkbox dodaje sie sam. Jezeli tkanina jest jasna, checkbox musi byc czarny*/
  419.         #kolory  label.kolor-czerowny:before {
  420.             background: url(/images/red-bg.png)center center no-repeat;
  421.         }
  422.         #kolory input[type=checkbox]:checked + label.kolor-czerowny:before {
  423.             background:url(/images/check.png)center center no-repeat, url(/images/red-bg.png)center center no-repeat;
  424.         }
  425.         #kolory  label.kolor-zielony:before {
  426.             background: url(/images/zielony-bg.png)center center no-repeat;
  427.         }
  428.         #kolory input[type=checkbox]:checked + label.kolor-zielony:before {
  429.             background:url(/images/check-czarny.png)center center no-repeat, url(/images/zielony-bg.png)center center no-repeat;
  430.         }
  431.         @media (max-width: 1022px) {
  432.             label.checkbox {
  433.                 margin-bottom: 8px!important;
  434.             }
  435.         }
  436.         @media (min-width: 900px) {
  437.             #search_functions, #search_execution {
  438.                 max-height: 470px;
  439.                 overflow-y: auto;
  440.                 overflow-x: hidden;
  441.             }
  442.             .image img {
  443.                 width:auto;
  444.                 margin-left: auto;
  445.                 margin-right: auto;
  446.             }
  447.         }
  448.         @media (max-width: 500px) {
  449.             .with-description {
  450.                 height:auto!important;
  451.             }
  452.         }
  453.         .cat-desc-excerpt {
  454.             overflow: hidden;
  455.             text-overflow: ellipsis;
  456.             height: 110px;
  457.         }
  458.         #cat-desc-excerpt h2 {
  459.             font-size:initial!important;
  460.             font-weight: bold;
  461.         }
  462.         #cat-desc-excerpt h1 {
  463.             font-size:initial!important;
  464.         }
  465.         #cat-desc-excerpt h3 {
  466.             font-size:initial!important;
  467.         }
  468.         #cat-desc-excerpt a {
  469.             color:#ef1b2b!important;
  470.         }
  471.         #cat-desc-excerpt ul {
  472.             list-style: initial!important;
  473.         }
  474.         #cat-desc-excerpt li {
  475.             list-style: initial!important;
  476.             margin-left:30px;
  477.         }
  478.         #search_color .checkbox {
  479.             display: block;
  480.             position: relative;
  481.             padding-left: 35px;
  482.             margin-bottom: 12px;
  483.             cursor: pointer;
  484.             -webkit-user-select: none;
  485.             -moz-user-select: none;
  486.             -ms-user-select: none;
  487.             user-select: none;
  488.         }
  489.         /* Hide the browser's default checkbox */
  490.         #search_color .checkbox input {
  491.             position: absolute;
  492.             opacity: 0;
  493.             cursor: pointer;
  494.             height: 0;
  495.             width: 0;
  496.         }
  497.         /* Create a custom checkbox */
  498.         #search_color .checkmark {
  499.             position: absolute;
  500.             top: 0;
  501.             left: 0;
  502.             height: 22px;
  503.             width: 22px;
  504.             background-color: #ebebeb;
  505.         }
  506.         /* Create the checkmark/indicator (hidden when not checked) */
  507.         #search_color .checkmark:after {
  508.             content: \"\";
  509.             position: absolute;
  510.             display: none;
  511.         }
  512.         /* Show the checkmark when checked */
  513.         #search_color .checkbox input:checked ~ .checkmark:after {
  514.             display: block;
  515.         }
  516.         /* Style the checkmark/indicator */
  517.         #search_color .checkbox .checkmark:after {
  518.             left: 9px;
  519.             top: 5px;
  520.             width: 5px;
  521.             height: 10px;
  522.             border: solid white;
  523.             border-width: 0 3px 3px 0;
  524.             -webkit-transform: rotate(45deg);
  525.             -ms-transform: rotate(45deg);
  526.             transform: rotate(45deg);
  527.         }
  528.         /* MOBILE COLORS */
  529.         #search_colorMobile .checkbox {
  530.             display: block;
  531.             position: relative;
  532.             padding-left: 35px;
  533.             margin-bottom: 12px;
  534.             cursor: pointer;
  535.             -webkit-user-select: none;
  536.             -moz-user-select: none;
  537.             -ms-user-select: none;
  538.             user-select: none;
  539.         }
  540.         /* Hide the browser's default checkbox */
  541.         #search_colorMobile .checkbox input {
  542.             position: absolute;
  543.             opacity: 0;
  544.             cursor: pointer;
  545.             height: 0;
  546.             width: 0;
  547.         }
  548.         /* Create a custom checkbox */
  549.         #search_colorMobile .checkmark {
  550.             position: absolute;
  551.             top: 0;
  552.             left: 0;
  553.             height: 22px;
  554.             width: 22px;
  555.             background-color: #ebebeb;
  556.         }
  557.         /* Create the checkmark/indicator (hidden when not checked) */
  558.         #search_colorMobile .checkmark:after {
  559.             content: \"\";
  560.             position: absolute;
  561.             display: none;
  562.         }
  563.         /* Show the checkmark when checked */
  564.         #search_colorMobile .checkbox input:checked ~ .checkmark:after {
  565.             display: block;
  566.         }
  567.         /* Style the checkmark/indicator */
  568.         #search_colorMobile .checkbox .checkmark:after {
  569.             left: 9px;
  570.             top: 5px;
  571.             width: 5px;
  572.             height: 10px;
  573.             border: solid white;
  574.             border-width: 0 3px 3px 0;
  575.             -webkit-transform: rotate(45deg);
  576.             -ms-transform: rotate(45deg);
  577.             transform: rotate(45deg);
  578.         }
  579.     </style>
  580.     <style>
  581.         #search_availability .checkbox {
  582.             float:left;
  583.         }
  584.     </style>
  585. ";
  586.         
  587.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  588.         
  589.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  590.     }
  591.     // line 318
  592.     public function block_javascripts($context, array $blocks = [])
  593.     {
  594.         $macros $this->macros;
  595.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  596.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  597.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  598.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  599.         // line 319
  600.         echo "    ";
  601.         $this->displayParentBlock("javascripts"$context$blocks);
  602.         echo "
  603.     <script>
  604.         \$(document).ready(function () {
  605.             \$('#search_sorting').on(\"change\", function() {
  606.                 \$('#submitButton').trigger(\"click\");
  607.             });
  608.             \$('.wiecej-pomieszczen').trigger(\"click\");
  609.             ";
  610.         // line 327
  611.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'327$this->source); })()), "request", [], "any"falsefalsefalse327), "attributes", [], "any"falsefalsefalse327), "get", [=> "av24h"], "method"falsefalsefalse327)) {
  612.             // line 328
  613.             echo "                \$('#search_availability_5').on(\"click\", function() {
  614.                     if (!\$(this).is(\":selected\")) {
  615.                         var url = \$('#current_url').val();
  616.                         window.location.href = url;
  617.                         return;
  618.                     } else {
  619.                         var url = \$('#current_url_24h').val();
  620.                         window.location.href = url;
  621.                         return;
  622.                     }
  623.                 });
  624.             ";
  625.         } else {
  626.             // line 340
  627.             echo "                \$('#search_availability_5').on(\"click\", function() {
  628.                     if (!\$(this).is(\":selected\")) {
  629.                         var url = \$('#current_url_24h').val();
  630.                         window.location.href = url;
  631.                         return;
  632.                     } else {
  633.                         var url = \$('#current_url').val();
  634.                         window.location.href = url;
  635.                         return;
  636.                     }
  637.                 });
  638.             ";
  639.         }
  640.         // line 352
  641.         echo "
  642.             ";
  643.         // line 353
  644.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'353$this->source); })()), "request", [], "any"falsefalsefalse353), "attributes", [], "any"falsefalsefalse353), "get", [=> "av24h"], "method"falsefalsefalse353)) {
  645.             // line 354
  646.             echo "                \$('#search_availability_5').prop(\"checked\", true);
  647.             ";
  648.         } else {
  649.             // line 356
  650.             echo "
  651.             ";
  652.         }
  653.         // line 358
  654.         echo "
  655.             \$('.productsPerPage').on(\"change\", function() {
  656.                 var productsPerPage = \$(this).val();
  657.                 var url = \$('#change_products_per_page_url').val();
  658.                 \$.ajax({
  659.                     type: \"POST\",
  660.                     url: url,
  661.                     data: {'productsPerPage':productsPerPage},
  662.                     success: function (data) {
  663.                         window.location.reload();
  664.                     }
  665.                 });
  666.             });
  667.             \$('#search_color label input').each(function() {
  668.                 var color = \$(this).attr('color');
  669.                 \$(this).parent().css(\"padding-top\", \"2px\");
  670.                 if (color === '#ffffff' || color === '#FFFFFF') {
  671.                     \$(this).next('span').css(\"border\", '1px solid black');
  672.                 } else {
  673.                     \$(this).next('span').css(\"background-color\", color);
  674.                 }
  675.             });
  676.             \$(document).on('click','.is-mobile',function(){
  677.                 \$('#search_colorMobile label input').each(function() {
  678.                     var color = \$(this).attr('color');
  679.                     \$(this).parent().css(\"padding-top\", \"2px\");
  680.                     if (color === '#ffffff' || color === '#FFFFFF') {
  681.                         \$(this).next('span').css(\"border\", '1px solid black');
  682.                     } else {
  683.                         \$(this).next('span').css(\"background-color\", color);
  684.                     }
  685.                 });
  686.             });
  687.         });
  688.     </script>
  689. ";
  690.         
  691.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  692.         
  693.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  694.     }
  695.     // line 397
  696.     public function block_content($context, array $blocks = [])
  697.     {
  698.         $macros $this->macros;
  699.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  700.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  701.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  702.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  703.         // line 398
  704.         echo "    <input type=\"hidden\" id=\"current_url\" value=\"";
  705.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category", ["id" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'398$this->source); })()), "id", [], "any"falsefalsefalse398), "slug" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'398$this->source); })()), "slug", [], "any"falsefalsefalse398)]), "html"nulltrue);
  706.         echo "\"/>
  707.     <input type=\"hidden\" id=\"current_url_24h\" value=\"";
  708.         // line 399
  709.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category", ["id" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'399$this->source); })()), "id", [], "any"falsefalsefalse399), "av24h" => "24h""slug" => twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'399$this->source); })()), "slug", [], "any"falsefalsefalse399)]), "html"nulltrue);
  710.         echo "\"/>
  711.     <input type=\"hidden\" id=\"change_products_per_page_url\" value=\"";
  712.         // line 400
  713.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("change_products_per_page");
  714.         echo "\"/>
  715.     <!-- START OF CATEGORY NAME SECTION -->
  716.     <section class=\"section topSection\">
  717.         <div class=\"container\">
  718.             <div class=\"columns is-multiline\">
  719.                 <div class=\"column is-full\">
  720.                     <h1 style=\"display: inline-block\" class=\"is-size-2\">
  721.                         ";
  722.         // line 409
  723.         if (twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'409$this->source); })()), "getCustomH1", [], "any"falsefalsefalse409)) {
  724.             // line 410
  725.             echo "                            ";
  726.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'410$this->source); })()), "getCustomH1", [], "any"falsefalsefalse410), "html"nulltrue);
  727.             echo "
  728.                         ";
  729.         } else {
  730.             // line 412
  731.             echo "                            ";
  732.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'412$this->source); })()), "name", [], "any"falsefalsefalse412), "html"nulltrue);
  733.             echo "
  734.                         ";
  735.         }
  736.         // line 414
  737.         echo "                        ";
  738.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'414$this->source); })()), "request", [], "any"falsefalsefalse414), "attributes", [], "any"falsefalsefalse414), "get", [=> "av24h"], "method"falsefalsefalse414)) {
  739.             // line 415
  740.             echo "
  741.                                 ";
  742.             // line 416
  743.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sending_in_24h", [], "store"), "html"nulltrue);
  744.             echo "
  745.                             </span>
  746.                         ";
  747.         }
  748.         // line 419
  749.         echo "                    </h1>
  750.                     <span style=\"display: inline-block; color:#d0d0d0!important;\" class=\"is-size-2\">(";
  751.         // line 420
  752.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'420$this->source); })()), "getTotalItemCount", [], "method"falsefalsefalse420), "html"nulltrue);
  753.         echo ")</span>
  754.                 </div>
  755.                 <!-- START OF BREADCRUMBS -->
  756.                 <div class=\"no-top-padding column is-full\" style=\"margin-top:-10px;\">
  757.                     <nav class=\"breadcrumb has-arrow-separator is-hidden-mobile\" aria-label=\"breadcrumb\">
  758.                         <ul vocab=\"https://schema.org/\" typeof=\"BreadcrumbList\">
  759.                             <li property=\"itemListElement\" typeof=\"ListItem\">
  760.                                 <a id=\"0\" property=\"item\" typeof=\"WebPage\" href=\"";
  761.         // line 428
  762.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
  763.         echo "\"><span property=\"name\">";
  764.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["language"]) || array_key_exists("language"$context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.'428$this->source); })()), "shopName", [], "any"falsefalsefalse428), "html"nulltrue);
  765.         echo "</span></a>
  766.                                 <meta property=\"position\" content=\"1\">
  767.                             </li>
  768.                             ";
  769.         // line 431
  770.         $context["c"] = 1;
  771.         // line 432
  772.         echo "                            ";
  773.         if ((twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "parent", [], "any"truetruefalse432) && twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'432$this->source); })()), "parent", [], "any"falsefalsefalse432))) {
  774.             // line 433
  775.             echo "                                ";
  776.             $context["c"] = ((isset($context["c"]) || array_key_exists("c"$context) ? $context["c"] : (function () { throw new RuntimeError('Variable "c" does not exist.'433$this->source); })()) + 1);
  777.             // line 434
  778.             echo "                                <li property=\"itemListElement\" typeof=\"ListItem\" style=\"margin-top:-2px;\">
  779.                                     <a id=\"";
  780.             // line 435
  781.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'435$this->source); })()), "id", [], "any"falsefalsefalse435), "html"nulltrue);
  782.             echo "\" property=\"item\" typeof=\"WebPage\"  href=\"";
  783.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category", ["id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'435$this->source); })()), "parent", [], "any"falsefalsefalse435), "id", [], "any"falsefalsefalse435), "slug" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'435$this->source); })()), "parent", [], "any"falsefalsefalse435), "slug", [], "any"falsefalsefalse435)]), "html"nulltrue);
  784.             echo "\">
  785.                                         <span property=\"name\">";
  786.             // line 436
  787.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'436$this->source); })()), "parent", [], "any"falsefalsefalse436), "name", [], "any"falsefalsefalse436), "html"nulltrue);
  788.             echo "</span>
  789.                                         ";
  790.             // line 437
  791.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'437$this->source); })()), "request", [], "any"falsefalsefalse437), "attributes", [], "any"falsefalsefalse437), "get", [=> "av24h"], "method"falsefalsefalse437)) {
  792.                 // line 438
  793.                 echo "                                            ";
  794.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sending_in_24h", [], "store"), "html"nulltrue);
  795.                 echo "
  796.                                         ";
  797.             }
  798.             // line 440
  799.             echo "                                    </a>
  800.                                     <meta property=\"position\" content=\"";
  801.             // line 441
  802.             echo twig_escape_filter($this->env, (isset($context["c"]) || array_key_exists("c"$context) ? $context["c"] : (function () { throw new RuntimeError('Variable "c" does not exist.'441$this->source); })()), "html"nulltrue);
  803.             echo "\">
  804.                                 </li>
  805.                             ";
  806.         }
  807.         // line 444
  808.         echo "                            <li property=\"itemListElement\" typeof=\"ListItem\" style=\"margin-top:-2px;\">
  809.                                 <a id=\"";
  810.         // line 445
  811.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'445$this->source); })()), "id", [], "any"falsefalsefalse445), "html"nulltrue);
  812.         echo "\" property=\"item\" typeof=\"WebPage\"><span property=\"name\">";
  813.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'445$this->source); })()), "name", [], "any"falsefalsefalse445), "html"nulltrue);
  814.         echo "</span>
  815.                                     ";
  816.         // line 446
  817.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'446$this->source); })()), "request", [], "any"falsefalsefalse446), "attributes", [], "any"falsefalsefalse446), "get", [=> "av24h"], "method"falsefalsefalse446)) {
  818.             // line 447
  819.             echo "                                        ";
  820.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sending_in_24h", [], "store"), "html"nulltrue);
  821.             echo "
  822.                                     ";
  823.         }
  824.         // line 449
  825.         echo "                                </a>
  826.                                 <meta property=\"position\" content=\"";
  827.         // line 450
  828.         echo twig_escape_filter($this->env, ((isset($context["c"]) || array_key_exists("c"$context) ? $context["c"] : (function () { throw new RuntimeError('Variable "c" does not exist.'450$this->source); })()) + 1), "html"nulltrue);
  829.         echo "\">
  830.                             </li>
  831.                         </ul>
  832.                     </nav>
  833.                 </div>
  834.                 <!-- END OF BREADCRUMBS -->
  835.             </div>
  836.         </div>
  837.     </section>
  838.     <!-- END OF CATEGORY NAME SECTION -->
  839.     <!-- START OF MAIN SECTION -->
  840.     ";
  841.         // line 463
  842.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'463$this->source); })()), 'form_start', ["attr" => ["method" => "get""role" => "form""novalidate" => "novalidate"]]);
  843.         echo "
  844.     <section class=\"section remove-padding-top\">
  845.         <div class=\"container\">
  846.             <div class=\"columns\">
  847.                 ";
  848.         // line 468
  849.         $this->loadTemplate("frontend/category/_leftSidebar.html.twig""frontend/category/category.html.twig"468)->display($context);
  850.         // line 469
  851.         echo "
  852.                 ";
  853.         // line 470
  854.         $context["criteoIds"] = [];
  855.         // line 471
  856.         echo "
  857.                 <div class=\"columns is-multiline is-mobile lista-produktow\" v-match-heights=\"{ el: [ '.with-description' ] }\">
  858.                     ";
  859.         // line 474
  860.         if ((twig_get_attribute($this->env$this->source, (isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'474$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse474) == 0)) {
  861.             // line 475
  862.             echo "                        <div style=\"text-align: center; width:100%; padding:40px;\">
  863.                             <i class=\"fa fa-search-minus\" style=\"font-size:40px; font-weight: bold; padding:20px;\"></i>
  864.                             <br/>
  865.                             ";
  866.             // line 478
  867.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("no_results_category", [], "store"), "html"nulltrue);
  868.             echo "
  869.                         </div>
  870.                     ";
  871.         } else {
  872.             // line 481
  873.             echo "                        ";
  874.             $context['_parent'] = $context;
  875.             $context['_seq'] = twig_ensure_traversable((isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'481$this->source); })()));
  876.             $context['loop'] = [
  877.               'parent' => $context['_parent'],
  878.               'index0' => 0,
  879.               'index'  => 1,
  880.               'first'  => true,
  881.             ];
  882.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  883.                 $length count($context['_seq']);
  884.                 $context['loop']['revindex0'] = $length 1;
  885.                 $context['loop']['revindex'] = $length;
  886.                 $context['loop']['length'] = $length;
  887.                 $context['loop']['last'] = === $length;
  888.             }
  889.             foreach ($context['_seq'] as $context["_key"] => $context["productData"]) {
  890.                 // line 482
  891.                 echo "                            ";
  892.                 $context["product"] = twig_get_attribute($this->env$this->source$context["productData"], 0, [], "array"falsefalsefalse482);
  893.                 // line 483
  894.                 echo "                            ";
  895.                 $context["criteoIds"] = twig_array_merge((isset($context["criteoIds"]) || array_key_exists("criteoIds"$context) ? $context["criteoIds"] : (function () { throw new RuntimeError('Variable "criteoIds" does not exist.'483$this->source); })()), [=> twig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'483$this->source); })()), "id", [], "any"falsefalsefalse483)]);
  896.                 // line 484
  897.                 echo "                            ";
  898.                 $this->loadTemplate("frontend/components/smallProduct.html.twig""frontend/category/category.html.twig"484)->display(twig_array_merge($context, ["isOneThird" => 1"product" => (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'484$this->source); })()), "productData" => $context["productData"]]));
  899.                 // line 485
  900.                 echo "                        ";
  901.                 ++$context['loop']['index0'];
  902.                 ++$context['loop']['index'];
  903.                 $context['loop']['first'] = false;
  904.                 if (isset($context['loop']['length'])) {
  905.                     --$context['loop']['revindex0'];
  906.                     --$context['loop']['revindex'];
  907.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  908.                 }
  909.             }
  910.             $_parent $context['_parent'];
  911.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['productData'], $context['_parent'], $context['loop']);
  912.             $context array_intersect_key($context$_parent) + $_parent;
  913.             // line 486
  914.             echo "                    ";
  915.         }
  916.         // line 487
  917.         echo "                </div>
  918.             </div>
  919.                 <!-- END OF PRODUCT LIST -->
  920.         </div>
  921.         <div class=\"level-right\">
  922.             <div class=\"level-item\">
  923.                 ";
  924.         // line 494
  925.         echo $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'494$this->source); })()));
  926.         echo "
  927.             </div>
  928.         </div>
  929.     </section>
  930.     ";
  931.         // line 498
  932.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'498$this->source); })()), 'form_end');
  933.         echo "
  934.     <!-- END OF MAIN SECTION -->
  935.     ";
  936.         // line 501
  937.         $this->loadTemplate("frontend/category/_lastViewed.html.twig""frontend/category/category.html.twig"501)->display($context);
  938.         // line 502
  939.         echo "
  940.     ";
  941.         // line 503
  942.         if ((twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'503$this->source); })()), "getDescription", [], "any"falsefalsefalse503) && ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'503$this->source); })()), "request", [], "any"falsefalsefalse503), "query", [], "any"falsefalsefalse503), "get", [=> "page"], "method"falsefalsefalse503) == 1) || (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'503$this->source); })()), "request", [], "any"falsefalsefalse503), "query", [], "any"falsefalsefalse503), "get", [=> "page"], "method"falsefalsefalse503) == null)))) {
  943.             // line 504
  944.             echo "        <div class=\"section\">
  945.             <div class=\"container\">
  946.                 <div id=\"js_cat-desc-content\">
  947.                     <div id=\"cat-desc-excerpt\" class=\"cat-desc-excerpt ellipsis\" style=\"font-size: 13px;\">
  948.                         ";
  949.             // line 509
  950.             echo $this->extensions['App\Twig\AppExtension']->strongReplacer(twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'509$this->source); })()), "getDescription", [], "any"falsefalsefalse509));
  951.             echo "
  952.                     </div>
  953.                     <a class=\"dotted-link read-more\" style=\"margin-top:10px; float:right;\" data-target=\"js_cat-desc-content\" role=\"button\">";
  954.             // line 511
  955.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("read_more", [], "store"), "html"nulltrue);
  956.             echo "...</a>
  957.                 </div>
  958.             </div>
  959.         </div>
  960.     ";
  961.         }
  962.         // line 518
  963.         echo "
  964.     ";
  965.         // line 519
  966.         $context["criteoCount"] = 0;
  967.         // line 520
  968.         echo "
  969.     ";
  970.         // line 521
  971.         if ((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.'521$this->source); })()), "request", [], "any"falsefalsefalse521), "locale", [], "any"falsefalsefalse521) == "pl")) {
  972.             // line 522
  973.             echo "
  974.         <script type=\"text/javascript\" src=\"//static.criteo.net/js/ld/ld.js\" async=\"true\"></script>
  975.         <script type=\"text/javascript\">
  976.             window.criteo_q = window.criteo_q || [];
  977.             var deviceType = /iPad/.test(navigator.userAgent) ? \"t\" : /Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Silk/.test(navigator.userAgent) ? \"m\" : \"d\";
  978.             window.criteo_q.push(
  979.                 { event: \"setAccount\", account: 36267 },
  980.                 { event: \"setSiteType\", type: deviceType },
  981.                 { event: \"setEmail\", email: \"";
  982.             // line 530
  983.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"falsetruefalse530), "email", [], "any"truetruefalse530)) {
  984.                 echo " ";
  985.                 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.'530$this->source); })()), "user", [], "any"falsefalsefalse530), "email", [], "any"falsefalsefalse530), "html"nulltrue);
  986.                 echo " ";
  987.             }
  988.             echo "\" },
  989.                 { event: \"viewList\", item:[ ";
  990.             // line 531
  991.             $context['_parent'] = $context;
  992.             $context['_seq'] = twig_ensure_traversable(twig_slice($this->env, (isset($context["criteoIds"]) || array_key_exists("criteoIds"$context) ? $context["criteoIds"] : (function () { throw new RuntimeError('Variable "criteoIds" does not exist.'531$this->source); })()), 03));
  993.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  994.                 $context["criteoCount"] = ((isset($context["criteoCount"]) || array_key_exists("criteoCount"$context) ? $context["criteoCount"] : (function () { throw new RuntimeError('Variable "criteoCount" does not exist.'531$this->source); })()) + 1);
  995.                 if (((isset($context["criteoCount"]) || array_key_exists("criteoCount"$context) ? $context["criteoCount"] : (function () { throw new RuntimeError('Variable "criteoCount" does not exist.'531$this->source); })()) != 3)) {
  996.                     echo " \"";
  997.                     echo twig_escape_filter($this->env$context["item"], "html"nulltrue);
  998.                     echo "\", ";
  999.                 } else {
  1000.                     echo " \"";
  1001.                     echo twig_escape_filter($this->env$context["item"], "html"nulltrue);
  1002.                     echo "\"";
  1003.                 }
  1004.                 echo " ";
  1005.             }
  1006.             $_parent $context['_parent'];
  1007.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  1008.             $context array_intersect_key($context$_parent) + $_parent;
  1009.             echo " ]}
  1010.             );
  1011.         </script>
  1012.     ";
  1013.         }
  1014.         // line 536
  1015.         echo "
  1016. ";
  1017.         
  1018.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1019.         
  1020.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1021.     }
  1022.     public function getTemplateName()
  1023.     {
  1024.         return "frontend/category/category.html.twig";
  1025.     }
  1026.     public function isTraitable()
  1027.     {
  1028.         return false;
  1029.     }
  1030.     public function getDebugInfo()
  1031.     {
  1032.         return array (  1094 => 536,  1069 => 531,  1061 => 530,  1051 => 522,  1049 => 521,  1046 => 520,  1044 => 519,  1041 => 518,  1031 => 511,  1026 => 509,  1019 => 504,  1017 => 503,  1014 => 502,  1012 => 501,  1006 => 498,  999 => 494,  990 => 487,  987 => 486,  973 => 485,  970 => 484,  967 => 483,  964 => 482,  946 => 481,  940 => 478,  935 => 475,  933 => 474,  928 => 471,  926 => 470,  923 => 469,  921 => 468,  913 => 463,  897 => 450,  894 => 449,  888 => 447,  886 => 446,  880 => 445,  877 => 444,  871 => 441,  868 => 440,  862 => 438,  860 => 437,  856 => 436,  850 => 435,  847 => 434,  844 => 433,  841 => 432,  839 => 431,  831 => 428,  820 => 420,  817 => 419,  811 => 416,  808 => 415,  805 => 414,  799 => 412,  793 => 410,  791 => 409,  779 => 400,  775 => 399,  770 => 398,  760 => 397,  713 => 358,  709 => 356,  705 => 354,  703 => 353,  700 => 352,  686 => 340,  672 => 328,  670 => 327,  658 => 319,  648 => 318,  444 => 125,  434 => 124,  423 => 121,  420 => 120,  417 => 119,  414 => 118,  412 => 117,  407 => 116,  405 => 115,  400 => 114,  398 => 113,  393 => 112,  391 => 111,  388 => 110,  382 => 108,  379 => 107,  377 => 106,  374 => 105,  371 => 104,  368 => 103,  365 => 102,  363 => 101,  358 => 100,  356 => 99,  351 => 98,  349 => 97,  344 => 96,  342 => 95,  339 => 94,  333 => 92,  330 => 91,  328 => 90,  325 => 89,  322 => 88,  319 => 87,  316 => 86,  314 => 85,  309 => 84,  307 => 83,  302 => 82,  300 => 81,  295 => 80,  293 => 79,  290 => 78,  284 => 76,  281 => 75,  279 => 74,  276 => 73,  273 => 72,  270 => 71,  267 => 70,  265 => 69,  260 => 68,  258 => 67,  253 => 66,  251 => 65,  246 => 64,  244 => 63,  241 => 62,  235 => 60,  232 => 59,  230 => 58,  227 => 57,  224 => 56,  222 => 53,  220 => 52,  217 => 51,  211 => 49,  205 => 47,  203 => 46,  195 => 43,  190 => 41,  188 => 40,  180 => 38,  177 => 37,  167 => 36,  156 => 33,  154 => 30,  152 => 29,  149 => 28,  145 => 26,  139 => 24,  137 => 23,  134 => 22,  130 => 20,  124 => 18,  121 => 17,  111 => 16,  95 => 12,  92 => 11,  89 => 10,  83 => 8,  81 => 7,  76 => 6,  66 => 5,  55 => 1,  53 => 3,  40 => 1,);
  1033.     }
  1034.     public function getSourceContext()
  1035.     {
  1036.         return new Source("{% extends 'base.html.twig' %}
  1037. {% trans_default_domain 'store' %}
  1038. {% form_theme form 'form/front.html.twig' %}
  1039. {% block title %}
  1040.     {{ category.metaTitle }}
  1041.     {% if app.request.attributes.get('av24h') %}
  1042.         {{ 'products_in_24h_delivery'|trans({}, 'store', locale) }}
  1043.     {% endif %}
  1044.     {% if (app.request.query.get('page') == 1 or app.request.query.get('page') == null) %}
  1045.     {% else %}
  1046.         - {{ 'page'|trans }} {{ app.request.get('page') }}
  1047.     {% endif %}
  1048. {% endblock %}
  1049. {% block meta_desc_key %}
  1050.     {% if category.metaDescription is defined %}
  1051.         <meta name=\"description\" content=\"{{ category.metaDescription|raw }}\">
  1052.     {% else %}
  1053.         <meta name=\"description\" content=\"Centrum KrzeseÅ‚, Sprawdź krzesÅ‚a i fotele do biura i domu. Niskie ceny, gwarancja oraz dostawa 24h. Kup teraz!\">
  1054.     {% endif %}
  1055.     {% if category.metaKeywords is defined %}
  1056.         <meta name=\"keywords\" content=\"{{ category.metaKeywords|raw }}\">
  1057.     {% else %}
  1058.         <meta name=\"keywords\" content=\"krzesÅ‚a, fotele, hokery, meble, sklep internetowy, zakupy, centrum krzeseÅ‚\">
  1059.     {% endif %}
  1060.     {% if app.request.locale == 'pl' %}
  1061.         {# veltis tag #}
  1062.         {#
  1063.         <script async src='https://app.veltis.io/uploads/veltis.js'></script><script>window.veltisData = window.veltisData || []; function veltisTag() { veltisData.push(arguments); } veltisTag('js', new Date()); veltisTag('config', '1aadaf84c154d3e3'); </script>
  1064.         #}
  1065.     {% endif %}
  1066. {% endblock %}
  1067. {% block facebook %}
  1068.     {% if category.imageName %}
  1069.         <meta property=\"og:image\" content=\"{{ language.storeUrl }}/images/category/{{ category.imageName }}\"/>
  1070.     {% endif %}
  1071.     {% autoescape %}
  1072.         <meta property=\"og:title\" content=\"{{ category.name }}\"/>
  1073.     {% endautoescape %}
  1074.     <meta property=\"og:url\" content=\"{{ language.storeUrl }}{{ path('category', {'slug':category.slug, 'id':category.id}) }}\"/>
  1075.     <meta property=\"og:type\" content=\"product.group\"/>
  1076.     {% if category.metaDescription is defined %}
  1077.         <meta property=\"og:description\" content=\"{{ category.metaDescription|raw }}\">
  1078.     {% else %}
  1079.         <meta property=\"og:description\" content=\"{{ category.metaTitle|raw }}\">
  1080.     {% endif %}
  1081.     {% if app.request.get('slug') is defined and app.request.get('page') is defined %}
  1082.         {#
  1083.         {{ linkrel|raw }}
  1084.         #}
  1085.     {% endif %}
  1086.     {% if app.request.locale == 'pl' %}
  1087.         {% if category.getCanonical %}
  1088.             <link rel=\"canonical\" href=\"{{ category.getCanonical }}\" />
  1089.         {% else %}
  1090.             {% if app.request.get('search') %}
  1091.                 <link rel=\"canonical\" href=\"https://www.centrumkrzesel.pl{{ path('category', {'id':category.id, 'slug':category.slug}) }}\" />
  1092.             {% elseif app.request.attributes.get('av24h') %}
  1093.                 <link rel=\"canonical\" href=\"https://www.centrumkrzesel.pl{{ path('category', {'id':category.id, 'slug':category.slug}) }}\" />
  1094.             {% elseif app.request.get('page') == 1 %}
  1095.                 <link rel=\"canonical\" href=\"https://www.centrumkrzesel.pl{{ path('category', {'slug':category.slug, 'id':category.id}) }}\" />
  1096.             {% elseif app.request.get('page') >= 2 %}
  1097.             {% endif %}
  1098.         {% endif %}
  1099.     {% endif %}
  1100.     {% if app.request.locale == 'cz' %}
  1101.         {% if category.getCanonical %}
  1102.             <link rel=\"canonical\" href=\"{{ category.getCanonical }}\" />
  1103.         {% else %}
  1104.             {% if app.request.get('search') %}
  1105.                 <link rel=\"canonical\" href=\"https://www.ezidle.cz{{ path('category', {'id':category.id, 'slug':category.slug}) }}\" />
  1106.             {% elseif app.request.attributes.get('av24h') %}
  1107.                 <link rel=\"canonical\" href=\"https://www.ezidle.cz{{ path('category', {'id':category.id, 'slug':category.slug}) }}\" />
  1108.             {% elseif app.request.get('page') == 1 %}
  1109.                 <link rel=\"canonical\" href=\"https://www.ezidle.cz{{ path('category', {'slug':category.slug, 'id':category.id}) }}\" />
  1110.             {% elseif app.request.get('page') >= 2 %}
  1111.             {% endif %}
  1112.         {% endif %}
  1113.     {% endif %}
  1114.     {% if app.request.locale == 'sk' %}
  1115.         {% if category.getCanonical %}
  1116.             <link rel=\"canonical\" href=\"{{ category.getCanonical }}\" />
  1117.         {% else %}
  1118.             {% if app.request.get('search') %}
  1119.                 <link rel=\"canonical\" href=\"https://www.stolicky24.sk{{ path('category', {'id':category.id, 'slug':category.slug}) }}\" />
  1120.             {% elseif app.request.attributes.get('av24h') %}
  1121.                 <link rel=\"canonical\" href=\"https://www.stolicky24.sk{{ path('category', {'id':category.id, 'slug':category.slug}) }}\" />
  1122.             {% elseif app.request.get('page') == 1 %}
  1123.                 <link rel=\"canonical\" href=\"https://www.stolicky24.sk{{ path('category', {'slug':category.slug, 'id':category.id}) }}\" />
  1124.             {% elseif app.request.get('page') >= 2 %}
  1125.             {% endif %}
  1126.         {% endif %}
  1127.     {% endif %}
  1128.     {% if app.request.locale == 'ro' %}
  1129.         {% if category.getCanonical %}
  1130.             <link rel=\"canonical\" href=\"{{ category.getCanonical }}\" />
  1131.         {% else %}
  1132.             {% if app.request.get('search') %}
  1133.                 <link rel=\"canonical\" href=\"https://www.mobila24.ro{{ path('category', {'id':category.id, 'slug':category.slug}) }}\" />
  1134.             {% elseif app.request.attributes.get('av24h') %}
  1135.                 <link rel=\"canonical\" href=\"https://www.mobila24.ro{{ path('category', {'id':category.id, 'slug':category.slug}) }}\" />
  1136.             {% elseif app.request.get('page') == 1 %}
  1137.                 <link rel=\"canonical\" href=\"https://www.mobila24.ro{{ path('category', {'slug':category.slug, 'id':category.id}) }}\" />
  1138.             {% elseif app.request.get('page') >= 2 %}
  1139.             {% endif %}
  1140.         {% endif %}
  1141.     {% endif %}
  1142. {% endblock %}
  1143. {% block css %}
  1144.     {{ parent() }}
  1145.     <style>
  1146.         /* Kolory w bocznym menu rozwijanym dzialaja, ale problem jest w tym ze input typu checkbox nie ma backgrounda i trzeba z osobna dodawac kazdy background image z kazdym kolorem/tkanina. Checkbox dodaje sie sam. Jezeli tkanina jest jasna, checkbox musi byc czarny*/
  1147.         #kolory  label.kolor-czerowny:before {
  1148.             background: url(/images/red-bg.png)center center no-repeat;
  1149.         }
  1150.         #kolory input[type=checkbox]:checked + label.kolor-czerowny:before {
  1151.             background:url(/images/check.png)center center no-repeat, url(/images/red-bg.png)center center no-repeat;
  1152.         }
  1153.         #kolory  label.kolor-zielony:before {
  1154.             background: url(/images/zielony-bg.png)center center no-repeat;
  1155.         }
  1156.         #kolory input[type=checkbox]:checked + label.kolor-zielony:before {
  1157.             background:url(/images/check-czarny.png)center center no-repeat, url(/images/zielony-bg.png)center center no-repeat;
  1158.         }
  1159.         @media (max-width: 1022px) {
  1160.             label.checkbox {
  1161.                 margin-bottom: 8px!important;
  1162.             }
  1163.         }
  1164.         @media (min-width: 900px) {
  1165.             #search_functions, #search_execution {
  1166.                 max-height: 470px;
  1167.                 overflow-y: auto;
  1168.                 overflow-x: hidden;
  1169.             }
  1170.             .image img {
  1171.                 width:auto;
  1172.                 margin-left: auto;
  1173.                 margin-right: auto;
  1174.             }
  1175.         }
  1176.         @media (max-width: 500px) {
  1177.             .with-description {
  1178.                 height:auto!important;
  1179.             }
  1180.         }
  1181.         .cat-desc-excerpt {
  1182.             overflow: hidden;
  1183.             text-overflow: ellipsis;
  1184.             height: 110px;
  1185.         }
  1186.         #cat-desc-excerpt h2 {
  1187.             font-size:initial!important;
  1188.             font-weight: bold;
  1189.         }
  1190.         #cat-desc-excerpt h1 {
  1191.             font-size:initial!important;
  1192.         }
  1193.         #cat-desc-excerpt h3 {
  1194.             font-size:initial!important;
  1195.         }
  1196.         #cat-desc-excerpt a {
  1197.             color:#ef1b2b!important;
  1198.         }
  1199.         #cat-desc-excerpt ul {
  1200.             list-style: initial!important;
  1201.         }
  1202.         #cat-desc-excerpt li {
  1203.             list-style: initial!important;
  1204.             margin-left:30px;
  1205.         }
  1206.         #search_color .checkbox {
  1207.             display: block;
  1208.             position: relative;
  1209.             padding-left: 35px;
  1210.             margin-bottom: 12px;
  1211.             cursor: pointer;
  1212.             -webkit-user-select: none;
  1213.             -moz-user-select: none;
  1214.             -ms-user-select: none;
  1215.             user-select: none;
  1216.         }
  1217.         /* Hide the browser's default checkbox */
  1218.         #search_color .checkbox input {
  1219.             position: absolute;
  1220.             opacity: 0;
  1221.             cursor: pointer;
  1222.             height: 0;
  1223.             width: 0;
  1224.         }
  1225.         /* Create a custom checkbox */
  1226.         #search_color .checkmark {
  1227.             position: absolute;
  1228.             top: 0;
  1229.             left: 0;
  1230.             height: 22px;
  1231.             width: 22px;
  1232.             background-color: #ebebeb;
  1233.         }
  1234.         /* Create the checkmark/indicator (hidden when not checked) */
  1235.         #search_color .checkmark:after {
  1236.             content: \"\";
  1237.             position: absolute;
  1238.             display: none;
  1239.         }
  1240.         /* Show the checkmark when checked */
  1241.         #search_color .checkbox input:checked ~ .checkmark:after {
  1242.             display: block;
  1243.         }
  1244.         /* Style the checkmark/indicator */
  1245.         #search_color .checkbox .checkmark:after {
  1246.             left: 9px;
  1247.             top: 5px;
  1248.             width: 5px;
  1249.             height: 10px;
  1250.             border: solid white;
  1251.             border-width: 0 3px 3px 0;
  1252.             -webkit-transform: rotate(45deg);
  1253.             -ms-transform: rotate(45deg);
  1254.             transform: rotate(45deg);
  1255.         }
  1256.         /* MOBILE COLORS */
  1257.         #search_colorMobile .checkbox {
  1258.             display: block;
  1259.             position: relative;
  1260.             padding-left: 35px;
  1261.             margin-bottom: 12px;
  1262.             cursor: pointer;
  1263.             -webkit-user-select: none;
  1264.             -moz-user-select: none;
  1265.             -ms-user-select: none;
  1266.             user-select: none;
  1267.         }
  1268.         /* Hide the browser's default checkbox */
  1269.         #search_colorMobile .checkbox input {
  1270.             position: absolute;
  1271.             opacity: 0;
  1272.             cursor: pointer;
  1273.             height: 0;
  1274.             width: 0;
  1275.         }
  1276.         /* Create a custom checkbox */
  1277.         #search_colorMobile .checkmark {
  1278.             position: absolute;
  1279.             top: 0;
  1280.             left: 0;
  1281.             height: 22px;
  1282.             width: 22px;
  1283.             background-color: #ebebeb;
  1284.         }
  1285.         /* Create the checkmark/indicator (hidden when not checked) */
  1286.         #search_colorMobile .checkmark:after {
  1287.             content: \"\";
  1288.             position: absolute;
  1289.             display: none;
  1290.         }
  1291.         /* Show the checkmark when checked */
  1292.         #search_colorMobile .checkbox input:checked ~ .checkmark:after {
  1293.             display: block;
  1294.         }
  1295.         /* Style the checkmark/indicator */
  1296.         #search_colorMobile .checkbox .checkmark:after {
  1297.             left: 9px;
  1298.             top: 5px;
  1299.             width: 5px;
  1300.             height: 10px;
  1301.             border: solid white;
  1302.             border-width: 0 3px 3px 0;
  1303.             -webkit-transform: rotate(45deg);
  1304.             -ms-transform: rotate(45deg);
  1305.             transform: rotate(45deg);
  1306.         }
  1307.     </style>
  1308.     <style>
  1309.         #search_availability .checkbox {
  1310.             float:left;
  1311.         }
  1312.     </style>
  1313. {% endblock %}
  1314. {% block javascripts %}
  1315.     {{ parent() }}
  1316.     <script>
  1317.         \$(document).ready(function () {
  1318.             \$('#search_sorting').on(\"change\", function() {
  1319.                 \$('#submitButton').trigger(\"click\");
  1320.             });
  1321.             \$('.wiecej-pomieszczen').trigger(\"click\");
  1322.             {% if app.request.attributes.get('av24h') %}
  1323.                 \$('#search_availability_5').on(\"click\", function() {
  1324.                     if (!\$(this).is(\":selected\")) {
  1325.                         var url = \$('#current_url').val();
  1326.                         window.location.href = url;
  1327.                         return;
  1328.                     } else {
  1329.                         var url = \$('#current_url_24h').val();
  1330.                         window.location.href = url;
  1331.                         return;
  1332.                     }
  1333.                 });
  1334.             {% else %}
  1335.                 \$('#search_availability_5').on(\"click\", function() {
  1336.                     if (!\$(this).is(\":selected\")) {
  1337.                         var url = \$('#current_url_24h').val();
  1338.                         window.location.href = url;
  1339.                         return;
  1340.                     } else {
  1341.                         var url = \$('#current_url').val();
  1342.                         window.location.href = url;
  1343.                         return;
  1344.                     }
  1345.                 });
  1346.             {% endif %}
  1347.             {% if app.request.attributes.get('av24h') %}
  1348.                 \$('#search_availability_5').prop(\"checked\", true);
  1349.             {% else %}
  1350.             {% endif %}
  1351.             \$('.productsPerPage').on(\"change\", function() {
  1352.                 var productsPerPage = \$(this).val();
  1353.                 var url = \$('#change_products_per_page_url').val();
  1354.                 \$.ajax({
  1355.                     type: \"POST\",
  1356.                     url: url,
  1357.                     data: {'productsPerPage':productsPerPage},
  1358.                     success: function (data) {
  1359.                         window.location.reload();
  1360.                     }
  1361.                 });
  1362.             });
  1363.             \$('#search_color label input').each(function() {
  1364.                 var color = \$(this).attr('color');
  1365.                 \$(this).parent().css(\"padding-top\", \"2px\");
  1366.                 if (color === '#ffffff' || color === '#FFFFFF') {
  1367.                     \$(this).next('span').css(\"border\", '1px solid black');
  1368.                 } else {
  1369.                     \$(this).next('span').css(\"background-color\", color);
  1370.                 }
  1371.             });
  1372.             \$(document).on('click','.is-mobile',function(){
  1373.                 \$('#search_colorMobile label input').each(function() {
  1374.                     var color = \$(this).attr('color');
  1375.                     \$(this).parent().css(\"padding-top\", \"2px\");
  1376.                     if (color === '#ffffff' || color === '#FFFFFF') {
  1377.                         \$(this).next('span').css(\"border\", '1px solid black');
  1378.                     } else {
  1379.                         \$(this).next('span').css(\"background-color\", color);
  1380.                     }
  1381.                 });
  1382.             });
  1383.         });
  1384.     </script>
  1385. {% endblock %}
  1386. {% block content %}
  1387.     <input type=\"hidden\" id=\"current_url\" value=\"{{ path('category', {'id':category.id, 'slug':category.slug}) }}\"/>
  1388.     <input type=\"hidden\" id=\"current_url_24h\" value=\"{{ path('category', {'id':category.id, 'av24h':'24h', 'slug':category.slug}) }}\"/>
  1389.     <input type=\"hidden\" id=\"change_products_per_page_url\" value=\"{{ path('change_products_per_page') }}\"/>
  1390.     <!-- START OF CATEGORY NAME SECTION -->
  1391.     <section class=\"section topSection\">
  1392.         <div class=\"container\">
  1393.             <div class=\"columns is-multiline\">
  1394.                 <div class=\"column is-full\">
  1395.                     <h1 style=\"display: inline-block\" class=\"is-size-2\">
  1396.                         {%  if category.getCustomH1 %}
  1397.                             {{ category.getCustomH1 }}
  1398.                         {% else %}
  1399.                             {{ category.name }}
  1400.                         {% endif %}
  1401.                         {% if app.request.attributes.get('av24h') %}
  1402.                                 {{ 'sending_in_24h'|trans }}
  1403.                             </span>
  1404.                         {% endif %}
  1405.                     </h1>
  1406.                     <span style=\"display: inline-block; color:#d0d0d0!important;\" class=\"is-size-2\">({{ products.getTotalItemCount() }})</span>
  1407.                 </div>
  1408.                 <!-- START OF BREADCRUMBS -->
  1409.                 <div class=\"no-top-padding column is-full\" style=\"margin-top:-10px;\">
  1410.                     <nav class=\"breadcrumb has-arrow-separator is-hidden-mobile\" aria-label=\"breadcrumb\">
  1411.                         <ul vocab=\"https://schema.org/\" typeof=\"BreadcrumbList\">
  1412.                             <li property=\"itemListElement\" typeof=\"ListItem\">
  1413.                                 <a id=\"0\" property=\"item\" typeof=\"WebPage\" href=\"{{ path('homepage') }}\"><span property=\"name\">{{ language.shopName }}</span></a>
  1414.                                 <meta property=\"position\" content=\"1\">
  1415.                             </li>
  1416.                             {% set c = 1 %}
  1417.                             {% if category.parent is defined and category.parent %}
  1418.                                 {% set c = c + 1 %}
  1419.                                 <li property=\"itemListElement\" typeof=\"ListItem\" style=\"margin-top:-2px;\">
  1420.                                     <a id=\"{{ category.id }}\" property=\"item\" typeof=\"WebPage\"  href=\"{{ path('category', {'id':category.parent.id, 'slug':category.parent.slug}) }}\">
  1421.                                         <span property=\"name\">{{ category.parent.name }}</span>
  1422.                                         {% if app.request.attributes.get('av24h') %}
  1423.                                             {{ 'sending_in_24h'|trans }}
  1424.                                         {% endif %}
  1425.                                     </a>
  1426.                                     <meta property=\"position\" content=\"{{ c }}\">
  1427.                                 </li>
  1428.                             {% endif %}
  1429.                             <li property=\"itemListElement\" typeof=\"ListItem\" style=\"margin-top:-2px;\">
  1430.                                 <a id=\"{{ category.id }}\" property=\"item\" typeof=\"WebPage\"><span property=\"name\">{{ category.name }}</span>
  1431.                                     {% if app.request.attributes.get('av24h') %}
  1432.                                         {{ 'sending_in_24h'|trans }}
  1433.                                     {% endif %}
  1434.                                 </a>
  1435.                                 <meta property=\"position\" content=\"{{ c+1 }}\">
  1436.                             </li>
  1437.                         </ul>
  1438.                     </nav>
  1439.                 </div>
  1440.                 <!-- END OF BREADCRUMBS -->
  1441.             </div>
  1442.         </div>
  1443.     </section>
  1444.     <!-- END OF CATEGORY NAME SECTION -->
  1445.     <!-- START OF MAIN SECTION -->
  1446.     {{ form_start(form, {'attr': {'method':'get', 'role':'form', 'novalidate': 'novalidate'}}) }}
  1447.     <section class=\"section remove-padding-top\">
  1448.         <div class=\"container\">
  1449.             <div class=\"columns\">
  1450.                 {% include 'frontend/category/_leftSidebar.html.twig' %}
  1451.                 {% set criteoIds = [] %}
  1452.                 <div class=\"columns is-multiline is-mobile lista-produktow\" v-match-heights=\"{ el: [ '.with-description' ] }\">
  1453.                     {% if products.getTotalItemCount == 0 %}
  1454.                         <div style=\"text-align: center; width:100%; padding:40px;\">
  1455.                             <i class=\"fa fa-search-minus\" style=\"font-size:40px; font-weight: bold; padding:20px;\"></i>
  1456.                             <br/>
  1457.                             {{ 'no_results_category'|trans }}
  1458.                         </div>
  1459.                     {% else %}
  1460.                         {% for productData in products %}
  1461.                             {% set product = productData[0] %}
  1462.                             {% set criteoIds = criteoIds|merge([product.id]) %}
  1463.                             {% include 'frontend/components/smallProduct.html.twig' with {'isOneThird':1, 'product':product, 'productData':productData} %}
  1464.                         {% endfor %}
  1465.                     {% endif %}
  1466.                 </div>
  1467.             </div>
  1468.                 <!-- END OF PRODUCT LIST -->
  1469.         </div>
  1470.         <div class=\"level-right\">
  1471.             <div class=\"level-item\">
  1472.                 {{ knp_pagination_render(products) }}
  1473.             </div>
  1474.         </div>
  1475.     </section>
  1476.     {{ form_end(form) }}
  1477.     <!-- END OF MAIN SECTION -->
  1478.     {% include 'frontend/category/_lastViewed.html.twig' %}
  1479.     {% if category.getDescription and (app.request.query.get('page') == 1 or app.request.query.get('page') == null) %}
  1480.         <div class=\"section\">
  1481.             <div class=\"container\">
  1482.                 <div id=\"js_cat-desc-content\">
  1483.                     <div id=\"cat-desc-excerpt\" class=\"cat-desc-excerpt ellipsis\" style=\"font-size: 13px;\">
  1484.                         {{ category.getDescription|strongReplacer|raw }}
  1485.                     </div>
  1486.                     <a class=\"dotted-link read-more\" style=\"margin-top:10px; float:right;\" data-target=\"js_cat-desc-content\" role=\"button\">{{ 'read_more'|trans }}...</a>
  1487.                 </div>
  1488.             </div>
  1489.         </div>
  1490.     {% endif %}
  1491.     {% set criteoCount = 0 %}
  1492.     {% if app.request.locale == 'pl' %}
  1493.         <script type=\"text/javascript\" src=\"//static.criteo.net/js/ld/ld.js\" async=\"true\"></script>
  1494.         <script type=\"text/javascript\">
  1495.             window.criteo_q = window.criteo_q || [];
  1496.             var deviceType = /iPad/.test(navigator.userAgent) ? \"t\" : /Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Silk/.test(navigator.userAgent) ? \"m\" : \"d\";
  1497.             window.criteo_q.push(
  1498.                 { event: \"setAccount\", account: 36267 },
  1499.                 { event: \"setSiteType\", type: deviceType },
  1500.                 { event: \"setEmail\", email: \"{% if app.user.email is defined %} {{ app.user.email }} {% endif %}\" },
  1501.                 { event: \"viewList\", item:[ {% for item in criteoIds|slice(0,3) %}{% set criteoCount = criteoCount + 1 %}{% if criteoCount != 3 %} \"{{ item }}\", {% else %} \"{{ item }}\"{% endif %} {% endfor %} ]}
  1502.             );
  1503.         </script>
  1504.     {% endif %}
  1505. {% endblock %}""frontend/category/category.html.twig""/home/users/ck_new/templates/frontend/category/category.html.twig");
  1506.     }
  1507. }