<?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;

/* index/show_global.html.twig */
class __TwigTemplate_56844430bdfb049ed1d56c1e63e5ea52 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 = [
            'page_title' => [$this, 'block_page_title'],
            'message' => [$this, 'block_message'],
        ];
    }

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

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $this->parent = $this->load("index.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_page_title(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        yield "Objectifs";
        yield from [];
    }

    // line 6
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_message(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 7
        yield "
    ";
        // line 8
        yield from $this->load("index/show_global.html.twig", 8, 1016742456)->unwrap()->yield($context);
        // line 75
        yield "
";
        yield from [];
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  75 => 75,  73 => 8,  70 => 7,  63 => 6,  52 => 3,  41 => 1,);
    }

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


/* index/show_global.html.twig */
class __TwigTemplate_56844430bdfb049ed1d56c1e63e5ea52___1016742456 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 = [
            'box_body' => [$this, 'block_box_body'],
        ];
    }

    protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
    {
        // line 8
        return "@AdminLTE/Widgets/box-widget.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $this->parent = $this->load("@AdminLTE/Widgets/box-widget.html.twig", 8);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
    }

    // line 9
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_box_body(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 10
        yield "            ";
        yield from $this->load("html/goal_0.html", 10)->unwrap()->yield($context);
        // line 11
        yield "
            <div class=\"card card-primary card-outline card-outline-tabs\">
                <div class=\"card-header p-0 border-bottom-0\">
                    <ul class=\"nav nav-tabs\" id=\"custom-tabs-three-tab\" role=\"tablist\">
                    ";
        // line 15
        $context["item"] = 0;
        yield " 
                    ";
        // line 16
        $context["number"] = Twig\Extension\CoreExtension::length($this->env->getCharset(), Twig\Extension\CoreExtension::keys(($context["rows"] ?? null)));
        // line 17
        yield "                    ";
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::keys(($context["rows"] ?? null)));
        foreach ($context['_seq'] as $context["_key"] => $context["key"]) {
            // line 18
            yield "                        ";
            $context["item"] = (($context["item"] ?? null) + 1);
            // line 19
            yield "                        <li class=\"nav-item\">
                            <a class=\"nav-link";
            // line 20
            if ((($context["item"] ?? null) == ($context["number"] ?? null))) {
                yield " active";
            }
            yield "\" 
                                id=\"custom-tabs-";
            // line 21
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
            yield "-tab\" 
                                data-toggle=\"pill\" 
                                href=\"#custom-tabs-";
            // line 23
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
            yield "\" 
                                role=\"tab\" 
                                aria-controls=\"custom-tabs-";
            // line 25
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
            yield "\" 
                                aria-selected=\"";
            // line 26
            if ((($context["item"] ?? null) == ($context["number"] ?? null))) {
                yield "true";
            } else {
                yield "false";
            }
            yield "\">
                                    ";
            // line 27
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
            yield "
                            </a>
                        </li>
                    ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['key'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 31
        yield "                    </ul>
                </div>
                <div class=\"card-body\">
                    <div class=\"tab-content\" id=\"custom-tabs-three-tabContent\">
                    ";
        // line 35
        $context["item"] = 0;
        yield " 
                    ";
        // line 36
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::keys(($context["rows"] ?? null)));
        foreach ($context['_seq'] as $context["_key"] => $context["key"]) {
            // line 37
            yield "                        ";
            $context["item"] = (($context["item"] ?? null) + 1);
            // line 38
            yield "                        ";
            $context["datas"] = (($_v0 = ($context["rows"] ?? null)) && is_array($_v0) || $_v0 instanceof ArrayAccess ? ($_v0[$context["key"]] ?? null) : null);
            // line 39
            yield "                        <div class=\"tab-pane fade";
            if ((($context["item"] ?? null) == ($context["number"] ?? null))) {
                yield " show active";
            }
            yield "\" 
                            id=\"custom-tabs-";
            // line 40
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
            yield "\" 
                            role=\"tabpanel\" 
                            aria-labelledby=\"custom-tabs-";
            // line 42
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
            yield "-tab\">
                        
                            <table class=\"table\" style=\"width: 100%;\">
                            <thead>
                                <tr>
                                    <th style=\"width: 10px\">#</th>
                                    <th>ODD</th>
                                    <th style=\"width: 150px\">Sensibilité</th>
                                </tr>
                            </thead>
                            <tbody>
                                ";
            // line 53
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable(($context["datas"] ?? null));
            foreach ($context['_seq'] as $context["_key"] => $context["data"]) {
                // line 54
                yield "                                <tr>
                                    <td>";
                // line 55
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "id", [], "any", false, false, false, 55), "html", null, true);
                yield ".</td>
                                    <td>";
                // line 56
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["data"], "goal", [], "any", false, false, false, 56), "name", [], "any", false, false, false, 56), "html", null, true);
                yield "</td>
                                    <td>
                                        <div class=\"progress progress-xm mt-1\">
                                            <div class=\"progress-bar\" style=\"background-color: ";
                // line 59
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["data"], "goal", [], "any", false, false, false, 59), "color", [], "any", false, false, false, 59), "html", null, true);
                yield "; width: ";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "sensitivity", [], "any", false, false, false, 59), "html", null, true);
                yield "%;\">";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "sensitivity", [], "any", false, false, false, 59), "html", null, true);
                yield "%</div>
                                        </div>
                                    </td>
                                </tr>
                                ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_key'], $context['data'], $context['_parent']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 64
            yield "                            </tbody>
                            </table>
                
                        </div>
                    ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['key'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 69
        yield "                    </div>
                </div>
            </div>

        ";
        yield from [];
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  304 => 69,  294 => 64,  279 => 59,  273 => 56,  269 => 55,  266 => 54,  262 => 53,  248 => 42,  243 => 40,  236 => 39,  233 => 38,  230 => 37,  226 => 36,  222 => 35,  216 => 31,  206 => 27,  198 => 26,  194 => 25,  189 => 23,  184 => 21,  178 => 20,  175 => 19,  172 => 18,  167 => 17,  165 => 16,  161 => 15,  155 => 11,  152 => 10,  145 => 9,  134 => 8,  75 => 75,  73 => 8,  70 => 7,  63 => 6,  52 => 3,  41 => 1,);
    }

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