<?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;
/* Blocks/FiftySplit/Frontend/renderFrontend.html.twig */
class __TwigTemplate_53db8f287afb52afdc9878f825145d29 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Blocks/FiftySplit/Frontend/renderFrontend.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Blocks/FiftySplit/Frontend/renderFrontend.html.twig"));
// line 1
yield "<section class=\"content block block-margin block-padded\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-lg-6 mb-3 mb-lg-0 text-left\">
";
// line 5
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 5, $this->source); })()), "contentLeftType", [], "any", false, false, false, 5) == "text")) {
// line 6
yield " <div class=\"bg-secondary p-3 round-corners h-100\" id=\"intro\">
";
// line 7
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 7, $this->source); })()), "contentLeft", [], "any", false, false, false, 7);
yield "
</div>
";
} else {
// line 10
yield " <img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 10, $this->source); })()), "imageLeft", [], "any", false, false, false, 10), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 10, $this->source); })()), "altTextLeft", [], "any", false, false, false, 10), "html", null, true);
yield "\" class=\"img-fluid round-corners\"/>
";
}
// line 12
yield " </div>
<div class=\"col-lg-6\">
";
// line 14
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 14, $this->source); })()), "contentRightType", [], "any", false, false, false, 14) == "text")) {
// line 15
yield " <div class=\"bg-secondary p-3 round-corners h-100\" id=\"intro\">
";
// line 16
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 16, $this->source); })()), "contentRight", [], "any", false, false, false, 16);
yield "
</div>
";
} else {
// line 19
yield " <img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 19, $this->source); })()), "imageRight", [], "any", false, false, false, 19), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 19, $this->source); })()), "altTextRight", [], "any", false, false, false, 19), "html", null, true);
yield "\" class=\"img-fluid round-corners\"/>
";
}
// line 21
yield " </div>
</div>
</div>
</section>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "Blocks/FiftySplit/Frontend/renderFrontend.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 96 => 21, 88 => 19, 82 => 16, 79 => 15, 77 => 14, 73 => 12, 65 => 10, 59 => 7, 56 => 6, 54 => 5, 48 => 1,);
}
public function getSourceContext(): Source
{
return new Source("<section class=\"content block block-margin block-padded\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-lg-6 mb-3 mb-lg-0 text-left\">
{% if data.contentLeftType == \"text\" %}
<div class=\"bg-secondary p-3 round-corners h-100\" id=\"intro\">
{{ data.contentLeft|raw }}
</div>
{% else %}
<img src=\"{{ data.imageLeft }}\" alt=\"{{ data.altTextLeft }}\" class=\"img-fluid round-corners\"/>
{% endif %}
</div>
<div class=\"col-lg-6\">
{% if data.contentRightType == \"text\" %}
<div class=\"bg-secondary p-3 round-corners h-100\" id=\"intro\">
{{ data.contentRight|raw }}
</div>
{% else %}
<img src=\"{{ data.imageRight }}\" alt=\"{{ data.altTextRight}}\" class=\"img-fluid round-corners\"/>
{% endif %}
</div>
</div>
</div>
</section>", "Blocks/FiftySplit/Frontend/renderFrontend.html.twig", "/home/cwd-mm-apollo-website/htdocs/apollo-website.cwd-mm.com/templates/Blocks/FiftySplit/Frontend/renderFrontend.html.twig");
}
}