<?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;
/* @Web/Common/top.html.twig */
class __TwigTemplate_ef490521720be6f14255f826c3617641fc8f3a4b522af4491bc9500191f533e3 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Web/Common/top.html.twig"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Web/Common/top.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Web/Common/top.html.twig"));
// line 1
ob_start();
// line 2
echo "\t";
// line 3
echo "\t";
// line 5
echo "
\t";
// line 7
echo "\t";
// line 8
echo "
\t";
// line 10
echo "\t<div class=\"permission-granting-popup\">
\t\t<div class=\"logo\"></div>
\t\t<div class=\"text\">";
// line 12
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("push_notifications_permission"), "html", null, true);
echo "</div>
\t\t<div class=\"buttons\">
\t\t\t<div class=\"button-wrapper\">
\t\t\t\t<div class=\"button refuse js-permission-refuse\">";
// line 15
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("push_notifications_refuse"), "html", null, true);
echo "</div>
\t\t\t</div>";
// line 17
echo "<div class=\"button-wrapper\">
\t\t\t\t<div class=\"button accept js-permission-accept\">";
// line 18
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("push_notifications_allow"), "html", null, true);
echo "</div>
\t\t\t</div>
\t\t</div>
\t</div>
\t";
// line 23
$this->loadTemplate("@Web/Common/search-sphinx.html.twig", "@Web/Common/top.html.twig", 23)->display($context);
// line 24
echo "
\t";
// line 25
$context["user_login_class"] = "";
// line 26
echo "\t";
if ( !twig_get_attribute($this->env, $this->source, ($context["user"] ?? null), "alias", [], "any", true, true, false, 26)) {
// line 27
echo "\t\t";
$context["user_login_class"] = "user-not-login";
// line 28
echo "\t";
}
// line 29
echo "
\t";
// line 31
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["te"]) || array_key_exists("te", $context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.', 31, $this->source); })()), "checkIsUpdated", [], "any", false, false, false, 31)) {
// line 32
echo " ";
$this->loadTemplate("@Web/Common/alerter.html.twig", "@Web/Common/top.html.twig", 32)->display($context);
// line 33
echo " ";
}
// line 34
echo "
";
// line 35
$context["curRoute"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["te"]) || array_key_exists("te", $context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.', 35, $this->source); })()), "request", [], "any", false, false, false, 35), "get", [0 => "_route"], "method", false, false, false, 35);
// line 36
echo "
\t";
// line 38
echo "\t";
// line 39
echo "\t";
$context["catalogClass"] = "";
// line 40
echo "\t";
if (((isset($context["curRoute"]) || array_key_exists("curRoute", $context) ? $context["curRoute"] : (function () { throw new RuntimeError('Variable "curRoute" does not exist.', 40, $this->source); })()) == " app_catalog")) {
// line 41
echo "\t\t";
$context["catalogClass"] = " catalog";
// line 42
echo "\t";
}
// line 43
echo "\t";
$context["sliderClass"] = "";
// line 44
echo "\t";
if (((twig_in_filter((isset($context["curRoute"]) || array_key_exists("curRoute", $context) ? $context["curRoute"] : (function () { throw new RuntimeError('Variable "curRoute" does not exist.', 44, $this->source); })()), [0 => "app_collection_slideshow", 1 => "app_collection_slideshow_f"]) && $this->extensions['SunCat\MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile()) && !$this->extensions['SunCat\MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isTablet())) {
// line 45
echo "\t\t";
$context["sliderClass"] = " slider-open";
// line 46
echo "\t";
}
// line 47
echo " ";
if (( !twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["te"]) || array_key_exists("te", $context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.', 47, $this->source); })()), "request", [], "any", false, false, false, 47), "get", [0 => "share"], "method", false, false, false, 47) == "order_pdf_view")) {
// line 48
echo "\t<header data-html2canvas-move=\"#header-wrapper\" class=\"top-menu clearfix";
echo twig_escape_filter($this->env, (isset($context["catalogClass"]) || array_key_exists("catalogClass", $context) ? $context["catalogClass"] : (function () { throw new RuntimeError('Variable "catalogClass" does not exist.', 48, $this->source); })()), "html", null, true);
echo twig_escape_filter($this->env, (isset($context["sliderClass"]) || array_key_exists("sliderClass", $context) ? $context["sliderClass"] : (function () { throw new RuntimeError('Variable "sliderClass" does not exist.', 48, $this->source); })()), "html", null, true);
echo "\">
\t\t<div class=\"top-menu-wrapper\">
\t\t\t";
// line 54
echo "\t\t\t";
$context["frMenuClass"] = "";
// line 55
echo "\t\t\t";
if (($this->extensions['WebBundle\Twig\AppExtension']->userLocale() == " fr")) {
// line 56
echo "\t\t\t\t";
$context["frMenuClass"] = " fr-menu";
// line 57
echo "\t\t\t";
}
// line 58
echo "\t\t\t<!--noindex-->
\t\t\t";
// line 60
echo "\t\t\t<section class=\"left-part js-main-menu-wrapper";
echo twig_escape_filter($this->env, (isset($context["frMenuClass"]) || array_key_exists("frMenuClass", $context) ? $context["frMenuClass"] : (function () { throw new RuntimeError('Variable "frMenuClass" does not exist.', 60, $this->source); })()), "html", null, true);
echo "\">
\t\t\t\t";
// line 63
echo "\t\t\t\t<div class=\"logo-box pull-left js-sibling-main-menu\">
\t\t\t\t\t<span class=\"toggle-menu\" data-toggle=\"offcanvas\" data-target=\"#sidebar-nav\">
\t\t\t\t\t\t<i class=\"material-icons\"></i>
\t\t\t\t\t</span>
\t\t\t\t\t<a id=\"logo_img\" class=\"logo-img\" href=\"";
// line 67
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_home");
echo "\" title=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("home_page"), "html", null, true);
echo "\" data-sort-to-catalog=\"3\"></a>
\t\t\t\t\t<span class=\"slogan-block\">";
// line 68
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("top.contactless_menu_slogan"), "html", null, true);
echo "</span>
\t\t\t\t</div>
\t\t\t\t";
// line 72
echo "\t\t\t\t";
// line 73
echo "\t\t\t\t";
$context["topClasses"] = "list-inline pull-left hidden-xs";
// line 74
echo "\t\t\t\t";
$context["hiddenTopClass"] = "hidden";
// line 75
echo "
\t\t\t\t<span data-html2canvas-ignore=\"true\">
\t\t\t\t\t";
// line 77
$this->loadTemplate("@Web/Common/main-menu.html.twig", "@Web/Common/top.html.twig", 77)->display(twig_array_merge($context, ["listClasses" => (isset($context["topClasses"]) || array_key_exists("topClasses", $context) ? $context["topClasses"] : (function () { throw new RuntimeError('Variable "topClasses" does not exist.', 77, $this->source); })()), "hiddenClass" => (isset($context["hiddenTopClass"]) || array_key_exists("hiddenTopClass", $context) ? $context["hiddenTopClass"] : (function () { throw new RuntimeError('Variable "hiddenTopClass" does not exist.', 77, $this->source); })())]));
// line 78
echo "\t\t\t\t</span>
\t\t\t</section>
\t\t\t";
// line 82
echo "\t\t\t<section data-html2canvas-ignore=\"true\" class=\"right-part";
echo twig_escape_filter($this->env, (isset($context["frMenuClass"]) || array_key_exists("frMenuClass", $context) ? $context["frMenuClass"] : (function () { throw new RuntimeError('Variable "frMenuClass" does not exist.', 82, $this->source); })()), "html", null, true);
echo "\">
\t\t\t\t";
// line 84
$this->loadTemplate("@Web/Common/_user-icon-menu.html.twig", "@Web/Common/top.html.twig", 84)->display($context);
// line 85
echo "
\t\t\t\t<div class=\"sphinx-button-mobile js-sphinx-button\">
\t\t\t\t\t";
// line 87
$this->loadTemplate("@Web/SVGIconsCode/search.html.twig", "@Web/Common/top.html.twig", 87)->display($context);
// line 88
echo "\t\t\t\t</div>\t
\t\t\t\t\t\t\t
\t\t\t\t";
// line 91
echo "
\t\t\t\t";
// line 93
echo "\t\t\t\t<div class=\"login-locale-block js-login-locale-block\">
\t\t\t\t\t<div class=\"simple-tab\">
\t\t\t\t\t\t<div class=\"list-tabs\">
\t\t\t\t\t\t\t";
// line 98
if (twig_get_attribute($this->env, $this->source, ($context["user"] ?? null), "alias", [], "any", true, true, false, 98)) {
// line 99
echo "\t\t\t\t\t\t\t\t<div class=\"wrap-user-name tab-title\" data-tab-id=\"#login_tab\" role=\"show-tab-content\">
\t\t\t\t\t\t\t\t\t<span class=\"user-name title-name\">
\t\t\t\t\t\t\t\t\t\t<span class='name-alias'>";
// line 101
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 101, $this->source); })()), "alias", [], "any", false, false, false, 101), "html", null, true);
echo "</span>
\t\t\t\t\t\t\t\t\t\t<span class=\"user-icon\">
\t\t\t\t\t\t\t\t\t\t\t<i class=\"material-icons\"></i>
\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t<div class=\"dividing-line hidden\"></div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
} else {
// line 109
echo "\t\t\t\t\t\t\t\t<div class=\"wrap-user-name-sub\">
\t\t\t\t\t\t\t\t\t<div class=\"wrap-user-name tab-title\">
\t\t\t\t\t\t\t\t\t\t<span class=\"user-name title-name\">
\t\t\t\t\t\t\t\t\t\t\t<span class='name-alias'>
\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"login\" href=\"";
// line 113
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 114
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("header_login"), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t\t<span class=\"user-icon\">
\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 118
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"material-icons\"></i>
\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 126
echo "
\t\t\t\t\t\t\t";
// line 128
echo "\t\t\t\t\t\t\t<div class=\"wrap-title-change-location js-wrap-title-change-location tab-title\"
\t\t\t\t\t\t\t\t data-tab-id=\"#lang_tab\"
\t\t\t\t\t\t\t\t role=\"show-tab-content\"
\t\t\t\t\t\t\t>
\t\t\t\t\t\t\t\t<span class=\"title-name\" data-loc-status-block>
\t\t\t\t\t\t\t\t\t";
// line 133
if (($this->extensions['WebBundle\Twig\AppExtension']->userCountry() != "en")) {
// line 134
echo "\t\t\t\t\t\t\t\t\t\t<span class=\"flag flag-";
echo twig_escape_filter($this->env, $this->extensions['WebBundle\Twig\AppExtension']->userCountry(), "html", null, true);
echo "\"></span>
\t\t\t\t\t\t\t\t\t";
} else {
// line 136
echo "\t\t\t\t\t\t\t\t\t\t<span class=\"flag rest-world\"></span>
\t\t\t\t\t\t\t\t\t";
}
// line 138
echo "
\t\t\t\t\t\t\t\t\t";
// line 139
if (twig_get_attribute($this->env, $this->source, ($context["countryList"] ?? null), $this->extensions['WebBundle\Twig\AppExtension']->userCountry(), [], "array", true, true, false, 139)) {
// line 140
echo "\t\t\t\t\t\t\t\t\t\t<span class='name-alias'>
\t\t\t\t\t\t\t\t\t\t\t";
// line 141
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["countryList"]) || array_key_exists("countryList", $context) ? $context["countryList"] : (function () { throw new RuntimeError('Variable "countryList" does not exist.', 141, $this->source); })()), $this->extensions['WebBundle\Twig\AppExtension']->userCountry(), [], "array", false, false, false, 141), "name", [], "array", false, false, false, 141), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t";
}
// line 144
echo "\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"content-tabs\">
\t\t\t\t\t\t\t<div class=\"tab-block wrap-profile-block\" id=\"login_tab\" data-tab-content>
\t\t\t\t\t\t\t\t";
// line 150
if (twig_get_attribute($this->env, $this->source, ($context["user"] ?? null), "alias", [], "any", true, true, false, 150)) {
// line 151
echo "\t\t\t\t\t\t\t\t\t";
// line 152
echo "\t\t\t\t\t\t\t\t\t";
$this->loadTemplate("@Web/User/user-profile.html.twig", "@Web/Common/top.html.twig", 152)->display($context);
// line 153
echo "\t\t\t\t\t\t\t\t";
}
// line 154
echo "\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 157
echo "\t\t\t\t\t\t\t<div class=\"tab-block wrap-change-location\" id=\"lang_tab\" data-tab-content>
\t\t\t\t\t\t\t\t";
// line 158
$this->loadTemplate("@Web/Common/change-location.html.twig", "@Web/Common/top.html.twig", 158)->display($context);
// line 159
echo "\t\t\t\t\t\t\t\t";
// line 162
echo "\t\t\t\t\t\t\t\t<div class=\"pseudo-height\"></div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</section>
\t\t\t<!--/noindex-->
\t\t</div>
\t</header>
\t";
}
$___internal_parse_38_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 1
echo twig_spaceless($___internal_parse_38_);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "@Web/Common/top.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 372 => 1, 355 => 162, 353 => 159, 351 => 158, 348 => 157, 344 => 154, 341 => 153, 338 => 152, 336 => 151, 334 => 150, 326 => 144, 320 => 141, 317 => 140, 315 => 139, 312 => 138, 308 => 136, 302 => 134, 300 => 133, 293 => 128, 290 => 126, 279 => 118, 272 => 114, 268 => 113, 262 => 109, 251 => 101, 247 => 99, 245 => 98, 238 => 93, 235 => 91, 231 => 88, 229 => 87, 225 => 85, 223 => 84, 217 => 82, 212 => 78, 210 => 77, 206 => 75, 203 => 74, 200 => 73, 198 => 72, 192 => 68, 186 => 67, 180 => 63, 174 => 60, 171 => 58, 168 => 57, 165 => 56, 162 => 55, 159 => 54, 150 => 48, 147 => 47, 144 => 46, 141 => 45, 138 => 44, 135 => 43, 132 => 42, 129 => 41, 126 => 40, 123 => 39, 121 => 38, 118 => 36, 116 => 35, 113 => 34, 110 => 33, 107 => 32, 104 => 31, 101 => 29, 98 => 28, 95 => 27, 92 => 26, 90 => 25, 87 => 24, 85 => 23, 77 => 18, 74 => 17, 70 => 15, 64 => 12, 60 => 10, 57 => 8, 55 => 7, 52 => 5, 50 => 3, 48 => 2, 46 => 1,);
}
public function getSourceContext()
{
return new Source("{% apply spaceless %}
\t{# элементы с классом material-icons - это иконочные шрифты от гугл #}
\t{# material-icons теперь используются в шестнадцатеричном формате, иначе
\t будут баги при отображении в некоторых браузерах #}
\t{# решено убрать кнопку Наверх #}
\t{#<div class=\"up-button up-scroll\"></div>#}
\t{# попап запроса разрешения на показ уведомлений #}
\t<div class=\"permission-granting-popup\">
\t\t<div class=\"logo\"></div>
\t\t<div class=\"text\">{{ 'push_notifications_permission' | trans }}</div>
\t\t<div class=\"buttons\">
\t\t\t<div class=\"button-wrapper\">
\t\t\t\t<div class=\"button refuse js-permission-refuse\">{{ 'push_notifications_refuse' | trans }}</div>
\t\t\t</div>{#
\t\t\t#}<div class=\"button-wrapper\">
\t\t\t\t<div class=\"button accept js-permission-accept\">{{ 'push_notifications_allow' | trans }}</div>
\t\t\t</div>
\t\t</div>
\t</div>
\t{% include '@Web/Common/search-sphinx.html.twig' %}
\t{% set user_login_class = '' %}
\t{% if user.alias is not defined %}
\t\t{% set user_login_class = 'user-not-login' %}
\t{% endif %}
\t{# баннер-сообщение сверху страницы о том, что проводятся работы на сайте (обновления и т.п.) #}
{% if te.checkIsUpdated %}
{% include '@Web/Common/alerter.html.twig' %}
{% endif %}
{% set curRoute = te.request.get('_route') %}
\t{# класс folded добавляется для отображения свернутого блока звонилки вверху страницы #}
\t{# для каталога добавляем к хедеру класс catalog #}
\t{% set catalogClass = '' %}
\t{% if curRoute == ' app_catalog' %}
\t\t{% set catalogClass = ' catalog' %}
\t{% endif %}
\t{% set sliderClass = '' %}
\t{% if curRoute in ['app_collection_slideshow', 'app_collection_slideshow_f'] and is_mobile() and not is_tablet() %}
\t\t{% set sliderClass = ' slider-open' %}
\t{% endif %}
{% if not te.request.get('share') == 'order_pdf_view' %}
\t<header data-html2canvas-move=\"#header-wrapper\" class=\"top-menu clearfix{{ catalogClass }}{{ sliderClass }}{# folded#}\">
\t\t<div class=\"top-menu-wrapper\">
\t\t\t{# для локали fr - на планшетах с шириной 768пкс не видно ни одного пункта меню, поэтому
\t\t\t надо увеличить ширину блока section с меню #}
\t\t\t{% set frMenuClass = '' %}
\t\t\t{% if userLocale() == ' fr' %}
\t\t\t\t{% set frMenuClass = ' fr-menu' %}
\t\t\t{% endif %}
\t\t\t<!--noindex-->
\t\t\t{# класс js-main-menu-wrapper необходим для постройки меню #}
\t\t\t<section class=\"left-part js-main-menu-wrapper{{ frMenuClass }}\">
\t\t\t\t{# лого #}
\t\t\t\t<div class=\"logo-box pull-left js-sibling-main-menu\">
\t\t\t\t\t<span class=\"toggle-menu\" data-toggle=\"offcanvas\" data-target=\"#sidebar-nav\">
\t\t\t\t\t\t<i class=\"material-icons\"></i>
\t\t\t\t\t</span>
\t\t\t\t\t<a id=\"logo_img\" class=\"logo-img\" href=\"{{ path('app_home') }}\" title=\"{{ 'home_page' | trans }}\" data-sort-to-catalog=\"3\"></a>
\t\t\t\t\t<span class=\"slogan-block\">{{ 'top.contactless_menu_slogan' | trans }}</span>
\t\t\t\t</div>
\t\t\t\t{# тут был LOGIN LOCALE BLOCK #}
\t\t\t\t{# главное меню сайта #}
\t\t\t\t{% set topClasses = 'list-inline pull-left hidden-xs' %}
\t\t\t\t{% set hiddenTopClass = 'hidden' %}
\t\t\t\t<span data-html2canvas-ignore=\"true\">
\t\t\t\t\t{% include '@Web/Common/main-menu.html.twig' with { 'listClasses': topClasses, 'hiddenClass' : hiddenTopClass } %}
\t\t\t\t</span>
\t\t\t</section>
\t\t\t{# верхняя правая часть в хедере #}
\t\t\t<section data-html2canvas-ignore=\"true\" class=\"right-part{{ frMenuClass }}\">
\t\t\t\t{% include '@Web/Common/_user-icon-menu.html.twig' %}
\t\t\t\t<div class=\"sphinx-button-mobile js-sphinx-button\">
\t\t\t\t\t{% include '@Web/SVGIconsCode/search.html.twig' %}
\t\t\t\t</div>\t
\t\t\t\t\t\t\t
\t\t\t\t{#</div>#}
\t\t\t\t{# ссылки на профиль или регистрацию/авторизацию и настройки локации #}
\t\t\t\t<div class=\"login-locale-block js-login-locale-block\">
\t\t\t\t\t<div class=\"simple-tab\">
\t\t\t\t\t\t<div class=\"list-tabs\">
\t\t\t\t\t\t\t{% if user.alias is defined %}
\t\t\t\t\t\t\t\t<div class=\"wrap-user-name tab-title\" data-tab-id=\"#login_tab\" role=\"show-tab-content\">
\t\t\t\t\t\t\t\t\t<span class=\"user-name title-name\">
\t\t\t\t\t\t\t\t\t\t<span class='name-alias'>{{ user.alias }}</span>
\t\t\t\t\t\t\t\t\t\t<span class=\"user-icon\">
\t\t\t\t\t\t\t\t\t\t\t<i class=\"material-icons\"></i>
\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t<div class=\"dividing-line hidden\"></div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t<div class=\"wrap-user-name-sub\">
\t\t\t\t\t\t\t\t\t<div class=\"wrap-user-name tab-title\">
\t\t\t\t\t\t\t\t\t\t<span class=\"user-name title-name\">
\t\t\t\t\t\t\t\t\t\t\t<span class='name-alias'>
\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"login\" href=\"{{ path('app_login') }}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t{{ 'header_login' | trans }}
\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t\t<span class=\"user-icon\">
\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('app_login') }}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"material-icons\"></i>
\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{# смена локации - отображение флага и названия страны #}
\t\t\t\t\t\t\t<div class=\"wrap-title-change-location js-wrap-title-change-location tab-title\"
\t\t\t\t\t\t\t\t data-tab-id=\"#lang_tab\"
\t\t\t\t\t\t\t\t role=\"show-tab-content\"
\t\t\t\t\t\t\t>
\t\t\t\t\t\t\t\t<span class=\"title-name\" data-loc-status-block>
\t\t\t\t\t\t\t\t\t{% if userCountry() != 'en' %}
\t\t\t\t\t\t\t\t\t\t<span class=\"flag flag-{{userCountry()}}\"></span>
\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t<span class=\"flag rest-world\"></span>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t{% if countryList[userCountry()] is defined %}
\t\t\t\t\t\t\t\t\t\t<span class='name-alias'>
\t\t\t\t\t\t\t\t\t\t\t{{ countryList[userCountry()]['name'] }}
\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"content-tabs\">
\t\t\t\t\t\t\t<div class=\"tab-block wrap-profile-block\" id=\"login_tab\" data-tab-content>
\t\t\t\t\t\t\t\t{% if user.alias is defined %}
\t\t\t\t\t\t\t\t\t{# ссылки на профиль пользователя #}
\t\t\t\t\t\t\t\t\t{% include '@Web/User/user-profile.html.twig' %}
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{# смена локации - блок с полями #}
\t\t\t\t\t\t\t<div class=\"tab-block wrap-change-location\" id=\"lang_tab\" data-tab-content>
\t\t\t\t\t\t\t\t{% include '@Web/Common/change-location.html.twig' %}
\t\t\t\t\t\t\t\t{# невидимый блок, который увеличивает высоту родителя, чтобы при выборе страны или
\t\t\t\t\t\t\t\t языка из выпадающих списков курсор не попадал на .backdrop-tab (добавляется
\t\t\t\t\t\t\t\t в _simple-tab.js), и тем самым не закрывал табы #}
\t\t\t\t\t\t\t\t<div class=\"pseudo-height\"></div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</section>
\t\t\t<!--/noindex-->
\t\t</div>
\t</header>
\t{% endif %}
{% endapply %}", "@Web/Common/top.html.twig", "/var/www/dev5.tile.expert/src/WebBundle/Resources/views/Common/top.html.twig");
}
}