var/cache/dev/twig/c5/c5c8a8a469fefe03163823665987fb5946c58e864fe1f2162d6ac314adbc6343.php line 50

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/theme1/page_cms.html.twig */
  14. class __TwigTemplate_75f7f2a5d6a4b74a4dcf559c329fc5c3fdd66a4dba07b0359d9ac94801948055 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.             'preload' => [$this'block_preload'],
  24.             'stylesheets' => [$this'block_stylesheets'],
  25.             'body' => [$this'block_body'],
  26.             'javascripts' => [$this'block_javascripts'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return $this->loadTemplate((("front/" 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.'1$this->source); })()), "request", [], "any"falsefalsefalse1), "server", [], "any"falsefalsefalse1), "get", [=> "APP_THEME"], "method"falsefalsefalse1)) . "/base.html.twig"), "front/theme1/page_cms.html.twig"1);
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/theme1/page_cms.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/theme1/page_cms.html.twig"));
  41.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_preload($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""preload"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""preload"));
  55.         // line 4
  56.         echo "    ";
  57.         if ((twig_get_attribute($this->env$this->source, ($context["post"] ?? null), "image", [], "any"truetruefalse4) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'4$this->source); })()), "image", [], "any"falsefalsefalse4)))) {
  58.             // line 5
  59.             echo "        ";
  60.             if (twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'5$this->source); })()), "image", [], "any"falsefalsefalse5)) {
  61.                 // line 6
  62.                 echo "            <link rel=\"preload\" as=\"image\" href=\"";
  63.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'6$this->source); })()), "image", [], "any"falsefalsefalse6)), "html"nulltrue);
  64.                 echo "\" />
  65.         ";
  66.             }
  67.             // line 8
  68.             echo "    ";
  69.         }
  70.         // line 9
  71.         echo "
  72.      ";
  73.         // line 10
  74.         if ((array_key_exists("galleries"$context) &&  !twig_test_empty((isset($context["galleries"]) || array_key_exists("galleries"$context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.'10$this->source); })())))) {
  75.             // line 11
  76.             echo "           ";
  77.             $context['_parent'] = $context;
  78.             $context['_seq'] = twig_ensure_traversable((isset($context["galleries"]) || array_key_exists("galleries"$context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.'11$this->source); })()));
  79.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  80.                 // line 12
  81.                 echo "                ";
  82.                 if (twig_get_attribute($this->env$this->source$context["item"], "path", [], "any"truetruefalse12)) {
  83.                     // line 13
  84.                     echo "                    <link rel=\"preload\" as=\"image\" href=\"";
  85.                     echo twig_escape_filter($this->env$this->extensions['App\Twig\ImagesExtenstion']->AssetImageGalleryFunction(twig_get_attribute($this->env$this->source$context["item"], "path", [], "any"falsefalsefalse13)), "html"nulltrue);
  86.                     echo "\" />
  87.                 ";
  88.                 }
  89.                 // line 15
  90.                 echo "           ";
  91.             }
  92.             $_parent $context['_parent'];
  93.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  94.             $context array_intersect_key($context$_parent) + $_parent;
  95.             // line 16
  96.             echo "    ";
  97.         }
  98.         // line 17
  99.         echo "
  100. ";
  101.         
  102.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  103.         
  104.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  105.     }
  106.     // line 20
  107.     public function block_stylesheets($context, array $blocks = [])
  108.     {
  109.         $macros $this->macros;
  110.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  111.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  112.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  113.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  114.         // line 21
  115.         echo "    ";
  116.         $this->displayParentBlock("stylesheets"$context$blocks);
  117.         echo "
  118.     ";
  119.         // line 22
  120.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["modele_galerie"]) || array_key_exists("modele_galerie"$context) ? $context["modele_galerie"] : (function () { throw new RuntimeError('Variable "modele_galerie" does not exist.'22$this->source); })()), 0, [], "array"falsefalsefalse22), "type", [], "any"falsefalsefalse22) == 4)) {
  121.             // line 23
  122.             echo "        <link rel=\"stylesheet\" type=\"text/css\" href=\"";
  123.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("templates/front/theme1/assets/plugins/flexslider/flexslider.css"), "html"nulltrue);
  124.             echo "\" media=\"screen\" >
  125.     ";
  126.         }
  127.         
  128.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  129.         
  130.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  131.     }
  132.     // line 27
  133.     public function block_body($context, array $blocks = [])
  134.     {
  135.         $macros $this->macros;
  136.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  137.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  138.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  139.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  140.         // line 28
  141.         echo "
  142.     ";
  143.         // line 29
  144.         $context["titre_page"] = twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'29$this->source); })()), "title", [], "any"falsefalsefalse29);
  145.         // line 30
  146.         echo "
  147.     ";
  148.         // line 31
  149.         if (twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'31$this->source); })()), "imageBandeau", [], "any"falsefalsefalse31)) {
  150.             // line 32
  151.             echo "        ";
  152.             $context["imagebandeau"] = twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'32$this->source); })()), "imageBandeau", [], "any"falsefalsefalse32);
  153.             // line 33
  154.             echo "    ";
  155.         } elseif (twig_get_attribute($this->env$this->source, (isset($context["parametre"]) || array_key_exists("parametre"$context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.'33$this->source); })()), "imageBandeau", [], "any"falsefalsefalse33)) {
  156.             // line 34
  157.             echo "        ";
  158.             $context["imagebandeau"] = ("uploads/images/" twig_get_attribute($this->env$this->source, (isset($context["parametre"]) || array_key_exists("parametre"$context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.'34$this->source); })()), "imageBandeau", [], "any"falsefalsefalse34));
  159.             // line 35
  160.             echo "    ";
  161.         } else {
  162.             // line 36
  163.             echo "        ";
  164.             $context["imagebandeau"] = "";
  165.             // line 37
  166.             echo "    ";
  167.         }
  168.         // line 38
  169.         echo "    
  170.     ";
  171.         // line 39
  172.         if (((isset($context["imagebandeau"]) || array_key_exists("imagebandeau"$context) ? $context["imagebandeau"] : (function () { throw new RuntimeError('Variable "imagebandeau" does not exist.'39$this->source); })()) != "")) {
  173.             // line 40
  174.             echo "        <section class=\"image-bandeau text-center\">
  175.             <img class=\"lazyload\" alt=\"";
  176.             // line 41
  177.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'41$this->source); })()), "title", [], "any"falsefalsefalse41), "html"nulltrue);
  178.             echo "\" title=\"";
  179.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'41$this->source); })()), "title", [], "any"falsefalsefalse41), "html"nulltrue);
  180.             echo "\" data-srcset=\"";
  181.             echo twig_escape_filter($this->env, (isset($context["imagebandeau"]) || array_key_exists("imagebandeau"$context) ? $context["imagebandeau"] : (function () { throw new RuntimeError('Variable "imagebandeau" does not exist.'41$this->source); })()), "html"nulltrue);
  182.             echo "\" src=\"";
  183.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["imagebandeau"]) || array_key_exists("imagebandeau"$context) ? $context["imagebandeau"] : (function () { throw new RuntimeError('Variable "imagebandeau" does not exist.'41$this->source); })())), "html"nulltrue);
  184.             echo "\" />
  185.             <div class=\"cnt-bandeau text-center\">
  186. \t\t\t\t<div class=\"container-fluid wrapper\">
  187.                     <ol class=\"breadcrumb d-flex justify-content-center\" itemscope itemtype=\"http://schema.org/BreadcrumbList\">
  188.                         <li class=\"breadcrumb-item\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"";
  189.             // line 45
  190.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("index_page_home");
  191.             echo "\" itemprop=\"item\"><span itemprop=\"name\">";
  192.             echo (isset($context["title_home_ariane"]) || array_key_exists("title_home_ariane"$context) ? $context["title_home_ariane"] : (function () { throw new RuntimeError('Variable "title_home_ariane" does not exist.'45$this->source); })());
  193.             echo "</span></a><meta itemprop=\"position\" content=\"1\" /></li>
  194.                         ";
  195.             // line 46
  196.             $context["niveau"] = 2;
  197.             // line 47
  198.             echo "                        ";
  199.             if ((isset($context["categorieTree"]) || array_key_exists("categorieTree"$context) ? $context["categorieTree"] : (function () { throw new RuntimeError('Variable "categorieTree" does not exist.'47$this->source); })())) {
  200.                 // line 48
  201.                 echo "                                ";
  202.                 $context['_parent'] = $context;
  203.                 $context['_seq'] = twig_ensure_traversable((isset($context["categorieTree"]) || array_key_exists("categorieTree"$context) ? $context["categorieTree"] : (function () { throw new RuntimeError('Variable "categorieTree" does not exist.'48$this->source); })()));
  204.                 foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  205.                     // line 49
  206.                     echo "                                    <li class=\"breadcrumb-item\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"";
  207.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env$this->source$context["item"], "slug", [], "any"falsefalsefalse49)]), "html"nulltrue);
  208.                     echo "\" title=\"";
  209.                     echo twig_escape_filter($this->envtwig_replace_filter(twig_get_attribute($this->env$this->source$context["item"], "titre", [], "any"falsefalsefalse49), ["<span>" => " ""</span>" => " "]), "html"nulltrue);
  210.                     echo "\" itemprop=\"item\"><span itemprop=\"name\">";
  211.                     echo twig_get_attribute($this->env$this->source$context["item"], "titre", [], "any"falsefalsefalse49);
  212.                     echo "</span></a><meta itemprop=\"position\" content=\"2\" /></li> 
  213.                                     ";
  214.                     // line 50
  215.                     $context["niveau"] = 3;
  216.                     // line 51
  217.                     echo "                                    ";
  218.                     if (twig_get_attribute($this->env$this->source$context["item"], "child", [], "any"truetruefalse51)) {
  219.                         // line 52
  220.                         echo "                                        ";
  221.                         $context['_parent'] = $context;
  222.                         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["item"], "child", [], "any"falsefalsefalse52));
  223.                         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  224.                             // line 53
  225.                             echo "                                            <li class=\"breadcrumb-item\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"";
  226.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env$this->source$context["item"], "slug", [], "any"falsefalsefalse53)]), "html"nulltrue);
  227.                             echo "\" title=\"";
  228.                             echo twig_escape_filter($this->envtwig_replace_filter(twig_get_attribute($this->env$this->source$context["item"], "titre", [], "any"falsefalsefalse53), ["<span>" => " ""</span>" => " "]), "html"nulltrue);
  229.                             echo "\" itemprop=\"item\"><span itemprop=\"name\">";
  230.                             echo twig_get_attribute($this->env$this->source$context["item"], "titre", [], "any"falsefalsefalse53);
  231.                             echo "</span></a><meta itemprop=\"position\" content=\"3\" /></li> 
  232.                                             ";
  233.                             // line 54
  234.                             $context["niveau"] = 4;
  235.                             // line 55
  236.                             echo "                                        ";
  237.                         }
  238.                         $_parent $context['_parent'];
  239.                         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  240.                         $context array_intersect_key($context$_parent) + $_parent;
  241.                         // line 56
  242.                         echo "                                    ";
  243.                     }
  244.                     // line 57
  245.                     echo "                                ";
  246.                 }
  247.                 $_parent $context['_parent'];
  248.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  249.                 $context array_intersect_key($context$_parent) + $_parent;
  250.                 // line 58
  251.                 echo "                        ";
  252.             }
  253.             // line 59
  254.             echo "                        <li class=\"breadcrumb-item active\" aria-current=\"page\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><span itemprop=\"name\">";
  255.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'59$this->source); })()), "breadcrumb", [], "any"falsefalsefalse59))) {
  256.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'59$this->source); })()), "breadcrumb", [], "any"falsefalsefalse59), "html"nulltrue);
  257.             } else {
  258.                 echo twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'59$this->source); })()), "title", [], "any"falsefalsefalse59);
  259.             }
  260.             echo "</span><meta itemprop=\"position\" content=\"";
  261.             echo twig_escape_filter($this->env, (isset($context["niveau"]) || array_key_exists("niveau"$context) ? $context["niveau"] : (function () { throw new RuntimeError('Variable "niveau" does not exist.'59$this->source); })()), "html"nulltrue);
  262.             echo "\" /></li>
  263.                     </ol>
  264.                     <h1 class=\"page-title\">";
  265.             // line 61
  266.             echo twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'61$this->source); })()), "title", [], "any"falsefalsefalse61);
  267.             echo "</h1>
  268.                 </div>
  269.             </div>
  270.         </section>
  271.     ";
  272.         }
  273.         // line 66
  274.         echo "    ";
  275.         $context["bgimage"] = ((twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'66$this->source); })()), "imageCouverture", [], "any"falsefalsefalse66)) ? (twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'66$this->source); })()), "imageCouverture", [], "any"falsefalsefalse66)) : (""));
  276.         // line 67
  277.         echo "    <div class=\"page_cms pt-5\" ";
  278.         if ((isset($context["bgimage"]) || array_key_exists("bgimage"$context) ? $context["bgimage"] : (function () { throw new RuntimeError('Variable "bgimage" does not exist.'67$this->source); })())) {
  279.             echo "style=\"background-image:url('";
  280.             echo twig_escape_filter($this->env, (isset($context["bgimage"]) || array_key_exists("bgimage"$context) ? $context["bgimage"] : (function () { throw new RuntimeError('Variable "bgimage" does not exist.'67$this->source); })()), "html"nulltrue);
  281.             echo "');background-repeat: no-repeat;background-size:cover;\"";
  282.         }
  283.         echo " >
  284.         ";
  285.         // line 68
  286.         if (((isset($context["imagebandeau"]) || array_key_exists("imagebandeau"$context) ? $context["imagebandeau"] : (function () { throw new RuntimeError('Variable "imagebandeau" does not exist.'68$this->source); })()) == "")) {
  287.             // line 69
  288.             echo "        <div class=\"breadcrumb-style-default\">
  289.             <div class=\"container-fluid wrapper\">
  290.                 <div class=\"row\">
  291.                     <div class=\"col-lg-12\">
  292.                         <div class=\"inner text-center\">
  293.                             <ol class=\"breadcrumb d-flex justify-content-center\" itemscope itemtype=\"http://schema.org/BreadcrumbList\">
  294.                                 <li class=\"breadcrumb-item\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"";
  295.             // line 75
  296.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("index_page_home");
  297.             echo "\" itemprop=\"item\"><span itemprop=\"name\">";
  298.             echo (isset($context["title_home_ariane"]) || array_key_exists("title_home_ariane"$context) ? $context["title_home_ariane"] : (function () { throw new RuntimeError('Variable "title_home_ariane" does not exist.'75$this->source); })());
  299.             echo "</span></a><meta itemprop=\"position\" content=\"1\" /></li>
  300.                                 ";
  301.             // line 76
  302.             $context["niveau"] = 2;
  303.             // line 77
  304.             echo "                                ";
  305.             if ((isset($context["categorieTree"]) || array_key_exists("categorieTree"$context) ? $context["categorieTree"] : (function () { throw new RuntimeError('Variable "categorieTree" does not exist.'77$this->source); })())) {
  306.                 // line 78
  307.                 echo "                                        ";
  308.                 $context['_parent'] = $context;
  309.                 $context['_seq'] = twig_ensure_traversable((isset($context["categorieTree"]) || array_key_exists("categorieTree"$context) ? $context["categorieTree"] : (function () { throw new RuntimeError('Variable "categorieTree" does not exist.'78$this->source); })()));
  310.                 foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  311.                     // line 79
  312.                     echo "                                            <li class=\"breadcrumb-item\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"";
  313.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env$this->source$context["item"], "slug", [], "any"falsefalsefalse79)]), "html"nulltrue);
  314.                     echo "\" title=\"";
  315.                     echo twig_escape_filter($this->envtwig_replace_filter(twig_get_attribute($this->env$this->source$context["item"], "titre", [], "any"falsefalsefalse79), ["<span>" => " ""</span>" => " "]), "html"nulltrue);
  316.                     echo "\" itemprop=\"item\"><span itemprop=\"name\">";
  317.                     echo twig_get_attribute($this->env$this->source$context["item"], "titre", [], "any"falsefalsefalse79);
  318.                     echo "</span></a><meta itemprop=\"position\" content=\"2\" /></li> 
  319.                                             ";
  320.                     // line 80
  321.                     $context["niveau"] = 3;
  322.                     // line 81
  323.                     echo "                                            ";
  324.                     if (twig_get_attribute($this->env$this->source$context["item"], "child", [], "any"truetruefalse81)) {
  325.                         // line 82
  326.                         echo "                                                ";
  327.                         $context['_parent'] = $context;
  328.                         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["item"], "child", [], "any"falsefalsefalse82));
  329.                         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  330.                             // line 83
  331.                             echo "                                                    <li class=\"breadcrumb-item\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"";
  332.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env$this->source$context["item"], "slug", [], "any"falsefalsefalse83)]), "html"nulltrue);
  333.                             echo "\" title=\"";
  334.                             echo twig_escape_filter($this->envtwig_replace_filter(twig_get_attribute($this->env$this->source$context["item"], "titre", [], "any"falsefalsefalse83), ["<span>" => " ""</span>" => " "]), "html"nulltrue);
  335.                             echo "\" itemprop=\"item\"><span itemprop=\"name\">";
  336.                             echo twig_get_attribute($this->env$this->source$context["item"], "titre", [], "any"falsefalsefalse83);
  337.                             echo "</span></a><meta itemprop=\"position\" content=\"3\" /></li> 
  338.                                                     ";
  339.                             // line 84
  340.                             $context["niveau"] = 4;
  341.                             // line 85
  342.                             echo "                                                ";
  343.                         }
  344.                         $_parent $context['_parent'];
  345.                         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  346.                         $context array_intersect_key($context$_parent) + $_parent;
  347.                         // line 86
  348.                         echo "                                            ";
  349.                     }
  350.                     // line 87
  351.                     echo "                                        ";
  352.                 }
  353.                 $_parent $context['_parent'];
  354.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  355.                 $context array_intersect_key($context$_parent) + $_parent;
  356.                 // line 88
  357.                 echo "                                ";
  358.             }
  359.             // line 89
  360.             echo "                                <li class=\"breadcrumb-item active\" aria-current=\"page\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><span itemprop=\"name\">";
  361.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'89$this->source); })()), "breadcrumb", [], "any"falsefalsefalse89))) {
  362.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'89$this->source); })()), "breadcrumb", [], "any"falsefalsefalse89), "html"nulltrue);
  363.             } else {
  364.                 echo twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'89$this->source); })()), "title", [], "any"falsefalsefalse89);
  365.             }
  366.             echo "</span><meta itemprop=\"position\" content=\"";
  367.             echo twig_escape_filter($this->env, (isset($context["niveau"]) || array_key_exists("niveau"$context) ? $context["niveau"] : (function () { throw new RuntimeError('Variable "niveau" does not exist.'89$this->source); })()), "html"nulltrue);
  368.             echo "\" /></li>
  369.                             </ol>
  370.                             <h1 class=\"page-title\">";
  371.             // line 92
  372.             echo twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'92$this->source); })()), "title", [], "any"falsefalsefalse92);
  373.             echo "</h1>
  374.                         </div>
  375.                     </div>
  376.                 </div>
  377.             </div>
  378.         </div>
  379.         ";
  380.         }
  381.         // line 99
  382.         echo "
  383.         ";
  384.         // line 100
  385.         if ((((((twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'100$this->source); })()), "summary", [], "any"falsefalsefalse100) != "") ||  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'100$this->source); })()), "image", [], "any"falsefalsefalse100))) || (twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'100$this->source); })()), "content", [], "any"falsefalsefalse100) != "")) ||  !twig_test_empty((isset($context["galleries"]) || array_key_exists("galleries"$context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.'100$this->source); })()))) ||  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'100$this->source); })()), "urlvideo", [], "any"falsefalsefalse100)))) {
  386.             // line 101
  387.             echo "        <section class=\"content-page\">
  388.             <div class=\"container-fluid wrapper mt-3\">
  389.                 <div id=\"post-";
  390.             // line 103
  391.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'103$this->source); })()), "id", [], "any"falsefalsefalse103), "html"nulltrue);
  392.             echo "\" class=\"bloc-texte-principal gx-5 py-2\">
  393.                     ";
  394.             // line 105
  395.             if ((( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'105$this->source); })()), "summary", [], "any"falsefalsefalse105)) && (twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'105$this->source); })()), "summary", [], "any"falsefalsefalse105) != "")) && ((twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'105$this->source); })()), "positionimage", [], "any"falsefalsefalse105) != 2) && (twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'105$this->source); })()), "positionimage", [], "any"falsefalsefalse105) != 3)))) {
  396.                 // line 106
  397.                 echo "                        <div class=\"col-sm-12 text-center\">
  398.                             <h2 class=\"sub-title wow\">";
  399.                 // line 107
  400.                 echo twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'107$this->source); })()), "summary", [], "any"falsefalsefalse107);
  401.                 echo "</h2>
  402.                         </div>
  403.                     ";
  404.             }
  405.             // line 110
  406.             echo "
  407.                     ";
  408.             // line 111
  409.             $context["position_image"] = twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'111$this->source); })()), "positionimage", [], "any"falsefalsefalse111);
  410.             // line 112
  411.             echo "                    ";
  412.             $context["class_position"] = "";
  413.             // line 113
  414.             echo "                    ";
  415.             if ((twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'113$this->source); })()), "positionimage", [], "any"falsefalsefalse113) == 2)) {
  416.                 // line 114
  417.                 echo "                        ";
  418.                 $context["class_position"] = "float-md-left mb-2 mr-md-3";
  419.                 // line 115
  420.                 echo "                    ";
  421.             } elseif ((twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'115$this->source); })()), "positionimage", [], "any"falsefalsefalse115) == 3)) {
  422.                 // line 116
  423.                 echo "                        ";
  424.                 $context["class_position"] = "float-md-right mb-2 ml-md-3";
  425.                 // line 117
  426.                 echo "                    ";
  427.             }
  428.             // line 118
  429.             echo "                    
  430.                     ";
  431.             // line 120
  432.             if ((twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'120$this->source); })()), "image", [], "any"falsefalsefalse120) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'120$this->source); })()), "image", [], "any"falsefalsefalse120)))) {
  433.                 // line 121
  434.                 echo "                        <div class=\"col-image-post text-center my-4 ";
  435.                 echo twig_escape_filter($this->env, (isset($context["class_position"]) || array_key_exists("class_position"$context) ? $context["class_position"] : (function () { throw new RuntimeError('Variable "class_position" does not exist.'121$this->source); })()), "html"nulltrue);
  436.                 echo "\">
  437.                             <img class=\"lazyload img-fluid principal-img\" src=\"";
  438.                 // line 122
  439.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'122$this->source); })()), "image", [], "any"falsefalsefalse122)), "html"nulltrue);
  440.                 echo "\" alt=\"";
  441.                 echo twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'122$this->source); })()), "title", [], "any"falsefalsefalse122);
  442.                 echo "\" />
  443.                         </div>
  444.                     ";
  445.             }
  446.             // line 125
  447.             echo "
  448.                     ";
  449.             // line 126
  450.             if (( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'126$this->source); })()), "content", [], "any"falsefalsefalse126)) && (twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'126$this->source); })()), "content", [], "any"falsefalsefalse126) != ""))) {
  451.                 // line 127
  452.                 echo "                        <div class=\"content_post\">
  453.                             ";
  454.                 // line 128
  455.                 if ((( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'128$this->source); })()), "summary", [], "any"falsefalsefalse128)) && (twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'128$this->source); })()), "summary", [], "any"falsefalsefalse128) != "")) && ((twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'128$this->source); })()), "positionimage", [], "any"falsefalsefalse128) == 2) || (twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'128$this->source); })()), "positionimage", [], "any"falsefalsefalse128) == 3)))) {
  456.                     // line 129
  457.                     echo "                                <div class=\"col-sm-12\">
  458.                                     <h2 class=\"sub-title wow\">";
  459.                     // line 130
  460.                     echo twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'130$this->source); })()), "summary", [], "any"falsefalsefalse130);
  461.                     echo "</h2>
  462.                                 </div>
  463.                             ";
  464.                 }
  465.                 // line 133
  466.                 echo "
  467.                             ";
  468.                 // line 134
  469.                 $context["lien_site"] = (((((("<a href=" $this->extensions['App\Twig\FunctionExtension']->urlSite()) . " title=") . twig_get_attribute($this->env$this->source, (isset($context["parametre"]) || array_key_exists("parametre"$context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.'134$this->source); })()), "titre", [], "any"falsefalsefalse134)) . ">") . $this->extensions['App\Twig\FunctionExtension']->urlSite()) . "</a>");
  470.                 // line 135
  471.                 echo "
  472.                             <div class=\"texte-content\">";
  473.                 // line 136
  474.                 echo twig_replace_filter(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'136$this->source); })()), "content", [], "any"falsefalsefalse136), ["[NDD]" => (isset($context["lien_site"]) || array_key_exists("lien_site"$context) ? $context["lien_site"] : (function () { throw new RuntimeError('Variable "lien_site" does not exist.'136$this->source); })())]);
  475.                 echo "</div>
  476.                             ";
  477.                 // line 138
  478.                 if ((twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'138$this->source); })()), "typelien", [], "any"falsefalsefalse138) == null)) {
  479.                     // line 139
  480.                     echo "                                ";
  481.                     if ((array_key_exists("categorieTree"$context) && twig_get_attribute($this->env$this->source, ($context["categorieTree"] ?? null), 0, [], "array"truetruefalse139))) {
  482.                         // line 140
  483.                         echo "                                    <div class=\"text-center py-2\">
  484.                                         <a href=\"";
  485.                         // line 141
  486.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["categorieTree"]) || array_key_exists("categorieTree"$context) ? $context["categorieTree"] : (function () { throw new RuntimeError('Variable "categorieTree" does not exist.'141$this->source); })()), 0, [], "array"falsefalsefalse141), "slug", [], "any"falsefalsefalse141)]), "html"nulltrue);
  487.                         echo "\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">Retour Ã  la liste ";
  488.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["categorieTree"]) || array_key_exists("categorieTree"$context) ? $context["categorieTree"] : (function () { throw new RuntimeError('Variable "categorieTree" does not exist.'141$this->source); })()), 0, [], "array"falsefalsefalse141), "titre", [], "any"falsefalsefalse141), "html"nulltrue);
  489.                         echo "</a>
  490.                                     </div>
  491.                                 ";
  492.                     }
  493.                     // line 144
  494.                     echo "                            ";
  495.                 } elseif ((twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'144$this->source); })()), "typelien", [], "any"falsefalsefalse144) != 1)) {
  496.                     // line 145
  497.                     echo "                                    ";
  498.                     if ((twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'145$this->source); })()), "typelien", [], "any"falsefalsefalse145) == "4")) {
  499.                         // line 146
  500.                         echo "                                        <div class=\"text-center py-2\">
  501.                                             <a href=\"tel:";
  502.                         // line 147
  503.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'147$this->source); })()), "telephone", [], "any"falsefalsefalse147), "html"nulltrue);
  504.                         echo "\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">";
  505.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'147$this->source); })()), "titrelien", [], "any"falsefalsefalse147), "html"nulltrue);
  506.                         echo "</a>
  507.                                         </div>
  508.                                     ";
  509.                     } elseif ((twig_get_attribute($this->env$this->source,                     // line 149
  510. (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'149$this->source); })()), "typelien", [], "any"falsefalsefalse149) == "2")) {
  511.                         // line 150
  512.                         echo "                                        <div class=\"text-center py-2\">
  513.                                             <a href=\"";
  514.                         // line 151
  515.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\FunctionExtension']->slugLinkInterneFunction(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'151$this->source); })()), "lieninterne", [], "any"falsefalsefalse151)), "html"nulltrue);
  516.                         echo "\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">";
  517.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'151$this->source); })()), "titrelien", [], "any"falsefalsefalse151), "html"nulltrue);
  518.                         echo "</a>
  519.                                         </div>
  520.                                     ";
  521.                     } elseif ((twig_get_attribute($this->env$this->source,                     // line 153
  522. (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'153$this->source); })()), "typelien", [], "any"falsefalsefalse153) == "3")) {
  523.                         // line 154
  524.                         echo "                                        <div class=\"text-center py-2\">
  525.                                             <a href=\"";
  526.                         // line 155
  527.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'155$this->source); })()), "lienexterne", [], "any"falsefalsefalse155), "html"nulltrue);
  528.                         echo "\" target=\"_blank\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">";
  529.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'155$this->source); })()), "titrelien", [], "any"falsefalsefalse155), "html"nulltrue);
  530.                         echo "</a>
  531.                                         </div>
  532.                                     ";
  533.                     }
  534.                     // line 158
  535.                     echo "                            ";
  536.                 }
  537.                 // line 159
  538.                 echo "
  539.                             ";
  540.                 // line 161
  541.                 echo "                            ";
  542.                 if ((array_key_exists("all_others_posts_associes"$context) &&  !twig_test_empty((isset($context["all_others_posts_associes"]) || array_key_exists("all_others_posts_associes"$context) ? $context["all_others_posts_associes"] : (function () { throw new RuntimeError('Variable "all_others_posts_associes" does not exist.'161$this->source); })())))) {
  543.                     // line 162
  544.                     echo "                                <div class=\"others-posts mt-3\">
  545.                                     ";
  546.                     // line 163
  547.                     $context['_parent'] = $context;
  548.                     $context['_seq'] = twig_ensure_traversable((isset($context["all_others_posts_associes"]) || array_key_exists("all_others_posts_associes"$context) ? $context["all_others_posts_associes"] : (function () { throw new RuntimeError('Variable "all_others_posts_associes" does not exist.'163$this->source); })()));
  549.                     foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  550.                         // line 164
  551.                         echo "                                    <div class=\"other-post\">
  552.                                         <a class=\"article-titre\" href=\"";
  553.                         // line 165
  554.                         (((twig_get_attribute($this->env$this->source$context["item"], "slug", [], "any"falsefalsefalse165) == "home")) ? (print ("/")) : (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "slug", [], "any"falsefalsefalse165), "html"nulltrue))));
  555.                         echo "\" title=\"";
  556.                         echo twig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse165);
  557.                         echo "\">";
  558.                         echo twig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse165);
  559.                         echo "</a> 
  560.                                     </div>
  561.                                     ";
  562.                     }
  563.                     $_parent $context['_parent'];
  564.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  565.                     $context array_intersect_key($context$_parent) + $_parent;
  566.                     // line 168
  567.                     echo "                                </div>    
  568.                             ";
  569.                 }
  570.                 // line 170
  571.                 echo "                            ";
  572.                 // line 171
  573.                 echo "
  574.                             ";
  575.                 // line 172
  576.                 if (((isset($context["docs"]) || array_key_exists("docs"$context) ? $context["docs"] : (function () { throw new RuntimeError('Variable "docs" does not exist.'172$this->source); })()) &&  !twig_test_empty((isset($context["docs"]) || array_key_exists("docs"$context) ? $context["docs"] : (function () { throw new RuntimeError('Variable "docs" does not exist.'172$this->source); })())))) {
  577.                     // line 173
  578.                     echo "                                <div class=\"col-md-12 bloc-docs d-flex justify-content-center\">
  579.                                     ";
  580.                     // line 174
  581.                     $context['_parent'] = $context;
  582.                     $context['_seq'] = twig_ensure_traversable((isset($context["docs"]) || array_key_exists("docs"$context) ? $context["docs"] : (function () { throw new RuntimeError('Variable "docs" does not exist.'174$this->source); })()));
  583.                     foreach ($context['_seq'] as $context["_key"] => $context["doc"]) {
  584.                         // line 175
  585.                         echo "                                        <a class=\"btn-back-pulse m-2\" href=\"";
  586.                         echo twig_escape_filter($this->env, (((twig_get_attribute($this->env$this->source$context["doc"], "location", [], "any"falsefalsefalse175) . twig_get_attribute($this->env$this->source$context["doc"], "path", [], "any"falsefalsefalse175)) . "/") . twig_get_attribute($this->env$this->source$context["doc"], "fileName", [], "any"falsefalsefalse175)), "html"nulltrue);
  587.                         echo "\" title=\"";
  588.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["doc"], "titre", [], "any"falsefalsefalse175), "html"nulltrue);
  589.                         echo "\" target=\"_blank\"><i class=\"fa fa-file-pdf-o mr-2\"></i>";
  590.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["doc"], "titre", [], "any"falsefalsefalse175), "html"nulltrue);
  591.                         echo "</a>   
  592.                                     ";
  593.                     }
  594.                     $_parent $context['_parent'];
  595.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['doc'], $context['_parent'], $context['loop']);
  596.                     $context array_intersect_key($context$_parent) + $_parent;
  597.                     // line 177
  598.                     echo "                                </div>
  599.                             ";
  600.                 }
  601.                 // line 179
  602.                 echo "
  603.                             ";
  604.                 // line 181
  605.                 echo "                                ";
  606.                 if ((array_key_exists("champsPersonnalisesPost"$context) &&  !twig_test_empty((isset($context["champsPersonnalisesPost"]) || array_key_exists("champsPersonnalisesPost"$context) ? $context["champsPersonnalisesPost"] : (function () { throw new RuntimeError('Variable "champsPersonnalisesPost" does not exist.'181$this->source); })())))) {
  607.                     // line 182
  608.                     echo "                                    <div class=\"sx-social-icons mt-3 col-md-12 text-center\">
  609.                                     ";
  610.                     // line 183
  611.                     $context['_parent'] = $context;
  612.                     $context['_seq'] = twig_ensure_traversable((isset($context["champsPersonnalisesPost"]) || array_key_exists("champsPersonnalisesPost"$context) ? $context["champsPersonnalisesPost"] : (function () { throw new RuntimeError('Variable "champsPersonnalisesPost" does not exist.'183$this->source); })()));
  613.                     foreach ($context['_seq'] as $context["_key"] => $context["champ_personnalise_post"]) {
  614.                         // line 184
  615.                         echo "                                        ";
  616.                         if ((twig_get_attribute($this->env$this->source$context["champ_personnalise_post"], "value", [], "any"falsefalsefalse184) != "")) {
  617.                             // line 185
  618.                             echo "                                            ";
  619.                             if ((twig_get_attribute($this->env$this->source$context["champ_personnalise_post"], "type", [], "any"falsefalsefalse185) == "link")) {
  620.                                 // line 186
  621.                                 echo "                                                ";
  622.                                 if ((twig_get_attribute($this->env$this->source$context["champ_personnalise_post"], "alias", [], "any"falsefalsefalse186) == "lien-instagram")) {
  623.                                     // line 187
  624.                                     echo "                                                        <a href=\"";
  625.                                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["champ_personnalise_post"], "value", [], "any"falsefalsefalse187), "html"nulltrue);
  626.                                     echo "\" title=\"champ_personnalise_post.label\" target=\"_blank\"><i class=\"fa fa-instagram\"></i></a>
  627.                                                 ";
  628.                                 }
  629.                                 // line 189
  630.                                 echo "
  631.                                                 ";
  632.                                 // line 190
  633.                                 if ((twig_get_attribute($this->env$this->source$context["champ_personnalise_post"], "alias", [], "any"falsefalsefalse190) == "lien-linkedin")) {
  634.                                     // line 191
  635.                                     echo "                                                        <a href=\"";
  636.                                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["champ_personnalise_post"], "value", [], "any"falsefalsefalse191), "html"nulltrue);
  637.                                     echo "\" title=\"champ_personnalise_post.label\" target=\"_blank\"><i class=\"fa fa-linkedin\"></i></a>
  638.                                                 ";
  639.                                 }
  640.                                 // line 193
  641.                                 echo "                                                
  642.                                                 ";
  643.                                 // line 194
  644.                                 if ((twig_get_attribute($this->env$this->source$context["champ_personnalise_post"], "alias", [], "any"falsefalsefalse194) == "lien-facebook")) {
  645.                                     // line 195
  646.                                     echo "                                                        <a href=\"";
  647.                                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["champ_personnalise_post"], "value", [], "any"falsefalsefalse195), "html"nulltrue);
  648.                                     echo "\" title=\"champ_personnalise_post.label\" target=\"_blank\"><i class=\"fa fa-facebook\"></i></a>
  649.                                                 ";
  650.                                 }
  651.                                 // line 197
  652.                                 echo "                                                
  653.                                                 ";
  654.                                 // line 198
  655.                                 if ((twig_get_attribute($this->env$this->source$context["champ_personnalise_post"], "alias", [], "any"falsefalsefalse198) == "lien-email")) {
  656.                                     // line 199
  657.                                     echo "                                                        <a href=\"mailto:";
  658.                                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["champ_personnalise_post"], "value", [], "any"falsefalsefalse199), "html"nulltrue);
  659.                                     echo "\" title=\"champ_personnalise_post.label\" target=\"_blank\"><i class=\"fa fa-envelope\"></i></a>
  660.                                                 ";
  661.                                 }
  662.                                 // line 201
  663.                                 echo "                                                        
  664.                                             ";
  665.                             }
  666.                             // line 203
  667.                             echo "
  668.                                         ";
  669.                         }
  670.                         // line 205
  671.                         echo "                                        
  672.                                     ";
  673.                     }
  674.                     $_parent $context['_parent'];
  675.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['champ_personnalise_post'], $context['_parent'], $context['loop']);
  676.                     $context array_intersect_key($context$_parent) + $_parent;
  677.                     // line 207
  678.                     echo "                                    </div>
  679.                                 ";
  680.                 }
  681.                 // line 209
  682.                 echo "                            ";
  683.                 // line 210
  684.                 echo "
  685.                         </div>
  686.                     ";
  687.             }
  688.             // line 213
  689.             echo "                </div>
  690.             </div>
  691.             <div class=\"clearfix\"></div>
  692.             ";
  693.             // line 221
  694.             echo "
  695.             ";
  696.             // line 222
  697.             if (((((isset($context["galleries"]) || array_key_exists("galleries"$context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.'222$this->source); })()) &&  !twig_test_empty((isset($context["galleries"]) || array_key_exists("galleries"$context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.'222$this->source); })()))) && array_key_exists("template_model_gallerie"$context)) &&  !twig_test_empty((isset($context["template_model_gallerie"]) || array_key_exists("template_model_gallerie"$context) ? $context["template_model_gallerie"] : (function () { throw new RuntimeError('Variable "template_model_gallerie" does not exist.'222$this->source); })())))) {
  698.                 // line 223
  699.                 echo "                ";
  700.                 echo twig_include($this->env$contexttwig_template_from_string($this->env, (isset($context["template_model_gallerie"]) || array_key_exists("template_model_gallerie"$context) ? $context["template_model_gallerie"] : (function () { throw new RuntimeError('Variable "template_model_gallerie" does not exist.'223$this->source); })())));
  701.                 echo "
  702.             ";
  703.             }
  704.             // line 225
  705.             echo "
  706.             ";
  707.             // line 226
  708.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'226$this->source); })()), "urlvideo", [], "any"falsefalsefalse226))) {
  709.                 // line 227
  710.                 echo "                <div class=\"container-fluid wrapper mt-3\">
  711.                     <div class=\"col-md-12 mt-1\">
  712.                         <div class=\"video\">
  713.                             ";
  714.                 // line 230
  715.                 $context["id_video_externe"] = twig_get_attribute($this->env$this->sourcetwig_split_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'230$this->source); })()), "urlvideo", [], "any"falsefalsefalse230), "?v="), 1, [], "array"falsefalsefalse230);
  716.                 // line 231
  717.                 echo "                            <a class=\"video-thumbnail m-0\" href=\"";
  718.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'231$this->source); })()), "urlvideo", [], "any"falsefalsefalse231), "html"nulltrue);
  719.                 echo "\" data-fancybox=\"video\">
  720.                                 <img src=\"https://img.youtube.com/vi/";
  721.                 // line 232
  722.                 echo twig_escape_filter($this->env, (isset($context["id_video_externe"]) || array_key_exists("id_video_externe"$context) ? $context["id_video_externe"] : (function () { throw new RuntimeError('Variable "id_video_externe" does not exist.'232$this->source); })()), "html"nulltrue);
  723.                 echo "/maxresdefault.jpg\" class=\"img-fluid\" alt=\"\"/>
  724.                             </a>
  725.                         </div>
  726.                     </div>
  727.                 </div>
  728.             ";
  729.             }
  730.             // line 238
  731.             echo "
  732.         </section>
  733.         ";
  734.         }
  735.         // line 242
  736.         echo "
  737.         ";
  738.         // line 244
  739.         echo "        
  740.         ";
  741.         // line 245
  742.         if ((array_key_exists("all_posts_associes"$context) &&  !twig_test_empty((isset($context["all_posts_associes"]) || array_key_exists("all_posts_associes"$context) ? $context["all_posts_associes"] : (function () { throw new RuntimeError('Variable "all_posts_associes" does not exist.'245$this->source); })())))) {
  743.             // line 246
  744.             echo "            <section class=\"\">
  745.                     <div class=\"container-fluid  mt-3\">
  746.                         <div class=\"row gx-5 py-2\">
  747.                        
  748.                             <div class=\"col-sm-12 text-center\">
  749.                                 ";
  750.             // line 251
  751.             if (twig_get_attribute($this->env$this->source, (isset($context["parametre"]) || array_key_exists("parametre"$context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.'251$this->source); })()), "titreArticleAssocier", [], "any"falsefalsefalse251)) {
  752.                 // line 252
  753.                 echo "                                    <h2 class=\"sub-title wow\">";
  754.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["parametre"]) || array_key_exists("parametre"$context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.'252$this->source); })()), "titreArticleAssocier", [], "any"falsefalsefalse252), "html"nulltrue);
  755.                 echo "</h2>
  756.                                 ";
  757.             }
  758.             // line 254
  759.             echo "                            </div>
  760.                             <div class=\"col-sm-12\">
  761.                                 <div class=\"list_blocs pos1\">
  762.                                     <div class=\"blocs\">
  763.                                         <section class=\"results dynam-affichage affichage1 type_affiche3 \">
  764.                                             ";
  765.             // line 259
  766.             $context['_parent'] = $context;
  767.             $context['_seq'] = twig_ensure_traversable((isset($context["all_posts_associes"]) || array_key_exists("all_posts_associes"$context) ? $context["all_posts_associes"] : (function () { throw new RuntimeError('Variable "all_posts_associes" does not exist.'259$this->source); })()));
  768.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  769.                 // line 260
  770.                 echo "                                                ";
  771.                 $context["duree"] = 0.1;
  772.                 // line 261
  773.                 echo "                                                ";
  774.                 $context['_parent'] = $context;
  775.                 $context['_seq'] = twig_ensure_traversable($context["item"]);
  776.                 foreach ($context['_seq'] as $context["_key"] => $context["item_one"]) {
  777.                     // line 262
  778.                     echo "                                                    ";
  779.                     $context["image_item"] = (((twig_get_attribute($this->env$this->source$context["item_one"], "image", [], "any"falsefalsefalse262) != null)) ? ($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env$this->source$context["item_one"], "image", [], "any"falsefalsefalse262))) : (null));
  780.                     // line 263
  781.                     echo "                                                
  782.                                                 ";
  783.                     // line 264
  784.                     $context["image_item"] = ((((isset($context["image_item"]) || array_key_exists("image_item"$context) ? $context["image_item"] : (function () { throw new RuntimeError('Variable "image_item" does not exist.'264$this->source); })()) != null)) ? ((isset($context["image_item"]) || array_key_exists("image_item"$context) ? $context["image_item"] : (function () { throw new RuntimeError('Variable "image_item" does not exist.'264$this->source); })())) : ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/images/" twig_get_attribute($this->env$this->source, (isset($context["parametre"]) || array_key_exists("parametre"$context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.'264$this->source); })()), "imagevide", [], "any"falsefalsefalse264)))));
  785.                     // line 265
  786.                     echo "
  787.                                                 <div class=\"article wow zoomIn animated\" data-wow-delay=\"";
  788.                     // line 266
  789.                     echo twig_escape_filter($this->env, (isset($context["duree"]) || array_key_exists("duree"$context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.'266$this->source); })()), "html"nulltrue);
  790.                     echo "s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
  791.                                                     <span class=\"article-image lazyloaded\"  style=\"background-image: url(";
  792.                     // line 267
  793.                     echo twig_escape_filter($this->env, (isset($context["image_item"]) || array_key_exists("image_item"$context) ? $context["image_item"] : (function () { throw new RuntimeError('Variable "image_item" does not exist.'267$this->source); })()), "html"nulltrue);
  794.                     echo "); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>                 
  795.                                                     <span class=\"article-cnt\">
  796.                                                         ";
  797.                     // line 269
  798.                     if (twig_get_attribute($this->env$this->source$context["item_one"], "title", [], "any"falsefalsefalse269)) {
  799.                         // line 270
  800.                         echo "                                                            <a class=\"article-titre\" href=\"";
  801.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item_one"], "slug", [], "any"falsefalsefalse270), "html"nulltrue);
  802.                         echo "\" title=\"";
  803.                         echo twig_get_attribute($this->env$this->source$context["item_one"], "title", [], "any"falsefalsefalse270);
  804.                         echo "\">";
  805.                         echo twig_get_attribute($this->env$this->source$context["item_one"], "title", [], "any"falsefalsefalse270);
  806.                         echo "</a> 
  807.                                                         ";
  808.                     }
  809.                     // line 271
  810.                     echo 
  811.                                                         ";
  812.                     // line 273
  813.                     if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["item_one"], "summary", [], "any"falsefalsefalse273))) {
  814.                         // line 274
  815.                         echo "                                                            <span class=\"article-txt\">
  816.                                                                 ";
  817.                         // line 275
  818.                         echo twig_get_attribute($this->env$this->source$context["item_one"], "summary", [], "any"falsefalsefalse275);
  819.                         echo "
  820.                                                             </span>
  821.                                                         ";
  822.                     } else {
  823.                         // line 278
  824.                         echo "                                                            <span class=\"article-txt\">
  825.                                                             ";
  826.                         // line 279
  827.                         if ((twig_get_attribute($this->env$this->source$context["item_one"], "content", [], "any"falsefalsefalse279) != "")) {
  828.                             // line 280
  829.                             echo "                                                                ";
  830.                             echo $this->extensions['App\Twig\FunctionExtension']->cutTextFunction(twig_get_attribute($this->env$this->source$context["item_one"], "content", [], "any"falsefalsefalse280));
  831.                             echo "
  832.                                                             ";
  833.                         }
  834.                         // line 282
  835.                         echo "                                                            </span>
  836.                                                         ";
  837.                     }
  838.                     // line 284
  839.                     echo "                                                       
  840.                                                        <span class=\"article-bts\">
  841.                                                                 <button class=\"article-plus btn-fade\" onclick=\"window.open('";
  842.                     // line 286
  843.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item_one"], "slug", [], "any"falsefalsefalse286), "html"nulltrue);
  844.                     echo "', '_self');\" title=\"En savoir plus\">En savoir plus</button>
  845.                                                             </span> 
  846.                                                     </span>
  847.                                                 </div>
  848.                                                 ";
  849.                 }
  850.                 $_parent $context['_parent'];
  851.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item_one'], $context['_parent'], $context['loop']);
  852.                 $context array_intersect_key($context$_parent) + $_parent;
  853.                 // line 291
  854.                 echo "                                                ";
  855.                 $context["duree"] = ((isset($context["duree"]) || array_key_exists("duree"$context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.'291$this->source); })()) + 0.2);
  856.                 // line 292
  857.                 echo "                                            ";
  858.             }
  859.             $_parent $context['_parent'];
  860.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  861.             $context array_intersect_key($context$_parent) + $_parent;
  862.             // line 293
  863.             echo "                                        </section>
  864.                                     </div>
  865.                                 </div>
  866.                             </div>
  867.                         </div>
  868.                     </div>
  869.             </section>
  870.         ";
  871.         }
  872.         // line 302
  873.         echo "        ";
  874.         // line 303
  875.         echo "
  876.         ";
  877.         // line 304
  878.         if (array_key_exists("blocs"$context)) {
  879.             // line 305
  880.             echo "            ";
  881.             $context['_parent'] = $context;
  882.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["blocs"]) || array_key_exists("blocs"$context) ? $context["blocs"] : (function () { throw new RuntimeError('Variable "blocs" does not exist.'305$this->source); })()), "Bloc", [], "any"falsefalsefalse305));
  883.             foreach ($context['_seq'] as $context["_key"] => $context["bloc"]) {
  884.                 // line 306
  885.                 echo "                ";
  886.                 if (($this->extensions['MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile() && (twig_get_attribute($this->env$this->source$context["bloc"], "mobile", [], "any"falsefalsefalse306) == true))) {
  887.                     // line 307
  888.                     echo "                    ";
  889.                     echo twig_include($this->env$context, (("front/" 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.'307$this->source); })()), "request", [], "any"falsefalsefalse307), "server", [], "any"falsefalsefalse307), "get", [=> "APP_THEME"], "method"falsefalsefalse307)) . "/bloc/bloc.html.twig"), ["bloc" =>                     // line 308
  890. $context["bloc"], "product_interesse" =>                     // line 309
  891. (isset($context["product_interesse"]) || array_key_exists("product_interesse"$context) ? $context["product_interesse"] : (function () { throw new RuntimeError('Variable "product_interesse" does not exist.'309$this->source); })()), "annonce_interesse" =>                     // line 310
  892. (isset($context["annonce_interesse"]) || array_key_exists("annonce_interesse"$context) ? $context["annonce_interesse"] : (function () { throw new RuntimeError('Variable "annonce_interesse" does not exist.'310$this->source); })())], false);
  893.                     // line 311
  894.                     echo "
  895.                 ";
  896.                 }
  897.                 // line 313
  898.                 echo "                
  899.                 ";
  900.                 // line 314
  901.                 if ((($this->extensions['MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isFullView() && ($this->extensions['MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile() == false)) && (twig_get_attribute($this->env$this->source$context["bloc"], "desktop", [], "any"falsefalsefalse314) == true))) {
  902.                     // line 315
  903.                     echo "                    ";
  904.                     echo twig_include($this->env$context, (("front/" 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.'315$this->source); })()), "request", [], "any"falsefalsefalse315), "server", [], "any"falsefalsefalse315), "get", [=> "APP_THEME"], "method"falsefalsefalse315)) . "/bloc/bloc.html.twig"), ["bloc" =>                     // line 316
  905. $context["bloc"], "product_interesse" =>                     // line 317
  906. (isset($context["product_interesse"]) || array_key_exists("product_interesse"$context) ? $context["product_interesse"] : (function () { throw new RuntimeError('Variable "product_interesse" does not exist.'317$this->source); })()), "annonce_interesse" =>                     // line 318
  907. (isset($context["annonce_interesse"]) || array_key_exists("annonce_interesse"$context) ? $context["annonce_interesse"] : (function () { throw new RuntimeError('Variable "annonce_interesse" does not exist.'318$this->source); })())], false);
  908.                     // line 319
  909.                     echo "
  910.                 ";
  911.                 }
  912.                 // line 321
  913.                 echo "            ";
  914.             }
  915.             $_parent $context['_parent'];
  916.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bloc'], $context['_parent'], $context['loop']);
  917.             $context array_intersect_key($context$_parent) + $_parent;
  918.             // line 322
  919.             echo "        ";
  920.         }
  921.         echo 
  922.         ";
  923.         // line 324
  924.         if ((array_key_exists("ref_pages_principal"$context) &&  !twig_test_empty((isset($context["ref_pages_principal"]) || array_key_exists("ref_pages_principal"$context) ? $context["ref_pages_principal"] : (function () { throw new RuntimeError('Variable "ref_pages_principal" does not exist.'324$this->source); })())))) {
  925.             // line 325
  926.             echo "            <section class=\"bg-section-ref\">
  927.                 <div class=\"container-fluid  mt-3\">
  928.                     <div class=\"row gx-5 py-2\">
  929.                         <div class=\"col-sm-12 text-center\">
  930.                             <h2 class=\"sub-title wow\">";
  931.             // line 329
  932.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["parametreRef"] ?? null), "titreblocactivitearticle", [], "any"truetruefalse329)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["parametreRef"] ?? null), "titreblocactivitearticle", [], "any"falsefalsefalse329), "")) : ("")), "html"nulltrue);
  933.             echo " </h2>
  934.                         </div>
  935.                         <div class=\"col-sm-12\">
  936.                             <div class=\"list_blocs pos1\">
  937.                                 <div class=\"blocs\">
  938.                                     <section class=\"results dynam-affichage affichage1 type_affiche3\">
  939.                                         ";
  940.             // line 335
  941.             $context['_parent'] = $context;
  942.             $context['_seq'] = twig_ensure_traversable((isset($context["ref_pages_principal"]) || array_key_exists("ref_pages_principal"$context) ? $context["ref_pages_principal"] : (function () { throw new RuntimeError('Variable "ref_pages_principal" does not exist.'335$this->source); })()));
  943.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  944.                 // line 336
  945.                 echo "                                            ";
  946.                 $context["duree"] = 0.1;
  947.                 // line 337
  948.                 echo "                                            ";
  949.                 $context["image_item"] = (((twig_get_attribute($this->env$this->source$context["item"], "image", [], "any"falsefalsefalse337) != null)) ? ($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env$this->source$context["item"], "image", [], "any"falsefalsefalse337))) : (("uploads/images/" twig_get_attribute($this->env$this->source, (isset($context["parametre"]) || array_key_exists("parametre"$context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.'337$this->source); })()), "imagevide", [], "any"falsefalsefalse337))));
  950.                 // line 338
  951.                 echo "                                            <div class=\"article wow zoomIn animated\" data-wow-delay=\"";
  952.                 echo twig_escape_filter($this->env, (isset($context["duree"]) || array_key_exists("duree"$context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.'338$this->source); })()), "html"nulltrue);
  953.                 echo "s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
  954.                                                 <span class=\"article-image lazyloaded\"  style=\"background-image: url(";
  955.                 // line 339
  956.                 echo twig_escape_filter($this->env, (isset($context["image_item"]) || array_key_exists("image_item"$context) ? $context["image_item"] : (function () { throw new RuntimeError('Variable "image_item" does not exist.'339$this->source); })()), "html"nulltrue);
  957.                 echo "); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>                 
  958.                                                 <span class=\"article-cnt\">
  959.                                                     <a class=\"article-titre\" href=\"";
  960.                 // line 341
  961.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env$this->source$context["item"], "slug", [], "any"falsefalsefalse341)]), "html"nulltrue);
  962.                 echo "\" title=\"\" >";
  963.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse341), "html"nulltrue);
  964.                 echo "</a>
  965.                                                     <span class=\"article-txt\">
  966.                                                         ";
  967.                 // line 343
  968.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["item"], "summary", [], "any"falsefalsefalse343))) {
  969.                     // line 344
  970.                     echo "                                                            ";
  971.                     echo twig_get_attribute($this->env$this->source$context["item"], "summary", [], "any"falsefalsefalse344);
  972.                     echo "
  973.                                                         ";
  974.                 } else {
  975.                     // line 346
  976.                     echo "                                                            ";
  977.                     echo $this->extensions['App\Twig\FunctionExtension']->cutTextFunction(twig_get_attribute($this->env$this->source$context["item"], "content", [], "any"falsefalsefalse346));
  978.                     echo "
  979.                                                         ";
  980.                 }
  981.                 // line 348
  982.                 echo "                                                    </span>
  983.                                                     <span class=\"article-bts\">
  984.                                                         <button class=\"article-plus btn-fade\" onclick=\"window.open('";
  985.                 // line 350
  986.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env$this->source$context["item"], "slug", [], "any"falsefalsefalse350)]), "html"nulltrue);
  987.                 echo "', '_self');\" title=\"En savoir plus\">En savoir plus</button>
  988.                                                     </span>
  989.                                                 </span>
  990.                                             </div>
  991.                                             ";
  992.                 // line 354
  993.                 $context["duree"] = ((isset($context["duree"]) || array_key_exists("duree"$context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.'354$this->source); })()) + 0.2);
  994.                 // line 355
  995.                 echo "                                        ";
  996.             }
  997.             $_parent $context['_parent'];
  998.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  999.             $context array_intersect_key($context$_parent) + $_parent;
  1000.             // line 356
  1001.             echo "                                    </section>
  1002.                                 </div>
  1003.                             </div>
  1004.                         </div>
  1005.                     </div>
  1006.                 </div>
  1007.             </section>
  1008.         ";
  1009.         }
  1010.         // line 365
  1011.         echo "
  1012.         ";
  1013.         // line 366
  1014.         if ((array_key_exists("ref_pages_secondaire"$context) &&  !twig_test_empty((isset($context["ref_pages_secondaire"]) || array_key_exists("ref_pages_secondaire"$context) ? $context["ref_pages_secondaire"] : (function () { throw new RuntimeError('Variable "ref_pages_secondaire" does not exist.'366$this->source); })())))) {
  1015.             // line 367
  1016.             echo "            <section class=\"";
  1017.             echo (((array_key_exists("ref_pages_principal"$context) && twig_test_empty((isset($context["ref_pages_principal"]) || array_key_exists("ref_pages_principal"$context) ? $context["ref_pages_principal"] : (function () { throw new RuntimeError('Variable "ref_pages_principal" does not exist.'367$this->source); })())))) ? ("bg-section-ref") : (""));
  1018.             echo "\">
  1019.                 <div class=\"container-fluid mt-3\">
  1020.                     <div class=\"row gx-5 py-2\">
  1021.                         <div class=\"col-sm-12 text-center\">
  1022.                             <h2 class=\"sub-title wow\">";
  1023.             // line 371
  1024.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["parametreRef"] ?? null), "titreblocsousactivitearticle", [], "any"truetruefalse371)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["parametreRef"] ?? null), "titreblocsousactivitearticle", [], "any"falsefalsefalse371), "")) : ("")), "html"nulltrue);
  1025.             echo "</h2>
  1026.                         </div>
  1027.                         <div class=\"col-sm-12\">
  1028.                             <div class=\"list_blocs pos1\">
  1029.                                 <div class=\"blocs\">
  1030.                                     <section class=\"results dynam-affichage affichage1 type_affiche3\">
  1031.                                         ";
  1032.             // line 377
  1033.             $context['_parent'] = $context;
  1034.             $context['_seq'] = twig_ensure_traversable((isset($context["ref_pages_secondaire"]) || array_key_exists("ref_pages_secondaire"$context) ? $context["ref_pages_secondaire"] : (function () { throw new RuntimeError('Variable "ref_pages_secondaire" does not exist.'377$this->source); })()));
  1035.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  1036.                 // line 378
  1037.                 echo "                                            ";
  1038.                 $context["duree"] = 0.1;
  1039.                 // line 379
  1040.                 echo "                                            ";
  1041.                 $context["image_item"] = (((twig_get_attribute($this->env$this->source$context["item"], "image", [], "any"falsefalsefalse379) != null)) ? ($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env$this->source$context["item"], "image", [], "any"falsefalsefalse379))) : (("uploads/images/" twig_get_attribute($this->env$this->source, (isset($context["parametre"]) || array_key_exists("parametre"$context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.'379$this->source); })()), "imagevide", [], "any"falsefalsefalse379))));
  1042.                 // line 380
  1043.                 echo "                                            <div class=\"article wow zoomIn animated\" data-wow-delay=\"";
  1044.                 echo twig_escape_filter($this->env, (isset($context["duree"]) || array_key_exists("duree"$context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.'380$this->source); })()), "html"nulltrue);
  1045.                 echo "s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
  1046.                                                 <span class=\"article-image lazyloaded\"  style=\"background-image: url(";
  1047.                 // line 381
  1048.                 echo twig_escape_filter($this->env, (isset($context["image_item"]) || array_key_exists("image_item"$context) ? $context["image_item"] : (function () { throw new RuntimeError('Variable "image_item" does not exist.'381$this->source); })()), "html"nulltrue);
  1049.                 echo "); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>                 
  1050.                                                 <span class=\"article-cnt\">
  1051.                                                     <a class=\"article-titre\" href=\"";
  1052.                 // line 383
  1053.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env$this->source$context["item"], "slug", [], "any"falsefalsefalse383)]), "html"nulltrue);
  1054.                 echo "\" title=\"\" >";
  1055.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse383), "html"nulltrue);
  1056.                 echo "</a>
  1057.                                                     <span class=\"article-txt\">
  1058.                                                         ";
  1059.                 // line 385
  1060.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["item"], "summary", [], "any"falsefalsefalse385))) {
  1061.                     // line 386
  1062.                     echo "                                                            ";
  1063.                     echo twig_get_attribute($this->env$this->source$context["item"], "summary", [], "any"falsefalsefalse386);
  1064.                     echo "
  1065.                                                         ";
  1066.                 } else {
  1067.                     // line 388
  1068.                     echo "                                                            ";
  1069.                     echo $this->extensions['App\Twig\FunctionExtension']->cutTextFunction(twig_get_attribute($this->env$this->source$context["item"], "content", [], "any"falsefalsefalse388));
  1070.                     echo "
  1071.                                                         ";
  1072.                 }
  1073.                 // line 390
  1074.                 echo "                                                    </span>
  1075.                                                     <span class=\"article-bts\">
  1076.                                                         <button class=\"article-plus btn-fade\" onclick=\"window.open('";
  1077.                 // line 392
  1078.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env$this->source$context["item"], "slug", [], "any"falsefalsefalse392)]), "html"nulltrue);
  1079.                 echo "', '_self');\" title=\"En savoir plus\">En savoir plus</button>
  1080.                                                     </span>
  1081.                                                 </span>
  1082.                                             </div>
  1083.                                             ";
  1084.                 // line 396
  1085.                 $context["duree"] = ((isset($context["duree"]) || array_key_exists("duree"$context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.'396$this->source); })()) + 0.2);
  1086.                 // line 397
  1087.                 echo "                                        ";
  1088.             }
  1089.             $_parent $context['_parent'];
  1090.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  1091.             $context array_intersect_key($context$_parent) + $_parent;
  1092.             // line 398
  1093.             echo "                                    </section>
  1094.                                 </div>
  1095.                             </div>
  1096.                         </div>
  1097.                     </div>
  1098.                 </div>
  1099.             </section>
  1100.         ";
  1101.         }
  1102.         // line 407
  1103.         echo "
  1104.         ";
  1105.         // line 408
  1106.         if (((array_key_exists("next_article"$context) &&  !twig_test_empty((isset($context["next_article"]) || array_key_exists("next_article"$context) ? $context["next_article"] : (function () { throw new RuntimeError('Variable "next_article" does not exist.'408$this->source); })()))) || (array_key_exists("prev_article"$context) &&  !twig_test_empty((isset($context["prev_article"]) || array_key_exists("prev_article"$context) ? $context["prev_article"] : (function () { throw new RuntimeError('Variable "prev_article" does not exist.'408$this->source); })()))))) {
  1107.             // line 409
  1108.             echo "        <div class=\"container-fluid wrapper mt-3\">
  1109.             <div class=\"row gx-5 py-4\">
  1110.                 <div class=\"col-lg-12 d-flex justify-content-between\">
  1111.                     <div class=\"\">
  1112.                         ";
  1113.             // line 413
  1114.             if ((array_key_exists("prev_article"$context) &&  !twig_test_empty((isset($context["prev_article"]) || array_key_exists("prev_article"$context) ? $context["prev_article"] : (function () { throw new RuntimeError('Variable "prev_article" does not exist.'413$this->source); })())))) {
  1115.                 // line 414
  1116.                 echo "                            <a href=\"";
  1117.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env$this->source, (isset($context["prev_article"]) || array_key_exists("prev_article"$context) ? $context["prev_article"] : (function () { throw new RuntimeError('Variable "prev_article" does not exist.'414$this->source); })()), "slug", [], "any"falsefalsefalse414)]), "html"nulltrue);
  1118.                 echo "\" title=\"";
  1119.                 echo twig_escape_filter($this->envtwig_replace_filter(twig_get_attribute($this->env$this->source, (isset($context["prev_article"]) || array_key_exists("prev_article"$context) ? $context["prev_article"] : (function () { throw new RuntimeError('Variable "prev_article" does not exist.'414$this->source); })()), "title", [], "any"falsefalsefalse414), ["<span>" => " ""</span>" => " "]), "html"nulltrue);
  1120.                 echo "\"><span class=\"signe1\"><i class=\"fa fa-arrow-left\"></i></span> ";
  1121.                 echo twig_get_attribute($this->env$this->source, (isset($context["prev_article"]) || array_key_exists("prev_article"$context) ? $context["prev_article"] : (function () { throw new RuntimeError('Variable "prev_article" does not exist.'414$this->source); })()), "title", [], "any"falsefalsefalse414);
  1122.                 echo "</a>
  1123.                         ";
  1124.             }
  1125.             // line 416
  1126.             echo "                    </div>
  1127.                     <div class=\"\">
  1128.                         ";
  1129.             // line 418
  1130.             if ((array_key_exists("next_article"$context) &&  !twig_test_empty((isset($context["next_article"]) || array_key_exists("next_article"$context) ? $context["next_article"] : (function () { throw new RuntimeError('Variable "next_article" does not exist.'418$this->source); })())))) {
  1131.                 // line 419
  1132.                 echo "                            <a href=\"";
  1133.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env$this->source, (isset($context["next_article"]) || array_key_exists("next_article"$context) ? $context["next_article"] : (function () { throw new RuntimeError('Variable "next_article" does not exist.'419$this->source); })()), "slug", [], "any"falsefalsefalse419)]), "html"nulltrue);
  1134.                 echo "\"  title=\"";
  1135.                 echo twig_escape_filter($this->envtwig_replace_filter(twig_get_attribute($this->env$this->source, (isset($context["next_article"]) || array_key_exists("next_article"$context) ? $context["next_article"] : (function () { throw new RuntimeError('Variable "next_article" does not exist.'419$this->source); })()), "title", [], "any"falsefalsefalse419), ["<span>" => " ""</span>" => " "]), "html"nulltrue);
  1136.                 echo "\">";
  1137.                 echo twig_get_attribute($this->env$this->source, (isset($context["next_article"]) || array_key_exists("next_article"$context) ? $context["next_article"] : (function () { throw new RuntimeError('Variable "next_article" does not exist.'419$this->source); })()), "title", [], "any"falsefalsefalse419);
  1138.                 echo "  <span class=\"signe1\"><i class=\"fa fa-arrow-right\"></i></span></a>
  1139.                         ";
  1140.             }
  1141.             // line 421
  1142.             echo "                    </div>
  1143.                 </div>
  1144.             </div>
  1145.         </div>
  1146.         ";
  1147.         }
  1148.         // line 426
  1149.         echo "    </div> 
  1150. ";
  1151.         
  1152.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1153.         
  1154.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1155.     }
  1156.     // line 430
  1157.     public function block_javascripts($context, array $blocks = [])
  1158.     {
  1159.         $macros $this->macros;
  1160.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1161.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  1162.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1163.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  1164.         // line 431
  1165.         echo "    ";
  1166.         $this->displayParentBlock("javascripts"$context$blocks);
  1167.         echo "
  1168.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js\"></script>
  1169.     ";
  1170.         // line 436
  1171.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["modele_galerie"]) || array_key_exists("modele_galerie"$context) ? $context["modele_galerie"] : (function () { throw new RuntimeError('Variable "modele_galerie" does not exist.'436$this->source); })()), 0, [], "array"falsefalsefalse436), "type", [], "any"falsefalsefalse436) == 4)) {
  1172.             // line 437
  1173.             echo "        ";
  1174.             $this->displayParentBlock("javascripts"$context$blocks);
  1175.             echo "
  1176.         <script src=\"";
  1177.             // line 438
  1178.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("templates/front/theme1/assets/plugins/flexslider/jquery.flexslider.js"), "html"nulltrue);
  1179.             echo "\" ></script>
  1180.         <script>    
  1181.             /*-------------------------------------------------*/
  1182.             /* =  Sx flexslider 
  1183.             /*-------------------------------------------------*/
  1184.             if (\$(\".sx_flexslider\").length) {
  1185.             \$('.flex-carousel').flexslider({
  1186.             animation: \"slide\",
  1187.             controlNav: false,
  1188.             animationLoop: true,
  1189.             slideshow: false,
  1190.             itemWidth: 150,
  1191.             asNavFor: '.flex-slider'
  1192.             });
  1193.             \$('.flex-slider').flexslider({
  1194.             animation: \"slide\",
  1195.             controlNav: false,
  1196.             animationLoop: true,
  1197.             slideshow: false,
  1198.             sync: \".flex-carousel\"
  1199.             });
  1200.             }
  1201.         </script>
  1202.     ";
  1203.         }
  1204.         // line 462
  1205.         echo "    
  1206. ";
  1207.         
  1208.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1209.         
  1210.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1211.     }
  1212.     public function getTemplateName()
  1213.     {
  1214.         return "front/theme1/page_cms.html.twig";
  1215.     }
  1216.     public function isTraitable()
  1217.     {
  1218.         return false;
  1219.     }
  1220.     public function getDebugInfo()
  1221.     {
  1222.         return array (  1250 => 462,  1223 => 438,  1218 => 437,  1216 => 436,  1207 => 431,  1197 => 430,  1185 => 426,  1178 => 421,  1168 => 419,  1166 => 418,  1162 => 416,  1152 => 414,  1150 => 413,  1144 => 409,  1142 => 408,  1139 => 407,  1128 => 398,  1122 => 397,  1120 => 396,  1113 => 392,  1109 => 390,  1103 => 388,  1097 => 386,  1095 => 385,  1088 => 383,  1083 => 381,  1078 => 380,  1075 => 379,  1072 => 378,  1068 => 377,  1059 => 371,  1051 => 367,  1049 => 366,  1046 => 365,  1035 => 356,  1029 => 355,  1027 => 354,  1020 => 350,  1016 => 348,  1010 => 346,  1004 => 344,  1002 => 343,  995 => 341,  990 => 339,  985 => 338,  982 => 337,  979 => 336,  975 => 335,  966 => 329,  960 => 325,  958 => 324,  952 => 322,  946 => 321,  942 => 319,  940 => 318,  939 => 317,  938 => 316,  936 => 315,  934 => 314,  931 => 313,  927 => 311,  925 => 310,  924 => 309,  923 => 308,  921 => 307,  918 => 306,  913 => 305,  911 => 304,  908 => 303,  906 => 302,  895 => 293,  889 => 292,  886 => 291,  875 => 286,  871 => 284,  867 => 282,  861 => 280,  859 => 279,  856 => 278,  850 => 275,  847 => 274,  845 => 273,  841 => 271,  831 => 270,  829 => 269,  824 => 267,  820 => 266,  817 => 265,  815 => 264,  812 => 263,  809 => 262,  804 => 261,  801 => 260,  797 => 259,  790 => 254,  784 => 252,  782 => 251,  775 => 246,  773 => 245,  770 => 244,  767 => 242,  761 => 238,  752 => 232,  747 => 231,  745 => 230,  740 => 227,  738 => 226,  735 => 225,  729 => 223,  727 => 222,  724 => 221,  717 => 213,  712 => 210,  710 => 209,  706 => 207,  699 => 205,  695 => 203,  691 => 201,  685 => 199,  683 => 198,  680 => 197,  674 => 195,  672 => 194,  669 => 193,  663 => 191,  661 => 190,  658 => 189,  652 => 187,  649 => 186,  646 => 185,  643 => 184,  639 => 183,  636 => 182,  633 => 181,  630 => 179,  626 => 177,  613 => 175,  609 => 174,  606 => 173,  604 => 172,  601 => 171,  599 => 170,  595 => 168,  582 => 165,  579 => 164,  575 => 163,  572 => 162,  569 => 161,  566 => 159,  563 => 158,  555 => 155,  552 => 154,  550 => 153,  543 => 151,  540 => 150,  538 => 149,  531 => 147,  528 => 146,  525 => 145,  522 => 144,  514 => 141,  511 => 140,  508 => 139,  506 => 138,  501 => 136,  498 => 135,  496 => 134,  493 => 133,  487 => 130,  484 => 129,  482 => 128,  479 => 127,  477 => 126,  474 => 125,  466 => 122,  461 => 121,  459 => 120,  455 => 118,  452 => 117,  449 => 116,  446 => 115,  443 => 114,  440 => 113,  437 => 112,  435 => 111,  432 => 110,  426 => 107,  423 => 106,  421 => 105,  416 => 103,  412 => 101,  410 => 100,  407 => 99,  397 => 92,  384 => 89,  381 => 88,  375 => 87,  372 => 86,  366 => 85,  364 => 84,  355 => 83,  350 => 82,  347 => 81,  345 => 80,  336 => 79,  331 => 78,  328 => 77,  326 => 76,  320 => 75,  312 => 69,  310 => 68,  301 => 67,  298 => 66,  290 => 61,  278 => 59,  275 => 58,  269 => 57,  266 => 56,  260 => 55,  258 => 54,  249 => 53,  244 => 52,  241 => 51,  239 => 50,  230 => 49,  225 => 48,  222 => 47,  220 => 46,  214 => 45,  201 => 41,  198 => 40,  196 => 39,  193 => 38,  190 => 37,  187 => 36,  184 => 35,  181 => 34,  178 => 33,  175 => 32,  173 => 31,  170 => 30,  168 => 29,  165 => 28,  155 => 27,  141 => 23,  139 => 22,  134 => 21,  124 => 20,  113 => 17,  110 => 16,  104 => 15,  98 => 13,  95 => 12,  90 => 11,  88 => 10,  85 => 9,  82 => 8,  76 => 6,  73 => 5,  70 => 4,  60 => 3,  38 => 1,);
  1223.     }
  1224.     public function getSourceContext()
  1225.     {
  1226.         return new Source("{% extends \"front/\"~ app.request.server.get('APP_THEME') ~\"/base.html.twig\" %}
  1227. {% block preload %}
  1228.     {% if post.image is defined  and post.image is not empty %}
  1229.         {% if post.image %}
  1230.             <link rel=\"preload\" as=\"image\" href=\"{{asset_image(post.image)}}\" />
  1231.         {% endif %}
  1232.     {% endif %}
  1233.      {% if galleries is defined and galleries is not empty %}
  1234.            {% for item in galleries %}
  1235.                 {% if item.path is defined %}
  1236.                     <link rel=\"preload\" as=\"image\" href=\"{{asset_image_gallery(item.path)}}\" />
  1237.                 {% endif %}
  1238.            {% endfor %}
  1239.     {% endif %}
  1240. {% endblock %}
  1241. {% block stylesheets %}
  1242.     {{parent()}}
  1243.     {% if modele_galerie[0].type == 4 %}
  1244.         <link rel=\"stylesheet\" type=\"text/css\" href=\"{{asset('templates/front/theme1/assets/plugins/flexslider/flexslider.css')}}\" media=\"screen\" >
  1245.     {% endif %}
  1246. {% endblock %}
  1247. {% block body %}
  1248.     {% set titre_page = post.title %}
  1249.     {% if post.imageBandeau %}
  1250.         {% set imagebandeau = post.imageBandeau %}
  1251.     {% elseif parametre.imageBandeau %}
  1252.         {% set imagebandeau = 'uploads/images/' ~ parametre.imageBandeau %}
  1253.     {% else %}
  1254.         {% set imagebandeau = '' %}
  1255.     {% endif %}
  1256.     
  1257.     {% if imagebandeau != '' %}
  1258.         <section class=\"image-bandeau text-center\">
  1259.             <img class=\"lazyload\" alt=\"{{post.title}}\" title=\"{{post.title}}\" data-srcset=\"{{imagebandeau}}\" src=\"{{asset(imagebandeau)}}\" />
  1260.             <div class=\"cnt-bandeau text-center\">
  1261. \t\t\t\t<div class=\"container-fluid wrapper\">
  1262.                     <ol class=\"breadcrumb d-flex justify-content-center\" itemscope itemtype=\"http://schema.org/BreadcrumbList\">
  1263.                         <li class=\"breadcrumb-item\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"{{path('index_page_home')}}\" itemprop=\"item\"><span itemprop=\"name\">{{title_home_ariane|raw}}</span></a><meta itemprop=\"position\" content=\"1\" /></li>
  1264.                         {% set niveau = 2 %}
  1265.                         {% if categorieTree %}
  1266.                                 {% for item in categorieTree %}
  1267.                                     <li class=\"breadcrumb-item\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"{{path('page',{slug:item.slug})}}\" title=\"{{item.titre|replace({'<span>':' ','</span>':' '})}}\" itemprop=\"item\"><span itemprop=\"name\">{{item.titre|raw}}</span></a><meta itemprop=\"position\" content=\"2\" /></li> 
  1268.                                     {% set niveau = 3 %}
  1269.                                     {% if item.child is defined %}
  1270.                                         {% for item in item.child %}
  1271.                                             <li class=\"breadcrumb-item\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"{{path('page',{slug:item.slug})}}\" title=\"{{item.titre|replace({'<span>':' ','</span>':' '})}}\" itemprop=\"item\"><span itemprop=\"name\">{{item.titre|raw}}</span></a><meta itemprop=\"position\" content=\"3\" /></li> 
  1272.                                             {% set niveau = 4 %}
  1273.                                         {% endfor %}
  1274.                                     {% endif %}
  1275.                                 {% endfor %}
  1276.                         {% endif %}
  1277.                         <li class=\"breadcrumb-item active\" aria-current=\"page\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><span itemprop=\"name\">{% if post.breadcrumb is not empty %}{{post.breadcrumb}}{% else %}{{post.title|raw}}{% endif %}</span><meta itemprop=\"position\" content=\"{{niveau}}\" /></li>
  1278.                     </ol>
  1279.                     <h1 class=\"page-title\">{{post.title|raw}}</h1>
  1280.                 </div>
  1281.             </div>
  1282.         </section>
  1283.     {% endif %}
  1284.     {% set bgimage = post.imageCouverture ? post.imageCouverture : \"\" %}
  1285.     <div class=\"page_cms pt-5\" {% if bgimage %}style=\"background-image:url('{{bgimage}}');background-repeat: no-repeat;background-size:cover;\"{% endif %} >
  1286.         {% if imagebandeau == '' %}
  1287.         <div class=\"breadcrumb-style-default\">
  1288.             <div class=\"container-fluid wrapper\">
  1289.                 <div class=\"row\">
  1290.                     <div class=\"col-lg-12\">
  1291.                         <div class=\"inner text-center\">
  1292.                             <ol class=\"breadcrumb d-flex justify-content-center\" itemscope itemtype=\"http://schema.org/BreadcrumbList\">
  1293.                                 <li class=\"breadcrumb-item\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"{{path('index_page_home')}}\" itemprop=\"item\"><span itemprop=\"name\">{{title_home_ariane|raw}}</span></a><meta itemprop=\"position\" content=\"1\" /></li>
  1294.                                 {% set niveau = 2 %}
  1295.                                 {% if categorieTree %}
  1296.                                         {% for item in categorieTree %}
  1297.                                             <li class=\"breadcrumb-item\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"{{path('page',{slug:item.slug})}}\" title=\"{{item.titre|replace({'<span>':' ','</span>':' '})}}\" itemprop=\"item\"><span itemprop=\"name\">{{item.titre|raw}}</span></a><meta itemprop=\"position\" content=\"2\" /></li> 
  1298.                                             {% set niveau = 3 %}
  1299.                                             {% if item.child is defined %}
  1300.                                                 {% for item in item.child %}
  1301.                                                     <li class=\"breadcrumb-item\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"{{path('page',{slug:item.slug})}}\" title=\"{{item.titre|replace({'<span>':' ','</span>':' '})}}\" itemprop=\"item\"><span itemprop=\"name\">{{item.titre|raw}}</span></a><meta itemprop=\"position\" content=\"3\" /></li> 
  1302.                                                     {% set niveau = 4 %}
  1303.                                                 {% endfor %}
  1304.                                             {% endif %}
  1305.                                         {% endfor %}
  1306.                                 {% endif %}
  1307.                                 <li class=\"breadcrumb-item active\" aria-current=\"page\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><span itemprop=\"name\">{% if post.breadcrumb is not empty %}{{post.breadcrumb}}{% else %}{{post.title|raw}}{% endif %}</span><meta itemprop=\"position\" content=\"{{niveau}}\" /></li>
  1308.                             </ol>
  1309.                             <h1 class=\"page-title\">{{post.title|raw}}</h1>
  1310.                         </div>
  1311.                     </div>
  1312.                 </div>
  1313.             </div>
  1314.         </div>
  1315.         {% endif %}
  1316.         {% if post.summary != \"\" or post.image is not empty or post.content != \"\" or galleries is not empty or post.urlvideo is not empty %}
  1317.         <section class=\"content-page\">
  1318.             <div class=\"container-fluid wrapper mt-3\">
  1319.                 <div id=\"post-{{post.id}}\" class=\"bloc-texte-principal gx-5 py-2\">
  1320.                     {% if post.summary is not empty and post.summary != \"\" and (post.positionimage != 2 and post.positionimage != 3) %}
  1321.                         <div class=\"col-sm-12 text-center\">
  1322.                             <h2 class=\"sub-title wow\">{{post.summary|raw}}</h2>
  1323.                         </div>
  1324.                     {% endif %}
  1325.                     {% set position_image = post.positionimage %}
  1326.                     {% set class_position = \"\" %}
  1327.                     {% if post.positionimage == 2 %}
  1328.                         {% set class_position = \"float-md-left mb-2 mr-md-3\"  %}
  1329.                     {% elseif post.positionimage == 3 %}
  1330.                         {% set class_position = \"float-md-right mb-2 ml-md-3\" %}
  1331.                     {% endif %}
  1332.                     
  1333.                     {% if post.image and post.image is not empty %}
  1334.                         <div class=\"col-image-post text-center my-4 {{class_position}}\">
  1335.                             <img class=\"lazyload img-fluid principal-img\" src=\"{{asset_image(post.image)}}\" alt=\"{{post.title|raw}}\" />
  1336.                         </div>
  1337.                     {% endif %}
  1338.                     {% if post.content is not empty and post.content != \"\" %}
  1339.                         <div class=\"content_post\">
  1340.                             {% if post.summary is not empty and post.summary != \"\" and (post.positionimage == 2 or post.positionimage == 3) %}
  1341.                                 <div class=\"col-sm-12\">
  1342.                                     <h2 class=\"sub-title wow\">{{post.summary|raw}}</h2>
  1343.                                 </div>
  1344.                             {% endif %}
  1345.                             {% set lien_site = \"<a href=\"~url_site()~\" title=\"~parametre.titre~\">\"~url_site()~\"</a>\" %}
  1346.                             <div class=\"texte-content\">{{post.content|replace({'[NDD]':lien_site})|raw}}</div>
  1347.                             {% if post.typelien == null %}
  1348.                                 {% if categorieTree is defined and categorieTree[0] is defined  %}
  1349.                                     <div class=\"text-center py-2\">
  1350.                                         <a href=\"{{path('page',{slug:categorieTree[0].slug})}}\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">Retour Ã  la liste {{categorieTree[0].titre}}</a>
  1351.                                     </div>
  1352.                                 {% endif %}
  1353.                             {% elseif post.typelien != 1 %}
  1354.                                     {% if post.typelien == '4' %}
  1355.                                         <div class=\"text-center py-2\">
  1356.                                             <a href=\"tel:{{post.telephone}}\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">{{post.titrelien}}</a>
  1357.                                         </div>
  1358.                                     {% elseif post.typelien == '2' %}
  1359.                                         <div class=\"text-center py-2\">
  1360.                                             <a href=\"{{slug_link_interne(post.lieninterne)}}\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">{{post.titrelien}}</a>
  1361.                                         </div>
  1362.                                     {% elseif post.typelien == '3' %}
  1363.                                         <div class=\"text-center py-2\">
  1364.                                             <a href=\"{{post.lienexterne}}\" target=\"_blank\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">{{post.titrelien}}</a>
  1365.                                         </div>
  1366.                                     {% endif %}
  1367.                             {% endif %}
  1368.                             {# autres articles associés #}
  1369.                             {% if all_others_posts_associes is defined and all_others_posts_associes is not empty %}
  1370.                                 <div class=\"others-posts mt-3\">
  1371.                                     {% for item in all_others_posts_associes %}
  1372.                                     <div class=\"other-post\">
  1373.                                         <a class=\"article-titre\" href=\"{{item.slug == \"home\" ? \"/\" : item.slug}}\" title=\"{{item.title|raw}}\">{{item.title|raw}}</a> 
  1374.                                     </div>
  1375.                                     {% endfor %}
  1376.                                 </div>    
  1377.                             {% endif %}
  1378.                             {# fin autres articles associés #}
  1379.                             {% if docs and docs is not empty %}
  1380.                                 <div class=\"col-md-12 bloc-docs d-flex justify-content-center\">
  1381.                                     {% for doc in docs %}
  1382.                                         <a class=\"btn-back-pulse m-2\" href=\"{{doc.location ~ doc.path ~ '/' ~ doc.fileName}}\" title=\"{{doc.titre}}\" target=\"_blank\"><i class=\"fa fa-file-pdf-o mr-2\"></i>{{doc.titre}}</a>   
  1383.                                     {% endfor %}
  1384.                                 </div>
  1385.                             {% endif %}
  1386.                             {# Debut champs personnalisés#}
  1387.                                 {% if champsPersonnalisesPost is defined and champsPersonnalisesPost is not empty %}
  1388.                                     <div class=\"sx-social-icons mt-3 col-md-12 text-center\">
  1389.                                     {% for champ_personnalise_post in champsPersonnalisesPost %}
  1390.                                         {% if champ_personnalise_post.value != \"\" %}
  1391.                                             {% if champ_personnalise_post.type == \"link\" %}
  1392.                                                 {% if champ_personnalise_post.alias == \"lien-instagram\" %}
  1393.                                                         <a href=\"{{champ_personnalise_post.value}}\" title=\"champ_personnalise_post.label\" target=\"_blank\"><i class=\"fa fa-instagram\"></i></a>
  1394.                                                 {% endif %}
  1395.                                                 {% if champ_personnalise_post.alias == \"lien-linkedin\" %}
  1396.                                                         <a href=\"{{champ_personnalise_post.value}}\" title=\"champ_personnalise_post.label\" target=\"_blank\"><i class=\"fa fa-linkedin\"></i></a>
  1397.                                                 {% endif %}
  1398.                                                 
  1399.                                                 {% if champ_personnalise_post.alias == \"lien-facebook\" %}
  1400.                                                         <a href=\"{{champ_personnalise_post.value}}\" title=\"champ_personnalise_post.label\" target=\"_blank\"><i class=\"fa fa-facebook\"></i></a>
  1401.                                                 {% endif %}
  1402.                                                 
  1403.                                                 {% if champ_personnalise_post.alias == \"lien-email\" %}
  1404.                                                         <a href=\"mailto:{{champ_personnalise_post.value}}\" title=\"champ_personnalise_post.label\" target=\"_blank\"><i class=\"fa fa-envelope\"></i></a>
  1405.                                                 {% endif %}
  1406.                                                         
  1407.                                             {% endif %}
  1408.                                         {% endif %}
  1409.                                         
  1410.                                     {% endfor %}
  1411.                                     </div>
  1412.                                 {% endif %}
  1413.                             {# Fin champs personnalisés#}
  1414.                         </div>
  1415.                     {% endif %}
  1416.                 </div>
  1417.             </div>
  1418.             <div class=\"clearfix\"></div>
  1419.             {# {% if galleries and galleries is not empty %}
  1420.                 {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/bloc/galleries.html.twig',{galleries: galleries,post:post}, with_context = false)}}
  1421.             {% endif %} #}
  1422.             {% if galleries and galleries is not empty and template_model_gallerie is defined and template_model_gallerie is not empty %}
  1423.                 {{ include(template_from_string(template_model_gallerie)) }}
  1424.             {% endif %}
  1425.             {% if post.urlvideo is not empty %}
  1426.                 <div class=\"container-fluid wrapper mt-3\">
  1427.                     <div class=\"col-md-12 mt-1\">
  1428.                         <div class=\"video\">
  1429.                             {% set id_video_externe = post.urlvideo|split('?v=')[1] %}
  1430.                             <a class=\"video-thumbnail m-0\" href=\"{{post.urlvideo}}\" data-fancybox=\"video\">
  1431.                                 <img src=\"https://img.youtube.com/vi/{{id_video_externe}}/maxresdefault.jpg\" class=\"img-fluid\" alt=\"\"/>
  1432.                             </a>
  1433.                         </div>
  1434.                     </div>
  1435.                 </div>
  1436.             {% endif %}
  1437.         </section>
  1438.         {% endif %}
  1439.         {# article associer #}
  1440.         
  1441.         {% if all_posts_associes is defined and all_posts_associes is not empty %}
  1442.             <section class=\"\">
  1443.                     <div class=\"container-fluid  mt-3\">
  1444.                         <div class=\"row gx-5 py-2\">
  1445.                        
  1446.                             <div class=\"col-sm-12 text-center\">
  1447.                                 {% if parametre.titreArticleAssocier %}
  1448.                                     <h2 class=\"sub-title wow\">{{parametre.titreArticleAssocier}}</h2>
  1449.                                 {% endif %}
  1450.                             </div>
  1451.                             <div class=\"col-sm-12\">
  1452.                                 <div class=\"list_blocs pos1\">
  1453.                                     <div class=\"blocs\">
  1454.                                         <section class=\"results dynam-affichage affichage1 type_affiche3 \">
  1455.                                             {% for item in all_posts_associes %}
  1456.                                                 {% set duree = 0.1 %}
  1457.                                                 {% for item_one in item %}
  1458.                                                     {% set image_item = item_one.image != null? asset_image(item_one.image): null %}
  1459.                                                 
  1460.                                                 {% set image_item = image_item != null? image_item :asset('uploads/images/' ~ parametre.imagevide) %}
  1461.                                                 <div class=\"article wow zoomIn animated\" data-wow-delay=\"{{duree}}s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
  1462.                                                     <span class=\"article-image lazyloaded\"  style=\"background-image: url({{image_item}}); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>                 
  1463.                                                     <span class=\"article-cnt\">
  1464.                                                         {% if item_one.title %}
  1465.                                                             <a class=\"article-titre\" href=\"{{item_one.slug}}\" title=\"{{item_one.title|raw}}\">{{item_one.title|raw}}</a> 
  1466.                                                         {% endif %} 
  1467.                                                         {% if item_one.summary is not empty %}
  1468.                                                             <span class=\"article-txt\">
  1469.                                                                 {{item_one.summary|raw}}
  1470.                                                             </span>
  1471.                                                         {% else %}
  1472.                                                             <span class=\"article-txt\">
  1473.                                                             {% if item_one.content != \"\" %}
  1474.                                                                 {{cutText(item_one.content)|raw}}
  1475.                                                             {% endif %}
  1476.                                                             </span>
  1477.                                                         {% endif %}
  1478.                                                        
  1479.                                                        <span class=\"article-bts\">
  1480.                                                                 <button class=\"article-plus btn-fade\" onclick=\"window.open('{{item_one.slug}}', '_self');\" title=\"En savoir plus\">En savoir plus</button>
  1481.                                                             </span> 
  1482.                                                     </span>
  1483.                                                 </div>
  1484.                                                 {% endfor %}
  1485.                                                 {% set duree = duree + 0.2 %}
  1486.                                             {% endfor %}
  1487.                                         </section>
  1488.                                     </div>
  1489.                                 </div>
  1490.                             </div>
  1491.                         </div>
  1492.                     </div>
  1493.             </section>
  1494.         {% endif %}
  1495.         {# fin article associer #}
  1496.         {% if blocs is defined  %}
  1497.             {% for bloc in blocs.Bloc %}
  1498.                 {% if is_mobile() and  bloc.mobile == true   %}
  1499.                     {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc.html.twig',{
  1500.                         bloc: bloc,
  1501.                         product_interesse:product_interesse,
  1502.                         annonce_interesse:annonce_interesse,
  1503.                     }, with_context = false)}}
  1504.                 {% endif %}
  1505.                 
  1506.                 {% if is_full_view() and is_mobile() == false and bloc.desktop == true %}
  1507.                     {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc.html.twig',{
  1508.                         bloc: bloc,
  1509.                         product_interesse:product_interesse,
  1510.                         annonce_interesse:annonce_interesse,
  1511.                     }, with_context = false)}}
  1512.                 {% endif %}
  1513.             {% endfor %}
  1514.         {% endif %} 
  1515.         {% if ref_pages_principal is defined and ref_pages_principal is not empty %}
  1516.             <section class=\"bg-section-ref\">
  1517.                 <div class=\"container-fluid  mt-3\">
  1518.                     <div class=\"row gx-5 py-2\">
  1519.                         <div class=\"col-sm-12 text-center\">
  1520.                             <h2 class=\"sub-title wow\">{{parametreRef.titreblocactivitearticle|default('')}} </h2>
  1521.                         </div>
  1522.                         <div class=\"col-sm-12\">
  1523.                             <div class=\"list_blocs pos1\">
  1524.                                 <div class=\"blocs\">
  1525.                                     <section class=\"results dynam-affichage affichage1 type_affiche3\">
  1526.                                         {% for item in ref_pages_principal %}
  1527.                                             {% set duree = 0.1 %}
  1528.                                             {% set image_item = item.image != null? asset_image(item.image):'uploads/images/' ~ parametre.imagevide %}
  1529.                                             <div class=\"article wow zoomIn animated\" data-wow-delay=\"{{duree}}s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
  1530.                                                 <span class=\"article-image lazyloaded\"  style=\"background-image: url({{image_item}}); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>                 
  1531.                                                 <span class=\"article-cnt\">
  1532.                                                     <a class=\"article-titre\" href=\"{{path('page',{slug:item.slug})}}\" title=\"\" >{{item.title}}</a>
  1533.                                                     <span class=\"article-txt\">
  1534.                                                         {% if item.summary is not empty %}
  1535.                                                             {{item.summary|raw}}
  1536.                                                         {% else %}
  1537.                                                             {{cutText(item.content)|raw}}
  1538.                                                         {% endif %}
  1539.                                                     </span>
  1540.                                                     <span class=\"article-bts\">
  1541.                                                         <button class=\"article-plus btn-fade\" onclick=\"window.open('{{path('page',{slug:item.slug})}}', '_self');\" title=\"En savoir plus\">En savoir plus</button>
  1542.                                                     </span>
  1543.                                                 </span>
  1544.                                             </div>
  1545.                                             {% set duree = duree + 0.2 %}
  1546.                                         {% endfor %}
  1547.                                     </section>
  1548.                                 </div>
  1549.                             </div>
  1550.                         </div>
  1551.                     </div>
  1552.                 </div>
  1553.             </section>
  1554.         {% endif %}
  1555.         {% if ref_pages_secondaire is defined and ref_pages_secondaire is not empty %}
  1556.             <section class=\"{{ref_pages_principal is defined and ref_pages_principal is empty?'bg-section-ref':''}}\">
  1557.                 <div class=\"container-fluid mt-3\">
  1558.                     <div class=\"row gx-5 py-2\">
  1559.                         <div class=\"col-sm-12 text-center\">
  1560.                             <h2 class=\"sub-title wow\">{{parametreRef.titreblocsousactivitearticle|default('')}}</h2>
  1561.                         </div>
  1562.                         <div class=\"col-sm-12\">
  1563.                             <div class=\"list_blocs pos1\">
  1564.                                 <div class=\"blocs\">
  1565.                                     <section class=\"results dynam-affichage affichage1 type_affiche3\">
  1566.                                         {% for item in ref_pages_secondaire %}
  1567.                                             {% set duree = 0.1 %}
  1568.                                             {% set image_item = item.image != null? asset_image(item.image):'uploads/images/' ~ parametre.imagevide %}
  1569.                                             <div class=\"article wow zoomIn animated\" data-wow-delay=\"{{duree}}s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
  1570.                                                 <span class=\"article-image lazyloaded\"  style=\"background-image: url({{image_item}}); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>                 
  1571.                                                 <span class=\"article-cnt\">
  1572.                                                     <a class=\"article-titre\" href=\"{{path('page',{slug:item.slug})}}\" title=\"\" >{{item.title}}</a>
  1573.                                                     <span class=\"article-txt\">
  1574.                                                         {% if item.summary is not empty %}
  1575.                                                             {{item.summary|raw}}
  1576.                                                         {% else %}
  1577.                                                             {{cutText(item.content)|raw}}
  1578.                                                         {% endif %}
  1579.                                                     </span>
  1580.                                                     <span class=\"article-bts\">
  1581.                                                         <button class=\"article-plus btn-fade\" onclick=\"window.open('{{path('page',{slug:item.slug})}}', '_self');\" title=\"En savoir plus\">En savoir plus</button>
  1582.                                                     </span>
  1583.                                                 </span>
  1584.                                             </div>
  1585.                                             {% set duree = duree + 0.2 %}
  1586.                                         {% endfor %}
  1587.                                     </section>
  1588.                                 </div>
  1589.                             </div>
  1590.                         </div>
  1591.                     </div>
  1592.                 </div>
  1593.             </section>
  1594.         {% endif %}
  1595.         {% if next_article is defined and next_article is not empty or prev_article is defined and prev_article is not empty %}
  1596.         <div class=\"container-fluid wrapper mt-3\">
  1597.             <div class=\"row gx-5 py-4\">
  1598.                 <div class=\"col-lg-12 d-flex justify-content-between\">
  1599.                     <div class=\"\">
  1600.                         {% if prev_article is defined and prev_article is not empty %}
  1601.                             <a href=\"{{path('page',{'slug':prev_article.slug})}}\" title=\"{{prev_article.title|replace({'<span>':' ','</span>':' '})}}\"><span class=\"signe1\"><i class=\"fa fa-arrow-left\"></i></span> {{prev_article.title|raw}}</a>
  1602.                         {% endif %}
  1603.                     </div>
  1604.                     <div class=\"\">
  1605.                         {% if next_article is defined and next_article is not empty %}
  1606.                             <a href=\"{{path('page',{'slug':next_article.slug})}}\"  title=\"{{next_article.title|replace({'<span>':' ','</span>':' '})}}\">{{next_article.title|raw}}  <span class=\"signe1\"><i class=\"fa fa-arrow-right\"></i></span></a>
  1607.                         {% endif %}
  1608.                     </div>
  1609.                 </div>
  1610.             </div>
  1611.         </div>
  1612.         {% endif %}
  1613.     </div> 
  1614. {% endblock %}
  1615. {% block javascripts %}
  1616.     {{parent()}}
  1617.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js\"></script>
  1618.     {% if modele_galerie[0].type == 4 %}
  1619.         {{parent()}}
  1620.         <script src=\"{{asset('templates/front/theme1/assets/plugins/flexslider/jquery.flexslider.js')}}\" ></script>
  1621.         <script>    
  1622.             /*-------------------------------------------------*/
  1623.             /* =  Sx flexslider 
  1624.             /*-------------------------------------------------*/
  1625.             if (\$(\".sx_flexslider\").length) {
  1626.             \$('.flex-carousel').flexslider({
  1627.             animation: \"slide\",
  1628.             controlNav: false,
  1629.             animationLoop: true,
  1630.             slideshow: false,
  1631.             itemWidth: 150,
  1632.             asNavFor: '.flex-slider'
  1633.             });
  1634.             \$('.flex-slider').flexslider({
  1635.             animation: \"slide\",
  1636.             controlNav: false,
  1637.             animationLoop: true,
  1638.             slideshow: false,
  1639.             sync: \".flex-carousel\"
  1640.             });
  1641.             }
  1642.         </script>
  1643.     {% endif %}
  1644.     
  1645. {% endblock %}
  1646. ""front/theme1/page_cms.html.twig""/var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr/templates/front/theme1/page_cms.html.twig");
  1647.     }
  1648. }