<?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;
/* TroikaRealEstateBundle:Default:layout.html.twig */
class __TwigTemplate_d4b7182f4c02713aade9853b105ca554fd9c849f0e45ce3805f2876dd6dc71cd extends \Twig\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'],
'description' => [$this, 'block_description'],
'keywords' => [$this, 'block_keywords'],
'ogTitle' => [$this, 'block_ogTitle'],
'ogDescription' => [$this, 'block_ogDescription'],
'ogImg' => [$this, 'block_ogImg'],
'stylesheets' => [$this, 'block_stylesheets'],
'canonicallink' => [$this, 'block_canonicallink'],
'javascriptshead' => [$this, 'block_javascriptshead'],
'javascripts' => [$this, 'block_javascripts'],
'main' => [$this, 'block_main'],
'goals' => [$this, 'block_goals'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "TroikaRealEstateBundle:Default: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", "TroikaRealEstateBundle:Default:layout.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html lang=\"ru\">
<head>
<meta name=\"robots\" content=\"all\"/>
<meta charset=\"utf-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width; initial-scale=1.0; maximum-scale=1.0, shrink-to-fit=no; \"/>
<meta name=\"cmsmagazine\" content=\"d861abde084bbfe4c6a397bda4831501\"/>
<title>";
// line 9
$this->displayBlock('title', $context, $blocks);
echo "</title>
<meta name=\"description\" content=\"";
// line 10
$this->displayBlock('description', $context, $blocks);
echo "\">
<meta name=\"keywords\" content=\"";
// line 11
$this->displayBlock('keywords', $context, $blocks);
echo "\">
<meta name=\"yandex-verification\" content=\"55211b038c7d3fb0\">
<meta name=\"yandex-verification\" content=\"7563d08dede749ae\"/>
<meta name=\"google-site-verification\" content=\"OG1nY1jWtrE9biem-Ad_EFMaljCU5Sm8gG19pscqJjc\"/>
<meta name=\"format-detection\" content=\"telephone=no\">
<meta name=\"theme-color\" content=\"#000000\"/>
<meta property=\"og:title\" content=\"";
// line 18
$this->displayBlock('ogTitle', $context, $blocks);
echo "\"/>
<meta property=\"og:description\" content=\"";
// line 19
$this->displayBlock('ogDescription', $context, $blocks);
echo "\"/>
";
// line 21
echo " <meta property=\"og:site_name\" content=\"troikaestate.ru\"/>
";
// line 22
if ((array_key_exists("ogImg", $context) && !twig_test_empty((isset($context["ogImg"]) || array_key_exists("ogImg", $context) ? $context["ogImg"] : (function () { throw new RuntimeError('Variable "ogImg" does not exist.', 22, $this->source); })())))) {
// line 23
echo " <meta property=\"og:image\" content=\"";
$this->displayBlock('ogImg', $context, $blocks);
echo "\">
";
}
// line 25
echo " ";
// line 27
echo "
<link href=\"https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&subset=cyrillic\" rel=\"stylesheet\">
<link href='https://fonts.googleapis.com/css?family=PT+Sans:400,700&subset=latin,cyrillic' rel='stylesheet'
type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700&subset=cyrillic,latin' rel='stylesheet'
type='text/css'>
";
// line 33
if ((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.', 33, $this->source); })()), "request", [], "any", false, false, false, 33), "get", [0 => "_route"], "method", false, false, false, 33) && 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.', 33, $this->source); })()), "request", [], "any", false, false, false, 33), "attributes", [], "any", false, false, false, 33), "get", [0 => "_route_params"], "method", false, false, false, 33))) {
// line 34
echo " ";
$context["pagePath"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(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.', 34, $this->source); })()), "request", [], "any", false, false, false, 34), "get", [0 => "_route"], "method", false, false, false, 34), 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.', 34, $this->source); })()), "request", [], "any", false, false, false, 34), "attributes", [], "any", false, false, false, 34), "get", [0 => "_route_params"], "method", false, false, false, 34));
// line 35
echo " ";
} elseif (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.', 35, $this->source); })()), "request", [], "any", false, false, false, 35), "get", [0 => "_route"], "method", false, false, false, 35)) {
// line 36
echo " ";
$context["pagePath"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(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.', 36, $this->source); })()), "request", [], "any", false, false, false, 36), "get", [0 => "_route"], "method", false, false, false, 36));
// line 37
echo " ";
} else {
// line 38
echo " ";
$context["pagePath"] = "/error";
// line 39
echo " ";
}
// line 40
echo " ";
$this->displayBlock('stylesheets', $context, $blocks);
// line 57
echo "
";
// line 58
if (array_key_exists("custompage", $context)) {
// line 59
echo " ";
if (((isset($context["custompage"]) || array_key_exists("custompage", $context) ? $context["custompage"] : (function () { throw new RuntimeError('Variable "custompage" does not exist.', 59, $this->source); })()) == "true")) {
// line 60
echo " <link rel=\"canonical\" href=\"";
$this->displayBlock('canonicallink', $context, $blocks);
echo "\"/>
";
}
// line 62
echo " ";
}
// line 63
echo " ";
$this->displayBlock('javascriptshead', $context, $blocks);
// line 68
echo " <style type=\"text/css\">
.layout-column-left .fa-search {
cursor: pointer;
}
</style>
<script>
// для того чтобы не моргали фильтры во время загрузки страницы, скрываем их стилями и показываем их после загрузки контента.
window.addEventListener('DOMContentLoaded', function () {
var content = document.querySelector('.content');
if (content) {
content.style.opacity = '1';
}
});
</script>
";
// line 82
$this->loadTemplate("TroikaRealEstateBundle:Default:_metrics.html.twig", "TroikaRealEstateBundle:Default:layout.html.twig", 82)->displayBlock("metrics", $context);
echo "
";
// line 84
$this->displayBlock('javascripts', $context, $blocks);
// line 118
echo " <script src=\"/new2/js/main.js\"></script>
</head>
<body id=\"body\">
<div class=\"main ";
// line 121
if (array_key_exists("index_page", $context)) {
echo " index-page ";
} else {
echo " no_index_page ";
}
echo "\">
";
// line 122
$this->loadTemplate("TroikaRealEstateBundle:Default:_header2.html.twig", "TroikaRealEstateBundle:Default:layout.html.twig", 122)->displayBlock("header", $context);
echo "
";
// line 123
$this->displayBlock('main', $context, $blocks);
// line 125
echo " ";
$this->loadTemplate("TroikaRealEstateBundle:Default:_blogs2.html.twig", "TroikaRealEstateBundle:Default:layout.html.twig", 125)->displayBlock("blogs", $context);
echo "
";
// line 126
$this->loadTemplate("TroikaRealEstateBundle:Default:_footer2.html.twig", "TroikaRealEstateBundle:Default:layout.html.twig", 126)->displayBlock("footer", $context);
echo "
</div>
";
// line 128
$this->loadTemplate("TroikaRealEstateBundle:Default:_modals.html.twig", "TroikaRealEstateBundle:Default:layout.html.twig", 128)->displayBlock("modals", $context);
echo "
<script src=\"";
// line 130
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/uglifyjs/new/bc19409.js"), "html", null, true);
echo "\"></script>
<div class=\"spinner__layout hide\">
<div class=\"spinner\">
<img src=\"/img/loader.gif\" alt=\"Загрузка\">
</div>
</div>
<script src=\"";
// line 137
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/css/jquery-ui-1.13.2.ac/jquery-ui.js"), "html", null, true);
echo "\"></script>
";
// line 138
$this->displayBlock('goals', $context, $blocks);
// line 141
echo "</body>
</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 9
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 9, $this->source); })()), "metaTitle", [], "any", false, false, false, 9), "html", null, true);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 10
public function block_description($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 10, $this->source); })()), "metaDescription", [], "any", false, false, false, 10), "html", null, true);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 11
public function block_keywords($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "keywords"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "keywords"));
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 11, $this->source); })()), "metaKeywords", [], "any", false, false, false, 11), "html", null, true);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 18
public function block_ogTitle($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ogTitle"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ogTitle"));
echo "Troika Estate";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 19
public function block_ogDescription($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ogDescription"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ogDescription"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 23
public function block_ogImg($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ogImg"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ogImg"));
echo twig_escape_filter($this->env, (isset($context["ogImg"]) || array_key_exists("ogImg", $context) ? $context["ogImg"] : (function () { throw new RuntimeError('Variable "ogImg" does not exist.', 23, $this->source); })()), "html", null, true);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 40
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "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 41
echo " ";
if (((isset($context["pagePath"]) || array_key_exists("pagePath", $context) ? $context["pagePath"] : (function () { throw new RuntimeError('Variable "pagePath" does not exist.', 41, $this->source); })()) == "/")) {
// line 42
echo " ";
// line 44
echo "
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.4.6/css/swiper.min.css\"/>
";
// line 47
echo " ";
} else {
// line 48
echo " ";
// line 49
echo " ";
// line 51
echo " ";
// line 55
echo " ";
}
// line 56
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 60
public function block_canonicallink($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "canonicallink"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "canonicallink"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 63
public function block_javascriptshead($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascriptshead"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascriptshead"));
// line 64
echo " ";
// line 65
echo " ";
// line 66
echo " <script src=\"/js/new.jquery.min.js\" crossorigin=\"anonymous\"></script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 84
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 85
echo " ";
// line 86
echo " ";
// line 87
echo "<script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/uglifyjs/jquery.session.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 88
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/uglifyjs/js.cookie.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 89
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/uglifyjs/jquery.cookie.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 90
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/uglifyjs/bootstrap-select.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 91
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/uglifyjs/modernizr-2.6.2.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 92
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/uglifyjs/jquery.maskedinput-1.2.2.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 93
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/uglifyjs/extends.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 94
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/uglifyjs/bootstrap.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 95
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/uglifyjs/main.js"), "html", null, true);
echo "\"></script>
<!--
<script src=\"";
// line 97
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/uglifyjs/jquery-ui.js"), "html", null, true);
echo "\"></script>
<script src=\"https://code.jquery.com/ui/1.13.2/jquery-ui.js\"></script>
<script src=\"";
// line 99
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/css/jquery-ui-1.13.2/jquery-ui.js"), "html", null, true);
echo "\"></script>
-->
<script src=\"";
// line 101
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/uglifyjs/fix.js"), "html", null, true);
echo "\"></script>
<link rel=\"stylesheet\" href=\"/css/scss/normalize.scss\"/>
<link rel=\"stylesheet\" href=\"";
// line 104
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/css/scss/fa/font-awesome.scss"), "html", null, true);
echo "\"/>
<link rel=\"stylesheet\" href=\"";
// line 105
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/css/main.css"), "html", null, true);
echo "\"/>
<link rel=\"stylesheet\" href=\"";
// line 106
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/css/added.css"), "html", null, true);
echo "\"/>
<link rel=\"stylesheet\" href=\"";
// line 107
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/css/modal.css"), "html", null, true);
echo "\"/>
<link rel=\"stylesheet\" href=\"";
// line 108
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/css/jquery-ui-1.13.2/jquery-ui.css"), "html", null, true);
echo "\"/>
<link rel=\"stylesheet\" href=\"";
// line 109
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/css/fix.css"), "html", null, true);
echo "\"/>
\t <link rel=\"stylesheet\" href=\"";
// line 110
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/new.css"), "html", null, true);
echo "\"/>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.mask/1.14.11/jquery.mask.js\"></script>
";
// line 112
if (((isset($context["pagePath"]) || array_key_exists("pagePath", $context) ? $context["pagePath"] : (function () { throw new RuntimeError('Variable "pagePath" does not exist.', 112, $this->source); })()) == "/")) {
// line 113
echo " <script src=\"/js/new.swiper.js\" crossorigin=\"anonymous\"></script>
";
} else {
// line 115
echo " <script type=\"text/javascript\" src=\"/new/assets/main.js\"></script>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 123
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 124
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 138
public function block_goals($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "goals"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "goals"));
// line 139
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "TroikaRealEstateBundle:Default:layout.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 582 => 139, 572 => 138, 562 => 124, 552 => 123, 540 => 115, 536 => 113, 534 => 112, 529 => 110, 525 => 109, 521 => 108, 517 => 107, 513 => 106, 509 => 105, 505 => 104, 499 => 101, 494 => 99, 489 => 97, 484 => 95, 480 => 94, 476 => 93, 472 => 92, 468 => 91, 464 => 90, 460 => 89, 456 => 88, 451 => 87, 449 => 86, 447 => 85, 437 => 84, 426 => 66, 424 => 65, 422 => 64, 412 => 63, 394 => 60, 384 => 56, 381 => 55, 379 => 51, 377 => 49, 375 => 48, 372 => 47, 368 => 44, 366 => 42, 363 => 41, 353 => 40, 334 => 23, 316 => 19, 297 => 18, 278 => 11, 259 => 10, 240 => 9, 228 => 141, 226 => 138, 222 => 137, 212 => 130, 207 => 128, 202 => 126, 197 => 125, 195 => 123, 191 => 122, 183 => 121, 178 => 118, 176 => 84, 171 => 82, 155 => 68, 152 => 63, 149 => 62, 143 => 60, 140 => 59, 138 => 58, 135 => 57, 132 => 40, 129 => 39, 126 => 38, 123 => 37, 120 => 36, 117 => 35, 114 => 34, 112 => 33, 104 => 27, 102 => 25, 96 => 23, 94 => 22, 91 => 21, 87 => 19, 83 => 18, 73 => 11, 69 => 10, 65 => 9, 55 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html lang=\"ru\">
<head>
<meta name=\"robots\" content=\"all\"/>
<meta charset=\"utf-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width; initial-scale=1.0; maximum-scale=1.0, shrink-to-fit=no; \"/>
<meta name=\"cmsmagazine\" content=\"d861abde084bbfe4c6a397bda4831501\"/>
<title>{% block title %}{{ page.metaTitle }}{% endblock %}</title>
<meta name=\"description\" content=\"{% block description %}{{ page.metaDescription }}{% endblock %}\">
<meta name=\"keywords\" content=\"{% block keywords %}{{ page.metaKeywords }}{% endblock %}\">
<meta name=\"yandex-verification\" content=\"55211b038c7d3fb0\">
<meta name=\"yandex-verification\" content=\"7563d08dede749ae\"/>
<meta name=\"google-site-verification\" content=\"OG1nY1jWtrE9biem-Ad_EFMaljCU5Sm8gG19pscqJjc\"/>
<meta name=\"format-detection\" content=\"telephone=no\">
<meta name=\"theme-color\" content=\"#000000\"/>
<meta property=\"og:title\" content=\"{% block ogTitle %}Troika Estate{% endblock %}\"/>
<meta property=\"og:description\" content=\"{% block ogDescription %}{% endblock %}\"/>
{# <meta property=\"og:type\" content=\"blog\"/> #}
<meta property=\"og:site_name\" content=\"troikaestate.ru\"/>
{% if ogImg is defined and ogImg is not empty %}
<meta property=\"og:image\" content=\"{% block ogImg %}{{ ogImg }}{% endblock %}\">
{% endif %}
{# <meta property=\"og:description\" content=\"Troika Estate Агенство элитной недвижимости\"/>
<meta property=\"og:url\" content=\"http://domain/path/to/url\"/> #}
<link href=\"https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&subset=cyrillic\" rel=\"stylesheet\">
<link href='https://fonts.googleapis.com/css?family=PT+Sans:400,700&subset=latin,cyrillic' rel='stylesheet'
type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700&subset=cyrillic,latin' rel='stylesheet'
type='text/css'>
{% if app.request.get('_route') and app.request.attributes.get('_route_params') %}
{% set pagePath = path(app.request.get('_route'),app.request.attributes.get('_route_params')) %}
{% elseif app.request.get('_route') %}
{% set pagePath = path(app.request.get('_route')) %}
{% else %}
{% set pagePath = '/error' %}
{% endif %}
{% block stylesheets %}
{% if pagePath == '/' %}
{# <link rel=\"stylesheet\" href=\"/new/assets/main.css\"/>
<link rel=\"stylesheet\" href=\"{{ asset('/assets/app.css') }}\"/> #}
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.4.6/css/swiper.min.css\"/>
{# <link href=\"/new2/css/common.css\" rel=\"stylesheet\"> #}
{% else %}
{# <link rel=\"stylesheet\" href=\"/new/assets/main.css\"/>#}
{# TODO: Scheglov - входит в main.css
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.4.6/css/swiper.min.css\"/> #}
{#
TODO: Scheglov - это нужно только на главной
<link href=\"/new2/css/common.css\" rel=\"stylesheet\">
<link rel=\"stylesheet\" href=\"{{ asset('/assets/app.css') }}\"/>#}
{% endif %}
{% endblock %}
{% if custompage is defined %}
{% if custompage=='true' %}
<link rel=\"canonical\" href=\"{% block canonicallink %}{% endblock %}\"/>
{% endif %}
{% endif %}
{% block javascriptshead %}
{# { parent() } #}
{# <script src=\"/js/vendor/jquery-1.10.2.min.js\"></script> #}
<script src=\"/js/new.jquery.min.js\" crossorigin=\"anonymous\"></script>
{% endblock %}
<style type=\"text/css\">
.layout-column-left .fa-search {
cursor: pointer;
}
</style>
<script>
// для того чтобы не моргали фильтры во время загрузки страницы, скрываем их стилями и показываем их после загрузки контента.
window.addEventListener('DOMContentLoaded', function () {
var content = document.querySelector('.content');
if (content) {
content.style.opacity = '1';
}
});
</script>
{{ block('metrics', 'TroikaRealEstateBundle:Default:_metrics.html.twig') }}
{% block javascripts %}
{# { parent() } #}
{# <script src=\"{{ asset('/assets/app.js') }}\"></script>#}
<script src=\"{{ asset('/assets/public/uglifyjs/jquery.session.js') }}\"></script>
<script src=\"{{ asset('/assets/public/uglifyjs/js.cookie.js') }}\"></script>
<script src=\"{{ asset('/assets/public/uglifyjs/jquery.cookie.js') }}\"></script>
<script src=\"{{ asset('/assets/public/uglifyjs/bootstrap-select.js') }}\"></script>
<script src=\"{{ asset('/assets/public/uglifyjs/modernizr-2.6.2.min.js') }}\"></script>
<script src=\"{{ asset('/assets/public/uglifyjs/jquery.maskedinput-1.2.2.js') }}\"></script>
<script src=\"{{ asset('/assets/public/uglifyjs/extends.js') }}\"></script>
<script src=\"{{ asset('/assets/public/uglifyjs/bootstrap.min.js') }}\"></script>
<script src=\"{{ asset('/assets/public/uglifyjs/main.js') }}\"></script>
<!--
<script src=\"{{ asset('/assets/public/uglifyjs/jquery-ui.js') }}\"></script>
<script src=\"https://code.jquery.com/ui/1.13.2/jquery-ui.js\"></script>
<script src=\"{{ asset('/assets/public/css/jquery-ui-1.13.2/jquery-ui.js') }}\"></script>
-->
<script src=\"{{ asset('/assets/public/uglifyjs/fix.js') }}\"></script>
<link rel=\"stylesheet\" href=\"/css/scss/normalize.scss\"/>
<link rel=\"stylesheet\" href=\"{{ asset('/css/scss/fa/font-awesome.scss') }}\"/>
<link rel=\"stylesheet\" href=\"{{ asset('/assets/public/css/main.css') }}\"/>
<link rel=\"stylesheet\" href=\"{{ asset('/assets/public/css/added.css') }}\"/>
<link rel=\"stylesheet\" href=\"{{ asset('/assets/public/css/modal.css') }}\"/>
<link rel=\"stylesheet\" href=\"{{ asset('/assets/public/css/jquery-ui-1.13.2/jquery-ui.css') }}\"/>
<link rel=\"stylesheet\" href=\"{{ asset('/assets/public/css/fix.css') }}\"/>
\t <link rel=\"stylesheet\" href=\"{{ asset('/assets/new.css') }}\"/>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.mask/1.14.11/jquery.mask.js\"></script>
{% if pagePath == '/' %}
<script src=\"/js/new.swiper.js\" crossorigin=\"anonymous\"></script>
{% else %}
<script type=\"text/javascript\" src=\"/new/assets/main.js\"></script>
{% endif %}
{% endblock %}
<script src=\"/new2/js/main.js\"></script>
</head>
<body id=\"body\">
<div class=\"main {% if index_page is defined %} index-page {% else %} no_index_page {% endif %}\">
{{ block('header', 'TroikaRealEstateBundle:Default:_header2.html.twig') }}
{% block main %}
{% endblock %}
{{ block('blogs', 'TroikaRealEstateBundle:Default:_blogs2.html.twig') }}
{{ block('footer', 'TroikaRealEstateBundle:Default:_footer2.html.twig') }}
</div>
{{ block('modals', 'TroikaRealEstateBundle:Default:_modals.html.twig') }}
<script src=\"{{ asset('/assets/public/uglifyjs/new/bc19409.js') }}\"></script>
<div class=\"spinner__layout hide\">
<div class=\"spinner\">
<img src=\"/img/loader.gif\" alt=\"Загрузка\">
</div>
</div>
<script src=\"{{ asset('/assets/public/css/jquery-ui-1.13.2.ac/jquery-ui.js') }}\"></script>
{% block goals %}
{# TODO Scheglov Это скрипт фидбэка, что юэер открыл страницу и т.п. Переделать в функцию! #}
{% endblock %}
</body>
</html>
", "TroikaRealEstateBundle:Default:layout.html.twig", "/home/troikaestate/public_html/src/Troika/RealEstateBundle/Resources/views/Default/layout.html.twig");
}
}