var/cache/dev/twig/5c/5c23cfd75fc068928f59c16e37465ceaafdb0d51cd92af24b6639e1147b28b47.php line 39

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. /* front/products.html.twig */
  14. class __TwigTemplate_7afc9bfbb5cb47a0f61036f5ace2a3bce4db02d9ecfb5516679517b48765810e extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'metaTags' => [$this'block_metaTags'],
  24.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "base.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/products.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/products.html.twig"));
  39.         $this->parent $this->loadTemplate("base.html.twig""front/products.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  43.         
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  45.     }
  46.     // line 3
  47.     public function block_metaTags($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaTags"));
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaTags"));
  54.         // line 4
  55.         echo "    ";
  56.         $context["title"] = (isset($context["siteTitle"]) || array_key_exists("siteTitle"$context) ? $context["siteTitle"] : (function () { throw new RuntimeError('Variable "siteTitle" does not exist.'4$this->source); })());
  57.         // line 5
  58.         echo "    ";
  59.         $context["desc"] = (isset($context["siteTitle"]) || array_key_exists("siteTitle"$context) ? $context["siteTitle"] : (function () { throw new RuntimeError('Variable "siteTitle" does not exist.'5$this->source); })());
  60.         // line 6
  61.         echo "    ";
  62.         if ((isset($context["subCategoryActive"]) || array_key_exists("subCategoryActive"$context) ? $context["subCategoryActive"] : (function () { throw new RuntimeError('Variable "subCategoryActive" does not exist.'6$this->source); })())) {
  63.             // line 7
  64.             echo "        ";
  65.             $context["title"] = (((twig_get_attribute($this->env$this->source, ($context["subCategoryActive"] ?? null), "metaTitle", [], "any"truetruefalse7) &&  !(null === twig_get_attribute($this->env$this->source, ($context["subCategoryActive"] ?? null), "metaTitle", [], "any"falsefalsefalse7)))) ? (twig_get_attribute($this->env$this->source, ($context["subCategoryActive"] ?? null), "metaTitle", [], "any"falsefalsefalse7)) : ((((isset($context["siteTitle"]) || array_key_exists("siteTitle"$context) ? $context["siteTitle"] : (function () { throw new RuntimeError('Variable "siteTitle" does not exist.'7$this->source); })()) . " - ") . twig_get_attribute($this->env$this->source, (isset($context["subCategoryActive"]) || array_key_exists("subCategoryActive"$context) ? $context["subCategoryActive"] : (function () { throw new RuntimeError('Variable "subCategoryActive" does not exist.'7$this->source); })()), "title", [], "any"falsefalsefalse7))));
  66.             // line 8
  67.             echo "        ";
  68.             $context["desc"] = (((twig_get_attribute($this->env$this->source, ($context["subCategoryActive"] ?? null), "metaDescription", [], "any"truetruefalse8) &&  !(null === twig_get_attribute($this->env$this->source, ($context["subCategoryActive"] ?? null), "metaDescription", [], "any"falsefalsefalse8)))) ? (twig_get_attribute($this->env$this->source, ($context["subCategoryActive"] ?? null), "metaDescription", [], "any"falsefalsefalse8)) : (twig_get_attribute($this->env$this->source, (isset($context["subCategoryActive"]) || array_key_exists("subCategoryActive"$context) ? $context["subCategoryActive"] : (function () { throw new RuntimeError('Variable "subCategoryActive" does not exist.'8$this->source); })()), "description", [], "any"falsefalsefalse8)));
  69.             // line 9
  70.             echo "    ";
  71.         } elseif ((isset($context["categoryActive"]) || array_key_exists("categoryActive"$context) ? $context["categoryActive"] : (function () { throw new RuntimeError('Variable "categoryActive" does not exist.'9$this->source); })())) {
  72.             // line 10
  73.             echo "        ";
  74.             $context["title"] = (((twig_get_attribute($this->env$this->source, ($context["categoryActive"] ?? null), "metaTitle", [], "any"truetruefalse10) &&  !(null === twig_get_attribute($this->env$this->source, ($context["categoryActive"] ?? null), "metaTitle", [], "any"falsefalsefalse10)))) ? (twig_get_attribute($this->env$this->source, ($context["categoryActive"] ?? null), "metaTitle", [], "any"falsefalsefalse10)) : ((((isset($context["siteTitle"]) || array_key_exists("siteTitle"$context) ? $context["siteTitle"] : (function () { throw new RuntimeError('Variable "siteTitle" does not exist.'10$this->source); })()) . " - ") . twig_get_attribute($this->env$this->source, (isset($context["categoryActive"]) || array_key_exists("categoryActive"$context) ? $context["categoryActive"] : (function () { throw new RuntimeError('Variable "categoryActive" does not exist.'10$this->source); })()), "title", [], "any"falsefalsefalse10))));
  75.             // line 11
  76.             echo "        ";
  77.             $context["desc"] = (((twig_get_attribute($this->env$this->source, ($context["categoryActive"] ?? null), "metaDescription", [], "any"truetruefalse11) &&  !(null === twig_get_attribute($this->env$this->source, ($context["categoryActive"] ?? null), "metaDescription", [], "any"falsefalsefalse11)))) ? (twig_get_attribute($this->env$this->source, ($context["categoryActive"] ?? null), "metaDescription", [], "any"falsefalsefalse11)) : (twig_get_attribute($this->env$this->source, (isset($context["categoryActive"]) || array_key_exists("categoryActive"$context) ? $context["categoryActive"] : (function () { throw new RuntimeError('Variable "categoryActive" does not exist.'11$this->source); })()), "description", [], "any"falsefalsefalse11)));
  78.             // line 12
  79.             echo "    ";
  80.         }
  81.         // line 13
  82.         echo "
  83.     ";
  84.         // line 14
  85.         $context["desc"] = ((((isset($context["subCategoryActive"]) || array_key_exists("subCategoryActive"$context) ? $context["subCategoryActive"] : (function () { throw new RuntimeError('Variable "subCategoryActive" does not exist.'14$this->source); })()) && twig_get_attribute($this->env$this->source, (isset($context["subCategoryActive"]) || array_key_exists("subCategoryActive"$context) ? $context["subCategoryActive"] : (function () { throw new RuntimeError('Variable "subCategoryActive" does not exist.'14$this->source); })()), "metaDescription", [], "any"falsefalsefalse14))) ? (twig_get_attribute($this->env$this->source, (isset($context["subCategoryActive"]) || array_key_exists("subCategoryActive"$context) ? $context["subCategoryActive"] : (function () { throw new RuntimeError('Variable "subCategoryActive" does not exist.'14$this->source); })()), "metaDescription", [], "any"falsefalsefalse14)) : (((((isset($context["categoryActive"]) || array_key_exists("categoryActive"$context) ? $context["categoryActive"] : (function () { throw new RuntimeError('Variable "categoryActive" does not exist.'14$this->source); })()) && twig_get_attribute($this->env$this->source, (isset($context["categoryActive"]) || array_key_exists("categoryActive"$context) ? $context["categoryActive"] : (function () { throw new RuntimeError('Variable "categoryActive" does not exist.'14$this->source); })()), "metaDescription", [], "any"falsefalsefalse14))) ? (twig_get_attribute($this->env$this->source, (isset($context["categoryActive"]) || array_key_exists("categoryActive"$context) ? $context["categoryActive"] : (function () { throw new RuntimeError('Variable "categoryActive" does not exist.'14$this->source); })()), "metaDescription", [], "any"falsefalsefalse14)) : ((isset($context["siteTitle"]) || array_key_exists("siteTitle"$context) ? $context["siteTitle"] : (function () { throw new RuntimeError('Variable "siteTitle" does not exist.'14$this->source); })())))));
  86.         // line 15
  87.         echo "    <meta name=\"description\" content=\"";
  88.         echo twig_escape_filter($this->env, (isset($context["desc"]) || array_key_exists("desc"$context) ? $context["desc"] : (function () { throw new RuntimeError('Variable "desc" does not exist.'15$this->source); })()), "html"nulltrue);
  89.         echo "\">
  90.     <title>";
  91.         // line 16
  92.         echo twig_escape_filter($this->env, (isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'16$this->source); })()), "html"nulltrue);
  93.         echo "</title>
  94.     <meta property=\"og:title\" content=\"";
  95.         // line 17
  96.         echo twig_escape_filter($this->env, (isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'17$this->source); })()), "html"nulltrue);
  97.         echo "\">
  98.     <meta property=\"og:description\" content=\"";
  99.         // line 18
  100.         echo twig_escape_filter($this->env, (isset($context["desc"]) || array_key_exists("desc"$context) ? $context["desc"] : (function () { throw new RuntimeError('Variable "desc" does not exist.'18$this->source); })()), "html"nulltrue);
  101.         echo "\">
  102. ";
  103.         
  104.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  105.         
  106.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  107.     }
  108.     // line 21
  109.     public function block_body($context, array $blocks = [])
  110.     {
  111.         $macros $this->macros;
  112.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  113.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  114.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  115.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  116.         // line 22
  117.         echo "    ";
  118.         if (twig_get_attribute($this->env$this->source, (isset($context["categoryActive"]) || array_key_exists("categoryActive"$context) ? $context["categoryActive"] : (function () { throw new RuntimeError('Variable "categoryActive" does not exist.'22$this->source); })()), "isChaine", [], "any"falsefalsefalse22)) {
  119.             // line 23
  120.             echo "        ";
  121.             if ((isset($context["subCategoryActive"]) || array_key_exists("subCategoryActive"$context) ? $context["subCategoryActive"] : (function () { throw new RuntimeError('Variable "subCategoryActive" does not exist.'23$this->source); })())) {
  122.                 // line 24
  123.                 echo "            ";
  124.                 $this->loadTemplate("front/header.html.twig""front/products.html.twig"24)->display(twig_array_merge($context, ["icon" => ((twig_get_attribute($this->env$this->source,                 // line 25
  125. (isset($context["subCategoryActive"]) || array_key_exists("subCategoryActive"$context) ? $context["subCategoryActive"] : (function () { throw new RuntimeError('Variable "subCategoryActive" does not exist.'25$this->source); })()), "subCategoryFileName", [], "any"falsefalsefalse25)) ? ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Vich\UploaderBundle\Twig\Extension\UploaderExtension']->asset((isset($context["subCategoryActive"]) || array_key_exists("subCategoryActive"$context) ? $context["subCategoryActive"] : (function () { throw new RuntimeError('Variable "subCategoryActive" does not exist.'25$this->source); })()), "subCategoryFile"))) : (null)), "img" => ((twig_get_attribute($this->env$this->source,                 // line 26
  126. (isset($context["subCategoryActive"]) || array_key_exists("subCategoryActive"$context) ? $context["subCategoryActive"] : (function () { throw new RuntimeError('Variable "subCategoryActive" does not exist.'26$this->source); })()), "subCategoryBgFileName", [], "any"falsefalsefalse26)) ? ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Vich\UploaderBundle\Twig\Extension\UploaderExtension']->asset((isset($context["subCategoryActive"]) || array_key_exists("subCategoryActive"$context) ? $context["subCategoryActive"] : (function () { throw new RuntimeError('Variable "subCategoryActive" does not exist.'26$this->source); })()), "subCategoryBgFile"))) : (null)), "title" => twig_get_attribute($this->env$this->source,                 // line 27
  127. (isset($context["subCategoryActive"]) || array_key_exists("subCategoryActive"$context) ? $context["subCategoryActive"] : (function () { throw new RuntimeError('Variable "subCategoryActive" does not exist.'27$this->source); })()), "title", [], "any"falsefalsefalse27), "intro" => twig_get_attribute($this->env$this->source,                 // line 28
  128. (isset($context["subCategoryActive"]) || array_key_exists("subCategoryActive"$context) ? $context["subCategoryActive"] : (function () { throw new RuntimeError('Variable "subCategoryActive" does not exist.'28$this->source); })()), "intro", [], "any"falsefalsefalse28)]));
  129.                 // line 30
  130.                 echo "        ";
  131.             }
  132.             // line 31
  133.             echo "    ";
  134.         } else {
  135.             // line 32
  136.             echo "        ";
  137.             $this->loadTemplate("front/header.html.twig""front/products.html.twig"32)->display(twig_array_merge($context, ["icon" => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Vich\UploaderBundle\Twig\Extension\UploaderExtension']->asset(            // line 33
  138. (isset($context["categoryActive"]) || array_key_exists("categoryActive"$context) ? $context["categoryActive"] : (function () { throw new RuntimeError('Variable "categoryActive" does not exist.'33$this->source); })()), "categoryFile")), "img" => ((twig_get_attribute($this->env$this->source,             // line 34
  139. (isset($context["categoryActive"]) || array_key_exists("categoryActive"$context) ? $context["categoryActive"] : (function () { throw new RuntimeError('Variable "categoryActive" does not exist.'34$this->source); })()), "categoryBgFileName", [], "any"falsefalsefalse34)) ? ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Vich\UploaderBundle\Twig\Extension\UploaderExtension']->asset((isset($context["categoryActive"]) || array_key_exists("categoryActive"$context) ? $context["categoryActive"] : (function () { throw new RuntimeError('Variable "categoryActive" does not exist.'34$this->source); })()), "categoryBgFile"))) : (null)), "title" => twig_get_attribute($this->env$this->source,             // line 35
  140. (isset($context["categoryActive"]) || array_key_exists("categoryActive"$context) ? $context["categoryActive"] : (function () { throw new RuntimeError('Variable "categoryActive" does not exist.'35$this->source); })()), "title", [], "any"falsefalsefalse35), "intro" => twig_get_attribute($this->env$this->source,             // line 36
  141. (isset($context["categoryActive"]) || array_key_exists("categoryActive"$context) ? $context["categoryActive"] : (function () { throw new RuntimeError('Variable "categoryActive" does not exist.'36$this->source); })()), "intro", [], "any"falsefalsefalse36)]));
  142.             // line 38
  143.             echo "    ";
  144.         }
  145.         // line 39
  146.         echo "    <section class=\"pat-30 position-relative\">
  147.         <div class=\"container\">
  148.             ";
  149.         // line 42
  150.         $context["menu"] = (((twig_get_attribute($this->env$this->source, (isset($context["categoryActive"]) || array_key_exists("categoryActive"$context) ? $context["categoryActive"] : (function () { throw new RuntimeError('Variable "categoryActive" does not exist.'42$this->source); })()), "isChaine", [], "any"falsefalsefalse42) && (isset($context["subCategoryActive"]) || array_key_exists("subCategoryActive"$context) ? $context["subCategoryActive"] : (function () { throw new RuntimeError('Variable "subCategoryActive" does not exist.'42$this->source); })()))) ? ([twig_get_attribute($this->env$this->source,         // line 44
  151. (isset($context["categoryActive"]) || array_key_exists("categoryActive"$context) ? $context["categoryActive"] : (function () { throw new RuntimeError('Variable "categoryActive" does not exist.'44$this->source); })()), "title", [], "any"falsefalsefalse44) => "#"twig_get_attribute($this->env$this->source,         // line 45
  152. (isset($context["subCategoryActive"]) || array_key_exists("subCategoryActive"$context) ? $context["subCategoryActive"] : (function () { throw new RuntimeError('Variable "subCategoryActive" does not exist.'45$this->source); })()), "title", [], "any"falsefalsefalse45) => "#"]) : ([twig_get_attribute($this->env$this->source,         // line 48
  153. (isset($context["categoryActive"]) || array_key_exists("categoryActive"$context) ? $context["categoryActive"] : (function () { throw new RuntimeError('Variable "categoryActive" does not exist.'48$this->source); })()), "title", [], "any"falsefalsefalse48) => "#"]));
  154.         // line 50
  155.         echo "            ";
  156.         $this->loadTemplate("front/menu.html.twig""front/products.html.twig"50)->display(twig_array_merge($context, ["menu" => (isset($context["menu"]) || array_key_exists("menu"$context) ? $context["menu"] : (function () { throw new RuntimeError('Variable "menu" does not exist.'50$this->source); })())]));
  157.         // line 51
  158.         echo "        </div>
  159.         ";
  160.         // line 52
  161.         if (twig_get_attribute($this->env$this->source, (isset($context["categoryActive"]) || array_key_exists("categoryActive"$context) ? $context["categoryActive"] : (function () { throw new RuntimeError('Variable "categoryActive" does not exist.'52$this->source); })()), "isChaine", [], "any"falsefalsefalse52)) {
  162.             // line 53
  163.             echo "            ";
  164.             $this->loadTemplate("front/productsFooter.html.twig""front/products.html.twig"53)->display(twig_array_merge($context, ["img" => ((twig_get_attribute($this->env$this->source,             // line 54
  165. (isset($context["subCategoryActive"]) || array_key_exists("subCategoryActive"$context) ? $context["subCategoryActive"] : (function () { throw new RuntimeError('Variable "subCategoryActive" does not exist.'54$this->source); })()), "subCategoryFileName", [], "any"falsefalsefalse54)) ? ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Vich\UploaderBundle\Twig\Extension\UploaderExtension']->asset((isset($context["subCategoryActive"]) || array_key_exists("subCategoryActive"$context) ? $context["subCategoryActive"] : (function () { throw new RuntimeError('Variable "subCategoryActive" does not exist.'54$this->source); })()), "subCategoryFile"))) : (null)), "title" => twig_get_attribute($this->env$this->source,             // line 55
  166. (isset($context["subCategoryActive"]) || array_key_exists("subCategoryActive"$context) ? $context["subCategoryActive"] : (function () { throw new RuntimeError('Variable "subCategoryActive" does not exist.'55$this->source); })()), "title", [], "any"falsefalsefalse55), "content" => twig_get_attribute($this->env$this->source,             // line 56
  167. (isset($context["subCategoryActive"]) || array_key_exists("subCategoryActive"$context) ? $context["subCategoryActive"] : (function () { throw new RuntimeError('Variable "subCategoryActive" does not exist.'56$this->source); })()), "description", [], "any"falsefalsefalse56)]));
  168.             // line 58
  169.             echo "        ";
  170.         } else {
  171.             // line 59
  172.             echo "            ";
  173.             $this->loadTemplate("front/productsFooter.html.twig""front/products.html.twig"59)->display(twig_array_merge($context, ["img" => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Vich\UploaderBundle\Twig\Extension\UploaderExtension']->asset(            // line 60
  174. (isset($context["categoryActive"]) || array_key_exists("categoryActive"$context) ? $context["categoryActive"] : (function () { throw new RuntimeError('Variable "categoryActive" does not exist.'60$this->source); })()), "categoryFile")), "title" => twig_get_attribute($this->env$this->source,             // line 61
  175. (isset($context["categoryActive"]) || array_key_exists("categoryActive"$context) ? $context["categoryActive"] : (function () { throw new RuntimeError('Variable "categoryActive" does not exist.'61$this->source); })()), "title", [], "any"falsefalsefalse61), "content" => twig_get_attribute($this->env$this->source,             // line 62
  176. (isset($context["categoryActive"]) || array_key_exists("categoryActive"$context) ? $context["categoryActive"] : (function () { throw new RuntimeError('Variable "categoryActive" does not exist.'62$this->source); })()), "description", [], "any"falsefalsefalse62)]));
  177.             // line 64
  178.             echo "        ";
  179.         }
  180.         // line 65
  181.         echo "        ";
  182.         $this->loadTemplate("front/coordinates.html.twig""front/products.html.twig"65)->display($context);
  183.         // line 66
  184.         echo "        <div class=\"container\">
  185.             <div class=\"js-prods-list mat-0 mab-90\">
  186.                 ";
  187.         // line 69
  188.         $this->loadTemplate("form/productsFilterForm.html.twig""front/products.html.twig"69)->display($context);
  189.         // line 70
  190.         echo "                <div class=\"products row justify-content-center-md\">
  191.                     ";
  192.         // line 71
  193.         $context['_parent'] = $context;
  194.         $context['_seq'] = twig_ensure_traversable((isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'71$this->source); })()));
  195.         $context['loop'] = [
  196.           'parent' => $context['_parent'],
  197.           'index0' => 0,
  198.           'index'  => 1,
  199.           'first'  => true,
  200.         ];
  201.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  202.             $length count($context['_seq']);
  203.             $context['loop']['revindex0'] = $length 1;
  204.             $context['loop']['revindex'] = $length;
  205.             $context['loop']['length'] = $length;
  206.             $context['loop']['last'] = === $length;
  207.         }
  208.         foreach ($context['_seq'] as $context["key"] => $context["product"]) {
  209.             // line 72
  210.             echo "                        ";
  211.             $this->loadTemplate("front/productListDetail.html.twig""front/products.html.twig"72)->display($context);
  212.             // line 73
  213.             echo "                    ";
  214.             ++$context['loop']['index0'];
  215.             ++$context['loop']['index'];
  216.             $context['loop']['first'] = false;
  217.             if (isset($context['loop']['length'])) {
  218.                 --$context['loop']['revindex0'];
  219.                 --$context['loop']['revindex'];
  220.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  221.             }
  222.         }
  223.         $_parent $context['_parent'];
  224.         unset($context['_seq'], $context['_iterated'], $context['key'], $context['product'], $context['_parent'], $context['loop']);
  225.         $context array_intersect_key($context$_parent) + $_parent;
  226.         // line 74
  227.         echo "                </div>
  228.                 ";
  229.         // line 75
  230.         if ((=== twig_compare((isset($context["total"]) || array_key_exists("total"$context) ? $context["total"] : (function () { throw new RuntimeError('Variable "total" does not exist.'75$this->source); })()), (isset($context["limit"]) || array_key_exists("limit"$context) ? $context["limit"] : (function () { throw new RuntimeError('Variable "limit" does not exist.'75$this->source); })())))) {
  231.             // line 76
  232.             echo "                    <div class=\"text-center\">
  233.                         <div class=\"btn btn1 loadMoreProducts\" data-limit=\"";
  234.             // line 77
  235.             echo twig_escape_filter($this->env, (isset($context["limit"]) || array_key_exists("limit"$context) ? $context["limit"] : (function () { throw new RuntimeError('Variable "limit" does not exist.'77$this->source); })()), "html"nulltrue);
  236.             echo "\">
  237.                             <div class=\"btn-text\">
  238.                                 ";
  239.             // line 80
  240.             echo "                                ";
  241.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("products.load_more.btn"), "html"nulltrue);
  242.             echo "
  243.                             </div>
  244.                         </div>
  245.                     </div>
  246.                 ";
  247.         }
  248.         // line 85
  249.         echo "            </div>
  250.         </div>
  251.     </section>
  252.     ";
  253.         // line 88
  254.         if (twig_get_attribute($this->env$this->source, (isset($context["categoryActive"]) || array_key_exists("categoryActive"$context) ? $context["categoryActive"] : (function () { throw new RuntimeError('Variable "categoryActive" does not exist.'88$this->source); })()), "isChaine", [], "any"falsefalsefalse88)) {
  255.             // line 89
  256.             echo "        ";
  257.             if ((isset($context["subCategoryActive"]) || array_key_exists("subCategoryActive"$context) ? $context["subCategoryActive"] : (function () { throw new RuntimeError('Variable "subCategoryActive" does not exist.'89$this->source); })())) {
  258.                 // line 90
  259.                 echo "            <section class=\"position-relative pab-65\">
  260.                 <div class=\"bgp-center otherCatProd bgs-cover w-100 position-absolute t-0 l-0 h-100 zi--1\"
  261.                      style=\"background-image:url(";
  262.                 // line 92
  263.                 echo twig_escape_filter($this->env$this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/procatbg.png"), "large"), "html"nulltrue);
  264.                 echo ")\">
  265.                 </div>
  266.                 ";
  267.                 // line 95
  268.                 if (((<= twig_compare(twig_length_filter($this->env, (isset($context["otherSubCategories"]) || array_key_exists("otherSubCategories"$context) ? $context["otherSubCategories"] : (function () { throw new RuntimeError('Variable "otherSubCategories" does not exist.'95$this->source); })())), 1)) && (>= twig_compare(twig_length_filter($this->env, (isset($context["otherSubCategories"]) || array_key_exists("otherSubCategories"$context) ? $context["otherSubCategories"] : (function () { throw new RuntimeError('Variable "otherSubCategories" does not exist.'95$this->source); })())), 2)))) {
  269.                     // line 96
  270.                     echo "                    <div class=\"position-relative\">
  271.                         <div class=\" daorgy daorgy1 position-absolute t-0 l-0 h-100\"></div>
  272.                         ";
  273.                     // line 98
  274.                     if ((<= twig_compare(twig_length_filter($this->env, (isset($context["otherSubCategories"]) || array_key_exists("otherSubCategories"$context) ? $context["otherSubCategories"] : (function () { throw new RuntimeError('Variable "otherSubCategories" does not exist.'98$this->source); })())), 2))) {
  275.                         // line 99
  276.                         echo "                            <div class=\" daorgy daorgy2 position-absolute t-0 r-0 h-100\"></div>
  277.                         ";
  278.                     }
  279.                     // line 101
  280.                     echo "                        <div class=\"container\">
  281.                             <div class=\"row\">
  282.                                 ";
  283.                     // line 103
  284.                     $context['_parent'] = $context;
  285.                     $context['_seq'] = twig_ensure_traversable((isset($context["otherSubCategories"]) || array_key_exists("otherSubCategories"$context) ? $context["otherSubCategories"] : (function () { throw new RuntimeError('Variable "otherSubCategories" does not exist.'103$this->source); })()));
  286.                     $context['loop'] = [
  287.                       'parent' => $context['_parent'],
  288.                       'index0' => 0,
  289.                       'index'  => 1,
  290.                       'first'  => true,
  291.                     ];
  292.                     if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  293.                         $length count($context['_seq']);
  294.                         $context['loop']['revindex0'] = $length 1;
  295.                         $context['loop']['revindex'] = $length;
  296.                         $context['loop']['length'] = $length;
  297.                         $context['loop']['last'] = === $length;
  298.                     }
  299.                     foreach ($context['_seq'] as $context["key"] => $context["otherSubCategory"]) {
  300.                         // line 104
  301.                         echo "                                    <div class=\"col-sm-6 mat-15 mat-0-sm c-white ";
  302.                         echo ((($context["key"] % == 0)) ? ("par-30-sm") : ("pal-30-sm"));
  303.                         echo "\">
  304.                                         <div data-link
  305.                                              class=\"pointer pay-50 bgc-15683A otherCat otherChaineCat otherCat";
  306.                         // line 106
  307.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse106), "html"nulltrue);
  308.                         echo " skew ";
  309.                         echo ((($context["key"] % == 0)) ? ("par-100-md par-25") : ("pal-100-md pal-25"));
  310.                         echo "\">
  311.                                             <div class=\"row align-items-center position-relative skew-text ";
  312.                         // line 107
  313.                         echo ((($context["key"] % != 0)) ? ("flex-row-reverse") : (""));
  314.                         echo "\">
  315.                                                 <div data-aos=\"fade-up\"   data-aos-duration=\"800\" data-aos-delay=\"600\" class=\"position-absolute  ";
  316.                         // line 108
  317.                         echo ((($context["key"] % != 0)) ? ("r-15") : ("l-15"));
  318.                         echo "\">
  319.                                                     <i class=\"fa fa-arrow-";
  320.                         // line 109
  321.                         echo ((($context["key"] % == 0)) ? ("left") : ("right"));
  322.                         echo "\"></i>
  323.                                                 </div>
  324.                                                 <div class=\"col-sm-12 text-center animateText\">
  325.                                                     <div class=\"uvflnd\" data-aos=\"fade-up\"   data-aos-duration=\"800\">
  326.                                                         ";
  327.                         // line 113
  328.                         if (twig_get_attribute($this->env$this->source$context["otherSubCategory"], "subCategoryFileName", [], "any"falsefalsefalse113)) {
  329.                             // line 114
  330.                             echo "                                                            <img src=\"";
  331.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Vich\UploaderBundle\Twig\Extension\UploaderExtension']->asset($context["otherSubCategory"], "subCategoryFile")), "html"nulltrue);
  332.                             echo "\"
  333.                                                                  alt=\"";
  334.                             // line 115
  335.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["otherSubCategory"], "title", [], "any"falsefalsefalse115), "html"nulltrue);
  336.                             echo "\" class=\"wi-50 img-white\"/>
  337.                                                         ";
  338.                         }
  339.                         // line 117
  340.                         echo "                                                    </div>
  341.                                                     <h3 class=\"buhnsn mab-5 mat-0 noAmericana\">
  342.                                                         <a data-aos=\"fade-up\"   data-aos-duration=\"800\" data-aos-delay=\"200\" href=\"";
  343.                         // line 119
  344.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_products", ["catSlug" => twig_get_attribute($this->env$this->source, (isset($context["categoryActive"]) || array_key_exists("categoryActive"$context) ? $context["categoryActive"] : (function () { throw new RuntimeError('Variable "categoryActive" does not exist.'119$this->source); })()), "slug", [], "any"falsefalsefalse119), "subCatSlug" => twig_get_attribute($this->env$this->source$context["otherSubCategory"], "slug", [], "any"falsefalsefalse119)]), "html"nulltrue);
  345.                         echo "\"
  346.                                                            class=\"cofaes\">
  347.                                                             ";
  348.                         // line 121
  349.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["otherSubCategory"], "title", [], "any"falsefalsefalse121), "html"nulltrue);
  350.                         echo "
  351.                                                         </a>
  352.                                                     </h3>
  353.                                                     <div data-aos=\"fade-up\"   data-aos-duration=\"800\" data-aos-delay=\"400\" class=\"ocgaes pmb0\">
  354.                                                         ";
  355.                         // line 125
  356.                         echo twig_get_attribute($this->env$this->source$context["otherSubCategory"], "intro", [], "any"falsefalsefalse125);
  357.                         echo "
  358.                                                     </div>
  359.                                                 </div>
  360.                                             </div>
  361.                                         </div>
  362.                                     </div>
  363.                                 ";
  364.                         ++$context['loop']['index0'];
  365.                         ++$context['loop']['index'];
  366.                         $context['loop']['first'] = false;
  367.                         if (isset($context['loop']['length'])) {
  368.                             --$context['loop']['revindex0'];
  369.                             --$context['loop']['revindex'];
  370.                             $context['loop']['last'] = === $context['loop']['revindex0'];
  371.                         }
  372.                     }
  373.                     $_parent $context['_parent'];
  374.                     unset($context['_seq'], $context['_iterated'], $context['key'], $context['otherSubCategory'], $context['_parent'], $context['loop']);
  375.                     $context array_intersect_key($context$_parent) + $_parent;
  376.                     // line 132
  377.                     echo "                            </div>
  378.                         </div>
  379.                     </div>
  380.                 ";
  381.                 }
  382.                 // line 136
  383.                 echo "            </section>
  384.         ";
  385.             }
  386.             // line 138
  387.             echo "    ";
  388.         } else {
  389.             // line 139
  390.             echo "        <section class=\"position-relative pab-65\">
  391.             <div class=\"bgp-center bgs-cover w-100 position-absolute t-0 l-0 h-100 zi--1\"
  392.                  style=\"background-image:url(";
  393.             // line 141
  394.             echo twig_escape_filter($this->env$this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/procatbg.png"), "large"), "html"nulltrue);
  395.             echo ")\">
  396.             </div>
  397.             <div class=\"container\">
  398.                 ";
  399.             // line 145
  400.             $context['_parent'] = $context;
  401.             $context['_seq'] = twig_ensure_traversable((isset($context["otherCategories"]) || array_key_exists("otherCategories"$context) ? $context["otherCategories"] : (function () { throw new RuntimeError('Variable "otherCategories" does not exist.'145$this->source); })()));
  402.             foreach ($context['_seq'] as $context["key"] => $context["otherCategory"]) {
  403.                 // line 146
  404.                 echo "                    <div data-link
  405.                          class=\"pointer pay-50 bgc-15683A skew otherCat otherCatNoChaine cclmlw mx-auto c-white par-70-lg par-50-md par-40\">
  406.                         <div class=\"row align-items-center skew-text position-relative\">
  407.                             <div class=\"col-sm-12 text-center\">
  408.                                 <div class=\"uvflnd\" data-aos=\"fade-up\"   data-aos-duration=\"800\">
  409.                                     <img src=\"";
  410.                 // line 151
  411.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Vich\UploaderBundle\Twig\Extension\UploaderExtension']->asset($context["otherCategory"], "categoryFile")), "html"nulltrue);
  412.                 echo "\"
  413.                                          alt=\"";
  414.                 // line 152
  415.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["otherCategory"], "title", [], "any"falsefalsefalse152), "html"nulltrue);
  416.                 echo "\" class=\"wi-50 img-white\" />
  417.                                 </div>
  418.                                 <h3 class=\"buhnsn mab-5 mat-15\">
  419.                                     <a data-aos=\"fade-up\"   data-aos-duration=\"800\" data-aos-delay=\"200\" href=\"";
  420.                 // line 155
  421.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_products", ["catSlug" => twig_get_attribute($this->env$this->source$context["otherCategory"], "slug", [], "any"falsefalsefalse155)]), "html"nulltrue);
  422.                 echo "\"
  423.                                        class=\"cofaes\">
  424.                                         ";
  425.                 // line 157
  426.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["otherCategory"], "title", [], "any"falsefalsefalse157), "html"nulltrue);
  427.                 echo "
  428.                                     </a>
  429.                                 </h3>
  430.                                 <div class=\"ocgaes pmb0\"  data-aos=\"fade-up\"   data-aos-duration=\"800\" data-aos-delay=\"400\">
  431.                                     ";
  432.                 // line 161
  433.                 echo twig_get_attribute($this->env$this->source$context["otherCategory"], "listingIntro", [], "any"falsefalsefalse161);
  434.                 echo "
  435.                                 </div>
  436.                             </div>
  437.                             <div data-aos=\"fade-left\"   data-aos-duration=\"800\" data-aos-delay=\"600\" class=\"position-absolute r-0 text-right\">
  438.                                 <i class=\"fa fa-arrow-right\"></i>
  439.                             </div>
  440.                         </div>
  441.                     </div>
  442.                 ";
  443.             }
  444.             $_parent $context['_parent'];
  445.             unset($context['_seq'], $context['_iterated'], $context['key'], $context['otherCategory'], $context['_parent'], $context['loop']);
  446.             $context array_intersect_key($context$_parent) + $_parent;
  447.             // line 170
  448.             echo "            </div>
  449.         </section>
  450.     ";
  451.         }
  452.         
  453.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  454.         
  455.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  456.     }
  457.     public function getTemplateName()
  458.     {
  459.         return "front/products.html.twig";
  460.     }
  461.     public function isTraitable()
  462.     {
  463.         return false;
  464.     }
  465.     public function getDebugInfo()
  466.     {
  467.         return array (  471 => 170,  456 => 161,  449 => 157,  444 => 155,  438 => 152,  434 => 151,  427 => 146,  423 => 145,  416 => 141,  412 => 139,  409 => 138,  405 => 136,  399 => 132,  378 => 125,  371 => 121,  366 => 119,  362 => 117,  357 => 115,  352 => 114,  350 => 113,  343 => 109,  339 => 108,  335 => 107,  329 => 106,  323 => 104,  306 => 103,  302 => 101,  298 => 99,  296 => 98,  292 => 96,  290 => 95,  284 => 92,  280 => 90,  277 => 89,  275 => 88,  270 => 85,  261 => 80,  256 => 77,  253 => 76,  251 => 75,  248 => 74,  234 => 73,  231 => 72,  214 => 71,  211 => 70,  209 => 69,  204 => 66,  201 => 65,  198 => 64,  196 => 62,  195 => 61,  194 => 60,  192 => 59,  189 => 58,  187 => 56,  186 => 55,  185 => 54,  183 => 53,  181 => 52,  178 => 51,  175 => 50,  173 => 48,  172 => 45,  171 => 44,  170 => 42,  165 => 39,  162 => 38,  160 => 36,  159 => 35,  158 => 34,  157 => 33,  155 => 32,  152 => 31,  149 => 30,  147 => 28,  146 => 27,  145 => 26,  144 => 25,  142 => 24,  139 => 23,  136 => 22,  126 => 21,  114 => 18,  110 => 17,  106 => 16,  101 => 15,  99 => 14,  96 => 13,  93 => 12,  90 => 11,  87 => 10,  84 => 9,  81 => 8,  78 => 7,  75 => 6,  72 => 5,  69 => 4,  59 => 3,  36 => 1,);
  468.     }
  469.     public function getSourceContext()
  470.     {
  471.         return new Source("{% extends \"base.html.twig\" %}
  472. {% block metaTags %}
  473.     {% set title = siteTitle %}
  474.     {% set desc = siteTitle %}
  475.     {% if subCategoryActive %}
  476.         {% set title = subCategoryActive.metaTitle ?? (siteTitle ~ \" - \" ~ subCategoryActive.title) %}
  477.         {% set desc = subCategoryActive.metaDescription ?? (subCategoryActive.description) %}
  478.     {% elseif categoryActive %}
  479.         {% set title = categoryActive.metaTitle ?? (siteTitle ~ \" - \" ~ categoryActive.title) %}
  480.         {% set desc = categoryActive.metaDescription ?? (categoryActive.description) %}
  481.     {% endif %}
  482.     {% set desc = (subCategoryActive and subCategoryActive.metaDescription) ? subCategoryActive.metaDescription : (categoryActive and categoryActive.metaDescription) ? categoryActive.metaDescription : siteTitle %}
  483.     <meta name=\"description\" content=\"{{ desc }}\">
  484.     <title>{{ title }}</title>
  485.     <meta property=\"og:title\" content=\"{{ title }}\">
  486.     <meta property=\"og:description\" content=\"{{ desc }}\">
  487. {% endblock %}
  488. {% block body %}
  489.     {% if categoryActive.isChaine %}
  490.         {% if subCategoryActive %}
  491.             {% include \"front/header.html.twig\" with {
  492.                 'icon':(subCategoryActive.subCategoryFileName ? asset(vich_uploader_asset(subCategoryActive, 'subCategoryFile')) : null),
  493.                 \"img\":(subCategoryActive.subCategoryBgFileName ? asset(vich_uploader_asset(subCategoryActive, 'subCategoryBgFile')) : null),
  494.                 \"title\":subCategoryActive.title,
  495.                 \"intro\":subCategoryActive.intro,
  496.             } %}
  497.         {% endif %}
  498.     {% else %}
  499.         {% include \"front/header.html.twig\" with {
  500.             'icon':asset(vich_uploader_asset(categoryActive, 'categoryFile')),
  501.             \"img\":(categoryActive.categoryBgFileName ? asset(vich_uploader_asset(categoryActive, 'categoryBgFile')) : null),
  502.             \"title\":categoryActive.title,
  503.             \"intro\":categoryActive.intro,
  504.         } %}
  505.     {% endif %}
  506.     <section class=\"pat-30 position-relative\">
  507.         <div class=\"container\">
  508.             {% set menu = ((categoryActive.isChaine and subCategoryActive) ?
  509.                 {
  510.                     (categoryActive.title):\"#\",
  511.                     (subCategoryActive.title):\"#\",
  512.                 } :
  513.                 {
  514.                     (categoryActive.title):\"#\",
  515.                 }) %}
  516.             {% include \"front/menu.html.twig\" with {'menu':menu} %}
  517.         </div>
  518.         {% if categoryActive.isChaine %}
  519.             {% include \"front/productsFooter.html.twig\" with {
  520.                     'img':(subCategoryActive.subCategoryFileName ? asset(vich_uploader_asset(subCategoryActive, 'subCategoryFile')) : null),
  521.                     \"title\":subCategoryActive.title,
  522.                     \"content\":subCategoryActive.description,
  523.                 } %}
  524.         {% else %}
  525.             {% include \"front/productsFooter.html.twig\" with {
  526.                 'img':asset(vich_uploader_asset(categoryActive, 'categoryFile')),
  527.                 \"title\":categoryActive.title,
  528.                 \"content\":categoryActive.description,
  529.             } %}
  530.         {% endif %}
  531.         {% include \"front/coordinates.html.twig\" %}
  532.         <div class=\"container\">
  533.             <div class=\"js-prods-list mat-0 mab-90\">
  534.                 {% include \"form/productsFilterForm.html.twig\" %}
  535.                 <div class=\"products row justify-content-center-md\">
  536.                     {% for key, product in products %}
  537.                         {% include \"front/productListDetail.html.twig\" %}
  538.                     {% endfor %}
  539.                 </div>
  540.                 {% if total > limit %}
  541.                     <div class=\"text-center\">
  542.                         <div class=\"btn btn1 loadMoreProducts\" data-limit=\"{{ limit }}\">
  543.                             <div class=\"btn-text\">
  544.                                 {#                            <i class=\"fa-solid fa-arrows-rotate mar-5\"></i> #}
  545.                                 {{ \"products.load_more.btn\"|trans }}
  546.                             </div>
  547.                         </div>
  548.                     </div>
  549.                 {% endif %}
  550.             </div>
  551.         </div>
  552.     </section>
  553.     {% if categoryActive.isChaine %}
  554.         {% if subCategoryActive %}
  555.             <section class=\"position-relative pab-65\">
  556.                 <div class=\"bgp-center otherCatProd bgs-cover w-100 position-absolute t-0 l-0 h-100 zi--1\"
  557.                      style=\"background-image:url({{ asset('assets/img/procatbg.png')|imagine_filter('large') }})\">
  558.                 </div>
  559.                 {% if otherSubCategories|length >= 1 and otherSubCategories|length <= 2 %}
  560.                     <div class=\"position-relative\">
  561.                         <div class=\" daorgy daorgy1 position-absolute t-0 l-0 h-100\"></div>
  562.                         {% if otherSubCategories|length >= 2 %}
  563.                             <div class=\" daorgy daorgy2 position-absolute t-0 r-0 h-100\"></div>
  564.                         {% endif %}
  565.                         <div class=\"container\">
  566.                             <div class=\"row\">
  567.                                 {% for key, otherSubCategory in otherSubCategories %}
  568.                                     <div class=\"col-sm-6 mat-15 mat-0-sm c-white {{ key is even ? \"par-30-sm\" : \"pal-30-sm\" }}\">
  569.                                         <div data-link
  570.                                              class=\"pointer pay-50 bgc-15683A otherCat otherChaineCat otherCat{{loop.index}} skew {{ key is even ? \"par-100-md par-25\" : \"pal-100-md pal-25\" }}\">
  571.                                             <div class=\"row align-items-center position-relative skew-text {{ key is odd ? \"flex-row-reverse\" }}\">
  572.                                                 <div data-aos=\"fade-up\"   data-aos-duration=\"800\" data-aos-delay=\"600\" class=\"position-absolute  {{ key is odd ? \"r-15\" : 'l-15'}}\">
  573.                                                     <i class=\"fa fa-arrow-{{ key is even ? \"left\" : \"right\" }}\"></i>
  574.                                                 </div>
  575.                                                 <div class=\"col-sm-12 text-center animateText\">
  576.                                                     <div class=\"uvflnd\" data-aos=\"fade-up\"   data-aos-duration=\"800\">
  577.                                                         {% if otherSubCategory.subCategoryFileName %}
  578.                                                             <img src=\"{{ asset(vich_uploader_asset(otherSubCategory, 'subCategoryFile')) }}\"
  579.                                                                  alt=\"{{ otherSubCategory.title }}\" class=\"wi-50 img-white\"/>
  580.                                                         {% endif %}
  581.                                                     </div>
  582.                                                     <h3 class=\"buhnsn mab-5 mat-0 noAmericana\">
  583.                                                         <a data-aos=\"fade-up\"   data-aos-duration=\"800\" data-aos-delay=\"200\" href=\"{{ path('front_products', {'catSlug':categoryActive.slug, \"subCatSlug\":otherSubCategory.slug}) }}\"
  584.                                                            class=\"cofaes\">
  585.                                                             {{ otherSubCategory.title }}
  586.                                                         </a>
  587.                                                     </h3>
  588.                                                     <div data-aos=\"fade-up\"   data-aos-duration=\"800\" data-aos-delay=\"400\" class=\"ocgaes pmb0\">
  589.                                                         {{ otherSubCategory.intro|raw }}
  590.                                                     </div>
  591.                                                 </div>
  592.                                             </div>
  593.                                         </div>
  594.                                     </div>
  595.                                 {% endfor %}
  596.                             </div>
  597.                         </div>
  598.                     </div>
  599.                 {% endif %}
  600.             </section>
  601.         {% endif %}
  602.     {% else %}
  603.         <section class=\"position-relative pab-65\">
  604.             <div class=\"bgp-center bgs-cover w-100 position-absolute t-0 l-0 h-100 zi--1\"
  605.                  style=\"background-image:url({{ asset('assets/img/procatbg.png')|imagine_filter('large') }})\">
  606.             </div>
  607.             <div class=\"container\">
  608.                 {% for key, otherCategory in otherCategories %}
  609.                     <div data-link
  610.                          class=\"pointer pay-50 bgc-15683A skew otherCat otherCatNoChaine cclmlw mx-auto c-white par-70-lg par-50-md par-40\">
  611.                         <div class=\"row align-items-center skew-text position-relative\">
  612.                             <div class=\"col-sm-12 text-center\">
  613.                                 <div class=\"uvflnd\" data-aos=\"fade-up\"   data-aos-duration=\"800\">
  614.                                     <img src=\"{{ asset(vich_uploader_asset(otherCategory, 'categoryFile')) }}\"
  615.                                          alt=\"{{ otherCategory.title }}\" class=\"wi-50 img-white\" />
  616.                                 </div>
  617.                                 <h3 class=\"buhnsn mab-5 mat-15\">
  618.                                     <a data-aos=\"fade-up\"   data-aos-duration=\"800\" data-aos-delay=\"200\" href=\"{{ path('front_products', {'catSlug':otherCategory.slug}) }}\"
  619.                                        class=\"cofaes\">
  620.                                         {{ otherCategory.title }}
  621.                                     </a>
  622.                                 </h3>
  623.                                 <div class=\"ocgaes pmb0\"  data-aos=\"fade-up\"   data-aos-duration=\"800\" data-aos-delay=\"400\">
  624.                                     {{ otherCategory.listingIntro|raw }}
  625.                                 </div>
  626.                             </div>
  627.                             <div data-aos=\"fade-left\"   data-aos-duration=\"800\" data-aos-delay=\"600\" class=\"position-absolute r-0 text-right\">
  628.                                 <i class=\"fa fa-arrow-right\"></i>
  629.                             </div>
  630.                         </div>
  631.                     </div>
  632.                 {% endfor %}
  633.             </div>
  634.         </section>
  635.     {% endif %}
  636. {% endblock %}
  637. ""front/products.html.twig""/home/hlcdisb/www/facomia_dev/templates/front/products.html.twig");
  638.     }
  639. }