var/cache/review/twig/30/308e723165154fbeb95fd533aafc823c.php line 95

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* _seo/profile_preview.page.txt.twig */
  14. class __TwigTemplate_84b9536e53d0f9b2ed6d511a44c599e0 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'meta_title_ru' => [$this'block_meta_title_ru'],
  25.             'meta_title_en' => [$this'block_meta_title_en'],
  26.             'heading_ru' => [$this'block_heading_ru'],
  27.             'heading_en' => [$this'block_heading_en'],
  28.             'meta_description_ru' => [$this'block_meta_description_ru'],
  29.             'meta_description_en' => [$this'block_meta_description_en'],
  30.             'meta_keywords_ru' => [$this'block_meta_keywords_ru'],
  31.             'meta_keywords_en' => [$this'block_meta_keywords_en'],
  32.         ];
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  38.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""_seo/profile_preview.page.txt.twig"));
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""_seo/profile_preview.page.txt.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""_seo/profile_preview.page.txt.twig"));
  43.         // line 3
  44.         $this->displayBlock('meta_title_ru'$context$blocks);
  45.         // line 7
  46.         $this->displayBlock('meta_title_en'$context$blocks);
  47.         // line 11
  48.         $this->displayBlock('heading_ru'$context$blocks);
  49.         // line 15
  50.         $this->displayBlock('heading_en'$context$blocks);
  51.         // line 19
  52.         $this->displayBlock('meta_description_ru'$context$blocks);
  53.         // line 24
  54.         $this->displayBlock('meta_description_en'$context$blocks);
  55.         // line 28
  56.         $this->displayBlock('meta_keywords_ru'$context$blocks);
  57.         // line 30
  58.         $this->displayBlock('meta_keywords_en'$context$blocks);
  59.         
  60.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  61.         
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  63.         
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  65.     }
  66.     // line 3
  67.     public function block_meta_title_ru($context, array $blocks = [])
  68.     {
  69.         $macros $this->macros;
  70.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  71.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title_ru"));
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title_ru"));
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title_ru"));
  76.         // line 4
  77.         echo "Проститутка ";
  78.         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.'4$this->source); })()), "name", [], "any"falsefalsefalse4);
  79.         echo " в ";
  80.         echo $this->extensions['BigIdea\Bundle\GeographicalNamesInflectionBundle\Twig\GeographicalNamesInflectionTwigExtension']->geoNameInflection($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->sourcetwig_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.'4$this->source); })()), "city", [], "any"falsefalsefalse4), "name", [], "any"falsefalsefalse4)), "prepositional");
  81.         echo ", ";
  82.         echo twig_get_attribute($this->env$this->sourcetwig_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.'4$this->source); })()), "personParameters", [], "any"falsefalsefalse4), "age", [], "any"falsefalsefalse4);
  83.         echo " ";
  84.         echo $this->extensions['App\Twig\ToolsExtension']->inclineNumeral(twig_get_attribute($this->env$this->sourcetwig_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.'4$this->source); })()), "personParameters", [], "any"falsefalsefalse4), "age", [], "any"falsefalsefalse4), ["год""года""лет"]);
  85.         if ((twig_length_filter($this->envtwig_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.'4$this->source); })()), "stations", [], "any"falsefalsefalse4)) > 0)) {
  86.             echo ", метро ";
  87.             $context['_parent'] = $context;
  88.             $context['_seq'] = twig_ensure_traversable(twig_slice($this->envtwig_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.'4$this->source); })()), "stations", [], "any"falsefalsefalse4), 01));
  89.             foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
  90.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["station"], "name", [], "any"falsefalsefalse4));
  91.             }
  92.             $_parent $context['_parent'];
  93.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
  94.             $context array_intersect_key($context$_parent) + $_parent;
  95.         }
  96.         if ((twig_get_attribute($this->env$this->sourcetwig_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.'4$this->source); })()), "personParameters", [], "any"falsefalsefalse4), "bodyType", [], "any"falsefalsefalse4) || twig_get_attribute($this->env$this->sourcetwig_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.'4$this->source); })()), "personParameters", [], "any"falsefalsefalse4), "hairColor", [], "any"falsefalsefalse4))) {
  97.             echo ",";
  98.             echo ((twig_get_attribute($this->env$this->sourcetwig_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.'4$this->source); })()), "personParameters", [], "any"falsefalsefalse4), "bodyType", [], "any"falsefalsefalse4)) ? ((" " twig_lower_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->bodyTypeLabel(twig_get_attribute($this->env$this->sourcetwig_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.'4$this->source); })()), "personParameters", [], "any"falsefalsefalse4), "bodyType", [], "any"falsefalsefalse4)), [], "body_types")))) : (""));
  99.             echo ((twig_get_attribute($this->env$this->sourcetwig_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.'4$this->source); })()), "personParameters", [], "any"falsefalsefalse4), "hairColor", [], "any"falsefalsefalse4)) ? ((" " twig_lower_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->hairColorLabel(twig_get_attribute($this->env$this->sourcetwig_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.'4$this->source); })()), "personParameters", [], "any"falsefalsefalse4), "hairColor", [], "any"falsefalsefalse4)), [], "hair_colors")))) : (""));
  100.         }
  101.         if (twig_get_attribute($this->env$this->sourcetwig_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.'4$this->source); })()), "personParameters", [], "any"falsefalsefalse4), "breastSize", [], "any"falsefalsefalse4)) {
  102.             echo ", ";
  103.             echo twig_get_attribute($this->env$this->sourcetwig_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.'4$this->source); })()), "personParameters", [], "any"falsefalsefalse4), "breastSize", [], "any"falsefalsefalse4);
  104.             echo " размер груди";
  105.         }
  106.         if (((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.'4$this->source); })()), "isActive", [], "any"falsefalsefalse4) ||  !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.'4$this->source); })()), "hidden", [], "any"falsefalsefalse4)) &&  !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.'4$this->source); })()), "deleted", [], "any"falsefalsefalse4))) {
  107.             echo ", анкета ";
  108.             echo twig_upper_filter($this->envtwig_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.'4$this->source); })()), "id", [], "any"falsefalsefalse4));
  109.         }
  110.         
  111.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  112.         
  113.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  114.         
  115.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  116.     }
  117.     // line 7
  118.     public function block_meta_title_en($context, array $blocks = [])
  119.     {
  120.         $macros $this->macros;
  121.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  122.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title_en"));
  123.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  124.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title_en"));
  125.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  126.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title_en"));
  127.         
  128.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  129.         
  130.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  131.         
  132.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  133.     }
  134.     // line 11
  135.     public function block_heading_ru($context, array $blocks = [])
  136.     {
  137.         $macros $this->macros;
  138.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  139.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""heading_ru"));
  140.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  141.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""heading_ru"));
  142.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  143.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""heading_ru"));
  144.         // line 12
  145.         echo "Индивидуалка ";
  146.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(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.'12$this->source); })()), "name", [], "any"falsefalsefalse12));
  147.         echo " ";
  148.         echo $this->extensions['BigIdea\Bundle\MorphosTwigBundle\Twig\MorphosExtension']->pluralFilter("год"twig_get_attribute($this->env$this->sourcetwig_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.'12$this->source); })()), "personParameters", [], "any"falsefalsefalse12), "age", [], "any"falsefalsefalse12));
  149.         
  150.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  151.         
  152.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  153.         
  154.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  155.     }
  156.     // line 15
  157.     public function block_heading_en($context, array $blocks = [])
  158.     {
  159.         $macros $this->macros;
  160.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  161.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""heading_en"));
  162.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  163.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""heading_en"));
  164.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  165.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""heading_en"));
  166.         
  167.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  168.         
  169.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  170.         
  171.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  172.     }
  173.     // line 19
  174.     public function block_meta_description_ru($context, array $blocks = [])
  175.     {
  176.         $macros $this->macros;
  177.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  178.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description_ru"));
  179.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  180.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description_ru"));
  181.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  182.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description_ru"));
  183.         // line 20
  184.         $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.'20$this->source); })()), "id", [], "any"falsefalsefalse20);
  185.         // line 21
  186.         echo "Проститутка ";
  187.         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.'21$this->source); })()), "name", [], "any"falsefalsefalse21);
  188.         if ((twig_length_filter($this->envtwig_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.'21$this->source); })()), "stations", [], "any"falsefalsefalse21)) > 0)) {
  189.             $context['_parent'] = $context;
  190.             $context['_seq'] = twig_ensure_traversable(twig_slice($this->envtwig_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.'21$this->source); })()), "stations", [], "any"falsefalsefalse21), 01));
  191.             foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
  192.                 echo ", возле метро ";
  193.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["station"], "name", [], "any"falsefalsefalse21));
  194.             }
  195.             $_parent $context['_parent'];
  196.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
  197.             $context array_intersect_key($context$_parent) + $_parent;
  198.         }
  199.         echo " в ";
  200.         echo $this->extensions['BigIdea\Bundle\GeographicalNamesInflectionBundle\Twig\GeographicalNamesInflectionTwigExtension']->geoNameInflection(twig_get_attribute($this->env$this->sourcetwig_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.'21$this->source); })()), "city", [], "any"falsefalsefalse21), "name", [], "any"falsefalsefalse21), "дательный");
  201.         echo ", в возрасте ";
  202.         echo $this->extensions['BigIdea\Bundle\MorphosTwigBundle\Twig\MorphosExtension']->pluralFilter("год"twig_get_attribute($this->env$this->sourcetwig_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.'21$this->source); })()), "personParameters", [], "any"falsefalsefalse21), "age", [], "any"falsefalsefalse21));
  203.         echo ", ID анкеты: ";
  204.         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.'21$this->source); })()), "id", [], "any"falsefalsefalse21);
  205.         echo ". Ее параметры: рост ";
  206.         echo twig_get_attribute($this->env$this->sourcetwig_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.'21$this->source); })()), "personParameters", [], "any"falsefalsefalse21), "height", [], "any"falsefalsefalse21);
  207.         echo ",";
  208.         if (twig_get_attribute($this->env$this->sourcetwig_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.'21$this->source); })()), "personParameters", [], "any"falsefalsefalse21), "weight", [], "any"falsefalsefalse21)) {
  209.             echo " вес ";
  210.             echo twig_get_attribute($this->env$this->sourcetwig_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.'21$this->source); })()), "personParameters", [], "any"falsefalsefalse21), "weight", [], "any"falsefalsefalse21);
  211.         }
  212.         if (twig_get_attribute($this->env$this->sourcetwig_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.'21$this->source); })()), "personParameters", [], "any"falsefalsefalse21), "breastSize", [], "any"falsefalsefalse21)) {
  213.             echo ", грудь ";
  214.             echo twig_get_attribute($this->env$this->sourcetwig_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.'21$this->source); })()), "personParameters", [], "any"falsefalsefalse21), "breastSize", [], "any"falsefalsefalse21);
  215.         }
  216.         
  217.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  218.         
  219.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  220.         
  221.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  222.     }
  223.     // line 24
  224.     public function block_meta_description_en($context, array $blocks = [])
  225.     {
  226.         $macros $this->macros;
  227.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  228.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description_en"));
  229.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  230.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description_en"));
  231.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  232.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description_en"));
  233.         
  234.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  235.         
  236.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  237.         
  238.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  239.     }
  240.     // line 28
  241.     public function block_meta_keywords_ru($context, array $blocks = [])
  242.     {
  243.         $macros $this->macros;
  244.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  245.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_keywords_ru"));
  246.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  247.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_keywords_ru"));
  248.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  249.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_keywords_ru"));
  250.         echo "Проститутка ";
  251.         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.'28$this->source); })()), "name", [], "any"falsefalsefalse28);
  252.         echo " в ";
  253.         echo $this->extensions['BigIdea\Bundle\GeographicalNamesInflectionBundle\Twig\GeographicalNamesInflectionTwigExtension']->geoNameInflection($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->sourcetwig_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.'28$this->source); })()), "city", [], "any"falsefalsefalse28), "name", [], "any"falsefalsefalse28)), "prepositional");
  254.         echo ", ";
  255.         echo twig_get_attribute($this->env$this->sourcetwig_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.'28$this->source); })()), "personParameters", [], "any"falsefalsefalse28), "age", [], "any"falsefalsefalse28);
  256.         echo " ";
  257.         echo $this->extensions['App\Twig\ToolsExtension']->inclineNumeral(twig_get_attribute($this->env$this->sourcetwig_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.'28$this->source); })()), "personParameters", [], "any"falsefalsefalse28), "age", [], "any"falsefalsefalse28), ["год""года""лет"]);
  258.         if ((twig_length_filter($this->envtwig_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.'28$this->source); })()), "stations", [], "any"falsefalsefalse28)) > 0)) {
  259.             echo ", метро ";
  260.             $context['_parent'] = $context;
  261.             $context['_seq'] = twig_ensure_traversable(twig_slice($this->envtwig_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.'28$this->source); })()), "stations", [], "any"falsefalsefalse28), 01));
  262.             foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
  263.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["station"], "name", [], "any"falsefalsefalse28));
  264.             }
  265.             $_parent $context['_parent'];
  266.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
  267.             $context array_intersect_key($context$_parent) + $_parent;
  268.         }
  269.         if ((twig_get_attribute($this->env$this->sourcetwig_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.'28$this->source); })()), "personParameters", [], "any"falsefalsefalse28), "bodyType", [], "any"falsefalsefalse28) || twig_get_attribute($this->env$this->sourcetwig_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.'28$this->source); })()), "personParameters", [], "any"falsefalsefalse28), "hairColor", [], "any"falsefalsefalse28))) {
  270.             echo ",";
  271.             echo ((twig_get_attribute($this->env$this->sourcetwig_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.'28$this->source); })()), "personParameters", [], "any"falsefalsefalse28), "bodyType", [], "any"falsefalsefalse28)) ? ((" " twig_lower_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->bodyTypeLabel(twig_get_attribute($this->env$this->sourcetwig_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.'28$this->source); })()), "personParameters", [], "any"falsefalsefalse28), "bodyType", [], "any"falsefalsefalse28)), [], "body_types")))) : (""));
  272.             echo ((twig_get_attribute($this->env$this->sourcetwig_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.'28$this->source); })()), "personParameters", [], "any"falsefalsefalse28), "hairColor", [], "any"falsefalsefalse28)) ? ((" " twig_lower_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->hairColorLabel(twig_get_attribute($this->env$this->sourcetwig_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.'28$this->source); })()), "personParameters", [], "any"falsefalsefalse28), "hairColor", [], "any"falsefalsefalse28)), [], "hair_colors")))) : (""));
  273.         }
  274.         if (twig_get_attribute($this->env$this->sourcetwig_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.'28$this->source); })()), "personParameters", [], "any"falsefalsefalse28), "breastSize", [], "any"falsefalsefalse28)) {
  275.             echo ", ";
  276.             echo twig_get_attribute($this->env$this->sourcetwig_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.'28$this->source); })()), "personParameters", [], "any"falsefalsefalse28), "breastSize", [], "any"falsefalsefalse28);
  277.             echo " размер груди";
  278.         }
  279.         if (((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.'28$this->source); })()), "isActive", [], "any"falsefalsefalse28) ||  !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.'28$this->source); })()), "hidden", [], "any"falsefalsefalse28)) &&  !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.'28$this->source); })()), "deleted", [], "any"falsefalsefalse28))) {
  280.             echo ", анкета ";
  281.             echo twig_upper_filter($this->envtwig_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.'28$this->source); })()), "id", [], "any"falsefalsefalse28));
  282.         }
  283.         
  284.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  285.         
  286.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  287.         
  288.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  289.     }
  290.     // line 30
  291.     public function block_meta_keywords_en($context, array $blocks = [])
  292.     {
  293.         $macros $this->macros;
  294.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  295.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_keywords_en"));
  296.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  297.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_keywords_en"));
  298.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  299.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_keywords_en"));
  300.         
  301.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  302.         
  303.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  304.         
  305.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  306.     }
  307.     /**
  308.      * @codeCoverageIgnore
  309.      */
  310.     public function getTemplateName()
  311.     {
  312.         return "_seo/profile_preview.page.txt.twig";
  313.     }
  314.     /**
  315.      * @codeCoverageIgnore
  316.      */
  317.     public function getDebugInfo()
  318.     {
  319.         return array (  354 => 30,  297 => 28,  273 => 24,  231 => 21,  229 => 20,  216 => 19,  192 => 15,  176 => 12,  163 => 11,  139 => 7,  94 => 4,  81 => 3,  68 => 30,  66 => 28,  64 => 24,  62 => 19,  60 => 15,  58 => 11,  56 => 7,  54 => 3,);
  320.     }
  321.     public function getSourceContext()
  322.     {
  323.         return new Source("{# --- Заголовки страницы <title> --- #}
  324. {%- block meta_title_ru -%}
  325. Проститутка {{ profile.name }} в {{ profile.city.name|trans|geo_name('prepositional') }}, {{ profile.personParameters.age }} {{ profile.personParameters.age|incline_numeral(['год', 'года', 'лет']) }}{% if profile.stations|length > 0 %}, метро {% for station in profile.stations|slice(0,1) %}{{ station.name|trans }}{% endfor %}{% endif %}{% if profile.personParameters.bodyType or profile.personParameters.hairColor %},{{ profile.personParameters.bodyType ? ' ' ~ profile.personParameters.bodyType|body_type|trans([], 'body_types')|lower : '' }}{{ profile.personParameters.hairColor ? ' ' ~ profile.personParameters.hairColor|hair_color|trans([], 'hair_colors')|lower : '' }}{% endif %}{% if profile.personParameters.breastSize %}, {{ profile.personParameters.breastSize }} размер груди{% endif %}{% if (profile.isActive or not profile.hidden) and not profile.deleted %}, анкета {{ profile.id|upper }}{% endif %}
  326. {%- endblock meta_title_ru -%}
  327. {%- block meta_title_en -%}{%- endblock meta_title_en -%}
  328. {# --- Ключевые фразы страницы <h1> --- #}
  329. {%- block heading_ru -%}
  330. Индивидуалка {{ profile.name|trans }} {{ 'год'|plural(profile.personParameters.age) }}
  331. {%- endblock heading_ru -%}
  332. {%- block heading_en -%}{%- endblock heading_en -%}
  333. {# --- Мета описания <meta name=\"description\"> --- #}
  334. {%- block meta_description_ru -%}
  335. {% set _id = profile.id %}
  336. Проститутка {{ profile.name }}{% if profile.stations|length > 0 %}{% for station in profile.stations|slice(0,1) %}, возле метро {{ station.name|trans }}{% endfor %}{% endif %} в {{ profile.city.name|geo_name('дательный') }}, в возрасте {{ 'год'|plural(profile.personParameters.age) }}, ID анкеты: {{ profile.id }}. Ее параметры: рост {{ profile.personParameters.height }},{% if profile.personParameters.weight %} вес {{ profile.personParameters.weight }}{% endif %}{% if profile.personParameters.breastSize %}, грудь {{ profile.personParameters.breastSize }}{% endif %}
  337. {%- endblock meta_description_ru -%}
  338. {%- block meta_description_en -%}{%- endblock meta_description_en -%}
  339. {# --- Мета ключи <meta name=\"keywords\"> --- #}
  340. {%- block meta_keywords_ru -%}Проститутка {{ profile.name }} в {{ profile.city.name|trans|geo_name('prepositional') }}, {{ profile.personParameters.age }} {{ profile.personParameters.age|incline_numeral(['год', 'года', 'лет']) }}{% if profile.stations|length > 0 %}, метро {% for station in profile.stations|slice(0,1) %}{{ station.name|trans }}{% endfor %}{% endif %}{% if profile.personParameters.bodyType or profile.personParameters.hairColor %},{{ profile.personParameters.bodyType ? ' ' ~ profile.personParameters.bodyType|body_type|trans([], 'body_types')|lower : '' }}{{ profile.personParameters.hairColor ? ' ' ~ profile.personParameters.hairColor|hair_color|trans([], 'hair_colors')|lower : '' }}{% endif %}{% if profile.personParameters.breastSize %}, {{ profile.personParameters.breastSize }} размер груди{% endif %}{% if (profile.isActive or not profile.hidden) and not profile.deleted %}, анкета {{ profile.id|upper }}{% endif %}{%- endblock meta_keywords_ru -%}
  341. {%- block meta_keywords_en -%}{%- endblock meta_keywords_en -%}
  342. ""_seo/profile_preview.page.txt.twig""/app/templates/_seo/profile_preview.page.txt.twig");
  343.     }
  344. }