<?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;
/* _seo/profile_preview.page.txt.twig */
class __TwigTemplate_84b9536e53d0f9b2ed6d511a44c599e0 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'meta_title_ru' => [$this, 'block_meta_title_ru'],
'meta_title_en' => [$this, 'block_meta_title_en'],
'heading_ru' => [$this, 'block_heading_ru'],
'heading_en' => [$this, 'block_heading_en'],
'meta_description_ru' => [$this, 'block_meta_description_ru'],
'meta_description_en' => [$this, 'block_meta_description_en'],
'meta_keywords_ru' => [$this, 'block_meta_keywords_ru'],
'meta_keywords_en' => [$this, 'block_meta_keywords_en'],
];
$macros["_self"] = $this->macros["_self"] = $this;
}
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", "_seo/profile_preview.page.txt.twig"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "_seo/profile_preview.page.txt.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "_seo/profile_preview.page.txt.twig"));
// line 33
$this->displayBlock('meta_title_ru', $context, $blocks);
// line 45
$this->displayBlock('meta_title_en', $context, $blocks);
// line 49
$this->displayBlock('heading_ru', $context, $blocks);
// line 53
$this->displayBlock('heading_en', $context, $blocks);
// line 57
$this->displayBlock('meta_description_ru', $context, $blocks);
// line 62
$this->displayBlock('meta_description_en', $context, $blocks);
// line 66
$this->displayBlock('meta_keywords_ru', $context, $blocks);
// line 68
$this->displayBlock('meta_keywords_en', $context, $blocks);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 33
public function block_meta_title_ru($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", "meta_title_ru"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_title_ru"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_title_ru"));
// line 34
$context["isMainCity"] = (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 34, $this->source); })()), "city", [], "any", false, false, false, 34), "uriIdentity", [], "any", false, false, false, 34) == twig_get_attribute($this->env, $this->source, $this->extensions['App\Twig\DefaultCityExtension']->defaultCity(), "uriIdentity", [], "any", false, false, false, 34));
// line 35
$context["firstStation"] = "";
// line 36
if ((isset($context["isMainCity"]) || array_key_exists("isMainCity", $context) ? $context["isMainCity"] : (function () { throw new RuntimeError('Variable "isMainCity" does not exist.', 36, $this->source); })())) {
// line 37
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 37, $this->source); })()), "stations", [], "any", false, false, false, 37)) > 0)) {
// line 38
$context["firstStation"] = twig_first($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 38, $this->source); })()), "stations", [], "any", false, false, false, 38));
}
}
// line 41
$context["minPriceHour"] = twig_call_macro($macros["_self"], "macro_get_min_price_from_profile", [(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 41, $this->source); })()), " руб."], 41, $context, $this->getSourceContext());
// line 42
echo "Проститутка ";
echo twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 42, $this->source); })()), "name", [], "any", false, false, false, 42);
echo " (";
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 42, $this->source); })()), "personParameters", [], "any", false, false, false, 42), "age", [], "any", false, false, false, 42);
echo ")";
echo (((isset($context["firstStation"]) || array_key_exists("firstStation", $context) ? $context["firstStation"] : (function () { throw new RuntimeError('Variable "firstStation" does not exist.', 42, $this->source); })())) ? ((", " . twig_get_attribute($this->env, $this->source, (isset($context["firstStation"]) || array_key_exists("firstStation", $context) ? $context["firstStation"] : (function () { throw new RuntimeError('Variable "firstStation" does not exist.', 42, $this->source); })()), "name", [], "any", false, false, false, 42))) : (""));
echo ", ";
echo $this->extensions['BigIdea\Bundle\GeographicalNamesInflectionBundle\Twig\GeographicalNamesInflectionTwigExtension']->geoNameInflection(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.', 42, $this->source); })()), "name", [], "any", false, false, false, 42), "nominative");
echo (((isset($context["minPriceHour"]) || array_key_exists("minPriceHour", $context) ? $context["minPriceHour"] : (function () { throw new RuntimeError('Variable "minPriceHour" does not exist.', 42, $this->source); })())) ? ((", " . (isset($context["minPriceHour"]) || array_key_exists("minPriceHour", $context) ? $context["minPriceHour"] : (function () { throw new RuntimeError('Variable "minPriceHour" does not exist.', 42, $this->source); })()))) : (""));
echo ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "seo", [], "any", false, true, false, 42), "phone", [], "any", true, true, false, 42)) ? ((", тел. " . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 42, $this->source); })()), "seo", [], "any", false, false, false, 42), "phone", [], "any", false, false, false, 42))) : (""));
echo ", анкета ";
echo twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 42, $this->source); })()), "id", [], "any", false, false, false, 42);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 45
public function block_meta_title_en($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", "meta_title_en"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_title_en"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_title_en"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 49
public function block_heading_ru($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", "heading_ru"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "heading_ru"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "heading_ru"));
// line 50
echo twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 50, $this->source); })()), "name", [], "any", false, false, false, 50);
echo " - Анкета № ";
echo twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 50, $this->source); })()), "id", [], "any", false, false, false, 50);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 53
public function block_heading_en($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", "heading_en"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "heading_en"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "heading_en"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 57
public function block_meta_description_ru($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", "meta_description_ru"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_description_ru"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_description_ru"));
// line 58
$context["_id"] = twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 58, $this->source); })()), "id", [], "any", false, false, false, 58);
// line 59
echo $this->extensions['App\Twig\SeoExtension']->morphing("Сексуальная|Красивая|Симпатичная|Молодая|Игривая|Обворожительная", (isset($context["_id"]) || array_key_exists("_id", $context) ? $context["_id"] : (function () { throw new RuntimeError('Variable "_id" does not exist.', 59, $this->source); })()));
echo " проститутка ";
echo twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 59, $this->source); })()), "name", [], "any", false, false, false, 59);
echo " (";
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 59, $this->source); })()), "personParameters", [], "any", false, false, false, 59), "age", [], "any", false, false, false, 59);
echo "), в ";
echo $this->extensions['BigIdea\Bundle\GeographicalNamesInflectionBundle\Twig\GeographicalNamesInflectionTwigExtension']->geoNameInflection(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.', 59, $this->source); })()), "name", [], "any", false, false, false, 59), "prepositional");
echo ", по цене ";
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 59, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 59), "oneHourPrice", [], "any", false, false, false, 59);
echo " руб. за 1 час";
echo ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "seo", [], "any", false, true, false, 59), "phone", [], "any", true, true, false, 59)) ? ((", тел. " . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 59, $this->source); })()), "seo", [], "any", false, false, false, 59), "phone", [], "any", false, false, false, 59))) : (""));
echo ", доставит ";
echo $this->extensions['App\Twig\SeoExtension']->morphing("волшебное|интимное|незабываемое", (isset($context["_id"]) || array_key_exists("_id", $context) ? $context["_id"] : (function () { throw new RuntimeError('Variable "_id" does not exist.', 59, $this->source); })()));
echo " ";
echo $this->extensions['App\Twig\SeoExtension']->morphing("удовольствие|наслаждение", (isset($context["_id"]) || array_key_exists("_id", $context) ? $context["_id"] : (function () { throw new RuntimeError('Variable "_id" does not exist.', 59, $this->source); })()));
echo " ценителям интимного досуга в квартире или на выезде.";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 62
public function block_meta_description_en($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", "meta_description_en"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_description_en"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_description_en"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 66
public function block_meta_keywords_ru($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", "meta_keywords_ru"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_keywords_ru"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_keywords_ru"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 68
public function block_meta_keywords_en($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", "meta_keywords_en"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_keywords_en"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_keywords_en"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 4
public function macro_get_min_price_from_profile($__profile__ = null, $__currency__ = null, ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"profile" => $__profile__,
"currency" => $__currency__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "get_min_price_from_profile"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "get_min_price_from_profile"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "get_min_price_from_profile"));
// line 5
$context["maxPrice"] = 999999999;
// line 8
$context["apt1h"] = (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "apartmentsPricing", [], "any", false, true, false, 8), "oneHourPrice", [], "any", true, true, false, 8) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 8, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 8), "oneHourPrice", [], "any", false, false, false, 8) > 0))) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 8, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 8), "oneHourPrice", [], "any", false, false, false, 8)) : ((isset($context["maxPrice"]) || array_key_exists("maxPrice", $context) ? $context["maxPrice"] : (function () { throw new RuntimeError('Variable "maxPrice" does not exist.', 8, $this->source); })())));
// line 9
$context["apt2h"] = (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "apartmentsPricing", [], "any", false, true, false, 9), "twoHoursPrice", [], "any", true, true, false, 9) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 9, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 9), "twoHoursPrice", [], "any", false, false, false, 9) > 0))) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 9, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 9), "twoHoursPrice", [], "any", false, false, false, 9)) : ((isset($context["maxPrice"]) || array_key_exists("maxPrice", $context) ? $context["maxPrice"] : (function () { throw new RuntimeError('Variable "maxPrice" does not exist.', 9, $this->source); })())));
// line 10
$context["aptNight"] = (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "apartmentsPricing", [], "any", false, true, false, 10), "nightPrice", [], "any", true, true, false, 10) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 10, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 10), "nightPrice", [], "any", false, false, false, 10) > 0))) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 10, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 10), "nightPrice", [], "any", false, false, false, 10)) : ((isset($context["maxPrice"]) || array_key_exists("maxPrice", $context) ? $context["maxPrice"] : (function () { throw new RuntimeError('Variable "maxPrice" does not exist.', 10, $this->source); })())));
// line 13
$context["takeout1h"] = (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "takeOutPricing", [], "any", false, true, false, 13), "oneHourPrice", [], "any", true, true, false, 13) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 13, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 13), "oneHourPrice", [], "any", false, false, false, 13) > 0))) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 13, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 13), "oneHourPrice", [], "any", false, false, false, 13)) : ((isset($context["maxPrice"]) || array_key_exists("maxPrice", $context) ? $context["maxPrice"] : (function () { throw new RuntimeError('Variable "maxPrice" does not exist.', 13, $this->source); })())));
// line 14
$context["takeout2h"] = (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "takeOutPricing", [], "any", false, true, false, 14), "twoHoursPrice", [], "any", true, true, false, 14) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 14, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 14), "twoHoursPrice", [], "any", false, false, false, 14) > 0))) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 14, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 14), "twoHoursPrice", [], "any", false, false, false, 14)) : ((isset($context["maxPrice"]) || array_key_exists("maxPrice", $context) ? $context["maxPrice"] : (function () { throw new RuntimeError('Variable "maxPrice" does not exist.', 14, $this->source); })())));
// line 15
$context["takeoutNight"] = (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "takeOutPricing", [], "any", false, true, false, 15), "nightPrice", [], "any", true, true, false, 15) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 15, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 15), "nightPrice", [], "any", false, false, false, 15) > 0))) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 15, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 15), "nightPrice", [], "any", false, false, false, 15)) : ((isset($context["maxPrice"]) || array_key_exists("maxPrice", $context) ? $context["maxPrice"] : (function () { throw new RuntimeError('Variable "maxPrice" does not exist.', 15, $this->source); })())));
// line 18
$context["minPrice"] = (isset($context["maxPrice"]) || array_key_exists("maxPrice", $context) ? $context["maxPrice"] : (function () { throw new RuntimeError('Variable "maxPrice" does not exist.', 18, $this->source); })());
// line 19
if (((isset($context["apt1h"]) || array_key_exists("apt1h", $context) ? $context["apt1h"] : (function () { throw new RuntimeError('Variable "apt1h" does not exist.', 19, $this->source); })()) < (isset($context["minPrice"]) || array_key_exists("minPrice", $context) ? $context["minPrice"] : (function () { throw new RuntimeError('Variable "minPrice" does not exist.', 19, $this->source); })()))) {
$context["minPrice"] = (isset($context["apt1h"]) || array_key_exists("apt1h", $context) ? $context["apt1h"] : (function () { throw new RuntimeError('Variable "apt1h" does not exist.', 19, $this->source); })());
}
// line 20
if (((isset($context["apt2h"]) || array_key_exists("apt2h", $context) ? $context["apt2h"] : (function () { throw new RuntimeError('Variable "apt2h" does not exist.', 20, $this->source); })()) < (isset($context["minPrice"]) || array_key_exists("minPrice", $context) ? $context["minPrice"] : (function () { throw new RuntimeError('Variable "minPrice" does not exist.', 20, $this->source); })()))) {
$context["minPrice"] = (isset($context["apt2h"]) || array_key_exists("apt2h", $context) ? $context["apt2h"] : (function () { throw new RuntimeError('Variable "apt2h" does not exist.', 20, $this->source); })());
}
// line 21
if (((isset($context["aptNight"]) || array_key_exists("aptNight", $context) ? $context["aptNight"] : (function () { throw new RuntimeError('Variable "aptNight" does not exist.', 21, $this->source); })()) < (isset($context["minPrice"]) || array_key_exists("minPrice", $context) ? $context["minPrice"] : (function () { throw new RuntimeError('Variable "minPrice" does not exist.', 21, $this->source); })()))) {
$context["minPrice"] = (isset($context["aptNight"]) || array_key_exists("aptNight", $context) ? $context["aptNight"] : (function () { throw new RuntimeError('Variable "aptNight" does not exist.', 21, $this->source); })());
}
// line 22
if (((isset($context["takeout1h"]) || array_key_exists("takeout1h", $context) ? $context["takeout1h"] : (function () { throw new RuntimeError('Variable "takeout1h" does not exist.', 22, $this->source); })()) < (isset($context["minPrice"]) || array_key_exists("minPrice", $context) ? $context["minPrice"] : (function () { throw new RuntimeError('Variable "minPrice" does not exist.', 22, $this->source); })()))) {
$context["minPrice"] = (isset($context["takeout1h"]) || array_key_exists("takeout1h", $context) ? $context["takeout1h"] : (function () { throw new RuntimeError('Variable "takeout1h" does not exist.', 22, $this->source); })());
}
// line 23
if (((isset($context["takeout2h"]) || array_key_exists("takeout2h", $context) ? $context["takeout2h"] : (function () { throw new RuntimeError('Variable "takeout2h" does not exist.', 23, $this->source); })()) < (isset($context["minPrice"]) || array_key_exists("minPrice", $context) ? $context["minPrice"] : (function () { throw new RuntimeError('Variable "minPrice" does not exist.', 23, $this->source); })()))) {
$context["minPrice"] = (isset($context["takeout2h"]) || array_key_exists("takeout2h", $context) ? $context["takeout2h"] : (function () { throw new RuntimeError('Variable "takeout2h" does not exist.', 23, $this->source); })());
}
// line 24
if (((isset($context["takeoutNight"]) || array_key_exists("takeoutNight", $context) ? $context["takeoutNight"] : (function () { throw new RuntimeError('Variable "takeoutNight" does not exist.', 24, $this->source); })()) < (isset($context["minPrice"]) || array_key_exists("minPrice", $context) ? $context["minPrice"] : (function () { throw new RuntimeError('Variable "minPrice" does not exist.', 24, $this->source); })()))) {
$context["minPrice"] = (isset($context["takeoutNight"]) || array_key_exists("takeoutNight", $context) ? $context["takeoutNight"] : (function () { throw new RuntimeError('Variable "takeoutNight" does not exist.', 24, $this->source); })());
}
// line 26
if (((isset($context["minPrice"]) || array_key_exists("minPrice", $context) ? $context["minPrice"] : (function () { throw new RuntimeError('Variable "minPrice" does not exist.', 26, $this->source); })()) == (isset($context["maxPrice"]) || array_key_exists("maxPrice", $context) ? $context["maxPrice"] : (function () { throw new RuntimeError('Variable "maxPrice" does not exist.', 26, $this->source); })()))) {
} else {
// line 29
echo twig_number_format_filter($this->env, (isset($context["minPrice"]) || array_key_exists("minPrice", $context) ? $context["minPrice"] : (function () { throw new RuntimeError('Variable "minPrice" does not exist.', 29, $this->source); })()), 0, ".", " ");
echo (isset($context["currency"]) || array_key_exists("currency", $context) ? $context["currency"] : (function () { throw new RuntimeError('Variable "currency" does not exist.', 29, $this->source); })());
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "_seo/profile_preview.page.txt.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 390 => 29, 387 => 26, 383 => 24, 379 => 23, 375 => 22, 371 => 21, 367 => 20, 363 => 19, 361 => 18, 359 => 15, 357 => 14, 355 => 13, 353 => 10, 351 => 9, 349 => 8, 347 => 5, 324 => 4, 300 => 68, 276 => 66, 252 => 62, 224 => 59, 222 => 58, 209 => 57, 185 => 53, 170 => 50, 157 => 49, 133 => 45, 109 => 42, 107 => 41, 103 => 38, 101 => 37, 99 => 36, 97 => 35, 95 => 34, 82 => 33, 69 => 68, 67 => 66, 65 => 62, 63 => 57, 61 => 53, 59 => 49, 57 => 45, 55 => 33,);
}
public function getSourceContext()
{
return new Source("{# {% import '_macros/price_helpers.html.twig' as price_helpers %} #}
{# --- Заголовки страницы <title> --- #}
{%- macro get_min_price_from_profile(profile, currency) -%}
{%- set maxPrice = 999999999 -%}
{# Получаем цены из apartments pricing #}
{%- set apt1h = profile.apartmentsPricing.oneHourPrice is defined and profile.apartmentsPricing.oneHourPrice > 0 ? profile.apartmentsPricing.oneHourPrice : maxPrice -%}
{%- set apt2h = profile.apartmentsPricing.twoHoursPrice is defined and profile.apartmentsPricing.twoHoursPrice > 0 ? profile.apartmentsPricing.twoHoursPrice : maxPrice -%}
{%- set aptNight = profile.apartmentsPricing.nightPrice is defined and profile.apartmentsPricing.nightPrice > 0 ? profile.apartmentsPricing.nightPrice : maxPrice -%}
{# Получаем цены из takeout pricing #}
{%- set takeout1h = profile.takeOutPricing.oneHourPrice is defined and profile.takeOutPricing.oneHourPrice > 0 ? profile.takeOutPricing.oneHourPrice : maxPrice -%}
{%- set takeout2h = profile.takeOutPricing.twoHoursPrice is defined and profile.takeOutPricing.twoHoursPrice > 0 ? profile.takeOutPricing.twoHoursPrice : maxPrice -%}
{%- set takeoutNight = profile.takeOutPricing.nightPrice is defined and profile.takeOutPricing.nightPrice > 0 ? profile.takeOutPricing.nightPrice : maxPrice -%}
{# Находим минимальную цену #}
{%- set minPrice = maxPrice -%}
{%- if apt1h < minPrice -%}{%- set minPrice = apt1h -%}{%- endif -%}
{%- if apt2h < minPrice -%}{%- set minPrice = apt2h -%}{%- endif -%}
{%- if aptNight < minPrice -%}{%- set minPrice = aptNight -%}{%- endif -%}
{%- if takeout1h < minPrice -%}{%- set minPrice = takeout1h -%}{%- endif -%}
{%- if takeout2h < minPrice -%}{%- set minPrice = takeout2h -%}{%- endif -%}
{%- if takeoutNight < minPrice -%}{%- set minPrice = takeoutNight -%}{%- endif -%}
{%- if minPrice == maxPrice -%}
{%- else -%}
{{ minPrice|number_format(0, '.', ' ') }}{{ currency }}
{%- endif -%}
{%- endmacro -%}
{%- block meta_title_ru -%}
{%- set isMainCity = profile.city.uriIdentity == default_city().uriIdentity -%}
{%- set firstStation = '' -%}
{%- if isMainCity -%}
{%- if profile.stations|length > 0 -%}
{%- set firstStation = profile.stations|first -%}
{%- endif -%}
{%- endif -%}
{%- set minPriceHour = _self.get_min_price_from_profile(profile, ' руб.') -%}
Проститутка {{ profile.name }} ({{ profile.personParameters.age }}){{ firstStation ? ', ' ~ firstStation.name : '' }}, {{ city.name|geo_name('nominative') }}{{ minPriceHour ? ', ' ~ minPriceHour : '' }}{{ (profile.seo.phone is defined ? \", тел. \" ~ profile.seo.phone : '') }}, анкета {{ profile.id }}
{%- endblock meta_title_ru -%}
{%- block meta_title_en -%}{%- endblock meta_title_en -%}
{# --- Ключевые фразы страницы <h1> --- #}
{%- block heading_ru -%}
{{ profile.name }} - Анкета № {{ profile.id }}
{%- endblock heading_ru -%}
{%- block heading_en -%}{%- endblock heading_en -%}
{# --- Мета описания <meta name=\"description\"> --- #}
{%- block meta_description_ru -%}
{% set _id = profile.id %}
{{ 'Сексуальная|Красивая|Симпатичная|Молодая|Игривая|Обворожительная'|seo_morphing(_id) }} проститутка {{ profile.name }} ({{ profile.personParameters.age }}), в {{ city.name|geo_name('prepositional') }}, по цене {{ profile.apartmentsPricing.oneHourPrice }} руб. за 1 час{{ (profile.seo.phone is defined ? \", тел. \" ~ profile.seo.phone : '') }}, доставит {{ 'волшебное|интимное|незабываемое'|seo_morphing(_id) }} {{ 'удовольствие|наслаждение'|seo_morphing(_id) }} ценителям интимного досуга в квартире или на выезде.
{%- endblock meta_description_ru -%}
{%- block meta_description_en -%}{%- endblock meta_description_en -%}
{# --- Мета ключи <meta name=\"keywords\"> --- #}
{%- block meta_keywords_ru -%}{%- endblock meta_keywords_ru -%}
{%- block meta_keywords_en -%}{%- endblock meta_keywords_en -%}
", "_seo/profile_preview.page.txt.twig", "/app/templates/_seo/profile_preview.page.txt.twig");
}
}