<?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;
/* @DecomTheme/storefront/base.html.twig */
class __TwigTemplate_8c1383cbc36ee4356a2bfe22e474fd3e6e1a36896cc659ec6b9547ae416db23a 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' => [$this, 'block_base_navigation'],
'base_breadcrumb' => [$this, 'block_base_breadcrumb'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@WeedesignImages2WebP/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", "@DecomTheme/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", "@DecomTheme/storefront/base.html.twig"));
$this->parent = $this->loadTemplate("@WeedesignImages2WebP/storefront/base.html.twig", "@DecomTheme/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 " <header class=\"header-main\">
";
// line 5
$this->displayBlock('base_header_inner', $context, $blocks);
// line 8
echo " </header>
";
// line 10
if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "sw-contact-phone-link") || $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "sw-contact-email-link"))) {
// line 11
echo " <div class=\"floating-cta\">
";
// line 12
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "sw-contact-phone-link")) {
// line 13
echo " <div class=\"cta-item\">
<p><a href=\"tel:";
// line 14
echo sw_escape_filter($this->env, $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "sw-contact-phone-link"), "html", null, true);
echo "\">";
echo sw_escape_filter($this->env, $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "sw-contact-phone-link"), "html", null, true);
echo "</a></p>
";
// line 15
((function () use ($context, $blocks) {
$finder = $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
$includeTemplate = $finder->find("@Storefront/storefront/utilities/icon.html.twig");
return $this->loadTemplate($includeTemplate ?? null, "@DecomTheme/storefront/base.html.twig", 15);
})())->display(twig_array_merge($context, ["namespace" => "DecomTheme", "name" => "phone-icon"]));
// line 16
echo " </div>
";
}
// line 18
echo "
";
// line 19
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "sw-contact-email-link")) {
// line 20
echo " <div class=\"cta-item\">
<p><a href=\"mailto:";
// line 21
echo sw_escape_filter($this->env, $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "sw-contact-email-link"), "html", null, true);
echo "\">";
echo sw_escape_filter($this->env, $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "sw-contact-email-link"), "html", null, true);
echo "</a></p>
";
// line 22
((function () use ($context, $blocks) {
$finder = $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
$includeTemplate = $finder->find("@Storefront/storefront/utilities/icon.html.twig");
return $this->loadTemplate($includeTemplate ?? null, "@DecomTheme/storefront/base.html.twig", 22);
})())->display(twig_array_merge($context, ["namespace" => "DecomTheme", "name" => "email-icon"]));
// line 23
echo " </div>
";
}
// line 25
echo " </div>
";
}
// line 27
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 5
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 6
echo " ";
$this->loadTemplate("@DecomTheme/storefront/layout/header/header.html.twig", "@DecomTheme/storefront/base.html.twig", 6)->display($context);
// line 7
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 30
public function block_base_navigation($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_navigation"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_navigation"));
// line 31
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 35
public function block_base_breadcrumb($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_breadcrumb"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_breadcrumb"));
// line 36
echo " ";
if ((0 === twig_compare(($context["controllerName"] ?? null), "Product"))) {
// line 37
echo " ";
$this->loadTemplate("@DecomTheme/storefront/layout/breadcrumb.html.twig", "@DecomTheme/storefront/base.html.twig", 37)->display(twig_to_array(["context" => // line 38
($context["context"] ?? null), "category" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 39
($context["page"] ?? null), "product", [], "any", false, false, false, 39), "seoCategory", [], "any", false, false, false, 39), "misc" => sw_get_attribute($this->env, $this->source, // line 40
($context["page"] ?? null), "product", [], "any", false, false, false, 40)]));
// line 42
echo " ";
} else {
// line 43
echo "
";
// line 44
$this->loadTemplate("@DecomTheme/storefront/layout/breadcrumb.html.twig", "@DecomTheme/storefront/base.html.twig", 44)->display(twig_to_array(["context" => // line 45
($context["context"] ?? null), "category" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 46
($context["page"] ?? null), "product", [], "any", false, false, false, 46), "seoCategory", [], "any", false, false, false, 46)]));
// line 47
echo "
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@DecomTheme/storefront/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 222 => 47, 220 => 46, 219 => 45, 218 => 44, 215 => 43, 212 => 42, 210 => 40, 209 => 39, 208 => 38, 206 => 37, 203 => 36, 193 => 35, 182 => 31, 172 => 30, 162 => 7, 159 => 6, 149 => 5, 138 => 27, 134 => 25, 130 => 23, 122 => 22, 116 => 21, 113 => 20, 111 => 19, 108 => 18, 104 => 16, 96 => 15, 90 => 14, 87 => 13, 85 => 12, 82 => 11, 80 => 10, 76 => 8, 74 => 5, 71 => 4, 61 => 3, 38 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
{% block base_header %}
<header class=\"header-main\">
{% block base_header_inner %}
{% sw_include '@Storefront/storefront/layout/header/header.html.twig' %}
{% endblock %}
</header>
{% if theme_config('sw-contact-phone-link') or theme_config('sw-contact-email-link') %}
<div class=\"floating-cta\">
{% if theme_config('sw-contact-phone-link') %}
<div class=\"cta-item\">
<p><a href=\"tel:{{ theme_config('sw-contact-phone-link') }}\">{{ theme_config('sw-contact-phone-link') }}</a></p>
{% sw_icon 'phone-icon' style {'namespace': 'DecomTheme' } %}
</div>
{% endif %}
{% if theme_config('sw-contact-email-link') %}
<div class=\"cta-item\">
<p><a href=\"mailto:{{ theme_config('sw-contact-email-link') }}\">{{ theme_config('sw-contact-email-link') }}</a></p>
{% sw_icon 'email-icon' style {'namespace': 'DecomTheme' } %}
</div>
{% endif %}
</div>
{% endif %}
{% endblock %}
{% block base_navigation %}
{% endblock %}
{% block base_breadcrumb %}
{% if controllerName == 'Product' %}
{% sw_include '@Storefront/storefront/layout/breadcrumb.html.twig' with {
context: context,
category: page.product.seoCategory,
misc: page.product
} only %}
{% else %}
{% sw_include '@Storefront/storefront/layout/breadcrumb.html.twig' with {
context: context,
category: page.product.seoCategory
} only %}
{% endif %}
{% endblock %}", "@DecomTheme/storefront/base.html.twig", "/var/customers/webs/youksakka/htdocs/custom/plugins/DecomTheme/src/Resources/views/storefront/base.html.twig");
}
}