<?php
use Twig\Environment;
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;
/* CoreBundle::pageTemplateDefault.html.twig */
class __TwigTemplate_a42fd0c58785fa9025babf6567b052df5c193a0313677be6de21b8307438bd5f extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'scripts' => [$this, 'block_scripts'],
];
}
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", "CoreBundle::pageTemplateDefault.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "CoreBundle::pageTemplateDefault.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html lang=\"";
// line 2
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "locale", [], "any", false, false, false, 2), "html", null, true);
echo "\">
";
// line 3
echo twig_include($this->env, $context, "Includes/headDefault.html.twig");
echo "
<body class=\"brand-";
// line 4
if ((isset($context["siteName"]) || array_key_exists("siteName", $context))) {
echo twig_escape_filter($this->env, twig_lower_filter($this->env, (isset($context["siteName"]) || array_key_exists("siteName", $context) ? $context["siteName"] : (function () { throw new RuntimeError('Variable "siteName" does not exist.', 4, $this->source); })())), "html", null, true);
}
echo " ";
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 4, $this->source); })())) {
echo "editmode";
}
echo "\">
<header class=\"main-header\">
<div class=\"navigation\">
<div class=\"nav-bg has-background\">
<div class=\"main-content flex-col box-align-center nav-wrapper\">
";
// line 9
echo twig_include($this->env, $context, "Includes/NavMain.html.twig");
echo "
</div>
</div>
</div>
</header>
<main>
";
// line 15
$this->displayBlock("content", $context, $blocks);
echo "
</main>
";
// line 17
echo $this->env->getFunction('pimcore_inc')->getCallable()((((("/" . (isset($context["siteName"]) || array_key_exists("siteName", $context) ? $context["siteName"] : (function () { throw new RuntimeError('Variable "siteName" does not exist.', 17, $this->source); })())) . "/") . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 17, $this->source); })()), "request", [], "any", false, false, false, 17), "locale", [], "any", false, false, false, 17)) . "/includes/footer"));
echo "
";
// line 19
if ((((isset($context["enabledWebsiteFeatures"]) || array_key_exists("enabledWebsiteFeatures", $context)) && twig_get_attribute($this->env, $this->source, ($context["enabledWebsiteFeatures"] ?? null), "sidebarCart", [], "array", true, true, false, 19)) && (twig_get_attribute($this->env, $this->source, (isset($context["enabledWebsiteFeatures"]) || array_key_exists("enabledWebsiteFeatures", $context) ? $context["enabledWebsiteFeatures"] : (function () { throw new RuntimeError('Variable "enabledWebsiteFeatures" does not exist.', 19, $this->source); })()), "sidebarCart", [], "array", false, false, false, 19) == true))) {
// line 20
echo " ";
echo twig_include($this->env, $context, "Includes/SidebarCart.html.twig");
echo "
";
}
// line 22
echo "
";
// line 23
$this->loadTemplate("Partials/AgeVerification.html.twig", "CoreBundle::pageTemplateDefault.html.twig", 23)->display($context);
// line 24
echo "
";
// line 26
$this->displayBlock('scripts', $context, $blocks);
// line 30
echo "<script>var country = '";
if ((isset($context["country"]) || array_key_exists("country", $context))) {
echo twig_escape_filter($this->env, (isset($context["country"]) || array_key_exists("country", $context) ? $context["country"] : (function () { throw new RuntimeError('Variable "country" does not exist.', 30, $this->source); })()), "html", null, true);
} else {
echo "DE";
}
echo "';</script>
</body>
</html>
";
$this->env->getExtension('Phive\Twig\Extensions\Deferred\DeferredExtension')->resolve($this, $context, $blocks);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function block_scripts($context, array $blocks = [])
{
$this->env->getExtension('Phive\Twig\Extensions\Deferred\DeferredExtension')->defer($this, 'scripts');
}
// line 26
public function block_scripts_deferred($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "scripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "scripts"));
// line 27
echo $this->env->getFunction('pimcore_head_script')->getCallable()();
echo "
";
// line 28
echo twig_include($this->env, $context, "Includes/footerScripts.html.twig");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$this->env->getExtension('Phive\Twig\Extensions\Deferred\DeferredExtension')->resolve($this, $context, $blocks);
}
public function getTemplateName()
{
return "CoreBundle::pageTemplateDefault.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 144 => 28, 140 => 27, 131 => 26, 106 => 30, 104 => 26, 101 => 24, 99 => 23, 96 => 22, 90 => 20, 88 => 19, 83 => 17, 78 => 15, 69 => 9, 55 => 4, 51 => 3, 47 => 2, 44 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html lang=\"{{ app.request.locale }}\">
{{ include('Includes/headDefault.html.twig') }}
<body class=\"brand-{% if siteName is defined %}{{ siteName|lower }}{% endif %} {% if editmode %}editmode{% endif %}\">
<header class=\"main-header\">
<div class=\"navigation\">
<div class=\"nav-bg has-background\">
<div class=\"main-content flex-col box-align-center nav-wrapper\">
{{ include('Includes/NavMain.html.twig') }}
</div>
</div>
</div>
</header>
<main>
{{ block('content') }}
</main>
{{ pimcore_inc('/' ~ siteName ~ '/' ~ app.request.locale ~ '/includes/footer') }}
{% if enabledWebsiteFeatures is defined and enabledWebsiteFeatures['sidebarCart'] is defined and enabledWebsiteFeatures['sidebarCart'] == true %}
{{ include('Includes/SidebarCart.html.twig') }}
{% endif %}
{% include 'Partials/AgeVerification.html.twig' %}
{# output scripts added before #}
{% block scripts deferred %}
{{ pimcore_head_script() }}
{{ include('Includes/footerScripts.html.twig') }}
{% endblock %}
<script>var country = '{% if country is defined %}{{ country }}{% else %}DE{% endif %}';</script>
</body>
</html>
", "CoreBundle::pageTemplateDefault.html.twig", "/var/www/share/test.develey/src/CoreBundle/Resources/views/pageTemplateDefault.html.twig");
}
}