<?php

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

/* SwiftmailerBundle:Collector:swiftmailer.html.twig */
class __TwigTemplate_a091780f2916f074c48f02f54b1c4f16230cc774cb5c1b3ad69dbec45db7771d extends \Twig\Template
{
    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->blocks = [
            'toolbar' => [$this, 'block_toolbar'],
            'head' => [$this, 'block_head'],
            'menu' => [$this, 'block_menu'],
            'panel' => [$this, 'block_panel'],
        ];
    }

    protected function doGetParent(array $context)
    {
        // line 1
        return "@WebProfiler/Profiler/layout.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $this->parent = $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig", "SwiftmailerBundle:Collector:swiftmailer.html.twig", 1);
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 3
    public function block_toolbar($context, array $blocks = [])
    {
        // line 4
        echo "    ";
        $context["profiler_markup_version"] = (((isset($context["profiler_markup_version"]) || array_key_exists("profiler_markup_version", $context))) ? (_twig_default_filter(($context["profiler_markup_version"] ?? null), 1)) : (1));
        // line 5
        echo "
    ";
        // line 6
        if ($this->getAttribute(($context["collector"] ?? null), "messageCount", [])) {
            // line 7
            echo "        ";
            ob_start(function () { return ''; });
            // line 8
            echo "            ";
            if ((($context["profiler_markup_version"] ?? null) == 1)) {
                // line 9
                echo "                <img width=\"23\" height=\"28\" alt=\"Swiftmailer\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAcCAYAAACK7SRjAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2t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Yvz//z8DrQATAw3BqOFYAaO9vT1FBhw4cGCAXA5MipxBQUHT3r17l0AVAxkZ/wkLC89as2ZNIcjlYkALXKnlWqBZTH/+/PEDmQsynLW/v3+NoaHhN2oYDjJn8uTJK4BMNpDhPwsLCwOKiop2+fn5vafEYC8vrw8gc/Lz8wOB3B8gw/nev38vn5WV5eTg4LA/Ly/vESsrK2npmYmJITU19SnQ8L0gc4DxpwgyF2S4EEjB58+f+crLy31YWFjOt7S0XBYUFPxHjMEcHBz/6+rqboqJiZ0qKSnxBpkDlRICGc4MU/j792+2CRMm+L18+fLSxIkTDykoKPzBZ7CoqOi/np6eE8rKylvb29v9fvz4wYEkzYKRzjk5OX/LyMjcnDRpEkjjdisrK6wRraOj8wvokAMLFy788ejRoxcaGhrPCWai4ODgB8DUE3/mzBknYMToASNoMzAfvEVW4+Tk9LmhoWFbTU2NwunTpx2BjiiMjo6+hm4WCzJHUlLyz+vXrxkfP36sDOI/ffpUPikpibe7u3sLsJjQW7VqlSrQxe+Avjmanp7u9PbtWzGQOmCCkARmmu/m5uYfT548yY/V5UpKSl+2b9+uiiz26dMnIWBSDTp27NgdYGrYCIzwE7m5uR4wg2Hg/PnzSsDI/QlKOcjZ3wGUBLm5uf+DwLdv38gub4AG/xcSEvr35s0bZmCB5sgCE/z69SsjyDJKMtG/f/8YQQYD8wkoGf8H51AbG5sH1CpbQBnQ09PzBiiHgoIFFHlBQGwLxLxUMP8dqJgH4k3gIhfIkAKVYkDMTmmhCHIxEL8A4peMo02L4WU4QIABANxZAoDIQDv3AAAAAElFTkSuQmCC\" />
                <span class=\"sf-toolbar-status\">";
                // line 10
                echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? null), "messageCount", []), "html", null, true);
                echo "</span>
            ";
            } else {
                // line 12
                echo "                ";
                echo twig_include($this->env, $context, "@Swiftmailer/Collector/icon.svg");
                echo "
                <span class=\"sf-toolbar-value\">";
                // line 13
                echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? null), "messageCount", []), "html", null, true);
                echo "</span>
            ";
            }
            // line 15
            echo "        ";
            $context["icon"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 16
            echo "
        ";
            // line 17
            ob_start(function () { return ''; });
            // line 18
            echo "            <div class=\"sf-toolbar-info-piece\">
                <b>Sent messages</b>
                <span class=\"sf-toolbar-status\">";
            // line 20
            echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? null), "messageCount", []), "html", null, true);
            echo "</span>
            </div>

            ";
            // line 23
            if ((($context["profiler_markup_version"] ?? null) == 1)) {
                // line 24
                echo "                ";
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["collector"] ?? null), "mailers", []));
                $context['loop'] = [
                  'parent' => $context['_parent'],
                  'index0' => 0,
                  'index'  => 1,
                  'first'  => true,
                ];
                if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
                    $length = count($context['_seq']);
                    $context['loop']['revindex0'] = $length - 1;
                    $context['loop']['revindex'] = $length;
                    $context['loop']['length'] = $length;
                    $context['loop']['last'] = 1 === $length;
                }
                foreach ($context['_seq'] as $context["_key"] => $context["name"]) {
                    // line 25
                    echo "                    <div class=\"sf-toolbar-info-piece\">
                        <b>";
                    // line 26
                    echo twig_escape_filter($this->env, $context["name"], "html", null, true);
                    echo "</b>
                        <span>";
                    // line 27
                    echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? null), "messageCount", [0 => $context["name"]], "method"), "html", null, true);
                    echo "</span>
                    </div>
                    <div class=\"sf-toolbar-info-piece\">
                        <b>Is spooled?</b>
                        <span>";
                    // line 31
                    echo (($this->getAttribute(($context["collector"] ?? null), "isSpool", [0 => $context["name"]], "method")) ? ("yes") : ("no"));
                    echo "</span>
                    </div>

                    ";
                    // line 34
                    if ( !$this->getAttribute($context["loop"], "first", [])) {
                        // line 35
                        echo "                        <hr>
                    ";
                    }
                    // line 37
                    echo "                ";
                    ++$context['loop']['index0'];
                    ++$context['loop']['index'];
                    $context['loop']['first'] = false;
                    if (isset($context['loop']['length'])) {
                        --$context['loop']['revindex0'];
                        --$context['loop']['revindex'];
                        $context['loop']['last'] = 0 === $context['loop']['revindex0'];
                    }
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['name'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 38
                echo "            ";
            } else {
                // line 39
                echo "                ";
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["collector"] ?? null), "mailers", []));
                foreach ($context['_seq'] as $context["_key"] => $context["name"]) {
                    // line 40
                    echo "                    <div class=\"sf-toolbar-info-piece\">
                        <b>";
                    // line 41
                    echo twig_escape_filter($this->env, $context["name"], "html", null, true);
                    echo " mailer</b>
                        <span class=\"sf-toolbar-status\">";
                    // line 42
                    echo twig_escape_filter($this->env, (($this->getAttribute(($context["collector"] ?? null), "messageCount", [0 => $context["name"]], "method", true, true)) ? (_twig_default_filter($this->getAttribute(($context["collector"] ?? null), "messageCount", [0 => $context["name"]], "method"), 0)) : (0)), "html", null, true);
                    echo "</span>
                        &nbsp; (<small>";
                    // line 43
                    echo (($this->getAttribute(($context["collector"] ?? null), "isSpool", [0 => $context["name"]], "method")) ? ("spooled") : ("sent"));
                    echo "</small>)
                    </div>
                ";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['name'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 46
                echo "            ";
            }
            // line 47
            echo "        ";
            $context["text"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 48
            echo "
        ";
            // line 49
            echo twig_include($this->env, $context, "@WebProfiler/Profiler/toolbar_item.html.twig", ["link" => ($context["profiler_url"] ?? null)]);
            echo "
    ";
        }
    }

    // line 53
    public function block_head($context, array $blocks = [])
    {
        // line 54
        echo "    ";
        $this->displayParentBlock("head", $context, $blocks);
        echo "
    <style type=\"text/css\">
        /* utility classes */
        .m-t-0 { margin-top: 0 !important; }
        .m-t-10 { margin-top: 10px !important; }

        /* basic grid */
        .row {
            display: flex;
            flex-wrap: wrap;
            margin-right: -15px;
            margin-left: -15px;
        }
        .col {
            flex-basis: 0;
            flex-grow: 1;
            max-width: 100%;
            position: relative;
            width: 100%;
            min-height: 1px;
            padding-right: 15px;
            padding-left: 15px;
        }
        .col-4 {
            flex: 0 0 33.333333%;
            max-width: 33.333333%;
        }

        /* small tabs */
        .sf-tabs-sm .tab-navigation li {
            font-size: 14px;
            padding: .3em .5em;
        }
    </style>
";
    }

    // line 90
    public function block_menu($context, array $blocks = [])
    {
        // line 91
        echo "    ";
        $context["profiler_markup_version"] = (((isset($context["profiler_markup_version"]) || array_key_exists("profiler_markup_version", $context))) ? (_twig_default_filter(($context["profiler_markup_version"] ?? null), 1)) : (1));
        // line 92
        echo "
    <span class=\"label ";
        // line 93
        echo (($this->getAttribute(($context["collector"] ?? null), "messageCount", [])) ? ("") : ("disabled"));
        echo "\">
        ";
        // line 94
        if ((($context["profiler_markup_version"] ?? null) == 1)) {
            // line 95
            echo "            <span class=\"icon\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAeCAYAAABaKIzgAAAEDElEQVR42u2XWUhUURjHy6isILAebO+lonpJ8qkHM3NFVFxAUVFM0RSXUKnwwdAQn3wQE0MyA1MwBEUQcxvHZTTTHNcZl9DUGqd0JBOzcsZ7+n8XJ0Z0GueOVwg68GfmnLn3O7/7Lee7s4cxZpHq6uos0bb3+Q+6DrG3u7v7RHt7u3tbW9uD5ubm8qamJnlDQ4NKIpG8HhkZOU3X7BYoD9Tb22sjk8mcWltb70ul0pcAegugBfzOjKmzs/MJ7j0kCujw8PBhADkAKAVAz+EZGYA+08bmCN79qdFo7sGmjaWg+wgIIUtoaWl5CqDmxsbGj7SJpYK3uYWFBRnsD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ABJRU5ErkJggg==\" alt=\"Swiftmailer\" /></span>
        ";
        } else {
            // line 97
            echo "            <span class=\"icon\">";
            echo twig_include($this->env, $context, "@Swiftmailer/Collector/icon.svg");
            echo "</span>
        ";
        }
        // line 99
        echo "
        <strong>E-mails</strong>
        ";
        // line 101
        if (($this->getAttribute(($context["collector"] ?? null), "messageCount", []) > 0)) {
            // line 102
            echo "            <span class=\"count\">
                <span>";
            // line 103
            echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? null), "messageCount", []), "html", null, true);
            echo "</span>
            </span>
        ";
        }
        // line 106
        echo "    </span>
