<?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;
/* @DreiscCmsPro/storefront/section/cms-section-block-container.html.twig */
class __TwigTemplate_69a576a19b06f8668c5d5f10c32c6247 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'],
'section_content_block_container' => [$this, 'block_section_content_block_container'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@FlinkCmsGridBuilder/storefront/section/cms-section-block-container.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", "@DreiscCmsPro/storefront/section/cms-section-block-container.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@DreiscCmsPro/storefront/section/cms-section-block-container.html.twig"));
$this->parent = $this->loadTemplate("@FlinkCmsGridBuilder/storefront/section/cms-section-block-container.html.twig", "@DreiscCmsPro/storefront/section/cms-section-block-container.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 3
public function block_section_content_block($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", "section_content_block"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "section_content_block"));
// line 4
echo " ";
// line 5
echo " ";
if (twig_test_empty(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["block"] ?? null), "customFields", [], "any", false, false, false, 5), "dreisc_cms_parent_block_id", [], "any", false, false, false, 5))) {
// line 6
echo " ";
$this->displayParentBlock("section_content_block", $context, $blocks);
echo "
";
} else {
// line 8
echo " ";
// line 9
echo " ";
if ((array_key_exists("parentBlockId", $context) && (($context["parentBlockId"] ?? null) == sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["block"] ?? null), "customFields", [], "any", false, false, false, 9), "dreisc_cms_parent_block_id", [], "any", false, false, false, 9)))) {
// line 10
echo " ";
$this->displayParentBlock("section_content_block", $context, $blocks);
echo "
";
}
// line 12
echo " ";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 15
public function block_section_content_block_container($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", "section_content_block_container"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "section_content_block_container"));
// line 16
echo " ";
if (array_key_exists("overrideMargin", $context)) {
// line 17
echo " ";
$context["margin"] = ($context["overrideMargin"] ?? null);
// line 18
echo " ";
}
// line 19
echo "
";
// line 20
$this->displayParentBlock("section_content_block_container", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@DreiscCmsPro/storefront/section/cms-section-block-container.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 124 => 20, 121 => 19, 118 => 18, 115 => 17, 112 => 16, 102 => 15, 91 => 12, 85 => 10, 82 => 9, 80 => 8, 74 => 6, 71 => 5, 69 => 4, 59 => 3, 36 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/section/cms-section-block-container.html.twig' %}
{% block section_content_block %}
{# Make sure, that we only render the first level #}
{% if block.customFields.dreisc_cms_parent_block_id is empty %}
{{ parent() }}
{% else %}
{# In case of a block with a parent block id we check if the parentBlockId is set and matches #}
{% if parentBlockId is defined and parentBlockId == block.customFields.dreisc_cms_parent_block_id %}
{{ parent() }}
{% endif %}
{% endif %}
{% endblock %}
{% block section_content_block_container %}
{% if overrideMargin is defined %}
{% set margin = overrideMargin %}
{% endif %}
{{ parent() }}
{% endblock %}
", "@DreiscCmsPro/storefront/section/cms-section-block-container.html.twig", "/var/www/share/efb-elektronik.dev.mc.emzcustomers.de/shopware6/vendor/store.shopware.com/dreisccmspro/src/Resources/views/storefront/section/cms-section-block-container.html.twig");
}
}