<?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;
/* search_properties/elements/document_head.html.twig */
class __TwigTemplate_a2969242a35fd379faa98d9fad256be3172b3c538c73add2480730a96f2692ac extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "search_properties/elements/document_head.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "search_properties/elements/document_head.html.twig"));
// line 1
echo "<!DOCTYPE html>
";
// line 3
ob_start();
// line 4
echo "<html lang='";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 4), "getLocale", [], "method", false, false, false, 4), "html", null, true);
echo "'
";
// line 5
if ( !twig_test_empty(($context["documentClasses"] ?? null))) {
echo " class='";
echo twig_escape_filter($this->env, ($context["documentClasses"] ?? null), "html", null, true);
echo "'";
}
// line 6
echo ">
";
$___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 3
echo twig_spaceless($___internal_parse_0_);
// line 8
echo "
<head>
<meta charset='UTF-8'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<meta http-equiv='X-UA-Compatible' content='ie=edge'>
\t";
// line 14
$this->loadTemplate("elements2024/favicon.html.twig", "search_properties/elements/document_head.html.twig", 14)->display($context);
// line 15
echo "
";
// line 16
if (($context["extractCss"] ?? null)) {
// line 17
echo " <link rel='stylesheet' href='";
if (($context["useWds"] ?? null)) {
echo "http://localhost:9000/common.css";
} else {
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("frontend/search/dist/common.css?v=1"), "html", null, true);
}
echo "'>
";
}
// line 19
echo "
<script>
if (!document.fonts.check('16px helvetica neue')) {
const link = document.createElement('link')
link.setAttribute('rel', 'stylesheet')
link.setAttribute('href', 'https://use.typekit.net/vmf1vfi.css')
document.head.appendChild(link)
}
</script>";
// line 28
$this->loadTemplate("search_properties/elements/document_head.html.twig", "search_properties/elements/document_head.html.twig", 28, "554542431")->display(twig_array_merge($context, ["seo" => ((twig_get_attribute($this->env, $this->source, // line 29
($context["extension"] ?? null), "seo", [], "any", true, true, false, 29)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["extension"] ?? null), "seo", [], "any", false, false, false, 29), [])) : ([])), "content" => (( // line 30
array_key_exists("content", $context)) ? (_twig_default_filter(($context["content"] ?? null), [])) : ([])), "urls" => (( // line 31
array_key_exists("urls", $context)) ? (_twig_default_filter(($context["urls"] ?? null), [])) : ([])), "shadowBaseLocale" => (( // line 32
array_key_exists("shadowBaseLocale", $context)) ? (_twig_default_filter(($context["shadowBaseLocale"] ?? null))) : ("")), "defaultLocale" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 33
($context["app"] ?? null), "request", [], "any", false, false, false, 33), "locale", [], "any", false, false, false, 33)]));
// line 46
echo "</head>
<body>
";
// line 50
$this->loadTemplate("search_properties/elements/sprite.html.twig", "search_properties/elements/document_head.html.twig", 50)->display($context);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "search_properties/elements/document_head.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 114 => 50, 108 => 46, 106 => 33, 105 => 32, 104 => 31, 103 => 30, 102 => 29, 101 => 28, 91 => 19, 81 => 17, 79 => 16, 76 => 15, 74 => 14, 66 => 8, 64 => 3, 60 => 6, 54 => 5, 49 => 4, 47 => 3, 43 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
{% apply spaceless %}
<html lang='{{app.request.getLocale()}}'
{% if documentClasses is not empty %} class='{{documentClasses}}'{% endif %}
>
{% endapply %}
<head>
<meta charset='UTF-8'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<meta http-equiv='X-UA-Compatible' content='ie=edge'>
\t{% include 'elements2024/favicon.html.twig' %}
{% if extractCss %}
<link rel='stylesheet' href='{% if useWds %}http://localhost:9000/common.css{% else %}{{ asset('frontend/search/dist/common.css?v=1') }}{% endif %}'>
{% endif %}
<script>
if (!document.fonts.check('16px helvetica neue')) {
const link = document.createElement('link')
link.setAttribute('rel', 'stylesheet')
link.setAttribute('href', 'https://use.typekit.net/vmf1vfi.css')
document.head.appendChild(link)
}
</script>
{%- embed '@SuluWebsite/Extension/seo.html.twig' with {
seo: extension.seo|default([]),
content: content|default([]),
urls: urls|default([]),
shadowBaseLocale: shadowBaseLocale|default(),
defaultLocale: app.request.locale
} -%}
{%- block canonical -%}
{#- Set canonical to itself if a bot clone the page -#}
<link rel=\"canonical\" href=\"{{ seoCanonical|default(URI) }}\"/>
<meta property=\"og:type\" content=\"website\" />
<meta property=\"og:title\" content=\"{{ seo.title|default(content.title|default()) }}\" />
<meta property=\"og:image\" content=\"{{ urlImgSeo }}\" />
<meta property=\"og:description\" content=\"{{ seo.description|default() }}\" />
{%- endblock -%}
{%- endembed -%}
</head>
<body>
{% include 'search_properties/elements/sprite.html.twig' %}", "search_properties/elements/document_head.html.twig", "/home/clients/6069f7d890ad1893915d376cf7e5b903/var/www/bn-invest-commercial/templates/search_properties/elements/document_head.html.twig");
}
}
/* search_properties/elements/document_head.html.twig */
class __TwigTemplate_a2969242a35fd379faa98d9fad256be3172b3c538c73add2480730a96f2692ac___554542431 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'canonical' => [$this, 'block_canonical'],
];
}
protected function doGetParent(array $context)
{
// line 28
return "@SuluWebsite/Extension/seo.html.twig";
}
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", "search_properties/elements/document_head.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "search_properties/elements/document_head.html.twig"));
$this->parent = $this->loadTemplate("@SuluWebsite/Extension/seo.html.twig", "search_properties/elements/document_head.html.twig", 28);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 35
public function block_canonical($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", "canonical"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "canonical"));
// line 37
echo "<link rel=\"canonical\" href=\"";
echo twig_escape_filter($this->env, ((array_key_exists("seoCanonical", $context)) ? (_twig_default_filter(($context["seoCanonical"] ?? null), ($context["URI"] ?? null))) : (($context["URI"] ?? null))), "html", null, true);
echo "\"/>
<meta property=\"og:type\" content=\"website\" />
<meta property=\"og:title\" content=\"";
// line 40
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["seo"] ?? null), "title", [], "any", true, true, false, 40)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["seo"] ?? null), "title", [], "any", false, false, false, 40), ((twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "title", [], "any", true, true, false, 40)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "title", [], "any", false, false, false, 40))) : ("")))) : (((twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "title", [], "any", true, true, false, 40)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "title", [], "any", false, false, false, 40))) : ("")))), "html", null, true);
echo "\" />
<meta property=\"og:image\" content=\"";
// line 41
echo twig_escape_filter($this->env, ($context["urlImgSeo"] ?? null), "html", null, true);
echo "\" />
<meta property=\"og:description\" content=\"";
// line 42
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["seo"] ?? null), "description", [], "any", true, true, false, 42)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["seo"] ?? null), "description", [], "any", false, false, false, 42))) : ("")), "html", null, true);
echo "\" />";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "search_properties/elements/document_head.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 262 => 42, 258 => 41, 254 => 40, 247 => 37, 237 => 35, 214 => 28, 114 => 50, 108 => 46, 106 => 33, 105 => 32, 104 => 31, 103 => 30, 102 => 29, 101 => 28, 91 => 19, 81 => 17, 79 => 16, 76 => 15, 74 => 14, 66 => 8, 64 => 3, 60 => 6, 54 => 5, 49 => 4, 47 => 3, 43 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
{% apply spaceless %}
<html lang='{{app.request.getLocale()}}'
{% if documentClasses is not empty %} class='{{documentClasses}}'{% endif %}
>
{% endapply %}
<head>
<meta charset='UTF-8'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<meta http-equiv='X-UA-Compatible' content='ie=edge'>
\t{% include 'elements2024/favicon.html.twig' %}
{% if extractCss %}
<link rel='stylesheet' href='{% if useWds %}http://localhost:9000/common.css{% else %}{{ asset('frontend/search/dist/common.css?v=1') }}{% endif %}'>
{% endif %}
<script>
if (!document.fonts.check('16px helvetica neue')) {
const link = document.createElement('link')
link.setAttribute('rel', 'stylesheet')
link.setAttribute('href', 'https://use.typekit.net/vmf1vfi.css')
document.head.appendChild(link)
}
</script>
{%- embed '@SuluWebsite/Extension/seo.html.twig' with {
seo: extension.seo|default([]),
content: content|default([]),
urls: urls|default([]),
shadowBaseLocale: shadowBaseLocale|default(),
defaultLocale: app.request.locale
} -%}
{%- block canonical -%}
{#- Set canonical to itself if a bot clone the page -#}
<link rel=\"canonical\" href=\"{{ seoCanonical|default(URI) }}\"/>
<meta property=\"og:type\" content=\"website\" />
<meta property=\"og:title\" content=\"{{ seo.title|default(content.title|default()) }}\" />
<meta property=\"og:image\" content=\"{{ urlImgSeo }}\" />
<meta property=\"og:description\" content=\"{{ seo.description|default() }}\" />
{%- endblock -%}
{%- endembed -%}
</head>
<body>
{% include 'search_properties/elements/sprite.html.twig' %}", "search_properties/elements/document_head.html.twig", "/home/clients/6069f7d890ad1893915d376cf7e5b903/var/www/bn-invest-commercial/templates/search_properties/elements/document_head.html.twig");
}
}