<?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;
/* __design/v2023/layout.html.twig */
class __TwigTemplate_75576e33f9f63163be081b685b1cc77f extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'metaDescription' => [$this, 'block_metaDescription'],
'metaKeywords' => [$this, 'block_metaKeywords'],
'metaRobots' => [$this, 'block_metaRobots'],
'metaSpecial' => [$this, 'block_metaSpecial'],
'preconnect' => [$this, 'block_preconnect'],
'stylesheet' => [$this, 'block_stylesheet'],
'stylesheet_preload' => [$this, 'block_stylesheet_preload'],
'alternate' => [$this, 'block_alternate'],
'preloadAnyData' => [$this, 'block_preloadAnyData'],
'canonical' => [$this, 'block_canonical'],
'specialHtmlTagClass' => [$this, 'block_specialHtmlTagClass'],
'bodyClasses' => [$this, 'block_bodyClasses'],
'wrapper_class' => [$this, 'block_wrapper_class'],
'header' => [$this, 'block_header'],
'content_class' => [$this, 'block_content_class'],
'grid' => [$this, 'block_grid'],
'footer' => [$this, 'block_footer'],
'modal' => [$this, 'block_modal'],
'stylesheet_postload1' => [$this, 'block_stylesheet_postload1'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "__design/v2023/layout.html.twig"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "__design/v2023/layout.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "__design/v2023/layout.html.twig"));
// line 2
ob_start();
// line 3
$context["templateType"] = "public";
// line 4
$context["city"] = 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.', 4, $this->source); })()), "request", [], "any", false, false, false, 4), "attributes", [], "any", false, false, false, 4), "get", ["city", $this->extensions['App\Twig\DefaultCityExtension']->defaultCity()], "method", false, false, false, 4);
// line 5
$context["isDefaultCity"] = ((isset($context["city"]) || array_key_exists("city", $context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.', 5, $this->source); })()) == $this->extensions['App\Twig\DefaultCityExtension']->defaultCity());
// line 7
$context["logoUrl"] = (((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.', 7, $this->source); })()), "request", [], "any", false, false, false, 7), "requestUri", [], "any", false, false, false, 7) == "/")) ? ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage")) : ((( // line 8
(isset($context["isDefaultCity"]) || array_key_exists("isDefaultCity", $context) ? $context["isDefaultCity"] : (function () { throw new RuntimeError('Variable "isDefaultCity" does not exist.', 8, $this->source); })())) ? ("/") : ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_city", ["city" => twig_get_attribute($this->env, $this->source, (isset($context["city"]) || array_key_exists("city", $context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.', 8, $this->source); })()), "uriIdentity", [], "any", false, false, false, 8)])))));
// line 10
$context["months"] = ["January" => "Январь", "February" => "Февраль", "March" => "Март", "April" => "Апрель", "May" => "Май", "June" => "Июнь", "July" => "Июль", "August" => "Август", "September" => "Сентябрь", "October" => "Октябрь", "November" => "Ноябрь", "December" => "Декабрь"];
// line 25
echo "
<!DOCTYPE html>
<html lang=\"";
// line 27
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.', 27, $this->source); })()), "request", [], "any", false, false, false, 27), "locale", [], "any", false, false, false, 27), "html", null, true);
echo "\" class=\"page";
echo (((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.', 27, $this->source); })()), "request", [], "any", false, false, false, 27), "get", ["_route"], "method", false, false, false, 27) == "map.page")) ? (" full-page") : (""));
echo "\">
\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />
\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1\">
\t<meta http-equiv=\"Accept-CH\" content=\"DPR\">
\t<title>";
// line 31
$this->displayBlock('title', $context, $blocks);
echo "</title>
\t";
// line 32
$this->displayBlock('metaDescription', $context, $blocks);
// line 35
echo "\t";
$this->displayBlock('metaKeywords', $context, $blocks);
// line 38
echo "
\t";
// line 39
$this->displayBlock('metaRobots', $context, $blocks);
// line 40
echo "\t";
$this->displayBlock('metaSpecial', $context, $blocks);
// line 41
echo "
\t";
// line 42
$this->displayBlock('preconnect', $context, $blocks);
// line 51
echo "
\t";
// line 52
$this->displayBlock('stylesheet', $context, $blocks);
// line 59
echo "
\t";
// line 61
echo "\t<style>
\t\t";
// line 62
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->getWebpackCssFiles("colors", "nodomainConfig"));
foreach ($context['_seq'] as $context["_key"] => $context["asset_file"]) {
// line 63
echo "\t\t\t";
echo twig_source($this->env, $context["asset_file"]);
echo "
\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['asset_file'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 65
echo "\t</style>
\t";
// line 68
$this->displayBlock('stylesheet_preload', $context, $blocks);
// line 69
echo "
\t<style>
\t\t";
// line 71
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->getWebpackCssFiles("styles/v2023/public", "nodomainConfig"));
foreach ($context['_seq'] as $context["_key"] => $context["asset_file"]) {
// line 72
echo "\t\t\t";
echo twig_source($this->env, $context["asset_file"]);
echo "
\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['asset_file'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 74
echo "\t</style>
\t";
// line 76
$this->displayBlock('alternate', $context, $blocks);
// line 77
echo "
\t";
// line 78
$this->displayBlock('preloadAnyData', $context, $blocks);
// line 79
echo "
\t";
// line 80
$this->displayBlock('canonical', $context, $blocks);
// line 85
echo "
\t<!-- Icons -->
\t<link rel=\"icon\" href=\"";
// line 87
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/favicons/favicon.ico"), "html", null, true);
echo "\" type=\"image/x-icon\">
\t<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"";
// line 88
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/favicons/apple-touch-icon.png"), "html", null, true);
echo "\" type=\"image/png\">
\t<meta name=\"theme-color\" content=\"#FF3F40\">
</head>
<body ";
// line 91
$this->displayBlock('specialHtmlTagClass', $context, $blocks);
echo ">
\t<div class=\"wrapper";
// line 92
$this->displayBlock('wrapper_class', $context, $blocks);
echo "\">
\t\t";
// line 93
$this->displayBlock('header', $context, $blocks);
// line 96
echo "
\t\t<div class=\"content";
// line 97
$this->displayBlock('content_class', $context, $blocks);
echo "\">
\t\t\t";
// line 98
$this->displayBlock('grid', $context, $blocks);
// line 99
echo "\t\t</div>
\t\t";
// line 101
$this->displayBlock('footer', $context, $blocks);
// line 104
echo "
\t\t<div class=\"overlay\"></div>
\t</div>
\t";
// line 108
$this->displayBlock('modal', $context, $blocks);
// line 110
echo "
\t";
// line 111
echo twig_include($this->env, $context, "__design/v2023/components/modal.html.twig");
echo "
\t";
// line 113
$this->displayBlock('stylesheet_postload1', $context, $blocks);
// line 115
echo "
\t<svg class=\"d-none\" xmlns=\"http://www.w3.org/2000/svg\">
\t\t<symbol id=\"i-alert\" viewBox=\"0 0 80 80\">
\t\t\t<path fill=\"#FF3F40\" fill-rule=\"evenodd\" d=\"M6.668 67.576 40.001 10l33.334 57.576H6.668Zm56.151-6.06L40.001 22.09 17.183 61.515H62.82Zm-25.848-9.092v6.06h6.06v-6.06h-6.06Zm0-18.182h6.06v12.122h-6.06V34.242Z\" clip-rule=\"evenodd\"/>
\t\t</symbol>
\t\t<symbol id=\"i-ok\" viewBox=\"0 0 80 80\">
\t\t\t<path fill=\"#67C509\" fill-rule=\"evenodd\" d=\"M40.001 6.668c-18.4 0-33.333 14.933-33.333 33.333s14.933 33.334 33.333 33.334S73.335 58.4 73.335 40C73.335 21.601 58.4 6.668 40 6.668Zm0 60c-14.7 0-26.666-11.967-26.666-26.667 0-14.7 11.966-26.666 26.666-26.666 14.7 0 26.667 11.966 26.667 26.666 0 14.7-11.967 26.667-26.667 26.667Zm-6.666-19.433L55.3 25.268l4.7 4.733-26.666 26.667L20 43.335l4.7-4.7 8.634 8.6Z\" clip-rule=\"evenodd\"/>
\t\t</symbol>
\t\t<symbol id=\"search\" viewBox=\"0 0 25 24\">
\t\t\t<path fill-rule=\"evenodd\" d=\"M8.056 2.685a9 9 0 0 1 10.476 13.933l3.675 3.675a1 1 0 0 1-1.414 1.414l-3.675-3.675A9 9 0 1 1 8.056 2.685ZM11.5 4a7 7 0 1 0 0 14 7 7 0 0 0 0-14Z\" clip-rule=\"evenodd\"/>
\t\t</symbol>
\t\t<symbol id=\"selfie\" viewBox=\"0 0 20 20\">
\t\t \t<path d=\"M12.084 8.75a2.083 2.083 0 1 1-4.167 0 2.083 2.083 0 0 1 4.167 0Z\"/><path fill-rule=\"evenodd\" d=\"M1.667 6.667A3.333 3.333 0 0 1 5 3.333h10a3.333 3.333 0 0 1 3.334 3.334v6.666A3.333 3.333 0 0 1 15 16.667H5a3.333 3.333 0 0 1-3.333-3.334V6.667ZM5 5h10c.92 0 1.667.746 1.667 1.667v6.666c0 .92-.746 1.667-1.667 1.667h-2.083c0-1.841-1.306-3.333-2.917-3.333-1.61 0-2.916 1.492-2.916 3.333H5c-.92 0-1.666-.746-1.666-1.667V6.667C3.334 5.747 4.08 5 5 5Zm7.084 3.75a2.083 2.083 0 1 1-4.167 0 2.083 2.083 0 0 1 4.167 0Z\" clip-rule=\"evenodd\"/>
\t\t</symbol>
\t\t<symbol id=\"video\" viewBox=\"0 0 20 20\">
\t\t\t<path fill-rule=\"evenodd\" d=\"M15 5H5c-.92 0-1.666.746-1.666 1.667v6.666C3.334 14.253 4.08 15 5 15h10c.92 0 1.667-.746 1.667-1.667V6.667C16.667 5.747 15.921 5 15 5ZM5 3.333a3.333 3.333 0 0 0-3.333 3.334v6.666A3.333 3.333 0 0 0 5 16.667h10a3.333 3.333 0 0 0 3.334-3.334V6.667A3.333 3.333 0 0 0 15 3.333H5Z\" clip-rule=\"evenodd\"/><path d=\"m8.334 13.333 5-3.333-5-3.333v6.666Z\"/>
\t\t</symbol>
\t\t<symbol id=\"comment\" viewBox=\"0 0 20 20\">
\t\t\t<path fill-rule=\"evenodd\" d=\"M15 5H5c-.92 0-1.666.746-1.666 1.667v6.666C3.334 14.253 4.08 15 5 15h10c.92 0 1.667-.746 1.667-1.667V6.667C16.667 5.747 15.921 5 15 5ZM5 3.333a3.333 3.333 0 0 0-3.333 3.334v6.666A3.333 3.333 0 0 0 5 16.667h10a3.333 3.333 0 0 0 3.334-3.334V6.667A3.333 3.333 0 0 0 15 3.333H5Z\" clip-rule=\"evenodd\"/><path d=\"M5 7.5c0-.46.373-.833.834-.833h8.333a.833.833 0 0 1 0 1.666H5.834A.833.833 0 0 1 5 7.5ZM5 10c0-.46.373-.833.834-.833h8.333a.833.833 0 0 1 0 1.666H5.834A.833.833 0 0 1 5 10ZM5 12.5c0-.46.373-.833.834-.833H10a.833.833 0 1 1 0 1.666H5.834A.833.833 0 0 1 5 12.5Z\"/>
\t\t</symbol>
\t\t<symbol id=\"verify\" viewBox=\"0 0 24 25\">
\t\t\t<path fill=\"#27AE60\" fill-rule=\"evenodd\" d=\"m20.56 9.716 2.44 2.78-2.44 2.78.34 3.68-3.61.82-1.89 3.18-3.4-1.46-3.4 1.47-1.89-3.18-3.61-.82.34-3.69L1 12.496l2.44-2.79-.34-3.68 3.61-.81 1.89-3.18 3.4 1.46 3.4-1.46 1.89 3.18 3.61.82-.34 3.68ZM7.42 11.91l3.17 3.17 6.59-6.58 1.41 1.41-8 8L6 13.32l1.42-1.41Z\" clip-rule=\"evenodd\"/>
\t\t</symbol>
\t\t<symbol id=\"metro\" viewBox=\"0 0 18 19\">
\t<path d=\"M1.2 14H0v1.7h6.4V14H4.5l1.2-4.4L9 15.9l3.3-6.3 1.2 4.4h-1.9v1.7H18V14h-1.3L12.5 2.4 9 10 5.4 2.4 1.2 14Z\" />
\t</symbol>
\t\t<symbol id=\"mcd-1\" viewBox=\"0 0 22 18\">
\t\t\t<path d=\"m21.96 3.14-3.12 11.68c-.2.72-.45.93-1.06.93H.59c-.52 0-.69-.29-.54-.9l3.1-11.7c.19-.7.42-.9 1.05-.9h17.2c.52 0 .69.29.56.9Z\" fill=\"#F6A500\"/><path d=\"M13.1 12.64h3.87l.41-1.18h-1.6v-6.1h-2.59V6.5h1.32v4.96h-1.4v1.17Zm-1.24-3.63c0-2.17-1.43-3.66-3.64-3.66H4.99l-.37 1.23H5.8v6.07h2.42c2.2-.01 3.63-1.5 3.63-3.64Zm-1.4 0c0 1.6-.97 2.42-2.27 2.42H7.12V6.56H8.2c1.3 0 2.28.8 2.28 2.45Z\" fill=\"#fff\"/>
\t\t</symbol>
\t\t<symbol id=\"mcd-2\" viewBox=\"0 0 22 18\">
\t\t\t<path d=\"m21.96 3.14-3.12 11.68c-.2.72-.45.93-1.06.93H.59c-.52 0-.69-.29-.54-.9l3.1-11.7c.19-.7.42-.9 1.05-.9h17.2c.52 0 .69.29.56.9Z\" fill=\"#E94282\"/><path d=\"m12.6 6.33.86.86a2.67 2.67 0 0 1 1.74-.76c.7 0 1.24.39 1.24 1.05 0 .57-.3.97-1.67 2.33l-1.88 1.85v.99h4.79l.41-1.16h-3.37v-.02l1.33-1.27c1.23-1.17 1.72-1.85 1.72-2.84 0-1.12-.88-2.12-2.5-2.12-1.03-.01-2.02.47-2.66 1.1ZM11.44 9c0-2.17-1.48-3.66-3.79-3.66H4.3l-.4 1.24h1.23v6.07h2.51c2.31-.01 3.79-1.5 3.79-3.65ZM9.97 9c0 1.61-1.01 2.45-2.36 2.45H6.5v-4.9h1.1c1.36 0 2.37.83 2.37 2.45Z\" fill=\"#fff\"/>
\t\t</symbol>
\t\t<symbol id=\"mcd-3\" viewBox=\"0 0 22 18\">
\t\t\t<path d=\"M3.75 5.21A.3.3 0 0 1 4.04 5h14.65c.2 0 .34.2.28.38l-2.72 8.41a.3.3 0 0 1-.29.21H1.31a.3.3 0 0 1-.28-.38L3.75 5.2Z\" fill=\"#E95B0C\"/><path d=\"m21.96 3.14-3.12 11.68c-.2.72-.45.93-1.06.93H.59c-.52 0-.69-.29-.54-.9l3.1-11.7c.19-.7.42-.9 1.05-.9h17.2c.52 0 .69.29.56.9Z\" fill=\"#E95B0C\"/><path d=\"M17.1 8.79a2.34 2.34 0 0 0-1.25-.68l1.73-1.72V5.36H12.8V6.6h3.06l-1.8 1.78v.88l.19-.03.26-.03h.27c.46 0 .83.1 1.14.31.3.2.44.47.44.86 0 .36-.13.64-.4.85a1.5 1.5 0 0 1-.98.33 2.26 2.26 0 0 1-1.65-.67l-.11-.1-.9.9.11.1a3.47 3.47 0 0 0 2.57 1c.76 0 1.42-.24 1.94-.7.53-.47.8-1.05.8-1.72a2.18 2.18 0 0 0-.64-1.57ZM10.41 6.39a3.64 3.64 0 0 0-2.74-1.04h-3.1l-.3 1.21h.97v6.08h2.43c1.15 0 2.07-.34 2.74-1.02.67-.7 1-1.56 1-2.61a3.55 3.55 0 0 0-1-2.62ZM10.01 9c0 .84-.23 1.43-.68 1.83-.44.4-1.02.6-1.72.6h-1V6.58h1c.71 0 1.28.2 1.72.62.45.4.68 1 .68 1.82Z\" fill=\"#fff\"/>
\t\t</symbol>
\t\t<symbol id=\"mcd-4\" viewBox=\"0 0 22 18\">
\t\t\t<path d=\"M3.75 5.21A.3.3 0 0 1 4.04 5h14.65c.2 0 .34.2.28.38l-2.72 8.41a.3.3 0 0 1-.29.21H1.31a.3.3 0 0 1-.28-.38L3.75 5.2Z\" fill=\"#41B384\"/><path d=\"m21.96 3.14-3.12 11.68c-.2.72-.45.93-1.06.93H.59c-.52 0-.69-.29-.54-.9l3.1-11.7c.19-.7.42-.9 1.05-.9h17.2c.52 0 .69.29.56.9Z\" fill=\"#41B384\"/><path d=\"M10.1 6.4a3.63 3.63 0 0 0-2.74-1.03H4.37l-.3 1.21h.86v6.07h2.42c1.15 0 2.07-.34 2.74-1.02a3.6 3.6 0 0 0 .99-2.6c0-1.06-.32-1.94-.98-2.63ZM9.69 9c0 .85-.24 1.44-.67 1.84-.46.4-1.02.6-1.72.6H6.29V6.6h1c.7 0 1.28.2 1.72.61.44.4.68 1 .68 1.8ZM16.7 9.9V7.8h-1.32v2.1H13.5l1.96-4.53h-1.4l-2.04 4.78v.93h3.36v1.57h1.32v-1.57h.8l.44-1.17H16.7Z\" fill=\"#fff\"/>
\t\t</symbol>
\t\t<symbol id=\"mck\" viewBox=\"0 0 24 24\">
\t\t\t<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12 16a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0 2a6 6 0 1 0 0-12 6 6 0 0 0 0 12Z\" fill=\"#DC0505\"/>
\t\t\t<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm0 2a10 10 0 1 0 0-20 10 10 0 0 0 0 20Z\" fill=\"#DC0505\"/>
\t\t</symbol>
\t</svg>
\t";
// line 160
$this->displayBlock('javascripts', $context, $blocks);
// line 168
echo "
\t<script>
\t\t(function(){
\t\t\tdocument.addEventListener(\"DOMContentLoaded\", () => {
\t\t\t\tfetch(\"";
// line 172
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("component.header");
echo "?city=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 172, $this->source); })()), "request", [], "any", false, false, false, 172), "attributes", [], "any", false, false, false, 172), "get", ["city", $this->extensions['App\Twig\DefaultCityExtension']->defaultCity()], "method", false, false, false, 172), "uriIdentity", [], "any", false, false, false, 172), "html", null, true);
echo "\", {
\t\t\t\t\tmethod: 'GET',
\t\t\t\t\tresponseType: 'text',
\t\t\t\t\theaders: {
\t\t\t\t\t\t\"Content-Type\": \"text/html; charset=utf-8\",
\t\t\t\t\t\t'X-Requested-With': 'XMLHttpRequest'
\t\t\t\t\t},
\t\t\t\t}).then(response => {
\t\t\t\t\treturn response.text();
\t\t\t\t}).then(data => {
\t\t\t\t\tconst temp = document.createElement('div');
\t\t\t\t\ttemp.innerHTML = data;
\t\t\t\t\tconst userData = temp.querySelector('#user-data');
\t\t\t\t\tdocument.dispatchEvent(new Event('header:loaded'))
\t\t\t\t\tconst loginBtnList = document.querySelectorAll('[data-login]');
\t\t\t\t\tconst regBtnList = document.querySelectorAll('[data-registration]');
\t\t\t\t\tconst user = JSON.parse(userData.innerHTML);
\t\t\t\t\tif (user.role) {
\t\t\t\t\t\tconst footerLink = document.getElementById('add-profile');
\t\t\t\t\t\tif (footerLink) footerLink.href = user.role === \"advertiser\" ? \"";
// line 195
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account.profile_editing.create");
echo "\" : (user.role === \"user\" ? \"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_security_register");
echo "\" : '');
\t\t\t\t\t\tregBtnList.forEach(el => {
\t\t\t\t\t\t\tif (el.dataset.parent) {
\t\t\t\t\t\t\t\tel.parentElement.remove();
\t\t\t\t\t\t\t} else {
\t\t\t\t\t\t\t\tel.remove();
\t\t\t\t\t\t\t}
\t\t\t\t\t\t});
\t\t\t\t\t\tloginBtnList.forEach(el => {
\t\t\t\t\t\t\tel.href = \"";
// line 205
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account");
echo "\";
\t\t\t\t\t\t\tel.innerHTML = `<svg class=\"btn-icon\" width=\"24\" height=\"24\" viewbox=\"0 0 24 24\" fill=\"none\"><path fill-rule=\"evenodd\" d=\"M15.46 11.61A4.99 4.99 0 0 0 12 3a5 5 0 0 0-3.46 8.61A10.02 10.02 0 0 0 2 21h20a10.02 10.02 0 0 0-6.54-9.39ZM15 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm-3 5a8 8 0 0 0-7.75 6h15.5A8 8 0 0 0 12 13Z\" clip-rule=\"evenodd\"/></svg>
\t\t\t\t\t\t\t<span class=\"btn-text\">Личный кабинет</span>`;
\t\t\t\t\t\t\tel.classList.remove('btn-white');
\t\t\t\t\t\t\tel.classList.remove('d-none');
\t\t\t\t\t\t\tel.classList.add('btn-white-black');
\t\t\t\t\t\t\tel.classList.add('header__login-account');
\t\t\t\t\t\t});
\t\t\t\t\t} else {
\t\t\t\t\t\tregBtnList.forEach(el => {
\t\t\t\t\t\t\tel.classList.remove('d-none');
\t\t\t\t\t\t});
\t\t\t\t\t\tloginBtnList.forEach(el => {
\t\t\t\t\t\t\tel.classList.remove('d-none');
\t\t\t\t\t\t});
\t\t\t\t\t}
\t\t\t\t\ttry {
\t\t\t\t\t\tdocument.dispatchEvent(new CustomEvent('header:update', { detail: { data: user } }));
\t\t\t\t\t} catch (e) {
\t\t\t\t\t\tconsole.warn('Error parsing user data:', e);
\t\t\t\t\t}
\t\t\t\t\t//document.dispatchEvent(new Event(`header:update:\${data.includes('Для Вас') ?}`))
\t\t\t\t})
\t\t\t})
\t\t\t// function showHamburger() {
\t\t\t// \thamburger.setAttribute('aria-expanded', 'true');
\t\t\t// \toverlay.classList.add('active');
\t\t\t// }
\t\t\t// function hideLightbox() {
\t\t\t// \thamburger.setAttribute('aria-expanded', 'false');
\t\t\t// \toverlay.classList.remove('active');
\t\t\t// }
\t\t\tfunction toggleLightbox(state) {
\t\t\t\thamburgerBtn.setAttribute('aria-expanded', (state ? \"true\" : \"false\"));
\t\t\t\toverlay.classList.toggle('active', state);
\t\t\t}
\t\t\tconst overlay = document.querySelector('.overlay');
\t\t\tlet hamburgerBtn = document.getElementById('hamburger-btn');
\t\t\tdocument.addEventListener('click', function(e) {
\t\t\t\tif (e.target === hamburgerBtn && hamburgerBtn.contains(e.target)) {
\t\t\t\t\thamburgerBtn.getAttribute('aria-expanded') === 'true' ? toggleLightbox(false) : toggleLightbox(true)
\t\t\t\t}
\t\t\t\telse if (hamburgerBtn && hamburgerBtn.parentElement.contains(e.target)) {}
\t\t\t\telse {
\t\t\t\t\ttoggleLightbox(false);
\t\t\t\t}
\t\t\t});
\t\t})();
\t</script>
\t";
// line 262
$this->loadTemplate("__design/v2023/components/profile_ctr.js.twig", "__design/v2023/layout.html.twig", 262)->display($context);
// line 263
echo "
\t";
// line 265
if ((isset($context["ga_tracker_id"]) || array_key_exists("ga_tracker_id", $context) ? $context["ga_tracker_id"] : (function () { throw new RuntimeError('Variable "ga_tracker_id" does not exist.', 265, $this->source); })())) {
// line 266
echo "\t\t<!-- Global site tag (gtag.js) - Google Analytics -->
\t\t<script async src=\"https://www.googletagmanager.com/gtag/js?id=";
// line 267
echo twig_escape_filter($this->env, (isset($context["ga_tracker_id"]) || array_key_exists("ga_tracker_id", $context) ? $context["ga_tracker_id"] : (function () { throw new RuntimeError('Variable "ga_tracker_id" does not exist.', 267, $this->source); })()), "html", null, true);
echo "\"></script>
\t\t<script>
\t\t\twindow.dataLayer = window.dataLayer || [];
\t\t\tfunction gtag(){dataLayer.push(arguments);}
\t\t\tgtag('js', new Date());
\t\t\t";
// line 273
echo "\t\t\tgtag('config', '";
echo twig_escape_filter($this->env, (isset($context["ga_tracker_id"]) || array_key_exists("ga_tracker_id", $context) ? $context["ga_tracker_id"] : (function () { throw new RuntimeError('Variable "ga_tracker_id" does not exist.', 273, $this->source); })()), "html", null, true);
echo "', {
\t\t\t\t'custom_map': {
\t\t\t\t\t'userip': 'ip',
\t\t\t\t\t'useragent': 'user_agent'
\t\t\t\t}
\t\t\t});
\t\t\tgtag('event', 'user_data', {'ip': '";
// line 279
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.', 279, $this->source); })()), "request", [], "any", false, false, false, 279), "clientIp", [], "any", false, false, false, 279), "html", null, true);
echo "', 'user_agent': window.navigator.userAgent});
\t\t</script>
\t";
}
// line 282
echo "\t";
if ((isset($context["ym_tracker_id"]) || array_key_exists("ym_tracker_id", $context) ? $context["ym_tracker_id"] : (function () { throw new RuntimeError('Variable "ym_tracker_id" does not exist.', 282, $this->source); })())) {
// line 283
echo "\t\t<!-- Yandex.Metrika counter -->
\t\t<script type=\"text/javascript\" >
\t\t\t(function (d, w, c) {
\t\t\t\t(w[c] = w[c] || []).push(function() {
\t\t\t\t\ttry {
\t\t\t\t\t\tw.yaCounter";
// line 288
echo twig_escape_filter($this->env, (isset($context["ym_tracker_id"]) || array_key_exists("ym_tracker_id", $context) ? $context["ym_tracker_id"] : (function () { throw new RuntimeError('Variable "ym_tracker_id" does not exist.', 288, $this->source); })()), "html", null, true);
echo " = new Ya.Metrika({
\t\t\t\t\t\t\tid:";
// line 289
echo twig_escape_filter($this->env, (isset($context["ym_tracker_id"]) || array_key_exists("ym_tracker_id", $context) ? $context["ym_tracker_id"] : (function () { throw new RuntimeError('Variable "ym_tracker_id" does not exist.', 289, $this->source); })()), "html", null, true);
echo ",
\t\t\t\t\t\t\tclickmap:true,
\t\t\t\t\t\t\ttrackLinks:true,
\t\t\t\t\t\t\taccurateTrackBounce:true
\t\t\t\t\t\t});
\t\t\t\t\t} catch(e) { }
\t\t\t\t});
\t\t\t\tvar n = d.getElementsByTagName(\"script\")[0],
\t\t\t\t\ts = d.createElement(\"script\"),
\t\t\t\t\tf = function () { n.parentNode.insertBefore(s, n); };
\t\t\t\ts.type = \"text/javascript\";
\t\t\t\ts.async = true;
\t\t\t\ts.src = \"https://mc.yandex.ru/metrika/watch.js\";
\t\t\t\tif (w.opera == \"[object Opera]\") {
\t\t\t\t\td.addEventListener(\"DOMContentLoaded\", f, false);
\t\t\t\t} else { f(); }
\t\t\t})(document, window, \"yandex_metrika_callbacks\");
\t\t</script>
\t\t<noscript><div><img src=\"https://mc.yandex.ru/watch/";
// line 307
echo twig_escape_filter($this->env, (isset($context["ym_tracker_id"]) || array_key_exists("ym_tracker_id", $context) ? $context["ym_tracker_id"] : (function () { throw new RuntimeError('Variable "ym_tracker_id" does not exist.', 307, $this->source); })()), "html", null, true);
echo "\" style=\"position:absolute; left:-9999px;\" alt=\"\" /></div></noscript>
\t\t<!-- /Yandex.Metrika counter -->
\t";
}
// line 310
echo "</body>
</html>
";
$___internal_parse_4_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 2
echo twig_spaceless($___internal_parse_4_);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 31
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo twig_escape_filter($this->env, $this->extensions['App\Twig\SeoExtension']->metaTitle(), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 32
public function block_metaDescription($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaDescription"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaDescription"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaDescription"));
// line 33
echo "\t\t<meta name=\"description\" content=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\SeoExtension']->metaDescription(), "html", null, true);
echo "\">
\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 35
public function block_metaKeywords($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaKeywords"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaKeywords"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaKeywords"));
// line 36
echo "\t\t<meta name=\"keywords\" content=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\SeoExtension']->metaKeywords(), "html", null, true);
echo "\">
\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 39
public function block_metaRobots($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaRobots"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaRobots"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaRobots"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 40
public function block_metaSpecial($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaSpecial"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaSpecial"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaSpecial"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 42
public function block_preconnect($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "preconnect"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "preconnect"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "preconnect"));
// line 43
if (array_key_exists("responsive_media_base_url", $context)) {
// line 44
echo "<link rel=\"preconnect\" href=\"";
echo twig_escape_filter($this->env, twig_replace_filter((isset($context["responsive_media_base_url"]) || array_key_exists("responsive_media_base_url", $context) ? $context["responsive_media_base_url"] : (function () { throw new RuntimeError('Variable "responsive_media_base_url" does not exist.', 44, $this->source); })()), ["responsive" => "assets"]), "html", null, true);
echo "\" />
\t\t<link rel=\"preconnect\" href=\"";
// line 45
echo twig_escape_filter($this->env, (isset($context["responsive_media_base_url"]) || array_key_exists("responsive_media_base_url", $context) ? $context["responsive_media_base_url"] : (function () { throw new RuntimeError('Variable "responsive_media_base_url" does not exist.', 45, $this->source); })()), "html", null, true);
echo "\" />";
}
// line 47
echo "<link rel=\"preconnect\" href=\"https://mc.yandex.ru\">
\t\t<link rel=\"preconnect\" href=\"https://www.googletagmanager.com\">
\t\t<link rel=\"dns-prefetch\" href=\"";
// line 49
echo twig_escape_filter($this->env, (isset($context["responsive_media_base_url"]) || array_key_exists("responsive_media_base_url", $context) ? $context["responsive_media_base_url"] : (function () { throw new RuntimeError('Variable "responsive_media_base_url" does not exist.', 49, $this->source); })()), "html", null, true);
echo "\" />
\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 52
public function block_stylesheet($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
// line 53
echo "\t\t<style>
\t\t\t";
// line 54
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->getWebpackCssFiles("scripts/v2023/index", "nodomainConfig"));
foreach ($context['_seq'] as $context["_key"] => $context["asset_file"]) {
// line 55
echo "\t\t\t\t";
echo twig_source($this->env, $context["asset_file"]);
echo "
\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['asset_file'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 57
echo "\t\t</style>
\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 68
public function block_stylesheet_preload($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet_preload"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet_preload"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet_preload"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 76
public function block_alternate($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "alternate"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "alternate"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "alternate"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 78
public function block_preloadAnyData($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "preloadAnyData"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "preloadAnyData"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "preloadAnyData"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 80
public function block_canonical($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "canonical"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "canonical"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "canonical"));
// line 81
echo "\t\t";
if (((isset($context["actual_main_domain"]) || array_key_exists("actual_main_domain", $context) ? $context["actual_main_domain"] : (function () { throw new RuntimeError('Variable "actual_main_domain" does not exist.', 81, $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.', 81, $this->source); })()), "request", [], "any", false, false, false, 81), "host", [], "any", false, false, false, 81))) {
// line 82
echo "\t\t<link rel=\"canonical\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\SeoExtension']->canonicalUrl((isset($context["actual_main_domain"]) || array_key_exists("actual_main_domain", $context) ? $context["actual_main_domain"] : (function () { throw new RuntimeError('Variable "actual_main_domain" does not exist.', 82, $this->source); })())), "html", null, true);
echo "\">
\t\t";
}
// line 84
echo "\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 91
public function block_specialHtmlTagClass($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "specialHtmlTagClass"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "specialHtmlTagClass"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "specialHtmlTagClass"));
echo " class=\"page__body";
$this->displayBlock('bodyClasses', $context, $blocks);
echo "\"";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
public function block_bodyClasses($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyClasses"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyClasses"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyClasses"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 92
public function block_wrapper_class($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "wrapper_class"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "wrapper_class"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "wrapper_class"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 93
public function block_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 94
echo "\t\t\t";
$this->loadTemplate("__design/v2023/components/header.html.twig", "__design/v2023/layout.html.twig", 94)->display($context);
// line 95
echo "\t\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 97
public function block_content_class($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_class"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_class"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_class"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 98
public function block_grid($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "grid"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "grid"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "grid"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 101
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 102
echo "\t\t\t";
echo twig_include($this->env, $context, "__design/v2023/components/footer.html.twig");
echo "
\t\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 108
public function block_modal($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "modal"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "modal"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "modal"));
// line 109
echo "\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 113
public function block_stylesheet_postload1($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet_postload1"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet_postload1"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet_postload1"));
// line 114
echo "\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 160
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 161
echo "\t\t";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("scripts/v2023/index", null, "basicConfig");
echo "
\t\t";
// line 167
echo "\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "__design/v2023/layout.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 1062 => 167, 1057 => 161, 1044 => 160, 1031 => 114, 1018 => 113, 1005 => 109, 992 => 108, 976 => 102, 963 => 101, 939 => 98, 915 => 97, 902 => 95, 899 => 94, 886 => 93, 862 => 92, 812 => 91, 799 => 84, 793 => 82, 790 => 81, 777 => 80, 753 => 78, 729 => 76, 705 => 68, 691 => 57, 682 => 55, 678 => 54, 675 => 53, 662 => 52, 647 => 49, 643 => 47, 639 => 45, 634 => 44, 632 => 43, 619 => 42, 595 => 40, 571 => 39, 555 => 36, 542 => 35, 526 => 33, 513 => 32, 488 => 31, 475 => 2, 470 => 310, 464 => 307, 443 => 289, 439 => 288, 432 => 283, 429 => 282, 423 => 279, 413 => 273, 405 => 267, 402 => 266, 400 => 265, 396 => 263, 394 => 262, 334 => 205, 319 => 195, 291 => 172, 285 => 168, 283 => 160, 236 => 115, 234 => 113, 229 => 111, 226 => 110, 224 => 108, 218 => 104, 216 => 101, 212 => 99, 210 => 98, 206 => 97, 203 => 96, 201 => 93, 197 => 92, 193 => 91, 187 => 88, 183 => 87, 179 => 85, 177 => 80, 174 => 79, 172 => 78, 169 => 77, 167 => 76, 163 => 74, 154 => 72, 150 => 71, 146 => 69, 144 => 68, 139 => 65, 130 => 63, 126 => 62, 123 => 61, 120 => 59, 118 => 52, 115 => 51, 113 => 42, 110 => 41, 107 => 40, 105 => 39, 102 => 38, 99 => 35, 97 => 32, 93 => 31, 84 => 27, 80 => 25, 78 => 10, 76 => 8, 75 => 7, 73 => 5, 71 => 4, 69 => 3, 67 => 2,);
}
public function getSourceContext()
{
return new Source("{# {% set cssContent = source('../public/assets/styles/v2023/public.css') %} #}
{% apply spaceless %}
{% set templateType = 'public' %}
{% set city = app.request.attributes.get('city', default_city()) %}
{% set isDefaultCity = city == default_city() %}
{# Создаём переменную для урла в логотипе #}
{% set logoUrl = app.request.requestUri == '/' ? path('homepage') :
\t\t\t\t(isDefaultCity ? '/' : path('profile_list.list_by_city', {\"city\": city.uriIdentity}))
%}
{% set months = {
\t\"January\": \"Январь\",
\t\"February\": \"Февраль\",
\t\"March\": \"Март\",
\t\"April\": \"Апрель\",
\t\"May\": \"Май\",
\t\"June\": \"Июнь\",
\t\"July\": \"Июль\",
\t\"August\": \"Август\",
\t\"September\": \"Сентябрь\",
\t\"October\": \"Октябрь\",
\t\"November\": \"Ноябрь\",
\t\"December\": \"Декабрь\"
} %}
{# {% apply inline_css(source(\"assets/colors.css\")) %} #}
<!DOCTYPE html>
<html lang=\"{{ app.request.locale }}\" class=\"page{{ app.request.get('_route') == 'map.page' ? ' full-page' : '' }}\">
\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />
\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1\">
\t<meta http-equiv=\"Accept-CH\" content=\"DPR\">
\t<title>{% block title %}{{ seo_title() }}{% endblock %}</title>
\t{% block metaDescription %}
\t\t<meta name=\"description\" content=\"{{ seo_description() }}\">
\t{% endblock %}
\t{% block metaKeywords %}
\t\t<meta name=\"keywords\" content=\"{{ seo_keywords() }}\">
\t{% endblock %}
\t{% block metaRobots %}{% endblock %}
\t{% block metaSpecial %}{% endblock %}
\t{% block preconnect %}
\t\t{%- if responsive_media_base_url is defined -%}
\t\t<link rel=\"preconnect\" href=\"{{ responsive_media_base_url|replace({'responsive': 'assets'}) }}\" />
\t\t<link rel=\"preconnect\" href=\"{{ responsive_media_base_url }}\" />
\t\t{%- endif -%}
\t\t<link rel=\"preconnect\" href=\"https://mc.yandex.ru\">
\t\t<link rel=\"preconnect\" href=\"https://www.googletagmanager.com\">
\t\t<link rel=\"dns-prefetch\" href=\"{{ responsive_media_base_url }}\" />
\t{% endblock %}
\t{% block stylesheet %}
\t\t<style>
\t\t\t{% for asset_file in encore_entry_css_files('scripts/v2023/index', 'nodomainConfig') %}
\t\t\t\t{{ source(asset_file) }}
\t\t\t{% endfor %}
\t\t</style>
\t{% endblock %}
\t{# {{ encore_entry_link_tags('colors') }} #}
\t<style>
\t\t{% for asset_file in encore_entry_css_files('colors', 'nodomainConfig') %}
\t\t\t{{ source(asset_file) }}
\t\t{% endfor %}
\t</style>
\t{% block stylesheet_preload %}{% endblock %}
\t<style>
\t\t{% for asset_file in encore_entry_css_files('styles/v2023/public', 'nodomainConfig') %}
\t\t\t{{ source(asset_file) }}
\t\t{% endfor %}
\t</style>
\t{% block alternate %}{% endblock %}
\t{% block preloadAnyData %}{% endblock %}
\t{% block canonical %}
\t\t{% if actual_main_domain == app.request.host %}
\t\t<link rel=\"canonical\" href=\"{{ canonical_url(actual_main_domain) }}\">
\t\t{% endif %}
\t{% endblock %}
\t<!-- Icons -->
\t<link rel=\"icon\" href=\"{{ asset('assets/images/favicons/favicon.ico')}}\" type=\"image/x-icon\">
\t<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"{{ asset('assets/images/favicons/apple-touch-icon.png')}}\" type=\"image/png\">
\t<meta name=\"theme-color\" content=\"#FF3F40\">
</head>
<body {% block specialHtmlTagClass %} class=\"page__body{% block bodyClasses %}{% endblock %}\"{% endblock %}>
\t<div class=\"wrapper{% block wrapper_class %}{% endblock %}\">
\t\t{% block header %}
\t\t\t{% include '__design/v2023/components/header.html.twig' %}
\t\t{% endblock %}
\t\t<div class=\"content{% block content_class %}{% endblock %}\">
\t\t\t{% block grid %}{% endblock %}
\t\t</div>
\t\t{% block footer %}
\t\t\t{{ include('__design/v2023/components/footer.html.twig') }}
\t\t{% endblock %}
\t\t<div class=\"overlay\"></div>
\t</div>
\t{% block modal %}
\t{% endblock %}
\t{{ include('__design/v2023/components/modal.html.twig') }}
\t{% block stylesheet_postload1 %}
\t{% endblock %}
\t<svg class=\"d-none\" xmlns=\"http://www.w3.org/2000/svg\">
\t\t<symbol id=\"i-alert\" viewBox=\"0 0 80 80\">
\t\t\t<path fill=\"#FF3F40\" fill-rule=\"evenodd\" d=\"M6.668 67.576 40.001 10l33.334 57.576H6.668Zm56.151-6.06L40.001 22.09 17.183 61.515H62.82Zm-25.848-9.092v6.06h6.06v-6.06h-6.06Zm0-18.182h6.06v12.122h-6.06V34.242Z\" clip-rule=\"evenodd\"/>
\t\t</symbol>
\t\t<symbol id=\"i-ok\" viewBox=\"0 0 80 80\">
\t\t\t<path fill=\"#67C509\" fill-rule=\"evenodd\" d=\"M40.001 6.668c-18.4 0-33.333 14.933-33.333 33.333s14.933 33.334 33.333 33.334S73.335 58.4 73.335 40C73.335 21.601 58.4 6.668 40 6.668Zm0 60c-14.7 0-26.666-11.967-26.666-26.667 0-14.7 11.966-26.666 26.666-26.666 14.7 0 26.667 11.966 26.667 26.666 0 14.7-11.967 26.667-26.667 26.667Zm-6.666-19.433L55.3 25.268l4.7 4.733-26.666 26.667L20 43.335l4.7-4.7 8.634 8.6Z\" clip-rule=\"evenodd\"/>
\t\t</symbol>
\t\t<symbol id=\"search\" viewBox=\"0 0 25 24\">
\t\t\t<path fill-rule=\"evenodd\" d=\"M8.056 2.685a9 9 0 0 1 10.476 13.933l3.675 3.675a1 1 0 0 1-1.414 1.414l-3.675-3.675A9 9 0 1 1 8.056 2.685ZM11.5 4a7 7 0 1 0 0 14 7 7 0 0 0 0-14Z\" clip-rule=\"evenodd\"/>
\t\t</symbol>
\t\t<symbol id=\"selfie\" viewBox=\"0 0 20 20\">
\t\t \t<path d=\"M12.084 8.75a2.083 2.083 0 1 1-4.167 0 2.083 2.083 0 0 1 4.167 0Z\"/><path fill-rule=\"evenodd\" d=\"M1.667 6.667A3.333 3.333 0 0 1 5 3.333h10a3.333 3.333 0 0 1 3.334 3.334v6.666A3.333 3.333 0 0 1 15 16.667H5a3.333 3.333 0 0 1-3.333-3.334V6.667ZM5 5h10c.92 0 1.667.746 1.667 1.667v6.666c0 .92-.746 1.667-1.667 1.667h-2.083c0-1.841-1.306-3.333-2.917-3.333-1.61 0-2.916 1.492-2.916 3.333H5c-.92 0-1.666-.746-1.666-1.667V6.667C3.334 5.747 4.08 5 5 5Zm7.084 3.75a2.083 2.083 0 1 1-4.167 0 2.083 2.083 0 0 1 4.167 0Z\" clip-rule=\"evenodd\"/>
\t\t</symbol>
\t\t<symbol id=\"video\" viewBox=\"0 0 20 20\">
\t\t\t<path fill-rule=\"evenodd\" d=\"M15 5H5c-.92 0-1.666.746-1.666 1.667v6.666C3.334 14.253 4.08 15 5 15h10c.92 0 1.667-.746 1.667-1.667V6.667C16.667 5.747 15.921 5 15 5ZM5 3.333a3.333 3.333 0 0 0-3.333 3.334v6.666A3.333 3.333 0 0 0 5 16.667h10a3.333 3.333 0 0 0 3.334-3.334V6.667A3.333 3.333 0 0 0 15 3.333H5Z\" clip-rule=\"evenodd\"/><path d=\"m8.334 13.333 5-3.333-5-3.333v6.666Z\"/>
\t\t</symbol>
\t\t<symbol id=\"comment\" viewBox=\"0 0 20 20\">
\t\t\t<path fill-rule=\"evenodd\" d=\"M15 5H5c-.92 0-1.666.746-1.666 1.667v6.666C3.334 14.253 4.08 15 5 15h10c.92 0 1.667-.746 1.667-1.667V6.667C16.667 5.747 15.921 5 15 5ZM5 3.333a3.333 3.333 0 0 0-3.333 3.334v6.666A3.333 3.333 0 0 0 5 16.667h10a3.333 3.333 0 0 0 3.334-3.334V6.667A3.333 3.333 0 0 0 15 3.333H5Z\" clip-rule=\"evenodd\"/><path d=\"M5 7.5c0-.46.373-.833.834-.833h8.333a.833.833 0 0 1 0 1.666H5.834A.833.833 0 0 1 5 7.5ZM5 10c0-.46.373-.833.834-.833h8.333a.833.833 0 0 1 0 1.666H5.834A.833.833 0 0 1 5 10ZM5 12.5c0-.46.373-.833.834-.833H10a.833.833 0 1 1 0 1.666H5.834A.833.833 0 0 1 5 12.5Z\"/>
\t\t</symbol>
\t\t<symbol id=\"verify\" viewBox=\"0 0 24 25\">
\t\t\t<path fill=\"#27AE60\" fill-rule=\"evenodd\" d=\"m20.56 9.716 2.44 2.78-2.44 2.78.34 3.68-3.61.82-1.89 3.18-3.4-1.46-3.4 1.47-1.89-3.18-3.61-.82.34-3.69L1 12.496l2.44-2.79-.34-3.68 3.61-.81 1.89-3.18 3.4 1.46 3.4-1.46 1.89 3.18 3.61.82-.34 3.68ZM7.42 11.91l3.17 3.17 6.59-6.58 1.41 1.41-8 8L6 13.32l1.42-1.41Z\" clip-rule=\"evenodd\"/>
\t\t</symbol>
\t\t<symbol id=\"metro\" viewBox=\"0 0 18 19\">
\t<path d=\"M1.2 14H0v1.7h6.4V14H4.5l1.2-4.4L9 15.9l3.3-6.3 1.2 4.4h-1.9v1.7H18V14h-1.3L12.5 2.4 9 10 5.4 2.4 1.2 14Z\" />
\t</symbol>
\t\t<symbol id=\"mcd-1\" viewBox=\"0 0 22 18\">
\t\t\t<path d=\"m21.96 3.14-3.12 11.68c-.2.72-.45.93-1.06.93H.59c-.52 0-.69-.29-.54-.9l3.1-11.7c.19-.7.42-.9 1.05-.9h17.2c.52 0 .69.29.56.9Z\" fill=\"#F6A500\"/><path d=\"M13.1 12.64h3.87l.41-1.18h-1.6v-6.1h-2.59V6.5h1.32v4.96h-1.4v1.17Zm-1.24-3.63c0-2.17-1.43-3.66-3.64-3.66H4.99l-.37 1.23H5.8v6.07h2.42c2.2-.01 3.63-1.5 3.63-3.64Zm-1.4 0c0 1.6-.97 2.42-2.27 2.42H7.12V6.56H8.2c1.3 0 2.28.8 2.28 2.45Z\" fill=\"#fff\"/>
\t\t</symbol>
\t\t<symbol id=\"mcd-2\" viewBox=\"0 0 22 18\">
\t\t\t<path d=\"m21.96 3.14-3.12 11.68c-.2.72-.45.93-1.06.93H.59c-.52 0-.69-.29-.54-.9l3.1-11.7c.19-.7.42-.9 1.05-.9h17.2c.52 0 .69.29.56.9Z\" fill=\"#E94282\"/><path d=\"m12.6 6.33.86.86a2.67 2.67 0 0 1 1.74-.76c.7 0 1.24.39 1.24 1.05 0 .57-.3.97-1.67 2.33l-1.88 1.85v.99h4.79l.41-1.16h-3.37v-.02l1.33-1.27c1.23-1.17 1.72-1.85 1.72-2.84 0-1.12-.88-2.12-2.5-2.12-1.03-.01-2.02.47-2.66 1.1ZM11.44 9c0-2.17-1.48-3.66-3.79-3.66H4.3l-.4 1.24h1.23v6.07h2.51c2.31-.01 3.79-1.5 3.79-3.65ZM9.97 9c0 1.61-1.01 2.45-2.36 2.45H6.5v-4.9h1.1c1.36 0 2.37.83 2.37 2.45Z\" fill=\"#fff\"/>
\t\t</symbol>
\t\t<symbol id=\"mcd-3\" viewBox=\"0 0 22 18\">
\t\t\t<path d=\"M3.75 5.21A.3.3 0 0 1 4.04 5h14.65c.2 0 .34.2.28.38l-2.72 8.41a.3.3 0 0 1-.29.21H1.31a.3.3 0 0 1-.28-.38L3.75 5.2Z\" fill=\"#E95B0C\"/><path d=\"m21.96 3.14-3.12 11.68c-.2.72-.45.93-1.06.93H.59c-.52 0-.69-.29-.54-.9l3.1-11.7c.19-.7.42-.9 1.05-.9h17.2c.52 0 .69.29.56.9Z\" fill=\"#E95B0C\"/><path d=\"M17.1 8.79a2.34 2.34 0 0 0-1.25-.68l1.73-1.72V5.36H12.8V6.6h3.06l-1.8 1.78v.88l.19-.03.26-.03h.27c.46 0 .83.1 1.14.31.3.2.44.47.44.86 0 .36-.13.64-.4.85a1.5 1.5 0 0 1-.98.33 2.26 2.26 0 0 1-1.65-.67l-.11-.1-.9.9.11.1a3.47 3.47 0 0 0 2.57 1c.76 0 1.42-.24 1.94-.7.53-.47.8-1.05.8-1.72a2.18 2.18 0 0 0-.64-1.57ZM10.41 6.39a3.64 3.64 0 0 0-2.74-1.04h-3.1l-.3 1.21h.97v6.08h2.43c1.15 0 2.07-.34 2.74-1.02.67-.7 1-1.56 1-2.61a3.55 3.55 0 0 0-1-2.62ZM10.01 9c0 .84-.23 1.43-.68 1.83-.44.4-1.02.6-1.72.6h-1V6.58h1c.71 0 1.28.2 1.72.62.45.4.68 1 .68 1.82Z\" fill=\"#fff\"/>
\t\t</symbol>
\t\t<symbol id=\"mcd-4\" viewBox=\"0 0 22 18\">
\t\t\t<path d=\"M3.75 5.21A.3.3 0 0 1 4.04 5h14.65c.2 0 .34.2.28.38l-2.72 8.41a.3.3 0 0 1-.29.21H1.31a.3.3 0 0 1-.28-.38L3.75 5.2Z\" fill=\"#41B384\"/><path d=\"m21.96 3.14-3.12 11.68c-.2.72-.45.93-1.06.93H.59c-.52 0-.69-.29-.54-.9l3.1-11.7c.19-.7.42-.9 1.05-.9h17.2c.52 0 .69.29.56.9Z\" fill=\"#41B384\"/><path d=\"M10.1 6.4a3.63 3.63 0 0 0-2.74-1.03H4.37l-.3 1.21h.86v6.07h2.42c1.15 0 2.07-.34 2.74-1.02a3.6 3.6 0 0 0 .99-2.6c0-1.06-.32-1.94-.98-2.63ZM9.69 9c0 .85-.24 1.44-.67 1.84-.46.4-1.02.6-1.72.6H6.29V6.6h1c.7 0 1.28.2 1.72.61.44.4.68 1 .68 1.8ZM16.7 9.9V7.8h-1.32v2.1H13.5l1.96-4.53h-1.4l-2.04 4.78v.93h3.36v1.57h1.32v-1.57h.8l.44-1.17H16.7Z\" fill=\"#fff\"/>
\t\t</symbol>
\t\t<symbol id=\"mck\" viewBox=\"0 0 24 24\">
\t\t\t<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12 16a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0 2a6 6 0 1 0 0-12 6 6 0 0 0 0 12Z\" fill=\"#DC0505\"/>
\t\t\t<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm0 2a10 10 0 1 0 0-20 10 10 0 0 0 0 20Z\" fill=\"#DC0505\"/>
\t\t</symbol>
\t</svg>
\t{% block javascripts %}
\t\t{{ encore_entry_script_tags('scripts/v2023/index', null, 'basicConfig') }}
\t\t{# <script>
\t\t\t{% for asset_file in encore_entry_js_files('scripts/v2023/index') %}
\t\t\t\t{{ source(asset_file) }}
\t\t\t{% endfor %}
\t\t</script> #}
\t{% endblock %}
\t<script>
\t\t(function(){
\t\t\tdocument.addEventListener(\"DOMContentLoaded\", () => {
\t\t\t\tfetch(\"{{ path('component.header') }}?city={{app.request.attributes.get('city', default_city()).uriIdentity}}\", {
\t\t\t\t\tmethod: 'GET',
\t\t\t\t\tresponseType: 'text',
\t\t\t\t\theaders: {
\t\t\t\t\t\t\"Content-Type\": \"text/html; charset=utf-8\",
\t\t\t\t\t\t'X-Requested-With': 'XMLHttpRequest'
\t\t\t\t\t},
\t\t\t\t}).then(response => {
\t\t\t\t\treturn response.text();
\t\t\t\t}).then(data => {
\t\t\t\t\tconst temp = document.createElement('div');
\t\t\t\t\ttemp.innerHTML = data;
\t\t\t\t\tconst userData = temp.querySelector('#user-data');
\t\t\t\t\tdocument.dispatchEvent(new Event('header:loaded'))
\t\t\t\t\tconst loginBtnList = document.querySelectorAll('[data-login]');
\t\t\t\t\tconst regBtnList = document.querySelectorAll('[data-registration]');
\t\t\t\t\tconst user = JSON.parse(userData.innerHTML);
\t\t\t\t\tif (user.role) {
\t\t\t\t\t\tconst footerLink = document.getElementById('add-profile');
\t\t\t\t\t\tif (footerLink) footerLink.href = user.role === \"advertiser\" ? \"{{ path('account.profile_editing.create') }}\" : (user.role === \"user\" ? \"{{ path('app_security_register') }}\" : '');
\t\t\t\t\t\tregBtnList.forEach(el => {
\t\t\t\t\t\t\tif (el.dataset.parent) {
\t\t\t\t\t\t\t\tel.parentElement.remove();
\t\t\t\t\t\t\t} else {
\t\t\t\t\t\t\t\tel.remove();
\t\t\t\t\t\t\t}
\t\t\t\t\t\t});
\t\t\t\t\t\tloginBtnList.forEach(el => {
\t\t\t\t\t\t\tel.href = \"{{ path('account') }}\";
\t\t\t\t\t\t\tel.innerHTML = `<svg class=\"btn-icon\" width=\"24\" height=\"24\" viewbox=\"0 0 24 24\" fill=\"none\"><path fill-rule=\"evenodd\" d=\"M15.46 11.61A4.99 4.99 0 0 0 12 3a5 5 0 0 0-3.46 8.61A10.02 10.02 0 0 0 2 21h20a10.02 10.02 0 0 0-6.54-9.39ZM15 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm-3 5a8 8 0 0 0-7.75 6h15.5A8 8 0 0 0 12 13Z\" clip-rule=\"evenodd\"/></svg>
\t\t\t\t\t\t\t<span class=\"btn-text\">Личный кабинет</span>`;
\t\t\t\t\t\t\tel.classList.remove('btn-white');
\t\t\t\t\t\t\tel.classList.remove('d-none');
\t\t\t\t\t\t\tel.classList.add('btn-white-black');
\t\t\t\t\t\t\tel.classList.add('header__login-account');
\t\t\t\t\t\t});
\t\t\t\t\t} else {
\t\t\t\t\t\tregBtnList.forEach(el => {
\t\t\t\t\t\t\tel.classList.remove('d-none');
\t\t\t\t\t\t});
\t\t\t\t\t\tloginBtnList.forEach(el => {
\t\t\t\t\t\t\tel.classList.remove('d-none');
\t\t\t\t\t\t});
\t\t\t\t\t}
\t\t\t\t\ttry {
\t\t\t\t\t\tdocument.dispatchEvent(new CustomEvent('header:update', { detail: { data: user } }));
\t\t\t\t\t} catch (e) {
\t\t\t\t\t\tconsole.warn('Error parsing user data:', e);
\t\t\t\t\t}
\t\t\t\t\t//document.dispatchEvent(new Event(`header:update:\${data.includes('Для Вас') ?}`))
\t\t\t\t})
\t\t\t})
\t\t\t// function showHamburger() {
\t\t\t// \thamburger.setAttribute('aria-expanded', 'true');
\t\t\t// \toverlay.classList.add('active');
\t\t\t// }
\t\t\t// function hideLightbox() {
\t\t\t// \thamburger.setAttribute('aria-expanded', 'false');
\t\t\t// \toverlay.classList.remove('active');
\t\t\t// }
\t\t\tfunction toggleLightbox(state) {
\t\t\t\thamburgerBtn.setAttribute('aria-expanded', (state ? \"true\" : \"false\"));
\t\t\t\toverlay.classList.toggle('active', state);
\t\t\t}
\t\t\tconst overlay = document.querySelector('.overlay');
\t\t\tlet hamburgerBtn = document.getElementById('hamburger-btn');
\t\t\tdocument.addEventListener('click', function(e) {
\t\t\t\tif (e.target === hamburgerBtn && hamburgerBtn.contains(e.target)) {
\t\t\t\t\thamburgerBtn.getAttribute('aria-expanded') === 'true' ? toggleLightbox(false) : toggleLightbox(true)
\t\t\t\t}
\t\t\t\telse if (hamburgerBtn && hamburgerBtn.parentElement.contains(e.target)) {}
\t\t\t\telse {
\t\t\t\t\ttoggleLightbox(false);
\t\t\t\t}
\t\t\t});
\t\t})();
\t</script>
\t{% include '__design/v2023/components/profile_ctr.js.twig' %}
\t{% if ga_tracker_id %}
\t\t<!-- Global site tag (gtag.js) - Google Analytics -->
\t\t<script async src=\"https://www.googletagmanager.com/gtag/js?id={{ ga_tracker_id }}\"></script>
\t\t<script>
\t\t\twindow.dataLayer = window.dataLayer || [];
\t\t\tfunction gtag(){dataLayer.push(arguments);}
\t\t\tgtag('js', new Date());
\t\t\t{# https://developers.google.com/analytics/devguides/collection/gtagjs/custom-dims-mets #}
\t\t\tgtag('config', '{{ ga_tracker_id }}', {
\t\t\t\t'custom_map': {
\t\t\t\t\t'userip': 'ip',
\t\t\t\t\t'useragent': 'user_agent'
\t\t\t\t}
\t\t\t});
\t\t\tgtag('event', 'user_data', {'ip': '{{ app.request.clientIp }}', 'user_agent': window.navigator.userAgent});
\t\t</script>
\t{% endif %}
\t{% if ym_tracker_id %}
\t\t<!-- Yandex.Metrika counter -->
\t\t<script type=\"text/javascript\" >
\t\t\t(function (d, w, c) {
\t\t\t\t(w[c] = w[c] || []).push(function() {
\t\t\t\t\ttry {
\t\t\t\t\t\tw.yaCounter{{ ym_tracker_id }} = new Ya.Metrika({
\t\t\t\t\t\t\tid:{{ ym_tracker_id }},
\t\t\t\t\t\t\tclickmap:true,
\t\t\t\t\t\t\ttrackLinks:true,
\t\t\t\t\t\t\taccurateTrackBounce:true
\t\t\t\t\t\t});
\t\t\t\t\t} catch(e) { }
\t\t\t\t});
\t\t\t\tvar n = d.getElementsByTagName(\"script\")[0],
\t\t\t\t\ts = d.createElement(\"script\"),
\t\t\t\t\tf = function () { n.parentNode.insertBefore(s, n); };
\t\t\t\ts.type = \"text/javascript\";
\t\t\t\ts.async = true;
\t\t\t\ts.src = \"https://mc.yandex.ru/metrika/watch.js\";
\t\t\t\tif (w.opera == \"[object Opera]\") {
\t\t\t\t\td.addEventListener(\"DOMContentLoaded\", f, false);
\t\t\t\t} else { f(); }
\t\t\t})(document, window, \"yandex_metrika_callbacks\");
\t\t</script>
\t\t<noscript><div><img src=\"https://mc.yandex.ru/watch/{{ ym_tracker_id }}\" style=\"position:absolute; left:-9999px;\" alt=\"\" /></div></noscript>
\t\t<!-- /Yandex.Metrika counter -->
\t{% endif %}
</body>
</html>
{% endapply %}
{# {% endapply %} #}
", "__design/v2023/layout.html.twig", "/app/templates/__design/v2023/layout.html.twig");
}
}