<?php
use Twig\Environment;
use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @zenitPlatformSalesCountdownBar/storefront/base.html.twig */
class __TwigTemplate_d6fab633419b7a31ea3ed671ca6503b5 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'base_body_inner' => [$this, 'block_base_body_inner'],
'zenit_sales_countdown_bar_extends' => [$this, 'block_zenit_sales_countdown_bar_extends'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@ZweiPunktStageWare/storefront/base.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", "@zenitPlatformSalesCountdownBar/storefront/base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@zenitPlatformSalesCountdownBar/storefront/base.html.twig"));
$this->parent = $this->loadTemplate("@ZweiPunktStageWare/storefront/base.html.twig", "@zenitPlatformSalesCountdownBar/storefront/base.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 4
public function block_base_body_inner($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", "base_body_inner"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_body_inner"));
// line 5
echo "
";
// line 6
$this->displayBlock('zenit_sales_countdown_bar_extends', $context, $blocks);
// line 17
echo "
";
// line 18
$this->displayParentBlock("base_body_inner", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 6
public function block_zenit_sales_countdown_bar_extends($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", "zenit_sales_countdown_bar_extends"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "zenit_sales_countdown_bar_extends"));
// line 7
echo " ";
$context["zenSalesCountdownBar"] = sw_get_attribute($this->env, $this->source, (($__internal_compile_0 = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "context", [], "any", false, false, false, 7), "extensions", [], "any", false, false, false, 7)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["zenitPlatformSalesCountdownBar"] ?? null) : null), "config", [], "any", false, false, false, 7);
// line 8
echo "
";
// line 9
if (sw_get_attribute($this->env, $this->source, ($context["zenSalesCountdownBar"] ?? null), "active", [], "any", false, false, false, 9)) {
// line 10
echo " ";
$this->loadTemplate("@zenitPlatformSalesCountdownBar/storefront/sales-countdown-bar/sales-countdown-bar.html.twig", "@zenitPlatformSalesCountdownBar/storefront/base.html.twig", 10)->display(twig_array_merge($context, ["position" => sw_get_attribute($this->env, $this->source, // line 11
($context["zenSalesCountdownBar"] ?? null), "position", [], "any", false, false, false, 11), "hidden" => true]));
// line 14
echo " ";
}
// line 15
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@zenitPlatformSalesCountdownBar/storefront/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 115 => 15, 112 => 14, 110 => 11, 108 => 10, 106 => 9, 103 => 8, 100 => 7, 90 => 6, 77 => 18, 74 => 17, 72 => 6, 69 => 5, 59 => 4, 36 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
{# Include the sales countdown bar #}
{% block base_body_inner %}
{% block zenit_sales_countdown_bar_extends %}
{% set zenSalesCountdownBar = context.context.extensions['zenitPlatformSalesCountdownBar'].config %}
{% if zenSalesCountdownBar.active %}
{% sw_include '@Storefront/storefront/sales-countdown-bar/sales-countdown-bar.html.twig' with {
position: zenSalesCountdownBar.position,
hidden: true
} %}
{% endif %}
{% endblock %}
{{ parent() }}
{% endblock %}
", "@zenitPlatformSalesCountdownBar/storefront/base.html.twig", "/usr/www/users/betten/betten-abc-alt-und-tot.de/custom/plugins/zenitPlatformSalesCountdownBar/src/Resources/views/storefront/base.html.twig");
}
}