<?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;
/* articles/experiences.html.twig */
class __TwigTemplate_49e476b47c4c83d248051709d1780b81487fcb4dc160a8da68045a0e0d746eb5 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", "articles/experiences.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "articles/experiences.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "articles/experiences.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 3
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 4
yield "\t";
yield from $this->yieldParentBlock("style", $context, $blocks);
yield "
\t";
// line 5
yield from $this->loadTemplate("css/article-critical-css.html.twig", "articles/experiences.html.twig", 5)->unwrap()->yield($context);
// line 6
yield "\t";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "articles/experiences.html.twig", 6)->unwrap()->yield(CoreExtension::merge($context, ["file" => "articles_css"]));
// line 7
yield "\t";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "articles/experiences.html.twig", 7)->unwrap()->yield(CoreExtension::merge($context, ["file" => "sns_icons_css"]));
// line 8
yield "\t";
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "adresse", [], "any", true, true, false, 8) && !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.', 8, $this->source); })()), "adresse", [], "any", false, false, false, 8)))) {
// line 9
yield "\t\t";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "articles/experiences.html.twig", 9)->unwrap()->yield(CoreExtension::merge($context, ["file" => "map_css"]));
// line 10
yield "\t";
}
// line 11
yield "\t";
if (((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "main_content", [], "any", true, true, false, 11) && !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.', 11, $this->source); })()), "main_content", [], "any", false, false, false, 11))) && (1 === CoreExtension::compare(Twig\Extension\CoreExtension::length($this->env->getCharset(), 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.', 11, $this->source); })()), "main_content", [], "any", false, false, false, 11)), 0)))) {
// line 12
yield "\t\t";
$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.', 12, $this->source); })()), "main_content", [], "any", false, false, false, 12));
$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["data"]) {
// line 13
yield "\t\t\t";
$context["block"] = $context["data"];
// line 14
yield "\t\t\t";
if ((((((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "type", [], "any", false, false, false, 14), "triple_frame")) || (0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, // line 15
$context["data"], "type", [], "any", false, false, false, 15), "text_pic"))) || (0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, // line 16
$context["data"], "type", [], "any", false, false, false, 16), "solution_frame"))) || (0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, // line 17
$context["data"], "type", [], "any", false, false, false, 17), "block_wrap"))) || (0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, // line 18
$context["data"], "type", [], "any", false, false, false, 18), "block_blue_back")))) {
// line 19
yield "\t\t\t\t";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "articles/experiences.html.twig", 19)->unwrap()->yield(CoreExtension::merge($context, ["file" => "frame_css"]));
// line 20
yield "\t\t\t";
}
// line 21
yield "\t\t\t";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "type", [], "any", false, false, false, 21), "youtube"))) {
// line 22
yield "\t\t\t\t";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "articles/experiences.html.twig", 22)->unwrap()->yield(CoreExtension::merge($context, ["file" => "youtube_css"]));
// line 23
yield "\t\t\t";
}
// line 24
yield "\t\t\t";
if (((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "type", [], "any", false, false, false, 24), "linked_with")) || (0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "type", [], "any", false, false, false, 24), "see_more")))) {
// line 25
yield "\t\t\t\t";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "articles/experiences.html.twig", 25)->unwrap()->yield(CoreExtension::merge($context, ["file" => "splide_css"]));
// line 26
yield "\t\t\t\t";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "articles/experiences.html.twig", 26)->unwrap()->yield(CoreExtension::merge($context, ["file" => "previews_css"]));
// line 27
yield "\t\t\t\t";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "articles/experiences.html.twig", 27)->unwrap()->yield(CoreExtension::merge($context, ["file" => "preview_thematique_css"]));
// line 28
yield "\t\t\t";
}
// line 29
yield "\t\t\t";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "type", [], "any", false, false, false, 29), "citation"))) {
// line 30
yield "\t\t\t\t";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "articles/experiences.html.twig", 30)->unwrap()->yield(CoreExtension::merge($context, ["file" => "citation_css"]));
// line 31
yield "\t\t\t";
}
// line 32
yield "\t\t\t";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "type", [], "any", false, false, false, 32), "text"))) {
// line 33
yield "\t\t\t\t";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "articles/experiences.html.twig", 33)->unwrap()->yield(CoreExtension::merge($context, ["file" => "freetext_css"]));
// line 34
yield "\t\t\t";
}
// line 35
yield "\t\t";
++$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['data'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 36
yield "\t";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 38
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 39
yield "\t";
$context["values"] = "";
// line 40
yield "\t";
$context["values"] = ["Acteurs & territoires", "Expériences"];
// line 41
yield "\t";
yield from $this->loadTemplate("articles-blocks/breadcrumb.html.twig", "articles/experiences.html.twig", 41)->unwrap()->yield(CoreExtension::merge($context, ["titles" => (isset($context["values"]) || array_key_exists("values", $context) ? $context["values"] : (function () { throw new RuntimeError('Variable "values" does not exist.', 41, $this->source); })())]));
// line 42
yield "\t<div class=\"main-container w100 plr-1em single-article-container\">
\t\t<article>
\t\t\t<div class=\"";
// line 44
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "header_img", [], "any", true, true, false, 44) && !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.', 44, $this->source); })()), "header_img", [], "any", false, false, false, 44)))) {
yield "main-title";
} else {
yield "small-main-title";
}
yield " br8 dflex aic jcc\">
\t\t\t";
// line 45
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "header_img", [], "any", true, true, false, 45) && !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.', 45, $this->source); })()), "header_img", [], "any", false, false, false, 45)))) {
// line 46
yield "\t\t\t\t<img loading=\"lazy\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 46, $this->source); })()), "header_img", [], "any", false, false, false, 46), "formats", [], "any", false, false, false, 46), "1000x.webp", [], "array", false, false, false, 46), "html", null, true);
yield "\" srcset=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 46, $this->source); })()), "header_img", [], "any", false, false, false, 46), "formats", [], "any", false, false, false, 46), "300x.webp", [], "array", false, false, false, 46), "html", null, true);
yield " 300w, ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 46, $this->source); })()), "header_img", [], "any", false, false, false, 46), "formats", [], "any", false, false, false, 46), "600x.webp", [], "array", false, false, false, 46), "html", null, true);
yield " 600w, ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 46, $this->source); })()), "header_img", [], "any", false, false, false, 46), "formats", [], "any", false, false, false, 46), "1000x.webp", [], "array", false, false, false, 46), "html", null, true);
yield " 1000w\" sizes=\"1000px\" alt=\"";
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.', 46, $this->source); })()), "header_img", [], "any", false, false, false, 46)), "html", null, true);
yield "\" width=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 46, $this->source); })()), "header_img", [], "any", false, false, false, 46), "fileVersion", [], "any", false, false, false, 46), "properties", [], "any", false, false, false, 46), "width", [], "any", false, false, false, 46), "html", null, true);
yield "\" height=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 46, $this->source); })()), "header_img", [], "any", false, false, false, 46), "fileVersion", [], "any", false, false, false, 46), "properties", [], "any", false, false, false, 46), "height", [], "any", false, false, false, 46), "html", null, true);
yield "\">
\t\t\t";
}
// line 48
yield "\t\t\t<div class=\"zi1 prelative team-project-head dflex jcc aic fdc\">
\t\t\t\t<div class=\"center\">
\t\t\t\t\t<h1 class=\"";
// line 50
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "header_img", [], "any", true, true, false, 50) && !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.', 50, $this->source); })()), "header_img", [], "any", false, false, false, 50)))) {
yield "cwhite";
} else {
yield "cblue";
}
yield "\">";
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.', 50, $this->source); })()), "title", [], "any", false, false, false, 50), "html", null, true);
yield "</h1>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t";
// line 53
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "header_img", [], "any", true, true, false, 53) && !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.', 53, $this->source); })()), "header_img", [], "any", false, false, false, 53)))) {
// line 54
yield "\t\t\t\t<div class=\"background-color-blue\"></div>
\t\t\t";
}
// line 56
yield "\t\t\t</div>
\t\t\t";
// line 57
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "header_img", [], "any", true, true, false, 57) && !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", false, false, false, 57)))) {
// line 58
yield "\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, 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.', 58, $this->source); })()), "header_img", [], "any", false, false, false, 58), "credits", [], "any", false, false, false, 58) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, 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.', 58, $this->source); })()), "header_img", [], "any", false, false, false, 58), "credits", [], "any", false, false, false, 58)))) {
// line 59
yield "\t\t\t\t\t<div class=\"cgrey fs12 lh16 credit mt-8px\">© CrĂ©dit Photo
\t\t\t\t\t\t";
// line 60
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, 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.', 60, $this->source); })()), "header_img", [], "any", false, false, false, 60), "credits", [], "any", false, false, false, 60), "html", null, true);
yield "</div>
\t\t\t\t";
}
// line 62
yield "\t\t\t";
}
// line 63
yield "\t\t\t";
yield from $this->loadTemplate("articles/blocks/article-under-header.html.twig", "articles/experiences.html.twig", 63)->unwrap()->yield($context);
// line 64
yield "\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "departement", [], "any", true, true, false, 64) && !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.', 64, $this->source); })()), "departement", [], "any", false, false, false, 64)))) {
// line 65
yield "\t\t\t\t<div class=\"dflex fwwrap\">
\t\t\t\t\t<div class=\"departement-tag cwhite fw600 departement-exp mb-2em mt-40px\">";
// line 66
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.', 66, $this->source); })()), "departement", [], "any", false, false, false, 66), "html", null, true);
yield "</div>
\t\t\t\t</div>
\t\t\t";
}
// line 69
yield "\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "desc", [], "any", true, true, false, 69) && !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.', 69, $this->source); })()), "desc", [], "any", false, false, false, 69)))) {
// line 70
yield "\t\t\t\t<div class=\"actualites-PQNA mb-16px fs20 lh28 f500 cgrey\">
\t\t\t\t\t";
// line 71
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.', 71, $this->source); })()), "desc", [], "any", false, false, false, 71);
yield "
\t\t\t\t</div>
\t\t\t";
}
// line 74
yield "\t\t\t<div class=\"mb-2em dflex w100\">
\t\t\t\t";
// line 75
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["extension"] ?? null), "excerpt", [], "any", false, true, false, 75), "categories", [], "any", true, true, false, 75) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["extension"]) || array_key_exists("extension", $context) ? $context["extension"] : (function () { throw new RuntimeError('Variable "extension" does not exist.', 75, $this->source); })()), "excerpt", [], "any", false, false, false, 75), "categories", [], "any", false, false, false, 75)))) {
// line 76
yield "\t\t\t\t\t<div class=\"small-thematique-container\">
\t\t\t\t\t\t";
// line 77
$context["categories"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["extension"]) || array_key_exists("extension", $context) ? $context["extension"] : (function () { throw new RuntimeError('Variable "extension" does not exist.', 77, $this->source); })()), "excerpt", [], "any", false, false, false, 77), "categories", [], "any", false, false, false, 77);
// line 78
yield "\t\t\t\t\t\t";
yield from $this->loadTemplate("blocks/previews-from-controller/blocks/categories.html.twig", "articles/experiences.html.twig", 78)->unwrap()->yield($context);
// line 79
yield "\t\t\t\t\t</div>
\t\t\t\t";
}
// line 81
yield "\t\t\t</div>
\t\t\t<div class=\"structure-class\">
\t\t\t\t";
// line 83
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "societe_porteuse", [], "any", false, true, false, 83), "name", [], "any", true, true, false, 83) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, 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.', 83, $this->source); })()), "societe_porteuse", [], "any", false, false, false, 83), "name", [], "any", false, false, false, 83)))) {
// line 84
yield "\t\t\t\t\t<h2 class=\"mb-20px structure-class-title\">
\t\t\t\t\t\tStructure Porteuse :
\t\t\t\t\t\t";
// line 86
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, 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.', 86, $this->source); })()), "societe_porteuse", [], "any", false, false, false, 86), "name", [], "any", false, false, false, 86), "html", null, true);
yield "
\t\t\t\t\t</h2>
\t\t\t\t";
}
// line 89
yield "\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "structure_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); })()), "structure_img", [], "any", false, false, false, 89)))) {
// line 90
yield "\t\t\t\t\t<div class=\"br8 dflex aic jcc structure-class-image\">
\t\t\t\t\t\t<img loading=\"lazy\" src=\"";
// line 91
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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); })()), "structure_img", [], "any", false, false, false, 91), "formats", [], "any", false, false, false, 91), "1000x.webp", [], "array", false, false, false, 91), "html", null, true);
yield "\" srcset=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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); })()), "structure_img", [], "any", false, false, false, 91), "formats", [], "any", false, false, false, 91), "300x.webp", [], "array", false, false, false, 91), "html", null, true);
yield " 300w, ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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); })()), "structure_img", [], "any", false, false, false, 91), "formats", [], "any", false, false, false, 91), "600x.webp", [], "array", false, false, false, 91), "html", null, true);
yield " 600w, ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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); })()), "structure_img", [], "any", false, false, false, 91), "formats", [], "any", false, false, false, 91), "1000x.webp", [], "array", false, false, false, 91), "html", null, true);
yield " 1000w\" sizes=\"1000px\" alt=\"";
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.', 91, $this->source); })()), "structure_img", [], "any", false, false, false, 91)), "html", null, true);
yield "\" width=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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); })()), "structure_img", [], "any", false, false, false, 91), "fileVersion", [], "any", false, false, false, 91), "properties", [], "any", false, false, false, 91), "width", [], "any", false, false, false, 91), "html", null, true);
yield "\" height=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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); })()), "structure_img", [], "any", false, false, false, 91), "fileVersion", [], "any", false, false, false, 91), "properties", [], "any", false, false, false, 91), "height", [], "any", false, false, false, 91), "html", null, true);
yield "\">
\t\t\t\t\t</div>
\t\t\t\t";
}
// line 94
yield "\t\t\t</div>
\t\t\t";
// line 95
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "adresse", [], "any", true, true, false, 95) && !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.', 95, $this->source); })()), "adresse", [], "any", false, false, false, 95)))) {
// line 96
yield "\t\t\t\t";
$context["map"] = 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.', 96, $this->source); })()), "adresse", [], "any", false, false, false, 96);
// line 97
yield "\t\t\t\t";
$context["display_map"] = true;
// line 98
yield "\t\t\t";
}
// line 99
yield "\t\t\t";
if (((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "main_content", [], "any", true, true, false, 99) && !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.', 99, $this->source); })()), "main_content", [], "any", false, false, false, 99))) && (1 === CoreExtension::compare(Twig\Extension\CoreExtension::length($this->env->getCharset(), 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)), 0)))) {
// line 100
yield "\t\t\t\t";
$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.', 100, $this->source); })()), "main_content", [], "any", false, false, false, 100));
$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["data"]) {
// line 101
yield "\t\t\t\t\t";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "type", [], "any", false, false, false, 101), "text"))) {
// line 102
yield "\t\t\t\t\t\t";
yield from $this->loadTemplate("articles-blocks/freetext.html.twig", "articles/experiences.html.twig", 102)->unwrap()->yield($context);
// line 103
yield "\t\t\t\t\t";
}
// line 104
yield "\t\t\t\t\t";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "type", [], "any", false, false, false, 104), "triple_frame"))) {
// line 105
yield "\t\t\t\t\t\t";
yield from $this->loadTemplate("articles-blocks/triple-frame-block.html.twig", "articles/experiences.html.twig", 105)->unwrap()->yield($context);
// line 106
yield "\t\t\t\t\t";
}
// line 107
yield "\t\t\t\t\t";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "type", [], "any", false, false, false, 107), "text_pic"))) {
// line 108
yield "\t\t\t\t\t\t";
yield from $this->loadTemplate("blocks/text-pic.html.twig", "articles/experiences.html.twig", 108)->unwrap()->yield(CoreExtension::merge($context, ["block" => $context["data"]]));
// line 109
yield "\t\t\t\t\t";
}
// line 110
yield "\t\t\t\t\t";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "type", [], "any", false, false, false, 110), "citation"))) {
// line 111
yield "\t\t\t\t\t\t";
yield from $this->loadTemplate("articles-blocks/citation.html.twig", "articles/experiences.html.twig", 111)->unwrap()->yield($context);
// line 112
yield "\t\t\t\t\t";
}
// line 113
yield "\t\t\t\t\t";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "type", [], "any", false, false, false, 113), "solution_frame"))) {
// line 114
yield "\t\t\t\t\t\t";
yield from $this->loadTemplate("blocks/block-picbkg-frame.html.twig", "articles/experiences.html.twig", 114)->unwrap()->yield(CoreExtension::merge($context, ["block" => $context["data"]]));
// line 115
yield "\t\t\t\t\t";
}
// line 116
yield "\t\t\t\t\t";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "type", [], "any", false, false, false, 116), "block_wrap"))) {
// line 117
yield "\t\t\t\t\t\t";
yield from $this->loadTemplate("articles-blocks/block-wrap.html.twig", "articles/experiences.html.twig", 117)->unwrap()->yield($context);
// line 118
yield "\t\t\t\t\t";
}
// line 119
yield "\t\t\t\t\t";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "type", [], "any", false, false, false, 119), "block_blue_back"))) {
// line 120
yield "\t\t\t\t\t\t";
yield from $this->loadTemplate("articles-blocks/block-blue-background.html.twig", "articles/experiences.html.twig", 120)->unwrap()->yield($context);
// line 121
yield "\t\t\t\t\t";
}
// line 122
yield "\t\t\t\t\t";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "type", [], "any", false, false, false, 122), "youtube"))) {
// line 123
yield "\t\t\t\t\t\t";
$context["embed_link"] = Twig\Extension\CoreExtension::replace(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "video_link", [], "any", false, false, false, 123), ["watch?v=" => "embed/"]);
// line 124
yield "\t\t\t\t\t\t";
$context["embed_link_splitted"] = Twig\Extension\CoreExtension::split($this->env->getCharset(), (isset($context["embed_link"]) || array_key_exists("embed_link", $context) ? $context["embed_link"] : (function () { throw new RuntimeError('Variable "embed_link" does not exist.', 124, $this->source); })()), "/");
// line 125
yield "\t\t\t\t\t\t";
$context["videoID"] = Twig\Extension\CoreExtension::last($this->env->getCharset(), (isset($context["embed_link_splitted"]) || array_key_exists("embed_link_splitted", $context) ? $context["embed_link_splitted"] : (function () { throw new RuntimeError('Variable "embed_link_splitted" does not exist.', 125, $this->source); })()));
// line 126
yield "\t\t\t\t\t\t";
// line 127
yield "\t\t\t\t\t\t<div class=\"video-responsive mt-1em\">
\t\t\t\t\t\t\t<lite-youtube videoid=\"";
// line 128
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["videoID"]) || array_key_exists("videoID", $context) ? $context["videoID"] : (function () { throw new RuntimeError('Variable "videoID" does not exist.', 128, $this->source); })()), "html", null, true);
yield "\" class=\"br8\" params=\"controls=1&start=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "timestamp", [], "any", false, false, false, 128), "html", null, true);
yield "&modestbranding=2&rel=0&enablejsapi=1\"></lite-youtube>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 131
yield "
\t\t\t\t\t";
// line 132
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "type", [], "any", false, false, false, 132), "file"))) {
// line 133
yield "\t\t\t\t\t\t";
$context["block"] = $context["data"];
// line 134
yield "\t\t\t\t\t\t";
yield from $this->loadTemplate("blocks/file.html.twig", "articles/experiences.html.twig", 134)->unwrap()->yield($context);
// line 135
yield "\t\t\t\t\t";
}
// line 136
yield "\t\t\t\t";
++$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['data'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 137
yield "\t\t\t";
}
// line 138
yield "\t\t\t";
if ((array_key_exists("display_map", $context) && !Twig\Extension\CoreExtension::testEmpty((isset($context["display_map"]) || array_key_exists("display_map", $context) ? $context["display_map"] : (function () { throw new RuntimeError('Variable "display_map" does not exist.', 138, $this->source); })())))) {
// line 139
yield "\t\t\t\t";
yield from $this->loadTemplate("articles-blocks/simple-map.html.twig", "articles/experiences.html.twig", 139)->unwrap()->yield($context);
// line 140
yield "\t\t\t";
}
// line 141
yield "\t\t\t";
if (((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "main_content", [], "any", true, true, false, 141) && !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.', 141, $this->source); })()), "main_content", [], "any", false, false, false, 141))) && (1 === CoreExtension::compare(Twig\Extension\CoreExtension::length($this->env->getCharset(), 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)), 0)))) {
// line 142
yield "\t\t\t\t";
$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.', 142, $this->source); })()), "main_content", [], "any", false, false, false, 142));
$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["data"]) {
// line 143
yield "\t\t\t\t\t";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "type", [], "any", false, false, false, 143), "linked_with"))) {
// line 144
yield "\t\t\t\t\t\t";
yield from $this->loadTemplate("articles-blocks/linked-with.html.twig", "articles/experiences.html.twig", 144)->unwrap()->yield($context);
// line 145
yield "\t\t\t\t\t";
}
// line 146
yield "\t\t\t\t\t";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "type", [], "any", false, false, false, 146), "see_more"))) {
// line 147
yield "\t\t\t\t\t\t";
yield from $this->loadTemplate("articles-blocks/see-more.html.twig", "articles/experiences.html.twig", 147)->unwrap()->yield($context);
// line 148
yield "\t\t\t\t\t";
}
// line 149
yield "\t\t\t\t";
++$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['data'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 150
yield "\t\t\t";
}
// line 151
yield "\t\t</article>
\t</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 154
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 155
yield "\t";
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "adresse", [], "any", true, true, false, 155) && !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.', 155, $this->source); })()), "adresse", [], "any", false, false, false, 155)))) {
// line 156
yield "\t\t";
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("map");
yield "
\t";
}
// line 158
yield "\t";
if ((1 === CoreExtension::compare(Twig\Extension\CoreExtension::length($this->env->getCharset(), 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.', 158, $this->source); })()), "main_content", [], "any", false, false, false, 158)), 0))) {
// line 159
yield "\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["content"], "main_content", [], "any", false, false, false, 159));
foreach ($context['_seq'] as $context["_key"] => $context["content"]) {
// line 160
yield "\t\t\t";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["content"], "type", [], "any", false, false, false, 160), "youtube"))) {
// line 161
yield "\t\t\t\t";
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("youtube_defer");
yield "
\t\t\t\t";
// line 162
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("lite-youtube");
yield "
\t\t\t";
}
// line 164
yield "\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['content'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 165
yield "\t";
}
// line 166
yield " ";
yield from $this->loadTemplate("articles/javascripts/base-article-js.html.twig", "articles/experiences.html.twig", 166)->unwrap()->yield($context);
// 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 "articles/experiences.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 658 => 167, 655 => 166, 652 => 165, 646 => 164, 641 => 162, 636 => 161, 633 => 160, 628 => 159, 625 => 158, 619 => 156, 616 => 155, 606 => 154, 593 => 151, 590 => 150, 576 => 149, 573 => 148, 570 => 147, 567 => 146, 564 => 145, 561 => 144, 558 => 143, 540 => 142, 537 => 141, 534 => 140, 531 => 139, 528 => 138, 525 => 137, 511 => 136, 508 => 135, 505 => 134, 502 => 133, 500 => 132, 497 => 131, 489 => 128, 486 => 127, 484 => 126, 481 => 125, 478 => 124, 475 => 123, 472 => 122, 469 => 121, 466 => 120, 463 => 119, 460 => 118, 457 => 117, 454 => 116, 451 => 115, 448 => 114, 445 => 113, 442 => 112, 439 => 111, 436 => 110, 433 => 109, 430 => 108, 427 => 107, 424 => 106, 421 => 105, 418 => 104, 415 => 103, 412 => 102, 409 => 101, 391 => 100, 388 => 99, 385 => 98, 382 => 97, 379 => 96, 377 => 95, 374 => 94, 356 => 91, 353 => 90, 350 => 89, 344 => 86, 340 => 84, 338 => 83, 334 => 81, 330 => 79, 327 => 78, 325 => 77, 322 => 76, 320 => 75, 317 => 74, 311 => 71, 308 => 70, 305 => 69, 299 => 66, 296 => 65, 293 => 64, 290 => 63, 287 => 62, 282 => 60, 279 => 59, 276 => 58, 274 => 57, 271 => 56, 267 => 54, 265 => 53, 253 => 50, 249 => 48, 231 => 46, 229 => 45, 221 => 44, 217 => 42, 214 => 41, 211 => 40, 208 => 39, 198 => 38, 186 => 36, 172 => 35, 169 => 34, 166 => 33, 163 => 32, 160 => 31, 157 => 30, 154 => 29, 151 => 28, 148 => 27, 145 => 26, 142 => 25, 139 => 24, 136 => 23, 133 => 22, 130 => 21, 127 => 20, 124 => 19, 122 => 18, 121 => 17, 120 => 16, 119 => 15, 117 => 14, 114 => 13, 96 => 12, 93 => 11, 90 => 10, 87 => 9, 84 => 8, 81 => 7, 78 => 6, 76 => 5, 71 => 4, 61 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"base.html.twig\" %}
{# extension.excerpt #}
{% block style %}
\t{{ parent() }}
\t{% include \"css/article-critical-css.html.twig\" %}
\t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'articles_css'} %}
\t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'sns_icons_css'} %}
\t{% if content.adresse is defined and content.adresse is not empty %}
\t\t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'map_css'} %}
\t{% endif %}
\t{% if content.main_content is defined and content.main_content is not empty and content.main_content|length > 0 %}
\t\t{% for data in content.main_content %}
\t\t\t{% set block = data %}
\t\t\t{% if data.type == \"triple_frame\" or
\t\t\t\tdata.type == \"text_pic\" or
\t\t\t\tdata.type == \"solution_frame\" or
\t\t\t\tdata.type == \"block_wrap\" or
\t\t\t\tdata.type == \"block_blue_back\" %}
\t\t\t\t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'frame_css'} %}
\t\t\t{% endif %}
\t\t\t{% if data.type == \"youtube\" %}
\t\t\t\t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'youtube_css'} %}
\t\t\t{% endif %}
\t\t\t{% if data.type == \"linked_with\" or data.type == \"see_more\" %}
\t\t\t\t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'splide_css'} %}
\t\t\t\t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'previews_css'} %}
\t\t\t\t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'preview_thematique_css'} %}
\t\t\t{% endif %}
\t\t\t{% if data.type == \"citation\" %}
\t\t\t\t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'citation_css'} %}
\t\t\t{% endif %}
\t\t\t{% if data.type == \"text\" %}
\t\t\t\t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'freetext_css'} %}
\t\t\t{% endif %}
\t\t{% endfor %}
\t{% endif %}
{% endblock %}
{% block content %}
\t{% set values = \"\" %}
\t{% set values = ['Acteurs & territoires', 'Expériences'] %}
\t{% include \"articles-blocks/breadcrumb.html.twig\" with {titles : values} %}
\t<div class=\"main-container w100 plr-1em single-article-container\">
\t\t<article>
\t\t\t<div class=\"{% if content.header_img is defined and content.header_img is not empty %}main-title{% else %}small-main-title{% endif %} br8 dflex aic jcc\">
\t\t\t{% if content.header_img is defined and content.header_img is not empty %}
\t\t\t\t<img loading=\"lazy\" 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['1000x.webp'] }} 1000w\" sizes=\"1000px\" alt=\"{{ content.header_img | copyright_or_description_or_title }}\" width=\"{{ content.header_img.fileVersion.properties.width }}\" height=\"{{ content.header_img.fileVersion.properties.height }}\">
\t\t\t{% endif %}
\t\t\t<div class=\"zi1 prelative team-project-head dflex jcc aic fdc\">
\t\t\t\t<div class=\"center\">
\t\t\t\t\t<h1 class=\"{% if content.header_img is defined and content.header_img is not empty %}cwhite{% else %}cblue{% endif %}\">{{ content.title }}</h1>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t{% if content.header_img is defined and content.header_img is not empty %}
\t\t\t\t<div class=\"background-color-blue\"></div>
\t\t\t{% endif %}
\t\t\t</div>
\t\t\t{% if content.header_img is defined and content.header_img is not empty %}
\t\t\t\t{% if content.header_img.credits and content.header_img.credits is not empty %}
\t\t\t\t\t<div class=\"cgrey fs12 lh16 credit mt-8px\">© CrĂ©dit Photo
\t\t\t\t\t\t{{ content.header_img.credits }}</div>
\t\t\t\t{% endif %}
\t\t\t{% endif %}
\t\t\t{% include \"articles/blocks/article-under-header.html.twig\" %}
\t\t\t{% if content.departement is defined and content.departement is not empty %}
\t\t\t\t<div class=\"dflex fwwrap\">
\t\t\t\t\t<div class=\"departement-tag cwhite fw600 departement-exp mb-2em mt-40px\">{{ content.departement }}</div>
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t\t{% if content.desc is defined and content.desc is not empty %}
\t\t\t\t<div class=\"actualites-PQNA mb-16px fs20 lh28 f500 cgrey\">
\t\t\t\t\t{{ content.desc|raw }}
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t\t<div class=\"mb-2em dflex w100\">
\t\t\t\t{% if extension.excerpt.categories is defined and extension.excerpt.categories is not empty %}
\t\t\t\t\t<div class=\"small-thematique-container\">
\t\t\t\t\t\t{% set categories = extension.excerpt.categories %}
\t\t\t\t\t\t{% include \"blocks/previews-from-controller/blocks/categories.html.twig\" %}
\t\t\t\t\t</div>
\t\t\t\t{% endif %}
\t\t\t</div>
\t\t\t<div class=\"structure-class\">
\t\t\t\t{% if content.societe_porteuse.name is defined and content.societe_porteuse.name is not empty %}
\t\t\t\t\t<h2 class=\"mb-20px structure-class-title\">
\t\t\t\t\t\tStructure Porteuse :
\t\t\t\t\t\t{{ content.societe_porteuse.name }}
\t\t\t\t\t</h2>
\t\t\t\t{% endif %}
\t\t\t\t{% if content.structure_img is defined and content.structure_img is not empty %}
\t\t\t\t\t<div class=\"br8 dflex aic jcc structure-class-image\">
\t\t\t\t\t\t<img loading=\"lazy\" src=\"{{ content.structure_img.formats['1000x.webp'] }}\" srcset=\"{{ content.structure_img.formats['300x.webp'] }} 300w, {{ content.structure_img.formats['600x.webp'] }} 600w, {{ content.structure_img.formats['1000x.webp'] }} 1000w\" sizes=\"1000px\" alt=\"{{ content.structure_img | copyright_or_description_or_title }}\" width=\"{{ content.structure_img.fileVersion.properties.width }}\" height=\"{{ content.structure_img.fileVersion.properties.height }}\">
\t\t\t\t\t</div>
\t\t\t\t{% endif %}
\t\t\t</div>
\t\t\t{% if content.adresse is defined and content.adresse is not empty %}
\t\t\t\t{% set map = content.adresse %}
\t\t\t\t{% set display_map = true %}
\t\t\t{% endif %}
\t\t\t{% if content.main_content is defined and content.main_content is not empty and content.main_content|length > 0 %}
\t\t\t\t{% for data in content.main_content %}
\t\t\t\t\t{% if data.type ==\"text\" %}
\t\t\t\t\t\t{% include \"articles-blocks/freetext.html.twig\" %}
\t\t\t\t\t{% endif %}
\t\t\t\t\t{% if data.type == \"triple_frame\" %}
\t\t\t\t\t\t{% include \"articles-blocks/triple-frame-block.html.twig\" %}
\t\t\t\t\t{% endif %}
\t\t\t\t\t{% if data.type == \"text_pic\" %}
\t\t\t\t\t\t{% include \"blocks/text-pic.html.twig\" with {block: data} %}
\t\t\t\t\t{% endif %}
\t\t\t\t\t{% if data.type == \"citation\" %}
\t\t\t\t\t\t{% include \"articles-blocks/citation.html.twig\" %}
\t\t\t\t\t{% endif %}
\t\t\t\t\t{% if data.type == \"solution_frame\" %}
\t\t\t\t\t\t{% include \"blocks/block-picbkg-frame.html.twig\" with {block: data} %}
\t\t\t\t\t{% endif %}
\t\t\t\t\t{% if data.type == \"block_wrap\" %}
\t\t\t\t\t\t{% include \"articles-blocks/block-wrap.html.twig\" %}
\t\t\t\t\t{% endif %}
\t\t\t\t\t{% if data.type == \"block_blue_back\" %}
\t\t\t\t\t\t{% include \"articles-blocks/block-blue-background.html.twig\" %}
\t\t\t\t\t{% endif %}
\t\t\t\t\t{% if data.type == \"youtube\" %}
\t\t\t\t\t\t{% set embed_link = data.video_link|replace({'watch?v=' : 'embed/'}) %}
\t\t\t\t\t\t{% set embed_link_splitted = embed_link|split('/') %}
\t\t\t\t\t\t{% set videoID = embed_link_splitted|last %}
\t\t\t\t\t\t{# <div class=\"youtube_player\" videoid=\"{{ videoID }}\" width=\"560\" height=\"315\" theme=\"theme light\" rel=\"rel 1\" controls=\"controls 1\" showinfo=\"showinfo 1 \" autoplay=\"autoplay 0\" mute=\"mute 1\" loop=\"loop 0\" loading=\"loading 0\"></div> TAC #}
\t\t\t\t\t\t<div class=\"video-responsive mt-1em\">
\t\t\t\t\t\t\t<lite-youtube videoid=\"{{ videoID }}\" class=\"br8\" params=\"controls=1&start={{ data.timestamp }}&modestbranding=2&rel=0&enablejsapi=1\"></lite-youtube>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t\t{% if data.type == 'file' %}
\t\t\t\t\t\t{% set block = data %}
\t\t\t\t\t\t{% include \"blocks/file.html.twig\" %}
\t\t\t\t\t{% endif %}
\t\t\t\t{% endfor %}
\t\t\t{% endif %}
\t\t\t{% if display_map is defined and display_map is not empty %}
\t\t\t\t{% include \"articles-blocks/simple-map.html.twig\" %}
\t\t\t{% endif %}
\t\t\t{% if content.main_content is defined and content.main_content is not empty and content.main_content|length > 0 %}
\t\t\t\t{% for data in content.main_content %}
\t\t\t\t\t{% if data.type == \"linked_with\" %}
\t\t\t\t\t\t{% include \"articles-blocks/linked-with.html.twig\" %}
\t\t\t\t\t{% endif %}
\t\t\t\t\t{% if data.type == \"see_more\" %}
\t\t\t\t\t\t{% include \"articles-blocks/see-more.html.twig\" %}
\t\t\t\t\t{% endif %}
\t\t\t\t{% endfor %}
\t\t\t{% endif %}
\t\t</article>
\t</div>
{% endblock %}
{% block javascripts %}
\t{% if content.adresse is defined and content.adresse is not empty %}
\t\t{{ encore_entry_script_tags('map') }}
\t{% endif %}
\t{% if content.main_content|length > 0 %}
\t\t{% for content in content.main_content %}
\t\t\t{% if content.type == \"youtube\" %}
\t\t\t\t{{ encore_entry_script_tags('youtube_defer') }}
\t\t\t\t{{ encore_entry_script_tags('lite-youtube') }}
\t\t\t{% endif %}
\t\t{% endfor %}
\t{% endif %}
{% include \"articles/javascripts/base-article-js.html.twig\" %}
{{ parent() }}
{% endblock %}", "articles/experiences.html.twig", "/var/www/html/templates/articles/experiences.html.twig");
}
}