var/cache/review/twig/1a/1a8211030ba900daa430d1af59cde3a1.php line 261

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. /* ProfileList/list.html.twig */
  14. class __TwigTemplate_09c006177d0309b7aaecc091c4a4831a 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->blocks = [
  23.             'preloadAnyData' => [$this'block_preloadAnyData'],
  24.             'metaSpecial' => [$this'block_metaSpecial'],
  25.             'mainContainer' => [$this'block_mainContainer'],
  26.             'mainList' => [$this'block_mainList'],
  27.             'showMore' => [$this'block_showMore'],
  28.             'javascripts' => [$this'block_javascripts'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 1
  34.         return "ProfileList/grid.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  40.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.html.twig"));
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.html.twig"));
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.html.twig"));
  45.         // line 4
  46.         $context["linkLangSupport"] = (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'4$this->source); })()), "request", [], "any"falsefalsefalse4), "locale", [], "any"falsefalsefalse4) == "en")) ? ("/en") : (""));
  47.         // line 5
  48.         $context["excludeRecommendationProfileIds"] = [];
  49.         // line 1
  50.         $this->parent $this->loadTemplate("ProfileList/grid.html.twig""ProfileList/list.html.twig"1);
  51.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  52.         
  53.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  54.         
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  56.         
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  58.     }
  59.     // line 9
  60.     public function block_preloadAnyData($context, array $blocks = [])
  61.     {
  62.         $macros $this->macros;
  63.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  64.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""preloadAnyData"));
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""preloadAnyData"));
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""preloadAnyData"));
  69.         
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  71.         
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  73.         
  74.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  75.     }
  76.     // line 23
  77.     public function block_metaSpecial($context, array $blocks = [])
  78.     {
  79.         $macros $this->macros;
  80.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  81.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaSpecial"));
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  83.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaSpecial"));
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  85.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaSpecial"));
  86.         // line 24
  87.         if (((isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'24$this->source); })()) && (twig_get_attribute($this->env$this->source, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'24$this->source); })()), "currentPage", [], "any"falsefalsefalse24) >= 2))) {
  88.             // line 25
  89.             echo "<meta name=\"yandex\" content=\"noindex, nofollow\" />";
  90.         }
  91.         
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  93.         
  94.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  95.         
  96.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  97.     }
  98.     // line 29
  99.     public function block_mainContainer($context, array $blocks = [])
  100.     {
  101.         $macros $this->macros;
  102.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  103.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  104.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  105.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  106.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  107.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  108.         // line 30
  109.         $context["isMainCity"] = (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.'30$this->source); })()), "uriIdentity", [], "any"falsefalsefalse30) == twig_get_attribute($this->env$this->source$this->extensions['App\Twig\DefaultCityExtension']->defaultCity(), "uriIdentity", [], "any"falsefalsefalse30));
  110.         // line 32
  111.         $context["conditionList"] = ["usluga-massage-professionalnyij""usluga-massage-rasslablyayuschij""usluga-massage-tajskij""usluga-massage-urologicheskij""/new/""/search/""/checked/""/salons/""/usluga-striptiz-ne-profi/""/usluga-striptiz-profi/""/price/high/""/usluga-seks-analnyij/""/hair-color-blonde/""/hair-color-brunette/""/price/low/""/video/""/comments/""/map/""/usluga-massage-klassicheskij/""/nationality-asian/""/usluga-anilingus-delayu/""/usluga-gospozha/""/selfie/""/massagers/""/usluga-massage-vetka-sakuryi/""/okrug/vostochnyj-vao/""/okrug/zapadnyj-zao/""/okrug/severnyj-sao/""/okrug/severo-zapadnyj-szao/""/okrug/tsentralnyij/""/okrug/yugo-vostochnyj-yuvao/""/usluga-minet-bez-rezinki/""/usluga-minet-v-mashine/""/usluga-minet-v-prezervative/""/usluga-minet-glubokij/""/nationality-negress/""/main-district/""/hair-color-light-brown/""/hair-color-red/""/usluga-seks-gruppovoj/""/usluga-strapon/""/usluga-uslugi-semejnoj-pare/""/usluga-fisting-analnyij/""/usluga-fisting-klassicheskij/""/hair-color-brown/""/nationality-kazakh/""/nationality-mulatto/""/nationality-russian/""/nationality-tatar/""/nationality-ukrainian/""/okrug/yugo-zapadnyj-yuzao/""/okrug/zelenograd/""/body-type-athletic/""/body-type-fat/""/usluga-seks-klassicheskij/""/usluga-rolevyie-igryi/""/usluga-eskort/""/usluga-trampling/""/usluga-fetish/""/usluga-bondaj/""/usluga-rabyinya/""/usluga-porka/""/body-type-thin/""/body-type-slim/""/body-type-tight/""/usluga-okonchanie-na-grud/""/usluga-okonchanie-na-litso/""/usluga-kopro-vyidacha/""/usluga-okonchanie-v-rot/""/usluga-kunnilingus/""/usluga-massage-eroticheskij/""/usluga-massage-tochechnyij/""/usluga-igrushki/""/usluga-zolot-dozhd-vyidacha/""/usluga-zolotoj-dozhd-priem/""/usluga-legkaya-dominatsiya/""/metro-""/prostitytki-"];
  112.         // line 114
  113.         $context["onlyThisPageSeoShow"] = false;
  114.         // line 115
  115.         $context['_parent'] = $context;
  116.         $context['_seq'] = twig_ensure_traversable((isset($context["conditionList"]) || array_key_exists("conditionList"$context) ? $context["conditionList"] : (function () { throw new RuntimeError('Variable "conditionList" does not exist.'115$this->source); })()));
  117.         foreach ($context['_seq'] as $context["_key"] => $context["str"]) {
  118.             // line 116
  119.             if (twig_in_filter($context["str"], twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'116$this->source); })()), "request", [], "any"falsefalsefalse116), "pathInfo", [], "any"falsefalsefalse116))) {
  120.                 // line 117
  121.                 $context["onlyThisPageSeoShow"] = true;
  122.             }
  123.         }
  124.         $_parent $context['_parent'];
  125.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['str'], $context['_parent'], $context['loop']);
  126.         $context array_intersect_key($context$_parent) + $_parent;
  127.         // line 121
  128.         $context["route"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'121$this->source); })()), "request", [], "any"falsefalsefalse121), "attributes", [], "any"falsefalsefalse121), "get", ["_route"], "method"falsefalsefalse121);
  129.         // line 122
  130.         $context["isIndexPage"] = (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'122$this->source); })()), "request", [], "any"falsefalsefalse122), "pathInfo", [], "any"falsefalsefalse122) == "/");
  131.         // line 123
  132.         $context["firstPage"] = (twig_get_attribute($this->env$this->source, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'123$this->source); })()), "currentPage", [], "any"falsefalsefalse123) == 1);
  133.         // line 124
  134.         $context["isStationPage"] = ((isset($context["route"]) || array_key_exists("route"$context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.'124$this->source); })()) == "profile_list.list_by_station");
  135.         // line 126
  136.         $context["mainListingFirstPage"] = ((isset($context["route"]) || array_key_exists("route"$context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.'126$this->source); })()) == "profile_list.list_by_city");
  137.         // line 127
  138.         echo "
  139. \t";
  140.         // line 130
  141.         $context["isShowTopSeo"] = true;
  142.         // line 131
  143.         $context["isShowTopOnBottomSeo"] = true;
  144.         // line 132
  145.         $context["isShowBottomSeo"] = true;
  146.         // line 134
  147.         echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render("breadcrumbs", ["template" => "__design/v2023/_menu/breadcrumbs.html.twig"]);
  148.         // line 136
  149.         echo "<div class=\"heading d-flex\">
  150. \t\t<h1 class=\"heading-title text-title mr-1\" role=\"heading\">";
  151.         // line 137
  152.         echo (($this->extensions['App\Twig\SeoExtension']->pageHeading()) ? ($this->extensions['App\Twig\SeoExtension']->pageHeading()) : ("Проститутки и индивидуалки Москвы"));
  153.         echo "</h1>
  154. \t\t<span class=\"heading-count clr-main-text fw-700\" data-count-profiles>";
  155.         // line 138
  156.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'138$this->source); })()), "totalCount", [], "any"falsefalsefalse138), "html"nulltrue);
  157.         echo "</span>
  158. \t</div>
  159. \t";
  160.         // line 154
  161.         $context["isArchivePage"] = twig_in_filter("profile_list.list_archived"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'154$this->source); })()), "request", [], "any"falsefalsefalse154), "attributes", [], "any"falsefalsefalse154), "get", ["_route"], "method"falsefalsefalse154));
  162.         // line 155
  163.         $context["isFormExist"] = false;
  164.         // line 156
  165.         if ((isset($context["isFormExist"]) || array_key_exists("isFormExist"$context) ? $context["isFormExist"] : (function () { throw new RuntimeError('Variable "isFormExist" does not exist.'156$this->source); })())) {
  166.             // line 157
  167.             echo "<noindex>
  168. \t\t\t<button class=\"filter_hide_button\" type=\"button\" id=\"filter_hide_button\">
  169. \t\t\t\t<svg class=\"filter_hide_button__icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M6.96 6h10l-5 6.3-5-6.3Zm-2.75-.39L9.96 13v6a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-6l5.74-7.39A1 1 0 0 0 18.91 4H5.01a1 1 0 0 0-.8 1.61Z\" /></svg>
  170. \t\t\t\t<span class=\"filter_hide_button__text\" data-filter-hide-text-show>Показать фильтры</span>
  171. \t\t\t\t<svg class=\"filter_hide_button__rotate\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M7.45 9.87a.84.84 0 0 1 1.24 0l3.3 3.5 3.32-3.5a.84.84 0 0 1 1.23 0c.34.36.34.95 0 1.3l-3.92 4.16a.84.84 0 0 1-1.24 0l-3.93-4.15a.96.96 0 0 1 0-1.31Z\" /></svg>
  172. \t\t\t</button>
  173. \t\t\t<div class=\"filter_hide_block\" id=\"filter_hide_block\">
  174. \t\t\t\t";
  175.             // line 165
  176.             echo "\t\t\t\t";
  177.             echo             $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["profile_filter_form"]) || array_key_exists("profile_filter_form"$context) ? $context["profile_filter_form"] : (function () { throw new RuntimeError('Variable "profile_filter_form" does not exist.'165$this->source); })()), 'form_start', ["attr" => ["id" => "filter-form""class" => "filter_form""data-process-url" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_ctr.increase_shows"), "data-main-class" => "profile_filter"]]);
  178.             // line 172
  179.             echo "
  180. \t\t\t\t\t";
  181.             // line 173
  182.             echo twig_include($this->env$context"ProfileList/filter/form.partial.twig", ["filterData" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile_filter_form"]) || array_key_exists("profile_filter_form"$context) ? $context["profile_filter_form"] : (function () { throw new RuntimeError('Variable "profile_filter_form" does not exist.'173$this->source); })()), "vars", [], "any"falsefalsefalse173), "value", [], "any"falsefalsefalse173), "filterListId" => "filter-list"]);
  183.             echo "
  184. \t\t\t\t";
  185.             // line 174
  186.             echo             $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["profile_filter_form"]) || array_key_exists("profile_filter_form"$context) ? $context["profile_filter_form"] : (function () { throw new RuntimeError('Variable "profile_filter_form" does not exist.'174$this->source); })()), 'form_end');
  187.             echo "
  188. \t\t\t</div>
  189. \t\t\t<div class=\"profile_filter__tags__container profile_filter__tags__container--mobile fade_slider__container\">
  190. \t\t\t\t<div class=\"profile_filter__tags d-none fade_slider d-none\" id=\"filter_tags\"></div>
  191. \t\t\t</div>
  192. \t\t\t<div class=\"profile_filter__line\" id=\"filter_line\" style=\"display: none\">
  193. \t\t\t\t<div class=\"profile_filter__line__title\">Найдено <span class=\"profile_filter__line__title__count\">";
  194.             // line 182
  195.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'182$this->source); })()), "totalCount", [], "any"falsefalsefalse182), "html"nulltrue);
  196.             echo " ";
  197.             echo twig_escape_filter($this->env$this->extensions['App\Twig\ToolsExtension']->inclineNumeral(twig_get_attribute($this->env$this->source, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'182$this->source); })()), "totalCount", [], "any"falsefalsefalse182), ["анкета""анкеты""анкет"]), "html"nulltrue);
  198.             echo "</span></div>
  199. \t\t\t\t<button class=\"profile_filter__line__reset\" type=\"button\" id=\"filter_line_reset\">
  200. \t\t\t\t\tСбросить фильтры
  201. \t\t\t\t\t<svg class=\"profile_filter__line__reset_icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 14 14\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13.7 1.7A1 1 0 0 0 12.3.3L7 5.58 1.7.29A1 1 0 0 0 .3 1.71L5.58 7l-5.3 5.3a1 1 0 1 0 1.42 1.4L7 8.42l5.3 5.3a1 1 0 0 0 1.4-1.42L8.42 7l5.3-5.3Z\" fill=\"#ED0C34\"/></svg>
  202. \t\t\t\t</button>
  203. \t\t\t</div>
  204. \t\t</noindex>
  205. \t";
  206.         }
  207.         // line 190
  208.         echo "
  209. \t";
  210.         // line 191
  211.         $this->displayBlock('mainList'$context$blocks);
  212.         // line 199
  213.         echo "
  214. \t";
  215.         // line 200
  216.         if (((isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'200$this->source); })()) && (twig_get_attribute($this->env$this->source, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'200$this->source); })()), "totalCount", [], "any"falsefalsefalse200) > (twig_get_attribute($this->env$this->source, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'200$this->source); })()), "currentPage", [], "any"falsefalsefalse200) * twig_get_attribute($this->env$this->source, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'200$this->source); })()), "currentLimit", [], "any"falsefalsefalse200))))) {
  217.             // line 201
  218.             echo "\t\t";
  219.             $this->displayBlock('showMore'$context$blocks);
  220.             // line 204
  221.             echo "\t";
  222.         }
  223.         // line 205
  224.         echo "
  225. \t";
  226.         // line 206
  227.         echo $this->extensions['Porpaginas\Twig\PorpaginasExtension']->renderPagination($this->env, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'206$this->source); })()));
  228.         echo "
  229. \t<div class=\"map-block mb-4 full-w-xs\">
  230. \t\t<picture class=\"map-picture\">
  231. \t\t\t<source srcset=\"";
  232.         // line 210
  233.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/background/map@480.jpg"), "html"nulltrue);
  234.         echo "\" media=\"(max-width: 480px)\">
  235. \t\t\t<source srcset=\"";
  236.         // line 211
  237.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/background/map@930.jpg"), "html"nulltrue);
  238.         echo "\" media=\"(max-width: 960px)\">
  239. \t\t\t<img class=\"map-image\" src=\"";
  240.         // line 212
  241.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/background/map@1380.jpg"), "html"nulltrue);
  242.         echo "\" alt=\"Интим-карта Москвы\" loading=\"lazy\">
  243. \t\t</picture>
  244. \t\t<div class=\"map-block-content d-flex-c\">
  245. \t\t\t<div class=\"map-block-title fw-700 mb-2\">Интим-карта ";
  246.         // line 215
  247.         echo twig_escape_filter($this->env$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.'215$this->source); })()), "name", [], "any"falsefalsefalse215), "genitive"), "html"nulltrue);
  248.         echo "</div>
  249. \t\t\t<div class=\"map-block-text\">Поиск анкет рядом с Вами</div>
  250. \t\t\t<a class=\"map-block-link btn btn-main\" href=\"";
  251.         // line 217
  252.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("map.page", ["city" => twig_get_attribute($this->env$this->source, (isset($context["city"]) || array_key_exists("city"$context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.'217$this->source); })()), "uriIdentity", [], "any"falsefalsefalse217)]), "html"nulltrue);
  253.         echo "\">
  254. \t\t\t\t<svg class=\"btn-icon\" width=\"25\" height=\"25\" fill=\"none\"><path fill-rule=\"evenodd\" d=\"M4.674 8.944c0-4.314 3.512-7.826 7.826-7.826s7.826 3.512 7.826 7.826c0 5.448-6.809 13.049-7.102 13.372l-.724.802-.724-.802c-.293-.323-7.102-7.924-7.102-13.372Zm1.957 0c0 3.462 3.736 8.667 5.869 11.22 1.712-2.064 5.87-7.474 5.87-11.22a5.874 5.874 0 0 0-5.87-5.87 5.874 5.874 0 0 0-5.87 5.87Zm5.869 0c.812 0 1.467-.656 1.467-1.468 0-.812-.655-1.467-1.467-1.467s-1.467.665-1.467 1.467c0 .812.655 1.468 1.467 1.468Zm-2.935 2.445c0-.978 1.957-1.467 2.935-1.467s2.935.489 2.935 1.467v.118a3.88 3.88 0 0 1-2.935 1.35 3.88 3.88 0 0 1-2.935-1.35v-.118Z\" clip-rule=\"evenodd\"/></svg>
  255. \t\t\t\t<span class=\"btn-text\">Искать на карте</span>
  256. \t\t\t</a>
  257. \t\t</div>
  258. \t</div>
  259. \t";
  260.         // line 225
  261.         echo "\t";
  262.         if (((isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'225$this->source); })()) && (twig_get_attribute($this->env$this->source, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'225$this->source); })()), "currentPage", [], "any"falsefalsefalse225) >= 2))) {
  263.             // line 226
  264.             echo "\t\t<div id=\"recommendations\">";
  265.             // line 227
  266.             $context["excludeRecommendationProfileIds"] = twig_join_filter(twig_array_map($this->env, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'227$this->source); })()), function ($__p__) use ($context$macros) { $context["p"] = $__p__; return twig_get_attribute($this->env$this->source, (isset($context["p"]) || array_key_exists("p"$context) ? $context["p"] : (function () { throw new RuntimeError('Variable "p" does not exist.'227$this->source); })()), "id", [], "any"falsefalsefalse227); }), ", ");
  267.             // line 228
  268.             $this->loadTemplate("recommendations/_profile_recommendations.html.twig""ProfileList/list.html.twig"228)->display(twig_array_merge($context, ["componentClass" => "mobile"]));
  269.             // line 229
  270.             echo "</div>
  271. \t";
  272.         }
  273.         // line 231
  274.         echo "
  275. \t";
  276.         // line 233
  277.         if ((((isset($context["route"]) || array_key_exists("route"$context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.'233$this->source); })()) == "homepage") || (        // line 234
  278. (isset($context["mainListingFirstPage"]) || array_key_exists("mainListingFirstPage"$context) ? $context["mainListingFirstPage"] : (function () { throw new RuntimeError('Variable "mainListingFirstPage" does not exist.'234$this->source); })()) && (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'234$this->source); })()), "request", [], "any"falsefalsefalse234), "get", ["city"], "method"falsefalsefalse234), "id", [], "any"falsefalsefalse234) == twig_get_attribute($this->env$this->source$this->extensions['App\Twig\DefaultCityExtension']->defaultCity(), "id", [], "any"falsefalsefalse234))))) {
  279.             // line 236
  280.             echo "\t\t<div class=\"widget-profiles-by-categories\" id=\"widget_profiles_by_categories\"></div>
  281. \t\t<script>
  282. \t\t\tdocument.addEventListener('DOMContentLoaded', () => {
  283. \t\t\t\tconst widgetElement = document.querySelector('#widget_profiles_by_categories');
  284. \t\t\t\tfunction getProfiles() {
  285. \t\t\t\t\tfetch('";
  286.             // line 242
  287.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_widget.by_categories", ["city" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'242$this->source); })()), "request", [], "any"falsefalsefalse242), "attributes", [], "any"falsefalsefalse242), "get", ["city"$this->extensions['App\Twig\DefaultCityExtension']->defaultCity()], "method"falsefalsefalse242), "uriIdentity", [], "any"falsefalsefalse242)]), "html"nulltrue);
  288.             echo "', {
  289. \t\t\t\t\t\tmethod: 'GET',
  290. \t\t\t\t\t\theaders: {
  291. \t\t\t\t\t\t\t\"X-Requested-With\": \"XMLHttpRequest\"
  292. \t\t\t\t\t\t},
  293. \t\t\t\t\t}).then(response => {
  294. \t\t\t\t\t\tif (response.status < 300) {
  295. \t\t\t\t\t\t\treturn response.text();
  296. \t\t\t\t\t\t} else {
  297. \t\t\t\t\t\t\tconsole.warn(\" \");
  298. \t\t\t\t\t\t\treturn null;
  299. \t\t\t\t\t\t}
  300. \t\t\t\t\t}).then(response => {
  301. \t\t\t\t\t\twidgetElement.innerHTML = response;
  302. \t\t\t\t\t\tconst elementsRoot = [...document.querySelectorAll('#profile-list-new', '#profile-list-approved', '#profile-list-elite')];
  303. \t\t\t\t\t\telementsRoot.forEach(root => {
  304. \t\t\t\t\t\t\tif (root.childElementCount === 0) {
  305. \t\t\t\t\t\t\t\troot.previousElementSibling.remove();
  306. \t\t\t\t\t\t\t\troot.remove();
  307. \t\t\t\t\t\t\t}
  308. \t\t\t\t\t\t});
  309. \t\t\t\t\t});
  310. \t\t\t\t}
  311. \t\t\t\tif ('IntersectionObserver' in window) {
  312. \t\t\t\t\tconst observer = new IntersectionObserver((entries) => {
  313. \t\t\t\t\t\tif (entries[0].isIntersecting) {
  314. \t\t\t\t\t\t\tobserver.disconnect();
  315. \t\t\t\t\t\t\tgetProfiles();
  316. \t\t\t\t\t\t}
  317. \t\t\t\t\t}, { rootMargin: '100px' });
  318. \t\t\t\t\tobserver.observe(widgetElement);
  319. \t\t\t\t} else {
  320. \t\t\t\t\tgetProfiles();
  321. \t\t\t\t}
  322. \t\t\t});
  323. \t\t</script>
  324. \t";
  325.         }
  326.         // line 281
  327.         echo "
  328. \t";
  329.         // line 312
  330.         echo "
  331. \t";
  332.         // line 314
  333.         echo "
  334. \t";
  335.         // line 316
  336.         echo "    ";
  337.         // line 318
  338.         if ((isset($context["isShowTopOnBottomSeo"]) || array_key_exists("isShowTopOnBottomSeo"$context) ? $context["isShowTopOnBottomSeo"] : (function () { throw new RuntimeError('Variable "isShowTopOnBottomSeo" does not exist.'318$this->source); })())) {
  339.             // line 319
  340.             echo twig_include($this->env$context"__design/v2023/components/seo-article.html.twig", ["type" => "top""noindex" => true]);
  341.         }
  342.         // line 321
  343.         if ((isset($context["isShowBottomSeo"]) || array_key_exists("isShowBottomSeo"$context) ? $context["isShowBottomSeo"] : (function () { throw new RuntimeError('Variable "isShowBottomSeo" does not exist.'321$this->source); })())) {
  344.             // line 322
  345.             echo twig_include($this->env$context"__design/v2023/components/seo-article.html.twig", ["type" => "bottom""noindex" => true]);
  346.         }
  347.         
  348.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  349.         
  350.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  351.         
  352.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  353.     }
  354.     // line 191
  355.     public function block_mainList($context, array $blocks = [])
  356.     {
  357.         $macros $this->macros;
  358.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  359.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainList"));
  360.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  361.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainList"));
  362.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  363.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainList"));
  364.         // line 192
  365.         echo "\t\t<ul class=\"profile-list d-grid mb-4 full-w-xs\" id=\"profile-list\">
  366.         \t";
  367.         // line 193
  368.         $this->loadTemplate("ProfileList/list.profiles.html.twig""ProfileList/list.html.twig"193)->display(twig_array_merge($context, ["top_profile" => $this->extensions['App\Twig\PaidPlacementsExtension']->currentTopPlacement(), "likeButton" => ($this->extensions['App\Twig\UserExtension']->isUserCustomer(twig_get_attribute($this->env$this->source,         // line 195
  369. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'195$this->source); })()), "user", [], "any"falsefalsefalse195)) == "1")]));
  370.         // line 197
  371.         echo "\t\t</ul>
  372. \t";
  373.         
  374.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  375.         
  376.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  377.         
  378.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  379.     }
  380.     // line 201
  381.     public function block_showMore($context, array $blocks = [])
  382.     {
  383.         $macros $this->macros;
  384.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  385.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""showMore"));
  386.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  387.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""showMore"));
  388.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  389.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""showMore"));
  390.         // line 202
  391.         echo "\t\t\t";
  392.         $this->loadTemplate("ProfileList/_show_more.profiles.html.twig""ProfileList/list.html.twig"202)->display($context);
  393.         // line 203
  394.         echo "\t\t";
  395.         
  396.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  397.         
  398.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  399.         
  400.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  401.     }
  402.     // line 327
  403.     public function block_javascripts($context, array $blocks = [])
  404.     {
  405.         $macros $this->macros;
  406.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  407.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  408.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  409.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  410.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  411.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  412.         // line 328
  413.         echo "\t";
  414.         $this->displayParentBlock("javascripts"$context$blocks);
  415.         echo "
  416. \t<script>
  417. \t\tconst listingRoute = '";
  418.         // line 330
  419.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'330$this->source); })()), "request", [], "any"falsefalsefalse330), "attributes", [], "any"falsefalsefalse330), "get", ["_route"], "method"falsefalsefalse330), "html"nulltrue);
  420.         echo "' == '' ? 'profile_list.list_by_city' : '";
  421.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'330$this->source); })()), "request", [], "any"falsefalsefalse330), "attributes", [], "any"falsefalsefalse330), "get", ["_route"], "method"falsefalsefalse330), "html"nulltrue);
  422.         echo "';
  423.         window._lD = {
  424.             setLastViewedListing: listingRoute,
  425.             cityUrl: \"";
  426.         // line 333
  427.         echo twig_escape_filter($this->envtwig_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.'333$this->source); })()), "uriIdentity", [], "any"falsefalsefalse333), "html"nulltrue);
  428.         echo "\",
  429.         };
  430. \t\twindow.siteData = {
  431. \t\t\tcity: \"";
  432.         // line 336
  433.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'336$this->source); })()), "request", [], "any"falsefalsefalse336), "attributes", [], "any"falsefalsefalse336), "get", ["city"$this->extensions['App\Twig\DefaultCityExtension']->defaultCity()], "method"falsefalsefalse336), "uriIdentity", [], "any"falsefalsefalse336), "html"nulltrue);
  434.         echo "\",
  435. \t\t\tstations: {";
  436.         // line 338
  437.         $context['_parent'] = $context;
  438.         $context['_seq'] = twig_ensure_traversable($this->extensions['App\Twig\StationsExtension']->stations());
  439.         $context['loop'] = [
  440.           'parent' => $context['_parent'],
  441.           'index0' => 0,
  442.           'index'  => 1,
  443.           'first'  => true,
  444.         ];
  445.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  446.             $length count($context['_seq']);
  447.             $context['loop']['revindex0'] = $length 1;
  448.             $context['loop']['revindex'] = $length;
  449.             $context['loop']['length'] = $length;
  450.             $context['loop']['last'] = === $length;
  451.         }
  452.         foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
  453.             // line 339
  454.             echo "\"";
  455.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["station"], "name", [], "any"falsefalsefalse339)), "html"nulltrue);
  456.             echo "\": \"";
  457.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_station", ["city" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["station"], "city", [], "any"falsefalsefalse339), "uriIdentity", [], "any"falsefalsefalse339), "station" => twig_get_attribute($this->env$this->source$context["station"], "uriIdentity", [], "any"falsefalsefalse339)]), "html"nulltrue);
  458.             echo "\"";
  459.             if ( !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse339)) {
  460.                 echo ",";
  461.             }
  462.             ++$context['loop']['index0'];
  463.             ++$context['loop']['index'];
  464.             $context['loop']['first'] = false;
  465.             if (isset($context['loop']['length'])) {
  466.                 --$context['loop']['revindex0'];
  467.                 --$context['loop']['revindex'];
  468.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  469.             }
  470.         }
  471.         $_parent $context['_parent'];
  472.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
  473.         $context array_intersect_key($context$_parent) + $_parent;
  474.         // line 341
  475.         echo "}
  476. \t\t};
  477. \t\t";
  478.         // line 353
  479.         echo "
  480. \t\tdocument.addEventListener('header:update', (event) => {
  481. \t\t\tconst userData = event.detail?.data;
  482. \t\t\tif (userData.user && userData.role === 'advertiser') return;
  483. \t\t\t";
  484.         // line 358
  485.         $this->loadTemplate("ProfileList/_favorite-button.partial.script.js""ProfileList/list.html.twig"358)->display($context);
  486.         // line 359
  487.         echo "\t\t})
  488. \t</script>
  489. ";
  490.         
  491.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  492.         
  493.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  494.         
  495.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  496.     }
  497.     /**
  498.      * @codeCoverageIgnore
  499.      */
  500.     public function getTemplateName()
  501.     {
  502.         return "ProfileList/list.html.twig";
  503.     }
  504.     /**
  505.      * @codeCoverageIgnore
  506.      */
  507.     public function isTraitable()
  508.     {
  509.         return false;
  510.     }
  511.     /**
  512.      * @codeCoverageIgnore
  513.      */
  514.     public function getDebugInfo()
  515.     {
  516.         return array (  551 => 359,  549 => 358,  542 => 353,  537 => 341,  516 => 339,  499 => 338,  495 => 336,  489 => 333,  481 => 330,  475 => 328,  462 => 327,  449 => 203,  446 => 202,  433 => 201,  419 => 197,  417 => 195,  416 => 193,  413 => 192,  400 => 191,  386 => 322,  384 => 321,  381 => 319,  379 => 318,  377 => 316,  374 => 314,  371 => 312,  367 => 281,  325 => 242,  317 => 236,  315 => 234,  314 => 233,  310 => 231,  306 => 229,  304 => 228,  302 => 227,  300 => 226,  297 => 225,  287 => 217,  282 => 215,  276 => 212,  272 => 211,  268 => 210,  261 => 206,  258 => 205,  255 => 204,  252 => 201,  250 => 200,  247 => 199,  245 => 191,  242 => 190,  229 => 182,  218 => 174,  214 => 173,  211 => 172,  208 => 165,  199 => 157,  197 => 156,  195 => 155,  193 => 154,  187 => 138,  183 => 137,  180 => 136,  178 => 134,  176 => 132,  174 => 131,  172 => 130,  169 => 127,  167 => 126,  165 => 124,  163 => 123,  161 => 122,  159 => 121,  152 => 117,  150 => 116,  146 => 115,  144 => 114,  142 => 32,  140 => 30,  127 => 29,  113 => 25,  111 => 24,  98 => 23,  74 => 9,  60 => 1,  58 => 5,  56 => 4,  40 => 1,);
  517.     }
  518.     public function getSourceContext()
  519.     {
  520.         return new Source("{% extends 'ProfileList/grid.html.twig' %}
  521. {# {% extends 'grid.html.twig' %} #}
  522. {%- set linkLangSupport = app.request.locale == 'en' ? '/en' : '' -%}
  523. {%- set excludeRecommendationProfileIds = [] -%}
  524. {# {%- block stylesheet_postload -%}{{ encore_entry_link_tags(\"styles/public-girl-list\") }}{{ parent() }}{%- endblock -%} #}
  525. {%- block preloadAnyData -%}
  526. \t{# {%- set photo = profiles|first|avatar -%}
  527. \t{%- if photo -%}
  528. \t\t<link rel=\"preload\" href=\"{{ responsive_asset(photo.path, 'profile_media', \"200x280\", \"jpg\") }}\" as=\"image\">
  529. \t\t<link rel=\"preload\" as=\"image\"
  530. \t\t\thref=\"{{ responsive_asset(photo.path, 'profile_media', \"200x280\", \"jpg\") }}\"
  531. \t\t\timagesrcset=\"{{ responsive_asset(photo.path, 'profile_media', \"200x280\", \"jpg\") }} 200w,
  532. \t\t\t\t\t\t{{ responsive_asset(photo.path, 'profile_media', \"185x259\", \"jpg\") }} 185w\"
  533. \t\t\timagesizes=\"(max-width: 1740px) 185px, 200px\"
  534. \t\t\tmedia=\"(min-width: 1740px)\" />
  535. \t{%- endif -%} #}
  536. {%- endblock -%}
  537. {%- block metaSpecial -%}
  538. \t{%- if profiles and profiles.currentPage >= 2 -%}
  539. \t\t<meta name=\"yandex\" content=\"noindex, nofollow\" />
  540. \t{%- endif -%}
  541. {%- endblock -%}
  542. {%- block mainContainer -%}
  543. \t{%- set isMainCity = city.uriIdentity == default_city().uriIdentity -%}
  544. \t{%- set conditionList = [
  545. \t\t'usluga-massage-professionalnyij',
  546. \t\t'usluga-massage-rasslablyayuschij',
  547. \t\t'usluga-massage-tajskij',
  548. \t\t'usluga-massage-urologicheskij',
  549. \t\t'/new/',
  550. \t\t'/search/',
  551. \t\t'/checked/',
  552. \t\t'/salons/',
  553. \t\t'/usluga-striptiz-ne-profi/',
  554. \t\t'/usluga-striptiz-profi/',
  555. \t\t'/price/high/',
  556. \t\t'/usluga-seks-analnyij/',
  557. \t\t'/hair-color-blonde/',
  558. \t\t'/hair-color-brunette/',
  559. \t\t'/price/low/',
  560. \t\t'/video/',
  561. \t\t'/comments/',
  562. \t\t'/map/',
  563. \t\t'/usluga-massage-klassicheskij/',
  564. \t\t'/nationality-asian/',
  565. \t\t'/usluga-anilingus-delayu/',
  566. \t\t'/usluga-gospozha/',
  567. \t\t'/selfie/',
  568. \t\t'/massagers/',
  569. \t\t'/usluga-massage-vetka-sakuryi/',
  570. \t\t'/okrug/vostochnyj-vao/',
  571. \t\t'/okrug/zapadnyj-zao/',
  572. \t\t'/okrug/severnyj-sao/',
  573. \t\t'/okrug/severo-zapadnyj-szao/',
  574. \t\t'/okrug/tsentralnyij/',
  575. \t\t'/okrug/yugo-vostochnyj-yuvao/',
  576. \t\t'/usluga-minet-bez-rezinki/',
  577. \t\t'/usluga-minet-v-mashine/',
  578. \t\t'/usluga-minet-v-prezervative/',
  579. \t\t'/usluga-minet-glubokij/',
  580. \t\t'/nationality-negress/',
  581. \t\t'/main-district/',
  582. \t\t'/hair-color-light-brown/',
  583. \t\t'/hair-color-red/',
  584. \t\t'/usluga-seks-gruppovoj/',
  585. \t\t'/usluga-strapon/',
  586. \t\t'/usluga-uslugi-semejnoj-pare/',
  587. \t\t'/usluga-fisting-analnyij/',
  588. \t\t'/usluga-fisting-klassicheskij/',
  589. \t\t'/hair-color-brown/',
  590. \t\t'/nationality-kazakh/',
  591. \t\t'/nationality-mulatto/',
  592. \t\t'/nationality-russian/',
  593. \t\t'/nationality-tatar/',
  594. \t\t'/nationality-ukrainian/',
  595. \t\t'/okrug/yugo-zapadnyj-yuzao/',
  596. \t\t'/okrug/zelenograd/',
  597. \t\t'/body-type-athletic/',
  598. \t\t'/body-type-fat/',
  599. \t\t'/usluga-seks-klassicheskij/',
  600. \t\t'/usluga-rolevyie-igryi/',
  601. \t\t'/usluga-eskort/',
  602. \t\t'/usluga-trampling/',
  603. \t\t'/usluga-fetish/',
  604. \t\t'/usluga-bondaj/',
  605. \t\t'/usluga-rabyinya/',
  606. \t\t'/usluga-porka/',
  607. \t\t'/body-type-thin/',
  608. \t\t'/body-type-slim/',
  609. \t\t'/body-type-tight/',
  610. \t\t'/usluga-okonchanie-na-grud/',
  611. \t\t'/usluga-okonchanie-na-litso/',
  612. \t\t'/usluga-kopro-vyidacha/',
  613. \t\t'/usluga-okonchanie-v-rot/',
  614. \t\t'/usluga-kunnilingus/',
  615. \t\t'/usluga-massage-eroticheskij/',
  616. \t\t'/usluga-massage-tochechnyij/',
  617. \t\t'/usluga-igrushki/',
  618. \t\t'/usluga-zolot-dozhd-vyidacha/',
  619. \t\t'/usluga-zolotoj-dozhd-priem/',
  620. \t\t'/usluga-legkaya-dominatsiya/',
  621. \t\t'/metro-',
  622. \t\t'/prostitytki-'
  623. \t\t]
  624. \t%}
  625. \t{%- set onlyThisPageSeoShow = false -%}
  626. \t{%- for str in conditionList -%}
  627. \t\t{%- if str in app.request.pathInfo -%}
  628. \t\t\t{%- set onlyThisPageSeoShow = true -%}
  629. \t\t{%- endif -%}
  630. \t{%- endfor -%}
  631. \t{% set route = app.request.attributes.get('_route') %}
  632. \t{%- set isIndexPage = app.request.pathInfo == '/' -%}
  633. \t{%- set firstPage = profiles.currentPage == 1 -%}
  634. \t{%- set isStationPage = route == \"profile_list.list_by_station\" -%}
  635. \t{% set mainListingFirstPage = route == 'profile_list.list_by_city' %}
  636. \t{# {%- set isShowTopSeo = (firstPage and isMainCity and onlyThisPageSeoShow) or isIndexPage -%}
  637. \t{%- set isShowBottomSeo = (firstPage and isMainCity and onlyThisPageSeoShow ) or isIndexPage -%} #}
  638. \t{%- set isShowTopSeo = true -%}
  639. \t{%- set isShowTopOnBottomSeo = true -%}
  640. \t{%- set isShowBottomSeo = true -%}
  641. \t{{- knp_menu_render('breadcrumbs', {'template': '__design/v2023/_menu/breadcrumbs.html.twig'}) -}}
  642. \t<div class=\"heading d-flex\">
  643. \t\t<h1 class=\"heading-title text-title mr-1\" role=\"heading\">{{- seo_heading() ? seo_heading() : 'Проститутки и индивидуалки Москвы' -}}</h1>
  644. \t\t<span class=\"heading-count clr-main-text fw-700\" data-count-profiles>{{ profiles.totalCount }}</span>
  645. \t</div>
  646. \t{# <div aria-hidden=\"true\" class=\"no-display\" style=\"display: none;\">
  647. \t\t<svg xmlns=\"http://www.w3.org/2000/svg\">
  648. \t\t\t<symbol id=\"close\" viewBox=\"0 0 25 24\">
  649. \t\t\t\t<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M19.46 6.7a1 1 0 0 0-1.42-1.4l-5.29 5.29-5.3-5.3a1 1 0 0 0-1.4 1.42L11.33 12l-5.3 5.3a1 1 0 1 0 1.42 1.4l5.29-5.29 5.3 5.3a1 1 0 0 0 1.4-1.42L14.17 12l5.3-5.3Z\" fill=\"#A3A3A3\"/>
  650. \t\t\t</symbol>
  651. \t\t\t<symbol id=\"expand\" viewBox=\"0 0 25 24\">
  652. \t\t\t\t<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5.54 8.3a1 1 0 0 1 1.42 0l5.29 5.29 5.3-5.3a1 1 0 1 1 1.4 1.42l-6 6a1 1 0 0 1-1.4 0l-6-6a1 1 0 0 1 0-1.42Z\" fill=\"#A3A3A3\"/>
  653. \t\t\t</symbol>
  654. \t\t\t<symbol id=\"range\" viewBox=\"0 0 25 24\">
  655. \t\t\t\t<path d=\"M21.5 11h-1.18a2.98 2.98 0 0 0-5.64 0h-4.36a2.98 2.98 0 0 0-5.64 0H3.5a1 1 0 1 0 0 2h1.18a2.98 2.98 0 0 0 5.64 0h4.36a2.98 2.98 0 0 0 5.64 0h1.18a1 1 0 0 0 0-2Zm-14 2a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm10 0a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>
  656. \t\t\t</symbol>
  657. \t\t</svg>
  658. \t</div> #}
  659. \t{%- set isArchivePage =  'profile_list.list_archived' in app.request.attributes.get('_route') -%}
  660. \t{%- set isFormExist = false -%}{# profile_filter_form is defined and not isArchivePage #}
  661. \t{%- if isFormExist -%}
  662. \t\t<noindex>
  663. \t\t\t<button class=\"filter_hide_button\" type=\"button\" id=\"filter_hide_button\">
  664. \t\t\t\t<svg class=\"filter_hide_button__icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M6.96 6h10l-5 6.3-5-6.3Zm-2.75-.39L9.96 13v6a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-6l5.74-7.39A1 1 0 0 0 18.91 4H5.01a1 1 0 0 0-.8 1.61Z\" /></svg>
  665. \t\t\t\t<span class=\"filter_hide_button__text\" data-filter-hide-text-show>Показать фильтры</span>
  666. \t\t\t\t<svg class=\"filter_hide_button__rotate\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M7.45 9.87a.84.84 0 0 1 1.24 0l3.3 3.5 3.32-3.5a.84.84 0 0 1 1.23 0c.34.36.34.95 0 1.3l-3.92 4.16a.84.84 0 0 1-1.24 0l-3.93-4.15a.96.96 0 0 1 0-1.31Z\" /></svg>
  667. \t\t\t</button>
  668. \t\t\t<div class=\"filter_hide_block\" id=\"filter_hide_block\">
  669. \t\t\t\t{# Форма полей фильтрации #}
  670. \t\t\t\t{{ form_start(profile_filter_form, {
  671. \t\t\t\t\t'attr': {
  672. \t\t\t\t\t\t'id': 'filter-form',
  673. \t\t\t\t\t\t'class': 'filter_form',
  674. \t\t\t\t\t\t'data-process-url': path('profile_ctr.increase_shows'),
  675. \t\t\t\t\t\t'data-main-class': 'profile_filter'
  676. \t\t\t\t\t}
  677. \t\t\t\t}) }}
  678. \t\t\t\t\t{{ include('ProfileList/filter/form.partial.twig', {filterData: profile_filter_form.vars.value, filterListId: 'filter-list'}) }}
  679. \t\t\t\t{{ form_end(profile_filter_form) }}
  680. \t\t\t</div>
  681. \t\t\t<div class=\"profile_filter__tags__container profile_filter__tags__container--mobile fade_slider__container\">
  682. \t\t\t\t<div class=\"profile_filter__tags d-none fade_slider d-none\" id=\"filter_tags\"></div>
  683. \t\t\t</div>
  684. \t\t\t<div class=\"profile_filter__line\" id=\"filter_line\" style=\"display: none\">
  685. \t\t\t\t<div class=\"profile_filter__line__title\">Найдено <span class=\"profile_filter__line__title__count\">{{ profiles.totalCount }} {{ profiles.totalCount|incline_numeral(['анкета', 'анкеты', 'анкет']) }}</span></div>
  686. \t\t\t\t<button class=\"profile_filter__line__reset\" type=\"button\" id=\"filter_line_reset\">
  687. \t\t\t\t\tСбросить фильтры
  688. \t\t\t\t\t<svg class=\"profile_filter__line__reset_icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 14 14\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13.7 1.7A1 1 0 0 0 12.3.3L7 5.58 1.7.29A1 1 0 0 0 .3 1.71L5.58 7l-5.3 5.3a1 1 0 1 0 1.42 1.4L7 8.42l5.3 5.3a1 1 0 0 0 1.4-1.42L8.42 7l5.3-5.3Z\" fill=\"#ED0C34\"/></svg>
  689. \t\t\t\t</button>
  690. \t\t\t</div>
  691. \t\t</noindex>
  692. \t{% endif %}
  693. \t{% block mainList %}
  694. \t\t<ul class=\"profile-list d-grid mb-4 full-w-xs\" id=\"profile-list\">
  695.         \t{% include 'ProfileList/list.profiles.html.twig' with {
  696. \t\t\t\t'top_profile': profile_top_placement(),
  697. \t\t\t\t'likeButton': is_user_customer(app.user) == '1'
  698. \t\t\t\t} %}
  699. \t\t</ul>
  700. \t{% endblock %}
  701. \t{% if profiles and profiles.totalCount > profiles.currentPage * profiles.currentLimit %}
  702. \t\t{% block showMore %}
  703. \t\t\t{% include 'ProfileList/_show_more.profiles.html.twig' %}
  704. \t\t{% endblock showMore %}
  705. \t{% endif %}
  706. \t{{ porpaginas_render(profiles) }}
  707. \t<div class=\"map-block mb-4 full-w-xs\">
  708. \t\t<picture class=\"map-picture\">
  709. \t\t\t<source srcset=\"{{ asset('assets/images/background/map@480.jpg') }}\" media=\"(max-width: 480px)\">
  710. \t\t\t<source srcset=\"{{ asset('assets/images/background/map@930.jpg') }}\" media=\"(max-width: 960px)\">
  711. \t\t\t<img class=\"map-image\" src=\"{{ asset('assets/images/background/map@1380.jpg') }}\" alt=\"Интим-карта Москвы\" loading=\"lazy\">
  712. \t\t</picture>
  713. \t\t<div class=\"map-block-content d-flex-c\">
  714. \t\t\t<div class=\"map-block-title fw-700 mb-2\">Интим-карта {{ city.name|geo_name('genitive') }}</div>
  715. \t\t\t<div class=\"map-block-text\">Поиск анкет рядом с Вами</div>
  716. \t\t\t<a class=\"map-block-link btn btn-main\" href=\"{{ path('map.page', {'city': city.uriIdentity}) }}\">
  717. \t\t\t\t<svg class=\"btn-icon\" width=\"25\" height=\"25\" fill=\"none\"><path fill-rule=\"evenodd\" d=\"M4.674 8.944c0-4.314 3.512-7.826 7.826-7.826s7.826 3.512 7.826 7.826c0 5.448-6.809 13.049-7.102 13.372l-.724.802-.724-.802c-.293-.323-7.102-7.924-7.102-13.372Zm1.957 0c0 3.462 3.736 8.667 5.869 11.22 1.712-2.064 5.87-7.474 5.87-11.22a5.874 5.874 0 0 0-5.87-5.87 5.874 5.874 0 0 0-5.87 5.87Zm5.869 0c.812 0 1.467-.656 1.467-1.468 0-.812-.655-1.467-1.467-1.467s-1.467.665-1.467 1.467c0 .812.655 1.468 1.467 1.468Zm-2.935 2.445c0-.978 1.957-1.467 2.935-1.467s2.935.489 2.935 1.467v.118a3.88 3.88 0 0 1-2.935 1.35 3.88 3.88 0 0 1-2.935-1.35v-.118Z\" clip-rule=\"evenodd\"/></svg>
  718. \t\t\t\t<span class=\"btn-text\">Искать на карте</span>
  719. \t\t\t</a>
  720. \t\t</div>
  721. \t</div>
  722. \t{# Реки #}
  723. \t{% if profiles and profiles.currentPage >= 2 %}
  724. \t\t<div id=\"recommendations\">
  725. \t\t\t{%- set excludeRecommendationProfileIds = profiles|map(p => p.id)|join(', ') -%}
  726. \t\t\t{%- include 'recommendations/_profile_recommendations.html.twig' with {componentClass: 'mobile'} -%}
  727. \t\t</div>
  728. \t{% endif %}
  729. \t{% if route == 'homepage' or
  730. \t\t(mainListingFirstPage and app.request.get('city').id == default_city().id)
  731. \t%}
  732. \t\t<div class=\"widget-profiles-by-categories\" id=\"widget_profiles_by_categories\"></div>
  733. \t\t<script>
  734. \t\t\tdocument.addEventListener('DOMContentLoaded', () => {
  735. \t\t\t\tconst widgetElement = document.querySelector('#widget_profiles_by_categories');
  736. \t\t\t\tfunction getProfiles() {
  737. \t\t\t\t\tfetch('{{ path('profile_widget.by_categories', {city: app.request.attributes.get('city', default_city()).uriIdentity}) }}', {
  738. \t\t\t\t\t\tmethod: 'GET',
  739. \t\t\t\t\t\theaders: {
  740. \t\t\t\t\t\t\t\"X-Requested-With\": \"XMLHttpRequest\"
  741. \t\t\t\t\t\t},
  742. \t\t\t\t\t}).then(response => {
  743. \t\t\t\t\t\tif (response.status < 300) {
  744. \t\t\t\t\t\t\treturn response.text();
  745. \t\t\t\t\t\t} else {
  746. \t\t\t\t\t\t\tconsole.warn(\" \");
  747. \t\t\t\t\t\t\treturn null;
  748. \t\t\t\t\t\t}
  749. \t\t\t\t\t}).then(response => {
  750. \t\t\t\t\t\twidgetElement.innerHTML = response;
  751. \t\t\t\t\t\tconst elementsRoot = [...document.querySelectorAll('#profile-list-new', '#profile-list-approved', '#profile-list-elite')];
  752. \t\t\t\t\t\telementsRoot.forEach(root => {
  753. \t\t\t\t\t\t\tif (root.childElementCount === 0) {
  754. \t\t\t\t\t\t\t\troot.previousElementSibling.remove();
  755. \t\t\t\t\t\t\t\troot.remove();
  756. \t\t\t\t\t\t\t}
  757. \t\t\t\t\t\t});
  758. \t\t\t\t\t});
  759. \t\t\t\t}
  760. \t\t\t\tif ('IntersectionObserver' in window) {
  761. \t\t\t\t\tconst observer = new IntersectionObserver((entries) => {
  762. \t\t\t\t\t\tif (entries[0].isIntersecting) {
  763. \t\t\t\t\t\t\tobserver.disconnect();
  764. \t\t\t\t\t\t\tgetProfiles();
  765. \t\t\t\t\t\t}
  766. \t\t\t\t\t}, { rootMargin: '100px' });
  767. \t\t\t\t\tobserver.observe(widgetElement);
  768. \t\t\t\t} else {
  769. \t\t\t\t\tgetProfiles();
  770. \t\t\t\t}
  771. \t\t\t});
  772. \t\t</script>
  773. \t{% endif %}
  774. \t{# {% set circle = app.request.get('_route') == 'profile_list.list_by_provided_service' ? inner_linkage_circle('service') : inner_linkage_circle('prostitutes') %}
  775. \t{% if circle is not null %}
  776. \t\t<div class=\"station-pages-linkage-circle\">
  777. \t\t\t{% if circle[0] is defined and circle[0] is not null %}<a href=\"{{ circle[0].href }}\"><i class=\"prev\"></i>{{ circle[0].text }}</a>{% endif %}
  778. \t\t\t{% if circle[0] is defined and circle[0] is not null
  779. \t\t\t\tand circle[1] is defined and circle[1] is not null %}<i class=\"sep\"></i>{% endif %}
  780. \t\t\t{% if circle[1] is defined and circle[1] is not null %}<a href=\"{{ circle[1].href }}\">{{ circle[1].text }}<i class=\"next\"></i></a>{% endif %}
  781. \t\t</div>
  782. \t{% endif %}
  783. \t{% set stations_circle = station_pages_linkage_circle() %}
  784. \t{% if stations_circle is not null %}
  785. \t\t<div class=\"station-pages-linkage-circle\">
  786. \t\t\t{% if stations_circle[0] is defined and stations_circle[0] is not null %}<a href=\"{{ stations_circle[0].href }}\"><i class=\"prev\"></i>{{ stations_circle[0].text }}</a>{% endif %}
  787. \t\t\t{% if stations_circle[0] is defined and stations_circle[0] is not null
  788. \t\t\t\tand stations_circle[1] is defined and stations_circle[1] is not null %}<i class=\"sep\"></i>{% endif %}
  789. \t\t\t{% if stations_circle[1] is defined and stations_circle[1] is not null %}<a href=\"{{ stations_circle[1].href }}\">{{ stations_circle[1].text }}<i class=\"next\"></i></a>{% endif %}
  790. \t\t</div>
  791. \t{% endif %}
  792. \t{% set cities_circle = city_main_pages_linkage_circle() %}
  793. \t{% if cities_circle is not null %}
  794. \t\t<div class=\"station-pages-linkage-circle\">
  795. \t\t\t{% if cities_circle[0] is defined and cities_circle[0] is not null %}<a href=\"{{ cities_circle[0].href }}\"><i class=\"prev\"></i>{{ cities_circle[0].text }}</a>{% endif %}
  796. \t\t\t{% if cities_circle[0] is defined and cities_circle[0] is not null
  797. \t\t\t\tand cities_circle[1] is defined and cities_circle[1] is not null %}<i class=\"sep\"></i>{% endif %}
  798. \t\t\t{% if cities_circle[1] is defined and cities_circle[1] is not null %}<a href=\"{{ cities_circle[1].href }}\">{{ cities_circle[1].text }}<i class=\"next\"></i></a>{% endif %}
  799. \t\t</div>
  800. \t{% endif %} #}
  801. \t{# {{ include('components/last_girl_list.html.twig') }} #}
  802. \t{# комменты анкет для листинга станции #}
  803.     {# {% include 'ProfileList/station_comments.partial.html.twig' %} #}
  804. \t{%- if isShowTopOnBottomSeo -%}
  805. \t\t{{- include ('__design/v2023/components/seo-article.html.twig', { 'type': 'top', \"noindex\": true }) -}}
  806. \t{%- endif -%}
  807. \t{%- if isShowBottomSeo -%}
  808. \t\t{{- include ('__design/v2023/components/seo-article.html.twig', { 'type': 'bottom', \"noindex\": true }) -}}
  809. \t{%- endif -%}
  810. {% endblock %}
  811. {% block javascripts %}
  812. \t{{parent()}}
  813. \t<script>
  814. \t\tconst listingRoute = '{{ app.request.attributes.get('_route') }}' == '' ? 'profile_list.list_by_city' : '{{ app.request.attributes.get('_route') }}';
  815.         window._lD = {
  816.             setLastViewedListing: listingRoute,
  817.             cityUrl: \"{{city.uriIdentity}}\",
  818.         };
  819. \t\twindow.siteData = {
  820. \t\t\tcity: \"{{ app.request.attributes.get('city', default_city()).uriIdentity }}\",
  821. \t\t\tstations: {
  822.                 {%- for station in stations() -%}
  823.                     \"{{ station.name|trans }}\": \"{{ path('profile_list.list_by_station', {'city': station.city.uriIdentity, 'station': station.uriIdentity}) }}\"{% if not loop.last %},{% endif %}
  824.                 {%- endfor -%}
  825.             }
  826. \t\t};
  827. \t\t{# document.addEventListener('DOMContentLoaded', function() {
  828. \t\t\t{% if profiles and profiles.totalCount > 0 %}
  829. \t\t\t\t{%- set profilesId = profiles|map(p => p.id)|join(',') -%}
  830. \t\t\t\twindow.increase_shows({
  831. \t\t\t\t\tprofiles: [{{ profilesId }}],
  832. \t\t\t\t\troute: '{{ app.request.attributes.get('_route') }}',
  833. \t\t\t\t})
  834. \t\t\t{% endif %}
  835. \t\t}); #}
  836. \t\tdocument.addEventListener('header:update', (event) => {
  837. \t\t\tconst userData = event.detail?.data;
  838. \t\t\tif (userData.user && userData.role === 'advertiser') return;
  839. \t\t\t{% include 'ProfileList/_favorite-button.partial.script.js' %}
  840. \t\t})
  841. \t</script>
  842. {% endblock %}""ProfileList/list.html.twig""/app/templates/ProfileList/list.html.twig");
  843.     }
  844. }