<?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;
use Twig\TemplateWrapper;

/* frontend/ministeres.html.twig */
class __TwigTemplate_02292e14190a1a759676cd07f15462cc extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->blocks = [
            'content' => [$this, 'block_content'],
        ];
    }

    protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
    {
        // line 1
        return "frontend/layout.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $this->parent = $this->load("frontend/layout.html.twig", 1);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
    }

    // line 3
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_content(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 4
        yield "\t<div class=\"container single-template\">
\t\t<div class=\"page-header\">
\t\t\t<h1 class=\"page-title\">
\t\t\t\tLes ministères
\t\t\t</h1>
\t\t</div>



\t<section id=\"faq\" class=\"faq\">
      <div class=\"container aos-init aos-animate\" data-aos=\"fade-up\">

        <ul class=\"faq-list accordion aos-init aos-animate\" data-aos=\"fade-up\">
          ";
        // line 17
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(($context["ministeres"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["ministere"]) {
            // line 18
            yield "          <li>
            <a data-bs-toggle=\"collapse\" data-bs-target=\"#faq";
            // line 19
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ministere"], "id", [], "any", false, false, false, 19), "html", null, true);
            yield "\" class=\"collapsed\" aria-expanded=\"false\">";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ministere"], "name", [], "any", false, false, false, 19), "html", null, true);
            yield " <i class=\"bx bx-chevron-down icon-show\"></i><i class=\"bx bx-x icon-close\"></i></a>
            ";
            // line 20
            if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["ministere"], "indicators", [], "any", false, false, false, 20)) > 0)) {
                // line 21
                yield "\t\t\t<div id=\"faq";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ministere"], "id", [], "any", false, false, false, 21), "html", null, true);
                yield "\" class=\"collapse\" data-bs-parent=\".faq-list\">
              <p style=\"margin-left: 20px; color:red; margin-bouttom: 10px;\">
\t\t\t  \t\tLes indicateurs que le ministère renseigne
              </p>
\t\t\t  <ul style=\"list-style-type: none;\">
\t\t\t  ";
                // line 26
                $context['_parent'] = $context;
                $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["ministere"], "indicators", [], "any", false, false, false, 26));
                foreach ($context['_seq'] as $context["_key"] => $context["indicateur"]) {
                    // line 27
                    yield "\t\t\t\t\t\t<li style=\"margin-bottom: 10px; padding-bottom: 0px;\">

\t\t\t\t\t\t\t<a href=\"";
                    // line 29
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("indicateur", ["id" => CoreExtension::getAttribute($this->env, $this->source, $context["indicateur"], "id", [], "any", false, false, false, 29)]), "html", null, true);
                    yield "\">
\t\t\t\t\t\t\t\t<svg class=\"icon icon-chevron-right\" fill=\"currentColor\">
\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
                    // line 31
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("frontend/icons/icons-3.7.svg"), "html", null, true);
                    yield "#chevron-right\"></use>
\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t";
                    // line 33
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["indicateur"], "code", [], "any", false, false, false, 33), "html", null, true);
                    yield "
\t\t\t\t\t\t\t\t-
\t\t\t\t\t\t\t\t";
                    // line 35
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["indicateur"], "name", [], "any", false, false, false, 35), "html", null, true);
                    yield "
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t</li>
\t\t\t\t\t";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_key'], $context['indicateur'], $context['_parent']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 39
                yield "\t\t\t\t</ul>
\t\t\t\t\t";
                // line 40
                if (((CoreExtension::getAttribute($this->env, $this->source, $context["ministere"], "code", [], "any", false, false, false, 40) == "MEF") && (Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["indicatorsinstad"] ?? null)) > 0))) {
                    // line 41
                    yield "\t\t\t\t\t<p style=\"margin-left: 20px; color:red; margin-bouttom: 10px;\">
\t\t\t  \t\t\tLes indicateurs renseignés par l'Institut National de la Statistique et de la Démographie (INSTaD)
\t\t\t\t\t</p>
\t\t\t\t\t<ul style=\"list-style-type: none;\">
\t\t\t\t\t";
                    // line 45
                    $context['_parent'] = $context;
                    $context['_seq'] = CoreExtension::ensureTraversable(($context["indicatorsinstad"] ?? null));
                    foreach ($context['_seq'] as $context["_key"] => $context["indicateur"]) {
                        // line 46
                        yield "\t\t\t\t\t\t\t\t<li style=\"margin-bottom: 10px; padding-bottom: 0px;\">

\t\t\t\t\t\t\t\t\t<a href=\"";
                        // line 48
                        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("indicateur", ["id" => CoreExtension::getAttribute($this->env, $this->source, $context["indicateur"], "id", [], "any", false, false, false, 48)]), "html", null, true);
                        yield "\">
\t\t\t\t\t\t\t\t\t\t<svg class=\"icon icon-chevron-right\" fill=\"currentColor\">
\t\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
                        // line 50
                        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("frontend/icons/icons-3.7.svg"), "html", null, true);
                        yield "#chevron-right\"></use>
\t\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t\t\t";
                        // line 52
                        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["indicateur"], "code", [], "any", false, false, false, 52), "html", null, true);
                        yield "
\t\t\t\t\t\t\t\t\t\t-
\t\t\t\t\t\t\t\t\t\t";
                        // line 54
                        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["indicateur"], "name", [], "any", false, false, false, 54), "html", null, true);
                        yield "
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t";
                    }
                    $_parent = $context['_parent'];
                    unset($context['_seq'], $context['_key'], $context['indicateur'], $context['_parent']);
                    $context = array_intersect_key($context, $_parent) + $_parent;
                    // line 58
                    yield "\t\t\t\t\t\t</ul>
\t\t\t\t\t";
                }
                // line 60
                yield "
            </div>
\t\t\t";
            } else {
                // line 63
                yield "\t\t\t\t<div id=\"faq";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ministere"], "id", [], "any", false, false, false, 63), "html", null, true);
                yield "\" class=\"collapse\" data-bs-parent=\".faq-list\">
\t\t\t\t\t<p style=\"margin-left: 20px;\">
\t\t\t\t\t\t\tCe ministère ne renseigne directement aucun indicateur.
\t\t\t\t\t</p>
\t\t\t\t</div>
\t\t\t";
            }
            // line 69
            yield "          </li>
          ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['ministere'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 71
        yield "        </ul>

      </div>
    </section>
\t</div>
";
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "frontend/ministeres.html.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable(): bool
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  200 => 71,  193 => 69,  183 => 63,  178 => 60,  174 => 58,  164 => 54,  159 => 52,  154 => 50,  149 => 48,  145 => 46,  141 => 45,  135 => 41,  133 => 40,  130 => 39,  120 => 35,  115 => 33,  110 => 31,  105 => 29,  101 => 27,  97 => 26,  88 => 21,  86 => 20,  80 => 19,  77 => 18,  73 => 17,  58 => 4,  51 => 3,  40 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "frontend/ministeres.html.twig", "/var/www/html/templates/frontend/ministeres.html.twig");
    }
}
