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

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