";
    }

    // line 109
    public function block_panel($context, array $blocks = [])
    {
        // line 110
        echo "    ";
        $context["profiler_markup_version"] = (((isset($context["profiler_markup_version"]) || array_key_exists("profiler_markup_version", $context))) ? (_twig_default_filter(($context["profiler_markup_version"] ?? null), 1)) : (1));
        // line 111
        echo "
    ";
        // line 112
        if ((($context["profiler_markup_version"] ?? null) == 1)) {
            // line 113
            echo "        <style>
            h3 { margin-top: 2em; }
            h3 span { color: #999; font-weight: normal; }
            h3 small { color: #999; }
            h4 { font-size: 14px; font-weight: bold; }
            .card { background: #F5F5F5; margin: .5em 0 1em; padding: .5em; }
            .card .label { display: block; font-size: 13px; font-weight: bold; margin-bottom: .5em; }
            .card .card-block { margin-bottom: 1em; }
        </style>
    ";
        }
        // line 123
        echo "
    <h2>E-mails</h2>

    ";
        // line 126
        if ( !$this->getAttribute(($context["collector"] ?? null), "mailers", [])) {
            // line 127
            echo "        <div class=\"empty\">
            <p>No e-mail messages were sent.</p>
        </div>
    ";
        }
        // line 131
        echo "
    ";
        // line 132
        if (((($context["profiler_markup_version"] ?? null) == 1) || (twig_length_filter($this->env, $this->getAttribute(($context["collector"] ?? null), "mailers", [])) > 1))) {
            // line 133
            echo "        <table>
            <thead>
                <tr>
                    <th scope=\"col\">Mailer Name</th>
                    <th scope=\"col\">Num. of messages</th>
                    <th scope=\"col\">Messages status</th>
                    <th scope=\"col\">Notes</th>
                </tr>
            </thead>
            <tbody>
                ";
            // line 143
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["collector"] ?? null), "mailers", []));
            foreach ($context['_seq'] as $context["_key"] => $context["name"]) {
                // line 144
                echo "                    <tr>
                        <th class=\"font-normal\">";
                // line 145
                echo twig_escape_filter($this->env, $context["name"], "html", null, true);
                echo "</th>
                        <td class=\"font-normal\">";
                // line 146
                echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? null), "messageCount", [0 => $context["name"]], "method"), "html", null, true);
                echo "</td>
                        <td class=\"font-normal\">";
                // line 147
                echo (($this->getAttribute(($context["collector"] ?? null), "isSpool", [0 => $context["name"]], "method")) ? ("spooled") : ("sent"));
                echo "</td>
                        <td class=\"font-normal\">";
                // line 148
                echo (($this->getAttribute(($context["collector"] ?? null), "isDefaultMailer", [0 => $context["name"]], "method")) ? ("This is the default mailer") : (""));
                echo "</td>
                    </tr>
                ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['name'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 151
            echo "            </tbody>
        </table>
    ";
        } else {
            // line 154
            echo "        <div class=\"metrics\">
            ";
            // line 155
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["collector"] ?? null), "mailers", []));
            foreach ($context['_seq'] as $context["_key"] => $context["name"]) {
                // line 156
                echo "                <div class=\"metric\">
                    <span class=\"value\">";
                // line 157
                echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? null), "messageCount", [0 => $context["name"]], "method"), "html", null, true);
                echo "</span>
                    <span class=\"label\">";
                // line 158
                echo (($this->getAttribute(($context["collector"] ?? null), "isSpool", [0 => $context["name"]], "method")) ? ("spooled") : ("sent"));
                echo " ";
                echo ((($this->getAttribute(($context["collector"] ?? null), "messageCount", [0 => $context["name"]], "method") == 1)) ? ("message") : ("messages"));
                echo "</span>
                </div>
            ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['name'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 161
            echo "        </div>
    ";
        }
        // line 163
        echo "
    ";
        // line 164
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["collector"] ?? null), "mailers", []));
        foreach ($context['_seq'] as $context["_key"] => $context["name"]) {
            // line 165
            echo "        ";
            if ((twig_length_filter($this->env, $this->getAttribute(($context["collector"] ?? null), "mailers", [])) > 1)) {
                // line 166
                echo "            <h3>
                ";
                // line 167
                echo twig_escape_filter($this->env, $context["name"], "html", null, true);
                echo " <span>mailer</span>
                <small>";
                // line 168
                echo (($this->getAttribute(($context["collector"] ?? null), "isDefaultMailer", [0 => $context["name"]], "method")) ? ("(default app mailer)") : (""));
                echo "</small>
            </h3>
        ";
            }
            // line 171
            echo "
        ";
            // line 172
            if ( !$this->getAttribute(($context["collector"] ?? null), "messages", [0 => $context["name"]], "method")) {
                // line 173
                echo "            <div class=\"empty\">
                <p>No e-mail messages were sent.</p>
            </div>
        ";
            } else {
                // line 177
                echo "            ";
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["collector"] ?? null), "messages", [0 => $context["name"]], "method"));
                $context['loop'] = [
                  'parent' => $context['_parent'],
                  'index0' => 0,
                  'index'  => 1,
                  'first'  => true,
                ];
                if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
                    $length = count($context['_seq']);
                    $context['loop']['revindex0'] = $length - 1;
                    $context['loop']['revindex'] = $length;
                    $context['loop']['length'] = $length;
                    $context['loop']['last'] = 1 === $length;
                }
                foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
                    // line 178
                    echo "                ";
                    if (($this->getAttribute($context["loop"], "length", []) > 1)) {
                        // line 179
                        echo "                    <h4>E-mail #";
                        echo twig_escape_filter($this->env, $this->getAttribute($context["loop"], "index", []), "html", null, true);
                        echo " details</h4>
                ";
                    } else {
                        // line 181
                        echo "                    <h4>E-mail details</h4>
                ";
                    }
                    // line 183
                    echo "
                <div class=\"card\">
                    <div class=\"card-block\">
                        <span class=\"label\">Subject</span>
                        <h2 class=\"m-t-10\">";
                    // line 187
                    ((($this->getAttribute($this->getAttribute($this->getAttribute($context["message"], "headers", [], "any", false, true), "get", [0 => "subject"], "method", false, true), "value", [], "any", true, true) &&  !(null === $this->getAttribute($this->getAttribute($this->getAttribute($context["message"], "headers", [], "any", false, true), "get", [0 => "subject"], "method", false, true), "value", [])))) ? (print (twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["message"], "headers", [], "any", false, true), "get", [0 => "subject"], "method", false, true), "value", []), "html", null, true))) : (print ("(empty)")));
                    echo "</h2>
                    </div>
                    <div class=\"card-block\">
                        <div class=\"row\">
                            <div class=\"col col-4\">
                                <span class=\"label\">From</span>
                                <pre class=\"prewrap\">";
                    // line 193
                    echo twig_escape_filter($this->env, twig_replace_filter(((($this->getAttribute($this->getAttribute($this->getAttribute($context["message"], "headers", [], "any", false, true), "get", [0 => "from"], "method", false, true), "toString", [], "any", true, true) &&  !(null === $this->getAttribute($this->getAttribute($this->getAttribute($context["message"], "headers", [], "any", false, true), "get", [0 => "from"], "method", false, true), "toString", [])))) ? ($this->getAttribute($this->getAttribute($this->getAttribute($context["message"], "headers", [], "any", false, true), "get", [0 => "from"], "method", false, true), "toString", [])) : ("(empty)")), ["From:" => ""]), "html", null, true);
                    echo "</pre>

                                <span class=\"label\">To</span>
                                <pre class=\"prewrap\">";
                    // line 196
                    echo twig_escape_filter($this->env, twig_replace_filter(((($this->getAttribute($this->getAttribute($this->getAttribute($context["message"], "headers", [], "any", false, true), "get", [0 => "to"], "method", false, true), "toString", [], "any", true, true) &&  !(null === $this->getAttribute($this->getAttribute($this->getAttribute($context["message"], "headers", [], "any", false, true), "get", [0 => "to"], "method", false, true), "toString", [])))) ? ($this->getAttribute($this->getAttribute($this->getAttribute($context["message"], "headers", [], "any", false, true), "get", [0 => "to"], "method", false, true), "toString", [])) : ("(empty)")), ["To:" => ""]), "html", null, true);
                    echo "</pre>
                            </div>
                            <div class=\"col\">
                                <span class=\"label\">Headers</span>
                                <pre class=\"prewrap\">";
                    // line 200
                    $context['_parent'] = $context;
                    $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getAttribute($context["message"], "headers", []), "all", []));
                    foreach ($context['_seq'] as $context["_key"] => $context["header"]) {
                        if (!twig_in_filter(((($this->getAttribute($context["header"], "fieldName", [], "any", true, true) &&  !(null === $this->getAttribute($context["header"], "fieldName", [])))) ? ($this->getAttribute($context["header"], "fieldName", [])) : ("")), [0 => "Subject", 1 => "From", 2 => "To"])) {
                            // line 201
                            echo twig_escape_filter($this->env, $context["header"], "html", null, true);
                        }
                    }
                    $_parent = $context['_parent'];
                    unset($context['_seq'], $context['_iterated'], $context['_key'], $context['header'], $context['_parent'], $context['loop']);
                    $context = array_intersect_key($context, $_parent) + $_parent;
                    // line 202
                    echo "</pre>
                            </div>
                        </div>
                    </div>

                    <div class=\"card-block\">
                        <div class=\"sf-tabs sf-tabs-sm\">
                            <div class=\"tab\">
                                <h3 class=\"tab-title\">Raw content</h3>

                                <div class=\"tab-content\">
                                    <pre class=\"prewrap\" style=\"max-height: 600px\">";
                    // line 214
                    if (($this->getAttribute($context["message"], "charset", [], "any", true, true) && $this->getAttribute($context["message"], "charset", []))) {
                        // line 215
                        echo twig_escape_filter($this->env, twig_convert_encoding($this->getAttribute($context["message"], "body", []), "UTF-8", $this->getAttribute($context["message"], "charset", [])), "html", null, true);
                    } else {
                        // line 217
                        echo twig_escape_filter($this->env, $this->getAttribute($context["message"], "body", []), "html", null, true);
                    }
                    // line 219
                    echo "</pre>
                                </div>
                            </div>

                            <div class=\"tab\">
                                <h3 class=\"tab-title\">Rendered content</h3>

                                <div class=\"tab-content\">
                                    <iframe class=\"full-width\" style=\"min-height: 600px\" src=\"data:";
                    // line 227
                    echo twig_escape_filter($this->env, $this->getAttribute($context["message"], "__contentType", []), "html", null, true);
                    echo ";base64,";
                    echo twig_escape_filter($this->env, $this->getAttribute($context["message"], "__base64EncodedBody", []), "html", null, true);
                    echo "\"></iframe>
                                </div>
                            </div>
                        </div>
                    </div>

                    ";
                    // line 233
                    $context['_parent'] = $context;
                    $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["message"], "children", []));
                    foreach ($context['_seq'] as $context["_key"] => $context["messagePart"]) {
                        if (twig_in_filter($this->getAttribute($context["messagePart"], "contentType", []), [0 => "text/plain", 1 => "text/html"])) {
                            // line 234
                            echo "                        <div class=\"card-block\">
                            <span class=\"label\">Alternative part (";
                            // line 235
                            echo twig_escape_filter($this->env, $this->getAttribute($context["messagePart"], "contentType", []), "html", null, true);
                            echo ")</span>
                            <pre class=\"prewrap\">";
                            // line 237
                            if (($this->getAttribute($context["messagePart"], "charset", [], "any", true, true) && $this->getAttribute($context["messagePart"], "charset", []))) {
                                // line 238
                                echo twig_escape_filter($this->env, twig_convert_encoding($this->getAttribute($context["messagePart"], "body", []), "UTF-8", $this->getAttribute($context["messagePart"], "charset", [])), "html", null, true);
                            } else {
                                // line 240
                                echo twig_escape_filter($this->env, $this->getAttribute($context["messagePart"], "body", []), "html", null, true);
                            }
                            // line 242
                            echo "</pre>
                        </div>
                    ";
                        }
                    }
                    $_parent = $context['_parent'];
                    unset($context['_seq'], $context['_iterated'], $context['_key'], $context['messagePart'], $context['_parent'], $context['loop']);
                    $context = array_intersect_key($context, $_parent) + $_parent;
                    // line 245
                    echo "
                    ";
                    // line 246
                    $context["attachments"] = $this->getAttribute(($context["collector"] ?? null), "extractAttachments", [0 => $context["message"]], "method");
                    // line 247
                    echo "                    ";
                    if (($context["attachments"] ?? null)) {
                        // line 248
                        echo "                        <div class=\"card-block\">
                            <span class=\"label\">
                                ";
                        // line 250
                        if ((twig_length_filter($this->env, ($context["attachments"] ?? null)) > 1)) {
                            // line 251
                            echo "                                    ";
                            echo twig_escape_filter($this->env, twig_length_filter($this->env, ($context["attachments"] ?? null)), "html", null, true);
                            echo " Attachments
                                ";
                        } else {
                            // line 253
                            echo "                                    1 Attachment
                                ";
                        }
                        // line 255
                        echo "                            </span>

                            <ol>
                                ";
                        // line 258
                        $context['_parent'] = $context;
                        $context['_seq'] = twig_ensure_traversable(($context["attachments"] ?? null));
                        foreach ($context['_seq'] as $context["_key"] => $context["attachment"]) {
                            // line 259
                            echo "                                    <li>
                                        Filename:
                                        ";
                            // line 261
                            echo twig_escape_filter($this->env, $this->getAttribute($context["attachment"], "filename", []), "html", null, true);
                            echo "
                                    </li>
                                ";
                        }
                        $_parent = $context['_parent'];
                        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attachment'], $context['_parent'], $context['loop']);
                        $context = array_intersect_key($context, $_parent) + $_parent;
                        // line 264
                        echo "                            </ol>
                        </div>
                    ";
                    }
                    // line 267
                    echo "                </div>
            ";
                    ++$context['loop']['index0'];
                    ++$context['loop']['index'];
                    $context['loop']['first'] = false;
                    if (isset($context['loop']['length'])) {
                        --$context['loop']['revindex0'];
                        --$context['loop']['revindex'];
                        $context['loop']['last'] = 0 === $context['loop']['revindex0'];
                    }
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 269
                echo "        ";
            }
            // line 270
            echo "    ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['name'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
    }

    public function getTemplateName()
    {
        return "SwiftmailerBundle:Collector:swiftmailer.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  647 => 270,  644 => 269,  629 => 267,  624 => 264,  615 => 261,  611 => 259,  607 => 258,  602 => 255,  598 => 253,  592 => 251,  590 => 250,  586 => 248,  583 => 247,  581 => 246,  578 => 245,  569 => 242,  566 => 240,  563 => 238,  561 => 237,  557 => 235,  554 => 234,  549 => 233,  538 => 227,  528 => 219,  525 => 217,  522 => 215,  520 => 214,  507 => 202,  500 => 201,  495 => 200,  488 => 196,  482 => 193,  473 => 187,  467 => 183,  463 => 181,  457 => 179,  454 => 178,  436 => 177,  430 => 173,  428 => 172,  425 => 171,  419 => 168,  415 => 167,  412 => 166,  409 => 165,  405 => 164,  402 => 163,  398 => 161,  387 => 158,  383 => 157,  380 => 156,  376 => 155,  373 => 154,  368 => 151,  359 => 148,  355 => 147,  351 => 146,  347 => 145,  344 => 144,  340 => 143,  328 => 133,  326 => 132,  323 => 131,  317 => 127,  315 => 126,  310 => 123,  298 => 113,  296 => 112,  293 => 111,  290 => 110,  287 => 109,  282 => 106,  276 => 103,  273 => 102,  271 => 101,  267 => 99,  261 => 97,  257 => 95,  255 => 94,  251 => 93,  248 => 92,  245 => 91,  242 => 90,  202 => 54,  199 => 53,  192 => 49,  189 => 48,  186 => 47,  183 => 46,  174 => 43,  170 => 42,  166 => 41,  163 => 40,  158 => 39,  155 => 38,  141 => 37,  137 => 35,  135 => 34,  129 => 31,  122 => 27,  118 => 26,  115 => 25,  97 => 24,  95 => 23,  89 => 20,  85 => 18,  83 => 17,  80 => 16,  77 => 15,  72 => 13,  67 => 12,  62 => 10,  59 => 9,  56 => 8,  53 => 7,  51 => 6,  48 => 5,  45 => 4,  42 => 3,  32 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Source("", "SwiftmailerBundle:Collector:swiftmailer.html.twig", "/var/www/html/vendor/symfony/swiftmailer-bundle/Resources/views/Collector/swiftmailer.html.twig");
    }
}
