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

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.             'title' => [$this'block_title'],
  24.             'metaDescription' => [$this'block_metaDescription'],
  25.             'name_page' => [$this'block_name_page'],
  26.             'current_menu_map' => [$this'block_current_menu_map'],
  27.             'canonical' => [$this'block_canonical'],
  28.             'stylesheet' => [$this'block_stylesheet'],
  29.             'mainContainer' => [$this'block_mainContainer'],
  30.             'mainList' => [$this'block_mainList'],
  31.             'showMore' => [$this'block_showMore'],
  32.             'javascripts' => [$this'block_javascripts'],
  33.         ];
  34.     }
  35.     protected function doGetParent(array $context)
  36.     {
  37.         // line 1
  38.         return "grid.html.twig";
  39.     }
  40.     protected function doDisplay(array $context, array $blocks = [])
  41.     {
  42.         $macros $this->macros;
  43.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  44.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.html.twig"));
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.html.twig"));
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.html.twig"));
  49.         // line 36
  50.         $context["listingPage"] = (twig_get_attribute($this->env$this->source, ($context["profiles"] ?? null), "currentPage", [], "any"truetruefalse36) && (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.'36$this->source); })()), "currentPage", [], "any"falsefalsefalse36) > 1));
  51.         // line 37
  52.         $context["isFirstPage"] = (twig_get_attribute($this->env$this->source, ($context["profiles"] ?? null), "currentPage", [], "any"truetruefalse37) && (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.'37$this->source); })()), "currentPage", [], "any"falsefalsefalse37) == 1));
  53.         // line 1
  54.         $this->parent $this->loadTemplate("grid.html.twig""ProfileList/list.html.twig"1);
  55.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  56.         
  57.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  58.         
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  60.         
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  62.     }
  63.     // line 30
  64.     public function block_title($context, array $blocks = [])
  65.     {
  66.         $macros $this->macros;
  67.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  68.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  73.         echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoExtension']->metaTitle(), "html"nulltrue);
  74.         
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  76.         
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  78.         
  79.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  80.     }
  81.     // line 32
  82.     public function block_metaDescription($context, array $blocks = [])
  83.     {
  84.         $macros $this->macros;
  85.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  86.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  88.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  90.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  91.         // line 33
  92.         echo "\t<meta name=\"description\" content=\"";
  93.         echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoExtension']->metaDescription(), "html"nulltrue);
  94.         echo "\">
  95. ";
  96.         
  97.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  98.         
  99.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  100.         
  101.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  102.     }
  103.     // line 41
  104.     public function block_name_page($context, array $blocks = [])
  105.     {
  106.         $macros $this->macros;
  107.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  108.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name_page"));
  109.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  110.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name_page"));
  111.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  112.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name_page"));
  113.         echo "girls-list";
  114.         
  115.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  116.         
  117.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  118.         
  119.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  120.     }
  121.     // line 42
  122.     public function block_current_menu_map($context, array $blocks = [])
  123.     {
  124.         $macros $this->macros;
  125.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  126.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""current_menu_map"));
  127.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  128.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""current_menu_map"));
  129.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  130.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""current_menu_map"));
  131.         echo " current";
  132.         
  133.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  134.         
  135.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  136.         
  137.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  138.     }
  139.     // line 44
  140.     public function block_canonical($context, array $blocks = [])
  141.     {
  142.         $macros $this->macros;
  143.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  144.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""canonical"));
  145.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  146.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""canonical"));
  147.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  148.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""canonical"));
  149.         // line 45
  150.         echo "\t";
  151.         // line 46
  152.         echo "
  153. \t";
  154.         // line 47
  155.         $context["activeUri"] = 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.'47$this->source); })()), "request", [], "any"falsefalsefalse47), "requestUri", [], "any"falsefalsefalse47);
  156.         // line 48
  157.         echo "\t";
  158.         if ((((((((((twig_get_attribute($this->env$this->source,         // line 49
  159. (isset($context["city"]) || array_key_exists("city"$context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.'49$this->source); })()), "equals", [$this->extensions['App\Twig\DefaultCityExtension']->defaultCity()], "method"falsefalsefalse49) && (twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 50
  160. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'50$this->source); })()), "request", [], "any"falsefalsefalse50), "attributes", [], "any"falsefalsefalse50), "get", ["_route_params"], "method"falsefalsefalse50)) == 2)) && twig_in_filter("page",         // line 51
  161. (isset($context["activeUri"]) || array_key_exists("activeUri"$context) ? $context["activeUri"] : (function () { throw new RuntimeError('Variable "activeUri" does not exist.'51$this->source); })()))) && !twig_in_filter("list_approved"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 52
  162. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'52$this->source); })()), "request", [], "any"falsefalsefalse52), "attributes", [], "any"falsefalsefalse52), "get", ["_route"], "method"falsefalsefalse52))) && !twig_in_filter("list_new"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 53
  163. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'53$this->source); })()), "request", [], "any"falsefalsefalse53), "attributes", [], "any"falsefalsefalse53), "get", ["_route"], "method"falsefalsefalse53))) && !twig_in_filter("list_with_comments"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 54
  164. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'54$this->source); })()), "request", [], "any"falsefalsefalse54), "attributes", [], "any"falsefalsefalse54), "get", ["_route"], "method"falsefalsefalse54))) && !twig_in_filter("list_with_video"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 55
  165. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'55$this->source); })()), "request", [], "any"falsefalsefalse55), "attributes", [], "any"falsefalsefalse55), "get", ["_route"], "method"falsefalsefalse55))) && !twig_in_filter("list_with_selfie"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 56
  166. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'56$this->source); })()), "request", [], "any"falsefalsefalse56), "attributes", [], "any"falsefalsefalse56), "get", ["_route"], "method"falsefalsefalse56))) && !twig_in_filter("list_price_high"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 57
  167. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'57$this->source); })()), "request", [], "any"falsefalsefalse57), "attributes", [], "any"falsefalsefalse57), "get", ["_route"], "method"falsefalsefalse57))) && !twig_in_filter("list_price_low"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 58
  168. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'58$this->source); })()), "request", [], "any"falsefalsefalse58), "attributes", [], "any"falsefalsefalse58), "get", ["_route"], "method"falsefalsefalse58)))) {
  169.             // line 60
  170.             echo "\t\t";
  171.             // line 64
  172.             echo "\t\t";
  173.             $context["canonicalUrl"] = "/";
  174.             // line 65
  175.             echo "\t";
  176.         } else {
  177.             // line 66
  178.             echo "\t\t";
  179.             // line 67
  180.             echo "\t\t";
  181.             if (twig_in_filter("page", (isset($context["activeUri"]) || array_key_exists("activeUri"$context) ? $context["activeUri"] : (function () { throw new RuntimeError('Variable "activeUri" does not exist.'67$this->source); })()))) {
  182.                 // line 68
  183.                 echo "\t\t\t";
  184.                 $context["page"] = ("page" 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.'68$this->source); })()), "request", [], "any"falsefalsefalse68), "attributes", [], "any"falsefalsefalse68), "get", ["page"], "method"falsefalsefalse68));
  185.                 // line 69
  186.                 echo "\t\t\t";
  187.                 $context["urlAfterCheckPage"] = twig_slice($this->env, (isset($context["activeUri"]) || array_key_exists("activeUri"$context) ? $context["activeUri"] : (function () { throw new RuntimeError('Variable "activeUri" does not exist.'69$this->source); })()), 0, ((twig_length_filter($this->env, (isset($context["activeUri"]) || array_key_exists("activeUri"$context) ? $context["activeUri"] : (function () { throw new RuntimeError('Variable "activeUri" does not exist.'69$this->source); })())) - twig_length_filter($this->env, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'69$this->source); })()))) - 1));
  188.                 // line 70
  189.                 echo "\t\t";
  190.             } else {
  191.                 // line 71
  192.                 echo "\t\t\t";
  193.                 $context["urlAfterCheckPage"] = (isset($context["activeUri"]) || array_key_exists("activeUri"$context) ? $context["activeUri"] : (function () { throw new RuntimeError('Variable "activeUri" does not exist.'71$this->source); })());
  194.                 // line 72
  195.                 echo "\t\t";
  196.             }
  197.             // line 73
  198.             echo "\t\t";
  199.             $context["canonicalUrl"] = (((isset($context["urlAfterCheckPage"]) || array_key_exists("urlAfterCheckPage"$context) ? $context["urlAfterCheckPage"] : (function () { throw new RuntimeError('Variable "urlAfterCheckPage" does not exist.'73$this->source); })())) ? ((isset($context["urlAfterCheckPage"]) || array_key_exists("urlAfterCheckPage"$context) ? $context["urlAfterCheckPage"] : (function () { throw new RuntimeError('Variable "urlAfterCheckPage" does not exist.'73$this->source); })())) : ("/"));
  200.             // line 74
  201.             echo "\t";
  202.         }
  203.         // line 75
  204.         echo "
  205. \t<link rel=\"canonical\" href=\"";
  206.         // line 76
  207.         echo twig_escape_filter($this->env, (isset($context["canonicalUrl"]) || array_key_exists("canonicalUrl"$context) ? $context["canonicalUrl"] : (function () { throw new RuntimeError('Variable "canonicalUrl" does not exist.'76$this->source); })()), "html"nulltrue);
  208.         echo "\">
  209. ";
  210.         
  211.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  212.         
  213.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  214.         
  215.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  216.     }
  217.     // line 79
  218.     public function block_stylesheet($context, array $blocks = [])
  219.     {
  220.         $macros $this->macros;
  221.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  222.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  223.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  224.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  225.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  226.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  227.         // line 80
  228.         echo "\t";
  229.         $this->displayParentBlock("stylesheet"$context$blocks);
  230.         echo "
  231. \t";
  232.         // line 81
  233.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("scripts/filters"null"basicConfig");
  234.         echo "
  235. ";
  236.         
  237.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  238.         
  239.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  240.         
  241.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  242.     }
  243.     // line 84
  244.     public function block_mainContainer($context, array $blocks = [])
  245.     {
  246.         $macros $this->macros;
  247.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  248.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  249.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  250.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  251.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  252.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  253.         // line 85
  254.         echo "\t";
  255.         echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render("breadcrumbs", ["template" => "_menu/breadcrumbs.html.twig"]);
  256.         echo "
  257. \t<header class=\"list_heading\" role=\"heading\">
  258. \t\t<h1 class=\"border-line list_heading__title\" role=\"heading\">";
  259.         // line 87
  260.         echo (($this->extensions['App\Twig\SeoExtension']->pageHeading()) ? ($this->extensions['App\Twig\SeoExtension']->pageHeading()) : ("Проститутки города Питера"));
  261.         echo "</h1>
  262. \t\t<span class=\"list_heading__count\">";
  263.         // line 88
  264.         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.'88$this->source); })()), "totalCount", [], "any"falsefalsefalse88), "html"nulltrue);
  265.         echo "</span>
  266. \t</header>
  267. \t";
  268.         // line 164
  269.         echo "
  270. \t<div aria-hidden=\"true\" class=\"no-display\" style=\"display: none;\">
  271. \t\t<svg xmlns=\"http://www.w3.org/2000/svg\">
  272. \t\t\t<symbol id=\"close\" viewBox=\"0 0 25 24\">
  273. \t\t\t\t<path fill=\"#B5B5B5\" d=\"m17.19 6-4.52 4.51L8.16 6 6.67 7.49l4.51 4.5-4.5 4.52L8.15 18l4.51-4.51L17.2 18l1.48-1.49L14.16 12l4.51-4.51L17.2 6Z\"/>
  274. \t\t\t</symbol>
  275. \t\t\t<symbol id=\"expand\" viewBox=\"0 0 20 20\">
  276. \t\t\t\t<path fill=\"#B5B5B5\" d=\"M15 8.41 13.59 7 10 10.58 6.41 7 5 8.41l5 5 5-5Z\"/>
  277. \t\t\t</symbol>
  278. \t\t\t<symbol id=\"range-off\" viewBox=\"0 0 25 24\">
  279. \t\t\t\t<rect width=\"24\" height=\"4\" x=\".34\" y=\"10\" fill=\"#A3A3A3\" rx=\"2\"/>
  280. \t\t\t\t<circle cx=\"4.34\" cy=\"12\" r=\"3\" fill=\"#fff\" stroke=\"#A3A3A3\" stroke-width=\"2\"/>
  281. \t\t\t\t<circle cx=\"20.34\" cy=\"12\" r=\"3\" fill=\"#fff\" stroke=\"#A3A3A3\" stroke-width=\"2\"/>
  282. \t\t\t</symbol>
  283. \t\t\t<symbol id=\"range-on\" viewBox=\"0 0 25 24\">
  284. \t\t\t\t<rect width=\"24\" height=\"4\" x=\".34\" y=\"10\" fill=\"#A3A3A3\" rx=\"2\"/>
  285. \t\t\t\t<rect width=\"12\" height=\"4\" x=\"6.34\" y=\"10\" fill=\"#f7901d\" rx=\"2\"/>
  286. \t\t\t\t<circle cx=\"6.34\" cy=\"12\" r=\"3\" fill=\"#fff\" stroke=\"#f7901d\" stroke-width=\"2\"/>
  287. \t\t\t\t<circle cx=\"18.34\" cy=\"12\" r=\"3\" fill=\"#fff\" stroke=\"#f7901d\" stroke-width=\"2\"/>
  288. \t\t\t</symbol>
  289. \t\t\t<symbol id=\"filter\" viewBox=\"0 0 24 24\">
  290. \t\t\t\t<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\" />
  291. \t\t\t</symbol>
  292. \t\t\t<symbol id=\"filter-arrow\" viewBox=\"0 0 24 24\">
  293. \t\t\t\t<path d=\"M5.7924 16.6699L4 14.8999L12 6.99992L20 14.8999L18.2076 16.6699L12 10.5399L5.7924 16.6699Z\" fill=\"#B5B5B5\"/>
  294. \t\t\t<symbol>
  295. \t\t</svg>
  296. \t</div>
  297. \t<div id=\"filter-form-root\">
  298. \t\t<button class=\"filter_hide_button rounding\" type=\"button\" id=\"filter_hide_button\">
  299. \t\t\t<svg class=\"filter_hide_button__icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><use xlink:href=\"#filter\"></use></svg>
  300. \t\t\t<span class=\"filter_hide_button__text\" data-filter-hide-text-show>Фильтры</span>
  301. \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>
  302. \t\t</button>
  303. \t\t<div class=\"filter_hide_block\" id=\"filter_hide_block\">
  304. \t\t\t";
  305.         // line 201
  306.         echo "\t\t\t<form name=\"profile_filter_form\" method=\"post\" action=\"/filter/\" class=\"filter_form\" id=\"filter-form\" data-process-url=\"/profile_ctr/increase-shows/\" data-main-class=\"profile_filter\">
  307. \t\t\t\t<div class=\"profile_filter\">
  308. \t\t\t\t\t<button class=\"profile_filter__mobile_button\" type=\"button\">
  309. \t\t\t\t\t\t<svg class=\"profile_filter__mobile_button__icon\" fill=\"#666\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><use xlink:href=\"#filter\"></use></svg>
  310. \t\t\t\t\t\t<span class=\"profile_filter__mobile_button__text\">Фильтры</span>
  311. \t\t\t\t\t\t<svg class=\"profile_filter__mobile_button__icon profile_filter__mobile_button__icon-arrow\" fill=\"#666\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" style=\"transform:rotate(180deg)\"><use xlink:href=\"#filter-arrow\"></use></svg>
  312. \t\t\t\t\t</button>
  313. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  314. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  315. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  316. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  317. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  318. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  319. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  320. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  321. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  322. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  323. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  324. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  325. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  326. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  327. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  328. \t\t\t\t</div>
  329. \t\t\t</form>
  330. \t\t</div>
  331. \t\t<div class=\"profile_filter__tags__container fade_slider__container\">
  332. \t\t\t<div class=\"profile_filter__tags d-none fade_slider\" id=\"filter_tags\">
  333. \t\t\t<button class=\"profile_filter__tag\" type=\"button\" data-all>Сбросить фильтры</button>
  334. \t\t\t</div>
  335. \t\t</div>
  336. \t\t<div class=\"profile_filter__line\" id=\"filter_line\">
  337. \t\t\t<div class=\"profile_filter__line__title\">Найдено <span class=\"profile_filter__line__title__count\">";
  338.         // line 235
  339.         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.'235$this->source); })()), "totalCount", [], "any"falsefalsefalse235), "html"nulltrue);
  340.         echo " ";
  341.         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.'235$this->source); })()), "totalCount", [], "any"falsefalsefalse235), ["анкета""анкеты""анкет"]), "html"nulltrue);
  342.         echo "</span></div>
  343. \t\t\t<button class=\"profile_filter__line__reset\" type=\"button\" id=\"filter_line_reset\">Сбросить фильтры <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=\"#f7901d\"/></svg>
  344. \t\t\t</button>
  345. \t\t</div>
  346. \t</div>
  347. \t";
  348.         // line 241
  349.         $this->displayBlock('mainList'$context$blocks);
  350.         // line 247
  351.         if (((isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'247$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.'247$this->source); })()), "totalCount", [], "any"falsefalsefalse247) > (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.'247$this->source); })()), "currentPage", [], "any"falsefalsefalse247) * 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.'247$this->source); })()), "currentLimit", [], "any"falsefalsefalse247))))) {
  352.             // line 248
  353.             $this->displayBlock('showMore'$context$blocks);
  354.         }
  355.         // line 253
  356.         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.'253$this->source); })()));
  357.         echo "
  358. \t";
  359.         // line 264
  360.         echo "
  361. \t";
  362.         // line 265
  363.         if (((isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'265$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.'265$this->source); })()), "currentPage", [], "any"falsefalsefalse265) >= 2))) {
  364.             // line 266
  365.             echo "\t\t";
  366.             $context["excludeRecommendationProfileIds"] = [];
  367.             // line 267
  368.             echo "\t\t";
  369.             echo twig_include($this->env$context"components/_profile_recommendations.html.twig");
  370.             echo "
  371. \t";
  372.         }
  373.         // line 269
  374.         echo "
  375. \t";
  376.         // line 270
  377.         if ((isset($context["isFirstPage"]) || array_key_exists("isFirstPage"$context) ? $context["isFirstPage"] : (function () { throw new RuntimeError('Variable "isFirstPage" does not exist.'270$this->source); })())) {
  378.             // line 271
  379.             echo "\t";
  380.             echo twig_include($this->env$context"components/seo_text.html.twig", ["type" => "top""noindex" => true]);
  381.             echo "
  382. \t";
  383.             // line 272
  384.             echo twig_include($this->env$context"components/seo_text.html.twig", ["type" => "bottom""noindex" => true]);
  385.             echo "
  386. \t";
  387.         }
  388.         // line 274
  389.         echo "
  390. \t";
  391.         // line 275
  392.         $context["cities_circle"] = $this->extensions['App\Twig\CityMainPagesLinkageExtension']->cityMainPagesLinkageCircle();
  393.         // line 276
  394.         echo "\t";
  395.         if ( !(null === (isset($context["cities_circle"]) || array_key_exists("cities_circle"$context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.'276$this->source); })()))) {
  396.             // line 277
  397.             echo "\t\t<div class=\"city_main_pages_linkage_circle\">
  398. \t\t\t<h3>Также рекомендуем:</h3>
  399. \t\t\t";
  400.             // line 279
  401.             if ( !(null === twig_get_attribute($this->env$this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle"$context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.'279$this->source); })()), 0, [], "array"falsefalsefalse279))) {
  402.                 echo "<a href=\"";
  403.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle"$context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.'279$this->source); })()), 0, [], "array"falsefalsefalse279), "href", [], "any"falsefalsefalse279), "html"nulltrue);
  404.                 echo "\">";
  405.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle"$context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.'279$this->source); })()), 0, [], "array"falsefalsefalse279), "text", [], "any"falsefalsefalse279), "html"nulltrue);
  406.                 echo "</a>";
  407.             }
  408.             // line 280
  409.             echo "\t\t\t";
  410.             if ( !(null === twig_get_attribute($this->env$this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle"$context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.'280$this->source); })()), 1, [], "array"falsefalsefalse280))) {
  411.                 echo "<a href=\"";
  412.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle"$context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.'280$this->source); })()), 1, [], "array"falsefalsefalse280), "href", [], "any"falsefalsefalse280), "html"nulltrue);
  413.                 echo "\">";
  414.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle"$context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.'280$this->source); })()), 1, [], "array"falsefalsefalse280), "text", [], "any"falsefalsefalse280), "html"nulltrue);
  415.                 echo "</a>";
  416.             }
  417.             // line 281
  418.             echo "\t\t</div>
  419. \t";
  420.         }
  421.         // line 283
  422.         echo "
  423. \t";
  424.         // line 284
  425.         $context["circle"] = $this->extensions['App\Twig\InnerLinkageCircleExtension']->innerLinkageCircle();
  426.         // line 285
  427.         echo "\t";
  428.         if ( !(null === (isset($context["circle"]) || array_key_exists("circle"$context) ? $context["circle"] : (function () { throw new RuntimeError('Variable "circle" does not exist.'285$this->source); })()))) {
  429.             // line 286
  430.             echo "\t\t<div class=\"inner_linkage_circle\">
  431. \t\t\t<h3>Также интересуются:</h3>
  432. \t\t\t<a href=\"";
  433.             // line 288
  434.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["circle"]) || array_key_exists("circle"$context) ? $context["circle"] : (function () { throw new RuntimeError('Variable "circle" does not exist.'288$this->source); })()), 0, [], "array"falsefalsefalse288), "href", [], "any"falsefalsefalse288), "html"nulltrue);
  435.             echo "\">";
  436.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["circle"]) || array_key_exists("circle"$context) ? $context["circle"] : (function () { throw new RuntimeError('Variable "circle" does not exist.'288$this->source); })()), 0, [], "array"falsefalsefalse288), "text", [], "any"falsefalsefalse288), "html"nulltrue);
  437.             echo "</a>
  438. \t\t\t<a href=\"";
  439.             // line 289
  440.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["circle"]) || array_key_exists("circle"$context) ? $context["circle"] : (function () { throw new RuntimeError('Variable "circle" does not exist.'289$this->source); })()), 1, [], "array"falsefalsefalse289), "href", [], "any"falsefalsefalse289), "html"nulltrue);
  441.             echo "\">";
  442.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["circle"]) || array_key_exists("circle"$context) ? $context["circle"] : (function () { throw new RuntimeError('Variable "circle" does not exist.'289$this->source); })()), 1, [], "array"falsefalsefalse289), "text", [], "any"falsefalsefalse289), "html"nulltrue);
  443.             echo "</a>
  444. \t\t</div>
  445. \t";
  446.         }
  447.         
  448.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  449.         
  450.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  451.         
  452.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  453.     }
  454.     // line 241
  455.     public function block_mainList($context, array $blocks = [])
  456.     {
  457.         $macros $this->macros;
  458.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  459.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainList"));
  460.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  461.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainList"));
  462.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  463.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainList"));
  464.         // line 242
  465.         echo "\t\t<div class=\"models-items-row flex-wrap\" id=\"profile-list\">
  466.         \t";
  467.         // line 243
  468.         $this->loadTemplate("ProfileList/list.profiles.html.twig""ProfileList/list.html.twig"243)->display(twig_array_merge($context, ["top_profile" => $this->extensions['App\Twig\PaidPlacementsExtension']->currentTopPlacement()]));
  469.         // line 244
  470.         echo "\t\t</div>
  471. \t";
  472.         
  473.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  474.         
  475.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  476.         
  477.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  478.     }
  479.     // line 248
  480.     public function block_showMore($context, array $blocks = [])
  481.     {
  482.         $macros $this->macros;
  483.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  484.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""showMore"));
  485.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  486.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""showMore"));
  487.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  488.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""showMore"));
  489.         // line 249
  490.         $this->loadTemplate("ProfileList/_show_more.profiles.html.twig""ProfileList/list.html.twig"249)->display($context);
  491.         
  492.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  493.         
  494.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  495.         
  496.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  497.     }
  498.     // line 294
  499.     public function block_javascripts($context, array $blocks = [])
  500.     {
  501.         $macros $this->macros;
  502.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  503.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  504.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  505.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  506.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  507.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  508.         // line 295
  509.         echo "\t";
  510.         $context["excludeRecommendationProfileIds"] = [];
  511.         // line 296
  512.         echo "\t";
  513.         $this->displayParentBlock("javascripts"$context$blocks);
  514.         echo "
  515. \t";
  516.         // line 297
  517.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("scripts/filters"null"basicConfig");
  518.         // line 298
  519.         $context["route"] = 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.'298$this->source); })()), "request", [], "any"falsefalsefalse298), "get", ["_route"], "method"falsefalsefalse298);
  520.         // line 299
  521.         if ((!twig_in_filter("profile_search.page", (isset($context["route"]) || array_key_exists("route"$context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.'299$this->source); })())) &&  !((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.'299$this->source); })()), "request", [], "any"falsefalsefalse299), "method", [], "any"falsefalsefalse299) == "GET") && 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.'299$this->source); })()), "request", [], "any"falsefalsefalse299), "isXmlHttpRequest", [], "method"falsefalsefalse299)))) {
  522.             // line 300
  523.             echo "<script>
  524. \t\t\twindow._lD = {
  525. \t\t\t\tformUrl: \"";
  526.             // line 302
  527.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_filters.form", ["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.'302$this->source); })()), "uriIdentity", [], "any"falsefalsefalse302)]), "html"nulltrue);
  528.             echo "\",
  529. \t\t\t\tsetLastViewedListing: '";
  530.             // line 303
  531.             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.'303$this->source); })()), "request", [], "any"falsefalsefalse303), "attributes", [], "any"falsefalsefalse303), "get", ["_route"], "method"falsefalsefalse303), "html"nulltrue);
  532.             echo "',
  533. \t\t\t\tlistingData: [
  534. \t\t\t\t\t['listing', '";
  535.             // line 305
  536.             echo twig_escape_filter($this->env, (isset($context["listing"]) || array_key_exists("listing"$context) ? $context["listing"] : (function () { throw new RuntimeError('Variable "listing" does not exist.'305$this->source); })()), "html"nulltrue);
  537.             echo "'],
  538. \t\t\t\t\t['listingParams', '";
  539.             // line 306
  540.             echo twig_escape_filter($this->envjson_encode((isset($context["listing_parameters"]) || array_key_exists("listing_parameters"$context) ? $context["listing_parameters"] : (function () { throw new RuntimeError('Variable "listing_parameters" does not exist.'306$this->source); })())), "html"nulltrue);
  541.             echo "'.replaceAll('&quot;', '\"')],
  542. \t\t\t\t],
  543. \t\t\t\tcityUrl: \"";
  544.             // line 308
  545.             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.'308$this->source); })()), "uriIdentity", [], "any"falsefalsefalse308), "html"nulltrue);
  546.             echo "\"
  547. \t\t\t}
  548. \t\t\twindow._spb_s = {
  549. \t\t\t\tstations: {";
  550.             // line 312
  551.             $context['_parent'] = $context;
  552.             $context['_seq'] = twig_ensure_traversable($this->extensions['App\Twig\StationsExtension']->stations());
  553.             $context['loop'] = [
  554.               'parent' => $context['_parent'],
  555.               'index0' => 0,
  556.               'index'  => 1,
  557.               'first'  => true,
  558.             ];
  559.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  560.                 $length count($context['_seq']);
  561.                 $context['loop']['revindex0'] = $length 1;
  562.                 $context['loop']['revindex'] = $length;
  563.                 $context['loop']['length'] = $length;
  564.                 $context['loop']['last'] = === $length;
  565.             }
  566.             foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
  567.                 // line 313
  568.                 echo "\"";
  569.                 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"falsefalsefalse313)), "html"nulltrue);
  570.                 echo "\": \"";
  571.                 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"falsefalsefalse313), "uriIdentity", [], "any"falsefalsefalse313), "station" => twig_get_attribute($this->env$this->source$context["station"], "uriIdentity", [], "any"falsefalsefalse313)]), "html"nulltrue);
  572.                 echo "\"";
  573.                 if ( !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse313)) {
  574.                     echo ",";
  575.                 }
  576.                 ++$context['loop']['index0'];
  577.                 ++$context['loop']['index'];
  578.                 $context['loop']['first'] = false;
  579.                 if (isset($context['loop']['length'])) {
  580.                     --$context['loop']['revindex0'];
  581.                     --$context['loop']['revindex'];
  582.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  583.                 }
  584.             }
  585.             $_parent $context['_parent'];
  586.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
  587.             $context array_intersect_key($context$_parent) + $_parent;
  588.             // line 315
  589.             echo "}
  590. \t\t\t};
  591. \t\t\tdocument.addEventListener(\"DOMContentLoaded\", () => {
  592. \t\t\t\tnew window._filterLoader({
  593. \t\t\t\t\tformUrl: \"";
  594.             // line 320
  595.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_filters.form", ["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.'320$this->source); })()), "uriIdentity", [], "any"falsefalsefalse320)]), "html"nulltrue);
  596.             echo "\",
  597. \t\t\t\t\tdefaultProfilesCount: \"";
  598.             // line 321
  599.             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.'321$this->source); })()), "totalCount", [], "any"falsefalsefalse321), "html"nulltrue);
  600.             echo "\"
  601. \t\t\t\t});
  602. \t\t\t})
  603. \t\t</script>
  604. \t\t";
  605.         }
  606.         
  607.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  608.         
  609.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  610.         
  611.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  612.     }
  613.     // line 3
  614.     public function macro__get_min($__price1__ null$__price2__ null$__currency__ null, ...$__varargs__)
  615.     {
  616.         $macros $this->macros;
  617.         $context $this->env->mergeGlobals([
  618.             "price1" => $__price1__,
  619.             "price2" => $__price2__,
  620.             "currency" => $__currency__,
  621.             "varargs" => $__varargs__,
  622.         ]);
  623.         $blocks = [];
  624.         ob_start();
  625.         try {
  626.             $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  627.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_get_min"));
  628.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  629.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_get_min"));
  630.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  631.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_get_min"));
  632.             // line 4
  633.             echo "\t";
  634.             $context["price1"] = (((array_key_exists("price1"$context) && ((isset($context["price1"]) || array_key_exists("price1"$context) ? $context["price1"] : (function () { throw new RuntimeError('Variable "price1" does not exist.'4$this->source); })()) > 0))) ? ((isset($context["price1"]) || array_key_exists("price1"$context) ? $context["price1"] : (function () { throw new RuntimeError('Variable "price1" does not exist.'4$this->source); })())) : (999999999));
  635.             // line 5
  636.             echo "\t";
  637.             $context["price2"] = (((array_key_exists("price2"$context) && ((isset($context["price2"]) || array_key_exists("price2"$context) ? $context["price2"] : (function () { throw new RuntimeError('Variable "price2" does not exist.'5$this->source); })()) > 0))) ? ((isset($context["price2"]) || array_key_exists("price2"$context) ? $context["price2"] : (function () { throw new RuntimeError('Variable "price2" does not exist.'5$this->source); })())) : (999999999));
  638.             // line 6
  639.             echo "\t";
  640.             if ((((isset($context["price1"]) || array_key_exists("price1"$context) ? $context["price1"] : (function () { throw new RuntimeError('Variable "price1" does not exist.'6$this->source); })()) == 999999999) && ((isset($context["price2"]) || array_key_exists("price2"$context) ? $context["price2"] : (function () { throw new RuntimeError('Variable "price2" does not exist.'6$this->source); })()) == 999999999))) {
  641.                 // line 7
  642.                 echo "\t\t-
  643. \t";
  644.             } elseif ((            // line 8
  645. (isset($context["price1"]) || array_key_exists("price1"$context) ? $context["price1"] : (function () { throw new RuntimeError('Variable "price1" does not exist.'8$this->source); })()) == 999999999)) {
  646.                 // line 9
  647.                 echo "\t\t";
  648.                 echo twig_escape_filter($this->env, (isset($context["price2"]) || array_key_exists("price2"$context) ? $context["price2"] : (function () { throw new RuntimeError('Variable "price2" does not exist.'9$this->source); })()), "html"nulltrue);
  649.                 echo " ";
  650.                 echo twig_escape_filter($this->env, (isset($context["currency"]) || array_key_exists("currency"$context) ? $context["currency"] : (function () { throw new RuntimeError('Variable "currency" does not exist.'9$this->source); })()), "html"nulltrue);
  651.                 echo "
  652. \t";
  653.             } elseif ((            // line 10
  654. (isset($context["price2"]) || array_key_exists("price2"$context) ? $context["price2"] : (function () { throw new RuntimeError('Variable "price2" does not exist.'10$this->source); })()) == 999999999)) {
  655.                 // line 11
  656.                 echo "\t\t";
  657.                 echo twig_escape_filter($this->env, (isset($context["price1"]) || array_key_exists("price1"$context) ? $context["price1"] : (function () { throw new RuntimeError('Variable "price1" does not exist.'11$this->source); })()), "html"nulltrue);
  658.                 echo " ";
  659.                 echo twig_escape_filter($this->env, (isset($context["currency"]) || array_key_exists("currency"$context) ? $context["currency"] : (function () { throw new RuntimeError('Variable "currency" does not exist.'11$this->source); })()), "html"nulltrue);
  660.                 echo "
  661. \t";
  662.             } else {
  663.                 // line 13
  664.                 echo "\t\t";
  665.                 echo twig_escape_filter($this->envmin([(isset($context["price1"]) || array_key_exists("price1"$context) ? $context["price1"] : (function () { throw new RuntimeError('Variable "price1" does not exist.'13$this->source); })()), (isset($context["price2"]) || array_key_exists("price2"$context) ? $context["price2"] : (function () { throw new RuntimeError('Variable "price2" does not exist.'13$this->source); })())]), "html"nulltrue);
  666.                 echo " ";
  667.                 echo twig_escape_filter($this->env, (isset($context["currency"]) || array_key_exists("currency"$context) ? $context["currency"] : (function () { throw new RuntimeError('Variable "currency" does not exist.'13$this->source); })()), "html"nulltrue);
  668.                 echo "
  669. \t";
  670.             }
  671.             
  672.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  673.             
  674.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  675.             
  676.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  677.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  678.         } finally {
  679.             ob_end_clean();
  680.         }
  681.     }
  682.     // line 17
  683.     public function macro__check_out_price($__price1__ null$__price2__ null$__price3__ null, ...$__varargs__)
  684.     {
  685.         $macros $this->macros;
  686.         $context $this->env->mergeGlobals([
  687.             "price1" => $__price1__,
  688.             "price2" => $__price2__,
  689.             "price3" => $__price3__,
  690.             "varargs" => $__varargs__,
  691.         ]);
  692.         $blocks = [];
  693.         ob_start();
  694.         try {
  695.             $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  696.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_check_out_price"));
  697.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  698.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_check_out_price"));
  699.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  700.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_check_out_price"));
  701.             // line 18
  702.             $context["maxPrice"] = 999999999;
  703.             // line 19
  704.             $context["price1"] = (((array_key_exists("price1"$context) && ((isset($context["price1"]) || array_key_exists("price1"$context) ? $context["price1"] : (function () { throw new RuntimeError('Variable "price1" does not exist.'19$this->source); })()) > 0))) ? ((isset($context["price1"]) || array_key_exists("price1"$context) ? $context["price1"] : (function () { throw new RuntimeError('Variable "price1" does not exist.'19$this->source); })())) : ((isset($context["maxPrice"]) || array_key_exists("maxPrice"$context) ? $context["maxPrice"] : (function () { throw new RuntimeError('Variable "maxPrice" does not exist.'19$this->source); })())));
  705.             // line 20
  706.             $context["price2"] = (((array_key_exists("price2"$context) && ((isset($context["price2"]) || array_key_exists("price2"$context) ? $context["price2"] : (function () { throw new RuntimeError('Variable "price2" does not exist.'20$this->source); })()) > 0))) ? ((isset($context["price2"]) || array_key_exists("price2"$context) ? $context["price2"] : (function () { throw new RuntimeError('Variable "price2" does not exist.'20$this->source); })())) : ((isset($context["maxPrice"]) || array_key_exists("maxPrice"$context) ? $context["maxPrice"] : (function () { throw new RuntimeError('Variable "maxPrice" does not exist.'20$this->source); })())));
  707.             // line 21
  708.             $context["price3"] = (((array_key_exists("price3"$context) && ((isset($context["price3"]) || array_key_exists("price3"$context) ? $context["price3"] : (function () { throw new RuntimeError('Variable "price3" does not exist.'21$this->source); })()) > 0))) ? ((isset($context["price3"]) || array_key_exists("price3"$context) ? $context["price3"] : (function () { throw new RuntimeError('Variable "price3" does not exist.'21$this->source); })())) : ((isset($context["maxPrice"]) || array_key_exists("maxPrice"$context) ? $context["maxPrice"] : (function () { throw new RuntimeError('Variable "maxPrice" does not exist.'21$this->source); })())));
  709.             // line 23
  710.             if (((((isset($context["price1"]) || array_key_exists("price1"$context) ? $context["price1"] : (function () { throw new RuntimeError('Variable "price1" does not exist.'23$this->source); })()) != (isset($context["maxPrice"]) || array_key_exists("maxPrice"$context) ? $context["maxPrice"] : (function () { throw new RuntimeError('Variable "maxPrice" does not exist.'23$this->source); })())) || ((isset($context["price2"]) || array_key_exists("price2"$context) ? $context["price2"] : (function () { throw new RuntimeError('Variable "price2" does not exist.'23$this->source); })()) != (isset($context["maxPrice"]) || array_key_exists("maxPrice"$context) ? $context["maxPrice"] : (function () { throw new RuntimeError('Variable "maxPrice" does not exist.'23$this->source); })()))) || ((isset($context["price3"]) || array_key_exists("price3"$context) ? $context["price3"] : (function () { throw new RuntimeError('Variable "price3" does not exist.'23$this->source); })()) != (isset($context["maxPrice"]) || array_key_exists("maxPrice"$context) ? $context["maxPrice"] : (function () { throw new RuntimeError('Variable "maxPrice" does not exist.'23$this->source); })())))) {
  711.                 // line 24
  712.                 echo "1";
  713.             } else {
  714.                 // line 26
  715.                 echo "0";
  716.             }
  717.             
  718.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  719.             
  720.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  721.             
  722.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  723.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  724.         } finally {
  725.             ob_end_clean();
  726.         }
  727.     }
  728.     /**
  729.      * @codeCoverageIgnore
  730.      */
  731.     public function getTemplateName()
  732.     {
  733.         return "ProfileList/list.html.twig";
  734.     }
  735.     /**
  736.      * @codeCoverageIgnore
  737.      */
  738.     public function isTraitable()
  739.     {
  740.         return false;
  741.     }
  742.     /**
  743.      * @codeCoverageIgnore
  744.      */
  745.     public function getDebugInfo()
  746.     {
  747.         return array (  821 => 26,  818 => 24,  816 => 23,  814 => 21,  812 => 20,  810 => 19,  808 => 18,  784 => 17,  760 => 13,  752 => 11,  750 => 10,  743 => 9,  741 => 8,  738 => 7,  735 => 6,  732 => 5,  729 => 4,  705 => 3,  686 => 321,  682 => 320,  675 => 315,  654 => 313,  637 => 312,  631 => 308,  626 => 306,  622 => 305,  617 => 303,  613 => 302,  609 => 300,  607 => 299,  605 => 298,  603 => 297,  598 => 296,  595 => 295,  582 => 294,  569 => 249,  556 => 248,  542 => 244,  540 => 243,  537 => 242,  524 => 241,  505 => 289,  499 => 288,  495 => 286,  492 => 285,  490 => 284,  487 => 283,  483 => 281,  474 => 280,  466 => 279,  462 => 277,  459 => 276,  457 => 275,  454 => 274,  449 => 272,  444 => 271,  442 => 270,  439 => 269,  433 => 267,  430 => 266,  428 => 265,  425 => 264,  420 => 253,  417 => 248,  415 => 247,  413 => 241,  402 => 235,  366 => 201,  328 => 164,  323 => 88,  319 => 87,  313 => 85,  300 => 84,  285 => 81,  280 => 80,  267 => 79,  252 => 76,  249 => 75,  246 => 74,  243 => 73,  240 => 72,  237 => 71,  234 => 70,  231 => 69,  228 => 68,  225 => 67,  223 => 66,  220 => 65,  217 => 64,  215 => 60,  213 => 58,  212 => 57,  211 => 56,  210 => 55,  209 => 54,  208 => 53,  207 => 52,  206 => 51,  205 => 50,  204 => 49,  202 => 48,  200 => 47,  197 => 46,  195 => 45,  182 => 44,  157 => 42,  132 => 41,  116 => 33,  103 => 32,  78 => 30,  64 => 1,  62 => 37,  60 => 36,  44 => 1,);
  748.     }
  749.     public function getSourceContext()
  750.     {
  751.         return new Source("{% extends 'grid.html.twig' %}
  752. {% macro _get_min(price1, price2, currency) %}
  753. \t{% set price1 = price1 is defined and price1 > 0 ? price1 : 999999999 %}
  754. \t{% set price2 = price2 is defined and price2 > 0 ? price2 : 999999999 %}
  755. \t{% if price1 == 999999999 and price2 == 999999999 %}
  756. \t\t-
  757. \t{% elseif price1 == 999999999 %}
  758. \t\t{{price2}} {{ currency }}
  759. \t{% elseif price2 == 999999999 %}
  760. \t\t{{price1}} {{ currency }}
  761. \t{% else %}
  762. \t\t{{ min([price1,price2]) }} {{ currency }}
  763. \t{% endif %}
  764. {% endmacro %}
  765. {%- macro _check_out_price(price1, price2, price3) -%}
  766. \t{%- set maxPrice = 999999999 %}
  767. \t{%- set price1 = price1 is defined and price1 > 0 ? price1 : maxPrice -%}
  768. \t{%- set price2 = price2 is defined and price2 > 0 ? price2 : maxPrice -%}
  769. \t{%- set price3 = price3 is defined and price3 > 0 ? price3 : maxPrice -%}
  770. \t{%- if price1 != maxPrice or price2 != maxPrice or price3 != maxPrice -%}
  771. \t\t1
  772. \t{%- else -%}
  773. \t\t0
  774. \t{%- endif -%}
  775. {%- endmacro -%}
  776. {% block title %}{{ seo_title() }}{% endblock %}
  777. {% block metaDescription %}
  778. \t<meta name=\"description\" content=\"{{ seo_description() }}\">
  779. {% endblock %}
  780. {% set listingPage = profiles.currentPage is defined and profiles.currentPage > 1 %}
  781. {% set isFirstPage = profiles.currentPage is defined and profiles.currentPage == 1 %}
  782. {# {% block canonical %}<link rel=\"canonical\" href=\"{{ canonical_url() }}{{ listingPage ? 'page' ~ profiles.currentPage ~ '/' : ''}}\">{% endblock %} #}
  783. {% block name_page %}girls-list{% endblock %}
  784. {% block current_menu_map %} current{% endblock %}
  785. {% block canonical %}
  786. \t{# Обрезаем каноникал #}
  787. \t{% set activeUri = app.request.requestUri %}
  788. \t{% if
  789. \t\tcity.equals(default_city()) and
  790. \t\tapp.request.attributes.get('_route_params')|length == 2 and
  791. \t\t'page' in activeUri and
  792. \t\t'list_approved' not in app.request.attributes.get('_route') and
  793. \t\t'list_new' not in app.request.attributes.get('_route') and
  794. \t\t'list_with_comments' not in app.request.attributes.get('_route') and
  795. \t\t'list_with_video' not in app.request.attributes.get('_route') and
  796. \t\t'list_with_selfie' not in app.request.attributes.get('_route') and
  797. \t\t'list_price_high' not in app.request.attributes.get('_route') and
  798. \t\t'list_price_low' not in app.request.attributes.get('_route')
  799. \t%}
  800. \t\t{# Если город стандартный и без категорий - выводим `/`
  801. \t\t\tЕсли _route_params|lenght = 3 и _route_params.page not indefind - работаем
  802. \t\t\tЕсли отключен язык то _route_params|lenght = 2
  803. \t\t\t#}
  804. \t\t{% set canonicalUrl = '/' %}
  805. \t{% else %}
  806. \t\t{# Если город другой или есть категория - выводим `/{city}/{cat}/`#}
  807. \t\t{% if 'page' in activeUri %}
  808. \t\t\t{% set page = 'page' ~ app.request.attributes.get('page') %}
  809. \t\t\t{% set urlAfterCheckPage = activeUri|slice(0, (activeUri|length - page|length - 1)) %}
  810. \t\t{% else %}
  811. \t\t\t{% set urlAfterCheckPage = activeUri %}
  812. \t\t{% endif %}
  813. \t\t{% set canonicalUrl = urlAfterCheckPage ? urlAfterCheckPage : '/' %}
  814. \t{% endif %}
  815. \t<link rel=\"canonical\" href=\"{{ canonicalUrl }}\">
  816. {% endblock %}
  817. {% block stylesheet %}
  818. \t{{ parent() }}
  819. \t{{ encore_entry_link_tags(\"scripts/filters\", null, 'basicConfig') }}
  820. {% endblock %}
  821. {% block mainContainer %}
  822. \t{{ knp_menu_render('breadcrumbs', {'template': '_menu/breadcrumbs.html.twig'}) }}
  823. \t<header class=\"list_heading\" role=\"heading\">
  824. \t\t<h1 class=\"border-line list_heading__title\" role=\"heading\">{{ seo_heading() ? seo_heading() : 'Проститутки города Питера' }}</h1>
  825. \t\t<span class=\"list_heading__count\">{{ profiles.totalCount }}</span>
  826. \t</header>
  827. \t{#
  828. \tфича Пустые категории
  829. \t{% if source is defined and source %}
  830. \t\t<div class=\"empty-category level d-flex overflow-hidden mb-4\">
  831. \t\t\t<div class=\"empty-category__icon d-flex align-items-center justify-content-center\">
  832. \t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewbox=\"0 0 34 30\"><path fill=\"#FF3F40\" fill-rule=\"evenodd\" d=\"M.5 29.25L17 .75l16.5 28.5H.5zm27.8-3L17 6.73 5.7 26.25h22.6zm-12.8-4.5v3h3v-3h-3zm0-9h3v6h-3v-6z\" clip-rule=\"evenodd\"/></svg>
  833. \t\t\t</div>
  834. \t\t\t<div class=\"flex-fill px-3 px-sm-4 py-3\">
  835. \t\t\t\t<p class=\"m-0\">
  836. \t\t\t\t\t{% if source == 'county' %}К сожалению, все девушки из округа
  837. \t\t\t\t\t\t<a href=\"{{ category_url }}\">{{ county.name }}</a>
  838. \t\t\t\t\t\tсейчас отдыхают, посмотрите проституток из других округов города
  839. \t\t\t\t\t\t{{ city.name|trans }}.
  840. \t\t\t\t\t{% endif %}
  841. \t\t\t\t\t{% if source == 'district' %}К сожалению, все девушки из района
  842. \t\t\t\t\t\t<a href=\"{{ category_url }}\">{{ district.name }}</a>
  843. \t\t\t\t\t\tсейчас отдыхают, посмотрите проституток из других районов города
  844. \t\t\t\t\t\t{{ city.name|trans }}.
  845. \t\t\t\t\t{% endif %}
  846. \t\t\t\t\t{% if source == 'station' %}К сожалению, все девушки работающие вблизи метро
  847. \t\t\t\t\t\t<a href=\"{{ category_url }}\">{{ station.name }}</a>
  848. \t\t\t\t\t\tсейчас отдыхают, посмотрите проституток у других станций метро в этом районе города
  849. \t\t\t\t\t\t{{ city.name|trans }}.
  850. \t\t\t\t\t{% endif %}
  851. \t\t\t\t\t{% if source == 'approved' or source == 'with_comments' or  source == 'with_video' or source == 'elite' or source == 'with_selfie' %}
  852. \t\t\t\t\t\t{% if source == 'approved' %}
  853. \t\t\t\t\t\t\t{% set source_name = '<a href=\"' ~ path('profile_list.list_approved', {city:city.uriIdentity}) ~ '\">Проверенные анкеты</a>' %}
  854. \t\t\t\t\t\t{% elseif source == 'with_comments' %}
  855. \t\t\t\t\t\t\t{% set source_name = '<a href=\"' ~ path('profile_list.list_with_comments', {city:city.uriIdentity}) ~ '\">Анкеты с отзывами</a>' %}
  856. \t\t\t\t\t\t{% elseif source == 'with_video' %}
  857. \t\t\t\t\t\t\t{% set source_name = '<a href=\"' ~ path('profile_list.list_with_video', {city:city.uriIdentity}) ~ '\">Анкеты с видео</a>' %}
  858. \t\t\t\t\t\t{% elseif source == 'with_selfie' %}
  859. \t\t\t\t\t\t\t{% set source_name = '<a href=\"' ~ path('profile_list.list_with_selfie', {city:city.uriIdentity}) ~ '\">Анкеты с селфи</a>' %}
  860. \t\t\t\t\t\t{% elseif source == 'elite' %}
  861. \t\t\t\t\t\t\t{% set source_name = '<a href=\"' ~ path('profile_list.list_for_elite_girls', {city:city.uriIdentity}) ~ '\" style=\"pointer-events:none\">Элитные проститутки</a>' %}
  862. \t\t\t\t\t\t{% else %}
  863. \t\t\t\t\t\t\t{% set source_name = '' %}
  864. \t\t\t\t\t\t{% endif %}
  865. \t\t\t\t\t\t{% if source_default == 'approved' %}К сожалению, все
  866. \t\t\t\t\t\t\t<a href=\"{{ category_url }}\">проверенные девушки</a>
  867. \t\t\t\t\t\t\tсейчас отдыхают, посмотрите раздел
  868. \t\t\t\t\t\t\t{{ source_name|raw }}
  869. \t\t\t\t\t\t{% endif %}
  870. \t\t\t\t\t\t{% if source_default == 'with_comments' %}К сожалению, все
  871. \t\t\t\t\t\t\t<a href=\"{{ category_url }}\">девушки, у которых есть отзывы</a>
  872. \t\t\t\t\t\t\tсейчас отдыхают, посмотрите раздел
  873. \t\t\t\t\t\t\t{{ source_name|raw }}
  874. \t\t\t\t\t\t{% endif %}
  875. \t\t\t\t\t\t{% if source_default == 'with_video' %}К сожалению, все
  876. \t\t\t\t\t\t\t<a href=\"{{ category_url }}\">девушки, у которых есть видео</a>
  877. \t\t\t\t\t\t\tсейчас отдыхают, посмотрите раздел
  878. \t\t\t\t\t\t\t{{ source_name|raw }}
  879. \t\t\t\t\t\t{% endif %}
  880. \t\t\t\t\t\t{% if source_default == 'with_selfie' %}
  881. \t\t\t\t\t\t\tК сожалению, все <a href=\"{{ category_url }}\">девушки, у которых есть селфи</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}
  882. \t\t\t\t\t\t{% endif %}
  883. \t\t\t\t\t{% endif %}
  884. \t\t\t\t\t{% if source == 'by_params' %}К сожалению, раздел пуст. Посмотрите другие анкеты, которые мы подобрали для Вас.
  885. \t\t\t\t\t{% endif %}
  886. \t\t\t\t\t{% if source == 'service' %}К сожалению, все девушки, которые практикуют услугу
  887. \t\t\t\t\t\t<a href=\"{{ category_url }}\">{{ service.name }}</a>
  888. \t\t\t\t\t\tсейчас отдыхают. Но мы подобрали для Вас девушек которые не против оказать Вам похожие услуги, взгляните!
  889. \t\t\t\t\t{% endif %}
  890. \t\t\t\t\t{% if source == 'city' %}К сожалению, данный раздел пуст. Взгляните на другие анкеты, которые мы нашли для Вас в городе
  891. \t\t\t\t\t\t{{ city.name|trans }}.
  892. \t\t\t\t\t{% endif %}
  893. \t\t\t\t\t{% if source == 'country' %}К сожалению, данный раздел пуст. Взгляните на анкеты которые мы подобрали для Вас.
  894. \t\t\t\t\t{% endif %}
  895. \t\t\t\t\t{% if source == 'massage_service' %}К сожалению, все девушки для которых массаж — это призвание сейчас отдыхают. Посмотрите проституток, которые также готовы сделать Вам массаж.
  896. \t\t\t\t\t{% endif %}
  897. \t\t\t\t</p>
  898. \t\t\t</div>
  899. \t\t</div>
  900. \t{% endif %}#}
  901. \t<div aria-hidden=\"true\" class=\"no-display\" style=\"display: none;\">
  902. \t\t<svg xmlns=\"http://www.w3.org/2000/svg\">
  903. \t\t\t<symbol id=\"close\" viewBox=\"0 0 25 24\">
  904. \t\t\t\t<path fill=\"#B5B5B5\" d=\"m17.19 6-4.52 4.51L8.16 6 6.67 7.49l4.51 4.5-4.5 4.52L8.15 18l4.51-4.51L17.2 18l1.48-1.49L14.16 12l4.51-4.51L17.2 6Z\"/>
  905. \t\t\t</symbol>
  906. \t\t\t<symbol id=\"expand\" viewBox=\"0 0 20 20\">
  907. \t\t\t\t<path fill=\"#B5B5B5\" d=\"M15 8.41 13.59 7 10 10.58 6.41 7 5 8.41l5 5 5-5Z\"/>
  908. \t\t\t</symbol>
  909. \t\t\t<symbol id=\"range-off\" viewBox=\"0 0 25 24\">
  910. \t\t\t\t<rect width=\"24\" height=\"4\" x=\".34\" y=\"10\" fill=\"#A3A3A3\" rx=\"2\"/>
  911. \t\t\t\t<circle cx=\"4.34\" cy=\"12\" r=\"3\" fill=\"#fff\" stroke=\"#A3A3A3\" stroke-width=\"2\"/>
  912. \t\t\t\t<circle cx=\"20.34\" cy=\"12\" r=\"3\" fill=\"#fff\" stroke=\"#A3A3A3\" stroke-width=\"2\"/>
  913. \t\t\t</symbol>
  914. \t\t\t<symbol id=\"range-on\" viewBox=\"0 0 25 24\">
  915. \t\t\t\t<rect width=\"24\" height=\"4\" x=\".34\" y=\"10\" fill=\"#A3A3A3\" rx=\"2\"/>
  916. \t\t\t\t<rect width=\"12\" height=\"4\" x=\"6.34\" y=\"10\" fill=\"#f7901d\" rx=\"2\"/>
  917. \t\t\t\t<circle cx=\"6.34\" cy=\"12\" r=\"3\" fill=\"#fff\" stroke=\"#f7901d\" stroke-width=\"2\"/>
  918. \t\t\t\t<circle cx=\"18.34\" cy=\"12\" r=\"3\" fill=\"#fff\" stroke=\"#f7901d\" stroke-width=\"2\"/>
  919. \t\t\t</symbol>
  920. \t\t\t<symbol id=\"filter\" viewBox=\"0 0 24 24\">
  921. \t\t\t\t<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\" />
  922. \t\t\t</symbol>
  923. \t\t\t<symbol id=\"filter-arrow\" viewBox=\"0 0 24 24\">
  924. \t\t\t\t<path d=\"M5.7924 16.6699L4 14.8999L12 6.99992L20 14.8999L18.2076 16.6699L12 10.5399L5.7924 16.6699Z\" fill=\"#B5B5B5\"/>
  925. \t\t\t<symbol>
  926. \t\t</svg>
  927. \t</div>
  928. \t<div id=\"filter-form-root\">
  929. \t\t<button class=\"filter_hide_button rounding\" type=\"button\" id=\"filter_hide_button\">
  930. \t\t\t<svg class=\"filter_hide_button__icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><use xlink:href=\"#filter\"></use></svg>
  931. \t\t\t<span class=\"filter_hide_button__text\" data-filter-hide-text-show>Фильтры</span>
  932. \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>
  933. \t\t</button>
  934. \t\t<div class=\"filter_hide_block\" id=\"filter_hide_block\">
  935. \t\t\t{# Форма полей фильтрации #}
  936. \t\t\t<form name=\"profile_filter_form\" method=\"post\" action=\"/filter/\" class=\"filter_form\" id=\"filter-form\" data-process-url=\"/profile_ctr/increase-shows/\" data-main-class=\"profile_filter\">
  937. \t\t\t\t<div class=\"profile_filter\">
  938. \t\t\t\t\t<button class=\"profile_filter__mobile_button\" type=\"button\">
  939. \t\t\t\t\t\t<svg class=\"profile_filter__mobile_button__icon\" fill=\"#666\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><use xlink:href=\"#filter\"></use></svg>
  940. \t\t\t\t\t\t<span class=\"profile_filter__mobile_button__text\">Фильтры</span>
  941. \t\t\t\t\t\t<svg class=\"profile_filter__mobile_button__icon profile_filter__mobile_button__icon-arrow\" fill=\"#666\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" style=\"transform:rotate(180deg)\"><use xlink:href=\"#filter-arrow\"></use></svg>
  942. \t\t\t\t\t</button>
  943. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  944. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  945. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  946. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  947. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  948. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  949. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  950. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  951. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  952. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  953. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  954. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  955. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  956. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  957. \t\t\t\t\t<div class=\"profile_filter__item rounding profile_filter__item--loading\"></div>
  958. \t\t\t\t</div>
  959. \t\t\t</form>
  960. \t\t</div>
  961. \t\t<div class=\"profile_filter__tags__container fade_slider__container\">
  962. \t\t\t<div class=\"profile_filter__tags d-none fade_slider\" id=\"filter_tags\">
  963. \t\t\t<button class=\"profile_filter__tag\" type=\"button\" data-all>Сбросить фильтры</button>
  964. \t\t\t</div>
  965. \t\t</div>
  966. \t\t<div class=\"profile_filter__line\" id=\"filter_line\">
  967. \t\t\t<div class=\"profile_filter__line__title\">Найдено <span class=\"profile_filter__line__title__count\">{{ profiles.totalCount }} {{ profiles.totalCount|incline_numeral(['анкета', 'анкеты', 'анкет']) }}</span></div>
  968. \t\t\t<button class=\"profile_filter__line__reset\" type=\"button\" id=\"filter_line_reset\">Сбросить фильтры <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=\"#f7901d\"/></svg>
  969. \t\t\t</button>
  970. \t\t</div>
  971. \t</div>
  972. \t{% block mainList %}
  973. \t\t<div class=\"models-items-row flex-wrap\" id=\"profile-list\">
  974.         \t{% include 'ProfileList/list.profiles.html.twig' with { 'top_profile': profile_top_placement() } %}
  975. \t\t</div>
  976. \t{% endblock %}
  977. \t{%- if profiles and profiles.totalCount > profiles.currentPage * profiles.currentLimit -%}
  978. \t\t{%- block showMore -%}
  979. \t\t\t{%- include 'ProfileList/_show_more.profiles.html.twig' -%}
  980. \t\t{%- endblock showMore -%}
  981. \t{%- endif -%}
  982. \t{{ porpaginas_render(profiles) }}
  983. \t{# {% set stations_circle = station_pages_linkage_circle() %}
  984. \t{% if stations_circle is not null %}
  985. \t\t<div class=\"station-pages-linkage-circle\">
  986. \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 %}
  987. \t\t\t{% if stations_circle[0] is defined and stations_circle[0] is not null
  988. \t\t\t\tand stations_circle[1] is defined and stations_circle[1] is not null %}<i class=\"sep\"></i>{% endif %}
  989. \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 %}
  990. \t\t</div>
  991. \t{% endif %} #}
  992. \t{% if profiles and profiles.currentPage >= 2 %}
  993. \t\t{% set excludeRecommendationProfileIds = [] %}
  994. \t\t{{ include('components/_profile_recommendations.html.twig') }}
  995. \t{% endif %}
  996. \t{% if isFirstPage %}
  997. \t{{ include('components/seo_text.html.twig', { \"type\": 'top', \"noindex\": true }) }}
  998. \t{{ include('components/seo_text.html.twig', { \"type\": 'bottom', \"noindex\": true }) }}
  999. \t{% endif %}
  1000. \t{% set cities_circle = city_main_pages_linkage_circle() %}
  1001. \t{% if cities_circle is not null %}
  1002. \t\t<div class=\"city_main_pages_linkage_circle\">
  1003. \t\t\t<h3>Также рекомендуем:</h3>
  1004. \t\t\t{% if cities_circle[0] is not null %}<a href=\"{{ cities_circle[0].href }}\">{{ cities_circle[0].text }}</a>{% endif %}
  1005. \t\t\t{% if cities_circle[1] is not null %}<a href=\"{{ cities_circle[1].href }}\">{{ cities_circle[1].text }}</a>{% endif %}
  1006. \t\t</div>
  1007. \t{% endif %}
  1008. \t{% set circle = inner_linkage_circle() %}
  1009. \t{% if circle is not null %}
  1010. \t\t<div class=\"inner_linkage_circle\">
  1011. \t\t\t<h3>Также интересуются:</h3>
  1012. \t\t\t<a href=\"{{ circle[0].href }}\">{{ circle[0].text }}</a>
  1013. \t\t\t<a href=\"{{ circle[1].href }}\">{{ circle[1].text }}</a>
  1014. \t\t</div>
  1015. \t{% endif %}
  1016. {% endblock %}
  1017. {% block javascripts %}
  1018. \t{% set excludeRecommendationProfileIds = [] %}
  1019. \t{{ parent() }}
  1020. \t{{ encore_entry_script_tags('scripts/filters', null, 'basicConfig') }}
  1021. \t{%- set route = app.request.get('_route') -%}
  1022. \t{%- if 'profile_search.page' not in route and not (app.request.method == 'GET' and app.request.isXmlHttpRequest()) -%}
  1023. \t\t<script>
  1024. \t\t\twindow._lD = {
  1025. \t\t\t\tformUrl: \"{{ path('profile_filters.form', {city: city.uriIdentity}) }}\",
  1026. \t\t\t\tsetLastViewedListing: '{{ app.request.attributes.get('_route') }}',
  1027. \t\t\t\tlistingData: [
  1028. \t\t\t\t\t['listing', '{{ listing }}'],
  1029. \t\t\t\t\t['listingParams', '{{ listing_parameters|json_encode() }}'.replaceAll('&quot;', '\"')],
  1030. \t\t\t\t],
  1031. \t\t\t\tcityUrl: \"{{city.uriIdentity}}\"
  1032. \t\t\t}
  1033. \t\t\twindow._spb_s = {
  1034. \t\t\t\tstations: {
  1035. \t\t\t\t\t{%- for station in stations() -%}
  1036. \t\t\t\t\t\t\"{{ station.name|trans }}\": \"{{ path('profile_list.list_by_station', {'city': station.city.uriIdentity, 'station': station.uriIdentity}) }}\"{% if not loop.last %},{% endif %}
  1037. \t\t\t\t\t{%- endfor -%}
  1038. \t\t\t\t}
  1039. \t\t\t};
  1040. \t\t\tdocument.addEventListener(\"DOMContentLoaded\", () => {
  1041. \t\t\t\tnew window._filterLoader({
  1042. \t\t\t\t\tformUrl: \"{{ path('profile_filters.form', {city: city.uriIdentity}) }}\",
  1043. \t\t\t\t\tdefaultProfilesCount: \"{{ profiles.totalCount }}\"
  1044. \t\t\t\t});
  1045. \t\t\t})
  1046. \t\t</script>
  1047. \t\t{# {% endif %} #}
  1048. \t{%- endif -%}
  1049. \t{# <script>
  1050. \t\tdocument.addEventListener('DOMContentLoaded', function() {
  1051. \t\t\t{% if profiles and profiles.totalCount > 0 %}
  1052. \t\t\t\t{%- set profilesId = profiles|map(p => p.id)|join(',') -%}
  1053. \t\t\t\twindow.increase_shows({
  1054. \t\t\t\t\tprofiles: [{{ profilesId }}],
  1055. \t\t\t\t\troute: '{{ app.request.attributes.get('_route') }}',
  1056. \t\t\t\t})
  1057. \t\t\t{% endif %}
  1058. \t\t});
  1059. \t</script> #}
  1060. {% endblock %}""ProfileList/list.html.twig""/app/templates/ProfileList/list.html.twig");
  1061.     }
  1062. }