<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* pages/pqna.html.twig */
class __TwigTemplate_4b9a18e00465067c0d7d59e3b3dbd204079791be67369ed209110118370d8832 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'style' => [$this, 'block_style'],
'content' => [$this, 'block_content'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/pqna.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/pqna.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "pages/pqna.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 2
public function block_style($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "style"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "style"));
// line 3
yield " ";
yield from $this->yieldParentBlock("style", $context, $blocks);
yield "
";
// line 4
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/pqna.html.twig", 4)->unwrap()->yield(CoreExtension::merge($context, ["file" => "previews_css"]));
// line 5
yield " ";
$context['_parent'] = $context;
$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.', 5, $this->source); })()), "main_content", [], "any", false, false, false, 5));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["block"]) {
// line 6
yield " ";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 6), "articles_type"))) {
// line 7
yield " ";
yield from $this->loadTemplate("css/previews-critical-css.html.twig", "pages/pqna.html.twig", 7)->unwrap()->yield($context);
// line 8
yield " ";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/pqna.html.twig", 8)->unwrap()->yield(CoreExtension::merge($context, ["file" => "loader_css"]));
// line 9
yield " ";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/pqna.html.twig", 9)->unwrap()->yield(CoreExtension::merge($context, ["file" => "filter_css"]));
// line 10
yield " ";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/pqna.html.twig", 10)->unwrap()->yield(CoreExtension::merge($context, ["file" => "preview_thematique_css"]));
// line 11
yield " ";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/pqna.html.twig", 11)->unwrap()->yield(CoreExtension::merge($context, ["file" => "pagination_css"]));
// line 12
yield " ";
if (((CoreExtension::getAttribute($this->env, $this->source, $context["block"], "filter", [], "any", true, true, false, 12) && (0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "filter", [], "any", false, false, false, 12), "fiches_territoires"))) || (CoreExtension::getAttribute($this->env, $this->source, // line 13
$context["block"], "filter", [], "any", true, true, false, 13) && (0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "filter", [], "any", false, false, false, 13), "experiences"))))) {
// line 14
yield " ";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/pqna.html.twig", 14)->unwrap()->yield(CoreExtension::merge($context, ["file" => "map_css"]));
// line 15
yield " ";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/pqna.html.twig", 15)->unwrap()->yield(CoreExtension::merge($context, ["file" => "territory_css"]));
// line 16
yield " ";
}
// line 17
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["block"], "filter", [], "any", true, true, false, 17) && (0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "filter", [], "any", false, false, false, 17), "fiches_territoires")))) {
// line 18
yield " ";
yield from $this->loadTemplate("css/territoire-critical-css.html.twig", "pages/pqna.html.twig", 18)->unwrap()->yield($context);
// line 19
yield " ";
}
// line 20
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["block"], "filter", [], "any", true, true, false, 20) && (0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "filter", [], "any", false, false, false, 20), "experiences")))) {
// line 21
yield " ";
yield from $this->loadTemplate("css/experience-critical-css.html.twig", "pages/pqna.html.twig", 21)->unwrap()->yield($context);
// line 22
yield " ";
}
// line 23
yield " ";
if (((((((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "filter", [], "any", false, false, false, 23), "articles")) || (0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, // line 24
$context["block"], "filter", [], "any", false, false, false, 24), "analyses"))) || (0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, // line 25
$context["block"], "filter", [], "any", false, false, false, 25), "guides_outils"))) || (0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, // line 26
$context["block"], "filter", [], "any", false, false, false, 26), "agenda"))) || (0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, // line 27
$context["block"], "filter", [], "any", false, false, false, 27), "aapami"))) || (0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, // line 28
$context["block"], "filter", [], "any", false, false, false, 28), "offre")))) {
// line 29
yield " ";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/pqna.html.twig", 29)->unwrap()->yield(CoreExtension::merge($context, ["file" => "flatpickr_css"]));
// line 30
yield " ";
}
// line 31
yield " ";
}
// line 32
yield " ";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 32), "annuaire"))) {
// line 33
yield " ";
yield from $this->loadTemplate("css/annuaire-critical-css.html.twig", "pages/pqna.html.twig", 33)->unwrap()->yield($context);
// line 34
yield " ";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/pqna.html.twig", 34)->unwrap()->yield(CoreExtension::merge($context, ["file" => "filter_css"]));
// line 35
yield " ";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/pqna.html.twig", 35)->unwrap()->yield(CoreExtension::merge($context, ["file" => "pagination_css"]));
// line 36
yield " ";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/pqna.html.twig", 36)->unwrap()->yield(CoreExtension::merge($context, ["file" => "userlist_css"]));
// line 37
yield " ";
}
// line 38
yield " ";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 38), "contact_modalite"))) {
// line 39
yield " ";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/pqna.html.twig", 39)->unwrap()->yield(CoreExtension::merge($context, ["file" => "map_css"]));
// line 40
yield " ";
}
// line 41
yield " ";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 41), "block_team"))) {
// line 42
yield " ";
yield from $this->loadTemplate("css/equipe-critical-css.html.twig", "pages/pqna.html.twig", 42)->unwrap()->yield($context);
// line 43
yield " ";
}
// line 44
yield " ";
if ((((((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 44), "block_team")) || (0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, // line 45
$context["block"], "type", [], "any", false, false, false, 45), "frame"))) || (0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, // line 46
$context["block"], "type", [], "any", false, false, false, 46), "text_pic"))) || (0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, // line 47
$context["block"], "type", [], "any", false, false, false, 47), "theme_pic"))) || (0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, // line 48
$context["block"], "type", [], "any", false, false, false, 48), "contact_modalite")))) {
// line 49
yield " ";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/pqna.html.twig", 49)->unwrap()->yield(CoreExtension::merge($context, ["file" => "frame_css"]));
// line 50
yield " ";
}
// line 51
yield " ";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 51), "h2_anchor"))) {
// line 52
yield " ";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/pqna.html.twig", 52)->unwrap()->yield(CoreExtension::merge($context, ["file" => "anchors_css"]));
// line 53
yield " ";
}
// line 54
yield " ";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 54), "preview_content"))) {
// line 55
yield " ";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/pqna.html.twig", 55)->unwrap()->yield(CoreExtension::merge($context, ["file" => "preview_thematique_css"]));
// line 56
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["block"], "slider_mode", [], "any", false, false, false, 56)) {
// line 57
yield " ";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/pqna.html.twig", 57)->unwrap()->yield(CoreExtension::merge($context, ["file" => "splide_css"]));
// line 58
yield " ";
}
// line 59
yield " ";
}
// line 60
yield " ";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 60), "preview_thematique"))) {
// line 61
yield " ";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/pqna.html.twig", 61)->unwrap()->yield(CoreExtension::merge($context, ["file" => "preview_thematique_css"]));
// line 62
yield " ";
}
// line 63
yield " ";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 63), "preview_simple"))) {
// line 64
yield " ";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/pqna.html.twig", 64)->unwrap()->yield(CoreExtension::merge($context, ["file" => "preview_thematique_css"]));
// line 65
yield " ";
}
// line 66
yield " ";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 66), "see_more"))) {
// line 67
yield " ";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/pqna.html.twig", 67)->unwrap()->yield(CoreExtension::merge($context, ["file" => "splide_css"]));
// line 68
yield " ";
}
// line 69
yield " ";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 69), "form"))) {
// line 70
yield " ";
yield from $this->loadTemplate("css/form-critical-css.html.twig", "pages/pqna.html.twig", 70)->unwrap()->yield($context);
// line 71
yield " ";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/pqna.html.twig", 71)->unwrap()->yield(CoreExtension::merge($context, ["file" => "form_css"]));
// line 72
yield " ";
}
// line 73
yield " ";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 73), "thematiques_page"))) {
// line 74
yield " ";
yield from $this->loadTemplate("css/page-thematique-critical-css.html.twig", "pages/pqna.html.twig", 74)->unwrap()->yield($context);
// line 75
yield " ";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/pqna.html.twig", 75)->unwrap()->yield(CoreExtension::merge($context, ["file" => "preview_thematique_css"]));
// line 76
yield " ";
}
// line 77
yield " ";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 77), "freetext"))) {
// line 78
yield " ";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/pqna.html.twig", 78)->unwrap()->yield(CoreExtension::merge($context, ["file" => "freetext_css"]));
// line 79
yield " ";
}
// line 80
yield " ";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 80), "media"))) {
// line 81
yield " ";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/pqna.html.twig", 81)->unwrap()->yield(CoreExtension::merge($context, ["file" => "media_css"]));
// line 82
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["block"], "youtube_link", [], "any", false, false, false, 82)) {
// line 83
yield " ";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/pqna.html.twig", 83)->unwrap()->yield(CoreExtension::merge($context, ["file" => "youtube_css"]));
// line 84
yield " ";
}
// line 85
yield " ";
}
// line 86
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['block'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 88
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 89
yield " <div class=\"";
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "header_img", [], "any", true, true, false, 89) && !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.', 89, $this->source); })()), "header_img", [], "any", false, false, false, 89)))) {
yield "main-title";
} else {
yield "small-main-title";
}
yield " dflex fdc aic jcc prelative\">
";
// line 90
yield from $this->loadTemplate("pages/headers/pqna-page-header.html.twig", "pages/pqna.html.twig", 90)->unwrap()->yield($context);
// line 91
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "header_img", [], "any", true, true, false, 91) && !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.', 91, $this->source); })()), "header_img", [], "any", false, false, false, 91)))) {
// line 92
yield " <div class=\"background-color-blue\"></div>
";
}
// line 94
yield " </div>
<div class=\"main-container w100 plr-1em\">
<div class=\"content\">
<div class=\"blocks w100\">
";
// line 98
yield from $this->loadTemplate("blocks/error.html.twig", "pages/pqna.html.twig", 98)->unwrap()->yield($context);
// line 99
yield " ";
$context['_parent'] = $context;
$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.', 99, $this->source); })()), "main_content", [], "any", false, false, false, 99));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["block"]) {
// line 100
yield " ";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 100), "articles_type"))) {
// line 101
yield " ";
yield from $this->loadTemplate("blocks/articles.html.twig", "pages/pqna.html.twig", 101)->unwrap()->yield($context);
// line 102
yield " ";
} elseif ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 102), "freetext"))) {
// line 103
yield " ";
yield from $this->loadTemplate("articles-blocks/freetext.html.twig", "pages/pqna.html.twig", 103)->unwrap()->yield(CoreExtension::merge($context, ["data" => $context["block"]]));
// line 104
yield " ";
} elseif ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 104), "form"))) {
// line 105
yield " <div class=\"form-container tac dflex jcc fwrap\">
";
// line 106
yield from $this->loadTemplate("blocks/form.html.twig", "pages/pqna.html.twig", 106)->unwrap()->yield($context);
// line 107
yield " </div>
";
} elseif ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, // line 108
$context["block"], "type", [], "any", false, false, false, 108), "media"))) {
// line 109
yield " ";
yield from $this->loadTemplate("articles-blocks/media.html.twig", "pages/pqna.html.twig", 109)->unwrap()->yield(CoreExtension::merge($context, ["data" => $context["block"]]));
// line 110
yield " ";
} elseif ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 110), "map"))) {
// line 111
yield " ";
yield from $this->loadTemplate("blocks/map.html.twig", "pages/pqna.html.twig", 111)->unwrap()->yield($context);
// line 112
yield " ";
} elseif (((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 112), "preview_content")) || (0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 112), "preview_thematique")))) {
// line 113
yield " ";
yield from $this->loadTemplate("blocks/preview-content.html.twig", "pages/pqna.html.twig", 113)->unwrap()->yield($context);
// line 114
yield " ";
} elseif ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 114), "preview_simple"))) {
// line 115
yield " ";
yield from $this->loadTemplate("blocks/preview-content-simple.html.twig", "pages/pqna.html.twig", 115)->unwrap()->yield($context);
// line 116
yield " ";
} elseif ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 116), "h2_anchor"))) {
// line 117
yield " ";
yield from $this->loadTemplate("blocks/h2-anchor.html.twig", "pages/pqna.html.twig", 117)->unwrap()->yield($context);
// line 118
yield " ";
} elseif ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 118), "frame"))) {
// line 119
yield " ";
yield from $this->loadTemplate("blocks/block-picbkg-frame.html.twig", "pages/pqna.html.twig", 119)->unwrap()->yield($context);
// line 120
yield " ";
} elseif ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 120), "text_pic"))) {
// line 121
yield " ";
yield from $this->loadTemplate("blocks/text-pic.html.twig", "pages/pqna.html.twig", 121)->unwrap()->yield($context);
// line 122
yield " ";
} elseif ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 122), "theme_pic"))) {
// line 123
yield " ";
yield from $this->loadTemplate("blocks/block-pic-quad-theme.html.twig", "pages/pqna.html.twig", 123)->unwrap()->yield($context);
// line 124
yield " ";
} elseif ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 124), "block_team"))) {
// line 125
yield " ";
yield from $this->loadTemplate("blocks/teams-display.html.twig", "pages/pqna.html.twig", 125)->unwrap()->yield($context);
// line 126
yield " ";
} elseif ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 126), "contact_modalite"))) {
// line 127
yield " ";
yield from $this->loadTemplate("blocks/modalite.html.twig", "pages/pqna.html.twig", 127)->unwrap()->yield($context);
// line 128
yield " ";
} elseif ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 128), "thematiques_page"))) {
// line 129
yield " ";
yield from $this->loadTemplate("blocks/thematiques-page.html.twig", "pages/pqna.html.twig", 129)->unwrap()->yield($context);
// line 130
yield " ";
} elseif ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 130), "see_more"))) {
// line 131
yield " ";
yield from $this->loadTemplate("articles-blocks/see-more.html.twig", "pages/pqna.html.twig", 131)->unwrap()->yield(CoreExtension::merge($context, ["data" => $context["block"]]));
// line 132
yield " ";
} elseif ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 132), "annuaire"))) {
// line 133
yield " ";
yield from $this->loadTemplate("blocks/annuaire.html.twig", "pages/pqna.html.twig", 133)->unwrap()->yield(CoreExtension::merge($context, ["data" => $context["block"]]));
// line 134
yield " ";
}
// line 135
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['block'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 136
yield " </div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 140
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 141
yield " ";
$context['_parent'] = $context;
$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.', 141, $this->source); })()), "main_content", [], "any", false, false, false, 141));
foreach ($context['_seq'] as $context["_key"] => $context["block"]) {
// line 142
yield " ";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 142), "articles_type"))) {
// line 143
yield " ";
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("articles_api");
yield "
";
// line 144
if (((CoreExtension::getAttribute($this->env, $this->source, $context["block"], "filter", [], "any", true, true, false, 144) && (0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "filter", [], "any", false, false, false, 144), "fiches_territoires"))) || (CoreExtension::getAttribute($this->env, $this->source, // line 145
$context["block"], "filter", [], "any", true, true, false, 145) && (0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "filter", [], "any", false, false, false, 145), "experiences"))))) {
// line 146
yield " ";
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("toggle_map");
yield "
";
}
// line 148
yield " ";
} elseif (((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 148), "map")) || (0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 148), "contact_modalite")))) {
// line 149
yield " ";
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("map");
yield "
";
} elseif ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, // line 150
$context["block"], "type", [], "any", false, false, false, 150), "h2_anchor"))) {
// line 151
yield " ";
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("h2_anchor");
yield "
";
} elseif ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, // line 152
$context["block"], "type", [], "any", false, false, false, 152), "see_more"))) {
// line 153
yield " ";
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("splide");
yield "
";
} elseif ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, // line 154
$context["block"], "type", [], "any", false, false, false, 154), "preview_content"))) {
// line 155
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["block"], "slider_mode", [], "any", false, false, false, 155)) {
// line 156
yield " ";
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("splide");
yield "
";
}
// line 158
yield " ";
} elseif ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 158), "annuaire"))) {
// line 159
yield " ";
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("annuaire_filter");
yield "
";
} elseif ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, // line 160
$context["block"], "type", [], "any", false, false, false, 160), "media"))) {
// line 161
yield " ";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "select", [], "any", false, false, false, 161), "youtube_link"))) {
// line 162
yield " ";
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("lite-youtube");
yield "
";
// line 163
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("youtube_defer");
yield "
";
}
// line 165
yield " ";
}
// line 166
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['block'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 167
yield " ";
yield from $this->yieldParentBlock("javascripts", $context, $blocks);
yield "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "pages/pqna.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 621 => 167, 615 => 166, 612 => 165, 607 => 163, 602 => 162, 599 => 161, 597 => 160, 592 => 159, 589 => 158, 583 => 156, 580 => 155, 578 => 154, 573 => 153, 571 => 152, 566 => 151, 564 => 150, 559 => 149, 556 => 148, 550 => 146, 548 => 145, 547 => 144, 542 => 143, 539 => 142, 534 => 141, 524 => 140, 510 => 136, 496 => 135, 493 => 134, 490 => 133, 487 => 132, 484 => 131, 481 => 130, 478 => 129, 475 => 128, 472 => 127, 469 => 126, 466 => 125, 463 => 124, 460 => 123, 457 => 122, 454 => 121, 451 => 120, 448 => 119, 445 => 118, 442 => 117, 439 => 116, 436 => 115, 433 => 114, 430 => 113, 427 => 112, 424 => 111, 421 => 110, 418 => 109, 416 => 108, 413 => 107, 411 => 106, 408 => 105, 405 => 104, 402 => 103, 399 => 102, 396 => 101, 393 => 100, 375 => 99, 373 => 98, 367 => 94, 363 => 92, 360 => 91, 358 => 90, 349 => 89, 339 => 88, 316 => 86, 313 => 85, 310 => 84, 307 => 83, 304 => 82, 301 => 81, 298 => 80, 295 => 79, 292 => 78, 289 => 77, 286 => 76, 283 => 75, 280 => 74, 277 => 73, 274 => 72, 271 => 71, 268 => 70, 265 => 69, 262 => 68, 259 => 67, 256 => 66, 253 => 65, 250 => 64, 247 => 63, 244 => 62, 241 => 61, 238 => 60, 235 => 59, 232 => 58, 229 => 57, 226 => 56, 223 => 55, 220 => 54, 217 => 53, 214 => 52, 211 => 51, 208 => 50, 205 => 49, 203 => 48, 202 => 47, 201 => 46, 200 => 45, 198 => 44, 195 => 43, 192 => 42, 189 => 41, 186 => 40, 183 => 39, 180 => 38, 177 => 37, 174 => 36, 171 => 35, 168 => 34, 165 => 33, 162 => 32, 159 => 31, 156 => 30, 153 => 29, 151 => 28, 150 => 27, 149 => 26, 148 => 25, 147 => 24, 145 => 23, 142 => 22, 139 => 21, 136 => 20, 133 => 19, 130 => 18, 127 => 17, 124 => 16, 121 => 15, 118 => 14, 116 => 13, 114 => 12, 111 => 11, 108 => 10, 105 => 9, 102 => 8, 99 => 7, 96 => 6, 78 => 5, 76 => 4, 71 => 3, 61 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"base.html.twig\" %}
{% block style %}
{{ parent() }}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'previews_css'} %}
{% for block in content.main_content %}
{% if block.type == 'articles_type' %}
{% include \"css/previews-critical-css.html.twig\" %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'loader_css'} %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'filter_css'} %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'preview_thematique_css'} %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'pagination_css'} %}
{% if (block.filter is defined and block.filter == \"fiches_territoires\") or
(block.filter is defined and block.filter == \"experiences\") %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'map_css'} %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'territory_css'} %}
{% endif %}
{% if block.filter is defined and block.filter == \"fiches_territoires\" %}
{% include \"css/territoire-critical-css.html.twig\" %}
{% endif %}
{% if block.filter is defined and block.filter == \"experiences\" %}
{% include \"css/experience-critical-css.html.twig\" %}
{% endif %}
{% if block.filter == 'articles' or
block.filter == \"analyses\" or
block.filter == \"guides_outils\" or
block.filter == \"agenda\" or
block.filter == \"aapami\" or
block.filter == \"offre\" %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'flatpickr_css'} %}
{% endif %}
{% endif %}
{% if block.type == 'annuaire' %}
{% include \"css/annuaire-critical-css.html.twig\" %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'filter_css'} %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'pagination_css'} %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'userlist_css'} %}
{% endif %}
{% if block.type == 'contact_modalite' %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'map_css'} %}
{% endif %}
{% if block.type == 'block_team' %}
{% include \"css/equipe-critical-css.html.twig\" %}
{% endif %}
{% if block.type == 'block_team' or
block.type == \"frame\" or
block.type == \"text_pic\" or
block.type == \"theme_pic\" or
block.type == \"contact_modalite\" %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'frame_css'} %}
{% endif %}
{% if block.type == 'h2_anchor' %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'anchors_css'} %}
{% endif %}
{% if block.type == \"preview_content\" %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'preview_thematique_css'} %}
{% if block.slider_mode %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'splide_css'} %}
{% endif %}
{% endif %}
{% if block.type == \"preview_thematique\" %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'preview_thematique_css'} %}
{% endif %}
{% if block.type == \"preview_simple\" %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'preview_thematique_css'} %}
{% endif %}
{% if block.type == \"see_more\" %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'splide_css'} %}
{% endif %}
{% if block.type == \"form\" %}
{% include \"css/form-critical-css.html.twig\" %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'form_css'} %}
{% endif %}
{% if block.type == \"thematiques_page\" %}
{% include \"css/page-thematique-critical-css.html.twig\" %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'preview_thematique_css'} %}
{% endif %}
{% if block.type == \"freetext\" %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'freetext_css'} %}
{% endif %}
{% if block.type == \"media\" %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'media_css'} %}
{% if block.youtube_link %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'youtube_css'} %}
{% endif %}
{% endif %}
{% endfor %}
{% endblock %}
{% block content %}
<div class=\"{% if content.header_img is defined and content.header_img is not empty %}main-title{% else %}small-main-title{% endif %} dflex fdc aic jcc prelative\">
{% include \"pages/headers/pqna-page-header.html.twig\" %}
{% if content.header_img is defined and content.header_img is not empty %}
<div class=\"background-color-blue\"></div>
{% endif %}
</div>
<div class=\"main-container w100 plr-1em\">
<div class=\"content\">
<div class=\"blocks w100\">
{% include \"blocks/error.html.twig\" %}
{% for block in content.main_content %}
{% if block.type == 'articles_type' %}
{% include \"blocks/articles.html.twig\" %}
{% elseif block.type == 'freetext' %}
{% include \"articles-blocks/freetext.html.twig\" with {data: block} %}
{% elseif block.type == 'form' %}
<div class=\"form-container tac dflex jcc fwrap\">
{% include \"blocks/form.html.twig\" %}
</div>
{% elseif block.type == 'media' %}
{% include \"articles-blocks/media.html.twig\" with {data: block} %}
{% elseif block.type == \"map\" %}
{% include \"blocks/map.html.twig\" %}
{% elseif block.type == \"preview_content\" or block.type == \"preview_thematique\" %}
{% include \"blocks/preview-content.html.twig\" %}
{% elseif block.type == \"preview_simple\" %}
{% include \"blocks/preview-content-simple.html.twig\" %}
{% elseif block.type == \"h2_anchor\" %}
{% include \"blocks/h2-anchor.html.twig\" %}
{% elseif block.type == \"frame\" %}
{% include \"blocks/block-picbkg-frame.html.twig\" %}
{% elseif block.type == \"text_pic\" %}
{% include \"blocks/text-pic.html.twig\" %}
{% elseif block.type == \"theme_pic\" %}
{% include \"blocks/block-pic-quad-theme.html.twig\" %}
{% elseif block.type == \"block_team\" %}
{% include \"blocks/teams-display.html.twig\" %}
{% elseif block.type == \"contact_modalite\" %}
{% include \"blocks/modalite.html.twig\" %}
{% elseif block.type == \"thematiques_page\" %}
{% include \"blocks/thematiques-page.html.twig\" %}
{% elseif block.type == \"see_more\" %}
{% include \"articles-blocks/see-more.html.twig\" with {data: block} %}
{% elseif block.type == \"annuaire\" %}
{% include \"blocks/annuaire.html.twig\" with {data: block} %}
{% endif %}
{% endfor %}
</div>
</div>
</div>
{% endblock %}
{% block javascripts %}
{% for block in content.main_content %}
{% if block.type == 'articles_type' %}
{{ encore_entry_script_tags('articles_api') }}
{% if (block.filter is defined and block.filter == \"fiches_territoires\")
or (block.filter is defined and block.filter == \"experiences\") %}
{{ encore_entry_script_tags('toggle_map') }}
{% endif %}
{% elseif block.type == \"map\" or block.type == \"contact_modalite\" %}
{{ encore_entry_script_tags('map') }}
{% elseif block.type == \"h2_anchor\" %}
{{ encore_entry_script_tags('h2_anchor') }}
{% elseif block.type == \"see_more\" %}
{{ encore_entry_script_tags('splide') }}
{% elseif block.type == \"preview_content\" %}
{% if block.slider_mode %}
{{ encore_entry_script_tags('splide') }}
{% endif %}
{% elseif block.type == \"annuaire\" %}
{{ encore_entry_script_tags('annuaire_filter') }}
{% elseif block.type == \"media\" %}
{% if block.select == \"youtube_link\" %}
{{ encore_entry_script_tags('lite-youtube') }}
{{ encore_entry_script_tags('youtube_defer') }}
{% endif %}
{% endif %}
{% endfor %}
{{ parent() }}
{% endblock %}", "pages/pqna.html.twig", "/var/www/html/templates/pages/pqna.html.twig");
}
}