<?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;
/* @TdsOrlob/storefront/base.html.twig */
class __TwigTemplate_0ede1d540463707f247f8eb2ae47325403bafbd319b12e338a63e21e92ac613b 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_body_script' => [$this, 'block_base_body_script'],
'base_html' => [$this, 'block_base_html'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@IntediaDoofinderSW6/storefront/base.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", "@TdsOrlob/storefront/base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@TdsOrlob/storefront/base.html.twig"));
$this->parent = $this->loadTemplate("@IntediaDoofinderSW6/storefront/base.html.twig", "@TdsOrlob/storefront/base.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_base_header($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", "base_header"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_header"));
// line 4
echo "
";
// line 5
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "salesChannel", [], "any", false, false, false, 5), "customFields", [], "any", false, false, false, 5), "custom_site_marquee", [], "any", false, false, false, 5)) {
// line 6
echo "\t <marquee width=\"100%\" direction=\"left\">
";
// line 7
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tdsOrlob.topBar.marquee"), "html", null, true);
echo "
\t </marquee>
";
}
// line 10
echo "\t
<div class=\"info-bar bg-light shadow-sm d-none d-md-block\">
<div class=\"container text-center\">
<p class=\"mb-0 d-md-inline-block\">
";
// line 14
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tdsOrlob.topBar.text"));
echo "
</p>
<div class=\"pl-md-3 d-md-inline-block\">
";
// line 17
$this->loadTemplate("@Storefront/storefront/layout/header/actions/language-widget.html.twig", "@TdsOrlob/storefront/base.html.twig", 17)->display($context);
// line 18
echo " </div>
</div>
</div>
<header class=\"header-main\">
\t <div class=\"overlay-left\"></div>
\t <div class=\"overlay-right\"></div>
\t ";
// line 26
$this->displayBlock('base_header_inner', $context, $blocks);
// line 31
echo " </header>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 26
public function block_base_header_inner($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", "base_header_inner"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_header_inner"));
// line 27
echo "\t <div class=\"container\">
\t ";
// line 28
$this->loadTemplate("@TdsOrlob/storefront/layout/header/header.html.twig", "@TdsOrlob/storefront/base.html.twig", 28)->display($context);
// line 29
echo "\t </div>
\t ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 34
public function block_base_body_script($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", "base_body_script"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_body_script"));
// line 35
echo " ";
$this->displayParentBlock("base_body_script", $context, $blocks);
echo "
<style>
\t.sf-toolbar,
\t.sf-dump {
\t \tdisplay: none !important;
\t}
</style>
";
// line 42
if ((0 === twig_compare(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "currentCustomerGroup", [], "any", false, false, false, 42), "name", [], "any", false, false, false, 42), "Admin"))) {
// line 43
echo "\t";
// line 44
echo "\t <style>
\t \t.sf-toolbar,
\t \t.sf-dump {
\t\t \tdisplay: block !important;
\t \t}
\t </style>
\t";
}
// line 50
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 53
public function block_base_html($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", "base_html"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_html"));
// line 54
echo " <html lang=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 54), "locale", [], "any", false, false, false, 54), "html", null, true);
echo "\"
itemscope=\"itemscope\"
itemtype=\"https://schema.org/WebPage\"
name=\"";
// line 57
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "cmsPage", [], "any", false, false, false, 57), "name", [], "any", false, false, false, 57), "html", null, true);
echo "\"
type=\"";
// line 58
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "cmsPage", [], "any", false, false, false, 58), "type", [], "any", false, false, false, 58), "html", null, true);
echo "\"
type=\"";
// line 59
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "cmsPage", [], "any", false, false, false, 59), "type", [], "any", false, false, false, 59), "html", null, true);
echo "\"
controllerAction=\"";
// line 60
echo sw_escape_filter($this->env, ($context["controllerAction"] ?? null), "html", null, true);
echo "\"
>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@TdsOrlob/storefront/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 222 => 60, 218 => 59, 214 => 58, 210 => 57, 203 => 54, 193 => 53, 182 => 50, 173 => 44, 171 => 43, 169 => 42, 158 => 35, 148 => 34, 137 => 29, 135 => 28, 132 => 27, 122 => 26, 111 => 31, 109 => 26, 99 => 18, 97 => 17, 91 => 14, 85 => 10, 79 => 7, 76 => 6, 74 => 5, 71 => 4, 61 => 3, 38 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
{% block base_header %}
{% if context.salesChannel.customFields.custom_site_marquee %}
\t <marquee width=\"100%\" direction=\"left\">
{{ 'tdsOrlob.topBar.marquee'|trans }}
\t </marquee>
{% endif %}
\t
<div class=\"info-bar bg-light shadow-sm d-none d-md-block\">
<div class=\"container text-center\">
<p class=\"mb-0 d-md-inline-block\">
{{ 'tdsOrlob.topBar.text'|trans|sw_sanitize }}
</p>
<div class=\"pl-md-3 d-md-inline-block\">
{% sw_include '@Storefront/storefront/layout/header/actions/language-widget.html.twig' %}
</div>
</div>
</div>
<header class=\"header-main\">
\t <div class=\"overlay-left\"></div>
\t <div class=\"overlay-right\"></div>
\t {% block base_header_inner %}
\t <div class=\"container\">
\t {% sw_include '@Storefront/storefront/layout/header/header.html.twig' %}
\t </div>
\t {% endblock %}
</header>
{% endblock %}
{% block base_body_script %}
{{ parent() }}
<style>
\t.sf-toolbar,
\t.sf-dump {
\t \tdisplay: none !important;
\t}
</style>
{% if context.currentCustomerGroup.name == 'Admin' %}
\t{# {{ dump() }} #}
\t <style>
\t \t.sf-toolbar,
\t \t.sf-dump {
\t\t \tdisplay: block !important;
\t \t}
\t </style>
\t{% endif %}
{% endblock %}
{% block base_html %}
<html lang=\"{{ app.request.locale }}\"
itemscope=\"itemscope\"
itemtype=\"https://schema.org/WebPage\"
name=\"{{ page.cmsPage.name }}\"
type=\"{{ page.cmsPage.type }}\"
type=\"{{ page.cmsPage.type }}\"
controllerAction=\"{{ controllerAction }}\"
>
{% endblock %}", "@TdsOrlob/storefront/base.html.twig", "/home/fasflpog/shopware/custom/plugins/TdsOrlob/src/Resources/views/storefront/base.html.twig");
}
}