<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;

/* @email/zurb_2/notification/body.html.twig */
class __TwigTemplate_502321bb746fe24c78a0487827a0ccb58a419b7ec2d36b4ef80ba72d8a9f4cb9 extends Template
{
    private $source;
    private $macros = [];

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

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

        $this->parent = false;

        $this->blocks = [
            'style' => [$this, 'block_style'],
            'lead' => [$this, 'block_lead'],
            'content' => [$this, 'block_content'],
            'action' => [$this, 'block_action'],
            'exception' => [$this, 'block_exception'],
            'footer' => [$this, 'block_footer'],
            'footer_content' => [$this, 'block_footer_content'],
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 1
        ob_start(function () { return ''; });
        // line 2
        echo "<html>
<head>
<style>
    ";
        // line 5
        $this->displayBlock('style', $context, $blocks);
        // line 9
        echo "</style>
</head>
<body>
<spacer size=\"32\"></spacer>
<container class=\"body_";
        // line 13
        echo ((0 === twig_compare("urgent", ($context["importance"] ?? null))) ? ("alert") : (((0 === twig_compare("high", ($context["importance"] ?? null))) ? ("warning") : ("default"))));
        echo "\">
    <spacer size=\"16\"></spacer>
    <row>
        <columns large=\"12\" small=\"12\">
            ";
        // line 17
        $this->displayBlock('lead', $context, $blocks);
        // line 23
        echo "
            ";
        // line 24
        $this->displayBlock('content', $context, $blocks);
        // line 31
        echo "
            ";
        // line 32
        $this->displayBlock('action', $context, $blocks);
        // line 38
        echo "
            ";
        // line 39
        $this->displayBlock('exception', $context, $blocks);
        // line 45
        echo "        </columns>
    </row>

    <wrapper class=\"secondary\">
        <spacer size=\"16\"></spacer>
        ";
        // line 50
        $this->displayBlock('footer', $context, $blocks);
        // line 59
        echo "    </wrapper>
</container>
</body>
</html>
";
        $___internal_66760424caa539854c33e3c8bc597ad31ba608be7e3a5ae3e730e8f151180ace_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
        // line 1
        echo Twig\Extra\CssInliner\twig_inline_css(Twig\Extra\Inky\twig_inky($___internal_66760424caa539854c33e3c8bc597ad31ba608be7e3a5ae3e730e8f151180ace_));
    }

    // line 5
    public function block_style($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 6
        echo "        ";
        echo twig_source($this->env, "@email/zurb_2/main.css");
        echo "
        ";
        // line 7
        echo twig_source($this->env, "@email/zurb_2/notification/local.css");
        echo "
    ";
    }

    // line 17
    public function block_lead($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 18
        echo "                <small><strong>";
        echo twig_escape_filter($this->env, twig_upper_filter($this->env, ($context["importance"] ?? null)), "html", null, true);
        echo "</strong></small>
                <p class=\"lead\">
                    ";
        // line 20
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["email"] ?? null), "subject", [], "any", false, false, false, 20), "html", null, true);
        echo "
                </p>
            ";
    }

    // line 24
    public function block_content($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 25
        echo "                ";
        if (($context["markdown"] ?? null)) {
            // line 26
            echo "                    ";
            echo twig_include($this->env, $context, "@email/zurb_2/notification/content_markdown.html.twig");
            echo "
                ";
        } else {
            // line 28
            echo "                    ";
            echo nl2br(twig_escape_filter($this->env, ((($context["raw"] ?? null)) ? (($context["content"] ?? null)) : (($context["content"] ?? null))), "html", null, true));
            echo "
                ";
        }
        // line 30
        echo "            ";
    }

    // line 32
    public function block_action($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 33
        echo "                ";
        if (($context["action_url"] ?? null)) {
            // line 34
            echo "                    <spacer size=\"16\"></spacer>
                    <button href=\"";
            // line 35
            echo twig_escape_filter($this->env, ($context["action_url"] ?? null), "html", null, true);
            echo "\">";
            echo twig_escape_filter($this->env, ($context["action_text"] ?? null), "html", null, true);
            echo "</button>
                ";
        }
        // line 37
        echo "            ";
    }

    // line 39
    public function block_exception($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 40
        echo "                ";
        if (($context["exception"] ?? null)) {
            // line 41
            echo "                    <spacer size=\"16\"></spacer>
                    <p><em>Exception stack trace attached.</em></p>
                ";
        }
        // line 44
        echo "            ";
    }

    // line 50
    public function block_footer($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 51
        echo "            <row>
                <columns small=\"12\" large=\"6\">
                    ";
        // line 53
        $this->displayBlock('footer_content', $context, $blocks);
        // line 56
        echo "                </columns>
            </row>
        ";
    }

    // line 53
    public function block_footer_content($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 54
        echo "                        <p><small>Notification e-mail sent by Symfony</small></p>
                    ";
    }

    public function getTemplateName()
    {
        return "@email/zurb_2/notification/body.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  215 => 54,  211 => 53,  205 => 56,  203 => 53,  199 => 51,  195 => 50,  191 => 44,  186 => 41,  183 => 40,  179 => 39,  175 => 37,  168 => 35,  165 => 34,  162 => 33,  158 => 32,  154 => 30,  148 => 28,  142 => 26,  139 => 25,  135 => 24,  128 => 20,  122 => 18,  118 => 17,  112 => 7,  107 => 6,  103 => 5,  99 => 1,  92 => 59,  90 => 50,  83 => 45,  81 => 39,  78 => 38,  76 => 32,  73 => 31,  71 => 24,  68 => 23,  66 => 17,  59 => 13,  53 => 9,  51 => 5,  46 => 2,  44 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "@email/zurb_2/notification/body.html.twig", "/var/www/html/kimai2/vendor/symfony/twig-bridge/Resources/views/Email/zurb_2/notification/body.html.twig");
    }
}
