var/cache/website/dev/twig/88/88c20387f879fcc9b0129d8521a3eb229c6277e1bd9c4207ef533bd93f27e1d3.php line 41

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* pages/homepage.html.twig */
  15. class __TwigTemplate_507af18598d85bd281d1c8046337f72ae8811993512e5d0fea950a81400337a5 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'style' => [$this'block_style'],
  25.             'content' => [$this'block_content'],
  26.             'javascripts' => [$this'block_javascripts'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "base.html.twig";
  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""pages/homepage.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""pages/homepage.html.twig"));
  41.         $this->parent $this->loadTemplate("base.html.twig""pages/homepage.html.twig"1);
  42.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 2
  49.     public function block_style($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""style"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""style"));
  56.         // line 3
  57.         yield "\t";
  58.         yield from $this->yieldParentBlock("style"$context$blocks);
  59.         yield "
  60.     ";
  61.         // line 4
  62.         yield from         $this->loadTemplate("css/shepherd.html.twig""pages/homepage.html.twig"4)->unwrap()->yield($context);
  63.         // line 5
  64.         yield "\t";
  65.         yield from         $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/homepage.html.twig"5)->unwrap()->yield(CoreExtension::merge($context, ["file" => "homepage_css"]));
  66.         // line 6
  67.         yield "\t";
  68.         yield from         $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/homepage.html.twig"6)->unwrap()->yield(CoreExtension::merge($context, ["file" => "evenementavenir_css"]));
  69.         // line 7
  70.         yield "\t";
  71.         yield from         $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/homepage.html.twig"7)->unwrap()->yield(CoreExtension::merge($context, ["file" => "previews_css"]));
  72.         // line 8
  73.         yield "\t";
  74.         yield from         $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/homepage.html.twig"8)->unwrap()->yield(CoreExtension::merge($context, ["file" => "preview_thematique_css"]));
  75.         // line 9
  76.         yield "\t";
  77.         yield from         $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/homepage.html.twig"9)->unwrap()->yield(CoreExtension::merge($context, ["file" => "splide_css"]));
  78.         
  79.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  80.         
  81.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  82.         return; yield '';
  83.     }
  84.     // line 11
  85.     public function block_content($context, array $blocks = [])
  86.     {
  87.         $macros $this->macros;
  88.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  89.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  90.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  91.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  92.         // line 12
  93.         yield "\t";
  94.         $context["thematiquesArray"] = [];
  95.         // line 13
  96.         yield "\t";
  97.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"truetruefalse13) && CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"falsetruefalse13), "contact", [], "any"truetruefalse13))) {
  98.             // line 14
  99.             yield "\t\t";
  100.             $context['_parent'] = $context;
  101.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'14$this->source); })()), "user", [], "any"falsefalsefalse14), "contact", [], "any"falsefalsefalse14), "categories", [], "any"falsefalsefalse14));
  102.             foreach ($context['_seq'] as $context["_key"] => $context["thematiques"]) {
  103.                 // line 15
  104.                 yield "\t\t\t";
  105.                 $context["thematiquesArray"] = Twig\Extension\CoreExtension::merge((isset($context["thematiquesArray"]) || array_key_exists("thematiquesArray"$context) ? $context["thematiquesArray"] : (function () { throw new RuntimeError('Variable "thematiquesArray" does not exist.'15$this->source); })()), [CoreExtension::getAttribute($this->env$this->source$context["thematiques"], "id", [], "any"falsefalsefalse15)]);
  106.                 // line 16
  107.                 yield "\t\t";
  108.             }
  109.             $_parent $context['_parent'];
  110.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['thematiques'], $context['_parent'], $context['loop']);
  111.             $context array_intersect_key($context$_parent) + $_parent;
  112.             // line 17
  113.             yield "\t";
  114.         }
  115.         // line 18
  116.         yield "
  117. \t<div id=\"myHeader\" class=\"";
  118.         // line 19
  119.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "header_img", [], "any"truetruefalse19) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'19$this->source); })()), "header_img", [], "any"falsefalsefalse19)))) {
  120.             yield "homepage-title";
  121.         } else {
  122.             yield "small-main-title";
  123.         }
  124.         yield " dflex aic jcc prelative homepage-header homepage-intro example-css-selector\">
  125. \t\t";
  126.         // line 20
  127.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "header_img", [], "any"truetruefalse20) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'20$this->source); })()), "header_img", [], "any"falsefalsefalse20)))) {
  128.             // line 21
  129.             yield "\t\t\t";
  130.             // line 22
  131.             yield "\t\t\t<img src=\"";
  132.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'22$this->source); })()), "header_img", [], "any"falsefalsefalse22), "formats", [], "any"falsefalsefalse22), "1000x.webp", [], "array"falsefalsefalse22), "html"nulltrue);
  133.             yield "\" srcset=\"";
  134.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'22$this->source); })()), "header_img", [], "any"falsefalsefalse22), "formats", [], "any"falsefalsefalse22), "300x.webp", [], "array"falsefalsefalse22), "html"nulltrue);
  135.             yield " 300w, ";
  136.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'22$this->source); })()), "header_img", [], "any"falsefalsefalse22), "formats", [], "any"falsefalsefalse22), "600x.webp", [], "array"falsefalsefalse22), "html"nulltrue);
  137.             yield " 600w, ";
  138.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'22$this->source); })()), "header_img", [], "any"falsefalsefalse22), "formats", [], "any"falsefalsefalse22), "800x.webp", [], "array"falsefalsefalse22), "html"nulltrue);
  139.             yield " 800w, ";
  140.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'22$this->source); })()), "header_img", [], "any"falsefalsefalse22), "formats", [], "any"falsefalsefalse22), "1000x.webp", [], "array"falsefalsefalse22), "html"nulltrue);
  141.             yield " 1000w\" sizes=\"(max-width: 300px) 300w, (max-width: 600px) 600w, (max-width: 800px) 800w, 1000w\" alt=\"";
  142.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AltImageExtension']->getCopyrightOrDescriptionOrTitle(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'22$this->source); })()), "header_img", [], "any"falsefalsefalse22)), "html"nulltrue);
  143.             yield "\" width=\"";
  144.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'22$this->source); })()), "header_img", [], "any"falsefalsefalse22), "fileVersion", [], "any"falsefalsefalse22), "properties", [], "any"falsefalsefalse22), "width", [], "any"falsefalsefalse22), "html"nulltrue);
  145.             yield "\" height=\"";
  146.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'22$this->source); })()), "header_img", [], "any"falsefalsefalse22), "fileVersion", [], "any"falsefalsefalse22), "properties", [], "any"falsefalsefalse22), "height", [], "any"falsefalsefalse22), "html"nulltrue);
  147.             yield "\" loading=\"lazy\">
  148. \t\t";
  149.         }
  150.         // line 24
  151.         yield "\t\t<div class=\"center w100\">
  152. \t\t\t<h1 ";
  153.         // line 25
  154.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "header_img", [], "any"truetruefalse25) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'25$this->source); })()), "header_img", [], "any"falsefalsefalse25)))) {
  155.             yield " class=\"cwhite\" ";
  156.         }
  157.         yield ">";
  158.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'25$this->source); })()), "page_title", [], "any"falsefalsefalse25), "html"nulltrue);
  159.         yield "</h1>
  160. \t\t\t<div class=\"mt-20px mb-20px fw500 fs20 text tac";
  161.         // line 26
  162.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "header_img", [], "any"truetruefalse26) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'26$this->source); })()), "header_img", [], "any"falsefalsefalse26)))) {
  163.             yield " cwhite";
  164.         } else {
  165.             yield " cgrey";
  166.         }
  167.         yield "\">";
  168.         yield CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'26$this->source); })()), "chapo", [], "any"falsefalsefalse26);
  169.         yield "</div>
  170. \t\t\t<form action=\"";
  171.         // line 27
  172.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("pqna.search");
  173.         yield "\" method=\"POST\" class=\"dflex fdc aic usnone\">
  174. \t\t\t\t<div class=\"input-search-container prelative\">
  175. \t\t\t\t\t<input type=\"text\" name=\"q\" placeholder=\"Que recherchez-vous ?\" class=\"fs16 lh24\">
  176. \t\t\t\t\t<button type=\"submit\" class=\"pabsolute dflex aic jcc\"><img src=\"/resources/img/search-icon.svg\" alt=\"Rechercher\" width=\"16\" height=\"16\" loading=\"lazy\" style=\"pointer-events: none;\"></button>
  177. \t\t\t\t</div>
  178. \t\t\t\t<div class=\"dflex jcc fwwrap search-button-display mt-24px\" id=\"search-buttons-container-hp\">
  179. \t\t\t\t\t<div>
  180. \t\t\t\t\t\t<input class=\"check_search\" type=\"radio\" id=\"Contractualisation-hp\" name=\"keyword\" value=\"Contractualisation\">
  181. \t\t\t\t\t\t<label for=\"Contractualisation-hp\" class=\"fs18 fw600 cwhite lh28\">Contractualisation</label>
  182. \t\t\t\t\t</div>
  183. \t\t\t\t\t<div>
  184. \t\t\t\t\t\t<input class=\"check_search\" type=\"radio\" id=\"Gouvernance-hp\" name=\"keyword\" value=\"Gouvernance\">
  185. \t\t\t\t\t\t<label for=\"Gouvernance-hp\" class=\"fs18 fw600 cwhite lh28\">Gouvernance</label>
  186. \t\t\t\t\t</div>
  187. \t\t\t\t\t<div>
  188. \t\t\t\t\t\t<input class=\"check_search\" type=\"radio\" id=\"Experimentation-hp\" name=\"keyword\" value=\"Experimentation\">
  189. \t\t\t\t\t\t<label for=\"Experimentation-hp\" class=\"fs18 fw600 cwhite lh28\">Expérimentation</label>
  190. \t\t\t\t\t</div>
  191. \t\t\t\t\t<div class=\"break\"></div>
  192. \t\t\t\t\t<div>
  193. \t\t\t\t\t\t<input class=\"check_search\" type=\"radio\" id=\"Cooperation-hp\" name=\"keyword\" value=\"Cooperation\">
  194. \t\t\t\t\t\t<label for=\"Cooperation-hp\" class=\"fs18 fw600 cwhite lh28\">Coopération</label>
  195. \t\t\t\t\t</div>
  196. \t\t\t\t\t<div>
  197. \t\t\t\t\t\t<input class=\"check_search\" type=\"radio\" id=\"Evaluation-hp\" name=\"keyword\" value=\"Evaluation\">
  198. \t\t\t\t\t\t<label for=\"Evaluation-hp\" class=\"fs18 fw600 cwhite lh28\">Évaluation</label>
  199. \t\t\t\t\t</div>
  200. \t\t\t\t</div>
  201. \t\t\t</form>
  202. \t\t</div>
  203. \t\t";
  204.         // line 57
  205.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "header_img", [], "any"truetruefalse57) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'57$this->source); })()), "header_img", [], "any"falsefalsefalse57)))) {
  206.             // line 58
  207.             yield "\t\t\t<div class=\"background-color-blue\"></div>
  208. \t\t";
  209.         }
  210.         // line 60
  211.         yield "\t</div>
  212. \t<div class=\"main-container w100 plr-1em\">
  213. \t\t<div class=\"content\">
  214. \t\t\t<div class=\"blocks w100\">
  215. \t\t\t\t<section class=\"alaune mt-40px\">
  216. \t\t\t\t\t<h2 class=\"fs60 lh60 fw700 center\">À la une</h2>
  217. \t\t\t\t\t";
  218.         // line 66
  219.         yield from         $this->loadTemplate("homepage-articles/alaune.html.twig""pages/homepage.html.twig"66)->unwrap()->yield(CoreExtension::merge($context, ["thematiques" => (isset($context["thematiquesArray"]) || array_key_exists("thematiquesArray"$context) ? $context["thematiquesArray"] : (function () { throw new RuntimeError('Variable "thematiquesArray" does not exist.'66$this->source); })())]));
  220.         // line 67
  221.         yield "\t\t\t\t</section>
  222. \t\t\t\t<section class=\"evenementsavenir mt-80px mb-40px pb-100px prelative\">
  223. \t\t\t\t\t<h2 class=\"fs60 lh60 fw700 center mb-40px\">Évènements à venir</h2>
  224. \t\t\t\t\t";
  225.         // line 70
  226.         yield from         $this->loadTemplate("homepage-articles/evenementsavenir.html.twig""pages/homepage.html.twig"70)->unwrap()->yield($context);
  227.         // line 71
  228.         yield "\t\t\t\t</section>
  229. \t\t\t\t<section class=\"presentation\">
  230. \t\t\t\t\t";
  231.         // line 73
  232.         $context['_parent'] = $context;
  233.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'73$this->source); })()), "main_content", [], "any"falsefalsefalse73));
  234.         $context['loop'] = [
  235.           'parent' => $context['_parent'],
  236.           'index0' => 0,
  237.           'index'  => 1,
  238.           'first'  => true,
  239.         ];
  240.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  241.             $length count($context['_seq']);
  242.             $context['loop']['revindex0'] = $length 1;
  243.             $context['loop']['revindex'] = $length;
  244.             $context['loop']['length'] = $length;
  245.             $context['loop']['last'] = === $length;
  246.         }
  247.         foreach ($context['_seq'] as $context["_key"] => $context["block"]) {
  248.             // line 74
  249.             yield "\t\t\t\t\t\t";
  250.             if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["block"], "type", [], "any"falsefalsefalse74), "category_presentation"))) {
  251.                 // line 75
  252.                 yield "\t\t\t\t\t\t\t";
  253.                 yield from                 $this->loadTemplate("homepage-articles/presentation-category.html.twig""pages/homepage.html.twig"75)->unwrap()->yield($context);
  254.                 // line 76
  255.                 yield "\t\t\t\t\t\t";
  256.             } elseif ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["block"], "type", [], "any"falsefalsefalse76), "partenaires_financiers"))) {
  257.                 // line 77
  258.                 yield "\t\t\t\t\t\t\t";
  259.                 yield from                 $this->loadTemplate("homepage-articles/partenaires.html.twig""pages/homepage.html.twig"77)->unwrap()->yield($context);
  260.                 // line 78
  261.                 yield "\t\t\t\t\t\t";
  262.             }
  263.             // line 79
  264.             yield "\t\t\t\t\t";
  265.             ++$context['loop']['index0'];
  266.             ++$context['loop']['index'];
  267.             $context['loop']['first'] = false;
  268.             if (isset($context['loop']['length'])) {
  269.                 --$context['loop']['revindex0'];
  270.                 --$context['loop']['revindex'];
  271.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  272.             }
  273.         }
  274.         $_parent $context['_parent'];
  275.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['block'], $context['_parent'], $context['loop']);
  276.         $context array_intersect_key($context$_parent) + $_parent;
  277.         // line 80
  278.         yield "\t\t\t\t</section>
  279. \t\t\t</div>
  280. \t\t</div>
  281. \t</div>
  282. ";
  283.         
  284.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  285.         
  286.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  287.         return; yield '';
  288.     }
  289.     // line 85
  290.     public function block_javascripts($context, array $blocks = [])
  291.     {
  292.         $macros $this->macros;
  293.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  294.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  295.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  296.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  297.         // line 86
  298.         yield "\t";
  299.         yield from $this->yieldParentBlock("javascripts"$context$blocks);
  300.         yield "
  301. \t";
  302.         // line 87
  303.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("splide");
  304.         yield "
  305. \t";
  306.         // line 88
  307.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("onboard_tour");
  308.         yield "
  309. ";
  310.         
  311.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  312.         
  313.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  314.         return; yield '';
  315.     }
  316.     /**
  317.      * @codeCoverageIgnore
  318.      */
  319.     public function getTemplateName()
  320.     {
  321.         return "pages/homepage.html.twig";
  322.     }
  323.     /**
  324.      * @codeCoverageIgnore
  325.      */
  326.     public function isTraitable()
  327.     {
  328.         return false;
  329.     }
  330.     /**
  331.      * @codeCoverageIgnore
  332.      */
  333.     public function getDebugInfo()
  334.     {
  335.         return array (  331 => 88,  327 => 87,  322 => 86,  312 => 85,  297 => 80,  283 => 79,  280 => 78,  277 => 77,  274 => 76,  271 => 75,  268 => 74,  251 => 73,  247 => 71,  245 => 70,  240 => 67,  238 => 66,  230 => 60,  226 => 58,  224 => 57,  191 => 27,  181 => 26,  173 => 25,  170 => 24,  150 => 22,  148 => 21,  146 => 20,  138 => 19,  135 => 18,  132 => 17,  126 => 16,  123 => 15,  118 => 14,  115 => 13,  112 => 12,  102 => 11,  90 => 9,  87 => 8,  84 => 7,  81 => 6,  78 => 5,  76 => 4,  71 => 3,  61 => 2,  38 => 1,);
  336.     }
  337.     public function getSourceContext()
  338.     {
  339.         return new Source("{% extends \"base.html.twig\" %}
  340. {% block style %}
  341. \t{{ parent() }}
  342.     {% include \"css/shepherd.html.twig\" %}
  343. \t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'homepage_css'} %}
  344. \t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'evenementavenir_css'} %}
  345. \t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'previews_css'} %}
  346. \t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'preview_thematique_css'} %}
  347. \t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'splide_css'} %}
  348. {% endblock %}
  349. {% block content %}
  350. \t{% set thematiquesArray = [] %}
  351. \t{% if app.user is defined and app.user.contact is defined %}
  352. \t\t{% for thematiques in app.user.contact.categories %}
  353. \t\t\t{% set thematiquesArray = thematiquesArray|merge([thematiques.id]) %}
  354. \t\t{% endfor %}
  355. \t{% endif %}
  356. \t<div id=\"myHeader\" class=\"{% if content.header_img is defined and content.header_img is not empty %}homepage-title{% else %}small-main-title{% endif %} dflex aic jcc prelative homepage-header homepage-intro example-css-selector\">
  357. \t\t{% if content.header_img is defined and content.header_img is not empty %}
  358. \t\t\t{# pas de loading=lazy ici car c'est le LPC (largest painted content) qui apparaît dès l'arrivée sur le site #}
  359. \t\t\t<img src=\"{{ content.header_img.formats['1000x.webp'] }}\" srcset=\"{{ content.header_img.formats['300x.webp'] }} 300w, {{ content.header_img.formats['600x.webp'] }} 600w, {{ content.header_img.formats['800x.webp'] }} 800w, {{ content.header_img.formats['1000x.webp'] }} 1000w\" sizes=\"(max-width: 300px) 300w, (max-width: 600px) 600w, (max-width: 800px) 800w, 1000w\" alt=\"{{ content.header_img | copyright_or_description_or_title }}\" width=\"{{ content.header_img.fileVersion.properties.width }}\" height=\"{{ content.header_img.fileVersion.properties.height }}\" loading=\"lazy\">
  360. \t\t{% endif %}
  361. \t\t<div class=\"center w100\">
  362. \t\t\t<h1 {% if content.header_img is defined and content.header_img is not empty %} class=\"cwhite\" {% endif %}>{{ content.page_title }}</h1>
  363. \t\t\t<div class=\"mt-20px mb-20px fw500 fs20 text tac{% if content.header_img is defined and content.header_img is not empty %} cwhite{% else %} cgrey{% endif %}\">{{ content.chapo|raw }}</div>
  364. \t\t\t<form action=\"{{ path('pqna.search') }}\" method=\"POST\" class=\"dflex fdc aic usnone\">
  365. \t\t\t\t<div class=\"input-search-container prelative\">
  366. \t\t\t\t\t<input type=\"text\" name=\"q\" placeholder=\"Que recherchez-vous ?\" class=\"fs16 lh24\">
  367. \t\t\t\t\t<button type=\"submit\" class=\"pabsolute dflex aic jcc\"><img src=\"/resources/img/search-icon.svg\" alt=\"Rechercher\" width=\"16\" height=\"16\" loading=\"lazy\" style=\"pointer-events: none;\"></button>
  368. \t\t\t\t</div>
  369. \t\t\t\t<div class=\"dflex jcc fwwrap search-button-display mt-24px\" id=\"search-buttons-container-hp\">
  370. \t\t\t\t\t<div>
  371. \t\t\t\t\t\t<input class=\"check_search\" type=\"radio\" id=\"Contractualisation-hp\" name=\"keyword\" value=\"Contractualisation\">
  372. \t\t\t\t\t\t<label for=\"Contractualisation-hp\" class=\"fs18 fw600 cwhite lh28\">Contractualisation</label>
  373. \t\t\t\t\t</div>
  374. \t\t\t\t\t<div>
  375. \t\t\t\t\t\t<input class=\"check_search\" type=\"radio\" id=\"Gouvernance-hp\" name=\"keyword\" value=\"Gouvernance\">
  376. \t\t\t\t\t\t<label for=\"Gouvernance-hp\" class=\"fs18 fw600 cwhite lh28\">Gouvernance</label>
  377. \t\t\t\t\t</div>
  378. \t\t\t\t\t<div>
  379. \t\t\t\t\t\t<input class=\"check_search\" type=\"radio\" id=\"Experimentation-hp\" name=\"keyword\" value=\"Experimentation\">
  380. \t\t\t\t\t\t<label for=\"Experimentation-hp\" class=\"fs18 fw600 cwhite lh28\">Expérimentation</label>
  381. \t\t\t\t\t</div>
  382. \t\t\t\t\t<div class=\"break\"></div>
  383. \t\t\t\t\t<div>
  384. \t\t\t\t\t\t<input class=\"check_search\" type=\"radio\" id=\"Cooperation-hp\" name=\"keyword\" value=\"Cooperation\">
  385. \t\t\t\t\t\t<label for=\"Cooperation-hp\" class=\"fs18 fw600 cwhite lh28\">Coopération</label>
  386. \t\t\t\t\t</div>
  387. \t\t\t\t\t<div>
  388. \t\t\t\t\t\t<input class=\"check_search\" type=\"radio\" id=\"Evaluation-hp\" name=\"keyword\" value=\"Evaluation\">
  389. \t\t\t\t\t\t<label for=\"Evaluation-hp\" class=\"fs18 fw600 cwhite lh28\">Évaluation</label>
  390. \t\t\t\t\t</div>
  391. \t\t\t\t</div>
  392. \t\t\t</form>
  393. \t\t</div>
  394. \t\t{% if content.header_img is defined and content.header_img is not empty %}
  395. \t\t\t<div class=\"background-color-blue\"></div>
  396. \t\t{% endif %}
  397. \t</div>
  398. \t<div class=\"main-container w100 plr-1em\">
  399. \t\t<div class=\"content\">
  400. \t\t\t<div class=\"blocks w100\">
  401. \t\t\t\t<section class=\"alaune mt-40px\">
  402. \t\t\t\t\t<h2 class=\"fs60 lh60 fw700 center\">À la une</h2>
  403. \t\t\t\t\t{% include \"homepage-articles/alaune.html.twig\" with {thematiques: thematiquesArray} %}
  404. \t\t\t\t</section>
  405. \t\t\t\t<section class=\"evenementsavenir mt-80px mb-40px pb-100px prelative\">
  406. \t\t\t\t\t<h2 class=\"fs60 lh60 fw700 center mb-40px\">Évènements à venir</h2>
  407. \t\t\t\t\t{% include \"homepage-articles/evenementsavenir.html.twig\" %}
  408. \t\t\t\t</section>
  409. \t\t\t\t<section class=\"presentation\">
  410. \t\t\t\t\t{% for block in content.main_content %}
  411. \t\t\t\t\t\t{% if block.type == 'category_presentation' %}
  412. \t\t\t\t\t\t\t{% include \"homepage-articles/presentation-category.html.twig\" %}
  413. \t\t\t\t\t\t{% elseif block.type == 'partenaires_financiers' %}
  414. \t\t\t\t\t\t\t{% include \"homepage-articles/partenaires.html.twig\" %}
  415. \t\t\t\t\t\t{% endif %}
  416. \t\t\t\t\t{% endfor %}
  417. \t\t\t\t</section>
  418. \t\t\t</div>
  419. \t\t</div>
  420. \t</div>
  421. {% endblock %}
  422. {% block javascripts %}
  423. \t{{ parent() }}
  424. \t{{ encore_entry_script_tags('splide') }}
  425. \t{{ encore_entry_script_tags('onboard_tour') }}
  426. {% endblock %}
  427. ""pages/homepage.html.twig""/var/www/html/templates/pages/homepage.html.twig");
  428.     }
  429. }