<?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;
/* @FuerstenbergPorzellan/storefront/base.html.twig */
class __TwigTemplate_0c1c973c6ec3e6ba36b90f5c912b917a extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'base_header' => [$this, 'block_base_header'],
'base_header_inner' => [$this, 'block_base_header_inner'],
'base_navigation_inner' => [$this, 'block_base_navigation_inner'],
'base_navigation' => [$this, 'block_base_navigation'],
'base_main' => [$this, 'block_base_main'],
'base_body_script' => [$this, 'block_base_body_script'],
'trustedshops_trustbadge' => [$this, 'block_trustedshops_trustbadge'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@NetiNextEasyCouponDesigns/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", "@FuerstenbergPorzellan/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", "@FuerstenbergPorzellan/storefront/base.html.twig"));
$this->parent = $this->loadTemplate("@NetiNextEasyCouponDesigns/storefront/base.html.twig", "@FuerstenbergPorzellan/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_header($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_header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_header"));
// line 5
echo " <div id=\"head-section\">
";
// line 6
$this->displayParentBlock("base_header", $context, $blocks);
echo "
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 11
public function block_base_header_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_header_inner"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_header_inner"));
// line 12
echo " ";
$this->displayParentBlock("base_header_inner", $context, $blocks);
echo "
<div class=\"nav-main d-xl-none\">
";
// line 14
$this->displayBlock('base_navigation_inner', $context, $blocks);
// line 17
echo " </div>
<div class=\"search-content\">
<div class=\"container\">
";
// line 20
$this->loadTemplate("@IntediaDoofinderSW6/storefront/layout/header/search.html.twig", "@FuerstenbergPorzellan/storefront/base.html.twig", 20)->display($context);
// line 21
echo " </div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 14
public function block_base_navigation_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_navigation_inner"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_navigation_inner"));
// line 15
echo " ";
$this->loadTemplate("@LdsMegaMenu/storefront/layout/navigation/navigation.html.twig", "@FuerstenbergPorzellan/storefront/base.html.twig", 15)->display($context);
// line 16
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 27
public function block_base_navigation($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_navigation"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_navigation"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 30
public function block_base_main($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_main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_main"));
// line 31
echo " ";
$this->displayParentBlock("base_main", $context, $blocks);
echo "
";
// line 32
if (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["page"] ?? null), "header", [], "any", false, false, false, 32), "navigation", [], "any", false, false, false, 32), "active", [], "any", false, false, false, 32), "customFields", [], "any", false, false, false, 32), "custom_category_json", [], "any", false, false, false, 32)) {
// line 33
echo " <script type=\"application/ld+json\">
";
// line 34
echo 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["page"] ?? null), "header", [], "any", false, false, false, 34), "navigation", [], "any", false, false, false, 34), "active", [], "any", false, false, false, 34), "customFields", [], "any", false, false, false, 34), "custom_category_json", [], "any", false, false, false, 34);
echo "
</script>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 40
public function block_base_body_script($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_script"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_body_script"));
// line 41
echo " ";
$this->displayParentBlock("base_body_script", $context, $blocks);
echo "
";
// line 42
$this->displayBlock('trustedshops_trustbadge', $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function block_trustedshops_trustbadge($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", "trustedshops_trustbadge"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "trustedshops_trustbadge"));
echo "
<script type=\"text/javascript\">
var _ts_language = document.documentElement.lang;
var _tsid = \"empty\";
switch (_ts_language) {
case \"de-DE\":
_tsid = \"XAD5194D3A5989A3A9596705364263BBC\";
break;
case \"en-GB\":
_tsid = \"XFCDFDC2A5154E4D26F15C1136ACABC53\";
break;
}
if (_tsid != \"empty\") {
(function () {
var _ts = document.createElement(\"script\");
_ts.setAttribute(\"data-desktop-y-offset\", \"24\");
_ts.setAttribute(\"data-mobile-y-offset\", \"20\");
_ts.setAttribute(\"data-desktop-disable-reviews\", \"false\");
_ts.setAttribute(\"data-desktop-enable-custom\", \"false\");
_ts.setAttribute(\"data-desktop-position\", \"right\");
_ts.setAttribute(\"data-desktop-custom-opening-direction\", \"topright\");
_ts.setAttribute(\"data-desktop-custom-width\", \"150\");
_ts.setAttribute(\"data-desktop-enable-fadeout\", \"false\");
_ts.setAttribute(\"data-disable-mobile\", \"false\");
_ts.setAttribute(\"data-disable-trustbadge\", \"false\");
_ts.setAttribute(\"data-mobile-custom-width\", \"150\");
_ts.setAttribute(\"data-mobile-custom-opening-direction\", \"topright\");
_ts.setAttribute(\"data-mobile-disable-reviews\", \"false\");
_ts.setAttribute(\"data-mobile-enable-custom\", \"false\");
_ts.setAttribute(\"data-mobile-position\", \"left\");
_ts.setAttribute(\"data-mobile-enable-topbar\", \"false\");
_ts.type = \"text/javascript\";
_ts.charset = \"utf-8\";
_ts.async = true;
_ts.src = \"//widgets.trustedshops.com/js/\" + _tsid + \".js\";
var __ts = document.getElementsByTagName(\"script\")[0];
__ts.parentNode.insertBefore(_ts, __ts);
})();
} else {
console.log(
\"Trusted Shops: Trustbadge is not configured for this shop's market/language.\"
);
}
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@FuerstenbergPorzellan/storefront/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 217 => 42, 212 => 41, 202 => 40, 188 => 34, 185 => 33, 183 => 32, 178 => 31, 168 => 30, 150 => 27, 140 => 16, 137 => 15, 127 => 14, 115 => 21, 113 => 20, 108 => 17, 106 => 14, 100 => 12, 90 => 11, 77 => 6, 74 => 5, 64 => 4, 41 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
{% block base_header %}
<div id=\"head-section\">
{{parent()}}
</div>
{% endblock %}
{% block base_header_inner %}
{{parent()}}
<div class=\"nav-main d-xl-none\">
{% block base_navigation_inner %}
{% sw_include '@Storefront/storefront/layout/navigation/navigation.html.twig' %}
{% endblock %}
</div>
<div class=\"search-content\">
<div class=\"container\">
{% sw_include '@Storefront/storefront/layout/header/search.html.twig' %}
</div>
</div>
{% endblock %}
{% block base_navigation %}{% endblock %}
{% block base_main %}
{{parent()}}
{% if page.header.navigation.active.customFields.custom_category_json %}
<script type=\"application/ld+json\">
{{page.header.navigation.active.customFields.custom_category_json|raw}}
</script>
{% endif %}
{% endblock %}
{% block base_body_script %}
{{parent()}}
{% block trustedshops_trustbadge %}
<script type=\"text/javascript\">
var _ts_language = document.documentElement.lang;
var _tsid = \"empty\";
switch (_ts_language) {
case \"de-DE\":
_tsid = \"XAD5194D3A5989A3A9596705364263BBC\";
break;
case \"en-GB\":
_tsid = \"XFCDFDC2A5154E4D26F15C1136ACABC53\";
break;
}
if (_tsid != \"empty\") {
(function () {
var _ts = document.createElement(\"script\");
_ts.setAttribute(\"data-desktop-y-offset\", \"24\");
_ts.setAttribute(\"data-mobile-y-offset\", \"20\");
_ts.setAttribute(\"data-desktop-disable-reviews\", \"false\");
_ts.setAttribute(\"data-desktop-enable-custom\", \"false\");
_ts.setAttribute(\"data-desktop-position\", \"right\");
_ts.setAttribute(\"data-desktop-custom-opening-direction\", \"topright\");
_ts.setAttribute(\"data-desktop-custom-width\", \"150\");
_ts.setAttribute(\"data-desktop-enable-fadeout\", \"false\");
_ts.setAttribute(\"data-disable-mobile\", \"false\");
_ts.setAttribute(\"data-disable-trustbadge\", \"false\");
_ts.setAttribute(\"data-mobile-custom-width\", \"150\");
_ts.setAttribute(\"data-mobile-custom-opening-direction\", \"topright\");
_ts.setAttribute(\"data-mobile-disable-reviews\", \"false\");
_ts.setAttribute(\"data-mobile-enable-custom\", \"false\");
_ts.setAttribute(\"data-mobile-position\", \"left\");
_ts.setAttribute(\"data-mobile-enable-topbar\", \"false\");
_ts.type = \"text/javascript\";
_ts.charset = \"utf-8\";
_ts.async = true;
_ts.src = \"//widgets.trustedshops.com/js/\" + _tsid + \".js\";
var __ts = document.getElementsByTagName(\"script\")[0];
__ts.parentNode.insertBefore(_ts, __ts);
})();
} else {
console.log(
\"Trusted Shops: Trustbadge is not configured for this shop's market/language.\"
);
}
</script>
{% endblock %}
{% endblock %}", "@FuerstenbergPorzellan/storefront/base.html.twig", "/var/customers/webs/fporzellan/htdocs/custom/plugins/FuerstenbergPorzellan/src/Resources/views/storefront/base.html.twig");
}
}