<?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/layout.html.twig */
class __TwigTemplate_a3e59e040eb0c9cb88e3214fa38a652d3ad98c99fc26e2a3200ad33bdeebd268 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'extraGoogleTagScript' => [$this, 'block_extraGoogleTagScript'],
'beforeTGM' => [$this, 'block_beforeTGM'],
'meta' => [$this, 'block_meta'],
'title' => [$this, 'block_title'],
'stylesheets' => [$this, 'block_stylesheets'],
'filter_menu' => [$this, 'block_filter_menu'],
'content' => [$this, 'block_content'],
'javascripts' => [$this, 'block_javascripts'],
];
}
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/layout.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/layout.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/layout.html.twig"));
// line 1
ob_start();
// line 2
echo "<!DOCTYPE html>
<html id=\"html-ai8Y8J31\" lang=\"";
// line 3
echo twig_escape_filter($this->env, $this->extensions['WebBundle\Twig\AppExtension']->userLocale(), "html", null, true);
echo "\"
data-locale=\"";
// line 4
echo twig_escape_filter($this->env, 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.', 4, $this->source); })()), "request", [], "any", false, false, false, 4), "get", [0 => "_locale"], "method", false, false, false, 4), "html", null, true);
echo "\"
data-ga=\"";
// line 5
echo twig_escape_filter($this->env, $this->extensions['WebBundle\Twig\AppExtension']->userGA(), "html", null, true);
echo "\"
data-debug=\"";
// line 6
echo (((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.', 6, $this->source); })()), "request", [], "any", false, false, false, 6), "get", [0 => "d"], "method", false, false, false, 6) || 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.', 6, $this->source); })()), "debug", [], "any", false, false, false, 6))) ? (1) : (0));
echo "\"
data-currency=\"";
// line 7
echo twig_escape_filter($this->env, $this->extensions['WebBundle\Twig\AppExtension']->userCurrency(), "html", null, true);
echo "\"
data-measure=\"";
// line 8
echo twig_escape_filter($this->env, $this->extensions['WebBundle\Twig\AppExtension']->userMeasure(), "html", null, true);
echo "\"
data-env=\"TE\"
data-logged=\"";
// line 10
echo (($this->extensions['WebBundle\Twig\AppExtension']->isLogged()) ? (1) : (0));
echo "\"
";
// line 12
echo " data-jwt=\"";
echo twig_escape_filter($this->env, $this->extensions['WebBundle\Twig\AppExtension']->getJwt(), "html", null, true);
echo "\"
data-user_channel=\"";
// line 13
echo twig_escape_filter($this->env, $this->extensions['WebBundle\Twig\AppExtension']->getUserChannel(), "html", null, true);
echo "\"
data-centrifugo_connection_url=\"";
// line 14
echo twig_escape_filter($this->env, (isset($context["centrifugoConnectionUrl"]) || array_key_exists("centrifugoConnectionUrl", $context) ? $context["centrifugoConnectionUrl"] : (function () { throw new RuntimeError('Variable "centrifugoConnectionUrl" does not exist.', 14, $this->source); })()), "html", null, true);
echo "\"
data-token=\"";
// line 15
echo twig_escape_filter($this->env, (isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 15, $this->source); })()), "html", null, true);
echo "\"
data-cons-online-attribute-url=\"";
// line 16
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("get_cons_online_attribute");
echo "\"
data-tokenCF=\"";
// line 17
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken(((isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 17, $this->source); })()) . twig_date_format_filter($this->env, twig_date_converter($this->env, "now"), "Y-m-d H"))), "html", null, true);
echo "\"
data-auth-info=\"";
// line 18
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.', 18, $this->source); })()), "session", [], "any", false, false, false, 18), "remove", [0 => "successAuth"], "method", false, false, false, 18), "html", null, true);
echo "\"
>
<head>
";
// line 21
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.', 21, $this->source); })()), "checkIsDev", [], "any", false, false, false, 21) && array_key_exists("googleRemarketing", $context)) && (isset($context["googleRemarketing"]) || array_key_exists("googleRemarketing", $context) ? $context["googleRemarketing"] : (function () { throw new RuntimeError('Variable "googleRemarketing" does not exist.', 21, $this->source); })()))) {
// line 22
echo " <script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('consent', 'default', {
'ad_storage': 'denied',
'analytics_storage': 'denied',
'ad_user_data': 'denied',
'ad_personalization': 'denied'
});
setTimeout(function() {
gtag('consent', 'update', {
'ad_storage': 'granted',
'analytics_storage': 'granted',
'ad_user_data': 'granted',
'ad_personalization': 'granted'
});
}, 2000);
</script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-WCNQMZ8');</script>
<!-- End Google Tag Manager -->
";
// line 47
$this->displayBlock('extraGoogleTagScript', $context, $blocks);
// line 48
echo " ";
} else {
// line 49
echo " <meta name=\"checkIsDev\" content=\"";
echo twig_escape_filter($this->env, 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.', 49, $this->source); })()), "checkIsDev", [], "any", false, false, false, 49), "html", null, true);
echo "\" />
<meta name=\"googleRemarketing\" content=\"";
// line 50
((array_key_exists("googleRemarketing", $context)) ? (print (twig_escape_filter($this->env, (isset($context["googleRemarketing"]) || array_key_exists("googleRemarketing", $context) ? $context["googleRemarketing"] : (function () { throw new RuntimeError('Variable "googleRemarketing" does not exist.', 50, $this->source); })()), "html", null, true))) : (print ("-")));
echo "\" />
";
}
// line 52
echo " ";
$this->displayBlock('beforeTGM', $context, $blocks);
// line 53
echo " ";
$context["curRoute"] = "";
// line 54
echo " ";
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["te"] ?? null), "request", [], "any", false, true, false, 54), "get", [0 => "_route"], "method", true, true, false, 54) && 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.', 54, $this->source); })()), "request", [], "any", false, false, false, 54), "get", [0 => "_route"], "method", false, false, false, 54))) {
// line 55
echo " \t";
$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.', 55, $this->source); })()), "request", [], "any", false, false, false, 55), "get", [0 => "_route"], "method", false, false, false, 55);
// line 56
echo " ";
}
// line 57
echo " \t";
$context["isCollectionPageOrSlideShow"] = twig_in_filter((isset($context["curRoute"]) || array_key_exists("curRoute", $context) ? $context["curRoute"] : (function () { throw new RuntimeError('Variable "curRoute" does not exist.', 57, $this->source); })()), [0 => "app_collection", 1 => "app_collection_slideshow", 2 => "app_collection_slideshow_f"]);
// line 58
echo "
";
// line 59
$this->loadTemplate("@Web/base-meta-header.html.twig", "@Web/layout.html.twig", 59)->display($context);
// line 60
echo "\t";
// line 61
echo " <meta content=\"authenticity_token\" name=\"csrf-param\" />
<meta content=\"";
// line 62
echo twig_escape_filter($this->env, (isset($context["csrf_token"]) || array_key_exists("csrf_token", $context) ? $context["csrf_token"] : (function () { throw new RuntimeError('Variable "csrf_token" does not exist.', 62, $this->source); })()), "html", null, true);
echo "\" name=\"csrf-token\" />
";
// line 64
echo " <meta name=\"format-detection\" content=\"telephone=no\" />
";
// line 65
$this->displayBlock('meta', $context, $blocks);
// line 67
echo "
\t";
// line 69
echo " ";
$context["baseLinkRel"] = 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.', 69, $this->source); })()), "request", [], "any", false, false, false, 69), "getSchemeAndHttpHost", [], "method", false, false, false, 69);
// line 70
echo " ";
if (((isset($context["curRoute"]) || array_key_exists("curRoute", $context) ? $context["curRoute"] : (function () { throw new RuntimeError('Variable "curRoute" does not exist.', 70, $this->source); })()) != "")) {
// line 71
echo " ";
$context["routeLinkRel"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath((isset($context["curRoute"]) || array_key_exists("curRoute", $context) ? $context["curRoute"] : (function () { throw new RuntimeError('Variable "curRoute" does not exist.', 71, $this->source); })()), 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.', 71, $this->source); })()), "request", [], "any", false, false, false, 71), "get", [0 => "_route_params"], "method", false, false, false, 71));
// line 72
echo " ";
// line 73
echo " ";
// line 74
echo " ";
$context["routeLinkRel"] = twig_join_filter(twig_slice($this->env, twig_split_filter($this->env, (isset($context["routeLinkRel"]) || array_key_exists("routeLinkRel", $context) ? $context["routeLinkRel"] : (function () { throw new RuntimeError('Variable "routeLinkRel" does not exist.', 74, $this->source); })()), "/"), 2), "/");
// line 75
echo " ";
} else {
// line 76
echo " ";
$context["routeLinkRel"] = "#";
// line 77
echo " ";
}
// line 78
echo "
";
// line 79
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.', 79, $this->source); })()), "request", [], "any", false, false, false, 79), "get", [0 => "v"], "method", false, false, false, 79) != null)) {
// line 80
echo " <meta name=\"robots\" content=\"noindex, nofollow\" />
";
}
// line 82
echo " ";
// line 86
echo "
";
// line 87
if ((( !array_key_exists("noSEOLink", $context) && ((isset($context["curRoute"]) || array_key_exists("curRoute", $context) ? $context["curRoute"] : (function () { throw new RuntimeError('Variable "curRoute" does not exist.', 87, $this->source); })()) != "")) && ($this->extensions['WebBundle\Twig\AppExtension']->userCountry() != "ru"))) {
// line 88
echo " ";
// line 89
echo " ";
if ((((isset($context["curRoute"]) || array_key_exists("curRoute", $context) ? $context["curRoute"] : (function () { throw new RuntimeError('Variable "curRoute" does not exist.', 89, $this->source); })()) != "") && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["te"] ?? null), "request", [], "any", false, true, false, 89), "get", [0 => "_route_params"], "method", true, true, false, 89))) {
// line 90
echo " ";
echo 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.', 90, $this->source); })()), "SEOLink", [0 => (isset($context["curRoute"]) || array_key_exists("curRoute", $context) ? $context["curRoute"] : (function () { throw new RuntimeError('Variable "curRoute" does not exist.', 90, $this->source); })()), 1 => 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.', 90, $this->source); })()), "request", [], "any", false, false, false, 90), "get", [0 => "_route_params"], "method", false, false, false, 90), 2 => ((array_key_exists("hrefFlag", $context)) ? ((isset($context["hrefFlag"]) || array_key_exists("hrefFlag", $context) ? $context["hrefFlag"] : (function () { throw new RuntimeError('Variable "hrefFlag" does not exist.', 90, $this->source); })())) : (null))], "method", false, false, false, 90);
echo "
";
}
// line 92
echo " ";
}
// line 93
echo "
\t";
// line 95
echo " ";
// line 96
echo "\t";
// line 97
echo "
<meta name=\"msvalidate.01\" content=\"465EFDDEC49D260187BF1FAF4F2FEB88\" />
<meta name=\"timestamp\" content=\"";
// line 99
echo twig_escape_filter($this->env, $this->extensions['WebBundle\Twig\AppExtension']->timestamp(), "html", null, true);
echo "\" />
<title>
";
// line 102
$this->displayBlock('title', $context, $blocks);
// line 103
echo " </title>
";
// line 105
$this->displayBlock('stylesheets', $context, $blocks);
// line 133
echo "
\t";
// line 134
$this->loadTemplate("@Web/facebookPixelCode.html.twig", "@Web/layout.html.twig", 134)->display($context);
// line 135
echo "</head>
";
// line 137
$context["bodyClass"] = "";
// line 138
if (((isset($context["curRoute"]) || array_key_exists("curRoute", $context) ? $context["curRoute"] : (function () { throw new RuntimeError('Variable "curRoute" does not exist.', 138, $this->source); })()) == "app_collection")) {
// line 139
echo "\t";
$context["bodyClass"] = " collection-active";
}
// line 141
if (((twig_in_filter((isset($context["curRoute"]) || array_key_exists("curRoute", $context) ? $context["curRoute"] : (function () { throw new RuntimeError('Variable "curRoute" does not exist.', 141, $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 142
echo "\t";
$context["bodyClass"] = ((isset($context["bodyClass"]) || array_key_exists("bodyClass", $context) ? $context["bodyClass"] : (function () { throw new RuntimeError('Variable "bodyClass" does not exist.', 142, $this->source); })()) . " slider-active");
}
// line 144
echo "
<body id=\"body\" class=\"clearfix";
// line 145
echo twig_escape_filter($this->env, (isset($context["bodyClass"]) || array_key_exists("bodyClass", $context) ? $context["bodyClass"] : (function () { throw new RuntimeError('Variable "bodyClass" does not exist.', 145, $this->source); })()), "html", null, true);
echo "\">
\t";
// line 146
if ((array_key_exists("googleRemarketing", $context) && (isset($context["googleRemarketing"]) || array_key_exists("googleRemarketing", $context) ? $context["googleRemarketing"] : (function () { throw new RuntimeError('Variable "googleRemarketing" does not exist.', 146, $this->source); })()))) {
// line 147
echo "\t<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-WCNQMZ8\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
\t";
}
// line 152
echo "
<div class=\"data-confirm\"
data-confirm-yes=\"";
// line 154
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("yes"), "html", null, true);
echo "\"
data-confirm-no=\"";
// line 155
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("no"), "html", null, true);
echo "\"
data-confirm-ok=\"";
// line 156
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("order.ok"), "html", null, true);
echo "\"
data-confirm-header=\"";
// line 157
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("buyOrder.confirm.header"), "html", null, true);
echo "\"></div>
<div class=\"data-confirm-sample\"
";
// line 160
echo " data-confirm-sample-title=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("order.sample_is_true"), "html", null, true);
echo "\" ";
// line 161
echo " ";
// line 163
echo " data-confirm-sample-text=\"\" ";
// line 164
echo " ></div>
<div class=\"data-toastmessage\"
\t data-header-warning=\"";
// line 167
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("buyOrder.confirm.header"), "html", null, true);
echo "\"
\t data-header-error=\"";
// line 168
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("error"), "html", null, true);
echo "\"
\t data-header-success=\"";
// line 169
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("success"), "html", null, true);
echo "\"
\t></div>
\t<div class=\"swipe-area-menu-open\"></div>
\t";
// line 175
echo "\t<div class=\"overlay-bg\"></div>
\t<div class=\"lining\"></div>
";
// line 181
echo " <div class=\"set-z-index\"></div>
";
// line 184
echo " ";
// line 185
echo " <div class=\"wrap-content js-wrap-content\"
";
// line 186
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.', 186, $this->source); })()), "checkIsDev", [], "any", false, false, false, 186)) {
echo " data-dev=\"true\" ";
}
// line 187
echo "
\t ";
// line 188
if (($this->extensions['SunCat\MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile() && !$this->extensions['SunCat\MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isTablet())) {
// line 189
echo " data-smartphone=\"true\"
";
} elseif ($this->extensions['SunCat\MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile()) {
// line 191
echo " data-mobile=\"true\"
";
}
// line 193
echo " >
";
// line 194
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragmentStrategy("esi", Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("WebBundle\\Controller\\CommonController::topAction"));
echo "
";
// line 197
echo " ";
$context["isExhibition"] = (array_key_exists("blog", $context) && twig_get_attribute($this->env, $this->source, (isset($context["blog"]) || array_key_exists("blog", $context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.', 197, $this->source); })()), "isExhibition", [], "any", false, false, false, 197));
echo " ";
// line 198
echo " ";
$this->displayBlock('filter_menu', $context, $blocks);
// line 201
echo "
";
// line 203
echo " <div class=\"wrap ";
if ((isset($context["isExhibition"]) || array_key_exists("isExhibition", $context) ? $context["isExhibition"] : (function () { throw new RuntimeError('Variable "isExhibition" does not exist.', 203, $this->source); })())) {
echo "wrap-exhibition";
}
echo "\">
<div class=\"container-fluid\">
<div class=\"row\">
<div class=\"col-sm-12\">
";
// line 208
echo " <div id=\"main\" class=\"main fixed-width clearfix ";
echo ((((isset($context["curRoute"]) || array_key_exists("curRoute", $context) ? $context["curRoute"] : (function () { throw new RuntimeError('Variable "curRoute" does not exist.', 208, $this->source); })()) == "app_catalog")) ? ("main-for-catalog") : (""));
echo "\">
";
// line 209
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(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.', 209, $this->source); })()), "flashes", [], "any", false, false, false, 209));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
// line 210
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["messages"]);
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 211
echo " <div class=\"flash-";
echo twig_escape_filter($this->env, $context["label"], "html", null, true);
echo "\">
";
// line 212
$this->loadTemplate("@Web/Common/notifications.html.twig", "@Web/layout.html.twig", 212)->display(twig_array_merge($context, ["notificationType" => $context["label"], "notificationText" => $context["message"]]));
// line 213
echo " </div>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 215
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['label'], $context['messages'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 216
echo "
";
// line 217
$this->displayBlock('content', $context, $blocks);
// line 220
echo " </div>
</div>
</div>
</div>
</div>
<div class=\"both\"></div>
</div>
";
// line 230
if (((( // line 231
(isset($context["curRoute"]) || array_key_exists("curRoute", $context) ? $context["curRoute"] : (function () { throw new RuntimeError('Variable "curRoute" does not exist.', 231, $this->source); })()) != "discuss") && ( // line 232
(isset($context["curRoute"]) || array_key_exists("curRoute", $context) ? $context["curRoute"] : (function () { throw new RuntimeError('Variable "curRoute" does not exist.', 232, $this->source); })()) != "app_chatb_chatbpage")) && (( // line 233
array_key_exists("noFloor", $context) == false) || ((isset($context["noFloor"]) || array_key_exists("noFloor", $context) ? $context["noFloor"] : (function () { throw new RuntimeError('Variable "noFloor" does not exist.', 233, $this->source); })()) == false)))) {
// line 235
echo " ";
echo twig_include($this->env, $context, "@Web/Common/footer.html.twig");
echo "
";
} else {
// line 237
echo " <footer id=\"footer\"> </footer>
";
}
// line 239
echo "
";
// line 240
echo twig_include($this->env, $context, "@Web/base-js.html.twig");
echo "
";
// line 242
$this->displayBlock('javascripts', $context, $blocks);
// line 243
echo "
";
// line 244
if ((($this->extensions['WebBundle\Twig\AppExtension']->userCountry() == "ru") && (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.', 244, $this->source); })()), "checkIsDev", [], "any", false, false, false, 244) == false))) {
// line 245
echo " <script src=\"//cdn.callibri.ru/callibri.js\" type=\"text/javascript\" charset=\"utf-8\"></script>
";
}
// line 247
echo " ";
// line 248
echo " ";
// line 260
echo " ";
if (($this->extensions['WebBundle\Twig\AppExtension']->useRTWidget() && (twig_get_attribute($this->env, $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.', 260, $this->source); })()), "request", [], "any", false, false, false, 260), "attributes", [], "any", false, false, false, 260), "get", [0 => "_route"], "method", false, false, false, 260) != "app_chatb_chatbpage"))) {
// line 263
echo " <script src=\"https://rtc.remote.team/scripts.js?port-num=3001&chat-id=170619828665B2850E08B2F170619828&client-id=";
echo twig_escape_filter($this->env, (isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 263, $this->source); })()), "html", null, true);
echo "&custom-trigger-id=chat-widget-btn&portal-subdomain=te\"></script>
";
}
// line 265
echo "</body>
</html>
";
echo trim(preg_replace( ['/>\s+</', '/[\x00-\x20]+/'], ['><', ' '] , ob_get_clean()));
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 47
public function block_extraGoogleTagScript($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(), "block", "extraGoogleTagScript"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extraGoogleTagScript"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extraGoogleTagScript"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 52
public function block_beforeTGM($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(), "block", "beforeTGM"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "beforeTGM"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "beforeTGM"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 65
public function block_meta($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(), "block", "meta"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
// line 66
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 102
public function block_title($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(), "block", "title"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 105
public function block_stylesheets($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(), "block", "stylesheets"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 106
echo " ";
// line 107
echo " ";
// line 108
echo " ";
// line 109
echo " ";
if ($this->extensions['SunCat\MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isTablet()) {
// line 110
echo " ";
// line 111
echo " <style>
\t.innerBoxInformer,.share-icons:hover .share-body,.swiper-container .collection-video {display: none;}
\t\t\t\t.share-icons .share-body.shown,.swiper-container .carousel-video-item {display: block;}
\t\t\t\t";
// line 115
echo "\t\t\t\t.view-with-collection .collection-viewed-with-header .total-count-viewed-with {padding: 5px;}
</style>
";
} elseif ($this->extensions['SunCat\MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile()) {
// line 118
echo " ";
// line 119
echo " <style>
\t.innerBoxInformer,.share-icons:hover .share-body {display: none;}
\t\t\t\t.share-icons .share-body.shown,.swiper-container .carousel-video-item {display: block;}
\t\t\t\t@media screen and (max-height: 400px) {
\t\t\t\t\t";
// line 124
echo "\t\t\t\t\t.login-locale-block .tab-block.wrap-change-location.active .pseudo-height {height: 0px;}
\t\t\t\t}
\t\t\t\t";
// line 127
echo "\t\t\t\tinput,input:focus {font-size: 16px;}
\t\t\t\t";
// line 129
echo "\t\t\t\t.view-with-collection .collection-viewed-with-header .total-count-viewed-with {padding: 5px;}
</style>
";
}
// line 132
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 198
public function block_filter_menu($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(), "block", "filter_menu"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "filter_menu"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "filter_menu"));
// line 199
echo " ";
echo 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.', 199, $this->source); })()), "buildLeftMenuLite", [0 => !(isset($context["isExhibition"]) || array_key_exists("isExhibition", $context) ? $context["isExhibition"] : (function () { throw new RuntimeError('Variable "isExhibition" does not exist.', 199, $this->source); })())], "method", false, false, false, 199);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 217
public function block_content($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(), "block", "content"));
$__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"));
// line 218
echo " <div id=\"RightContent\"></div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 242
public function block_javascripts($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(), "block", "javascripts"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
public function getTemplateName()
{
return "@Web/layout.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 809 => 242, 795 => 218, 782 => 217, 766 => 199, 753 => 198, 740 => 132, 735 => 129, 732 => 127, 728 => 124, 722 => 119, 720 => 118, 715 => 115, 710 => 111, 708 => 110, 705 => 109, 703 => 108, 701 => 107, 699 => 106, 686 => 105, 662 => 102, 649 => 66, 636 => 65, 612 => 52, 588 => 47, 572 => 265, 566 => 263, 563 => 260, 561 => 248, 559 => 247, 555 => 245, 553 => 244, 550 => 243, 548 => 242, 543 => 240, 540 => 239, 536 => 237, 530 => 235, 528 => 233, 527 => 232, 526 => 231, 525 => 230, 513 => 220, 511 => 217, 508 => 216, 494 => 215, 479 => 213, 477 => 212, 472 => 211, 454 => 210, 437 => 209, 432 => 208, 422 => 203, 419 => 201, 416 => 198, 412 => 197, 407 => 194, 404 => 193, 400 => 191, 396 => 189, 394 => 188, 391 => 187, 387 => 186, 384 => 185, 382 => 184, 378 => 181, 372 => 175, 364 => 169, 360 => 168, 356 => 167, 351 => 164, 349 => 163, 347 => 161, 343 => 160, 338 => 157, 334 => 156, 330 => 155, 326 => 154, 322 => 152, 315 => 147, 313 => 146, 309 => 145, 306 => 144, 302 => 142, 300 => 141, 296 => 139, 294 => 138, 292 => 137, 288 => 135, 286 => 134, 283 => 133, 281 => 105, 277 => 103, 275 => 102, 269 => 99, 265 => 97, 263 => 96, 261 => 95, 258 => 93, 255 => 92, 249 => 90, 246 => 89, 244 => 88, 242 => 87, 239 => 86, 237 => 82, 233 => 80, 231 => 79, 228 => 78, 225 => 77, 222 => 76, 219 => 75, 216 => 74, 214 => 73, 212 => 72, 209 => 71, 206 => 70, 203 => 69, 200 => 67, 198 => 65, 195 => 64, 191 => 62, 188 => 61, 186 => 60, 184 => 59, 181 => 58, 178 => 57, 175 => 56, 172 => 55, 169 => 54, 166 => 53, 163 => 52, 158 => 50, 153 => 49, 150 => 48, 148 => 47, 121 => 22, 119 => 21, 113 => 18, 109 => 17, 105 => 16, 101 => 15, 97 => 14, 93 => 13, 88 => 12, 84 => 10, 79 => 8, 75 => 7, 71 => 6, 67 => 5, 63 => 4, 59 => 3, 56 => 2, 54 => 1,);
}
public function getSourceContext()
{
return new Source("{% compress %}
<!DOCTYPE html>
<html id=\"html-ai8Y8J31\" lang=\"{{ userLocale() }}\"
data-locale=\"{{ te.request.get('_locale') }}\"
data-ga=\"{{ userGA() }}\"
data-debug=\"{{ te.request.get('d') or app.debug ? 1 : 0 }}\"
data-currency=\"{{ userCurrency() }}\"
data-measure=\"{{ userMeasure() }}\"
data-env=\"TE\"
data-logged=\"{{ isLogged() ? 1 : 0 }}\"
{#data-initial-unread-count=\"{{ getUnreadCount() }}\"#}
data-jwt=\"{{ getJwt() }}\"
data-user_channel=\"{{ getUserChannel() }}\"
data-centrifugo_connection_url=\"{{ centrifugoConnectionUrl }}\"
data-token=\"{{ token }}\"
data-cons-online-attribute-url=\"{{ url('get_cons_online_attribute') }}\"
data-tokenCF=\"{{ csrf_token(token ~ (date('now') | date('Y-m-d H'))) }}\"
data-auth-info=\"{{ app.session.remove('successAuth') }}\"
>
<head>
{% if not te.checkIsDev and googleRemarketing is defined and googleRemarketing %}
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('consent', 'default', {
'ad_storage': 'denied',
'analytics_storage': 'denied',
'ad_user_data': 'denied',
'ad_personalization': 'denied'
});
setTimeout(function() {
gtag('consent', 'update', {
'ad_storage': 'granted',
'analytics_storage': 'granted',
'ad_user_data': 'granted',
'ad_personalization': 'granted'
});
}, 2000);
</script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-WCNQMZ8');</script>
<!-- End Google Tag Manager -->
{% block extraGoogleTagScript %}{% endblock %}
{% else %}
<meta name=\"checkIsDev\" content=\"{{ te.checkIsDev }}\" />
<meta name=\"googleRemarketing\" content=\"{{ googleRemarketing is defined ? googleRemarketing : '-' }}\" />
{% endif %}
{% block beforeTGM %}{% endblock %}
{% set curRoute = '' %}
{% if te.request.get('_route') is defined and te.request.get('_route') %}
\t{% set curRoute = te.request.get('_route') %}
{% endif %}
\t{% set isCollectionPageOrSlideShow = curRoute in ['app_collection', 'app_collection_slideshow', 'app_collection_slideshow_f'] %}
{% include '@Web/base-meta-header.html.twig' %}
\t{# CSFR токен для проверки AJAX запросов #}
<meta content=\"authenticity_token\" name=\"csrf-param\" />
<meta content=\"{{ csrf_token }}\" name=\"csrf-token\" />
{# мета-тег, запрещающий устройствам работающим на iOS (iPhone / IPod / IPad) и Android делать из номеров ссылки #}
<meta name=\"format-detection\" content=\"telephone=no\" />
{% block meta %}
{% endblock %}
\t{# оптимизация дублей страниц для поисковиков #}
{% set baseLinkRel = te.request.getSchemeAndHttpHost() %}
{% if curRoute != '' %}
{% set routeLinkRel = path(curRoute, te.request.get('_route_params')) %}
{# @TODO: уточнить, т.к. routeLinkRel используется и для Google Analytics (@Web/google.html.twig), и в строке 23 #}
{# после перехода на гугл таг, routeLinkRel - не будет использоваться ! #}
{% set routeLinkRel = routeLinkRel | split('/') | slice(2) | join('/') %}
{% else %}
{% set routeLinkRel = '#' %}
{% endif %}
{% if te.request.get('v') != null %}
<meta name=\"robots\" content=\"noindex, nofollow\" />
{% endif %}
{#% if te.request.get('gclid') != null %}
больше не используем, потому что негативно влияет на языковое распределение
<link rel=\"canonical\" href=\"{{ baseLinkRel ~ routeLinkRel }}\" />
{% endif %#}
{% if not(noSEOLink is defined) and curRoute != '' and userCountry() != 'ru' %}
{# Важный блок для гугл #}
{% if curRoute != '' and te.request.get('_route_params') is defined %}
{{ te.SEOLink(curRoute, te.request.get('_route_params'), (hrefFlag is defined ? hrefFlag : null)) | raw }}
{% endif %}
{% endif %}
\t{#{% block canonical %}#}
{#{{ te.getCanonicalTR() | raw }}#}
\t{#{% endblock %}#}
<meta name=\"msvalidate.01\" content=\"465EFDDEC49D260187BF1FAF4F2FEB88\" />
<meta name=\"timestamp\" content=\"{{ timestamp() }}\" />
<title>
{% block title %}{% endblock %}
</title>
{% block stylesheets %}
{#<link href=\"https://fonts.googleapis.com/css?family=Lato:300,300i,400,400i,700,700i\" rel=\"stylesheet\" />#}
{# возможность подключения стилей только для планшетов или для мобильных #}
{# чем подключать отдельный файл и замедлять скорость загрузки, лучше вывести такие стили инлайново, т.к. их немного #}
{% if is_tablet() %}
{#<link rel=\"stylesheet\" href=\"{{ asset('_css/tablet.min.css') }}\" />#}
<style>
\t.innerBoxInformer,.share-icons:hover .share-body,.swiper-container .collection-video {display: none;}
\t\t\t\t.share-icons .share-body.shown,.swiper-container .carousel-video-item {display: block;}
\t\t\t\t{# увеличение области тапа в ссылке на \"collection also viewed\" #}
\t\t\t\t.view-with-collection .collection-viewed-with-header .total-count-viewed-with {padding: 5px;}
</style>
{% elseif is_mobile() %}
{#<link rel=\"stylesheet\" href=\"{{ asset('_css/mobile.min.css') }}\" />#}
<style>
\t.innerBoxInformer,.share-icons:hover .share-body {display: none;}
\t\t\t\t.share-icons .share-body.shown,.swiper-container .carousel-video-item {display: block;}
\t\t\t\t@media screen and (max-height: 400px) {
\t\t\t\t\t{# убираем блок, который необходим для предотвращения пробивки списка на десктопах при выборе языка или страны #}
\t\t\t\t\t.login-locale-block .tab-block.wrap-change-location.active .pseudo-height {height: 0px;}
\t\t\t\t}
\t\t\t\t{# для мобильных, чтобы не было авто-зуминга при тапе на любом инпуте #}
\t\t\t\tinput,input:focus {font-size: 16px;}
\t\t\t\t{# увеличение области тапа в ссылке на \"collection also viewed\" #}
\t\t\t\t.view-with-collection .collection-viewed-with-header .total-count-viewed-with {padding: 5px;}
</style>
{% endif %}
{% endblock %}
\t{% include '@Web/facebookPixelCode.html.twig' %}
</head>
{% set bodyClass = '' %}
{% if curRoute == 'app_collection' %}
\t{% set bodyClass = ' collection-active' %}
{% endif %}
{% if curRoute in ['app_collection_slideshow', 'app_collection_slideshow_f'] and is_mobile() and not is_tablet() %}
\t{% set bodyClass = bodyClass ~ ' slider-active' %}
{% endif %}
<body id=\"body\" class=\"clearfix{{ bodyClass }}\">
\t{% if googleRemarketing is defined and googleRemarketing %}
\t<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-WCNQMZ8\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
\t{% endif %}
<div class=\"data-confirm\"
data-confirm-yes=\"{{ 'yes' | trans }}\"
data-confirm-no=\"{{ 'no' | trans }}\"
data-confirm-ok=\"{{ 'order.ok' | trans }}\"
data-confirm-header=\"{{ 'buyOrder.confirm.header' | trans }}\"></div>
<div class=\"data-confirm-sample\"
{#\$message, \$count, array \$arguments = array(), \$domain = null, \$locale = null#}
data-confirm-sample-title=\"{{ 'order.sample_is_true' | trans }}\" {# заголовок в сообщении #}
{# data-confirm-yes=\"{{ 'order.sample_is_true_yes' | trans }}\"
data-confirm-no=\"{{ 'order.sample_is_true_no' | trans }}\" #}
data-confirm-sample-text=\"\" {# текст уведомления #}
></div>
<div class=\"data-toastmessage\"
\t data-header-warning=\"{{ 'buyOrder.confirm.header' | trans }}\"
\t data-header-error=\"{{ 'error' | trans }}\"
\t data-header-success=\"{{ 'success' | trans }}\"
\t></div>
\t<div class=\"swipe-area-menu-open\"></div>
\t{# оверлей, который появляется после вызова коллапс-меню на мобильных устройствах #}
\t<div class=\"overlay-bg\"></div>
\t<div class=\"lining\"></div>
{# вспомогательный блок, на который вешается свойство z-index в зависимости от ширины
экрана - необходимо для скрипта, отображающего блок boxInformer #}
<div class=\"set-z-index\"></div>
{# если установлен атрибут data-smartphone, значит просмотр осуществляется со смартфона, #}
{# если установлен атрибут data-mobile, значит просмотр осуществляется с планшета #}
<div class=\"wrap-content js-wrap-content\"
{% if te.checkIsDev %} data-dev=\"true\" {% endif %}
\t {% if is_mobile() and not is_tablet() %}
data-smartphone=\"true\"
{% elseif is_mobile() %}
data-mobile=\"true\"
{% endif %}
>
{{ render_esi(controller('WebBundle\\\\Controller\\\\CommonController::topAction')) }}
{# вывел меню фильтров в отдельный блок, подключение JS тоже пришлось, чтобы не было лишних файлов #}
{% set isExhibition = blog is defined and blog.isExhibition %} {# не рендерить быстрые фильтры для выставок #}
{% block filter_menu %}
{{ te.buildLeftMenuLite(not isExhibition) | raw }}
{% endblock filter_menu %}
{# wrap-exhibition добавляется в блогах с выставками #}
<div class=\"wrap {% if isExhibition %}wrap-exhibition{% endif %}\">
<div class=\"container-fluid\">
<div class=\"row\">
<div class=\"col-sm-12\">
{# main-for-catalog - чтобы изменить отступ для мобилки, main - создает много пустого пространства #}
<div id=\"main\" class=\"main fixed-width clearfix {{ curRoute == 'app_catalog' ? 'main-for-catalog' }}\">
{% for label, messages in app.flashes %}
{% for message in messages %}
<div class=\"flash-{{ label }}\">
{% include '@Web/Common/notifications.html.twig' with { 'notificationType': label, 'notificationText': message } %}
</div>
{% endfor %}
{% endfor %}
{% block content %}
<div id=\"RightContent\"></div>
{% endblock content %}
</div>
</div>
</div>
</div>
</div>
<div class=\"both\"></div>
</div>
{% if (
curRoute != 'discuss' and
curRoute != 'app_chatb_chatbpage' and
(noFloor is defined == false or noFloor == false)
) %}
{{ include('@Web/Common/footer.html.twig') }}
{% else %}
<footer id=\"footer\"> </footer>
{% endif %}
{{ include('@Web/base-js.html.twig') }}
{% block javascripts %}{% endblock %}
{% if userCountry() == 'ru' and te.checkIsDev == false %}
<script src=\"//cdn.callibri.ru/callibri.js\" type=\"text/javascript\" charset=\"utf-8\"></script>
{% endif %}
{# displaying the top filter menu during scroll up #}
{# <script>
var prevScrollpos = window.pageYOffset;
window.onscroll = function() {
var currentScrollPos = window.pageYOffset;
if (prevScrollpos > currentScrollPos) {
document.getElementById('top-filter-menu').style.top = '0';
} else {
document.getElementById('top-filter-menu').style.top = '-50px';
}
prevScrollpos = currentScrollPos;
}
</script> #}
{% if useRTWidget() and app.request.attributes.get('_route') != 'app_chatb_chatbpage' %}
{# {% set lang = getCurLocale(false) %}#}
{# {% set country = userCountry() %}#}
<script src=\"https://rtc.remote.team/scripts.js?port-num=3001&chat-id=170619828665B2850E08B2F170619828&client-id={{ token }}&custom-trigger-id=chat-widget-btn&portal-subdomain=te\"></script>
{% endif %}
</body>
</html>
{% endcompress %}
", "@Web/layout.html.twig", "/var/www/dev5.tile.expert/src/WebBundle/Resources/views/layout.html.twig");
}
}