<?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/Macros/buttons.html.twig */
class __TwigTemplate_f64fea4e730e7c1f3f494191fec665d1 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 6
        yield "
";
        // line 12
        yield "
";
        // line 25
        yield "
";
        yield from [];
    }

    // line 1
    public function macro_action_toolbutton($icon = null, $action = null, $label = null, ...$varargs): string|Markup
    {
        $macros = $this->macros;
        $context = [
            "icon" => $icon,
            "action" => $action,
            "label" => $label,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 2
            yield "    <button class=\"btn btn-box-tool\" data-widget=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["action"] ?? null), "html", null, true);
            yield "\" data-toggle=\"tooltip\" title=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("label", $context)) ? (Twig\Extension\CoreExtension::default(($context["label"] ?? null), "")) : ("")), "html", null, true);
            yield "\">
        <i class=\"";
            // line 3
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("icon", $context)) ? (Twig\Extension\CoreExtension::default(($context["icon"] ?? null), "times")) : ("times")), "html", null, true);
            yield "\"></i>
    </button>
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 7
    public function macro_link_toolbutton($icon = null, $href = null, $label = null, ...$varargs): string|Markup
    {
        $macros = $this->macros;
        $context = [
            "icon" => $icon,
            "href" => $href,
            "label" => $label,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 8
            yield "    <a href=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["href"] ?? null), "html", null, true);
            yield "\" class=\"btn btn-box-tool\" data-toggle=\"tooltip\" title=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("label", $context)) ? (Twig\Extension\CoreExtension::default(($context["label"] ?? null), "")) : ("")), "html", null, true);
            yield "\">
        <i class=\"";
            // line 9
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("icon", $context)) ? (Twig\Extension\CoreExtension::default(($context["icon"] ?? null), "times")) : ("times")), "html", null, true);
            yield "\"></i>
    </a>
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 13
    public function macro_link_button($label = null, $href = null, $icon = null, $type = null, $size = null, ...$varargs): string|Markup
    {
        $macros = $this->macros;
        $context = [
            "label" => $label,
            "href" => $href,
            "icon" => $icon,
            "type" => $type,
            "size" => $size,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 14
            yield "    ";
            $context["_size"] = ((array_key_exists("size", $context)) ? (Twig\Extension\CoreExtension::default(($context["size"] ?? null), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["admin_lte_context"] ?? null), "button", [], "any", false, false, false, 14), "size", [], "any", false, false, false, 14))) : (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["admin_lte_context"] ?? null), "button", [], "any", false, false, false, 14), "size", [], "any", false, false, false, 14)));
            // line 15
            yield "    ";
            $context["_type"] = ((array_key_exists("type", $context)) ? (Twig\Extension\CoreExtension::default(($context["type"] ?? null), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["admin_lte_context"] ?? null), "button", [], "any", false, false, false, 15), "type", [], "any", false, false, false, 15))) : (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["admin_lte_context"] ?? null), "button", [], "any", false, false, false, 15), "type", [], "any", false, false, false, 15)));
            // line 16
            yield "    <a href=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("href", $context)) ? (Twig\Extension\CoreExtension::default(($context["href"] ?? null), "#")) : ("#")), "html", null, true);
            yield "\" class=\"btn btn-";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["_type"] ?? null), "html", null, true);
            if ((($tmp = ($context["_size"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                yield " btn-";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["_size"] ?? null), "html", null, true);
            }
            yield "\">
        ";
            // line 17
            if ((($tmp = ($context["icon"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 18
                yield "            <i class=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["icon"] ?? null), "html", null, true);
                yield "\"></i>
        ";
            }
            // line 20
            yield "        ";
            if ((($tmp = ($context["label"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 21
                yield "            <span>";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["label"] ?? null), "html", null, true);
                yield "</span>
        ";
            }
            // line 23
            yield "    </a>
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 26
    public function macro_action_button($label = null, $action = null, $icon = null, $type = null, $size = null, ...$varargs): string|Markup
    {
        $macros = $this->macros;
        $context = [
            "label" => $label,
            "action" => $action,
            "icon" => $icon,
            "type" => $type,
            "size" => $size,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 27
            yield "    ";
            $context["_size"] = ((array_key_exists("size", $context)) ? (Twig\Extension\CoreExtension::default(($context["size"] ?? null), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["admin_lte_context"] ?? null), "button", [], "any", false, false, false, 27), "size", [], "any", false, false, false, 27))) : (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["admin_lte_context"] ?? null), "button", [], "any", false, false, false, 27), "size", [], "any", false, false, false, 27)));
            // line 28
            yield "    ";
            $context["_type"] = ((array_key_exists("type", $context)) ? (Twig\Extension\CoreExtension::default(($context["type"] ?? null), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["admin_lte_context"] ?? null), "button", [], "any", false, false, false, 28), "type", [], "any", false, false, false, 28))) : (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["admin_lte_context"] ?? null), "button", [], "any", false, false, false, 28), "type", [], "any", false, false, false, 28)));
            // line 29
            yield "    <button data-action=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["action"] ?? null), "html", null, true);
            yield "\" class=\"btn btn-";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["_type"] ?? null), "html", null, true);
            if ((($tmp = ($context["_size"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                yield " btn-";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["_size"] ?? null), "html", null, true);
            }
            yield "\">
        ";
            // line 30
            if ((($tmp = ($context["icon"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 31
                yield "            <i class=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["icon"] ?? null), "html", null, true);
                yield "\"></i>
        ";
            }
            // line 33
            yield "        ";
            if ((($tmp = ($context["label"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 34
                yield "            <span>";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["label"] ?? null), "html", null, true);
                yield "</span>
        ";
            }
            // line 36
            yield "    </button>
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "@AdminLTE/Macros/buttons.html.twig";
    }

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  221 => 36,  215 => 34,  212 => 33,  206 => 31,  204 => 30,  193 => 29,  190 => 28,  187 => 27,  171 => 26,  164 => 23,  158 => 21,  155 => 20,  149 => 18,  147 => 17,  136 => 16,  133 => 15,  130 => 14,  114 => 13,  105 => 9,  98 => 8,  84 => 7,  75 => 3,  68 => 2,  54 => 1,  48 => 25,  45 => 12,  42 => 6,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "@AdminLTE/Macros/buttons.html.twig", "/var/www/html/vendor/kevinpapst/adminlte-bundle/Resources/views/Macros/buttons.html.twig");
    }
}
