File: /home/cafsindia/help.cafsindia.com/var/cache/dev/twig/c1/c114d01eef0b57ffd654fa9e4a9ef231.php
<?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;
/* @Swiftmailer/Collector/swiftmailer.html.twig */
class __TwigTemplate_df6d1a5ed689f2854df7202731ade702 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 = [
'toolbar' => [$this, 'block_toolbar'],
'head' => [$this, 'block_head'],
'menu' => [$this, 'block_menu'],
'panel' => [$this, 'block_panel'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "@WebProfiler/Profiler/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Swiftmailer/Collector/swiftmailer.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Swiftmailer/Collector/swiftmailer.html.twig"));
$this->parent = $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig", "@Swiftmailer/Collector/swiftmailer.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_toolbar($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
// line 4
yield " ";
$context["profiler_markup_version"] = ((array_key_exists("profiler_markup_version", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["profiler_markup_version"]) || array_key_exists("profiler_markup_version", $context) ? $context["profiler_markup_version"] : (function () { throw new RuntimeError('Variable "profiler_markup_version" does not exist.', 4, $this->source); })()), 1)) : (1));
// line 5
yield "
";
// line 6
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 6, $this->source); })()), "messageCount", [], "any", false, false, false, 6)) {
// line 7
yield " ";
$context["icon"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
// line 8
yield " ";
if (((isset($context["profiler_markup_version"]) || array_key_exists("profiler_markup_version", $context) ? $context["profiler_markup_version"] : (function () { throw new RuntimeError('Variable "profiler_markup_version" does not exist.', 8, $this->source); })()) == 1)) {
// line 9
yield " <img width=\"23\" height=\"28\" alt=\"Swiftmailer\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAcCAYAAACK7SRjAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6N0NEOTU1MjM0OThFMTFFMDg3NzJBNTE2ODgwQzMxMzQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6N0NEOTU1MjQ0OThFMTFFMDg3NzJBNTE2ODgwQzMxMzQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZ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Dv3AAAAAElFTkSuQmCC\" />
<span class=\"sf-toolbar-status\">";
// line 10
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 10, $this->source); })()), "messageCount", [], "any", false, false, false, 10), "html", null, true);
yield "</span>
";
} else {
// line 12
yield " ";
yield Twig\Extension\CoreExtension::include($this->env, $context, "@Swiftmailer/Collector/icon.svg");
yield "
<span class=\"sf-toolbar-value\">";
// line 13
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 13, $this->source); })()), "messageCount", [], "any", false, false, false, 13), "html", null, true);
yield "</span>
";
}
// line 15
yield " ";
return; yield '';
})())) ? '' : new Markup($tmp, $this->env->getCharset());
// line 16
yield "
";
// line 17
$context["text"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
// line 18
yield " <div class=\"sf-toolbar-info-piece\">
<b>Sent messages</b>
<span class=\"sf-toolbar-status\">";
// line 20
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 20, $this->source); })()), "messageCount", [], "any", false, false, false, 20), "html", null, true);
yield "</span>
</div>
";
// line 23
if (((isset($context["profiler_markup_version"]) || array_key_exists("profiler_markup_version", $context) ? $context["profiler_markup_version"] : (function () { throw new RuntimeError('Variable "profiler_markup_version" does not exist.', 23, $this->source); })()) == 1)) {
// line 24
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 24, $this->source); })()), "mailers", [], "any", false, false, false, 24));
$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
yield " <div class=\"sf-toolbar-info-piece\">
<b>";
// line 26
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["name"], "html", null, true);
yield "</b>
<span>";
// line 27
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 27, $this->source); })()), "messageCount", [$context["name"]], "method", false, false, false, 27), "html", null, true);
yield "</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>Is spooled?</b>
<span>";
// line 31
yield ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 31, $this->source); })()), "isSpool", [$context["name"]], "method", false, false, false, 31)) ? ("yes") : ("no"));
yield "</span>
</div>
";
// line 34
if ( !CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 34)) {
// line 35
yield " <hr>
";
}
// line 37
yield " ";
++$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
yield " ";
} else {
// line 39
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 39, $this->source); })()), "mailers", [], "any", false, false, false, 39));
foreach ($context['_seq'] as $context["_key"] => $context["name"]) {
// line 40
yield " <div class=\"sf-toolbar-info-piece\">
<b>";
// line 41
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["name"], "html", null, true);
yield " mailer</b>
<span class=\"sf-toolbar-status\">";
// line 42
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["collector"] ?? null), "messageCount", [$context["name"]], "method", true, true, false, 42)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["collector"] ?? null), "messageCount", [$context["name"]], "method", false, false, false, 42), 0)) : (0)), "html", null, true);
yield "</span>
(<small>";
// line 43
yield ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 43, $this->source); })()), "isSpool", [$context["name"]], "method", false, false, false, 43)) ? ("spooled") : ("sent"));
yield "</small>)
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['name'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 46
yield " ";
}
// line 47
yield " ";
return; yield '';
})())) ? '' : new Markup($tmp, $this->env->getCharset());
// line 48
yield "
";
// line 49
yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/toolbar_item.html.twig", ["link" => (isset($context["profiler_url"]) || array_key_exists("profiler_url", $context) ? $context["profiler_url"] : (function () { throw new RuntimeError('Variable "profiler_url" does not exist.', 49, $this->source); })())]);
yield "
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 53
public function block_head($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
// line 54
yield " ";
yield from $this->yieldParentBlock("head", $context, $blocks);
yield "
<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>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 90
public function block_menu($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
// line 91
yield " ";
$context["profiler_markup_version"] = ((array_key_exists("profiler_markup_version", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["profiler_markup_version"]) || array_key_exists("profiler_markup_version", $context) ? $context["profiler_markup_version"] : (function () { throw new RuntimeError('Variable "profiler_markup_version" does not exist.', 91, $this->source); })()), 1)) : (1));
// line 92
yield "
<span class=\"label ";
// line 93
yield ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 93, $this->source); })()), "messageCount", [], "any", false, false, false, 93)) ? ("") : ("disabled"));
yield "\">
";
// line 94
if (((isset($context["profiler_markup_version"]) || array_key_exists("profiler_markup_version", $context) ? $context["profiler_markup_version"] : (function () { throw new RuntimeError('Variable "profiler_markup_version" does not exist.', 94, $this->source); })()) == 1)) {
// line 95
yield " <span class=\"icon\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAeCAYAAABaKIzgAAAEDElEQVR42u2XWUhUURjHy6isILAebO+lonpJ8qkHM3NFVFxAUVFM0RSXUKnwwdAQn3wQE0MyA1MwBEUQcxvHZTTTHNcZl9DUGqd0JBOzcsZ7+n8XJ0Z0GueOVwg68GfmnLn3O7/7Lee7s4cxZpHq6uos0bb3+Q+6DrG3u7v7RHt7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vHO5O3t/SsxMfG7ENAjkAOUBUkMvMVDiiFKDSGge6Gj0CUoGmffpvwSEfg7dUch/0LtkWcdvr6+a2JDBgYG6tDt6DXPTgjoKegOVAo1QVKR1AgVQ8GQrRDQA+uw9ushuSWSyLYdQRr7K/JP6DcTwr8i7Fj8pwAAAABJRU5ErkJggg==\" alt=\"Swiftmailer\" /></span>
";
} else {
// line 97
yield " <span class=\"icon\">";
yield Twig\Extension\CoreExtension::include($this->env, $context, "@Swiftmailer/Collector/icon.svg");
yield "</span>
";
}
// line 99
yield "
<strong>E-mails</strong>
";
// line 101
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 101, $this->source); })()), "messageCount", [], "any", false, false, false, 101) > 0)) {
// line 102
yield " <span class=\"count\">
<span>";
// line 103
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 103, $this->source); })()), "messageCount", [], "any", false, false, false, 103), "html", null, true);
yield "</span>
</span>
";
}
// line 106
yield " </span>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 109
public function block_panel($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel"));
// line 110
yield " ";
$context["profiler_markup_version"] = ((array_key_exists("profiler_markup_version", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["profiler_markup_version"]) || array_key_exists("profiler_markup_version", $context) ? $context["profiler_markup_version"] : (function () { throw new RuntimeError('Variable "profiler_markup_version" does not exist.', 110, $this->source); })()), 1)) : (1));
// line 111
yield "
";
// line 112
if (((isset($context["profiler_markup_version"]) || array_key_exists("profiler_markup_version", $context) ? $context["profiler_markup_version"] : (function () { throw new RuntimeError('Variable "profiler_markup_version" does not exist.', 112, $this->source); })()) == 1)) {
// line 113
yield " <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
yield "
<h2>E-mails</h2>
";
// line 126
if ( !CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 126, $this->source); })()), "mailers", [], "any", false, false, false, 126)) {
// line 127
yield " <div class=\"empty\">
<p>No e-mail messages were sent.</p>
</div>
";
}
// line 131
yield "
";
// line 132
if ((((isset($context["profiler_markup_version"]) || array_key_exists("profiler_markup_version", $context) ? $context["profiler_markup_version"] : (function () { throw new RuntimeError('Variable "profiler_markup_version" does not exist.', 132, $this->source); })()) == 1) || (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 132, $this->source); })()), "mailers", [], "any", false, false, false, 132)) > 1))) {
// line 133
yield " <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'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 143, $this->source); })()), "mailers", [], "any", false, false, false, 143));
foreach ($context['_seq'] as $context["_key"] => $context["name"]) {
// line 144
yield " <tr>
<th class=\"font-normal\">";
// line 145
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["name"], "html", null, true);
yield "</th>
<td class=\"font-normal\">";
// line 146
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 146, $this->source); })()), "messageCount", [$context["name"]], "method", false, false, false, 146), "html", null, true);
yield "</td>
<td class=\"font-normal\">";
// line 147
yield ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 147, $this->source); })()), "isSpool", [$context["name"]], "method", false, false, false, 147)) ? ("spooled") : ("sent"));
yield "</td>
<td class=\"font-normal\">";
// line 148
yield ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 148, $this->source); })()), "isDefaultMailer", [$context["name"]], "method", false, false, false, 148)) ? ("This is the default mailer") : (""));
yield "</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['name'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 151
yield " </tbody>
</table>
";
} else {
// line 154
yield " <div class=\"metrics\">
";
// line 155
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 155, $this->source); })()), "mailers", [], "any", false, false, false, 155));
foreach ($context['_seq'] as $context["_key"] => $context["name"]) {
// line 156
yield " <div class=\"metric\">
<span class=\"value\">";
// line 157
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 157, $this->source); })()), "messageCount", [$context["name"]], "method", false, false, false, 157), "html", null, true);
yield "</span>
<span class=\"label\">";
// line 158
yield ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 158, $this->source); })()), "isSpool", [$context["name"]], "method", false, false, false, 158)) ? ("spooled") : ("sent"));
yield " ";
yield (((CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 158, $this->source); })()), "messageCount", [$context["name"]], "method", false, false, false, 158) == 1)) ? ("message") : ("messages"));
yield "</span>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['name'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 161
yield " </div>
";
}
// line 163
yield "
";
// line 164
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 164, $this->source); })()), "mailers", [], "any", false, false, false, 164));
foreach ($context['_seq'] as $context["_key"] => $context["name"]) {
// line 165
yield " ";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 165, $this->source); })()), "mailers", [], "any", false, false, false, 165)) > 1)) {
// line 166
yield " <h3>
";
// line 167
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["name"], "html", null, true);
yield " <span>mailer</span>
<small>";
// line 168
yield ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 168, $this->source); })()), "isDefaultMailer", [$context["name"]], "method", false, false, false, 168)) ? ("(default app mailer)") : (""));
yield "</small>
</h3>
";
}
// line 171
yield "
";
// line 172
if ( !CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 172, $this->source); })()), "messages", [$context["name"]], "method", false, false, false, 172)) {
// line 173
yield " <div class=\"empty\">
<p>No e-mail messages were sent.</p>
</div>
";
} else {
// line 177
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 177, $this->source); })()), "messages", [$context["name"]], "method", false, false, false, 177));
$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
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "length", [], "any", false, false, false, 178) > 1)) {
// line 179
yield " <h4>E-mail #";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 179), "html", null, true);
yield " details</h4>
";
} else {
// line 181
yield " <h4>E-mail details</h4>
";
}
// line 183
yield "
<div class=\"card\">
<div class=\"card-block\">
<span class=\"label\">Subject</span>
<h2 class=\"m-t-10\">";
// line 187
(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["message"], "headers", [], "any", false, true, false, 187), "get", ["subject"], "method", false, true, false, 187), "value", [], "any", true, true, false, 187) && !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["message"], "headers", [], "any", false, true, false, 187), "get", ["subject"], "method", false, true, false, 187), "value", [], "any", false, false, false, 187)))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["message"], "headers", [], "any", false, true, false, 187), "get", ["subject"], "method", false, true, false, 187), "value", [], "any", false, false, false, 187), "html", null, true)) : (yield "(empty)"));
yield "</h2>
</div>
<div class=\"card-block\">
<div class=\"row\">
<div class=\"col col-4\">
<span class=\"label\">From</span>
<pre class=\"prewrap\">";
// line 193
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::replace((((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["message"], "headers", [], "any", false, true, false, 193), "get", ["from"], "method", false, true, false, 193), "toString", [], "any", true, true, false, 193) && !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["message"], "headers", [], "any", false, true, false, 193), "get", ["from"], "method", false, true, false, 193), "toString", [], "any", false, false, false, 193)))) ? (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["message"], "headers", [], "any", false, true, false, 193), "get", ["from"], "method", false, true, false, 193), "toString", [], "any", false, false, false, 193)) : ("(empty)")), ["From:" => ""]), "html", null, true);
yield "</pre>
<span class=\"label\">To</span>
<pre class=\"prewrap\">";
// line 196
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::replace((((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["message"], "headers", [], "any", false, true, false, 196), "get", ["to"], "method", false, true, false, 196), "toString", [], "any", true, true, false, 196) && !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["message"], "headers", [], "any", false, true, false, 196), "get", ["to"], "method", false, true, false, 196), "toString", [], "any", false, false, false, 196)))) ? (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["message"], "headers", [], "any", false, true, false, 196), "get", ["to"], "method", false, true, false, 196), "toString", [], "any", false, false, false, 196)) : ("(empty)")), ["To:" => ""]), "html", null, true);
yield "</pre>
</div>
<div class=\"col\">
<span class=\"label\">Headers</span>
<pre class=\"prewrap\">";
// line 200
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::filter($this->env, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["message"], "headers", [], "any", false, false, false, 200), "all", [], "any", false, false, false, 200), function ($__header__) use ($context, $macros) { $context["header"] = $__header__; return !CoreExtension::inFilter((((CoreExtension::getAttribute($this->env, $this->source, $context["header"], "fieldName", [], "any", true, true, false, 200) && !(null === CoreExtension::getAttribute($this->env, $this->source, $context["header"], "fieldName", [], "any", false, false, false, 200)))) ? (CoreExtension::getAttribute($this->env, $this->source, $context["header"], "fieldName", [], "any", false, false, false, 200)) : ("")), ["Subject", "From", "To"]); }));
foreach ($context['_seq'] as $context["_key"] => $context["header"]) {
// line 201
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["header"], "html", null, true);
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['header'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 202
yield "</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 ((CoreExtension::getAttribute($this->env, $this->source, $context["message"], "charset", [], "any", true, true, false, 214) && CoreExtension::getAttribute($this->env, $this->source, $context["message"], "charset", [], "any", false, false, false, 214))) {
// line 215
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::convertEncoding(CoreExtension::getAttribute($this->env, $this->source, $context["message"], "body", [], "any", false, false, false, 215), "UTF-8", CoreExtension::getAttribute($this->env, $this->source, $context["message"], "charset", [], "any", false, false, false, 215)), "html", null, true);
} else {
// line 217
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["message"], "body", [], "any", false, false, false, 217), "html", null, true);
}
// line 219
yield "</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
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["message"], "__contentType", [], "any", false, false, false, 227), "html", null, true);
yield ";base64,";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["message"], "__base64EncodedBody", [], "any", false, false, false, 227), "html", null, true);
yield "\"></iframe>
</div>
</div>
</div>
</div>
";
// line 233
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::filter($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["message"], "children", [], "any", false, false, false, 233), function ($__messagePart__) use ($context, $macros) { $context["messagePart"] = $__messagePart__; return CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["messagePart"], "contentType", [], "any", false, false, false, 233), ["text/plain", "text/html"]); }));
foreach ($context['_seq'] as $context["_key"] => $context["messagePart"]) {
// line 234
yield " <div class=\"card-block\">
<span class=\"label\">Alternative part (";
// line 235
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["messagePart"], "contentType", [], "any", false, false, false, 235), "html", null, true);
yield ")</span>
<pre class=\"prewrap\">";
// line 237
if ((CoreExtension::getAttribute($this->env, $this->source, $context["messagePart"], "charset", [], "any", true, true, false, 237) && CoreExtension::getAttribute($this->env, $this->source, $context["messagePart"], "charset", [], "any", false, false, false, 237))) {
// line 238
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::convertEncoding(CoreExtension::getAttribute($this->env, $this->source, $context["messagePart"], "body", [], "any", false, false, false, 238), "UTF-8", CoreExtension::getAttribute($this->env, $this->source, $context["messagePart"], "charset", [], "any", false, false, false, 238)), "html", null, true);
} else {
// line 240
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["messagePart"], "body", [], "any", false, false, false, 240), "html", null, true);
}
// line 242
yield "</pre>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['messagePart'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 245
yield "
";
// line 246
$context["attachments"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 246, $this->source); })()), "extractAttachments", [$context["message"]], "method", false, false, false, 246);
// line 247
yield " ";
if ((isset($context["attachments"]) || array_key_exists("attachments", $context) ? $context["attachments"] : (function () { throw new RuntimeError('Variable "attachments" does not exist.', 247, $this->source); })())) {
// line 248
yield " <div class=\"card-block\">
<span class=\"label\">
";
// line 250
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["attachments"]) || array_key_exists("attachments", $context) ? $context["attachments"] : (function () { throw new RuntimeError('Variable "attachments" does not exist.', 250, $this->source); })())) > 1)) {
// line 251
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["attachments"]) || array_key_exists("attachments", $context) ? $context["attachments"] : (function () { throw new RuntimeError('Variable "attachments" does not exist.', 251, $this->source); })())), "html", null, true);
yield " Attachments
";
} else {
// line 253
yield " 1 Attachment
";
}
// line 255
yield " </span>
<ol>
";
// line 258
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["attachments"]) || array_key_exists("attachments", $context) ? $context["attachments"] : (function () { throw new RuntimeError('Variable "attachments" does not exist.', 258, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["attachment"]) {
// line 259
yield " <li>
Filename:
";
// line 261
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["attachment"], "filename", [], "any", false, false, false, 261), "html", null, true);
yield "
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attachment'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 264
yield " </ol>
</div>
";
}
// line 267
yield " </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
yield " ";
}
// line 270
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['name'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@Swiftmailer/Collector/swiftmailer.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 718 => 270, 715 => 269, 700 => 267, 695 => 264, 686 => 261, 682 => 259, 678 => 258, 673 => 255, 669 => 253, 663 => 251, 661 => 250, 657 => 248, 654 => 247, 652 => 246, 649 => 245, 641 => 242, 638 => 240, 635 => 238, 633 => 237, 629 => 235, 626 => 234, 622 => 233, 611 => 227, 601 => 219, 598 => 217, 595 => 215, 593 => 214, 580 => 202, 574 => 201, 570 => 200, 563 => 196, 557 => 193, 548 => 187, 542 => 183, 538 => 181, 532 => 179, 529 => 178, 511 => 177, 505 => 173, 503 => 172, 500 => 171, 494 => 168, 490 => 167, 487 => 166, 484 => 165, 480 => 164, 477 => 163, 473 => 161, 462 => 158, 458 => 157, 455 => 156, 451 => 155, 448 => 154, 443 => 151, 434 => 148, 430 => 147, 426 => 146, 422 => 145, 419 => 144, 415 => 143, 403 => 133, 401 => 132, 398 => 131, 392 => 127, 390 => 126, 385 => 123, 373 => 113, 371 => 112, 368 => 111, 365 => 110, 355 => 109, 343 => 106, 337 => 103, 334 => 102, 332 => 101, 328 => 99, 322 => 97, 318 => 95, 316 => 94, 312 => 93, 309 => 92, 306 => 91, 296 => 90, 249 => 54, 239 => 53, 225 => 49, 222 => 48, 218 => 47, 215 => 46, 206 => 43, 202 => 42, 198 => 41, 195 => 40, 190 => 39, 187 => 38, 173 => 37, 169 => 35, 167 => 34, 161 => 31, 154 => 27, 150 => 26, 147 => 25, 129 => 24, 127 => 23, 121 => 20, 117 => 18, 115 => 17, 112 => 16, 108 => 15, 103 => 13, 98 => 12, 93 => 10, 90 => 9, 87 => 8, 84 => 7, 82 => 6, 79 => 5, 76 => 4, 66 => 3, 43 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
{% block toolbar %}
{% set profiler_markup_version = profiler_markup_version|default(1) %}
{% if collector.messageCount %}
{% set icon %}
{% if profiler_markup_version == 1 %}
<img width=\"23\" height=\"28\" alt=\"Swiftmailer\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAcCAYAAACK7SRjAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLz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+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\">{{ collector.messageCount }}</span>
{% else %}
{{ include('@Swiftmailer/Collector/icon.svg') }}
<span class=\"sf-toolbar-value\">{{ collector.messageCount }}</span>
{% endif %}
{% endset %}
{% set text %}
<div class=\"sf-toolbar-info-piece\">
<b>Sent messages</b>
<span class=\"sf-toolbar-status\">{{ collector.messageCount }}</span>
</div>
{% if profiler_markup_version == 1 %}
{% for name in collector.mailers %}
<div class=\"sf-toolbar-info-piece\">
<b>{{ name }}</b>
<span>{{ collector.messageCount(name) }}</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>Is spooled?</b>
<span>{{ collector.isSpool(name) ? 'yes' : 'no' }}</span>
</div>
{% if not loop.first %}
<hr>
{% endif %}
{% endfor %}
{% else %}
{% for name in collector.mailers %}
<div class=\"sf-toolbar-info-piece\">
<b>{{ name }} mailer</b>
<span class=\"sf-toolbar-status\">{{ collector.messageCount(name)|default(0) }}</span>
(<small>{{ collector.isSpool(name) ? 'spooled' : 'sent' }}</small>)
</div>
{% endfor %}
{% endif %}
{% endset %}
{{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { 'link': profiler_url }) }}
{% endif %}
{% endblock %}
{% block head %}
{{ parent() }}
<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>
{% endblock %}
{% block menu %}
{% set profiler_markup_version = profiler_markup_version|default(1) %}
<span class=\"label {{ collector.messageCount ? '' : 'disabled' }}\">
{% if profiler_markup_version == 1 %}
<span class=\"icon\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAeCAYAAABaKIzgAAAEDElEQVR42u2XWUhUURjHy6isILAebO+lonpJ8qkHM3NFVFxAUVFM0RSXUKnwwdAQn3wQE0MyA1MwBEUQcxvHZTTTHNcZl9DUGqd0JBOzcsZ7+n8XJ0Z0GueOVwg68GfmnLn3O7/7Lee7s4cxZpHq6uos0bb3+Q+6DrG3u7v7RHt7u3tbW9uD5ubm8qamJnlDQ4NKIpG8HhkZOU3X7BYoD9Tb22sjk8mcWltb70ul0pcAegugBfzOjKmzs/MJ7j0kCujw8PBhADkAKAVAz+EZGYA+08bmCN79qdFo7sGmjaWg+wgIIUtoaWl5CqDmxsbGj7SJpYK3uYWFBRnsDmEfWyGg+zs6OkIBNEoGxVB9fT2bnZ1VIHff03xmZuY29rUyF9QWT6sWC5I0OTk5rVAo3unnSqXyEfa1Nhf0Kp5UKRYk8lsDD0oM1/r6+l5h32Pmgl5UqVTP5ubmlEgBHRlCobC8vDzm5eXFHB0dRZWzs/OXsLCwu5SCpkBPo4DaMVRI9rbp6Wk1vnP+/v5kaFfk4eGhAcdJU6Dn+/v7q9aTnpPL5YqVlRV5eXm5Fk+7Gx7lCgsL68Fx2RToWST7C8McQgr8yMrKWkLu/hQz/LDNIZojycnJb8BxwRTocYT8oSEoQs8bSkpK0k5MTGgiIiK4nYYMDg7mcBLIo6OjP9Ec44opUGvIF+eoTg/a1dX1x2BISMgyKncpLS1tbacgU1NT2djY2HxoaOi8fg3jhilQK+gmQvBVD4qQbzDs4+ND6bBWUFCgtRQyJyeHdwSKdcODY9zaTgu9jheMcWOgJFdXV1ZZWclqamp0bm5uQoqGVVRUrFHBuru782tCQC+hW0j/BkpCPlGXIY9wfn5+5hQN5T3dS+cz5btg0DNTU1NFpkBra2tZaWkpy8jIYOPj4ywmJmY7RcMGBwdZZmYmKykpoa7ELPGozeLiYrIetKenZ5OhuLg4ft3T05OfJyQk8LDp6el/LRq6JiUlheb8vXgzY7m5uYJBD0LeeDnRApQ8sKloqK3GxsZuWEPrYzhiWHFx8ZZFMzo6yiIjIw1DTTZ+qNXqMRcXF0GgVpADKltDoCisDcbj4+NZfn7+ll5D9fKeprYbFRXFwsPDWVVV1SodPwEBAVueEtnZ2QNIhTkhoKRrAxhb5WhRURFzcnIyGmIcX9rq6uoPq6urAzqdrresrGwIHtMZux62OOT6AD4FgZ5bXl5+DMhv6P16j/KhCwoK2vHO5O3t/SsxMfG7ENAjkAOUBUkMvMVDiiFKDSGge6Gj0CUoGmffpvwSEfg7dUch/0LtkWcdvr6+a2JDBgYG6tDt6DXPTgjoKegOVAo1QVKR1AgVQ8GQrRDQA+uw9ushuSWSyLYdQRr7K/JP6DcTwr8i7Fj8pwAAAABJRU5ErkJggg==\" alt=\"Swiftmailer\" /></span>
{% else %}
<span class=\"icon\">{{ include('@Swiftmailer/Collector/icon.svg') }}</span>
{% endif %}
<strong>E-mails</strong>
{% if collector.messageCount > 0 %}
<span class=\"count\">
<span>{{ collector.messageCount }}</span>
</span>
{% endif %}
</span>
{% endblock %}
{% block panel %}
{% set profiler_markup_version = profiler_markup_version|default(1) %}
{% if profiler_markup_version == 1 %}
<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>
{% endif %}
<h2>E-mails</h2>
{% if not collector.mailers %}
<div class=\"empty\">
<p>No e-mail messages were sent.</p>
</div>
{% endif %}
{% if profiler_markup_version == 1 or collector.mailers|length > 1 %}
<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>
{% for name in collector.mailers %}
<tr>
<th class=\"font-normal\">{{ name }}</th>
<td class=\"font-normal\">{{ collector.messageCount(name) }}</td>
<td class=\"font-normal\">{{ collector.isSpool(name) ? 'spooled' : 'sent' }}</td>
<td class=\"font-normal\">{{ collector.isDefaultMailer(name) ? 'This is the default mailer' }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% else %}
<div class=\"metrics\">
{% for name in collector.mailers %}
<div class=\"metric\">
<span class=\"value\">{{ collector.messageCount(name) }}</span>
<span class=\"label\">{{ collector.isSpool(name) ? 'spooled' : 'sent' }} {{ collector.messageCount(name) == 1 ? 'message' : 'messages' }}</span>
</div>
{% endfor %}
</div>
{% endif %}
{% for name in collector.mailers %}
{% if collector.mailers|length > 1 %}
<h3>
{{ name }} <span>mailer</span>
<small>{{ collector.isDefaultMailer(name) ? '(default app mailer)' }}</small>
</h3>
{% endif %}
{% if not collector.messages(name) %}
<div class=\"empty\">
<p>No e-mail messages were sent.</p>
</div>
{% else %}
{% for message in collector.messages(name) %}
{% if loop.length > 1 %}
<h4>E-mail #{{ loop.index }} details</h4>
{% else %}
<h4>E-mail details</h4>
{% endif %}
<div class=\"card\">
<div class=\"card-block\">
<span class=\"label\">Subject</span>
<h2 class=\"m-t-10\">{{ message.headers.get('subject').value ?? '(empty)' }}</h2>
</div>
<div class=\"card-block\">
<div class=\"row\">
<div class=\"col col-4\">
<span class=\"label\">From</span>
<pre class=\"prewrap\">{{ (message.headers.get('from').toString ?? '(empty)')|replace({'From:': ''}) }}</pre>
<span class=\"label\">To</span>
<pre class=\"prewrap\">{{ (message.headers.get('to').toString ?? '(empty)')|replace({'To:': ''}) }}</pre>
</div>
<div class=\"col\">
<span class=\"label\">Headers</span>
<pre class=\"prewrap\">{% for header in message.headers.all|filter(header => (header.fieldName ?? '') not in ['Subject', 'From', 'To']) %}
{{- header -}}
{% endfor %}</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\">
{%- if message.charset is defined and message.charset %}
{{- message.body|convert_encoding('UTF-8', message.charset) }}
{%- else %}
{{- message.body }}
{%- endif -%}
</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:{{ message.__contentType }};base64,{{ message.__base64EncodedBody }}\"></iframe>
</div>
</div>
</div>
</div>
{% for messagePart in message.children|filter(messagePart => messagePart.contentType in ['text/plain', 'text/html']) %}
<div class=\"card-block\">
<span class=\"label\">Alternative part ({{ messagePart.contentType }})</span>
<pre class=\"prewrap\">
{%- if messagePart.charset is defined and messagePart.charset %}
{{- messagePart.body|convert_encoding('UTF-8', messagePart.charset) }}
{%- else %}
{{- messagePart.body }}
{%- endif -%}
</pre>
</div>
{% endfor %}
{% set attachments = collector.extractAttachments(message) %}
{% if attachments %}
<div class=\"card-block\">
<span class=\"label\">
{% if attachments|length > 1 %}
{{ attachments|length }} Attachments
{% else %}
1 Attachment
{% endif %}
</span>
<ol>
{% for attachment in attachments %}
<li>
Filename:
{{ attachment.filename }}
</li>
{% endfor %}
</ol>
</div>
{% endif %}
</div>
{% endfor %}
{% endif %}
{% endfor %}
{% endblock %}
", "@Swiftmailer/Collector/swiftmailer.html.twig", "/home/users/sanjeev.papnoi/www/html/uvdesk-community-v1.1.6/vendor/symfony/swiftmailer-bundle/Resources/views/Collector/swiftmailer.html.twig");
}
}