<?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;
/* microtemplates/main.twig */
class __TwigTemplate_0e426f0c1a56a64d03eb4e335eca9f390fb08658bad44e11a1f46e3dae648cbd extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'breadcrumb' => [$this, 'block_breadcrumb'],
'content' => [$this, 'block_content'],
];
}
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", "microtemplates/main.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "microtemplates/main.twig"));
// line 1
echo twig_get_attribute($this->env, $this->source, ($context["blok"] ?? null), "_editable", [], "any", false, false, false, 1);
echo "
<div id=\"main\" role=\"main\" class=\"wrapper\">
<!-- no index start -->
";
// line 4
if ((($context["isNewsroomLayout"] ?? null) && !twig_in_filter("/promotions", twig_get_attribute($this->env, $this->source, ($context["category"] ?? null), "family_id", [], "any", false, false, false, 4)))) {
// line 5
echo " <div class=\"uk-container uk-hidden@s\">
";
// line 6
$context["navigationSlug"] = twig_replace_filter((($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = twig_split_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 6), "pathinfo", [], "any", false, false, false, 6), "/")) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4[2] ?? null) : null), ["/refresh" => ""]);
// line 7
echo " ";
$context["navigation"] = $this->extensions['App\Twig\TwigExtension']->getLeftNavigation(twig_get_attribute($this->env, $this->source, ($context["category"] ?? null), "lang", [], "any", false, false, false, 7), ($context["navigationSlug"] ?? null));
// line 8
echo " ";
$this->loadTemplate("includes/left_navigation_dropdown.twig", "microtemplates/main.twig", 8)->display(twig_array_merge($context, ["navigation" => ($context["navigation"] ?? null)]));
// line 9
echo " </div>
";
}
// line 11
echo " <div class=\"uk-container\">
<div class=\"uk-flex uk-flex-right uk-flex-between@s
";
// line 13
if ((($context["isNewsroomLayout"] ?? null) || ($context["isCareerJobDetailLayout"] ?? null))) {
// line 14
echo " uk-flex-between
uk-flex-middle
";
// line 16
if ((twig_get_attribute($this->env, $this->source, ($context["category"] ?? null), "globaluser", [], "any", false, false, false, 16) || twig_get_attribute($this->env, $this->source, ($context["category"] ?? null), "studentuser", [], "any", false, false, false, 16))) {
// line 17
echo " uk-margin-top
";
} else {
// line 19
echo " uk-margin-top
uk-margin-small-bottom@s
";
}
// line 22
echo " ";
if ( !($context["isNewsroomArticleDetail"] ?? null)) {
// line 23
echo " uk-margin-remove@s
";
}
// line 25
echo " ";
} else {
// line 26
echo " uk-flex-top
";
}
// line 27
echo "\">
";
// line 28
if ((($context["isNewsroomLayout"] ?? null) && ($context["isNewsroomArticleDetail"] ?? null))) {
// line 29
echo " <div class=\"news-article__back uk-hidden@s\">
<a href=\"";
// line 30
echo twig_escape_filter($this->env, $this->extensions['App\Twig\TwigExtension']->familyUrl(twig_get_attribute($this->env, $this->source, ($context["category"] ?? null), "lang", [], "any", false, false, false, 30), "/newsroom"), "html", null, true);
echo "\">
";
// line 31
ob_start();
// line 32
echo " <span class=\"uk-margin-small-right news-article__back-arrow\">
";
// line 33
echo $this->extensions['App\Twig\TwigExtension']->includeFile("/images/icons/arrow.svg");
echo "
</span>
<span>";
// line 35
echo twig_escape_filter($this->env, twig_trim_filter($this->extensions['App\Twig\TwigExtension']->label("studentsBackToOverview")), "html", null, true);
echo "</span>
";
echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
// line 37
echo " </a>
</div>
";
}
// line 40
echo " <div class=\"uk-visible@s\">
";
// line 41
$this->displayBlock('breadcrumb', $context, $blocks);
// line 47
echo " </div>
";
// line 48
$this->loadTemplate("includes/globallogin.twig", "microtemplates/main.twig", 48)->display($context);
// line 49
echo " </div>
</div>
<!-- no index end -->
";
// line 52
$this->displayBlock('content', $context, $blocks);
// line 53
echo "</div>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 41
public function block_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", "breadcrumb"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumb"));
// line 42
echo " ";
if (((((twig_get_attribute($this->env, $this->source, ($context["category"] ?? null), "family_id", [], "any", false, false, false, 42) != "/service/virtualshowroom") && (twig_get_attribute($this->env, $this->source, ($context["category"] ?? null), "family_id", [], "any", false, false, false, 42) != "/newsroom/whexperience-center")) && (twig_get_attribute($this->env, $this->source, // line 43
($context["category"] ?? null), "microtemplate", [], "any", false, false, false, 43) != "newsroom_refresh")) && (twig_get_attribute($this->env, $this->source, ($context["category"] ?? null), "family_id", [], "any", false, false, false, 43) != "/service/downloadcenter-oem"))) {
// line 44
echo " ";
$this->loadTemplate("includes/breadcrumb.twig", "microtemplates/main.twig", 44)->display(twig_array_merge($context, ["isNewsroomLayout" => ((($context["isNewsroomLayout"] ?? null)) ? (($context["isNewsroomLayout"] ?? null)) : (twig_in_filter("newsroom_refresh", twig_get_attribute($this->env, $this->source, ($context["category"] ?? null), "microtemplate", [], "any", false, false, false, 44))))]));
// line 45
echo " ";
}
// line 46
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 52
public function block_content($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", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "microtemplates/main.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 193 => 52, 183 => 46, 180 => 45, 177 => 44, 175 => 43, 173 => 42, 163 => 41, 152 => 53, 150 => 52, 145 => 49, 143 => 48, 140 => 47, 138 => 41, 135 => 40, 130 => 37, 125 => 35, 120 => 33, 117 => 32, 115 => 31, 111 => 30, 108 => 29, 106 => 28, 103 => 27, 99 => 26, 96 => 25, 92 => 23, 89 => 22, 84 => 19, 80 => 17, 78 => 16, 74 => 14, 72 => 13, 68 => 11, 64 => 9, 61 => 8, 58 => 7, 56 => 6, 53 => 5, 51 => 4, 45 => 1,);
}
public function getSourceContext()
{
return new Source("{{ blok._editable | raw }}
<div id=\"main\" role=\"main\" class=\"wrapper\">
<!-- no index start -->
{% if isNewsroomLayout and ('/promotions' not in category.family_id) %}
<div class=\"uk-container uk-hidden@s\">
{% set navigationSlug = (app.request.pathinfo | split('/'))[2]|replace({'/refresh':''}) %}
{% set navigation = getLeftNavigation(category.lang, navigationSlug) %}
{% include 'includes/left_navigation_dropdown.twig' with { navigation: navigation } %}
</div>
{% endif %}
<div class=\"uk-container\">
<div class=\"uk-flex uk-flex-right uk-flex-between@s
{% if isNewsroomLayout or isCareerJobDetailLayout %}
uk-flex-between
uk-flex-middle
{% if category.globaluser or category.studentuser %}
uk-margin-top
{% else %}
uk-margin-top
uk-margin-small-bottom@s
{% endif %}
{% if not isNewsroomArticleDetail %}
uk-margin-remove@s
{% endif %}
{% else %}
uk-flex-top
{% endif %}\">
{% if isNewsroomLayout and isNewsroomArticleDetail %}
<div class=\"news-article__back uk-hidden@s\">
<a href=\"{{familyUrl(category.lang, '/newsroom')}}\">
{% spaceless %}
<span class=\"uk-margin-small-right news-article__back-arrow\">
{{ include_file('/images/icons/arrow.svg')|raw }}
</span>
<span>{{label('studentsBackToOverview') | trim }}</span>
{% endspaceless %}
</a>
</div>
{% endif %}
<div class=\"uk-visible@s\">
{% block breadcrumb %}
{% if category.family_id != '/service/virtualshowroom' and category.family_id != '/newsroom/whexperience-center' and
category.microtemplate != 'newsroom_refresh' and category.family_id != '/service/downloadcenter-oem' %}
{% include 'includes/breadcrumb.twig' with {isNewsroomLayout: isNewsroomLayout ?: 'newsroom_refresh' in category.microtemplate } %}
{% endif %}
{% endblock %}
</div>
{% include 'includes/globallogin.twig' %}
</div>
</div>
<!-- no index end -->
{% block content %}{% endblock %}
</div>
", "microtemplates/main.twig", "/var/app/current/templates/microtemplates/main.twig");
}
}