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

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