var/cache/review/twig/44/44c3df4f7ed8269eeb6dbbee14f70c41.php line 34

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.profiles.html.twig */
  14. class __TwigTemplate_a8169726f405d869ec55b479094189e6 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.         $macros["_self"] = $this->macros["_self"] = $this;
  26.     }
  27.     protected function doDisplay(array $context, array $blocks = [])
  28.     {
  29.         $macros $this->macros;
  30.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  31.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.profiles.html.twig"));
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  33.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.profiles.html.twig"));
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  35.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.profiles.html.twig"));
  36.         // line 36
  37.         $context["fakeStation"] = (((array_key_exists("fakeStationList"$context) && (isset($context["fakeStationList"]) || array_key_exists("fakeStationList"$context) ? $context["fakeStationList"] : (function () { throw new RuntimeError('Variable "fakeStationList" does not exist.'36$this->source); })())) && array_key_exists("station"$context)) && twig_get_attribute($this->env$this->source, (isset($context["station"]) || array_key_exists("station"$context) ? $context["station"] : (function () { throw new RuntimeError('Variable "station" does not exist.'36$this->source); })()), "uriIdentity", [], "any"falsefalsefalse36));
  38.         // line 37
  39.         $context["isStationPage"] = ((array_key_exists("isStationPage"$context)) ? ((isset($context["isStationPage"]) || array_key_exists("isStationPage"$context) ? $context["isStationPage"] : (function () { throw new RuntimeError('Variable "isStationPage" does not exist.'37$this->source); })())) : (false));
  40.         // line 38
  41.         $context['_parent'] = $context;
  42.         $context['_seq'] = twig_ensure_traversable((isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'38$this->source); })()));
  43.         $context['loop'] = [
  44.           'parent' => $context['_parent'],
  45.           'index0' => 0,
  46.           'index'  => 1,
  47.           'first'  => true,
  48.         ];
  49.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  50.             $length count($context['_seq']);
  51.             $context['loop']['revindex0'] = $length 1;
  52.             $context['loop']['revindex'] = $length;
  53.             $context['loop']['length'] = $length;
  54.             $context['loop']['last'] = === $length;
  55.         }
  56.         foreach ($context['_seq'] as $context["_key"] => $context["profile"]) {
  57.             // line 40
  58.             $context["profile"] = ((twig_get_attribute($this->env$this->source$context["profile"], "profile", [], "any"truetruefalse40)) ? (twig_get_attribute($this->env$this->source$context["profile"], "profile", [], "any"falsefalsefalse40)) : ($context["profile"]));
  59.             // line 41
  60.             echo "    ";
  61.             $context["isSearchPage"] = array_key_exists("form"$context);
  62.             // line 42
  63.             echo "
  64. \t";
  65.             // line 43
  66.             $context["stationFromForm"] = null;
  67.             // line 44
  68.             echo "
  69. \t";
  70.             // line 46
  71.             echo "\t";
  72.             if ((isset($context["isSearchPage"]) || array_key_exists("isSearchPage"$context) ? $context["isSearchPage"] : (function () { throw new RuntimeError('Variable "isSearchPage" does not exist.'46$this->source); })())) {
  73.                 // line 47
  74.                 echo "\t\t";
  75.                 if ((twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "station", [], "any"truetruefalse47) && (twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'47$this->source); })()), "station", [], "any"falsefalsefalse47), "vars", [], "any"falsefalsefalse47), "value", [], "any"falsefalsefalse47)) > 0))) {
  76.                     // line 48
  77.                     echo "\t\t\t";
  78.                     $context['_parent'] = $context;
  79.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'48$this->source); })()), "station", [], "any"falsefalsefalse48), "vars", [], "any"falsefalsefalse48), "value", [], "any"falsefalsefalse48));
  80.                     foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
  81.                         // line 49
  82.                         echo "\t\t\t\t";
  83.                         if ((null === (isset($context["stationFromForm"]) || array_key_exists("stationFromForm"$context) ? $context["stationFromForm"] : (function () { throw new RuntimeError('Variable "stationFromForm" does not exist.'49$this->source); })()))) {
  84.                             // line 50
  85.                             echo "\t\t\t\t\t";
  86.                             $context["stationFromForm"] = ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "stations", [], "any"falsetruefalse50), $context["station"], [], "array"truetruefalse50)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "stations", [], "any"falsefalsefalse50), $context["station"], [], "array"falsefalsefalse50)) : (null));
  87.                             // line 51
  88.                             echo "\t\t\t\t";
  89.                         }
  90.                         // line 52
  91.                         echo "\t\t\t";
  92.                     }
  93.                     $_parent $context['_parent'];
  94.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
  95.                     $context array_intersect_key($context$_parent) + $_parent;
  96.                     // line 53
  97.                     echo "\t\t";
  98.                 }
  99.                 // line 54
  100.                 echo "\t\t";
  101.                 $context["listingStation"] = (isset($context["stationFromForm"]) || array_key_exists("stationFromForm"$context) ? $context["stationFromForm"] : (function () { throw new RuntimeError('Variable "stationFromForm" does not exist.'54$this->source); })());
  102.                 // line 55
  103.                 echo "\t";
  104.             } else {
  105.                 // line 56
  106.                 echo "\t\t";
  107.                 $context["listingStation"] = 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.'56$this->source); })()), "request", [], "any"falsefalsefalse56), "attributes", [], "any"falsefalsefalse56), "get", ["station"], "method"falsefalsefalse56);
  108.                 // line 57
  109.                 echo "\t";
  110.             }
  111.             // line 58
  112.             echo "
  113. \t";
  114.             // line 59
  115.             $context["haveStationInList"] = (isset($context["listingStation"]) || array_key_exists("listingStation"$context) ? $context["listingStation"] : (function () { throw new RuntimeError('Variable "listingStation" does not exist.'59$this->source); })());
  116.             // line 60
  117.             echo "\t";
  118.             $context["stationOutput"] = "";
  119.             // line 61
  120.             echo "
  121. \t";
  122.             // line 62
  123.             $context["stationReallyExist"] = false;
  124.             // line 63
  125.             echo "\t";
  126.             // line 64
  127.             echo "\t";
  128.             if (((isset($context["haveStationInList"]) || array_key_exists("haveStationInList"$context) ? $context["haveStationInList"] : (function () { throw new RuntimeError('Variable "haveStationInList" does not exist.'64$this->source); })()) && (twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["profile"], "stations", [], "any"falsefalsefalse64)) > 0))) {
  129.                 // line 65
  130.                 echo "\t\t";
  131.                 $context['_parent'] = $context;
  132.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["profile"], "stations", [], "any"falsefalsefalse65));
  133.                 foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
  134.                     // line 66
  135.                     echo "\t\t\t";
  136.                     if ((twig_get_attribute($this->env$this->source$context["station"], "uriIdentity", [], "any"falsefalsefalse66) == twig_get_attribute($this->env$this->source, (isset($context["listingStation"]) || array_key_exists("listingStation"$context) ? $context["listingStation"] : (function () { throw new RuntimeError('Variable "listingStation" does not exist.'66$this->source); })()), "uriIdentity", [], "any"falsefalsefalse66))) {
  137.                         // line 67
  138.                         echo "\t\t\t\t";
  139.                         $context["stationReallyExist"] = true;
  140.                         // line 68
  141.                         echo "\t\t";
  142.                     }
  143.                     // line 69
  144.                     echo "\t\t";
  145.                 }
  146.                 $_parent $context['_parent'];
  147.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
  148.                 $context array_intersect_key($context$_parent) + $_parent;
  149.                 // line 70
  150.                 echo "\t";
  151.             }
  152.             // line 71
  153.             echo "
  154. \t";
  155.             // line 72
  156.             if (((isset($context["haveStationInList"]) || array_key_exists("haveStationInList"$context) ? $context["haveStationInList"] : (function () { throw new RuntimeError('Variable "haveStationInList" does not exist.'72$this->source); })()) && (isset($context["stationReallyExist"]) || array_key_exists("stationReallyExist"$context) ? $context["stationReallyExist"] : (function () { throw new RuntimeError('Variable "stationReallyExist" does not exist.'72$this->source); })()))) {
  157.                 // line 73
  158.                 echo "\t\t";
  159.                 // line 74
  160.                 echo "\t\t";
  161.                 $context["stationOutput"] = (isset($context["listingStation"]) || array_key_exists("listingStation"$context) ? $context["listingStation"] : (function () { throw new RuntimeError('Variable "listingStation" does not exist.'74$this->source); })());
  162.                 // line 75
  163.                 echo "\t";
  164.             } else {
  165.                 // line 76
  166.                 echo "\t\t";
  167.                 // line 77
  168.                 echo "\t\t";
  169.                 $context["stationOutput"] = twig_first($this->envtwig_get_attribute($this->env$this->source$context["profile"], "stations", [], "any"falsefalsefalse77));
  170.                 // line 78
  171.                 echo "\t";
  172.             }
  173.             // line 80
  174.             echo "<div class=\"models-item-col\" data-profile-id=\"";
  175.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["profile"], "id", [], "any"falsefalsefalse80), "html"nulltrue);
  176.             echo "\">
  177. \t\t<div class=\"models-item rounding\">
  178. \t\t\t<a class=\"models-item-link\" data-profile data-id=\"";
  179.             // line 82
  180.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["profile"], "id", [], "any"falsefalsefalse82), "html"nulltrue);
  181.             echo "\" href=\"";
  182.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_preview.page", ["city" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "city", [], "any"falsefalsefalse82), "uriIdentity", [], "any"falsefalsefalse82), "profile" => twig_get_attribute($this->env$this->source$context["profile"], "uriIdentity", [], "any"falsefalsefalse82)]), "html"nulltrue);
  183.             echo "\" target=\"_blank\">
  184. \t\t\t\t<div class=\"models-item__header d-flex align-items-center justify-content-between\">
  185. \t\t\t\t\t<div class=\"models-item__header-title mr-2 d-flex align-items-center\">
  186. \t\t\t\t\t\t<span>";
  187.             // line 85
  188.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["profile"], "name", [], "any"falsefalsefalse85)), "html"nulltrue);
  189.             echo "</span>";
  190.             // line 87
  191.             if (twig_get_attribute($this->env$this->source$context["profile"], "isApproved", [], "any"falsefalsefalse87)) {
  192.                 // line 88
  193.                 echo "<div class=\"ml-2\" data-toggle=\"tooltip\" data-theme=\"verify\" data-tippy-content=\"Фото проверено\">
  194. \t\t\t\t\t\t\t\t<svg class=\"icon\">
  195. \t\t\t\t\t\t\t\t\t<use xlink:href=\"";
  196.                 // line 90
  197.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  198.                 echo "#icon-verify-new\"></use>
  199. \t\t\t\t\t\t\t\t</svg>
  200. \t\t\t\t\t\t\t</div>";
  201.             }
  202.             // line 94
  203.             echo "</div>
  204. \t\t\t\t\t<div class=\"item-status d-flex align-items-center justify-content-center\">";
  205.             // line 96
  206.             if (((is_iterable(twig_get_attribute($this->env$this->source$context["profile"], "comments", [], "any"falsefalsefalse96))) ? ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["profile"], "comments", [], "any"falsefalsefalse96)) > 0)) : (twig_get_attribute($this->env$this->source$context["profile"], "comments", [], "any"falsefalsefalse96)))) {
  207.                 // line 97
  208.                 echo "<div class=\"item-status__el d-flex align-items-center active\" data-toggle=\"tooltip\" data-placement=\"top\" data-tippy-content=\"Есть комментарии\" data-theme=\"basic\">
  209. \t\t\t\t\t\t\t\t<svg class=\"icon\">
  210. \t\t\t\t\t\t\t\t\t<use xlink:href=\"";
  211.                 // line 99
  212.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  213.                 echo "#icon-comments-thumb\"></use>
  214. \t\t\t\t\t\t\t\t</svg>
  215. \t\t\t\t\t\t\t</div>";
  216.             } else {
  217.                 // line 103
  218.                 echo "<div class=\"item-status__el d-flex align-items-center\">
  219. \t\t\t\t\t\t\t\t<svg class=\"icon\">
  220. \t\t\t\t\t\t\t\t\t<use xlink:href=\"";
  221.                 // line 105
  222.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  223.                 echo "#icon-comments-thumb\"></use>
  224. \t\t\t\t\t\t\t\t</svg>
  225. \t\t\t\t\t\t\t</div>";
  226.             }
  227.             // line 109
  228.             if (((is_iterable(twig_get_attribute($this->env$this->source$context["profile"], "selfies", [], "any"falsefalsefalse109))) ? ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["profile"], "selfies", [], "any"falsefalsefalse109)) > 0)) : (twig_get_attribute($this->env$this->source$context["profile"], "selfies", [], "any"falsefalsefalse109)))) {
  229.                 // line 110
  230.                 echo "<div class=\"item-status__el d-flex align-items-center active\" data-toggle=\"tooltip\" data-placement=\"top\" data-tippy-content=\"Есть селфи\" data-theme=\"basic\">
  231. \t\t\t\t\t\t\t\t<svg class=\"icon\">
  232. \t\t\t\t\t\t\t\t\t<use xlink:href=\"";
  233.                 // line 112
  234.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  235.                 echo "#icon-selfie-thumb\"></use>
  236. \t\t\t\t\t\t\t\t</svg>
  237. \t\t\t\t\t\t\t</div>";
  238.             } else {
  239.                 // line 116
  240.                 echo "<div class=\"item-status__el d-flex align-items-center\">
  241. \t\t\t\t\t\t\t\t<svg class=\"icon\">
  242. \t\t\t\t\t\t\t\t\t<use xlink:href=\"";
  243.                 // line 118
  244.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  245.                 echo "#icon-selfie-thumb\"></use>
  246. \t\t\t\t\t\t\t\t</svg>
  247. \t\t\t\t\t\t\t</div>";
  248.             }
  249.             // line 122
  250.             if (((is_iterable(twig_get_attribute($this->env$this->source$context["profile"], "videos", [], "any"falsefalsefalse122))) ? ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["profile"], "videos", [], "any"falsefalsefalse122)) > 0)) : (twig_get_attribute($this->env$this->source$context["profile"], "videos", [], "any"falsefalsefalse122)))) {
  251.                 // line 123
  252.                 echo "<div class=\"item-status__el d-flex align-items-center active\" data-toggle=\"tooltip\" data-placement=\"top\" data-tippy-content=\"Есть видео\" data-theme=\"basic\">
  253. \t\t\t\t\t\t\t\t<svg class=\"icon\">
  254. \t\t\t\t\t\t\t\t\t<use xlink:href=\"";
  255.                 // line 125
  256.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  257.                 echo "#icon-video-thumb\"></use>
  258. \t\t\t\t\t\t\t\t</svg>
  259. \t\t\t\t\t\t\t</div>";
  260.             } else {
  261.                 // line 129
  262.                 echo "<div class=\"item-status__el d-flex align-items-center\">
  263. \t\t\t\t\t\t\t\t<svg class=\"icon\">
  264. \t\t\t\t\t\t\t\t\t<use xlink:href=\"";
  265.                 // line 131
  266.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  267.                 echo "#icon-video-thumb\"></use>
  268. \t\t\t\t\t\t\t\t</svg>
  269. \t\t\t\t\t\t\t</div>";
  270.             }
  271.             // line 135
  272.             echo "</div>
  273. \t\t\t\t</div>
  274. \t\t\t\t<div class=\"models-item__content d-flex\">
  275. \t\t\t\t\t<div class=\"models-item__images d-block rounding\">";
  276.             // line 141
  277.             $context["photo"] = $this->extensions['App\Twig\ProfileAvatarExtension']->profileAvatar($context["profile"]);
  278.             // line 142
  279.             if ((isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'142$this->source); })())) {
  280.                 // line 143
  281.                 $context["firstStation"] = twig_first($this->envtwig_get_attribute($this->env$this->source$context["profile"], "stations", [], "any"falsefalsefalse143));
  282.                 // line 144
  283.                 echo "<img ";
  284.                 echo (((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse144) == 1)) ? ("") : ("data-"));
  285.                 echo "src=\"";
  286.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source, (isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'144$this->source); })()), "path", [], "any"falsefalsefalse144), "profile_media""200x280""jpg"), "html"nulltrue);
  287.                 echo "\" class=\"models-item__img lazy img-fluid rounding\"";
  288.                 // line 145
  289.                 if (((isset($context["listingStation"]) || array_key_exists("listingStation"$context) ? $context["listingStation"] : (function () { throw new RuntimeError('Variable "listingStation" does not exist.'145$this->source); })()) &&  !(isset($context["fakeStation"]) || array_key_exists("fakeStation"$context) ? $context["fakeStation"] : (function () { throw new RuntimeError('Variable "fakeStation" does not exist.'145$this->source); })()))) {
  290.                     // line 146
  291.                     echo "alt=\"";
  292.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["profile"], "name", [], "any"falsefalsefalse146)), "html"nulltrue);
  293.                     echo " (";
  294.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "personParameters", [], "any"falsefalsefalse146), "age", [], "any"falsefalsefalse146), "html"nulltrue);
  295.                     echo ")";
  296.                     if (((isset($context["firstStation"]) || array_key_exists("firstStation"$context) ? $context["firstStation"] : (function () { throw new RuntimeError('Variable "firstStation" does not exist.'146$this->source); })()) &&  !(null === (isset($context["firstStation"]) || array_key_exists("firstStation"$context) ? $context["firstStation"] : (function () { throw new RuntimeError('Variable "firstStation" does not exist.'146$this->source); })())))) {
  297.                         echo ", ";
  298.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source, (isset($context["firstStation"]) || array_key_exists("firstStation"$context) ? $context["firstStation"] : (function () { throw new RuntimeError('Variable "firstStation" does not exist.'146$this->source); })()), "name", [], "any"falsefalsefalse146)), "html"nulltrue);
  299.                     }
  300.                     echo "\"";
  301.                 } else {
  302.                     // line 148
  303.                     echo "alt=\"";
  304.                     echo twig_call_macro($macros["_self"], "macro__gen_alt", [$context["profile"], (isset($context["stationOutput"]) || array_key_exists("stationOutput"$context) ? $context["stationOutput"] : (function () { throw new RuntimeError('Variable "stationOutput" does not exist.'148$this->source); })()), (isset($context["fakeStation"]) || array_key_exists("fakeStation"$context) ? $context["fakeStation"] : (function () { throw new RuntimeError('Variable "fakeStation" does not exist.'148$this->source); })()), (($context["station"]) ?? (false))], 148$context$this->getSourceContext());
  305.                     echo "\"";
  306.                 }
  307.                 // line 150
  308.                 echo "width=\"200\" height=\"280\">";
  309.             }
  310.             // line 152
  311.             if (twig_get_attribute($this->env$this->source$context["profile"], "isActive", [], "any"falsefalsefalse152)) {
  312.                 // line 153
  313.                 if (twig_get_attribute($this->env$this->source$context["profile"], "isVip", [], "any"falsefalsefalse153)) {
  314.                     // line 154
  315.                     echo "<div class=\"status-line\">
  316. \t\t\t\t\t\t\t\t\t<svg class=\"status-line__icon\">
  317. \t\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
  318.                     // line 156
  319.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  320.                     echo "#status-gold-new\"></use>
  321. \t\t\t\t\t\t\t\t\t</svg>
  322. \t\t\t\t\t\t\t\t</div>";
  323.                 } elseif (twig_get_attribute($this->env$this->source,                 // line 159
  324. $context["profile"], "isStandard", [], "any"falsefalsefalse159)) {
  325.                     // line 160
  326.                     echo "<div class=\"status-line\">
  327. \t\t\t\t\t\t\t\t\t<svg class=\"status-line__icon\">
  328. \t\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
  329.                     // line 162
  330.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  331.                     echo "#status-silver-new\"></use>
  332. \t\t\t\t\t\t\t\t\t</svg>
  333. \t\t\t\t\t\t\t\t</div>";
  334.                 }
  335.             }
  336.             // line 167
  337.             echo "</div>
  338. \t\t\t\t\t<div class=\"models-item__info d-flex flex-fill\">
  339. \t\t\t\t\t\t<div class=\"models-item__info-link\">
  340. \t\t\t\t\t\t\t<dl class=\"item-info\">
  341. \t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
  342. \t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Возраст</dt>
  343. \t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">";
  344.             // line 174
  345.             ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "personParameters", [], "any"falsefalsefalse174), "age", [], "any"falsefalsefalse174)) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "personParameters", [], "any"falsefalsefalse174), "age", [], "any"falsefalsefalse174), "html"nulltrue))) : (print ("-")));
  346.             echo "</dd>
  347. \t\t\t\t\t\t\t\t</div>
  348. \t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
  349. \t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Рост</dt>
  350. \t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">";
  351.             // line 178
  352.             ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "personParameters", [], "any"falsefalsefalse178), "height", [], "any"falsefalsefalse178)) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "personParameters", [], "any"falsefalsefalse178), "height", [], "any"falsefalsefalse178), "html"nulltrue))) : (print ("-")));
  353.             echo "</dd>
  354. \t\t\t\t\t\t\t\t</div>
  355. \t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
  356. \t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Вес</dt>
  357. \t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">";
  358.             // line 182
  359.             ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "personParameters", [], "any"falsefalsefalse182), "weight", [], "any"falsefalsefalse182)) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "personParameters", [], "any"falsefalsefalse182), "weight", [], "any"falsefalsefalse182), "html"nulltrue))) : (print ("-")));
  360.             echo "</dd>
  361. \t\t\t\t\t\t\t\t</div>
  362. \t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
  363. \t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Грудь</dt>
  364. \t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">";
  365.             // line 186
  366.             ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "personParameters", [], "any"falsefalsefalse186), "breastSize", [], "any"falsefalsefalse186)) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "personParameters", [], "any"falsefalsefalse186), "breastSize", [], "any"falsefalsefalse186), "html"nulltrue))) : (print ("-")));
  367.             echo "</dd>
  368. \t\t\t\t\t\t\t\t</div>
  369. \t\t\t\t\t\t\t</dl>";
  370.             // line 189
  371.             ob_start();
  372.             echo twig_escape_filter($this->env$this->extensions['App\Twig\MoneyFormatterExtension']->countryLocalizedCurrency(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "city", [], "any"falsefalsefalse189), "countryCode", [], "any"falsefalsefalse189)), "html"nulltrue);
  373.             $context["currencyProfile"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  374.             // line 190
  375.             ob_start();
  376.             echo twig_call_macro($macros["_self"], "macro__get_min", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "apartmentsPricing", [], "any"falsefalsefalse190), "oneHourPrice", [], "any"falsefalsefalse190), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "takeOutPricing", [], "any"falsefalsefalse190), "oneHourPrice", [], "any"falsefalsefalse190), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile"$context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.'190$this->source); })())], 190$context$this->getSourceContext());
  377.             $context["minPriceHour"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  378.             // line 191
  379.             ob_start();
  380.             echo twig_call_macro($macros["_self"], "macro__get_min", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "apartmentsPricing", [], "any"falsefalsefalse191), "twoHoursPrice", [], "any"falsefalsefalse191), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "takeOutPricing", [], "any"falsefalsefalse191), "twoHoursPrice", [], "any"falsefalsefalse191), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile"$context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.'191$this->source); })())], 191$context$this->getSourceContext());
  381.             $context["minPriceTwo"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  382.             // line 192
  383.             ob_start();
  384.             echo twig_call_macro($macros["_self"], "macro__get_min", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "apartmentsPricing", [], "any"falsefalsefalse192), "nightPrice", [], "any"falsefalsefalse192), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "takeOutPricing", [], "any"falsefalsefalse192), "nightPrice", [], "any"falsefalsefalse192), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile"$context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.'192$this->source); })())], 192$context$this->getSourceContext());
  385.             $context["minPriceNight"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  386.             // line 193
  387.             ob_start();
  388.             echo twig_call_macro($macros["_self"], "macro__check_out_price", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "takeOutPricing", [], "any"falsefalsefalse193), "oneHourPrice", [], "any"falsefalsefalse193), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "takeOutPricing", [], "any"falsefalsefalse193), "twoHoursPrice", [], "any"falsefalsefalse193), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "takeOutPricing", [], "any"falsefalsefalse193), "nightPrice", [], "any"falsefalsefalse193)], 193$context$this->getSourceContext());
  389.             $context["hasOutPrice"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  390.             // line 194
  391.             echo "<dl class=\"item-info\">
  392. \t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
  393. \t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Час</dt>
  394. \t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">";
  395.             // line 197
  396.             ((((isset($context["minPriceHour"]) || array_key_exists("minPriceHour"$context) ? $context["minPriceHour"] : (function () { throw new RuntimeError('Variable "minPriceHour" does not exist.'197$this->source); })()) != "-")) ? (print (twig_escape_filter($this->env, (isset($context["minPriceHour"]) || array_key_exists("minPriceHour"$context) ? $context["minPriceHour"] : (function () { throw new RuntimeError('Variable "minPriceHour" does not exist.'197$this->source); })()), "html"nulltrue))) : (print ("-")));
  397.             echo "</dd>
  398. \t\t\t\t\t\t\t\t</div>
  399. \t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
  400. \t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">2 часа</dt>
  401. \t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">";
  402.             // line 201
  403.             ((((isset($context["minPriceTwo"]) || array_key_exists("minPriceTwo"$context) ? $context["minPriceTwo"] : (function () { throw new RuntimeError('Variable "minPriceTwo" does not exist.'201$this->source); })()) != "-")) ? (print (twig_escape_filter($this->env, (isset($context["minPriceTwo"]) || array_key_exists("minPriceTwo"$context) ? $context["minPriceTwo"] : (function () { throw new RuntimeError('Variable "minPriceTwo" does not exist.'201$this->source); })()), "html"nulltrue))) : (print ("-")));
  404.             echo "</dd>
  405. \t\t\t\t\t\t\t\t</div>
  406. \t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
  407. \t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Ночь</dt>
  408. \t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">";
  409.             // line 205
  410.             ((((isset($context["minPriceNight"]) || array_key_exists("minPriceNight"$context) ? $context["minPriceNight"] : (function () { throw new RuntimeError('Variable "minPriceNight" does not exist.'205$this->source); })()) != "-")) ? (print (twig_escape_filter($this->env, (isset($context["minPriceNight"]) || array_key_exists("minPriceNight"$context) ? $context["minPriceNight"] : (function () { throw new RuntimeError('Variable "minPriceNight" does not exist.'205$this->source); })()), "html"nulltrue))) : (print ("-")));
  411.             echo "</dd>
  412. \t\t\t\t\t\t\t\t</div>
  413. \t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
  414. \t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Выезд</dt>
  415. \t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">";
  416.             // line 209
  417.             echo ((((isset($context["hasOutPrice"]) || array_key_exists("hasOutPrice"$context) ? $context["hasOutPrice"] : (function () { throw new RuntimeError('Variable "hasOutPrice" does not exist.'209$this->source); })()) == "1")) ? ("Есть") : ("-"));
  418.             echo "</dd>
  419. \t\t\t\t\t\t\t\t</div>
  420. \t\t\t\t\t\t\t</dl>
  421. \t\t\t\t\t\t</div>
  422. \t\t\t\t\t</div>
  423. \t\t\t\t</div>
  424. \t\t\t</a>
  425. \t\t\t<div class=\"models-item__metro d-flex align-items-center\">";
  426.             // line 219
  427.             if ((isset($context["fakeStation"]) || array_key_exists("fakeStation"$context) ? $context["fakeStation"] : (function () { throw new RuntimeError('Variable "fakeStation" does not exist.'219$this->source); })())) {
  428.                 // line 220
  429.                 $this->loadTemplate("components/metro/icon_generate.partial.twig""ProfileList/list.profiles.html.twig"220)->display(twig_array_merge($context, ["data" => $this->extensions['App\Twig\StationsExtension']->stationLines(twig_get_attribute($this->env$this->source, (isset($context["station"]) || array_key_exists("station"$context) ? $context["station"] : (function () { throw new RuntimeError('Variable "station" does not exist.'220$this->source); })()), "id", [], "any"falsefalsefalse220))]));
  430.                 // line 221
  431.                 if ((isset($context["isStationPage"]) || array_key_exists("isStationPage"$context) ? $context["isStationPage"] : (function () { throw new RuntimeError('Variable "isStationPage" does not exist.'221$this->source); })())) {
  432.                     // line 222
  433.                     echo "<div class=\"models-item__metro-link\">";
  434.                     // line 223
  435.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["station"]) || array_key_exists("station"$context) ? $context["station"] : (function () { throw new RuntimeError('Variable "station" does not exist.'223$this->source); })()), "name", [], "any"falsefalsefalse223), "html"nulltrue);
  436.                     // line 224
  437.                     echo "</div>
  438. \t\t\t\t\t";
  439.                 } else {
  440.                     // line 226
  441.                     echo "\t\t\t\t\t\t<a class=\"models-item__metro-link\" href=\"";
  442.                     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["profile"], "city", [], "any"falsefalsefalse226), "uriIdentity", [], "any"falsefalsefalse226), "station" => twig_get_attribute($this->env$this->source, (isset($context["station"]) || array_key_exists("station"$context) ? $context["station"] : (function () { throw new RuntimeError('Variable "station" does not exist.'226$this->source); })()), "uriIdentity", [], "any"falsefalsefalse226)]), "html"nulltrue);
  443.                     echo "\" target=\"_blank\">";
  444.                     // line 227
  445.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["station"]) || array_key_exists("station"$context) ? $context["station"] : (function () { throw new RuntimeError('Variable "station" does not exist.'227$this->source); })()), "name", [], "any"falsefalsefalse227), "html"nulltrue);
  446.                     // line 228
  447.                     echo "</a>
  448. \t\t\t\t\t";
  449.                 }
  450.             } elseif ((            // line 230
  451. (isset($context["stationOutput"]) || array_key_exists("stationOutput"$context) ? $context["stationOutput"] : (function () { throw new RuntimeError('Variable "stationOutput" does not exist.'230$this->source); })()) != "")) {
  452.                 // line 231
  453.                 $this->loadTemplate("components/metro/icon_generate.partial.twig""ProfileList/list.profiles.html.twig"231)->display(twig_array_merge($context, ["data" => $this->extensions['App\Twig\StationsExtension']->stationLines(twig_get_attribute($this->env$this->source, (isset($context["stationOutput"]) || array_key_exists("stationOutput"$context) ? $context["stationOutput"] : (function () { throw new RuntimeError('Variable "stationOutput" does not exist.'231$this->source); })()), "id", [], "any"falsefalsefalse231))]));
  454.                 // line 232
  455.                 if ((isset($context["isStationPage"]) || array_key_exists("isStationPage"$context) ? $context["isStationPage"] : (function () { throw new RuntimeError('Variable "isStationPage" does not exist.'232$this->source); })())) {
  456.                     // line 233
  457.                     echo "<div class=\"models-item__metro-link\">";
  458.                     // line 234
  459.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["stationOutput"]) || array_key_exists("stationOutput"$context) ? $context["stationOutput"] : (function () { throw new RuntimeError('Variable "stationOutput" does not exist.'234$this->source); })()), "name", [], "any"falsefalsefalse234), "html"nulltrue);
  460.                     // line 235
  461.                     echo "</div>";
  462.                 } else {
  463.                     // line 237
  464.                     echo "<a class=\"models-item__metro-link\" href=\"";
  465.                     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["profile"], "city", [], "any"falsefalsefalse237), "uriIdentity", [], "any"falsefalsefalse237), "station" => twig_get_attribute($this->env$this->source, (isset($context["stationOutput"]) || array_key_exists("stationOutput"$context) ? $context["stationOutput"] : (function () { throw new RuntimeError('Variable "stationOutput" does not exist.'237$this->source); })()), "uriIdentity", [], "any"falsefalsefalse237)]), "html"nulltrue);
  466.                     echo "\" target=\"_blank\">";
  467.                     // line 238
  468.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["stationOutput"]) || array_key_exists("stationOutput"$context) ? $context["stationOutput"] : (function () { throw new RuntimeError('Variable "stationOutput" does not exist.'238$this->source); })()), "name", [], "any"falsefalsefalse238), "html"nulltrue);
  469.                     // line 239
  470.                     echo "</a>";
  471.                 }
  472.             } else {
  473.                 // line 242
  474.                 echo "<div class=\"models-item__metro-link models-item__metro-link--empty\"></div>";
  475.             }
  476.             // line 244
  477.             echo "</div>";
  478.             // line 246
  479.             if ((twig_get_attribute($this->env$this->source$context["profile"], "isActive", [], "any"falsefalsefalse246) ||  !twig_get_attribute($this->env$this->source$context["profile"], "isHidden", [], "any"falsefalsefalse246))) {
  480.                 // line 247
  481.                 echo "<div class=\"models-item__phone rounding\">
  482. \t\t\t\t\t<button class=\"models-item__phone-button models-item__phone-button--dark btn btn-danger d-flex align-items-center justify-content-center\" type=\"button\" onclick=\"this.nextElementSibling.classList.remove('d-none');this.nextElementSibling.classList.add('d-flex');this.remove()\">
  483. \t\t\t\t\t\t<svg class=\"models-item__phone-icon\">
  484. \t\t\t\t\t\t\t<use xlink:href=\"";
  485.                 // line 250
  486.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  487.                 echo "#phone\"></use>
  488. \t\t\t\t\t\t</svg>Показать телефон</button>
  489. \t\t\t\t\t<a href=\"tel:";
  490.                 // line 252
  491.                 echo twig_escape_filter($this->envtwig_replace_filter(twig_get_attribute($this->env$this->source$context["profile"], "phoneNumber", [], "any"falsefalsefalse252), [" " => """-" => ""]), "html"nulltrue);
  492.                 echo "\" rel=\"nofollow\" class=\"models-item__phone-button btn btn-danger align-items-center justify-content-center d-none\">
  493. \t\t\t\t\t\t<svg class=\"models-item__phone-icon\">
  494. \t\t\t\t\t\t\t<use xlink:href=\"";
  495.                 // line 254
  496.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  497.                 echo "#phone\"></use>
  498. \t\t\t\t\t\t</svg>";
  499.                 // line 256
  500.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["profile"], "phoneNumber", [], "any"falsefalsefalse256), "html"nulltrue);
  501.                 // line 257
  502.                 echo "</a>
  503. \t\t\t\t</div>";
  504.             }
  505.             // line 260
  506.             echo "</div>
  507. \t</div>";
  508.             // line 263
  509.             if (((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.'263$this->source); })()), "request", [], "any"falsefalsefalse263), "method", [], "any"falsefalsefalse263) == "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.'263$this->source); })()), "request", [], "any"falsefalsefalse263), "isXmlHttpRequest", [], "method"falsefalsefalse263))) {
  510.                 // line 264
  511.                 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.'264$this->source); })()));
  512.             }
  513.             ++$context['loop']['index0'];
  514.             ++$context['loop']['index'];
  515.             $context['loop']['first'] = false;
  516.             if (isset($context['loop']['length'])) {
  517.                 --$context['loop']['revindex0'];
  518.                 --$context['loop']['revindex'];
  519.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  520.             }
  521.         }
  522.         $_parent $context['_parent'];
  523.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['profile'], $context['_parent'], $context['loop']);
  524.         $context array_intersect_key($context$_parent) + $_parent;
  525.         
  526.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  527.         
  528.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  529.         
  530.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  531.     }
  532.     // line 1
  533.     public function macro__get_min($__price1__ null$__price2__ null$__currency__ null, ...$__varargs__)
  534.     {
  535.         $macros $this->macros;
  536.         $context $this->env->mergeGlobals([
  537.             "price1" => $__price1__,
  538.             "price2" => $__price2__,
  539.             "currency" => $__currency__,
  540.             "varargs" => $__varargs__,
  541.         ]);
  542.         $blocks = [];
  543.         ob_start();
  544.         try {
  545.             $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  546.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_get_min"));
  547.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  548.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_get_min"));
  549.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  550.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_get_min"));
  551.             // line 2
  552.             $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.'2$this->source); })()) > 0))) ? ((isset($context["price1"]) || array_key_exists("price1"$context) ? $context["price1"] : (function () { throw new RuntimeError('Variable "price1" does not exist.'2$this->source); })())) : (999999999));
  553.             // line 3
  554.             $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.'3$this->source); })()) > 0))) ? ((isset($context["price2"]) || array_key_exists("price2"$context) ? $context["price2"] : (function () { throw new RuntimeError('Variable "price2" does not exist.'3$this->source); })())) : (999999999));
  555.             // line 4
  556.             if ((((isset($context["price1"]) || array_key_exists("price1"$context) ? $context["price1"] : (function () { throw new RuntimeError('Variable "price1" does not exist.'4$this->source); })()) == 999999999) && ((isset($context["price2"]) || array_key_exists("price2"$context) ? $context["price2"] : (function () { throw new RuntimeError('Variable "price2" does not exist.'4$this->source); })()) == 999999999))) {
  557.                 // line 5
  558.                 echo "-";
  559.             } elseif ((            // line 6
  560. (isset($context["price1"]) || array_key_exists("price1"$context) ? $context["price1"] : (function () { throw new RuntimeError('Variable "price1" does not exist.'6$this->source); })()) == 999999999)) {
  561.                 // line 7
  562.                 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.'7$this->source); })()), "html"nulltrue);
  563.                 echo " ";
  564.                 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.'7$this->source); })()), "html"nulltrue);
  565.             } elseif ((            // line 8
  566. (isset($context["price2"]) || array_key_exists("price2"$context) ? $context["price2"] : (function () { throw new RuntimeError('Variable "price2" does not exist.'8$this->source); })()) == 999999999)) {
  567.                 // line 9
  568.                 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.'9$this->source); })()), "html"nulltrue);
  569.                 echo " ";
  570.                 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);
  571.             } else {
  572.                 // line 11
  573.                 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.'11$this->source); })()), (isset($context["price2"]) || array_key_exists("price2"$context) ? $context["price2"] : (function () { throw new RuntimeError('Variable "price2" does not exist.'11$this->source); })())]), "html"nulltrue);
  574.                 echo " ";
  575.                 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);
  576.             }
  577.             
  578.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  579.             
  580.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  581.             
  582.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  583.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  584.         } finally {
  585.             ob_end_clean();
  586.         }
  587.     }
  588.     // line 15
  589.     public function macro__check_out_price($__price1__ null$__price2__ null$__price3__ null, ...$__varargs__)
  590.     {
  591.         $macros $this->macros;
  592.         $context $this->env->mergeGlobals([
  593.             "price1" => $__price1__,
  594.             "price2" => $__price2__,
  595.             "price3" => $__price3__,
  596.             "varargs" => $__varargs__,
  597.         ]);
  598.         $blocks = [];
  599.         ob_start();
  600.         try {
  601.             $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  602.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_check_out_price"));
  603.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  604.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_check_out_price"));
  605.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  606.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_check_out_price"));
  607.             // line 16
  608.             $context["maxPrice"] = 999999999;
  609.             // line 17
  610.             $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.'17$this->source); })()) > 0))) ? ((isset($context["price1"]) || array_key_exists("price1"$context) ? $context["price1"] : (function () { throw new RuntimeError('Variable "price1" does not exist.'17$this->source); })())) : ((isset($context["maxPrice"]) || array_key_exists("maxPrice"$context) ? $context["maxPrice"] : (function () { throw new RuntimeError('Variable "maxPrice" does not exist.'17$this->source); })())));
  611.             // line 18
  612.             $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.'18$this->source); })()) > 0))) ? ((isset($context["price2"]) || array_key_exists("price2"$context) ? $context["price2"] : (function () { throw new RuntimeError('Variable "price2" does not exist.'18$this->source); })())) : ((isset($context["maxPrice"]) || array_key_exists("maxPrice"$context) ? $context["maxPrice"] : (function () { throw new RuntimeError('Variable "maxPrice" does not exist.'18$this->source); })())));
  613.             // line 19
  614.             $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.'19$this->source); })()) > 0))) ? ((isset($context["price3"]) || array_key_exists("price3"$context) ? $context["price3"] : (function () { throw new RuntimeError('Variable "price3" 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); })())));
  615.             // line 21
  616.             if (((((isset($context["price1"]) || array_key_exists("price1"$context) ? $context["price1"] : (function () { throw new RuntimeError('Variable "price1" 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); })())) || ((isset($context["price2"]) || array_key_exists("price2"$context) ? $context["price2"] : (function () { throw new RuntimeError('Variable "price2" 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); })()))) || ((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); })())))) {
  617.                 // line 22
  618.                 echo "1";
  619.             } else {
  620.                 // line 24
  621.                 echo "0";
  622.             }
  623.             
  624.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  625.             
  626.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  627.             
  628.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  629.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  630.         } finally {
  631.             ob_end_clean();
  632.         }
  633.     }
  634.     // line 28
  635.     public function macro__gen_alt($__profile__ null$__stationOutput__ null$__fakeStation__ null$__station__ null, ...$__varargs__)
  636.     {
  637.         $macros $this->macros;
  638.         $context $this->env->mergeGlobals([
  639.             "profile" => $__profile__,
  640.             "stationOutput" => $__stationOutput__,
  641.             "fakeStation" => $__fakeStation__,
  642.             "station" => $__station__,
  643.             "varargs" => $__varargs__,
  644.         ]);
  645.         $blocks = [];
  646.         ob_start();
  647.         try {
  648.             $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  649.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_gen_alt"));
  650.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  651.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_gen_alt"));
  652.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  653.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_gen_alt"));
  654.             // line 29
  655.             $context["services"] = "Секс классический|Секс анальный|Секс групповой|Секс лесбийский|Услуги семейной паре|Секс-игрушки|Минет в презервативе|Минет без резинки|Минет глубокий|Минет в машине|Куннилингус|Окончание на грудь|Окончание на лицо|Окончание в рот|Стриптиз профи|Стриптиз не профи|Лесби откровенное|Лесби-шоу легкое|Массаж классический|Массаж профессиональный|Массаж расслабляющий|Массаж тайский|Массаж урологический|Массаж точечный|Массаж эротический|Массаж ветка сакуры|Страпон|Анилингус делаю|Золотой дождь выдача|Золотой дождь прием|Копро выдача|Фистинг анальный|Фистинг классический|Фистинг Вам|Фистинг мне|Госпожа|Игры|Легкая доминация|Порка|Рабыня|Фетиш|Трамплинг|Бондаж|Ролевые игры|Фото/видео съемка|Эскорт|GFE|Целуюсь";
  656.             // line 30
  657.             $context["randomService1"] = twig_lower_filter($this->env$this->extensions['App\Twig\SeoExtension']->morphing((isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'30$this->source); })()), twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'30$this->source); })()), "id", [], "any"falsefalsefalse30)));
  658.             // line 31
  659.             $context["randomService2"] = twig_lower_filter($this->env$this->extensions['App\Twig\SeoExtension']->morphing((isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'31$this->source); })()), (twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'31$this->source); })()), "id", [], "any"falsefalsefalse31) + 752)));
  660.             // line 32
  661.             $context["_station"] = (((isset($context["fakeStation"]) || array_key_exists("fakeStation"$context) ? $context["fakeStation"] : (function () { throw new RuntimeError('Variable "fakeStation" does not exist.'32$this->source); })())) ? ((twig_get_attribute($this->env$this->source, (isset($context["station"]) || array_key_exists("station"$context) ? $context["station"] : (function () { throw new RuntimeError('Variable "station" does not exist.'32$this->source); })()), "name", [], "any"falsefalsefalse32) . ", ")) : ((((isset($context["stationOutput"]) || array_key_exists("stationOutput"$context) ? $context["stationOutput"] : (function () { throw new RuntimeError('Variable "stationOutput" does not exist.'32$this->source); })())) ? ((twig_get_attribute($this->env$this->source, (isset($context["stationOutput"]) || array_key_exists("stationOutput"$context) ? $context["stationOutput"] : (function () { throw new RuntimeError('Variable "stationOutput" does not exist.'32$this->source); })()), "name", [], "any"falsefalsefalse32) . ", ")) : (""))));
  662.             // line 33
  663.             echo twig_escape_filter($this->env, ((((((((twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'33$this->source); })()), "name", [], "any"falsefalsefalse33) . " (") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'33$this->source); })()), "personParameters", [], "any"falsefalsefalse33), "age", [], "any"falsefalsefalse33)) . "), ") . (isset($context["_station"]) || array_key_exists("_station"$context) ? $context["_station"] : (function () { throw new RuntimeError('Variable "_station" does not exist.'33$this->source); })())) . (isset($context["randomService1"]) || array_key_exists("randomService1"$context) ? $context["randomService1"] : (function () { throw new RuntimeError('Variable "randomService1" does not exist.'33$this->source); })())) . ", ") . (isset($context["randomService2"]) || array_key_exists("randomService2"$context) ? $context["randomService2"] : (function () { throw new RuntimeError('Variable "randomService2" does not exist.'33$this->source); })())) . ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "seo", [], "any"falsetruefalse33), "phone", [], "any"truetruefalse33)) ? ((", тел. " twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'33$this->source); })()), "seo", [], "any"falsefalsefalse33), "phone", [], "any"falsefalsefalse33))) : (""))), "html"nulltrue);
  664.             
  665.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  666.             
  667.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  668.             
  669.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  670.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  671.         } finally {
  672.             ob_end_clean();
  673.         }
  674.     }
  675.     /**
  676.      * @codeCoverageIgnore
  677.      */
  678.     public function getTemplateName()
  679.     {
  680.         return "ProfileList/list.profiles.html.twig";
  681.     }
  682.     /**
  683.      * @codeCoverageIgnore
  684.      */
  685.     public function isTraitable()
  686.     {
  687.         return false;
  688.     }
  689.     /**
  690.      * @codeCoverageIgnore
  691.      */
  692.     public function getDebugInfo()
  693.     {
  694.         return array (  707 => 33,  705 => 32,  703 => 31,  701 => 30,  699 => 29,  674 => 28,  655 => 24,  652 => 22,  650 => 21,  648 => 19,  646 => 18,  644 => 17,  642 => 16,  618 => 15,  597 => 11,  592 => 9,  590 => 8,  586 => 7,  584 => 6,  582 => 5,  580 => 4,  578 => 3,  576 => 2,  552 => 1,  526 => 264,  524 => 263,  521 => 260,  517 => 257,  515 => 256,  511 => 254,  506 => 252,  501 => 250,  496 => 247,  494 => 246,  492 => 244,  489 => 242,  485 => 239,  483 => 238,  479 => 237,  476 => 235,  474 => 234,  472 => 233,  470 => 232,  468 => 231,  466 => 230,  462 => 228,  460 => 227,  456 => 226,  452 => 224,  450 => 223,  448 => 222,  446 => 221,  444 => 220,  442 => 219,  430 => 209,  423 => 205,  416 => 201,  409 => 197,  404 => 194,  400 => 193,  396 => 192,  392 => 191,  388 => 190,  384 => 189,  379 => 186,  372 => 182,  365 => 178,  358 => 174,  349 => 167,  342 => 162,  338 => 160,  336 => 159,  331 => 156,  327 => 154,  325 => 153,  323 => 152,  320 => 150,  315 => 148,  303 => 146,  301 => 145,  295 => 144,  293 => 143,  291 => 142,  289 => 141,  282 => 135,  276 => 131,  272 => 129,  266 => 125,  262 => 123,  260 => 122,  254 => 118,  250 => 116,  244 => 112,  240 => 110,  238 => 109,  232 => 105,  228 => 103,  222 => 99,  218 => 97,  216 => 96,  213 => 94,  207 => 90,  203 => 88,  201 => 87,  198 => 85,  190 => 82,  184 => 80,  181 => 78,  178 => 77,  176 => 76,  173 => 75,  170 => 74,  168 => 73,  166 => 72,  163 => 71,  160 => 70,  154 => 69,  151 => 68,  148 => 67,  145 => 66,  140 => 65,  137 => 64,  135 => 63,  133 => 62,  130 => 61,  127 => 60,  125 => 59,  122 => 58,  119 => 57,  116 => 56,  113 => 55,  110 => 54,  107 => 53,  101 => 52,  98 => 51,  95 => 50,  92 => 49,  87 => 48,  84 => 47,  81 => 46,  78 => 44,  76 => 43,  73 => 42,  70 => 41,  68 => 40,  51 => 38,  49 => 37,  47 => 36,);
  695.     }
  696.     public function getSourceContext()
  697.     {
  698.         return new Source("{%- macro _get_min(price1, price2, currency) -%}
  699. \t{%- set price1 = price1 is defined and price1 > 0 ? price1 : 999999999 -%}
  700. \t{%- set price2 = price2 is defined and price2 > 0 ? price2 : 999999999 -%}
  701. \t{%- if price1 == 999999999 and price2 == 999999999 -%}
  702. \t\t-
  703. \t{%- elseif price1 == 999999999 -%}
  704. \t\t{{price2}} {{ currency }}
  705. \t{%- elseif price2 == 999999999 -%}
  706. \t\t{{price1}} {{ currency }}
  707. \t{%- else -%}
  708. \t\t{{ min([price1,price2]) }} {{ currency }}
  709. \t{%- endif -%}
  710. {%- endmacro -%}
  711. {%- macro _check_out_price(price1, price2, price3) -%}
  712. \t{%- set maxPrice = 999999999 %}
  713. \t{%- set price1 = price1 is defined and price1 > 0 ? price1 : maxPrice -%}
  714. \t{%- set price2 = price2 is defined and price2 > 0 ? price2 : maxPrice -%}
  715. \t{%- set price3 = price3 is defined and price3 > 0 ? price3 : maxPrice -%}
  716. \t{%- if price1 != maxPrice or price2 != maxPrice or price3 != maxPrice -%}
  717. \t\t1
  718. \t{%- else -%}
  719. \t\t0
  720. \t{%- endif -%}
  721. {%- endmacro -%}
  722. {%- macro _gen_alt(profile, stationOutput, fakeStation, station) -%}
  723. \t{%- set services = \"Секс классический|Секс анальный|Секс групповой|Секс лесбийский|Услуги семейной паре|Секс-игрушки|Минет в презервативе|Минет без резинки|Минет глубокий|Минет в машине|Куннилингус|Окончание на грудь|Окончание на лицо|Окончание в рот|Стриптиз профи|Стриптиз не профи|Лесби откровенное|Лесби-шоу легкое|Массаж классический|Массаж профессиональный|Массаж расслабляющий|Массаж тайский|Массаж урологический|Массаж точечный|Массаж эротический|Массаж ветка сакуры|Страпон|Анилингус делаю|Золотой дождь выдача|Золотой дождь прием|Копро выдача|Фистинг анальный|Фистинг классический|Фистинг Вам|Фистинг мне|Госпожа|Игры|Легкая доминация|Порка|Рабыня|Фетиш|Трамплинг|Бондаж|Ролевые игры|Фото/видео съемка|Эскорт|GFE|Целуюсь\" -%}
  724. \t{%- set randomService1 = services|seo_morphing(profile.id)|lower -%}
  725. \t{%- set randomService2 = services|seo_morphing(profile.id + 752)|lower -%}
  726. \t{%- set _station = fakeStation ? station.name ~ \", \" : (stationOutput ? stationOutput.name ~ \", \" : '') -%}
  727. \t{{- profile.name ~ ' (' ~ profile.personParameters.age ~ '), ' ~ (_station) ~ randomService1 ~ \", \" ~ randomService2 ~ (profile.seo.phone is defined ? \", тел. \" ~ profile.seo.phone : '') -}}
  728. {%- endmacro -%}
  729. {% set fakeStation = fakeStationList is defined and fakeStationList and station is defined and station.uriIdentity %}
  730. {% set isStationPage = isStationPage is defined ? isStationPage : false %}
  731. {%- for profile in profiles -%}
  732.     {%- set profile = profile.profile is defined ? profile.profile : profile %}
  733.     {% set isSearchPage = form is defined %}
  734. \t{% set stationFromForm = null %}
  735. \t{# -------------------------- Если страница поиска -------------------------- #}
  736. \t{% if isSearchPage %}
  737. \t\t{% if form.station is defined and form.station.vars.value|length > 0 %}
  738. \t\t\t{% for station in form.station.vars.value %}
  739. \t\t\t\t{% if stationFromForm is null%}
  740. \t\t\t\t\t{% set stationFromForm = profile.stations[station] is defined ? profile.stations[station] : null %}
  741. \t\t\t\t{% endif %}
  742. \t\t\t{% endfor %}
  743. \t\t{% endif %}
  744. \t\t{% set listingStation = stationFromForm %}
  745. \t{% else %}
  746. \t\t{% set listingStation = app.request.attributes.get('station') %}
  747. \t{% endif %}
  748. \t{% set haveStationInList = listingStation %}
  749. \t{% set stationOutput = '' %}
  750. \t{% set stationReallyExist = false %}
  751. \t{# Проверяем что станция которую мы открыли есть в профиле анкеты #}
  752. \t{% if haveStationInList and profile.stations|length > 0 %}
  753. \t\t{% for station in profile.stations %}
  754. \t\t\t{% if station.uriIdentity == listingStation.uriIdentity %}
  755. \t\t\t\t{% set stationReallyExist = true %}
  756. \t\t{% endif %}
  757. \t\t{% endfor %}
  758. \t{% endif %}
  759. \t{% if haveStationInList and stationReallyExist %}
  760. \t\t{# Если это список станций - выводим эту станцию сразу #}
  761. \t\t{% set stationOutput = listingStation %}
  762. \t{% else %}
  763. \t\t{# Если это обычный список - выводим станции из профиля #}
  764. \t\t{% set stationOutput = profile.stations|first %}
  765. \t{% endif -%}
  766. \t<div class=\"models-item-col\" data-profile-id=\"{{ profile.id }}\">
  767. \t\t<div class=\"models-item rounding\">
  768. \t\t\t<a class=\"models-item-link\" data-profile data-id=\"{{profile.id}}\" href=\"{{ path('profile_preview.page', {'city': profile.city.uriIdentity, 'profile': profile.uriIdentity}) }}\" target=\"_blank\">
  769. \t\t\t\t<div class=\"models-item__header d-flex align-items-center justify-content-between\">
  770. \t\t\t\t\t<div class=\"models-item__header-title mr-2 d-flex align-items-center\">
  771. \t\t\t\t\t\t<span>{{ profile.name|trans }}</span>
  772. \t\t\t\t\t\t{%- if ( profile.isApproved ) -%}
  773. \t\t\t\t\t\t\t<div class=\"ml-2\" data-toggle=\"tooltip\" data-theme=\"verify\" data-tippy-content=\"Фото проверено\">
  774. \t\t\t\t\t\t\t\t<svg class=\"icon\">
  775. \t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-verify-new\"></use>
  776. \t\t\t\t\t\t\t\t</svg>
  777. \t\t\t\t\t\t\t</div>
  778. \t\t\t\t\t\t{%- endif -%}
  779. \t\t\t\t\t</div>
  780. \t\t\t\t\t<div class=\"item-status d-flex align-items-center justify-content-center\">
  781. \t\t\t\t\t\t{%- if profile.comments is iterable ? (profile.comments|length > 0) : profile.comments -%}
  782. \t\t\t\t\t\t\t<div class=\"item-status__el d-flex align-items-center active\" data-toggle=\"tooltip\" data-placement=\"top\" data-tippy-content=\"Есть комментарии\" data-theme=\"basic\">
  783. \t\t\t\t\t\t\t\t<svg class=\"icon\">
  784. \t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-comments-thumb\"></use>
  785. \t\t\t\t\t\t\t\t</svg>
  786. \t\t\t\t\t\t\t</div>
  787. \t\t\t\t\t\t{%- else -%}
  788. \t\t\t\t\t\t\t<div class=\"item-status__el d-flex align-items-center\">
  789. \t\t\t\t\t\t\t\t<svg class=\"icon\">
  790. \t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-comments-thumb\"></use>
  791. \t\t\t\t\t\t\t\t</svg>
  792. \t\t\t\t\t\t\t</div>
  793. \t\t\t\t\t\t{%- endif -%}
  794. \t\t\t\t\t\t{%- if profile.selfies is iterable ? (profile.selfies|length > 0) : profile.selfies -%}
  795. \t\t\t\t\t\t\t<div class=\"item-status__el d-flex align-items-center active\" data-toggle=\"tooltip\" data-placement=\"top\" data-tippy-content=\"Есть селфи\" data-theme=\"basic\">
  796. \t\t\t\t\t\t\t\t<svg class=\"icon\">
  797. \t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-selfie-thumb\"></use>
  798. \t\t\t\t\t\t\t\t</svg>
  799. \t\t\t\t\t\t\t</div>
  800. \t\t\t\t\t\t{%- else -%}
  801. \t\t\t\t\t\t\t<div class=\"item-status__el d-flex align-items-center\">
  802. \t\t\t\t\t\t\t\t<svg class=\"icon\">
  803. \t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-selfie-thumb\"></use>
  804. \t\t\t\t\t\t\t\t</svg>
  805. \t\t\t\t\t\t\t</div>
  806. \t\t\t\t\t\t{%- endif -%}
  807. \t\t\t\t\t\t{%- if profile.videos is iterable ? (profile.videos|length > 0) : profile.videos -%}
  808. \t\t\t\t\t\t\t<div class=\"item-status__el d-flex align-items-center active\" data-toggle=\"tooltip\" data-placement=\"top\" data-tippy-content=\"Есть видео\" data-theme=\"basic\">
  809. \t\t\t\t\t\t\t\t<svg class=\"icon\">
  810. \t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-video-thumb\"></use>
  811. \t\t\t\t\t\t\t\t</svg>
  812. \t\t\t\t\t\t\t</div>
  813. \t\t\t\t\t\t{%- else -%}
  814. \t\t\t\t\t\t\t<div class=\"item-status__el d-flex align-items-center\">
  815. \t\t\t\t\t\t\t\t<svg class=\"icon\">
  816. \t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-video-thumb\"></use>
  817. \t\t\t\t\t\t\t\t</svg>
  818. \t\t\t\t\t\t\t</div>
  819. \t\t\t\t\t\t{%- endif -%}
  820. \t\t\t\t\t</div>
  821. \t\t\t\t</div>
  822. \t\t\t\t<div class=\"models-item__content d-flex\">
  823. \t\t\t\t\t<div class=\"models-item__images d-block rounding\">
  824. \t\t\t\t\t\t{%- set photo = profile|avatar -%}
  825. \t\t\t\t\t\t{%- if photo -%}
  826. \t\t\t\t\t\t\t{%- set firstStation = profile.stations|first -%}
  827. \t\t\t\t\t\t\t<img {{ loop.index == 1 ? '' : 'data-' }}src=\"{{ responsive_asset(photo.path, 'profile_media', \"200x280\", \"jpg\") }}\" class=\"models-item__img lazy img-fluid rounding\"
  828. \t\t\t\t\t\t\t\t{%- if listingStation and not fakeStation -%}
  829. \t\t\t\t\t\t\t\t\talt=\"{{ profile.name|trans }} ({{ profile.personParameters.age }}){% if firstStation and firstStation is not null %}, {{ firstStation.name|trans }}{%- endif -%}\"
  830. \t\t\t\t\t\t\t\t{%- else -%}
  831. \t\t\t\t\t\t\t\t\talt=\"{{- _self._gen_alt(profile, stationOutput, fakeStation, station ?? false) -}}\"
  832. \t\t\t\t\t\t\t\t{%- endif -%}
  833. \t\t\t\t\t\t\t\twidth=\"200\" height=\"280\">
  834. \t\t\t\t\t\t{%- endif -%}
  835. \t\t\t\t\t\t{%- if profile.isActive -%}
  836. \t\t\t\t\t\t\t{%- if profile.isVip -%}
  837. \t\t\t\t\t\t\t\t<div class=\"status-line\">
  838. \t\t\t\t\t\t\t\t\t<svg class=\"status-line__icon\">
  839. \t\t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#status-gold-new\"></use>
  840. \t\t\t\t\t\t\t\t\t</svg>
  841. \t\t\t\t\t\t\t\t</div>
  842. \t\t\t\t\t\t\t{%- elseif profile.isStandard -%}
  843. \t\t\t\t\t\t\t\t<div class=\"status-line\">
  844. \t\t\t\t\t\t\t\t\t<svg class=\"status-line__icon\">
  845. \t\t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#status-silver-new\"></use>
  846. \t\t\t\t\t\t\t\t\t</svg>
  847. \t\t\t\t\t\t\t\t</div>
  848. \t\t\t\t\t\t\t{%- endif -%}
  849. \t\t\t\t\t\t{%- endif -%}
  850. \t\t\t\t\t</div>
  851. \t\t\t\t\t<div class=\"models-item__info d-flex flex-fill\">
  852. \t\t\t\t\t\t<div class=\"models-item__info-link\">
  853. \t\t\t\t\t\t\t<dl class=\"item-info\">
  854. \t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
  855. \t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Возраст</dt>
  856. \t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">{{- profile.personParameters.age ? profile.personParameters.age : '-' -}}</dd>
  857. \t\t\t\t\t\t\t\t</div>
  858. \t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
  859. \t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Рост</dt>
  860. \t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">{{- profile.personParameters.height ? profile.personParameters.height : '-' -}}</dd>
  861. \t\t\t\t\t\t\t\t</div>
  862. \t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
  863. \t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Вес</dt>
  864. \t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">{{- profile.personParameters.weight ? profile.personParameters.weight : '-' -}}</dd>
  865. \t\t\t\t\t\t\t\t</div>
  866. \t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
  867. \t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Грудь</dt>
  868. \t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">{{- profile.personParameters.breastSize ? profile.personParameters.breastSize : '-' -}}</dd>
  869. \t\t\t\t\t\t\t\t</div>
  870. \t\t\t\t\t\t\t</dl>
  871. \t\t\t\t\t\t\t{%- set currencyProfile -%}{{ profile.city.countryCode|country_currency }}{%- endset -%}
  872. \t\t\t\t\t\t\t{%- set minPriceHour -%}{{ _self._get_min(profile.apartmentsPricing.oneHourPrice,profile.takeOutPricing.oneHourPrice,currencyProfile) }}{%- endset -%}
  873. \t\t\t\t\t\t\t{%- set minPriceTwo -%}{{ _self._get_min(profile.apartmentsPricing.twoHoursPrice,profile.takeOutPricing.twoHoursPrice,currencyProfile) }}{%- endset -%}
  874. \t\t\t\t\t\t\t{%- set minPriceNight -%}{{ _self._get_min(profile.apartmentsPricing.nightPrice,profile.takeOutPricing.nightPrice,currencyProfile) }}{%- endset -%}
  875. \t\t\t\t\t\t\t{%- set hasOutPrice -%}{{- _self._check_out_price(profile.takeOutPricing.oneHourPrice,profile.takeOutPricing.twoHoursPrice,profile.takeOutPricing.nightPrice) -}}{%- endset -%}
  876. \t\t\t\t\t\t\t<dl class=\"item-info\">
  877. \t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
  878. \t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Час</dt>
  879. \t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">{{- minPriceHour != '-' ? minPriceHour : '-' -}}</dd>
  880. \t\t\t\t\t\t\t\t</div>
  881. \t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
  882. \t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">2 часа</dt>
  883. \t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">{{- minPriceTwo != '-' ? minPriceTwo : '-' -}}</dd>
  884. \t\t\t\t\t\t\t\t</div>
  885. \t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
  886. \t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Ночь</dt>
  887. \t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">{{- minPriceNight != '-' ? minPriceNight : '-' -}}</dd>
  888. \t\t\t\t\t\t\t\t</div>
  889. \t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
  890. \t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Выезд</dt>
  891. \t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">{{- hasOutPrice == '1' ? 'Есть' : '-' -}}</dd>
  892. \t\t\t\t\t\t\t\t</div>
  893. \t\t\t\t\t\t\t</dl>
  894. \t\t\t\t\t\t</div>
  895. \t\t\t\t\t</div>
  896. \t\t\t\t</div>
  897. \t\t\t</a>
  898. \t\t\t<div class=\"models-item__metro d-flex align-items-center\">
  899. \t\t\t\t{%- if fakeStation -%}
  900. \t\t\t\t\t{%- include 'components/metro/icon_generate.partial.twig' with {data: station.id|station_lines} -%}
  901. \t\t\t\t\t{%- if isStationPage -%}
  902. \t\t\t\t\t\t<div class=\"models-item__metro-link\">
  903. \t\t\t\t\t\t\t{{- station.name -}}
  904. \t\t\t\t\t\t</div>
  905. \t\t\t\t\t{% else %}
  906. \t\t\t\t\t\t<a class=\"models-item__metro-link\" href=\"{{ path('profile_list.list_by_station', {'city': profile.city.uriIdentity, 'station': station.uriIdentity}) }}\" target=\"_blank\">
  907. \t\t\t\t\t\t\t{{- station.name -}}
  908. \t\t\t\t\t\t</a>
  909. \t\t\t\t\t{% endif %}
  910. \t\t\t\t{%- elseif stationOutput != '' -%}
  911. \t\t\t\t\t{%- include 'components/metro/icon_generate.partial.twig' with {data: stationOutput.id|station_lines} -%}
  912. \t\t\t\t\t{%- if isStationPage -%}
  913. \t\t\t\t\t\t<div class=\"models-item__metro-link\">
  914. \t\t\t\t\t\t\t{{- stationOutput.name -}}
  915. \t\t\t\t\t\t</div>
  916. \t\t\t\t\t{%- else -%}
  917. \t\t\t\t\t\t<a class=\"models-item__metro-link\" href=\"{{ path('profile_list.list_by_station', {'city': profile.city.uriIdentity, 'station': stationOutput.uriIdentity}) }}\" target=\"_blank\">
  918. \t\t\t\t\t\t\t{{- stationOutput.name -}}
  919. \t\t\t\t\t\t</a>
  920. \t\t\t\t\t{%- endif -%}
  921. \t\t\t\t{%- else -%}
  922. \t\t\t\t\t<div class=\"models-item__metro-link models-item__metro-link--empty\"></div>
  923. \t\t\t\t{%- endif -%}
  924. \t\t\t</div>
  925. \t\t\t{%- if profile.isActive or not profile.isHidden -%}
  926. \t\t\t\t<div class=\"models-item__phone rounding\">
  927. \t\t\t\t\t<button class=\"models-item__phone-button models-item__phone-button--dark btn btn-danger d-flex align-items-center justify-content-center\" type=\"button\" onclick=\"this.nextElementSibling.classList.remove('d-none');this.nextElementSibling.classList.add('d-flex');this.remove()\">
  928. \t\t\t\t\t\t<svg class=\"models-item__phone-icon\">
  929. \t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#phone\"></use>
  930. \t\t\t\t\t\t</svg>Показать телефон</button>
  931. \t\t\t\t\t<a href=\"tel:{{ profile.phoneNumber|replace({' ':'', '-':''}) }}\" rel=\"nofollow\" class=\"models-item__phone-button btn btn-danger align-items-center justify-content-center d-none\">
  932. \t\t\t\t\t\t<svg class=\"models-item__phone-icon\">
  933. \t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#phone\"></use>
  934. \t\t\t\t\t\t</svg>
  935. \t\t\t\t\t\t{{- profile.phoneNumber -}}
  936. \t\t\t\t\t</a>
  937. \t\t\t\t</div>
  938. \t\t\t{%- endif -%}
  939. \t\t</div>
  940. \t</div>
  941. \t{%- if app.request.method == 'GET' and app.request.isXmlHttpRequest() -%}
  942. \t\t{{- porpaginas_render(profiles) -}}
  943. \t{% endif %}
  944. {%- endfor -%}
  945. ""ProfileList/list.profiles.html.twig""/app/templates/ProfileList/list.profiles.html.twig");
  946.     }
  947. }