<?php
use Twig\Environment;
use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
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;
/* @ATNTheme/storefront/section/cms-section-block-container.html.twig */
class __TwigTemplate_0411780a15899c3d9c15a266b376ba8271470299d24f6b33b0db42c3b25315f1 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'section_content_block' => [$this, 'block_section_content_block'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@Storefront/storefront/section/cms-section-block-container.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ATNTheme/storefront/section/cms-section-block-container.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ATNTheme/storefront/section/cms-section-block-container.html.twig"));
$this->parent = $this->loadTemplate("@Storefront/storefront/section/cms-section-block-container.html.twig", "@ATNTheme/storefront/section/cms-section-block-container.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_section_content_block($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "section_content_block"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "section_content_block"));
// line 4
echo " ";
if (((0 === twig_compare(sw_get_attribute($this->env, $this->source, ($context["block"] ?? null), "type", [], "any", false, false, false, 4), "cross-selling")) && (0 >= twig_compare(twig_length_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["block"] ?? null), "slots", [], "any", false, false, false, 4), "first", [], "any", false, false, false, 4), "data", [], "any", false, false, false, 4), "crossSellings", [], "any", false, false, false, 4), "elements", [], "any", false, false, false, 4)), 0)))) {
// line 5
echo " ";
} else {
// line 6
echo " ";
$this->displayParentBlock("section_content_block", $context, $blocks);
echo "
";
// line 8
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["block"] ?? null), "slots", [], "any", false, false, false, 8), "first", [], "any", false, false, false, 8), "data", [], "any", false, false, false, 8), "crossSellings", [], "any", false, false, false, 8), "elements", [], "any", false, false, false, 8));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 9
echo " ";
if ((1 === twig_compare(sw_get_attribute($this->env, $this->source, $context["item"], "total", [], "any", false, false, false, 9), 4))) {
// line 10
echo " <div class=\"cms-block cms-block-text\" style=\"\">
<div class=\"cms-block-container\" style=\"padding: 7% 20px 0 20px; margin-top: 5%\">
<div class=\"cms-block-container-row row cms-row \">
<div class=\"col-12\" data-cms-element-id=\"30ebb258f57040d49157510173468cfc\">
<div class=\" cms-element-text\">
<div class=\"text-center\">
<button class=\"btn btn-outline-primary btn-animated\" role=\"button\"
data-wbn-expand-slider-options=\"{"sliderBlockClass": "slider-1" }\"
data-wbn-expand-slider=\"true\" aria-pressed=\"true\">
<span class=\"button-text\">Alle Produkte in der Übersicht</span>
<span class=\"icon icon-arrow-right icon-primary\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path
fill=\"#758CA3\"
fill-rule=\"evenodd\"
d=\"m20.5858 13-4.293 4.2929c-.3904.3905-.3904 1.0237 0 1.4142.3906.3905 1.0238.3905 1.4143 0l6-6c.3905-.3905.3905-1.0237 0-1.4142l-6-6c-.3905-.3905-1.0237-.3905-1.4142 0-.3905.3905-.3905 1.0237 0 1.4142L20.5858 11H1c-.5523 0-1 .4477-1 1s.4477 1 1 1h19.5858z\"></path></svg>
</span>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
";
} else {
// line 34
echo " <div class=\"cms-block cms-block-text\" style=\"\">
<div class=\"cms-block-container\" style=\"padding: 5% 20px 5% 20px;\"></div>
</div>
";
}
// line 38
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 39
echo " ";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@ATNTheme/storefront/section/cms-section-block-container.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 125 => 39, 119 => 38, 113 => 34, 87 => 10, 84 => 9, 80 => 8, 74 => 6, 71 => 5, 68 => 4, 58 => 3, 35 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/section/cms-section-block-container.html.twig' %}
{% block section_content_block %}
{% if block.type ==\"cross-selling\" and block.slots.first.data.crossSellings.elements|length <= 0 %}
{% else %}
{{ parent() }}
{% for item in block.slots.first.data.crossSellings.elements %}
{% if item.total > 4 %}
<div class=\"cms-block cms-block-text\" style=\"\">
<div class=\"cms-block-container\" style=\"padding: 7% 20px 0 20px; margin-top: 5%\">
<div class=\"cms-block-container-row row cms-row \">
<div class=\"col-12\" data-cms-element-id=\"30ebb258f57040d49157510173468cfc\">
<div class=\" cms-element-text\">
<div class=\"text-center\">
<button class=\"btn btn-outline-primary btn-animated\" role=\"button\"
data-wbn-expand-slider-options=\"{"sliderBlockClass": "slider-1" }\"
data-wbn-expand-slider=\"true\" aria-pressed=\"true\">
<span class=\"button-text\">Alle Produkte in der Übersicht</span>
<span class=\"icon icon-arrow-right icon-primary\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path
fill=\"#758CA3\"
fill-rule=\"evenodd\"
d=\"m20.5858 13-4.293 4.2929c-.3904.3905-.3904 1.0237 0 1.4142.3906.3905 1.0238.3905 1.4143 0l6-6c.3905-.3905.3905-1.0237 0-1.4142l-6-6c-.3905-.3905-1.0237-.3905-1.4142 0-.3905.3905-.3905 1.0237 0 1.4142L20.5858 11H1c-.5523 0-1 .4477-1 1s.4477 1 1 1h19.5858z\"></path></svg>
</span>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
{% else %}
<div class=\"cms-block cms-block-text\" style=\"\">
<div class=\"cms-block-container\" style=\"padding: 5% 20px 5% 20px;\"></div>
</div>
{% endif %}
{% endfor %}
{% endif %}
{% endblock %}", "@ATNTheme/storefront/section/cms-section-block-container.html.twig", "/www/htdocs/w01c128a/atngmbh.webneo-demo.de/www/custom/plugins/ATNTheme/src/Resources/views/storefront/section/cms-section-block-container.html.twig");
}
}