<?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;
/* platform/component/organism/theme_default_security_footer.html.twig */
class __TwigTemplate_82f3f3da29284e0c6e08be045d7101bc extends Template
{
private $source;
private $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 = [])
{
$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", "platform/component/organism/theme_default_security_footer.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "platform/component/organism/theme_default_security_footer.html.twig"));
// line 1
if ( !array_key_exists("componentKey", $context)) {
// line 2
yield "\t";
$context["componentKey"] = "theme_default_security_footer";
}
// line 4
$context["item_config"] = $this->env->getRuntime('App\Twig\Runtime\PlatformComponentRuntime')->generateComponentOptions((isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 4, $this->source); })()), (isset($context["componentKey"]) || array_key_exists("componentKey", $context) ? $context["componentKey"] : (function () { throw new RuntimeError('Variable "componentKey" does not exist.', 4, $this->source); })()));
// line 5
yield "
<footer data-component-acl=\"";
// line 6
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["componentKey"]) || array_key_exists("componentKey", $context) ? $context["componentKey"] : (function () { throw new RuntimeError('Variable "componentKey" does not exist.', 6, $this->source); })()), "html", null, true);
yield "\" class=\"main-footer ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["item_config"]) || array_key_exists("item_config", $context) ? $context["item_config"] : (function () { throw new RuntimeError('Variable "item_config" does not exist.', 6, $this->source); })()), "item", [], "any", false, false, false, 6), "class", [], "any", false, false, false, 6), "html", null, true);
yield "\" ";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["value"] ?? null), "background", [], "any", false, true, false, 6), "color", [], "any", true, true, false, 6)) {
yield "style=\"background-color:";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 6, $this->source); })()), "background", [], "any", false, false, false, 6), "color", [], "any", false, false, false, 6), "html", null, true);
yield "\"";
}
yield ">
\t";
// line 7
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["value"] ?? null), "container", [], "any", true, true, false, 7) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 7, $this->source); })()), "container", [], "any", false, false, false, 7) == true))) {
// line 8
yield "\t\t<div class=\"container\">
\t\t\t<div class=\"row main-footer-sections ";
// line 9
if (CoreExtension::getAttribute($this->env, $this->source, ($context["value"] ?? null), "wrapper", [], "any", true, true, false, 9)) {
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 9, $this->source); })()), "wrapper", [], "any", false, false, false, 9), "html", null, true);
}
yield "\">
\t";
} else {
// line 11
yield "\t\t\t<div class=\"d-flex main-footer-sections ";
if (CoreExtension::getAttribute($this->env, $this->source, ($context["value"] ?? null), "wrapper", [], "any", true, true, false, 11)) {
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 11, $this->source); })()), "wrapper", [], "any", false, false, false, 11), "html", null, true);
}
yield "\" style=\"flex-wrap: wrap;\">
\t";
}
// line 13
yield "
\t\t\t";
// line 14
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 14, $this->source); })()), "sections", [], "any", false, false, false, 14));
foreach ($context['_seq'] as $context["key"] => $context["item"]) {
// line 15
yield "\t\t\t\t<div class=\"col";
if (CoreExtension::getAttribute($this->env, $this->source, $context["item"], "col", [], "any", true, true, false, 15)) {
yield "-";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "col", [], "any", false, false, false, 15), "html", null, true);
}
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["item"], "class", [], "any", true, true, false, 15)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "class", [], "any", false, false, false, 15), "html", null, true);
}
yield "\">
\t\t\t\t\t";
// line 16
yield $this->env->getRuntime('App\Twig\Runtime\PlatformComponentRuntime')->component($context["item"], ("security.footer.sections." . $context["key"]));
yield "
\t\t\t\t</div>
\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 19
yield "
\t";
// line 20
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["value"] ?? null), "container", [], "any", true, true, false, 20) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 20, $this->source); })()), "container", [], "any", false, false, false, 20) == true))) {
// line 21
yield "\t\t\t</div>
\t\t</div>
\t";
} else {
// line 24
yield "\t\t</div>
\t";
}
// line 26
yield "</footer>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "platform/component/organism/theme_default_security_footer.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 131 => 26, 127 => 24, 122 => 21, 120 => 20, 117 => 19, 108 => 16, 96 => 15, 92 => 14, 89 => 13, 80 => 11, 72 => 9, 69 => 8, 67 => 7, 55 => 6, 52 => 5, 50 => 4, 46 => 2, 44 => 1,);
}
public function getSourceContext()
{
return new Source("{% if componentKey is not defined %}
\t{% set componentKey = \"theme_default_security_footer\" %}
{% endif %}
{% set item_config = generateComponentOptions(value, componentKey)%}
<footer data-component-acl=\"{{ componentKey }}\" class=\"main-footer {{ item_config.item.class }}\" {% if value.background.color is defined %}style=\"background-color:{{ value.background.color }}\"{% endif %}>
\t{% if value.container is defined and value.container == true %}
\t\t<div class=\"container\">
\t\t\t<div class=\"row main-footer-sections {% if value.wrapper is defined %} {{value.wrapper}}{%endif%}\">
\t{% else %}
\t\t\t<div class=\"d-flex main-footer-sections {% if value.wrapper is defined %} {{value.wrapper}}{%endif%}\" style=\"flex-wrap: wrap;\">
\t{% endif %}
\t\t\t{% for key, item in value.sections %}
\t\t\t\t<div class=\"col{% if item.col is defined %}-{{ item.col }}{% endif %} {% if item.class is defined %}{{ item.class }}{% endif %}\">
\t\t\t\t\t{{ component(item, 'security.footer.sections.' ~ key) }}
\t\t\t\t</div>
\t\t\t{% endfor %}
\t{% if value.container is defined and value.container == true %}
\t\t\t</div>
\t\t</div>
\t{% else %}
\t\t</div>
\t{% endif %}
</footer>
", "platform/component/organism/theme_default_security_footer.html.twig", "/var/www/dtv-preprod/current/templates/platform/component/organism/theme_default_security_footer.html.twig");
}
}