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

/* @AdminLTE/Widgets/infobox-widget.html.twig */
class __TwigTemplate_3e3ddcabcbe882b02c9485fedd68e891 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->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 1
        if (        $this->unwrap()->hasBlock("box_before", $context, $blocks)) {
            yield from             $this->unwrap()->yieldBlock("box_before", $context, $blocks);
        }
        // line 2
        yield "<div class=\"info-box";
        if (array_key_exists("solid", $context)) {
            yield " bg-";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["solid"] ?? null), "html", null, true);
        }
        yield "\">
    <span class=\"info-box-icon";
        // line 3
        if (array_key_exists("color", $context)) {
            yield " bg-";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["color"] ?? null), "html", null, true);
        }
        yield " elevation-1\"><i class=\"";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("icon", $context)) ? (Twig\Extension\CoreExtension::default(($context["icon"] ?? null), "info-circle")) : ("info-circle")), "html", null, true);
        yield "\"></i></span>
    <div class=\"info-box-content\">
        <span class=\"info-box-text\">
            ";
        // line 6
        yield from         $this->unwrap()->yieldBlock("box_text", $context, $blocks);
        yield "
        </span>
        <span class=\"info-box-number\">
            ";
        // line 9
        if (        $this->unwrap()->hasBlock("box_number", $context, $blocks)) {
            // line 10
            yield "                ";
            yield from             $this->unwrap()->yieldBlock("box_number", $context, $blocks);
            yield "
            ";
        }
        // line 12
        yield "        </span>
        <!-- The progress section is optional -->
        ";
        // line 14
        if (array_key_exists("progress", $context)) {
            // line 15
            yield "        <div class=\"progress\">
            <div class=\"progress-bar\" style=\"width: ";
            // line 16
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["progress"] ?? null), "html", null, true);
            yield "%\"></div>
        </div>
        ";
        }
        // line 19
        yield "        ";
        if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), ((array_key_exists("progress", $context)) ? (Twig\Extension\CoreExtension::default(($context["progress"] ?? null),         $this->unwrap()->renderBlock("progress_description", $context, $blocks))) : (        $this->unwrap()->renderBlock("progress_description", $context, $blocks)))) > 0)) {
            // line 20
            yield "        <span class=\"progress-description\">
        ";
            // line 21
            yield from             $this->unwrap()->yieldBlock("progress_description", $context, $blocks);
            yield "
        </span>
        ";
        }
        // line 24
        yield "    </div><!-- /.info-box-content -->
</div><!-- /.info-box -->
";
        // line 26
        if (        $this->unwrap()->hasBlock("box_after", $context, $blocks)) {
            yield from             $this->unwrap()->yieldBlock("box_after", $context, $blocks);
        }
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "@AdminLTE/Widgets/infobox-widget.html.twig";
    }

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  110 => 26,  106 => 24,  100 => 21,  97 => 20,  94 => 19,  88 => 16,  85 => 15,  83 => 14,  79 => 12,  73 => 10,  71 => 9,  65 => 6,  54 => 3,  46 => 2,  42 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "@AdminLTE/Widgets/infobox-widget.html.twig", "/var/www/html/templates/bundles/AdminLTEBundle/Widgets/infobox-widget.html.twig");
    }
}
