var/cache/review/twig/ee/ee002d42ec00fc30d2ce745fe71a05c8.php line 232

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. /* ProfilePreview/page.html.twig */
  14. class __TwigTemplate_c169b2457306e63df82a8554c8176c37 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.             'name_page' => [$this'block_name_page'],
  24.             'metaRobots' => [$this'block_metaRobots'],
  25.             'stylesheet' => [$this'block_stylesheet'],
  26.             'mainContainer' => [$this'block_mainContainer'],
  27.             'javascripts' => [$this'block_javascripts'],
  28.         ];
  29.         $macros["_self"] = $this->macros["_self"] = $this;
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 1
  34.         return "ProfilePreview/grid.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  40.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfilePreview/page.html.twig"));
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfilePreview/page.html.twig"));
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfilePreview/page.html.twig"));
  45.         // line 37
  46.         $context["servicesList"] = "Секс классический|Секс анальный|Секс групповой|Секс лесбийский|Услуги семейной паре|Секс-игрушки|Минет в презервативе|Минет без резинки|Минет глубокий|Минет в машине|Куннилингус|Окончание на грудь|Окончание на лицо|Окончание в рот|Стриптиз профи|Стриптиз не профи|Лесби откровенное|Лесби-шоу легкое|Массаж классический|Массаж профессиональный|Массаж расслабляющий|Массаж тайский|Массаж урологический|Массаж точечный|Массаж эротический|Массаж ветка сакуры|Страпон|Анилингус делаю|Золотой дождь выдача|Золотой дождь прием|Копро выдача|Фистинг анальный|Фистинг классический|Фистинг Вам|Фистинг мне|Госпожа|Игры|Легкая доминация|Порка|Рабыня|Фетиш|Трамплинг|Бондаж|Ролевые игры|Фото/видео съемка|Эскорт|GFE|Целуюсь";
  47.         // line 1
  48.         $this->parent $this->loadTemplate("ProfilePreview/grid.html.twig""ProfilePreview/page.html.twig"1);
  49.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  50.         
  51.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  52.         
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  54.         
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  56.     }
  57.     // line 39
  58.     public function block_name_page($context, array $blocks = [])
  59.     {
  60.         $macros $this->macros;
  61.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  62.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name_page"));
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name_page"));
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name_page"));
  67.         echo "profile";
  68.         
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  70.         
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  72.         
  73.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  74.     }
  75.     // line 41
  76.     public function block_metaRobots($context, array $blocks = [])
  77.     {
  78.         $macros $this->macros;
  79.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  80.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaRobots"));
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaRobots"));
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaRobots"));
  85.         if (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.'41$this->source); })()), "deleted", [], "any"falsefalsefalse41)) {
  86.             echo "<meta name=\"robots\" content=\"noindex,follow\" />";
  87.         }
  88.         
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  90.         
  91.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  92.         
  93.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  94.     }
  95.     // line 43
  96.     public function block_stylesheet($context, array $blocks = [])
  97.     {
  98.         $macros $this->macros;
  99.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  100.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  101.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  102.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  103.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  104.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  105.         // line 44
  106.         echo "    ";
  107.         $this->displayParentBlock("stylesheet"$context$blocks);
  108.         echo "
  109.     <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css\">
  110.     <link rel=\"stylesheet\" href=\"/assets/vendors/lightgallery/css/lightgallery.min.css\">
  111. ";
  112.         
  113.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  114.         
  115.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  116.         
  117.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  118.     }
  119.     // line 49
  120.     public function block_mainContainer($context, array $blocks = [])
  121.     {
  122.         $macros $this->macros;
  123.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  124.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  125.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  126.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  127.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  128.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  129.         // line 50
  130.         echo "    ";
  131.         echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render("breadcrumbs", ["template" => "_menu/breadcrumbs.html.twig""profile" => (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'50$this->source); })())]);
  132.         echo "
  133.     <div class=\"d-flex flex-fill model-header\">
  134.         <h1 class=\"border-line\" id=\"profile-heading\">";
  135.         // line 52
  136.         echo $this->extensions['App\Twig\SeoExtension']->pageHeading();
  137.         echo "</h1>
  138.         ";
  139.         // line 53
  140.         if (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.'53$this->source); })()), "approved", [], "any"falsefalsefalse53)) {
  141.             // line 54
  142.             echo "            <div class=\"model-header__verification\"
  143.                  data-toggle=\"tooltip\" data-theme=\"verify\" data-tippy-content=\"Фото проверено\">
  144.                     <svg class=\"icon\">
  145.                         <use xlink:href=\"";
  146.             // line 57
  147.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  148.             echo "#icon-verify-new\"></use>
  149.                     </svg>
  150.             </div>
  151.         ";
  152.         }
  153.         // line 61
  154.         echo "    </div>
  155.     <div class=\"d-lg-flex\">
  156.         <div class=\"modal-main flex-fill order-lg-2\">
  157.             <div class=\"modal-info d-xxl-flex rounding\">
  158.                 <div class=\"modal-col modal-info__items first\">
  159.                     <div class=\"modal-info__items-preview d-block d-lg-none float-left\" id=\"girl_avatar\">
  160.                         ";
  161.         // line 67
  162.         if (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.'67$this->source); })()), "deleted", [], "any"falsefalsefalse67)) {
  163.             // line 68
  164.             echo "                                <img itemprop=\"contentUrl\" src=\"";
  165.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/deleted-profiles.svg"), "html"nulltrue);
  166.             echo "\"
  167.                                      alt=\"Анкета ";
  168.             // line 69
  169.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(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.'69$this->source); })()), "name", [], "any"falsefalsefalse69)), "html"nulltrue);
  170.             echo " удалена\"
  171.                                      class=\"img-fluid\">
  172.                         ";
  173.         } else {
  174.             // line 72
  175.             echo "                            ";
  176.             $context["photo"] = $this->extensions['App\Twig\ProfileAvatarExtension']->profileAvatar((isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'72$this->source); })()));
  177.             // line 73
  178.             echo "                            ";
  179.             if ((isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'73$this->source); })())) {
  180.                 // line 74
  181.                 echo "
  182.                                 ";
  183.                 // line 75
  184.                 $context["station_alt"] = "";
  185.                 // line 76
  186.                 if (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.'76$this->source); })()), "primaryStation", [], "any"falsefalsefalse76)) {
  187.                     // line 77
  188.                     $context["station_alt"] = 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.'77$this->source); })()), "primaryStation", [], "any"falsefalsefalse77);
  189.                 }
  190.                 // line 80
  191.                 $context["alt"] = ((((((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(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.'80$this->source); })()), "name", [], "any"falsefalsefalse80)) . ", ") . $this->extensions['BigIdea\Bundle\MorphosTwigBundle\Twig\MorphosExtension']->pluralFilter("год"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.'80$this->source); })()), "personParameters", [], "any"falsefalsefalse80), "age", [], "any"falsefalsefalse80))) . (((isset($context["station_alt"]) || array_key_exists("station_alt"$context) ? $context["station_alt"] : (function () { throw new RuntimeError('Variable "station_alt" does not exist.'80$this->source); })())) ? ((", метро " $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source, (isset($context["station_alt"]) || array_key_exists("station_alt"$context) ? $context["station_alt"] : (function () { throw new RuntimeError('Variable "station_alt" does not exist.'80$this->source); })()), "name", [], "any"falsefalsefalse80)))) : (""))) . " в Москве, ") . ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "seo", [], "any"falsetruefalse80), "phone", [], "any"truetruefalse80)) ? ((", тел. " 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.'80$this->source); })()), "seo", [], "any"falsefalsefalse80), "phone", [], "any"falsefalsefalse80))) : (""))) . ", объявление ") . 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.'80$this->source); })()), "id", [], "any"falsefalsefalse80));
  192.                 // line 81
  193.                 echo "                                <img itemprop=\"contentUrl\" src=\"";
  194.                 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.'81$this->source); })()), "path", [], "any"falsefalsefalse81), "profile_media""357x500""jpg"), "html"nulltrue);
  195.                 echo "\"
  196.                                         class=\"img-fluid\"
  197.                                         data-type=\"lg\"
  198.                                         data-index-lg=\"0\"
  199.                                         alt=\"";
  200.                 // line 85
  201.                 echo twig_escape_filter($this->env, (isset($context["alt"]) || array_key_exists("alt"$context) ? $context["alt"] : (function () { throw new RuntimeError('Variable "alt" does not exist.'85$this->source); })()), "html"nulltrue);
  202.                 echo "\">
  203.                             ";
  204.             }
  205.             // line 87
  206.             echo "                        ";
  207.         }
  208.         // line 88
  209.         echo "                        ";
  210.         if (($this->extensions['App\Twig\UserExtension']->isUserCustomer(twig_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.'88$this->source); })()), "user", [], "any"falsefalsefalse88)) &&  !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.'88$this->source); })()), "deleted", [], "any"falsefalsefalse88))) {
  211.             // line 89
  212.             echo "                            <button type=\"button\"
  213.                                     data-url-add=\"";
  214.             // line 90
  215.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account.favourites.remove", ["profile" => 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.'90$this->source); })()), "id", [], "any"falsefalsefalse90)]), "html"nulltrue);
  216.             echo "\"
  217.                                     data-url-remove=\"";
  218.             // line 91
  219.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account.favourites.add", ["profile" => 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.'91$this->source); })()), "id", [], "any"falsefalsefalse91)]), "html"nulltrue);
  220.             echo "\"
  221.                                     title=\"Добавить в избранное\"
  222.                                     ";
  223.             // line 93
  224.             if ($this->extensions['App\Twig\UserExtension']->isProfileInFavourites((isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'93$this->source); })()))) {
  225.                 // line 94
  226.                 echo "                                    class=\"btn favorite like\" id=\"favorite2\">
  227.                                 ";
  228.             } else {
  229.                 // line 96
  230.                 echo "                                    class=\"btn favorite unlike\" id=\"favorite2\">
  231.                                 ";
  232.             }
  233.             // line 98
  234.             echo "                                <svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  235.                                     <rect width=\"40\" height=\"40\" fill=\"#ED0C34\"/>
  236.                                     <path d=\"M20 32L18.26 30.3455C12.08 24.4921 8 20.6316 8 15.8937C8 12.0332 10.904 9 14.6 9C16.688 9 18.692 10.0153 20 11.6196C21.308 10.0153 23.312 9 25.4 9C29.096 9 32 12.0332 32 15.8937C32 20.6316 27.92 24.4921 21.74 30.358L20 32Z\" fill=\"white\"/>
  237.                                     <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M25.9134 15.317C26.2906 15.7204 26.2694 16.3532 25.866 16.7304L20.058 23C19.6736 23.3594 19.0764 23.3594 18.692 23L15.317 19.9091C14.9136 19.5319 14.8924 18.899 15.2696 18.4956C15.6468 18.0922 16.2796 18.071 16.683 18.4482L19.375 20.9005L24.5 15.2696C24.9034 14.8924 25.5362 14.9136 25.9134 15.317Z\" fill=\"#ED0C34\"/>
  238.                                 </svg>
  239.                             </button>
  240.                         ";
  241.         }
  242.         // line 105
  243.         echo "                    </div>
  244.                     <div>
  245.                         <div class=\"modal-info__items-block first d-flex flex-column flex-md-row\">
  246.                             <div class=\"block-item pb-2 pb-md-0 w-100\">
  247.                                 <div class=\"block-item__title d-flex align-items-center mb-2 mb-md-3\">
  248.                                     <svg class=\"icon mr-2 clr-1\">
  249.                                         <use xlink:href=\"";
  250.         // line 111
  251.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  252.         echo "#icon-apartments\"></use>
  253.                                     </svg>
  254.                                     Апартаменты
  255.                                 </div>
  256.                                 <div class=\"block-item__description clr-1\">
  257.                                     <p class=\"d-flex\">Час <span class=\"ml-auto\">";
  258.         // line 117
  259.         if (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.'117$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse117), "oneHourPrice", [], "any"falsefalsefalse117)) {
  260.             // line 118
  261.             echo twig_escape_filter($this->envtwig_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.'118$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse118), "oneHourPrice", [], "any"falsefalsefalse118), "html"nulltrue);
  262.             echo " ";
  263.             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, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'118$this->source); })()), "city", [], "any"falsefalsefalse118), "countryCode", [], "any"falsefalsefalse118)), "html"nulltrue);
  264.         } else {
  265.             // line 119
  266.             echo "-";
  267.         }
  268.         // line 120
  269.         echo "</span></p>
  270.                                     <p class=\"d-flex\">2 часа <span class=\"ml-auto\">";
  271.         // line 122
  272.         if (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.'122$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse122), "twoHoursPrice", [], "any"falsefalsefalse122)) {
  273.             // line 123
  274.             echo twig_escape_filter($this->envtwig_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.'123$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse123), "twoHoursPrice", [], "any"falsefalsefalse123), "html"nulltrue);
  275.             echo " ";
  276.             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, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'123$this->source); })()), "city", [], "any"falsefalsefalse123), "countryCode", [], "any"falsefalsefalse123)), "html"nulltrue);
  277.         } else {
  278.             // line 124
  279.             echo "-";
  280.         }
  281.         // line 125
  282.         echo "</span></p>
  283.                                     <p class=\"d-flex\">Ночь <span class=\"ml-auto\">";
  284.         // line 127
  285.         if (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.'127$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse127), "nightPrice", [], "any"falsefalsefalse127)) {
  286.             // line 128
  287.             echo twig_escape_filter($this->envtwig_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.'128$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse128), "nightPrice", [], "any"falsefalsefalse128), "html"nulltrue);
  288.             echo " ";
  289.             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, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'128$this->source); })()), "city", [], "any"falsefalsefalse128), "countryCode", [], "any"falsefalsefalse128)), "html"nulltrue);
  290.         } else {
  291.             // line 129
  292.             echo "-";
  293.         }
  294.         // line 130
  295.         echo "</span></p>
  296.                                     <p class=\"d-flex\">Экспресс <span class=\"ml-auto\">";
  297.         // line 132
  298.         if (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.'132$this->source); })()), "expressPricing", [], "any"falsefalsefalse132), "provided", [], "any"falsefalsefalse132)) {
  299.             // line 133
  300.             if (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.'133$this->source); })()), "expressPricing", [], "any"falsefalsefalse133), "price", [], "any"falsefalsefalse133)) {
  301.                 // line 134
  302.                 echo twig_escape_filter($this->envtwig_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.'134$this->source); })()), "expressPricing", [], "any"falsefalsefalse134), "price", [], "any"falsefalsefalse134), "html"nulltrue);
  303.                 echo " ";
  304.                 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, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'134$this->source); })()), "city", [], "any"falsefalsefalse134), "countryCode", [], "any"falsefalsefalse134)), "html"nulltrue);
  305.             } else {
  306.                 // line 136
  307.                 echo "-";
  308.             }
  309.         } else {
  310.             // line 139
  311.             echo "-";
  312.         }
  313.         // line 141
  314.         echo "</span></p>
  315.                                 </div>
  316.                             </div>
  317.                             <div class=\"block-item pl-0 pl-md-3 pl-xl-5 w-100\">
  318.                                 <div class=\"block-item__title d-flex align-items-center mb-2 mb-md-3\">
  319.                                     <svg class=\"icon mr-2 clr-2\">
  320.                                         <use xlink:href=\"";
  321.         // line 147
  322.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  323.         echo "#icon-car\"></use>
  324.                                     </svg>
  325.                                     Выезд
  326.                                 </div>
  327.                                 <div class=\"block-item__description clr-2\">
  328.                                     <p class=\"d-flex\">Час <span class=\"ml-auto\">";
  329.         // line 153
  330.         if (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.'153$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse153), "oneHourPrice", [], "any"falsefalsefalse153)) {
  331.             // line 154
  332.             echo twig_escape_filter($this->envtwig_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.'154$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse154), "oneHourPrice", [], "any"falsefalsefalse154), "html"nulltrue);
  333.             echo " ";
  334.             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, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'154$this->source); })()), "city", [], "any"falsefalsefalse154), "countryCode", [], "any"falsefalsefalse154)), "html"nulltrue);
  335.         } else {
  336.             // line 155
  337.             echo "-";
  338.         }
  339.         // line 156
  340.         echo "</span></p>
  341.                                     <p class=\"d-flex\">2 часа <span class=\"ml-auto\">";
  342.         // line 158
  343.         if (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.'158$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse158), "twoHoursPrice", [], "any"falsefalsefalse158)) {
  344.             // line 159
  345.             echo twig_escape_filter($this->envtwig_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.'159$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse159), "twoHoursPrice", [], "any"falsefalsefalse159), "html"nulltrue);
  346.             echo " ";
  347.             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, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'159$this->source); })()), "city", [], "any"falsefalsefalse159), "countryCode", [], "any"falsefalsefalse159)), "html"nulltrue);
  348.         } else {
  349.             // line 160
  350.             echo "-";
  351.         }
  352.         // line 161
  353.         echo "</span></p>
  354.                                     <p class=\"d-flex\">Ночь <span class=\"ml-auto\">";
  355.         // line 163
  356.         if (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.'163$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse163), "nightPrice", [], "any"falsefalsefalse163)) {
  357.             // line 164
  358.             echo twig_escape_filter($this->envtwig_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.'164$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse164), "nightPrice", [], "any"falsefalsefalse164), "html"nulltrue);
  359.             echo " ";
  360.             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, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'164$this->source); })()), "city", [], "any"falsefalsefalse164), "countryCode", [], "any"falsefalsefalse164)), "html"nulltrue);
  361.         } else {
  362.             // line 165
  363.             echo "-";
  364.         }
  365.         // line 166
  366.         echo "</span></p>
  367.                                 </div>
  368.                             </div>
  369.                         </div>";
  370.         // line 170
  371.         if (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.'170$this->source); })()), "deleted", [], "any"falsefalsefalse170)) {
  372.             // line 171
  373.             echo "<div class=\"modal-info__items-block deleted\">
  374.                                 <svg width=\"48\" height=\"48\" viewBox=\"0 0 48 48\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  375.                                     <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M24 43.7647C34.9157 43.7647 43.7647 34.9157 43.7647 24C43.7647 13.0843 34.9157 4.23529 24 4.23529C13.0843 4.23529 4.23529 13.0843 4.23529 24C4.23529 34.9157 13.0843 43.7647 24 43.7647ZM24 48C37.2548 48 48 37.2548 48 24C48 10.7452 37.2548 0 24 0C10.7452 0 0 10.7452 0 24C0 37.2548 10.7452 48 24 48Z\" fill=\"#ED0C34\"/>
  376.                                     <path d=\"M15.7647 18.3529V33.0353C15.7647 33.6344 16.0126 34.2089 16.4539 34.6325C16.8951 35.0561 17.4936 35.2941 18.1176 35.2941H29.8824C30.5064 35.2941 31.1049 35.0561 31.5461 34.6325C31.9874 34.2089 32.2353 33.6344 32.2353 33.0353V18.3529H15.7647ZM21.6471 31.9059H19.2941V21.7412H21.6471V31.9059ZM28.7059 31.9059H26.3529V21.7412H28.7059V31.9059ZM29.4329 14.9647L27.5294 12.7059H20.4706L18.5671 14.9647H13.4118V17.2235H34.5882V14.9647H29.4329Z\" fill=\"#ED0C34\"/>
  377.                                 </svg>
  378.                                 <p>
  379.                                     <span class=\"title\">Девушка не работает</span>
  380.                                     <span>Анкета доступна только по прямой ссылке и не показывается в результатах поиска.</span>
  381.                                 </p>
  382.                             </div>
  383.                         ";
  384.         } else {
  385.             // line 182
  386.             echo "                            <div class=\"modal-info__items-block second\">
  387.                                 <div class=\"d-flex flex-wrap mb-2 mb-sm-3\">
  388.                                     <div class=\"model-phone d-flex align-items-center\" id=\"phone-sticky-donor\">
  389.                                         ";
  390.             // line 185
  391.             if ((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.'185$this->source); })()), "isActive", [], "any"falsefalsefalse185) ||  !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.'185$this->source); })()), "hidden", [], "any"falsefalsefalse185))) {
  392.                 // line 186
  393.                 echo "                                            ";
  394.                 $context["onlyPhoneNumber"] = twig_replace_filter(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.'186$this->source); })()), "phoneNumber", [], "any"falsefalsefalse186), [" " => """-" => """+" => """(" => """)" => ""]);
  395.                 // line 187
  396.                 echo "                                            <!--noindex-->
  397.                                             ";
  398.                 // line 191
  399.                 echo "                                            <div class=\"model-phone__element model-phone__number rounding\">
  400.                                                 <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()\">
  401.                                                     <svg class=\"models-item__phone-icon\">
  402.                                                         <use xlink:href=\"";
  403.                 // line 194
  404.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  405.                 echo "#phone\"></use>
  406.                                                     </svg>
  407.                                                     Показать телефон
  408.                                                 </button>
  409.                                                 <!--noindex--><a href=\"tel:";
  410.                 // line 198
  411.                 echo twig_escape_filter($this->envtwig_replace_filter(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.'198$this->source); })()), "phoneNumber", [], "any"falsefalsefalse198), [" " => """-" => ""]), "html"nulltrue);
  412.                 echo "\" rel=\"nofollow\" class=\"models-item__phone-button btn btn-danger align-items-center justify-content-center d-none\">
  413.                                                     <svg class=\"models-item__phone-icon\">
  414.                                                         <use xlink:href=\"";
  415.                 // line 200
  416.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  417.                 echo "#phone\"></use>
  418.                                                     </svg>
  419.                                                     ";
  420.                 // line 202
  421.                 echo twig_escape_filter($this->envtwig_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.'202$this->source); })()), "phoneNumber", [], "any"falsefalsefalse202), "html"nulltrue);
  422.                 echo "
  423.                                                 </a><!--/noindex-->
  424.                                             </div>
  425.                                             ";
  426.                 // line 205
  427.                 if (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.'205$this->source); })()), "messengers", [], "any"falsefalsefalse205), "whatsApp", [], "any"falsefalsefalse205)) {
  428.                     // line 206
  429.                     echo "                                                <a class=\"model-phone__element model-phone__whatsup\" target=\"_blank\" href=\"https://wa.me/";
  430.                     echo twig_escape_filter($this->env, (isset($context["onlyPhoneNumber"]) || array_key_exists("onlyPhoneNumber"$context) ? $context["onlyPhoneNumber"] : (function () { throw new RuntimeError('Variable "onlyPhoneNumber" does not exist.'206$this->source); })()), "html"nulltrue);
  431.                     echo "?text=Привет,%20";
  432.                     echo twig_escape_filter($this->envtwig_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.'206$this->source); })()), "name", [], "any"falsefalsefalse206), "html"nulltrue);
  433.                     echo "!%20Нашел%20твою%20анкету%20на%20МосПрос.\" title=\"WhatsApp\" rel=\"nofollow\">
  434.                                                     <svg class=\"icon\">
  435.                                                         <use xlink:href=\"";
  436.                     // line 208
  437.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  438.                     echo "#icon-viber\"></use>
  439.                                                     </svg>
  440.                                                 </a>
  441.                                             ";
  442.                 }
  443.                 // line 212
  444.                 if ((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.'212$this->source); })()), "messengers", [], "any"falsefalsefalse212), "telegram", [], "any"falsefalsefalse212) && 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.'212$this->source); })()), "messengers", [], "any"falsefalsefalse212), "telegramUsername", [], "any"falsefalsefalse212))) {
  445.                     // line 213
  446.                     echo "<a class=\"model-phone__element model-phone__telegram\" target=\"_blank\" href=\"https://t.me/";
  447.                     echo twig_escape_filter($this->envtwig_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.'213$this->source); })()), "messengers", [], "any"falsefalsefalse213), "telegramUsername", [], "any"falsefalsefalse213), "html"nulltrue);
  448.                     echo "\" title=\"Telegram\" rel=\"nofollow\">
  449.                                                     <svg class=\"icon\">
  450.                                                         <use xlink:href=\"";
  451.                     // line 215
  452.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  453.                     echo "#icon-messager\"></use>
  454.                                                     </svg>
  455.                                                 </a>
  456.                                             ";
  457.                 }
  458.                 // line 219
  459.                 echo "                                            <!--/noindex-->
  460.                                         ";
  461.             } else {
  462.                 // line 221
  463.                 echo "                                            <p class=\"model-phone__arhive m-0 color-silver\">анкета в архиве</p>
  464.                                         ";
  465.             }
  466.             // line 223
  467.             echo "                                    </div>
  468.                                     ";
  469.             // line 230
  470.             echo "                                </div>
  471.                                 <p class=\"model-thank mb-2 mb-sm-3\">Скажите что звоните с МосПрос и я всё пойму</p>
  472.                                 <div class=\"modal-info__block\">
  473.                                     <div class=\"modal-info__element\">
  474.                                         <div class=\"modal-info__label\">
  475.                                             Отвечаю на
  476.                                         </div>
  477.                                         <div class=\"modal-info__value\">
  478.                                             ";
  479.             // line 238
  480.             if ((twig_length_filter($this->envtwig_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.'238$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse238), "answeringTo", [], "any"falsefalsefalse238)) > 0)) {
  481.                 // line 239
  482.                 echo "                                                ";
  483.                 $context['_parent'] = $context;
  484.                 $context['_seq'] = twig_ensure_traversable(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.'239$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse239), "answeringTo", [], "any"falsefalsefalse239));
  485.                 $context['loop'] = [
  486.                   'parent' => $context['_parent'],
  487.                   'index0' => 0,
  488.                   'index'  => 1,
  489.                   'first'  => true,
  490.                 ];
  491.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  492.                     $length count($context['_seq']);
  493.                     $context['loop']['revindex0'] = $length 1;
  494.                     $context['loop']['revindex'] = $length;
  495.                     $context['loop']['length'] = $length;
  496.                     $context['loop']['last'] = === $length;
  497.                 }
  498.                 foreach ($context['_seq'] as $context["_key"] => $context["answeringTo"]) {
  499.                     // line 240
  500.                     echo "                                                    ";
  501.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PhoneCallExtension']->answeringTo($context["answeringTo"]), [], "phone_call_restrictions"), "html"nulltrue);
  502.                     if ( !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse240)) {
  503.                         echo ",";
  504.                     }
  505.                     // line 241
  506.                     echo "                                                ";
  507.                     ++$context['loop']['index0'];
  508.                     ++$context['loop']['index'];
  509.                     $context['loop']['first'] = false;
  510.                     if (isset($context['loop']['length'])) {
  511.                         --$context['loop']['revindex0'];
  512.                         --$context['loop']['revindex'];
  513.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  514.                     }
  515.                 }
  516.                 $_parent $context['_parent'];
  517.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['answeringTo'], $context['_parent'], $context['loop']);
  518.                 $context array_intersect_key($context$_parent) + $_parent;
  519.                 // line 242
  520.                 echo "                                            ";
  521.             } else {
  522.                 // line 243
  523.                 echo "                                                Не указано
  524.                                             ";
  525.             }
  526.             // line 245
  527.             echo "                                        </div>
  528.                                     </div>
  529.                                     <div class=\"modal-info__element\">
  530.                                         <div class=\"modal-info__label\">
  531.                                             Удобное время для звонка
  532.                                         </div>
  533.                                         <div class=\"modal-info__value\">
  534.                                             ";
  535.             // line 252
  536.             echo twig_call_macro($macros["_self"], "macro__time_to_work", [(isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'252$this->source); })())], 252$context$this->getSourceContext());
  537.             echo "
  538.                                         </div>
  539.                                     </div>
  540.                                     <div class=\"modal-info__element\">
  541.                                         <div class=\"modal-info__label\">
  542.                                             Ограничение по возрасту
  543.                                         </div>
  544.                                         <div class=\"modal-info__value\">";
  545.             // line 260
  546.             if ((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.'260$this->source); })()), "clientRestrictions", [], "any"falsefalsefalse260), "minAge", [], "any"falsefalsefalse260) || 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.'260$this->source); })()), "clientRestrictions", [], "any"falsefalsefalse260), "maxAge", [], "any"falsefalsefalse260))) {
  547.                 // line 261
  548.                 ((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.'261$this->source); })()), "clientRestrictions", [], "any"falsefalsefalse261), "minAge", [], "any"falsefalsefalse261)) ? (print (twig_escape_filter($this->env, ("от " 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.'261$this->source); })()), "clientRestrictions", [], "any"falsefalsefalse261), "minAge", [], "any"falsefalsefalse261)), "html"nulltrue))) : (print ("")));
  549.                 echo "
  550.                                                 ";
  551.                 // line 262
  552.                 ((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.'262$this->source); })()), "clientRestrictions", [], "any"falsefalsefalse262), "maxAge", [], "any"falsefalsefalse262)) ? (print (twig_escape_filter($this->env, ("до " 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.'262$this->source); })()), "clientRestrictions", [], "any"falsefalsefalse262), "maxAge", [], "any"falsefalsefalse262)), "html"nulltrue))) : (print ("")));
  553.                 echo "
  554.                                                 лет";
  555.             } else {
  556.                 // line 265
  557.                 echo "Не указано";
  558.             }
  559.             // line 267
  560.             echo "</div>
  561.                                     </div>
  562.                                 </div>
  563.                             </div>
  564.                         ";
  565.         }
  566.         // line 272
  567.         echo "
  568.                         ";
  569.         // line 273
  570.         if ((twig_length_filter($this->envtwig_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.'273$this->source); })()), "stationsSortedByPrimary", [], "any"falsefalsefalse273)) > 0)) {
  571.             // line 274
  572.             echo "                            <div class=\"modal-info__items-block pb-0 pb-sm-3 d-flex d-sm-block\">
  573.                                 <div class=\"metro-items metro-items--metro d-sm-flex w-100 align-items-center flex-wrap\">
  574.                                     Метро
  575.                                     ";
  576.             // line 277
  577.             $context['_parent'] = $context;
  578.             $context['_seq'] = twig_ensure_traversable(twig_slice($this->envtwig_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.'277$this->source); })()), "stationsSortedByPrimary", [], "any"falsefalsefalse277), 03));
  579.             $context['loop'] = [
  580.               'parent' => $context['_parent'],
  581.               'index0' => 0,
  582.               'index'  => 1,
  583.               'first'  => true,
  584.             ];
  585.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  586.                 $length count($context['_seq']);
  587.                 $context['loop']['revindex0'] = $length 1;
  588.                 $context['loop']['revindex'] = $length;
  589.                 $context['loop']['length'] = $length;
  590.                 $context['loop']['last'] = === $length;
  591.             }
  592.             foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
  593.                 // line 278
  594.                 echo "                                        <div class=\"metro-item\">
  595.                                             ";
  596.                 // line 279
  597.                 $this->loadTemplate("components/metro/icon_generate.partial.twig""ProfilePreview/page.html.twig"279)->display(twig_array_merge($context, ["data" => twig_get_attribute($this->env$this->source$context["station"], "lines", [], "any"falsefalsefalse279)]));
  598.                 // line 280
  599.                 echo "                                            <a href=\"";
  600.                 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->source, (isset($context["city"]) || array_key_exists("city"$context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.'280$this->source); })()), "uriIdentity", [], "any"falsefalsefalse280), "station" => twig_get_attribute($this->env$this->source$context["station"], "uriIdentity", [], "any"falsefalsefalse280)]), "html"nulltrue);
  601.                 echo "\" title=\"Метро ";
  602.                 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"falsefalsefalse280)), "html"nulltrue);
  603.                 echo "\">";
  604.                 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"falsefalsefalse280)), "html"nulltrue);
  605.                 echo "</a>
  606.                                         </div>
  607.                                     ";
  608.                 ++$context['loop']['index0'];
  609.                 ++$context['loop']['index'];
  610.                 $context['loop']['first'] = false;
  611.                 if (isset($context['loop']['length'])) {
  612.                     --$context['loop']['revindex0'];
  613.                     --$context['loop']['revindex'];
  614.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  615.                 }
  616.             }
  617.             $_parent $context['_parent'];
  618.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
  619.             $context array_intersect_key($context$_parent) + $_parent;
  620.             // line 283
  621.             echo "                                </div>
  622.                                 ";
  623.             // line 284
  624.             if ((twig_length_filter($this->envtwig_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.'284$this->source); })()), "stationsSortedByPrimary", [], "any"falsefalsefalse284)) > 0)) {
  625.                 echo "<div class=\"metro-items d-sm-flex w-100 align-items-center flex-wrap\">
  626.                                     Район
  627.                                     ";
  628.                 // line 286
  629.                 $context['_parent'] = $context;
  630.                 $context['_seq'] = twig_ensure_traversable(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.'286$this->source); })()), "stationsSortedByPrimary", [], "any"falsefalsefalse286));
  631.                 $context['loop'] = [
  632.                   'parent' => $context['_parent'],
  633.                   'index0' => 0,
  634.                   'index'  => 1,
  635.                   'first'  => true,
  636.                 ];
  637.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  638.                     $length count($context['_seq']);
  639.                     $context['loop']['revindex0'] = $length 1;
  640.                     $context['loop']['revindex'] = $length;
  641.                     $context['loop']['length'] = $length;
  642.                     $context['loop']['last'] = === $length;
  643.                 }
  644.                 foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
  645.                     // line 287
  646.                     echo "                                        ";
  647.                     $context["stationDistrict"] = twig_get_attribute($this->env$this->source$context["station"], "district", [], "any"falsefalsefalse287);
  648.                     // line 288
  649.                     echo "                                        ";
  650.                     if ((isset($context["stationDistrict"]) || array_key_exists("stationDistrict"$context) ? $context["stationDistrict"] : (function () { throw new RuntimeError('Variable "stationDistrict" does not exist.'288$this->source); })())) {
  651.                         // line 289
  652.                         echo "                                            ";
  653.                         if (twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse289)) {
  654.                             // line 290
  655.                             echo "                                                ";
  656.                             $context["districtCounty"] = twig_get_attribute($this->env$this->source, (isset($context["stationDistrict"]) || array_key_exists("stationDistrict"$context) ? $context["stationDistrict"] : (function () { throw new RuntimeError('Variable "stationDistrict" does not exist.'290$this->source); })()), "county", [], "any"falsefalsefalse290);
  657.                             // line 291
  658.                             echo "                                                ";
  659.                             if ((isset($context["districtCounty"]) || array_key_exists("districtCounty"$context) ? $context["districtCounty"] : (function () { throw new RuntimeError('Variable "districtCounty" does not exist.'291$this->source); })())) {
  660.                                 // line 292
  661.                                 echo "                                                    <div class=\"metro-item metro-item--district\">
  662.                                                         <a href=\"";
  663.                                 // line 293
  664.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_county", ["city" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["districtCounty"]) || array_key_exists("districtCounty"$context) ? $context["districtCounty"] : (function () { throw new RuntimeError('Variable "districtCounty" does not exist.'293$this->source); })()), "city", [], "any"falsefalsefalse293), "uriIdentity", [], "any"falsefalsefalse293), "county" => twig_get_attribute($this->env$this->source, (isset($context["districtCounty"]) || array_key_exists("districtCounty"$context) ? $context["districtCounty"] : (function () { throw new RuntimeError('Variable "districtCounty" does not exist.'293$this->source); })()), "uriIdentity", [], "any"falsefalsefalse293)]), "html"nulltrue);
  665.                                 echo "\">";
  666.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source, (isset($context["districtCounty"]) || array_key_exists("districtCounty"$context) ? $context["districtCounty"] : (function () { throw new RuntimeError('Variable "districtCounty" does not exist.'293$this->source); })()), "name", [], "any"falsefalsefalse293)), "html"nulltrue);
  667.                                 echo "</a>,
  668.                                                         <a href=\"";
  669.                                 // line 294
  670.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_district", ["city" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["districtCounty"]) || array_key_exists("districtCounty"$context) ? $context["districtCounty"] : (function () { throw new RuntimeError('Variable "districtCounty" does not exist.'294$this->source); })()), "city", [], "any"falsefalsefalse294), "uriIdentity", [], "any"falsefalsefalse294), "district" => twig_get_attribute($this->env$this->source, (isset($context["stationDistrict"]) || array_key_exists("stationDistrict"$context) ? $context["stationDistrict"] : (function () { throw new RuntimeError('Variable "stationDistrict" does not exist.'294$this->source); })()), "uriIdentity", [], "any"falsefalsefalse294)]), "html"nulltrue);
  671.                                 echo "\">";
  672.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source, (isset($context["stationDistrict"]) || array_key_exists("stationDistrict"$context) ? $context["stationDistrict"] : (function () { throw new RuntimeError('Variable "stationDistrict" does not exist.'294$this->source); })()), "name", [], "any"falsefalsefalse294)), "html"nulltrue);
  673.                                 echo "</a>
  674.                                                     </div>
  675.                                                 ";
  676.                             } else {
  677.                                 // line 297
  678.                                 echo "                                                    <div class=\"metro-item metro-item--district\">
  679.                                                         Не указан
  680.                                                     </div>
  681.                                                 ";
  682.                             }
  683.                             // line 301
  684.                             echo "                                            ";
  685.                         }
  686.                         // line 302
  687.                         echo "                                        ";
  688.                     }
  689.                     // line 303
  690.                     echo "                                    ";
  691.                     ++$context['loop']['index0'];
  692.                     ++$context['loop']['index'];
  693.                     $context['loop']['first'] = false;
  694.                     if (isset($context['loop']['length'])) {
  695.                         --$context['loop']['revindex0'];
  696.                         --$context['loop']['revindex'];
  697.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  698.                     }
  699.                 }
  700.                 $_parent $context['_parent'];
  701.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
  702.                 $context array_intersect_key($context$_parent) + $_parent;
  703.                 // line 304
  704.                 echo "                                </div>";
  705.             }
  706.             // line 305
  707.             echo "                            </div>
  708.                         ";
  709.         }
  710.         // line 307
  711.         echo "                    </div>
  712.                 </div>
  713.                 <div class=\"modal-col modal-info__items rounding\">
  714.                     <div class=\"modal-info__items-row d-flex flex-wrap\">
  715.                         <div class=\"box-col text-center\">
  716.                             <div class=\"box-item\">
  717.                                 <span class=\"d-block\">Возраст</span>";
  718.         // line 314
  719.         echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Возраст"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.'314$this->source); })()), "personParameters", [], "any"falsefalsefalse314), "age", [], "any"falsefalsefalse314)], 314$context$this->getSourceContext());
  720.         // line 315
  721.         echo "</div>
  722.                         </div>
  723.                         <div class=\"box-col text-center\">
  724.                             <div class=\"box-item\">
  725.                                 <span class=\"d-block\">Рост</span>";
  726.         // line 320
  727.         echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Рост"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.'320$this->source); })()), "personParameters", [], "any"falsefalsefalse320), "height", [], "any"falsefalsefalse320)], 320$context$this->getSourceContext());
  728.         // line 321
  729.         echo "</div>
  730.                         </div>
  731.                         <div class=\"box-col text-center\">
  732.                             <div class=\"box-item\">
  733.                                 <span class=\"d-block\">Вес</span>";
  734.         // line 326
  735.         echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Вес"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.'326$this->source); })()), "personParameters", [], "any"falsefalsefalse326), "weight", [], "any"falsefalsefalse326)], 326$context$this->getSourceContext());
  736.         // line 327
  737.         echo "</div>
  738.                         </div>
  739.                         <div class=\"box-col text-center\">
  740.                             <div class=\"box-item\">
  741.                                 <span class=\"d-block\">Одежда</span>
  742.                                 ";
  743.         // line 332
  744.         $context["cloth_size"] = "XXS";
  745.         // line 333
  746.         echo "
  747.                                 ";
  748.         // line 334
  749.         if ((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.'334$this->source); })()), "personParameters", [], "any"falsefalsefalse334), "clothSize", [], "any"falsefalsefalse334) == "42")) {
  750.             $context["cloth_size"] = "XS";
  751.             // line 335
  752.             echo "                                ";
  753.         } elseif ((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.'335$this->source); })()), "personParameters", [], "any"falsefalsefalse335), "clothSize", [], "any"falsefalsefalse335) == "44")) {
  754.             $context["cloth_size"] = "S";
  755.             // line 336
  756.             echo "                                ";
  757.         } elseif ((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.'336$this->source); })()), "personParameters", [], "any"falsefalsefalse336), "clothSize", [], "any"falsefalsefalse336) == "46")) {
  758.             $context["cloth_size"] = "M";
  759.             // line 337
  760.             echo "                                ";
  761.         } elseif ((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.'337$this->source); })()), "personParameters", [], "any"falsefalsefalse337), "clothSize", [], "any"falsefalsefalse337) == "48")) {
  762.             $context["cloth_size"] = "L";
  763.             // line 338
  764.             echo "                                ";
  765.         } elseif ((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.'338$this->source); })()), "personParameters", [], "any"falsefalsefalse338), "clothSize", [], "any"falsefalsefalse338) == "50")) {
  766.             $context["cloth_size"] = "XL";
  767.             // line 339
  768.             echo "                                ";
  769.         } elseif ((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.'339$this->source); })()), "personParameters", [], "any"falsefalsefalse339), "clothSize", [], "any"falsefalsefalse339) == "52")) {
  770.             $context["cloth_size"] = "XXL";
  771.             // line 340
  772.             echo "                                ";
  773.         }
  774.         // line 342
  775.         echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Размер одежды", (isset($context["cloth_size"]) || array_key_exists("cloth_size"$context) ? $context["cloth_size"] : (function () { throw new RuntimeError('Variable "cloth_size" does not exist.'342$this->source); })()), "Одежда"], 342$context$this->getSourceContext());
  776.         // line 343
  777.         echo "</div>
  778.                         </div>
  779.                         <div class=\"box-col text-center\">
  780.                             <div class=\"box-item\">
  781.                                 <span class=\"d-block\">Обувь</span>";
  782.         // line 348
  783.         echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Размер обуви"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.'348$this->source); })()), "personParameters", [], "any"falsefalsefalse348), "shoesSize", [], "any"falsefalsefalse348), "Обувь"], 348$context$this->getSourceContext());
  784.         // line 349
  785.         echo "</div>
  786.                         </div>
  787.                         <div class=\"box-col text-center\">
  788.                             <div class=\"box-item\">
  789.                                 <span class=\"d-block\">Грудь</span>";
  790.         // line 354
  791.         echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Размер груди"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.'354$this->source); })()), "personParameters", [], "any"falsefalsefalse354), "breastSize", [], "any"falsefalsefalse354), "Грудь"], 354$context$this->getSourceContext());
  792.         // line 355
  793.         echo "</div>
  794.                         </div>
  795.                         <div class=\"box-col text-center\">
  796.                             <div class=\"box-item\">
  797.                                 <span class=\"d-block\">Тату</span>
  798.                                 ";
  799.         // line 360
  800.         if (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.'360$this->source); })()), "personParameters", [], "any"falsefalsefalse360), "tattoo", [], "any"falsefalsefalse360)) {
  801.             // line 361
  802.             echo "                                    <svg class=\"icon mr-1\">
  803.                                         <use xlink:href=\"";
  804.             // line 362
  805.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  806.             echo "#icon-check\"></use>
  807.                                     </svg>
  808.                                 ";
  809.         } else {
  810.             // line 365
  811.             echo "                                    -
  812.                                 ";
  813.         }
  814.         // line 367
  815.         echo "                            </div>
  816.                         </div>
  817.                         <div class=\"box-col text-center\">
  818.                             <div class=\"box-item\">
  819.                                 <span class=\"d-block\">Пирсинг</span>
  820.                                 ";
  821.         // line 372
  822.         if (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.'372$this->source); })()), "personParameters", [], "any"falsefalsefalse372), "piercing", [], "any"falsefalsefalse372)) {
  823.             // line 373
  824.             echo "                                    <svg class=\"icon mr-1\">
  825.                                         <use xlink:href=\"";
  826.             // line 374
  827.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  828.             echo "#icon-check\"></use>
  829.                                     </svg>
  830.                                 ";
  831.         } else {
  832.             // line 377
  833.             echo "                                    -
  834.                                 ";
  835.         }
  836.         // line 379
  837.         echo "                            </div>
  838.                         </div>
  839.                     </div>
  840.                     <div class=\"modal-info__items-block modal-info__items-block--basic d-sm-flex\">
  841.                         <div class=\"description-items\" style=\"color:#b5b5b5\">
  842.                             ";
  843.         // line 384
  844.         if (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.'384$this->source); })()), "personParameters", [], "any"falsefalsefalse384), "bodyType", [], "any"falsefalsefalse384)) {
  845.             // line 385
  846.             echo "                                <p class=\"description-item d-flex align-items-center\">
  847.                                     <span>Телосложение</span>
  848.                                     <a href=\"";
  849.             // line 387
  850.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_body_type", ["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.'387$this->source); })()), "uriIdentity", [], "any"falsefalsefalse387), "bodyType" => $this->extensions['App\Twig\PersonParametersExtension']->bodyTypeUri(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.'387$this->source); })()), "personParameters", [], "any"falsefalsefalse387), "bodyType", [], "any"falsefalsefalse387))]), "html"nulltrue);
  851.             echo "\" target=\"_blank\">";
  852.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->bodyTypeLabel(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.'387$this->source); })()), "personParameters", [], "any"falsefalsefalse387), "bodyType", [], "any"falsefalsefalse387)), [], "body_types"), "html"nulltrue);
  853.             echo "</a>
  854.                                 </p>
  855.                             ";
  856.         }
  857.         // line 390
  858.         echo "                            ";
  859.         if (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.'390$this->source); })()), "personParameters", [], "any"falsefalsefalse390), "hairColor", [], "any"falsefalsefalse390)) {
  860.             // line 391
  861.             echo "                                <p class=\"description-item d-flex align-items-center\">
  862.                                     <span>Цвет волос</span>
  863.                                     <a target=\"_blank\" href=\"";
  864.             // line 393
  865.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_hair_color", ["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.'393$this->source); })()), "uriIdentity", [], "any"falsefalsefalse393), "hairColor" => $this->extensions['Cocur\Slugify\Bridge\Twig\SlugifyExtension']->slugifyFilter($this->extensions['App\Twig\PersonParametersExtension']->hairColorUri(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.'393$this->source); })()), "personParameters", [], "any"falsefalsefalse393), "hairColor", [], "any"falsefalsefalse393)))]), "html"nulltrue);
  866.             echo "\">";
  867.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->hairColorLabel(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.'393$this->source); })()), "personParameters", [], "any"falsefalsefalse393), "hairColor", [], "any"falsefalsefalse393)), [], "hair_colors"), "html"nulltrue);
  868.             echo "</a>
  869.                                 </p>
  870.                             ";
  871.         }
  872.         // line 396
  873.         echo "                            ";
  874.         if (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.'396$this->source); })()), "personParameters", [], "any"falsefalsefalse396), "nationality", [], "any"falsefalsefalse396)) {
  875.             // line 397
  876.             echo "                                <p class=\"description-item d-flex align-items-center\">
  877.                                     <span>Национальность</span>
  878.                                     <a target=\"_blank\" href=\"";
  879.             // line 399
  880.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_nationality", ["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.'399$this->source); })()), "uriIdentity", [], "any"falsefalsefalse399), "nationality" => $this->extensions['App\Twig\PersonParametersExtension']->nationalityUri(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.'399$this->source); })()), "personParameters", [], "any"falsefalsefalse399), "nationality", [], "any"falsefalsefalse399))]), "html"nulltrue);
  881.             echo "\">";
  882.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->nationalityLabel(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.'399$this->source); })()), "personParameters", [], "any"falsefalsefalse399), "nationality", [], "any"falsefalsefalse399)), [], "nationalities"), "html"nulltrue);
  883.             echo "</a>
  884.                                 </p>
  885.                             ";
  886.         }
  887.         // line 402
  888.         echo "                            ";
  889.         if (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.'402$this->source); })()), "personParameters", [], "any"falsefalsefalse402), "privateHaircut", [], "any"falsefalsefalse402)) {
  890.             // line 403
  891.             echo "                                <p class=\"description-item d-flex align-items-center\">
  892.                                     <span>Интимная стрижка</span>
  893.                                     <a target=\"_blank\" href=\"";
  894.             // line 405
  895.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_private_haircut", ["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.'405$this->source); })()), "uriIdentity", [], "any"falsefalsefalse405), "privateHaircut" => $this->extensions['App\Twig\PersonParametersExtension']->privateHaircutUri(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.'405$this->source); })()), "personParameters", [], "any"falsefalsefalse405), "privateHaircut", [], "any"falsefalsefalse405))]), "html"nulltrue);
  896.             echo "\">";
  897.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->privateHaircutLabel(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.'405$this->source); })()), "personParameters", [], "any"falsefalsefalse405), "privateHaircut", [], "any"falsefalsefalse405)), [], "private_haircuts"), "html"nulltrue);
  898.             echo "</a>
  899.                                 </p>
  900.                             ";
  901.         }
  902.         // line 408
  903.         echo "                        </div>
  904.                         <div class=\"description-items\">
  905.                             ";
  906.         // line 410
  907.         $context["threshold"] = twig_get_attribute($this->env$this->sourcetwig_date_modify_filter($this->env"now""-14 days"), "getTimestamp", [], "method"falsefalsefalse410);
  908.         // line 411
  909.         echo "\t\t\t\t\t\t    ";
  910.         $context["updatedAtTs"] = ((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.'411$this->source); })()), "updatedAt", [], "any"falsefalsefalse411)) ? (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.'411$this->source); })()), "updatedAt", [], "any"falsefalsefalse411), "getTimestamp", [], "method"falsefalsefalse411)) : (null));
  911.         // line 412
  912.         echo "                            ";
  913.         if (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.'412$this->source); })()), "createdAt", [], "any"falsefalsefalse412)) {
  914.             // line 413
  915.             echo "                            <p class=\"description-item d-flex align-items-center\"><span>Дата регистрации</span> <span
  916.                                 class=\"date\" data-template=\"dd авг. YYYY г. hh:ii\">";
  917.             // line 414
  918.             echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Дата регистрации", ((((((twig_date_format_filter($this->envtwig_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.'414$this->source); })()), "createdAt", [], "any"falsefalsefalse414), "d") . " ") . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_date_format_filter($this->envtwig_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.'414$this->source); })()), "createdAt", [], "any"falsefalsefalse414), "m"), [], "date")) . " ") . twig_date_format_filter($this->envtwig_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.'414$this->source); })()), "createdAt", [], "any"falsefalsefalse414), "Y")) . " ") . twig_date_format_filter($this->envtwig_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.'414$this->source); })()), "createdAt", [], "any"falsefalsefalse414), "H:i"))], 414$context$this->getSourceContext());
  919.             echo "</span></p>
  920.                             ";
  921.         }
  922.         // line 416
  923.         echo "                            ";
  924.         if (((isset($context["updatedAtTs"]) || array_key_exists("updatedAtTs"$context) ? $context["updatedAtTs"] : (function () { throw new RuntimeError('Variable "updatedAtTs" does not exist.'416$this->source); })()) && ((isset($context["updatedAtTs"]) || array_key_exists("updatedAtTs"$context) ? $context["updatedAtTs"] : (function () { throw new RuntimeError('Variable "updatedAtTs" does not exist.'416$this->source); })()) >= (isset($context["threshold"]) || array_key_exists("threshold"$context) ? $context["threshold"] : (function () { throw new RuntimeError('Variable "threshold" does not exist.'416$this->source); })())))) {
  925.             // line 417
  926.             echo "                                <p class=\"description-item d-flex align-items-center\"><span>Дата обновления</span> <span
  927.                                     class=\"date\">";
  928.             // line 418
  929.             echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Дата обновления", ((((((twig_date_format_filter($this->envtwig_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.'418$this->source); })()), "updatedAt", [], "any"falsefalsefalse418), "d") . " ") . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_date_format_filter($this->envtwig_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.'418$this->source); })()), "updatedAt", [], "any"falsefalsefalse418), "m"), [], "date")) . " ") . twig_date_format_filter($this->envtwig_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.'418$this->source); })()), "updatedAt", [], "any"falsefalsefalse418), "Y")) . " ") . twig_date_format_filter($this->envtwig_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.'418$this->source); })()), "updatedAt", [], "any"falsefalsefalse418), "H:i"))], 418$context$this->getSourceContext());
  930.             echo "</span></p>
  931.                             ";
  932.         }
  933.         // line 420
  934.         echo "                            <p class=\"description-item d-flex align-items-center\"><span>ID</span><span class=\"date\">";
  935.         echo twig_escape_filter($this->envtwig_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.'420$this->source); })()), "id", [], "any"falsefalsefalse420), "html"nulltrue);
  936.         echo "</span></p>
  937.                             ";
  938.         // line 421
  939.         if (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.'421$this->source); })()), "approved", [], "any"falsefalsefalse421)) {
  940.             // line 422
  941.             echo "                                <p class=\"description-item\">
  942.                                     <strong class=\"d-flex align-items-center\">
  943.                                         Фото проверено
  944.                                         <span class=\"description-item__verify\"
  945.                                             data-toggle=\"tooltip\" data-theme=\"verify\" data-tippy-content=\"Фото проверено\">
  946.                                                 <svg class=\"icon\">
  947.                                                     <use xlink:href=\"";
  948.             // line 428
  949.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  950.             echo "#icon-verify-new\"></use>
  951.                                                 </svg>
  952.                                         </span>
  953.                                     </strong>
  954.                                 </p>
  955.                             ";
  956.         }
  957.         // line 434
  958.         echo "                        </div>
  959.                     </div>
  960.                     <div class=\"modal-info__items-block mb-0\">
  961.                         <div class=\"model-description\">
  962.                             <h2 class=\"border-line\">О себе</h2>
  963.                             <noindex><p class=\"m-0\" id=\"profile-about\">";
  964.         // line 439
  965.         echo twig_nl2br(twig_escape_filter($this->envtwig_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.'439$this->source); })()), "description", [], "any"falsefalsefalse439), "html"nulltrue));
  966.         echo "</p></noindex>
  967.                         </div>
  968.                     </div>
  969.                 </div>
  970.             </div>
  971.             ";
  972.         // line 446
  973.         if ((twig_call_macro($macros["_self"], "macro__show_tabs", [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.'446$this->source); })()), "photos", [], "any"falsefalsefalse446), 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.'446$this->source); })()), "selfies", [], "any"falsefalsefalse446), 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.'446$this->source); })()), "confirmedVideos", [], "any"falsefalsefalse446), 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.'446$this->source); })()), "deleted", [], "any"falsefalsefalse446)], 446$context$this->getSourceContext()) == "true")) {
  974.             // line 447
  975.             echo "                <div class=\"model-aside__images model-aside__images--middle rounding\">
  976.                     <ul class=\"nav nav-pills nav-pills--mobile list-unstyled m-0 p-0 d-flex\" id=\"model-tab_2\" role=\"tablist\">
  977.                         ";
  978.             // line 449
  979.             $context["currentPage"] = "";
  980.             // line 450
  981.             echo "                        ";
  982.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "photos", [], "any"truetruefalse450) && (twig_length_filter($this->envtwig_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.'450$this->source); })()), "photos", [], "any"falsefalsefalse450)) > 0))) {
  983.                 $context["currentPage"] = "photo";
  984.                 // line 451
  985.                 echo "                        <li class=\"nav-item flex-fill\">
  986.                             <a class=\"active\" id=\"model-photo-tab_2\" data-toggle=\"pill\" href=\"#model-photo_2\" role=\"tab\" aria-controls=\"model-photo\" aria-selected=\"false\">
  987.                                     <svg class=\"icon d-inline-block\">
  988.                                         <use xlink:href=\"";
  989.                 // line 454
  990.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  991.                 echo "#icon-photo-thumb\"></use>
  992.                                     </svg>
  993.                                 Фото
  994.                             </a>
  995.                         </li>
  996.                         ";
  997.             }
  998.             // line 460
  999.             echo "                        ";
  1000.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "selfies", [], "any"truetruefalse460) && (twig_length_filter($this->envtwig_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.'460$this->source); })()), "selfies", [], "any"falsefalsefalse460)) > 0))) {
  1001.                 $context["currentPage"] = ((((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'460$this->source); })()) == "")) ? ("selfie") : ((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'460$this->source); })())));
  1002.                 // line 461
  1003.                 echo "                        <li class=\"nav-item flex-fill\">
  1004.                             <a class=\"";
  1005.                 // line 462
  1006.                 if (((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'462$this->source); })()) == "selfie")) {
  1007.                     echo "active";
  1008.                 }
  1009.                 echo "\" id=\"model-selfie-tab_2\" data-toggle=\"pill\" href=\"#model-selfie_2\" role=\"tab\" aria-controls=\"model-selfie\" aria-selected=\"false\">
  1010.                                     <svg class=\"icon d-inline-block\">
  1011.                                         <use xlink:href=\"";
  1012.                 // line 464
  1013.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1014.                 echo "#icon-selfie-thumb\"></use>
  1015.                                     </svg>
  1016.                                 Селфи
  1017.                             </a>
  1018.                         </li>
  1019.                         ";
  1020.             }
  1021.             // line 470
  1022.             echo "                        ";
  1023.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any"truetruefalse470) && (twig_length_filter($this->envtwig_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.'470$this->source); })()), "confirmedVideos", [], "any"falsefalsefalse470)) > 0))) {
  1024.                 $context["currentPage"] = ((((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'470$this->source); })()) == "")) ? ("video") : ((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'470$this->source); })())));
  1025.                 // line 471
  1026.                 echo "                        <li class=\"nav-item flex-fill\">
  1027.                             <a class=\"";
  1028.                 // line 472
  1029.                 if (((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'472$this->source); })()) == "video")) {
  1030.                     echo "active";
  1031.                 }
  1032.                 echo "\" id=\"model-video-tab_2\" data-toggle=\"pill\" href=\"#model-video_2\" role=\"tab\" aria-controls=\"model-video\" aria-selected=\"true\">
  1033.                                     <svg class=\"icon d-inline-block\">
  1034.                                         <use xlink:href=\"";
  1035.                 // line 474
  1036.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1037.                 echo "#icon-video-thumb\"></use>
  1038.                                     </svg>
  1039.                                 Видео
  1040.                             </a>
  1041.                         </li>
  1042.                         ";
  1043.             }
  1044.             // line 480
  1045.             echo "                    </ul>
  1046.                     <div class=\"tab-content\" id=\"model-tabContent_2\">
  1047.                         ";
  1048.             // line 482
  1049.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "photos", [], "any"truetruefalse482) && (twig_length_filter($this->envtwig_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.'482$this->source); })()), "photos", [], "any"falsefalsefalse482)) > 0))) {
  1050.                 // line 483
  1051.                 echo "                            <div class=\"tab-pane fade";
  1052.                 if (((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'483$this->source); })()) == "photo")) {
  1053.                     echo " show active";
  1054.                 }
  1055.                 echo "\" id=\"model-photo_2\" role=\"tabpanel\" aria-labelledby=\"model-photo-tab_2\">
  1056.                                 <div class=\"model-aside-row d-flex flex-wrap\">
  1057.                                     ";
  1058.                 // line 485
  1059.                 $context['_parent'] = $context;
  1060.                 $context['_seq'] = twig_ensure_traversable(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.'485$this->source); })()), "photos", [], "any"falsefalsefalse485));
  1061.                 $context['loop'] = [
  1062.                   'parent' => $context['_parent'],
  1063.                   'index0' => 0,
  1064.                   'index'  => 1,
  1065.                   'first'  => true,
  1066.                 ];
  1067.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1068.                     $length count($context['_seq']);
  1069.                     $context['loop']['revindex0'] = $length 1;
  1070.                     $context['loop']['revindex'] = $length;
  1071.                     $context['loop']['length'] = $length;
  1072.                     $context['loop']['last'] = === $length;
  1073.                 }
  1074.                 foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
  1075.                     // line 486
  1076.                     echo "\t\t\t\t\t\t\t\t\t    ";
  1077.                     if (twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse486)) {
  1078.                         // line 487
  1079.                         echo "\t\t\t\t\t\t\t\t\t\t\t";
  1080.                         $context["alt"] = twig_call_macro($macros["_self"], "macro__get_alt", [(isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'487$this->source); })()), (isset($context["servicesList"]) || array_key_exists("servicesList"$context) ? $context["servicesList"] : (function () { throw new RuntimeError('Variable "servicesList" does not exist.'487$this->source); })()), twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse487)], 487$context$this->getSourceContext());
  1081.                         // line 488
  1082.                         echo "                                            <div class=\"model-aside-col rounding\">
  1083.                                                 <a class=\"nolink\" href=\"";
  1084.                         // line 489
  1085.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse489), "profile_media""fullsize""jpg"), "html"nulltrue);
  1086.                         echo "\">
  1087.                                                     <img class=\"img-fluid lazy\"
  1088.                                                         data-srcset=\"";
  1089.                         // line 491
  1090.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse491), "profile_media""196x250""jpg"), "html"nulltrue);
  1091.                         echo " 196w,
  1092.                                                             ";
  1093.                         // line 492
  1094.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse492), "profile_media""177x250""jpg"), "html"nulltrue);
  1095.                         echo " 177w,
  1096.                                                             ";
  1097.                         // line 493
  1098.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse493), "profile_media""228x250""jpg"), "html"nulltrue);
  1099.                         echo " 228w,
  1100.                                                             ";
  1101.                         // line 494
  1102.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse494), "profile_media""250x250""jpg"), "html"nulltrue);
  1103.                         echo " 260w\"
  1104.                                                         sizes=\"(max-width: 660px) 196px,
  1105.                                                             (max-width: 980px) 177px,
  1106.                                                             (max-width: 1125px) 228px,
  1107.                                                             260px\"
  1108.                                                         src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"
  1109.                                                         data-src=\"";
  1110.                         // line 500
  1111.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse500), "profile_media""250x250""jpg"), "html"nulltrue);
  1112.                         echo "\"
  1113.                                                         data-type=\"lg\"
  1114.                                                         data-index-lg=\"";
  1115.                         // line 502
  1116.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse502), "html"nulltrue);
  1117.                         echo "\"
  1118. \t\t\t\t\t\t\t\t\t\t\t\t\t\talt=\"";
  1119.                         // line 503
  1120.                         echo twig_escape_filter($this->env, (isset($context["alt"]) || array_key_exists("alt"$context) ? $context["alt"] : (function () { throw new RuntimeError('Variable "alt" does not exist.'503$this->source); })()), "html"nulltrue);
  1121.                         echo "\">
  1122.                                                 </a>
  1123.                                             </div>
  1124. \t\t\t\t\t\t\t\t\t    ";
  1125.                     }
  1126.                     // line 507
  1127.                     echo "                                    ";
  1128.                     ++$context['loop']['index0'];
  1129.                     ++$context['loop']['index'];
  1130.                     $context['loop']['first'] = false;
  1131.                     if (isset($context['loop']['length'])) {
  1132.                         --$context['loop']['revindex0'];
  1133.                         --$context['loop']['revindex'];
  1134.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  1135.                     }
  1136.                 }
  1137.                 $_parent $context['_parent'];
  1138.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
  1139.                 $context array_intersect_key($context$_parent) + $_parent;
  1140.                 // line 508
  1141.                 echo "                                </div>
  1142.                             </div>
  1143.                         ";
  1144.             }
  1145.             // line 511
  1146.             echo "                        ";
  1147.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "selfies", [], "any"truetruefalse511) && (twig_length_filter($this->envtwig_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.'511$this->source); })()), "selfies", [], "any"falsefalsefalse511)) > 0))) {
  1148.                 // line 512
  1149.                 echo "                            <div class=\"tab-pane fade";
  1150.                 if (((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'512$this->source); })()) == "selfie")) {
  1151.                     echo " show active";
  1152.                 }
  1153.                 echo "\" id=\"model-selfie_2\" role=\"tabpanel\" aria-labelledby=\"model-selfie-tab_2\">
  1154.                                 <div class=\"model-aside-row d-flex flex-wrap\" id=\"model-selfies\">
  1155.                                     ";
  1156.                 // line 514
  1157.                 $context['_parent'] = $context;
  1158.                 $context['_seq'] = twig_ensure_traversable(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.'514$this->source); })()), "selfies", [], "any"falsefalsefalse514));
  1159.                 $context['loop'] = [
  1160.                   'parent' => $context['_parent'],
  1161.                   'index0' => 0,
  1162.                   'index'  => 1,
  1163.                   'first'  => true,
  1164.                 ];
  1165.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1166.                     $length count($context['_seq']);
  1167.                     $context['loop']['revindex0'] = $length 1;
  1168.                     $context['loop']['revindex'] = $length;
  1169.                     $context['loop']['length'] = $length;
  1170.                     $context['loop']['last'] = === $length;
  1171.                 }
  1172.                 foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
  1173.                     // line 515
  1174.                     echo "                                        ";
  1175.                     if (twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse515)) {
  1176.                         // line 516
  1177.                         echo "\t\t\t\t\t\t\t\t\t\t\t";
  1178.                         $context["alt"] = twig_call_macro($macros["_self"], "macro__get_alt", [(isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'516$this->source); })()), (isset($context["servicesList"]) || array_key_exists("servicesList"$context) ? $context["servicesList"] : (function () { throw new RuntimeError('Variable "servicesList" does not exist.'516$this->source); })()), (twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse516) + twig_length_filter($this->envtwig_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.'516$this->source); })()), "photos", [], "any"falsefalsefalse516)))], 516$context$this->getSourceContext());
  1179.                         // line 517
  1180.                         echo "                                            <div class=\"model-aside-col rounding\">
  1181.                                                 <a class=\"nolink\" href=\"";
  1182.                         // line 518
  1183.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse518), "profile_media""fullsize""jpg"), "html"nulltrue);
  1184.                         echo "\">
  1185.                                                     <img class=\"img-fluid lazy\"
  1186.                                                         data-srcset=\"";
  1187.                         // line 520
  1188.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse520), "profile_media""196x250""jpg"), "html"nulltrue);
  1189.                         echo " 196w,
  1190. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1191.                         // line 521
  1192.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse521), "profile_media""177x250""jpg"), "html"nulltrue);
  1193.                         echo " 177w,
  1194. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1195.                         // line 522
  1196.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse522), "profile_media""228x250""jpg"), "html"nulltrue);
  1197.                         echo " 228w,
  1198. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1199.                         // line 523
  1200.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse523), "profile_media""250x250""jpg"), "html"nulltrue);
  1201.                         echo " 260w\"
  1202.                                                         sizes=\"(max-width: 660px) 196px,
  1203. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 980px) 177px,
  1204. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 1125px) 228px,
  1205. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t260px\"
  1206.                                                         data-type=\"lg\"
  1207.                                                         data-index-lg=\"";
  1208.                         // line 529
  1209.                         echo twig_escape_filter($this->env, (twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse529) + twig_length_filter($this->envtwig_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.'529$this->source); })()), "photos", [], "any"falsefalsefalse529))), "html"nulltrue);
  1210.                         echo "\"
  1211.                                                         src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"
  1212.                                                         data-src=\"";
  1213.                         // line 531
  1214.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse531), "profile_media""250x250""jpg"), "html"nulltrue);
  1215.                         echo "\"
  1216. \t\t\t\t\t\t\t\t\t\t\t\t\t\talt=\"";
  1217.                         // line 532
  1218.                         echo twig_escape_filter($this->env, (isset($context["alt"]) || array_key_exists("alt"$context) ? $context["alt"] : (function () { throw new RuntimeError('Variable "alt" does not exist.'532$this->source); })()), "html"nulltrue);
  1219.                         echo "\">
  1220.                                                 </a>
  1221.                                             </div>
  1222. \t\t\t\t\t\t\t\t\t    ";
  1223.                     }
  1224.                     // line 536
  1225.                     echo "                                    ";
  1226.                     ++$context['loop']['index0'];
  1227.                     ++$context['loop']['index'];
  1228.                     $context['loop']['first'] = false;
  1229.                     if (isset($context['loop']['length'])) {
  1230.                         --$context['loop']['revindex0'];
  1231.                         --$context['loop']['revindex'];
  1232.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  1233.                     }
  1234.                 }
  1235.                 $_parent $context['_parent'];
  1236.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
  1237.                 $context array_intersect_key($context$_parent) + $_parent;
  1238.                 // line 537
  1239.                 echo "                                </div>
  1240.                             </div>
  1241.                         ";
  1242.             }
  1243.             // line 540
  1244.             echo "                        ";
  1245.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any"truetruefalse540) && (twig_length_filter($this->envtwig_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.'540$this->source); })()), "confirmedVideos", [], "any"falsefalsefalse540)) > 0))) {
  1246.                 // line 541
  1247.                 echo "                            <div class=\"tab-pane fade";
  1248.                 if (((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'541$this->source); })()) == "video")) {
  1249.                     echo " show active";
  1250.                 }
  1251.                 echo "\" id=\"model-video_2\" role=\"tabpanel\" aria-labelledby=\"model-video-tab_2\">
  1252.                                 <div class=\"model-aside-row d-flex flex-wrap\" id=\"model-video\">
  1253.                                     ";
  1254.                 // line 543
  1255.                 $context['_parent'] = $context;
  1256.                 $context['_seq'] = twig_ensure_traversable(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.'543$this->source); })()), "confirmedVideos", [], "any"falsefalsefalse543));
  1257.                 foreach ($context['_seq'] as $context["_key"] => $context["video"]) {
  1258.                     // line 544
  1259.                     echo "                                        <div class=\"model-video-container rounding\">
  1260.                                             <video class=\"model-video vlite-js\" controls preload=\"metadata\" width=\"341\" height=\"227\"";
  1261.                     // line 545
  1262.                     if (twig_get_attribute($this->env$this->source$context["video"], "previewPath", [], "any"falsefalsefalse545)) {
  1263.                         echo " poster=\"";
  1264.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source$context["video"], "previewPath", [], "any"falsefalsefalse545), "profile_media""fullsize"), "html"nulltrue);
  1265.                     }
  1266.                     echo "\">
  1267.                                                 <source src=\"";
  1268.                     // line 546
  1269.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source$context["video"], "path", [], "any"falsefalsefalse546), "profile_media"), "html"nulltrue);
  1270.                     echo "\" type='video/mp4'/>
  1271.                                             </video>
  1272.                                         </div>
  1273.                                     ";
  1274.                 }
  1275.                 $_parent $context['_parent'];
  1276.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['video'], $context['_parent'], $context['loop']);
  1277.                 $context array_intersect_key($context$_parent) + $_parent;
  1278.                 // line 550
  1279.                 echo "                                </div>
  1280.                             </div>
  1281.                         ";
  1282.             }
  1283.             // line 553
  1284.             echo "                    </div>
  1285.                 </div>
  1286.             ";
  1287.         }
  1288.         // line 556
  1289.         echo "
  1290.             <div class=\"modal-services mb-3 mb-lg-4 p-2 p-sm-3 p-lg-4 rounding\">
  1291.                 <div class=\"modal-services__header d-flex flex-wrap align-items-start\">
  1292.                     <h2 class=\"border-line\">Интим-услуги</h2>
  1293.                     <div class=\"modal-services__header-info d-flex flex-wrap align-items-center pb-2\">
  1294.                         <div class=\"header-item mr-3\">
  1295.                             <svg class=\"icon mr-1\">
  1296.                                 <use xlink:href=\"";
  1297.         // line 563
  1298.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1299.         echo "#icon-model-included\"></use>
  1300.                             </svg>
  1301.                             - включено в стоимость
  1302.                         </div>
  1303.                         <div class=\"header-item mr-3\">
  1304.                             <svg class=\"icon mr-1\">
  1305.                                 <use xlink:href=\"";
  1306.         // line 569
  1307.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1308.         echo "#icon-model-liking\"></use>
  1309.                             </svg>
  1310.                             - по симпатии
  1311.                         </div>
  1312.                         <div class=\"header-item mr-3\">
  1313.                             <svg class=\"icon mr-1\">
  1314.                                 <use xlink:href=\"";
  1315.         // line 575
  1316.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1317.         echo "#icon-model-charge\"></use>
  1318.                             </svg>
  1319.                             - за дополнительную плату
  1320.                         </div>
  1321.                         ";
  1322.         // line 585
  1323.         echo "                    </div>
  1324.                 </div>
  1325.                 <div class=\"modal-services__main\">
  1326.                     <div class=\"modal-services__items ";
  1327.         // line 588
  1328.         if (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.'588$this->source); })()), "masseur", [], "any"falsefalsefalse588)) {
  1329.             echo "d-flex justify-content-between mr-xl-3 flex-wrap ";
  1330.         } else {
  1331.             echo "column";
  1332.         }
  1333.         echo " w-100\" id=\"services_items\" data-type=\"";
  1334.         if (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.'588$this->source); })()), "masseur", [], "any"falsefalsefalse588)) {
  1335.             echo "masseur";
  1336.         } else {
  1337.             echo "profile";
  1338.         }
  1339.         echo "\">
  1340.                         ";
  1341.         // line 589
  1342.         $context["initional_group_2"] = 0;
  1343.         // line 590
  1344.         echo "                        ";
  1345.         $context["group_2_minet"] = [];
  1346.         // line 591
  1347.         echo "                        ";
  1348.         $context["group_2_okon"] = [];
  1349.         // line 592
  1350.         echo "                        ";
  1351.         $context["group_2_okon_trigger"] = ["Окончание на грудь""Окончание на лицо""Окончание в рот""На грудь""На лицо""В рот"];
  1352.         echo " ";
  1353.         // line 593
  1354.         echo "                        ";
  1355.         $context['_parent'] = $context;
  1356.         $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, (isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'593$this->source); })()), function ($__servicesGroup__$__group__) use ($context$macros) { $context["servicesGroup"] = $__servicesGroup__$context["group"] = $__group__; return ( !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.'593$this->source); })()), "masseur", [], "any"falsefalsefalse593) || !twig_in_filter($context["group"], (isset($context["masseurExcludeServiceGroups"]) || array_key_exists("masseurExcludeServiceGroups"$context) ? $context["masseurExcludeServiceGroups"] : (function () { throw new RuntimeError('Variable "masseurExcludeServiceGroups" does not exist.'593$this->source); })()))); }));
  1357.         foreach ($context['_seq'] as $context["group"] => $context["servicesGroup"]) {
  1358.             // line 594
  1359.             echo "                            ";
  1360.             if (($context["group"] == 2)) {
  1361.                 // line 595
  1362.                 echo "                                ";
  1363.                 // line 596
  1364.                 echo "                                ";
  1365.                 $context['_parent'] = $context;
  1366.                 $context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
  1367.                 foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
  1368.                     // line 597
  1369.                     echo "                                    ";
  1370.                     if (twig_in_filter($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["service"], "name", [], "any"falsefalsefalse597)), (isset($context["group_2_okon_trigger"]) || array_key_exists("group_2_okon_trigger"$context) ? $context["group_2_okon_trigger"] : (function () { throw new RuntimeError('Variable "group_2_okon_trigger" does not exist.'597$this->source); })()))) {
  1371.                         // line 598
  1372.                         echo "                                        ";
  1373.                         $context["group_2_okon"] = twig_array_merge((isset($context["group_2_okon"]) || array_key_exists("group_2_okon"$context) ? $context["group_2_okon"] : (function () { throw new RuntimeError('Variable "group_2_okon" does not exist.'598$this->source); })()), [$context["service"]]);
  1374.                         // line 599
  1375.                         echo "                                    ";
  1376.                     } else {
  1377.                         // line 600
  1378.                         echo "                                        ";
  1379.                         $context["group_2_minet"] = twig_array_merge((isset($context["group_2_minet"]) || array_key_exists("group_2_minet"$context) ? $context["group_2_minet"] : (function () { throw new RuntimeError('Variable "group_2_minet" does not exist.'600$this->source); })()), [$context["service"]]);
  1380.                         // line 601
  1381.                         echo "                                    ";
  1382.                     }
  1383.                     // line 602
  1384.                     echo "                                ";
  1385.                 }
  1386.                 $_parent $context['_parent'];
  1387.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
  1388.                 $context array_intersect_key($context$_parent) + $_parent;
  1389.                 // line 603
  1390.                 echo "                            ";
  1391.             } elseif ((($context["group"] == 3) && ((isset($context["initional_group_2"]) || array_key_exists("initional_group_2"$context) ? $context["initional_group_2"] : (function () { throw new RuntimeError('Variable "initional_group_2" does not exist.'603$this->source); })()) == 0))) {
  1392.                 // line 604
  1393.                 echo "                                ";
  1394.                 // line 605
  1395.                 echo "                                ";
  1396.                 $context["initional_group_2"] = 1;
  1397.                 // line 606
  1398.                 echo "                                <div class=\"modal-services__item\">
  1399.                                     <p class=\"item-title\">Минет</p>
  1400.                                     ";
  1401.                 // line 608
  1402.                 $context['_parent'] = $context;
  1403.                 $context['_seq'] = twig_ensure_traversable((isset($context["group_2_minet"]) || array_key_exists("group_2_minet"$context) ? $context["group_2_minet"] : (function () { throw new RuntimeError('Variable "group_2_minet" does not exist.'608$this->source); })()));
  1404.                 foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
  1405.                     // line 609
  1406.                     echo "                                        ";
  1407.                     $context["providedService"] = 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.'609$this->source); })()), "providedService", [$context["service"]], "method"falsefalsefalse609);
  1408.                     // line 610
  1409.                     echo "                                        ";
  1410.                     if ((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'610$this->source); })())) {
  1411.                         // line 611
  1412.                         echo "                                            <div class=\"item";
  1413.                         if ( !(isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'611$this->source); })())) {
  1414.                             echo " provided";
  1415.                         }
  1416.                         echo "\">
  1417.                                                 ";
  1418.                         // line 612
  1419.                         if ((twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'612$this->source); })()), "condition", [], "any"falsefalsefalse612) == 1)) {
  1420.                             // line 613
  1421.                             echo "                                                    <svg class=\"icon mr-1\">
  1422.                                                         <use xlink:href=\"";
  1423.                             // line 614
  1424.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1425.                             echo "#icon-model-included\"></use>
  1426.                                                     </svg>
  1427.                                                 ";
  1428.                         } elseif ((twig_get_attribute($this->env$this->source,                         // line 616
  1429. (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'616$this->source); })()), "condition", [], "any"falsefalsefalse616) == 2)) {
  1430.                             // line 617
  1431.                             echo "                                                    <svg class=\"icon mr-1\">
  1432.                                                         <use xlink:href=\"";
  1433.                             // line 618
  1434.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1435.                             echo "#icon-model-liking\"></use>
  1436.                                                     </svg>
  1437.                                                 ";
  1438.                         } elseif ((twig_get_attribute($this->env$this->source,                         // line 620
  1439. (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'620$this->source); })()), "condition", [], "any"falsefalsefalse620) == 3)) {
  1440.                             // line 621
  1441.                             echo "                                                    <svg class=\"icon mr-1\">
  1442.                                                         <use xlink:href=\"";
  1443.                             // line 622
  1444.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1445.                             echo "#icon-model-charge\"></use>
  1446.                                                     </svg>
  1447.                                                 ";
  1448.                         }
  1449.                         // line 625
  1450.                         echo "                                                <a href=\"";
  1451.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_provided_service", ["city" => 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.'625$this->source); })()), "city", [], "any"falsefalsefalse625), "uriIdentity", [], "any"falsefalsefalse625), "service" => twig_get_attribute($this->env$this->source$context["service"], "uriIdentity", [], "any"falsefalsefalse625)]), "html"nulltrue);
  1452.                         echo "\" data-s=\"";
  1453.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["service"], "name", [], "any"falsefalsefalse625), "html"nulltrue);
  1454.                         echo "\">
  1455.                                                     ";
  1456.                         // line 626
  1457.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["service"], "name", [], "any"falsefalsefalse626)), "html"nulltrue);
  1458.                         echo "
  1459.                                                 </a>
  1460.                                                 ";
  1461.                         // line 628
  1462.                         if ((((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'628$this->source); })()) && (twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'628$this->source); })()), "condition", [], "any"falsefalsefalse628) == 3)) && twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'628$this->source); })()), "extraCharge", [], "any"falsefalsefalse628))) {
  1463.                             echo "<span class=\"item__price\">+";
  1464.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'628$this->source); })()), "extraCharge", [], "any"falsefalsefalse628), "html"nulltrue);
  1465.                             echo " Р</span>";
  1466.                         }
  1467.                         // line 629
  1468.                         echo "                                                ";
  1469.                         if (((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'629$this->source); })()) && twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'629$this->source); })()), "comment", [], "any"falsefalsefalse629))) {
  1470.                             // line 630
  1471.                             echo "                                                    <div class=\"item__comment\">";
  1472.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'630$this->source); })()), "comment", [], "any"falsefalsefalse630), "html"nulltrue);
  1473.                             echo "</div>
  1474.                                                 ";
  1475.                         }
  1476.                         // line 632
  1477.                         echo "                                            </div>
  1478.                                         ";
  1479.                     }
  1480.                     // line 634
  1481.                     echo "                                    ";
  1482.                 }
  1483.                 $_parent $context['_parent'];
  1484.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
  1485.                 $context array_intersect_key($context$_parent) + $_parent;
  1486.                 // line 635
  1487.                 echo "                                </div>
  1488.                                 <div class=\"modal-services__item\">
  1489.                                     <p class=\"item-title\">Окончание</p>
  1490.                                     ";
  1491.                 // line 638
  1492.                 $context['_parent'] = $context;
  1493.                 $context['_seq'] = twig_ensure_traversable((isset($context["group_2_okon"]) || array_key_exists("group_2_okon"$context) ? $context["group_2_okon"] : (function () { throw new RuntimeError('Variable "group_2_okon" does not exist.'638$this->source); })()));
  1494.                 foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
  1495.                     // line 639
  1496.                     echo "                                        ";
  1497.                     $context["providedService"] = 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.'639$this->source); })()), "providedService", [$context["service"]], "method"falsefalsefalse639);
  1498.                     // line 640
  1499.                     echo "                                        ";
  1500.                     if ((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'640$this->source); })())) {
  1501.                         // line 641
  1502.                         echo "                                            <div class=\"item";
  1503.                         if ( !(isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'641$this->source); })())) {
  1504.                             echo " provided";
  1505.                         }
  1506.                         echo "\">
  1507.                                                 ";
  1508.                         // line 642
  1509.                         if ((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'642$this->source); })())) {
  1510.                             // line 643
  1511.                             echo "                                                    ";
  1512.                             if ((twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'643$this->source); })()), "condition", [], "any"falsefalsefalse643) == 1)) {
  1513.                                 // line 644
  1514.                                 echo "                                                        <svg class=\"icon mr-1\">
  1515.                                                             <use xlink:href=\"";
  1516.                                 // line 645
  1517.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1518.                                 echo "#icon-model-included\"></use>
  1519.                                                         </svg>
  1520.                                                     ";
  1521.                             } elseif ((twig_get_attribute($this->env$this->source,                             // line 647
  1522. (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'647$this->source); })()), "condition", [], "any"falsefalsefalse647) == 2)) {
  1523.                                 // line 648
  1524.                                 echo "                                                        <svg class=\"icon mr-1\">
  1525.                                                             <use xlink:href=\"";
  1526.                                 // line 649
  1527.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1528.                                 echo "#icon-model-liking\"></use>
  1529.                                                         </svg>
  1530.                                                     ";
  1531.                             } elseif ((twig_get_attribute($this->env$this->source,                             // line 651
  1532. (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'651$this->source); })()), "condition", [], "any"falsefalsefalse651) == 3)) {
  1533.                                 // line 652
  1534.                                 echo "                                                        <svg class=\"icon mr-1\">
  1535.                                                             <use xlink:href=\"";
  1536.                                 // line 653
  1537.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1538.                                 echo "#icon-model-charge\"></use>
  1539.                                                         </svg>
  1540.                                                     ";
  1541.                             }
  1542.                             // line 656
  1543.                             echo "                                                ";
  1544.                         }
  1545.                         // line 657
  1546.                         echo "                                                <a href=\"";
  1547.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_provided_service", ["city" => 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.'657$this->source); })()), "city", [], "any"falsefalsefalse657), "uriIdentity", [], "any"falsefalsefalse657), "service" => twig_get_attribute($this->env$this->source$context["service"], "uriIdentity", [], "any"falsefalsefalse657)]), "html"nulltrue);
  1548.                         echo "\" data-s=\"";
  1549.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["service"], "name", [], "any"falsefalsefalse657), "html"nulltrue);
  1550.                         echo "\">
  1551.                                                     ";
  1552.                         // line 658
  1553.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["service"], "name", [], "any"falsefalsefalse658)), "html"nulltrue);
  1554.                         echo "
  1555.                                                 </a>
  1556.                                                 ";
  1557.                         // line 660
  1558.                         if ((((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'660$this->source); })()) && (twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'660$this->source); })()), "condition", [], "any"falsefalsefalse660) == 3)) && twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'660$this->source); })()), "extraCharge", [], "any"falsefalsefalse660))) {
  1559.                             echo "<span class=\"item__price\">+";
  1560.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'660$this->source); })()), "extraCharge", [], "any"falsefalsefalse660), "html"nulltrue);
  1561.                             echo " Р</span>";
  1562.                         }
  1563.                         // line 661
  1564.                         echo "                                                ";
  1565.                         if (((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'661$this->source); })()) && twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'661$this->source); })()), "comment", [], "any"falsefalsefalse661))) {
  1566.                             // line 662
  1567.                             echo "                                                    <div class=\"item__comment\">";
  1568.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'662$this->source); })()), "comment", [], "any"falsefalsefalse662), "html"nulltrue);
  1569.                             echo "</div>
  1570.                                                 ";
  1571.                         }
  1572.                         // line 664
  1573.                         echo "                                            </div>
  1574.                                         ";
  1575.                     }
  1576.                     // line 666
  1577.                     echo "                                    ";
  1578.                 }
  1579.                 $_parent $context['_parent'];
  1580.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
  1581.                 $context array_intersect_key($context$_parent) + $_parent;
  1582.                 // line 667
  1583.                 echo "                                </div>
  1584.                                 <div class=\"modal-services__item\">
  1585.                                     <p class=\"item-title\" data-group=\"";
  1586.                 // line 669
  1587.                 echo twig_escape_filter($this->env$context["group"], "html"nulltrue);
  1588.                 echo "\">";
  1589.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\ServicesExtension']->serviceGroupLabel($context["group"]), [], "service_groups"), "html"nulltrue);
  1590.                 echo "</p>
  1591.                                     ";
  1592.                 // line 670
  1593.                 $context['_parent'] = $context;
  1594.                 $context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
  1595.                 foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
  1596.                     // line 671
  1597.                     echo "                                        ";
  1598.                     $context["providedService"] = 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.'671$this->source); })()), "providedService", [$context["service"]], "method"falsefalsefalse671);
  1599.                     // line 672
  1600.                     echo "                                        ";
  1601.                     if ((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'672$this->source); })())) {
  1602.                         // line 673
  1603.                         echo "                                            <div class=\"item";
  1604.                         if ( !(isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'673$this->source); })())) {
  1605.                             echo " provided";
  1606.                         }
  1607.                         echo "\">
  1608.                                                 ";
  1609.                         // line 674
  1610.                         if ((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'674$this->source); })())) {
  1611.                             // line 675
  1612.                             echo "                                                    ";
  1613.                             if ((twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'675$this->source); })()), "condition", [], "any"falsefalsefalse675) == 1)) {
  1614.                                 // line 676
  1615.                                 echo "                                                        <svg class=\"icon mr-1\">
  1616.                                                             <use xlink:href=\"";
  1617.                                 // line 677
  1618.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1619.                                 echo "#icon-model-included\"></use>
  1620.                                                         </svg>
  1621.                                                     ";
  1622.                             } elseif ((twig_get_attribute($this->env$this->source,                             // line 679
  1623. (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'679$this->source); })()), "condition", [], "any"falsefalsefalse679) == 2)) {
  1624.                                 // line 680
  1625.                                 echo "                                                        <svg class=\"icon mr-1\">
  1626.                                                             <use xlink:href=\"";
  1627.                                 // line 681
  1628.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1629.                                 echo "#icon-model-liking\"></use>
  1630.                                                         </svg>
  1631.                                                     ";
  1632.                             } elseif ((twig_get_attribute($this->env$this->source,                             // line 683
  1633. (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'683$this->source); })()), "condition", [], "any"falsefalsefalse683) == 3)) {
  1634.                                 // line 684
  1635.                                 echo "                                                        <svg class=\"icon mr-1\">
  1636.                                                             <use xlink:href=\"";
  1637.                                 // line 685
  1638.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1639.                                 echo "#icon-model-charge\"></use>
  1640.                                                         </svg>
  1641.                                                     ";
  1642.                             }
  1643.                             // line 688
  1644.                             echo "
  1645.                                                     <a href=\"";
  1646.                             // line 689
  1647.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_provided_service", ["city" => 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.'689$this->source); })()), "city", [], "any"falsefalsefalse689), "uriIdentity", [], "any"falsefalsefalse689), "service" => twig_get_attribute($this->env$this->source$context["service"], "uriIdentity", [], "any"falsefalsefalse689)]), "html"nulltrue);
  1648.                             echo "\" data-s=\"";
  1649.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["service"], "name", [], "any"falsefalsefalse689), "html"nulltrue);
  1650.                             echo "\">
  1651.                                                         ";
  1652.                             // line 690
  1653.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["service"], "name", [], "any"falsefalsefalse690)), "html"nulltrue);
  1654.                             echo "
  1655.                                                     </a>
  1656.                                                     ";
  1657.                             // line 692
  1658.                             if ((((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'692$this->source); })()) && (twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'692$this->source); })()), "condition", [], "any"falsefalsefalse692) == 3)) && twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'692$this->source); })()), "extraCharge", [], "any"falsefalsefalse692))) {
  1659.                                 echo "<span class=\"item__price\">+";
  1660.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'692$this->source); })()), "extraCharge", [], "any"falsefalsefalse692), "html"nulltrue);
  1661.                                 echo " Р</span>";
  1662.                             }
  1663.                             // line 693
  1664.                             echo "                                                    ";
  1665.                             if (((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'693$this->source); })()) && twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'693$this->source); })()), "comment", [], "any"falsefalsefalse693))) {
  1666.                                 // line 694
  1667.                                 echo "                                                        <div class=\"item__comment\">";
  1668.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'694$this->source); })()), "comment", [], "any"falsefalsefalse694), "html"nulltrue);
  1669.                                 echo "</div>
  1670.                                                     ";
  1671.                             }
  1672.                             // line 696
  1673.                             echo "                                                ";
  1674.                         }
  1675.                         // line 697
  1676.                         echo "                                            </div>
  1677.                                         ";
  1678.                     }
  1679.                     // line 699
  1680.                     echo "                                    ";
  1681.                 }
  1682.                 $_parent $context['_parent'];
  1683.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
  1684.                 $context array_intersect_key($context$_parent) + $_parent;
  1685.                 // line 700
  1686.                 echo "                                </div>
  1687.                             ";
  1688.             } else {
  1689.                 // line 702
  1690.                 echo "                                ";
  1691.                 if (((($context["group"] == 1) || ($context["group"] == 5)) || ($context["group"] == 7))) {
  1692.                     // line 704
  1693.                     echo "                                ";
  1694.                 }
  1695.                 // line 705
  1696.                 echo "                                <div class=\"modal-services__item";
  1697.                 if (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.'705$this->source); })()), "masseur", [], "any"falsefalsefalse705)) {
  1698.                     echo " modal-services__item--masseur";
  1699.                 }
  1700.                 echo "\">
  1701.                                     <p class=\"item-title\">";
  1702.                 // line 706
  1703.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\ServicesExtension']->serviceGroupLabel($context["group"]), [], "service_groups"), "html"nulltrue);
  1704.                 echo "</p>
  1705.                                     ";
  1706.                 // line 707
  1707.                 $context['_parent'] = $context;
  1708.                 $context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
  1709.                 foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
  1710.                     // line 708
  1711.                     echo "                                        ";
  1712.                     $context["providedService"] = 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.'708$this->source); })()), "providedService", [$context["service"]], "method"falsefalsefalse708);
  1713.                     // line 709
  1714.                     echo "                                        ";
  1715.                     if ((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'709$this->source); })())) {
  1716.                         // line 710
  1717.                         echo "                                            <div class=\"item";
  1718.                         if ( !(isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'710$this->source); })())) {
  1719.                             echo " provided";
  1720.                         }
  1721.                         echo "\">
  1722.                                                 ";
  1723.                         // line 711
  1724.                         if ((twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'711$this->source); })()), "condition", [], "any"falsefalsefalse711) == 1)) {
  1725.                             // line 712
  1726.                             echo "                                                    <svg class=\"icon mr-1\">
  1727.                                                         <use xlink:href=\"";
  1728.                             // line 713
  1729.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1730.                             echo "#icon-model-included\"></use>
  1731.                                                     </svg>
  1732.                                                 ";
  1733.                         } elseif ((twig_get_attribute($this->env$this->source,                         // line 715
  1734. (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'715$this->source); })()), "condition", [], "any"falsefalsefalse715) == 2)) {
  1735.                             // line 716
  1736.                             echo "                                                    <svg class=\"icon mr-1\">
  1737.                                                         <use xlink:href=\"";
  1738.                             // line 717
  1739.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1740.                             echo "#icon-model-liking\"></use>
  1741.                                                     </svg>
  1742.                                                 ";
  1743.                         } elseif ((twig_get_attribute($this->env$this->source,                         // line 719
  1744. (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'719$this->source); })()), "condition", [], "any"falsefalsefalse719) == 3)) {
  1745.                             // line 720
  1746.                             echo "                                                    <svg class=\"icon mr-1\">
  1747.                                                         <use xlink:href=\"";
  1748.                             // line 721
  1749.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1750.                             echo "#icon-model-charge\"></use>
  1751.                                                     </svg>
  1752.                                                 ";
  1753.                         }
  1754.                         // line 724
  1755.                         echo "                                                <a href=\"";
  1756.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_provided_service", ["city" => 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.'724$this->source); })()), "city", [], "any"falsefalsefalse724), "uriIdentity", [], "any"falsefalsefalse724), "service" => twig_get_attribute($this->env$this->source$context["service"], "uriIdentity", [], "any"falsefalsefalse724)]), "html"nulltrue);
  1757.                         echo "\">
  1758.                                                     ";
  1759.                         // line 725
  1760.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["service"], "name", [], "any"falsefalsefalse725)), "html"nulltrue);
  1761.                         echo "
  1762.                                                 </a>
  1763.                                                 ";
  1764.                         // line 727
  1765.                         if ((((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'727$this->source); })()) && (twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'727$this->source); })()), "condition", [], "any"falsefalsefalse727) == 3)) && twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'727$this->source); })()), "extraCharge", [], "any"falsefalsefalse727))) {
  1766.                             echo "<span class=\"item__price\">+";
  1767.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'727$this->source); })()), "extraCharge", [], "any"falsefalsefalse727), "html"nulltrue);
  1768.                             echo " Р</span>";
  1769.                         }
  1770.                         // line 728
  1771.                         echo "                                                ";
  1772.                         if (((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'728$this->source); })()) && twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'728$this->source); })()), "comment", [], "any"falsefalsefalse728))) {
  1773.                             // line 729
  1774.                             echo "                                                    <div class=\"item__comment\">";
  1775.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'729$this->source); })()), "comment", [], "any"falsefalsefalse729), "html"nulltrue);
  1776.                             echo "</div>
  1777.                                                 ";
  1778.                         }
  1779.                         // line 731
  1780.                         echo "                                            </div>
  1781.                                         ";
  1782.                     }
  1783.                     // line 733
  1784.                     echo "                                    ";
  1785.                 }
  1786.                 $_parent $context['_parent'];
  1787.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
  1788.                 $context array_intersect_key($context$_parent) + $_parent;
  1789.                 // line 734
  1790.                 echo "                                </div>
  1791.                                 ";
  1792.                 // line 735
  1793.                 if (((($context["group"] == 4) || ($context["group"] == 6)) || ($context["group"] == 7))) {
  1794.                     // line 737
  1795.                     echo "                                ";
  1796.                 }
  1797.                 // line 738
  1798.                 echo "                            ";
  1799.             }
  1800.             // line 739
  1801.             echo "                        ";
  1802.         }
  1803.         $_parent $context['_parent'];
  1804.         unset($context['_seq'], $context['_iterated'], $context['group'], $context['servicesGroup'], $context['_parent'], $context['loop']);
  1805.         $context array_intersect_key($context$_parent) + $_parent;
  1806.         // line 740
  1807.         echo "                    </div>
  1808.                     <div class=\"modal-services__extend__items rounding\">
  1809.                         <div class=\"modal-services__extend__box\">
  1810.                             <div class=\"modal-services__extend__item\">
  1811.                                 <h3 class=\"modal-services__extend__item__title\">Услуги для</h3>
  1812.                                 ";
  1813.         // line 745
  1814.         $context["client_types_text"] = ["1""2""3""4""5"];
  1815.         // line 746
  1816.         echo "                                ";
  1817.         $context["includeService"] = false;
  1818.         // line 747
  1819.         echo "                                ";
  1820.         $context['_parent'] = $context;
  1821.         $context['_seq'] = twig_ensure_traversable((isset($context["client_types_text"]) || array_key_exists("client_types_text"$context) ? $context["client_types_text"] : (function () { throw new RuntimeError('Variable "client_types_text" does not exist.'747$this->source); })()));
  1822.         foreach ($context['_seq'] as $context["_key"] => $context["clientTypeText"]) {
  1823.             // line 748
  1824.             echo "                                    ";
  1825.             $context['_parent'] = $context;
  1826.             $context['_seq'] = twig_ensure_traversable(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.'748$this->source); })()), "clientTypes", [], "any"falsefalsefalse748));
  1827.             foreach ($context['_seq'] as $context["_key"] => $context["clientType"]) {
  1828.                 // line 749
  1829.                 echo "                                        ";
  1830.                 if (($context["clientTypeText"] == $context["clientType"])) {
  1831.                     // line 750
  1832.                     echo "                                            ";
  1833.                     $context["includeService"] = true;
  1834.                     // line 751
  1835.                     echo "                                        ";
  1836.                 }
  1837.                 // line 752
  1838.                 echo "                                    ";
  1839.             }
  1840.             $_parent $context['_parent'];
  1841.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['clientType'], $context['_parent'], $context['loop']);
  1842.             $context array_intersect_key($context$_parent) + $_parent;
  1843.             // line 753
  1844.             echo "                                    ";
  1845.             if ((((isset($context["includeService"]) || array_key_exists("includeService"$context) ? $context["includeService"] : (function () { throw new RuntimeError('Variable "includeService" does not exist.'753$this->source); })()) == true) && ($this->extensions['App\Twig\ClientTypeExtension']->clientType($context["clientTypeText"]) != "TRANS"))) {
  1846.                 // line 754
  1847.                 echo "                                        <div class=\"item\">
  1848.                                             <svg class=\"icon mr-1\">
  1849.                                                 <use xlink:href=\"";
  1850.                 // line 756
  1851.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1852.                 echo "#icon-model-included\"></use>
  1853.                                             </svg>
  1854.                                             ";
  1855.                 // line 759
  1856.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\ClientTypeExtension']->clientType($context["clientTypeText"]), [], "client_types_f"), "html"nulltrue);
  1857.                 echo "
  1858.                                         </div>
  1859.                                         ";
  1860.                 // line 761
  1861.                 $context["includeService"] = false;
  1862.                 // line 762
  1863.                 echo "                                    ";
  1864.             }
  1865.             // line 763
  1866.             echo "                                ";
  1867.         }
  1868.         $_parent $context['_parent'];
  1869.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['clientTypeText'], $context['_parent'], $context['loop']);
  1870.         $context array_intersect_key($context$_parent) + $_parent;
  1871.         // line 764
  1872.         echo "                            </div>
  1873.                             <div class=\"modal-services__extend__item\">
  1874.                                 <h3 class=\"modal-services__extend__item__title\">Выезд</h3>
  1875.                                 ";
  1876.         // line 767
  1877.         $context["locations_text"] = ["1""2""3""4""5""6"];
  1878.         // line 768
  1879.         echo "                                ";
  1880.         $context["includeService"] = false;
  1881.         // line 769
  1882.         echo "                                ";
  1883.         $context['_parent'] = $context;
  1884.         $context['_seq'] = twig_ensure_traversable((isset($context["locations_text"]) || array_key_exists("locations_text"$context) ? $context["locations_text"] : (function () { throw new RuntimeError('Variable "locations_text" does not exist.'769$this->source); })()));
  1885.         foreach ($context['_seq'] as $context["_key"] => $context["locationsText"]) {
  1886.             // line 770
  1887.             echo "                                    ";
  1888.             $context['_parent'] = $context;
  1889.             $context['_seq'] = twig_ensure_traversable(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.'770$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse770), "locations", [], "any"falsefalsefalse770));
  1890.             foreach ($context['_seq'] as $context["_key"] => $context["locations"]) {
  1891.                 // line 771
  1892.                 echo "                                        ";
  1893.                 if (($context["locationsText"] == $context["locations"])) {
  1894.                     // line 772
  1895.                     echo "                                            ";
  1896.                     $context["includeService"] = true;
  1897.                     // line 773
  1898.                     echo "                                        ";
  1899.                 }
  1900.                 // line 774
  1901.                 echo "                                    ";
  1902.             }
  1903.             $_parent $context['_parent'];
  1904.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['locations'], $context['_parent'], $context['loop']);
  1905.             $context array_intersect_key($context$_parent) + $_parent;
  1906.             // line 775
  1907.             echo "                                    ";
  1908.             if (((isset($context["includeService"]) || array_key_exists("includeService"$context) ? $context["includeService"] : (function () { throw new RuntimeError('Variable "includeService" does not exist.'775$this->source); })()) == true)) {
  1909.                 // line 776
  1910.                 echo "                                        <div class=\"item\">
  1911.                                             <svg class=\"icon mr-1\">
  1912.                                                 <use xlink:href=\"";
  1913.                 // line 778
  1914.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1915.                 echo "#icon-model-included\"></use>
  1916.                                             </svg>
  1917.                                         ";
  1918.                 // line 780
  1919.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\TakeOutLocationsExtension']->locationLabel($context["locationsText"]), [], "take_out_location"), "html"nulltrue);
  1920.                 echo "
  1921.                                         </div>
  1922.                                         ";
  1923.                 // line 782
  1924.                 $context["includeService"] = false;
  1925.                 // line 783
  1926.                 echo "                                    ";
  1927.             }
  1928.             // line 784
  1929.             echo "                                ";
  1930.         }
  1931.         $_parent $context['_parent'];
  1932.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['locationsText'], $context['_parent'], $context['loop']);
  1933.         $context array_intersect_key($context$_parent) + $_parent;
  1934.         // line 785
  1935.         echo "                            </div>
  1936.                         </div>
  1937.                     </div>
  1938.                     <script>
  1939.                     (function(){
  1940.                         var list = document.querySelectorAll('.modal-services__item');
  1941.                         Array.prototype.forEach.call(list, function(el) {
  1942.                             var elementOfList = el.querySelectorAll('.item');
  1943.                             if (elementOfList.length === 0){
  1944.                                 el.remove();
  1945.                             }
  1946.                         });
  1947.                         var listExt = document.querySelectorAll('.modal-services__extend__item');
  1948.                         var listExtCount = 0;
  1949.                         Array.prototype.forEach.call(listExt, function(el) {
  1950.                             var elementOfList = el.querySelectorAll('.item');
  1951.                             listExtCount++;
  1952.                             if (elementOfList.length === 0){
  1953.                                 el.remove();
  1954.                                 listExtCount--;
  1955.                             }
  1956.                         });
  1957.                         if (listExtCount === 0){
  1958.                             var block = document.querySelector('.modal-services__extend__items');
  1959.                             block.classList.add('d-none');
  1960.                         }
  1961.                     })()
  1962.                     </script>
  1963.                 </div>
  1964.                 ";
  1965.         // line 898
  1966.         echo "            </div>
  1967.             <div class=\"modal-map mb-3 mb-lg-4 p-2 p-sm-3 p-lg-4 rounding\">
  1968.                 <h2 class=\"border-line\">
  1969.                     Расположение
  1970.                 </h2>
  1971.                 <div class=\"map-block rounding\" id=\"map\" style=\"width: 100%; height: 400px;\"
  1972.                      data-lat=\"";
  1973.         // line 904
  1974.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "mapCoordinate", [], "any"falsetruefalse904), "latitude", [], "any"truetruefalse904)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "mapCoordinate", [], "any"falsetruefalse904), "latitude", [], "any"falsefalsefalse904), twig_get_attribute($this->env$this->sourcetwig_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.'904$this->source); })()), "city", [], "any"falsefalsefalse904), "mapCoordinate", [], "any"falsefalsefalse904), "latitude", [], "any"falsefalsefalse904))) : (twig_get_attribute($this->env$this->sourcetwig_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.'904$this->source); })()), "city", [], "any"falsefalsefalse904), "mapCoordinate", [], "any"falsefalsefalse904), "latitude", [], "any"falsefalsefalse904))), "html"nulltrue);
  1975.         echo "\"
  1976.                      data-lon=\"";
  1977.         // line 905
  1978.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "mapCoordinate", [], "any"falsetruefalse905), "longitude", [], "any"truetruefalse905)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "mapCoordinate", [], "any"falsetruefalse905), "longitude", [], "any"falsefalsefalse905), twig_get_attribute($this->env$this->sourcetwig_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.'905$this->source); })()), "city", [], "any"falsefalsefalse905), "mapCoordinate", [], "any"falsefalsefalse905), "longitude", [], "any"falsefalsefalse905))) : (twig_get_attribute($this->env$this->sourcetwig_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.'905$this->source); })()), "city", [], "any"falsefalsefalse905), "mapCoordinate", [], "any"falsefalsefalse905), "longitude", [], "any"falsefalsefalse905))), "html"nulltrue);
  1979.         echo "\"
  1980.                      data-map-label=\"";
  1981.         // line 906
  1982.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icons/map-balloon.svg""basicConfig"), "html"nulltrue);
  1983.         echo "\">
  1984.                 </div>
  1985.             </div>
  1986.             ";
  1987.         // line 909
  1988.         if ($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("profile_comments")) {
  1989.             // line 910
  1990.             echo "                ";
  1991.             $context["commentsCount"] = twig_length_filter($this->envtwig_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.'910$this->source); })()), "comments", [], "any"falsefalsefalse910));
  1992.             // line 911
  1993.             echo "                <section class=\"model-comments mb-3 mb-lg-4 p-2 p-sm-3 p-lg-4 rounding\">
  1994.                     <div class=\"d-flex align-items-start comments-header\">
  1995.                         <h2 class=\"border-line\">";
  1996.             // line 913
  1997.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Отзывы", [], "profile");
  1998.             echo " </h2>
  1999.                         <div class=\"rate d-flex align-items-center ml-auto\"";
  2000.             // line 914
  2001.             if (((isset($context["rating"]) || array_key_exists("rating"$context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.'914$this->source); })()) > 0)) {
  2002.                 echo " itemscope itemtype=\"https://schema.org/AggregateRating\"";
  2003.             }
  2004.             echo " data-rating=\"";
  2005.             echo twig_escape_filter($this->env, (isset($context["rating"]) || array_key_exists("rating"$context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.'914$this->source); })()), "html"nulltrue);
  2006.             echo "\">
  2007.                             ";
  2008.             // line 915
  2009.             if (((isset($context["rating"]) || array_key_exists("rating"$context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.'915$this->source); })()) > 0)) {
  2010.                 // line 916
  2011.                 echo "                            <meta itemprop=\"worstRating\" content=\"1\">
  2012.                             <meta itemprop=\"ratingValue\" content=\"";
  2013.                 // line 917
  2014.                 echo twig_escape_filter($this->env, (isset($context["rating"]) || array_key_exists("rating"$context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.'917$this->source); })()), "html"nulltrue);
  2015.                 echo "\">
  2016.                             <meta itemprop=\"bestRating\" content=\"5\">
  2017.                             <meta itemprop=\"reviewCount\" content=\"";
  2018.                 // line 919
  2019.                 echo twig_escape_filter($this->env, (isset($context["commentsCount"]) || array_key_exists("commentsCount"$context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.'919$this->source); })()), "html"nulltrue);
  2020.                 echo "\">
  2021.                             ";
  2022.             }
  2023.             // line 921
  2024.             echo "                            <div class=\"rating-text d-flex level\"";
  2025.             if (((isset($context["rating"]) || array_key_exists("rating"$context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.'921$this->source); })()) > 0)) {
  2026.                 echo " itemprop=\"itemReviewed\" itemscope itemtype=\"https://schema.org/Organization\" ";
  2027.             }
  2028.             echo ">
  2029.                                 ";
  2030.             // line 922
  2031.             if (((isset($context["rating"]) || array_key_exists("rating"$context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.'922$this->source); })()) > 0)) {
  2032.                 // line 923
  2033.                 echo "                                <meta itemprop=\"address\" content=\"";
  2034.                 echo twig_escape_filter($this->envtwig_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.'923$this->source); })()), "city", [], "any"falsefalsefalse923), "name", [], "any"falsefalsefalse923), "html"nulltrue);
  2035.                 echo "\" />
  2036.                                 <meta itemprop=\"telephone\" content=\"";
  2037.                 // line 924
  2038.                 echo twig_escape_filter($this->envtwig_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.'924$this->source); })()), "phoneNumber", [], "any"falsefalsefalse924), "html"nulltrue);
  2039.                 echo "\" />
  2040.                                 <meta itemprop=\"name\" content=\"Рейтинг анкеты ";
  2041.                 // line 925
  2042.                 echo twig_escape_filter($this->envtwig_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.'925$this->source); })()), "name", [], "any"falsefalsefalse925), "html"nulltrue);
  2043.                 echo "\">
  2044.                                 ";
  2045.             }
  2046.             // line 927
  2047.             echo "                                <span class=\"rating-text-value";
  2048.             echo ((((isset($context["commentsCount"]) || array_key_exists("commentsCount"$context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.'927$this->source); })()) == 0)) ? (" zero") : (""));
  2049.             echo " mr-1\">
  2050. \t\t\t\t\t\t\t        ";
  2051.             // line 928
  2052.             echo twig_escape_filter($this->env, (isset($context["rating"]) || array_key_exists("rating"$context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.'928$this->source); })()), "html"nulltrue);
  2053.             echo "
  2054.                                 </span>
  2055.                                 <span class=\"rating-text-count mr-2\">
  2056.                                     по ";
  2057.             // line 931
  2058.             echo twig_escape_filter($this->env, (isset($context["commentsCount"]) || array_key_exists("commentsCount"$context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.'931$this->source); })()), "html"nulltrue);
  2059.             echo " ";
  2060.             if (((isset($context["commentsCount"]) || array_key_exists("commentsCount"$context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.'931$this->source); })()) == 1)) {
  2061.                 echo "отзыву";
  2062.             } else {
  2063.                 echo "отзывам";
  2064.             }
  2065.             // line 932
  2066.             echo "                                </span>
  2067.                             </div>
  2068.                             ";
  2069.             // line 934
  2070.             $context['_parent'] = $context;
  2071.             $context['_seq'] = twig_ensure_traversable(range(15));
  2072.             foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  2073.                 // line 935
  2074.                 echo "                                <div class=\"star";
  2075.                 if (((isset($context["rating"]) || array_key_exists("rating"$context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.'935$this->source); })()) >= $context["i"])) {
  2076.                     echo " mark";
  2077.                 }
  2078.                 echo "\"></div>
  2079.                             ";
  2080.             }
  2081.             $_parent $context['_parent'];
  2082.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  2083.             $context array_intersect_key($context$_parent) + $_parent;
  2084.             // line 937
  2085.             echo "                        </div>
  2086.                     </div>
  2087.                     <div class=\"row comments-main\">
  2088.                         <div class=\"col-12 col-lg-7 mb-2 mb-sm-3 mb-lg-0\">
  2089.                             ";
  2090.             // line 942
  2091.             if (((isset($context["commentsCount"]) || array_key_exists("commentsCount"$context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.'942$this->source); })()) > 0)) {
  2092.                 // line 943
  2093.                 echo "                                <div class=\"items-comments\" id=\"review-block-list\">
  2094.                                     <ul>
  2095.                                         ";
  2096.                 // line 945
  2097.                 $context['_parent'] = $context;
  2098.                 $context['_seq'] = twig_ensure_traversable(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.'945$this->source); })()), "comments", [], "any"falsefalsefalse945));
  2099.                 $context['loop'] = [
  2100.                   'parent' => $context['_parent'],
  2101.                   'index0' => 0,
  2102.                   'index'  => 1,
  2103.                   'first'  => true,
  2104.                 ];
  2105.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  2106.                     $length count($context['_seq']);
  2107.                     $context['loop']['revindex0'] = $length 1;
  2108.                     $context['loop']['revindex'] = $length;
  2109.                     $context['loop']['length'] = $length;
  2110.                     $context['loop']['last'] = === $length;
  2111.                 }
  2112.                 foreach ($context['_seq'] as $context["_key"] => $context["comment"]) {
  2113.                     // line 946
  2114.                     echo "                                            ";
  2115.                     $this->loadTemplate("ProfilePreview/comment.html.twig""ProfilePreview/page.html.twig"946)->display($context);
  2116.                     // line 947
  2117.                     echo "                                        ";
  2118.                     ++$context['loop']['index0'];
  2119.                     ++$context['loop']['index'];
  2120.                     $context['loop']['first'] = false;
  2121.                     if (isset($context['loop']['length'])) {
  2122.                         --$context['loop']['revindex0'];
  2123.                         --$context['loop']['revindex'];
  2124.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  2125.                     }
  2126.                 }
  2127.                 $_parent $context['_parent'];
  2128.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['comment'], $context['_parent'], $context['loop']);
  2129.                 $context array_intersect_key($context$_parent) + $_parent;
  2130.                 // line 948
  2131.                 echo "                                    </ul>
  2132.                                 </div>
  2133.                             ";
  2134.             } else {
  2135.                 // line 951
  2136.                 echo "                                <div class=\"items-comments not-comments text-center empty\" id=\"review-block-list\">
  2137.                                     <div id=\"text-to-remove\">
  2138.                                         <svg width=\"100\" height=\"100\" viewBox=\"0 0 100 100\" fill=\"none\"
  2139.                                             xmlns=\"http://www.w3.org/2000/svg\">
  2140.                                             <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"
  2141.                                                 d=\"M20.8333 14.5C19.1536 14.5 17.5427 15.1673 16.355 16.355C15.1673 17.5427 14.5 19.1536 14.5 20.8333V82.6716L27.7525 69.4191C28.1275 69.044 28.6362 68.8333 29.1667 68.8333H79.1667C80.8464 68.8333 82.4573 68.1661 83.645 66.9783C84.8327 65.7906 85.5 64.1797 85.5 62.5V20.8333C85.5 19.1536 84.8327 17.5427 83.645 16.355C82.4573 15.1673 80.8464 14.5 79.1667 14.5H20.8333ZM13.5266 13.5266C15.4644 11.5887 18.0928 10.5 20.8333 10.5H79.1667C81.9072 10.5 84.5356 11.5887 86.4734 13.5266C88.4113 15.4644 89.5 18.0928 89.5 20.8333V62.5C89.5 65.2406 88.4113 67.8689 86.4734 69.8068C84.5356 71.7446 81.9072 72.8333 79.1667 72.8333H29.9951L13.9142 88.9142C13.3422 89.4862 12.482 89.6573 11.7346 89.3478C10.9873 89.0382 10.5 88.3089 10.5 87.5V20.8333C10.5 18.0928 11.5887 15.4644 13.5266 13.5266Z\"
  2142.                                                 fill=\"#595959\"/>
  2143.                                             <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"
  2144.                                                 d=\"M37.722 48.245C39.4121 46.7824 41.65 46 43.9333 46H56.0667C58.35 46 60.5879 46.7824 62.278 48.245C63.9773 49.7155 65 51.7773 65 54V57C65 58.1046 64.1046 59 63 59C61.8954 59 61 58.1046 61 57V54C61 53.0401 60.5618 52.0496 59.6605 51.2697C58.7502 50.4819 57.461 50 56.0667 50H43.9333C42.539 50 41.2498 50.4819 40.3395 51.2697C39.4382 52.0496 39 53.0401 39 54V57C39 58.1046 38.1046 59 37 59C35.8954 59 35 58.1046 35 57V54C35 51.7773 36.0227 49.7155 37.722 48.245Z\"
  2145.                                                 fill=\"#595959\"/>
  2146.                                             <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"
  2147.                                                 d=\"M50.5 29C47.4624 29 45 31.4624 45 34.5C45 37.5376 47.4624 40 50.5 40C53.5376 40 56 37.5376 56 34.5C56 31.4624 53.5376 29 50.5 29ZM41 34.5C41 29.2533 45.2533 25 50.5 25C55.7467 25 60 29.2533 60 34.5C60 39.7467 55.7467 44 50.5 44C45.2533 44 41 39.7467 41 34.5Z\"
  2148.                                                 fill=\"#595959\"/>
  2149.                                         </svg>
  2150.                                         <p id=\"text-to-remove\">К этой анкете ещё нет ни одного отзыва. Вы можете быть первым</p>
  2151.                                     </div>
  2152.                                     <ul>
  2153.                                     </ul>
  2154.                                 </div>
  2155.                             ";
  2156.             }
  2157.             // line 972
  2158.             echo "                        </div>
  2159.                         <div class=\"col-12 col-lg-5\">
  2160.                             ";
  2161.             // line 974
  2162.             if ( !$this->extensions['App\Twig\UserExtension']->isUserAdvertiser(twig_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.'974$this->source); })()), "user", [], "any"falsefalsefalse974))) {
  2163.                 // line 975
  2164.                 echo "                                <div class=\"review-form\" id=\"review-form-comment\">
  2165.                                     ";
  2166.                 // line 977
  2167.                 echo "                                </div>
  2168.                                 <div
  2169.                                         class=\"dialog-container\"
  2170.                                         id=\"form-dialog\"
  2171.                                         aria-hidden=\"true\"
  2172.                                         aria-labelledby=\"form-dialog-title\"
  2173.                                         aria-describedby=\"form-dialog-description\"
  2174.                                     >
  2175.                                     <div class=\"dialog-overlay\" data-a11y-dialog-hide></div>
  2176.                                     <div class=\"dialog-content\" role=\"document\">
  2177.                                         <div class=\"dialog-header\">
  2178.                                         <button
  2179.                                             data-a11y-dialog-hide
  2180.                                             class=\"dialog-close\"
  2181.                                             aria-label=\"Close this dialog window\"
  2182.                                         >
  2183.                                             <svg class=\"dialog-close__icon\" fill=\"none\" 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\"/></svg>
  2184.                                         </button>
  2185.                                         </div>
  2186.                                         <div class=\"dialog-body\">
  2187.                                         </div>
  2188.                                     </div>
  2189.                                 </div>
  2190.                             ";
  2191.             }
  2192.             // line 1002
  2193.             echo "                        </div>
  2194.                     </div>
  2195.                 </section>
  2196.             ";
  2197.         }
  2198.         // line 1006
  2199.         echo "
  2200.         </div>
  2201.         <div class=\"model-aside order-lg-1 mb-3 pr-3 pr-xl-4\">
  2202.             <div class=\"model-aside__preview mb-1 d-none d-lg-block rounding\" id=\"girl-avatar__big\" style=\"--rounding:20px\">
  2203.                 ";
  2204.         // line 1010
  2205.         if (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.'1010$this->source); })()), "deleted", [], "any"falsefalsefalse1010)) {
  2206.             // line 1011
  2207.             echo "                    <a href=\"";
  2208.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/deleted-profiles.svg""basicConfig"), "html"nulltrue);
  2209.             echo "\" class=\"girl-avatar__small\">
  2210.                         <img itemprop=\"contentUrl\" src=\"";
  2211.             // line 1012
  2212.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/deleted-profiles.svg"), "html"nulltrue);
  2213.             echo "\"
  2214.                              alt=\"Анкета ";
  2215.             // line 1013
  2216.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(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.'1013$this->source); })()), "name", [], "any"falsefalsefalse1013)), "html"nulltrue);
  2217.             echo " удалена\"
  2218.                              class=\"img-fluid\">
  2219.                     </a>
  2220.                 ";
  2221.         } else {
  2222.             // line 1017
  2223.             echo "                    ";
  2224.             $context["photo"] = $this->extensions['App\Twig\ProfileAvatarExtension']->profileAvatar((isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'1017$this->source); })()));
  2225.             // line 1018
  2226.             echo "                    ";
  2227.             if ((isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'1018$this->source); })())) {
  2228.                 // line 1019
  2229.                 echo "                        ";
  2230.                 $context["station_alt"] = "";
  2231.                 // line 1020
  2232.                 if (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.'1020$this->source); })()), "primaryStation", [], "any"falsefalsefalse1020)) {
  2233.                     // line 1021
  2234.                     $context["station_alt"] = 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.'1021$this->source); })()), "primaryStation", [], "any"falsefalsefalse1021);
  2235.                 }
  2236.                 // line 1023
  2237.                 $context["alt"] = ((((((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(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.'1023$this->source); })()), "name", [], "any"falsefalsefalse1023)) . ", ") . $this->extensions['BigIdea\Bundle\MorphosTwigBundle\Twig\MorphosExtension']->pluralFilter("год"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.'1023$this->source); })()), "personParameters", [], "any"falsefalsefalse1023), "age", [], "any"falsefalsefalse1023))) . (((isset($context["station_alt"]) || array_key_exists("station_alt"$context) ? $context["station_alt"] : (function () { throw new RuntimeError('Variable "station_alt" does not exist.'1023$this->source); })())) ? ((", метро " $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source, (isset($context["station_alt"]) || array_key_exists("station_alt"$context) ? $context["station_alt"] : (function () { throw new RuntimeError('Variable "station_alt" does not exist.'1023$this->source); })()), "name", [], "any"falsefalsefalse1023)))) : (""))) . " в Москве") . ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "seo", [], "any"falsetruefalse1023), "phone", [], "any"truetruefalse1023)) ? ((", тел. " 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.'1023$this->source); })()), "seo", [], "any"falsefalsefalse1023), "phone", [], "any"falsefalsefalse1023))) : (""))) . ", объявление ") . 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.'1023$this->source); })()), "id", [], "any"falsefalsefalse1023));
  2238.                 // line 1024
  2239.                 echo "                        ";
  2240.                 // line 1025
  2241.                 echo "                            <img itemprop=\"contentUrl\" src=\"";
  2242.                 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.'1025$this->source); })()), "path", [], "any"falsefalsefalse1025), "profile_media""357x500""jpg"), "html"nulltrue);
  2243.                 echo "\"
  2244.                                  class=\"img-fluid\"
  2245.                                 data-type=\"lg\"
  2246.                                 data-index-lg=\"0\"
  2247.                                 alt=\"";
  2248.                 // line 1029
  2249.                 echo twig_escape_filter($this->env, (isset($context["alt"]) || array_key_exists("alt"$context) ? $context["alt"] : (function () { throw new RuntimeError('Variable "alt" does not exist.'1029$this->source); })()), "html"nulltrue);
  2250.                 echo "\">
  2251.                         ";
  2252.                 // line 1031
  2253.                 echo "                    ";
  2254.             }
  2255.             // line 1032
  2256.             echo "                ";
  2257.         }
  2258.         // line 1033
  2259.         echo "                ";
  2260.         if (($this->extensions['App\Twig\UserExtension']->isUserCustomer(twig_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.'1033$this->source); })()), "user", [], "any"falsefalsefalse1033)) &&  !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.'1033$this->source); })()), "deleted", [], "any"falsefalsefalse1033))) {
  2261.             // line 1034
  2262.             echo "                    <button type=\"button\"
  2263.                             data-url-add=\"";
  2264.             // line 1035
  2265.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account.favourites.remove", ["profile" => 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.'1035$this->source); })()), "id", [], "any"falsefalsefalse1035)]), "html"nulltrue);
  2266.             echo "\"
  2267.                             data-url-remove=\"";
  2268.             // line 1036
  2269.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account.favourites.add", ["profile" => 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.'1036$this->source); })()), "id", [], "any"falsefalsefalse1036)]), "html"nulltrue);
  2270.             echo "\"
  2271.                             title=\"Добавить в избранное\"
  2272.                             ";
  2273.             // line 1038
  2274.             if ($this->extensions['App\Twig\UserExtension']->isProfileInFavourites((isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'1038$this->source); })()))) {
  2275.                 // line 1039
  2276.                 echo "                            class=\"btn favorite like\" id=\"favorite\">
  2277.                         ";
  2278.             } else {
  2279.                 // line 1041
  2280.                 echo "                            class=\"btn favorite unlike\" id=\"favorite\">
  2281.                         ";
  2282.             }
  2283.             // line 1043
  2284.             echo "                        <svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  2285.                             <rect width=\"40\" height=\"40\" fill=\"#ED0C34\"/>
  2286.                             <path d=\"M20 32L18.26 30.3455C12.08 24.4921 8 20.6316 8 15.8937C8 12.0332 10.904 9 14.6 9C16.688 9 18.692 10.0153 20 11.6196C21.308 10.0153 23.312 9 25.4 9C29.096 9 32 12.0332 32 15.8937C32 20.6316 27.92 24.4921 21.74 30.358L20 32Z\" fill=\"white\"/>
  2287.                             <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M25.9134 15.317C26.2906 15.7204 26.2694 16.3532 25.866 16.7304L20.058 23C19.6736 23.3594 19.0764 23.3594 18.692 23L15.317 19.9091C14.9136 19.5319 14.8924 18.899 15.2696 18.4956C15.6468 18.0922 16.2796 18.071 16.683 18.4482L19.375 20.9005L24.5 15.2696C24.9034 14.8924 25.5362 14.9136 25.9134 15.317Z\" fill=\"#ED0C34\"/>
  2288.                         </svg>
  2289.                     </button>
  2290.                 ";
  2291.         }
  2292.         // line 1050
  2293.         echo "            </div>
  2294.             ";
  2295.         // line 1051
  2296.         if ((twig_call_macro($macros["_self"], "macro__show_tabs", [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.'1051$this->source); })()), "photos", [], "any"falsefalsefalse1051), 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.'1051$this->source); })()), "selfies", [], "any"falsefalsefalse1051), 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.'1051$this->source); })()), "confirmedVideos", [], "any"falsefalsefalse1051), 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.'1051$this->source); })()), "deleted", [], "any"falsefalsefalse1051)], 1051$context$this->getSourceContext()) == "true")) {
  2297.             // line 1052
  2298.             echo "                <div class=\"model-aside__images model-aside__images--aside\">
  2299.                     <ul class=\"nav nav-pills list-unstyled m-0 p-0 d-flex\" id=\"model-tab\" role=\"tablist\">
  2300.                         ";
  2301.             // line 1054
  2302.             $context["currentPage"] = "";
  2303.             // line 1055
  2304.             echo "                        ";
  2305.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "photos", [], "any"truetruefalse1055) && (twig_length_filter($this->envtwig_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.'1055$this->source); })()), "photos", [], "any"falsefalsefalse1055)) > 0))) {
  2306.                 $context["currentPage"] = "photo";
  2307.                 // line 1056
  2308.                 echo "                        <li class=\"nav-item flex-fill\">
  2309.                             <a class=\"active\" id=\"model-photo-tab\" data-toggle=\"pill\" href=\"#model-photo\" role=\"tab\" aria-controls=\"model-photo\" aria-selected=\"false\">
  2310.                                     <svg class=\"icon d-inline-block\">
  2311.                                         <use xlink:href=\"";
  2312.                 // line 1059
  2313.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  2314.                 echo "#icon-photo-thumb\"></use>
  2315.                                     </svg>
  2316.                                 Фото
  2317.                             </a>
  2318.                         </li>
  2319.                         ";
  2320.             }
  2321.             // line 1065
  2322.             echo "                        ";
  2323.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "selfies", [], "any"truetruefalse1065) && (twig_length_filter($this->envtwig_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.'1065$this->source); })()), "selfies", [], "any"falsefalsefalse1065)) > 0))) {
  2324.                 $context["currentPage"] = ((((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'1065$this->source); })()) == "")) ? ("selfie") : ((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'1065$this->source); })())));
  2325.                 // line 1066
  2326.                 echo "                        <li class=\"nav-item flex-fill\">
  2327.                             <a class=\"";
  2328.                 // line 1067
  2329.                 if (((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'1067$this->source); })()) == "selfie")) {
  2330.                     echo "active";
  2331.                 }
  2332.                 echo "\" id=\"model-selfie-tab\" data-toggle=\"pill\" href=\"#model-selfie\" role=\"tab\" aria-controls=\"model-selfie\" aria-selected=\"false\">
  2333.                                     <svg class=\"icon d-inline-block\">
  2334.                                         <use xlink:href=\"";
  2335.                 // line 1069
  2336.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  2337.                 echo "#icon-selfie-thumb\"></use>
  2338.                                     </svg>
  2339.                                 Селфи
  2340.                             </a>
  2341.                         </li>
  2342.                         ";
  2343.             }
  2344.             // line 1075
  2345.             echo "                        ";
  2346.             if (((((false == 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.'1075$this->source); })()), "isModerationRejected", [], "any"falsefalsefalse1075)) &&  !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.'1075$this->source); })()), "deleted", [], "any"falsefalsefalse1075)) && twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any"truetruefalse1075)) && (twig_length_filter($this->envtwig_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.'1075$this->source); })()), "confirmedVideos", [], "any"falsefalsefalse1075)) > 0))) {
  2347.                 $context["currentPage"] = ((((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'1075$this->source); })()) == "")) ? ("video") : ((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'1075$this->source); })())));
  2348.                 // line 1076
  2349.                 echo "                        <li class=\"nav-item flex-fill\">
  2350.                             <a class=\"";
  2351.                 // line 1077
  2352.                 if (((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'1077$this->source); })()) == "video")) {
  2353.                     echo "active";
  2354.                 }
  2355.                 echo "\" id=\"model-video-tab\" data-toggle=\"pill\" href=\"#model-video\" role=\"tab\" aria-controls=\"model-video\" aria-selected=\"true\">
  2356.                                     <svg class=\"icon d-inline-block\">
  2357.                                         <use xlink:href=\"";
  2358.                 // line 1079
  2359.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  2360.                 echo "#icon-video-thumb\"></use>
  2361.                                     </svg>
  2362.                                 Видео
  2363.                             </a>
  2364.                         </li>
  2365.                         ";
  2366.             }
  2367.             // line 1085
  2368.             echo "                    </ul>
  2369.                     <div class=\"tab-content\" id=\"model-tabContent\">
  2370.                         ";
  2371.             // line 1087
  2372.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "photos", [], "any"truetruefalse1087) && (twig_length_filter($this->envtwig_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.'1087$this->source); })()), "photos", [], "any"falsefalsefalse1087)) > 0))) {
  2373.                 // line 1088
  2374.                 echo "                            <div class=\"tab-pane fade";
  2375.                 if (((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'1088$this->source); })()) == "photo")) {
  2376.                     echo " show active";
  2377.                 }
  2378.                 echo "\" id=\"model-photo\" role=\"tabpanel\" aria-labelledby=\"model-photo-tab\">
  2379.                                 <div class=\"model-aside-row d-flex flex-wrap\">
  2380.                                     ";
  2381.                 // line 1090
  2382.                 $context['_parent'] = $context;
  2383.                 $context['_seq'] = twig_ensure_traversable(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.'1090$this->source); })()), "photos", [], "any"falsefalsefalse1090));
  2384.                 $context['loop'] = [
  2385.                   'parent' => $context['_parent'],
  2386.                   'index0' => 0,
  2387.                   'index'  => 1,
  2388.                   'first'  => true,
  2389.                 ];
  2390.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  2391.                     $length count($context['_seq']);
  2392.                     $context['loop']['revindex0'] = $length 1;
  2393.                     $context['loop']['revindex'] = $length;
  2394.                     $context['loop']['length'] = $length;
  2395.                     $context['loop']['last'] = === $length;
  2396.                 }
  2397.                 foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
  2398.                     // line 1091
  2399.                     echo "\t\t\t\t\t\t\t\t\t    ";
  2400.                     if (twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1091)) {
  2401.                         // line 1092
  2402.                         echo "\t\t\t\t\t\t\t\t\t\t\t";
  2403.                         $context["alt"] = twig_call_macro($macros["_self"], "macro__get_alt", [(isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'1092$this->source); })()), (isset($context["servicesList"]) || array_key_exists("servicesList"$context) ? $context["servicesList"] : (function () { throw new RuntimeError('Variable "servicesList" does not exist.'1092$this->source); })()), twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse1092)], 1092$context$this->getSourceContext());
  2404.                         // line 1093
  2405.                         echo "                                            <div class=\"model-aside-col rounding\">
  2406.                                                 <a class=\"nolink\" href=\"";
  2407.                         // line 1094
  2408.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1094), "profile_media""fullsize""jpg"), "html"nulltrue);
  2409.                         echo "\">
  2410.                                                     <img class=\"img-fluid lazy\"
  2411.                                                         data-srcset=\"";
  2412.                         // line 1096
  2413.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1096), "profile_media""196x250""jpg"), "html"nulltrue);
  2414.                         echo " 196w,
  2415.                                                             ";
  2416.                         // line 1097
  2417.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1097), "profile_media""177x250""jpg"), "html"nulltrue);
  2418.                         echo " 177w,
  2419.                                                             ";
  2420.                         // line 1098
  2421.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1098), "profile_media""228x250""jpg"), "html"nulltrue);
  2422.                         echo " 228w,
  2423.                                                             ";
  2424.                         // line 1099
  2425.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1099), "profile_media""250x250""jpg"), "html"nulltrue);
  2426.                         echo " 260w\"
  2427.                                                         sizes=\"(max-width: 660px) 196px,
  2428.                                                             (max-width: 980px) 177px,
  2429.                                                             (max-width: 1125px) 228px,
  2430.                                                             260px\"
  2431.                                                         src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"
  2432.                                                         data-src=\"";
  2433.                         // line 1105
  2434.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1105), "profile_media""250x250""jpg"), "html"nulltrue);
  2435.                         echo "\"
  2436.                                                         alt=\"";
  2437.                         // line 1106
  2438.                         echo twig_escape_filter($this->env, (isset($context["alt"]) || array_key_exists("alt"$context) ? $context["alt"] : (function () { throw new RuntimeError('Variable "alt" does not exist.'1106$this->source); })()), "html"nulltrue);
  2439.                         echo "\"
  2440.                                                         data-type=\"lg\"
  2441.                                                         data-index-lg=\"";
  2442.                         // line 1108
  2443.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse1108), "html"nulltrue);
  2444.                         echo "\">
  2445.                                                 </a>
  2446.                                             </div>
  2447. \t\t\t\t\t\t\t\t\t    ";
  2448.                     }
  2449.                     // line 1112
  2450.                     echo "                                    ";
  2451.                     ++$context['loop']['index0'];
  2452.                     ++$context['loop']['index'];
  2453.                     $context['loop']['first'] = false;
  2454.                     if (isset($context['loop']['length'])) {
  2455.                         --$context['loop']['revindex0'];
  2456.                         --$context['loop']['revindex'];
  2457.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  2458.                     }
  2459.                 }
  2460.                 $_parent $context['_parent'];
  2461.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
  2462.                 $context array_intersect_key($context$_parent) + $_parent;
  2463.                 // line 1113
  2464.                 echo "                                </div>
  2465.                             </div>
  2466.                         ";
  2467.             }
  2468.             // line 1116
  2469.             echo "                        ";
  2470.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "selfies", [], "any"truetruefalse1116) && (twig_length_filter($this->envtwig_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.'1116$this->source); })()), "selfies", [], "any"falsefalsefalse1116)) > 0))) {
  2471.                 // line 1117
  2472.                 echo "                            <div class=\"tab-pane fade";
  2473.                 if (((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'1117$this->source); })()) == "selfie")) {
  2474.                     echo " show active";
  2475.                 }
  2476.                 echo "\" id=\"model-selfie\" role=\"tabpanel\" aria-labelledby=\"model-selfie-tab\">
  2477.                                 <div class=\"model-aside-row d-flex flex-wrap\" id=\"model-selfies\">
  2478.                                     ";
  2479.                 // line 1119
  2480.                 $context['_parent'] = $context;
  2481.                 $context['_seq'] = twig_ensure_traversable(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.'1119$this->source); })()), "selfies", [], "any"falsefalsefalse1119));
  2482.                 $context['loop'] = [
  2483.                   'parent' => $context['_parent'],
  2484.                   'index0' => 0,
  2485.                   'index'  => 1,
  2486.                   'first'  => true,
  2487.                 ];
  2488.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  2489.                     $length count($context['_seq']);
  2490.                     $context['loop']['revindex0'] = $length 1;
  2491.                     $context['loop']['revindex'] = $length;
  2492.                     $context['loop']['length'] = $length;
  2493.                     $context['loop']['last'] = === $length;
  2494.                 }
  2495.                 foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
  2496.                     // line 1120
  2497.                     echo "                                        ";
  2498.                     if (twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1120)) {
  2499.                         // line 1121
  2500.                         echo "\t\t\t\t\t\t\t\t\t\t\t";
  2501.                         $context["alt"] = twig_call_macro($macros["_self"], "macro__get_alt", [(isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'1121$this->source); })()), (isset($context["servicesList"]) || array_key_exists("servicesList"$context) ? $context["servicesList"] : (function () { throw new RuntimeError('Variable "servicesList" does not exist.'1121$this->source); })()), (twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse1121) + twig_length_filter($this->envtwig_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.'1121$this->source); })()), "photos", [], "any"falsefalsefalse1121)))], 1121$context$this->getSourceContext());
  2502.                         // line 1122
  2503.                         echo "                                            <div class=\"model-aside-col rounding\">
  2504.                                                 <a class=\"nolink\" href=\"";
  2505.                         // line 1123
  2506.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1123), "profile_media""fullsize""jpg"), "html"nulltrue);
  2507.                         echo "\">
  2508.                                                     <img class=\"img-fluid lazy\"
  2509.                                                         data-srcset=\"";
  2510.                         // line 1125
  2511.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1125), "profile_media""196x250""jpg"), "html"nulltrue);
  2512.                         echo " 196w,
  2513. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2514.                         // line 1126
  2515.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1126), "profile_media""177x250""jpg"), "html"nulltrue);
  2516.                         echo " 177w,
  2517. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2518.                         // line 1127
  2519.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1127), "profile_media""228x250""jpg"), "html"nulltrue);
  2520.                         echo " 228w,
  2521. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2522.                         // line 1128
  2523.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1128), "profile_media""250x250""jpg"), "html"nulltrue);
  2524.                         echo " 260w\"
  2525.                                                         sizes=\"(max-width: 660px) 196px,
  2526. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 980px) 177px,
  2527. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 1125px) 228px,
  2528. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t260px\"
  2529.                                                         data-type=\"lg\"
  2530.                                                         data-index-lg=\"";
  2531.                         // line 1134
  2532.                         echo twig_escape_filter($this->env, (twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse1134) + twig_length_filter($this->envtwig_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.'1134$this->source); })()), "photos", [], "any"falsefalsefalse1134))), "html"nulltrue);
  2533.                         echo "\"
  2534.                                                         src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"
  2535.                                                         data-src=\"";
  2536.                         // line 1136
  2537.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1136), "profile_media""250x250""jpg"), "html"nulltrue);
  2538.                         echo "\"
  2539.                                                         alt=\"";
  2540.                         // line 1137
  2541.                         echo twig_escape_filter($this->env, (isset($context["alt"]) || array_key_exists("alt"$context) ? $context["alt"] : (function () { throw new RuntimeError('Variable "alt" does not exist.'1137$this->source); })()), "html"nulltrue);
  2542.                         echo "\">
  2543.                                                 </a>
  2544.                                             </div>
  2545. \t\t\t\t\t\t\t\t\t    ";
  2546.                     }
  2547.                     // line 1141
  2548.                     echo "                                    ";
  2549.                     ++$context['loop']['index0'];
  2550.                     ++$context['loop']['index'];
  2551.                     $context['loop']['first'] = false;
  2552.                     if (isset($context['loop']['length'])) {
  2553.                         --$context['loop']['revindex0'];
  2554.                         --$context['loop']['revindex'];
  2555.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  2556.                     }
  2557.                 }
  2558.                 $_parent $context['_parent'];
  2559.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
  2560.                 $context array_intersect_key($context$_parent) + $_parent;
  2561.                 // line 1142
  2562.                 echo "                                </div>
  2563.                             </div>
  2564.                         ";
  2565.             }
  2566.             // line 1145
  2567.             echo "                        ";
  2568.             if (((((false == 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.'1145$this->source); })()), "isModerationRejected", [], "any"falsefalsefalse1145)) &&  !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.'1145$this->source); })()), "deleted", [], "any"falsefalsefalse1145)) && twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any"truetruefalse1145)) && (twig_length_filter($this->envtwig_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.'1145$this->source); })()), "confirmedVideos", [], "any"falsefalsefalse1145)) > 0))) {
  2569.                 // line 1146
  2570.                 echo "                            <div class=\"tab-pane fade";
  2571.                 if (((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'1146$this->source); })()) == "video")) {
  2572.                     echo " show active";
  2573.                 }
  2574.                 echo "\" id=\"model-video\" role=\"tabpanel\" aria-labelledby=\"model-video-tab\">
  2575.                                 <div class=\"model-aside-row d-flex flex-wrap\" id=\"model-video\">
  2576.                                     ";
  2577.                 // line 1148
  2578.                 $context['_parent'] = $context;
  2579.                 $context['_seq'] = twig_ensure_traversable(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.'1148$this->source); })()), "confirmedVideos", [], "any"falsefalsefalse1148));
  2580.                 foreach ($context['_seq'] as $context["_key"] => $context["video"]) {
  2581.                     // line 1149
  2582.                     echo "                                        <div class=\"model-video-container rounding\">
  2583.                                             <video class=\"model-video vlite-js\" controls preload=\"metadata\" width=\"341\" height=\"227\"";
  2584.                     // line 1150
  2585.                     if (twig_get_attribute($this->env$this->source$context["video"], "previewPath", [], "any"falsefalsefalse1150)) {
  2586.                         echo " poster=\"";
  2587.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["video"], "previewPath", [], "any"falsefalsefalse1150), "profile_media""fullsize"), "html"nulltrue);
  2588.                     }
  2589.                     echo "\">
  2590.                                                 <source src=\"";
  2591.                     // line 1151
  2592.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source$context["video"], "path", [], "any"falsefalsefalse1151), "profile_media"), "html"nulltrue);
  2593.                     echo "\" type='video/mp4'/>
  2594.                                             </video>
  2595.                                         </div>
  2596.                                     ";
  2597.                 }
  2598.                 $_parent $context['_parent'];
  2599.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['video'], $context['_parent'], $context['loop']);
  2600.                 $context array_intersect_key($context$_parent) + $_parent;
  2601.                 // line 1155
  2602.                 echo "                                </div>
  2603.                             </div>
  2604.                         ";
  2605.             }
  2606.             // line 1158
  2607.             echo "                    </div>
  2608.                 </div>
  2609.             ";
  2610.         }
  2611.         // line 1161
  2612.         echo "        </div>
  2613.     </div>
  2614.     ";
  2615.         // line 1165
  2616.         echo "
  2617. \t";
  2618.         // line 1168
  2619.         echo "    <div id=\"recommendations\">";
  2620.         // line 1169
  2621.         $context["excludeRecommendationProfileIds"] = [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.'1169$this->source); })()), "id", [], "any"falsefalsefalse1169)];
  2622.         // line 1170
  2623.         $this->loadTemplate("recommendations/_profile_recommendations.html.twig""ProfilePreview/page.html.twig"1170)->display(twig_array_merge($context, ["componentClass" => "with-profile"]));
  2624.         // line 1171
  2625.         echo "</div>
  2626.     ";
  2627.         // line 1173
  2628.         echo twig_include($this->env$context"ProfilePreview/nearest_profiles.html.twig");
  2629.         echo "
  2630.     ";
  2631.         // line 1333
  2632.         echo "
  2633.     ";
  2634.         // line 1335
  2635.         if ((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.'1335$this->source); })()), "isActive", [], "any"falsefalsefalse1335) ||  !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.'1335$this->source); })()), "hidden", [], "any"falsefalsefalse1335))) {
  2636.             // line 1336
  2637.             echo "        <div class=\"sticky-phone sticky-phone--hide\" id=\"phone-sticky\">
  2638.             <div class=\"sticky-phone__mobile d-flex\" id=\"phone-sticky-donor\">
  2639.                 <div class=\"model-phone__element model-phone__number rounding\">
  2640.                     <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()\">
  2641.                         <svg class=\"models-item__phone-icon\">
  2642.                             <use xlink:href=\"";
  2643.             // line 1342
  2644.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  2645.             echo "#phone\"></use>
  2646.                         </svg>
  2647.                         Показать телефон
  2648.                     </button>
  2649.                     <a href=\"tel:";
  2650.             // line 1346
  2651.             echo twig_escape_filter($this->envtwig_replace_filter(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.'1346$this->source); })()), "phoneNumber", [], "any"falsefalsefalse1346), [" " => """-" => ""]), "html"nulltrue);
  2652.             echo "\" rel=\"nofollow\" class=\"models-item__phone-button btn btn-danger align-items-center justify-content-center d-none\">
  2653.                         <svg class=\"models-item__phone-icon\">
  2654.                             <use xlink:href=\"";
  2655.             // line 1348
  2656.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  2657.             echo "#phone\"></use>
  2658.                         </svg>
  2659.                         ";
  2660.             // line 1350
  2661.             echo twig_escape_filter($this->envtwig_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.'1350$this->source); })()), "phoneNumber", [], "any"falsefalsefalse1350), "html"nulltrue);
  2662.             echo "
  2663.                     </a>
  2664.                 </div>
  2665.                 ";
  2666.             // line 1353
  2667.             if (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.'1353$this->source); })()), "messengers", [], "any"falsefalsefalse1353), "whatsApp", [], "any"falsefalsefalse1353)) {
  2668.                 // line 1354
  2669.                 echo "                    <a class=\"sticky-phone__mobile__element sticky-phone__mobile__whatsup\" target=\"_blank\" href=\"https://wa.me/";
  2670.                 echo twig_escape_filter($this->env, (isset($context["onlyPhoneNumber"]) || array_key_exists("onlyPhoneNumber"$context) ? $context["onlyPhoneNumber"] : (function () { throw new RuntimeError('Variable "onlyPhoneNumber" does not exist.'1354$this->source); })()), "html"nulltrue);
  2671.                 echo "?text=Привет,%20";
  2672.                 echo twig_escape_filter($this->envtwig_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.'1354$this->source); })()), "name", [], "any"falsefalsefalse1354), "html"nulltrue);
  2673.                 echo "!%20Нашел%20твою%20анкету%20на%20МосПрос.\" title=\"WhatsApp\" rel=\"nofollow\">
  2674.                         <svg class=\"icon\">
  2675.                             <use xlink:href=\"";
  2676.                 // line 1356
  2677.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  2678.                 echo "#icon-viber\"></use>
  2679.                         </svg>
  2680.                     </a>
  2681.                 ";
  2682.             }
  2683.             // line 1360
  2684.             if ((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.'1360$this->source); })()), "messengers", [], "any"falsefalsefalse1360), "telegram", [], "any"falsefalsefalse1360) && 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.'1360$this->source); })()), "messengers", [], "any"falsefalsefalse1360), "telegramUsername", [], "any"falsefalsefalse1360))) {
  2685.                 // line 1361
  2686.                 echo "<a  class=\"sticky-phone__mobile__element sticky-phone__mobile__telegram\" target=\"_blank\" href=\"https://t.me/+";
  2687.                 echo twig_escape_filter($this->envtwig_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.'1361$this->source); })()), "messengers", [], "any"falsefalsefalse1361), "telegramUsername", [], "any"falsefalsefalse1361), "html"nulltrue);
  2688.                 echo "\" title=\"Telegram\">
  2689.                         <svg class=\"icon\">
  2690.                             <use xlink:href=\"";
  2691.                 // line 1363
  2692.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  2693.                 echo "#icon-messager\"></use>
  2694.                         </svg>
  2695.                     </a>
  2696.                 ";
  2697.             }
  2698.             // line 1367
  2699.             echo "            </div>
  2700.             <p class=\"sticky-phone__text color-verify\">
  2701.                 Скажите что звоните с МосПрос и я всё пойму
  2702.             </p>
  2703.         </div>
  2704.     ";
  2705.         }
  2706.         
  2707.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2708.         
  2709.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2710.         
  2711.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  2712.     }
  2713.     // line 1375
  2714.     public function block_javascripts($context, array $blocks = [])
  2715.     {
  2716.         $macros $this->macros;
  2717.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  2718.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  2719.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  2720.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  2721.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2722.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  2723.         // line 1376
  2724.         echo "    ";
  2725.         // line 1377
  2726.         echo "    ";
  2727.         // line 1378
  2728.         echo "    <script src=\"/assets/vendors/lightgallery_v2/lightgallery.min.js\"></script>
  2729.     <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/lightgallery@2.0.0-beta.3/css/lightgallery-bundle.css\">
  2730.     ";
  2731.         // line 1407
  2732.         echo "
  2733.     <script type=\"text/javascript\">
  2734.         document.addEventListener(\"DOMContentLoaded\", () => {
  2735.             function getWidthScrollbar() {
  2736.                 let div = document.createElement('div');
  2737.                 div.style.overflowY = 'scroll';
  2738.                 div.style.width = '50px';
  2739.                 div.style.height = '50px';
  2740.                 document.body.append(div);
  2741.                 let scrollWidth = div.offsetWidth - div.clientWidth;
  2742.                 div.remove();
  2743.                 return scrollWidth;
  2744.             }
  2745.             function galleryInit()  {
  2746.                 const dynamicGallery = document.getElementById('profile-heading');
  2747.                 dynamicGallery.addEventListener('lgAfterOpen', (event) => {
  2748.                     document.body.style.overflow = 'hidden'
  2749.                     document.body.style.paddingRight = getWidthScrollbar() + 'px'
  2750.                 });
  2751.                 dynamicGallery.addEventListener('lgAfterClose', (event) => {
  2752.                     document.body.style.overflow = ''
  2753.                     document.body.style.paddingRight = '0'
  2754.                 });
  2755.                 const dynamicLG = lightGallery(dynamicGallery, {
  2756.                     dynamic: true,
  2757.                     licenseKey: \"2564-4867-3007-0501\",
  2758.                     startClass:'',
  2759.                     dynamicEl: [
  2760.                         ";
  2761.         // line 1443
  2762.         $context["photo"] = $this->extensions['App\Twig\ProfileAvatarExtension']->profileAvatar((isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'1443$this->source); })()));
  2763.         // line 1444
  2764.         echo "                        ";
  2765.         if ((isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'1444$this->source); })())) {
  2766.             echo "{ src: \"";
  2767.             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.'1444$this->source); })()), "path", [], "any"falsefalsefalse1444), "profile_media""fullsize""jpg"), "html"nulltrue);
  2768.             echo "\" },";
  2769.         }
  2770.         // line 1445
  2771.         echo "                        ";
  2772.         if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "photos", [], "any"truetruefalse1445) && (twig_length_filter($this->envtwig_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.'1445$this->source); })()), "photos", [], "any"falsefalsefalse1445)) > 0))) {
  2773.             // line 1446
  2774.             echo "                            ";
  2775.             $context['_parent'] = $context;
  2776.             $context['_seq'] = twig_ensure_traversable(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.'1446$this->source); })()), "photos", [], "any"falsefalsefalse1446));
  2777.             foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
  2778.                 // line 1447
  2779.                 echo "                                { src: \"";
  2780.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1447), "profile_media""fullsize""jpg"), "html"nulltrue);
  2781.                 echo "\" },
  2782.                             ";
  2783.             }
  2784.             $_parent $context['_parent'];
  2785.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
  2786.             $context array_intersect_key($context$_parent) + $_parent;
  2787.             // line 1449
  2788.             echo "                        ";
  2789.         }
  2790.         // line 1450
  2791.         echo "                        ";
  2792.         if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "selfies", [], "any"truetruefalse1450) && (twig_length_filter($this->envtwig_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.'1450$this->source); })()), "selfies", [], "any"falsefalsefalse1450)) > 0))) {
  2793.             // line 1451
  2794.             echo "                            ";
  2795.             $context['_parent'] = $context;
  2796.             $context['_seq'] = twig_ensure_traversable(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.'1451$this->source); })()), "selfies", [], "any"falsefalsefalse1451));
  2797.             foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
  2798.                 // line 1452
  2799.                 echo "                                { src: \"";
  2800.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1452), "profile_media""fullsize""jpg"), "html"nulltrue);
  2801.                 echo "\" },
  2802.                             ";
  2803.             }
  2804.             $_parent $context['_parent'];
  2805.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
  2806.             $context array_intersect_key($context$_parent) + $_parent;
  2807.             // line 1454
  2808.             echo "                        ";
  2809.         }
  2810.         // line 1455
  2811.         echo "                        ]
  2812.                     });
  2813.                 document.addEventListener('click', function (event) {
  2814.                     const {target} = event;
  2815.                     if (target.closest('.tab-content')) {
  2816.                         event.preventDefault();
  2817.                     }
  2818.                     if (target.dataset && target.dataset.type === 'lg'){
  2819.                         const index = target.dataset.indexLg ? +target.dataset.indexLg  : 0;
  2820.                         dynamicLG.openGallery(index);
  2821.                     }
  2822.                 });
  2823.             }
  2824.             setTimeout(() => {
  2825.                 galleryInit();
  2826.             }, 600);
  2827.             //---------------------------------
  2828.             var allTabs = document.querySelectorAll('a[data-toggle=\"pill\"]');
  2829.             var contentBlock = document.getElementById('model-tabContent');
  2830.             var contentBlock2 = document.getElementById('model-tabContent_2');
  2831.             for (let i = 0; i < allTabs.length; i++) {
  2832.                 allTabs[i].addEventListener('click', clickToTab.bind(this, allTabs[i]));
  2833.             }
  2834.             function clickToTab(tab, event) {
  2835.                 event.preventDefault();
  2836.                 var id = tab.getAttribute('aria-controls');
  2837.                 setContent(id);
  2838.                 setTab(tab,id);
  2839.             }
  2840.             function setContent(id) {
  2841.                 for (let i = 0; i < contentBlock.children.length; i++) {
  2842.                     if (contentBlock.children[i].id === id){
  2843.                         contentBlock.children[i].classList.add('active')
  2844.                         contentBlock.children[i].classList.add('show')
  2845.                         contentBlock2.children[i].classList.add('active')
  2846.                         contentBlock2.children[i].classList.add('show')
  2847.                     } else {
  2848.                         contentBlock.children[i].classList.remove('active')
  2849.                         contentBlock.children[i].classList.remove('show')
  2850.                         contentBlock2.children[i].classList.remove('active')
  2851.                         contentBlock2.children[i].classList.remove('show')
  2852.                     }
  2853.                 }
  2854.             }
  2855.             function setTab(activeTab, id) {
  2856.                 for (let i = 0; i < allTabs.length; i++) {
  2857.                    allTabs[i].classList.remove('active')
  2858.                 }
  2859.                 activeTab.classList.add('active')
  2860.             }
  2861.             // ------------------------------------
  2862.             var servicesBlock = document.getElementById('services_items');
  2863.             if (!servicesBlock) return;
  2864.             var servicesExtendBlock = servicesBlock.nextElementSibling;
  2865.             var servicesType = servicesBlock.dataset.type;
  2866.             switch (servicesBlock.childElementCount) {
  2867.                 case 0:
  2868.                     servicesExtendBlock.classList.add('modal-services__extend__items--no-services')
  2869.                     break;
  2870.                 default:
  2871.                     servicesBlock.classList.add(`modal-services__items--count-\${servicesBlock.childElementCount}`)
  2872.                     break;
  2873.             }
  2874.             if (servicesExtendBlock.children[0].childElementCount === 0){
  2875.                 servicesExtendBlock.classList.add('modal-services__extend__items--no-extend-services')
  2876.                 if (servicesBlock.childElementCount === 0){
  2877.                     servicesExtendBlock.parentElement.parentElement.classList.add('d-none');
  2878.                 }
  2879.             }
  2880.         });
  2881. \t\twindow.comment_data = {
  2882. \t\t\t'urlCreate': '";
  2883.         // line 1542
  2884.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile.comment.create", ["profile" => 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.'1542$this->source); })()), "id", [], "any"falsefalsefalse1542)]), "html"nulltrue);
  2885.         echo "',
  2886. \t\t\t'urlGet': '";
  2887.         // line 1543
  2888.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile.comment.comment_form", ["profile" => 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.'1543$this->source); })()), "id", [], "any"falsefalsefalse1543)]), "html"nulltrue);
  2889.         echo "',
  2890. \t\t\t'sitekey': \"";
  2891.         // line 1544
  2892.         echo twig_escape_filter($this->env, (isset($context["ewz_recaptcha_site_key"]) || array_key_exists("ewz_recaptcha_site_key"$context) ? $context["ewz_recaptcha_site_key"] : (function () { throw new RuntimeError('Variable "ewz_recaptcha_site_key" does not exist.'1544$this->source); })()), "html"nulltrue);
  2893.         echo "\",
  2894. \t\t\t'registrationUrl': \"/signup/\"
  2895. \t\t};
  2896. \t</script>
  2897. \t<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
  2898.     ";
  2899.         // line 1550
  2900.         $context["excludeRecommendationProfileIds"] = [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.'1550$this->source); })()), "id", [], "any"falsefalsefalse1550)];
  2901.         // line 1551
  2902.         echo "\t";
  2903.         $this->displayParentBlock("javascripts"$context$blocks);
  2904.         echo "
  2905.     <script>
  2906.         window._mp = {
  2907.             stations: {";
  2908.         // line 1555
  2909.         $context['_parent'] = $context;
  2910.         $context['_seq'] = twig_ensure_traversable($this->extensions['App\Twig\StationsExtension']->stations());
  2911.         $context['loop'] = [
  2912.           'parent' => $context['_parent'],
  2913.           'index0' => 0,
  2914.           'index'  => 1,
  2915.           'first'  => true,
  2916.         ];
  2917.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  2918.             $length count($context['_seq']);
  2919.             $context['loop']['revindex0'] = $length 1;
  2920.             $context['loop']['revindex'] = $length;
  2921.             $context['loop']['length'] = $length;
  2922.             $context['loop']['last'] = === $length;
  2923.         }
  2924.         foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
  2925.             // line 1556
  2926.             echo "\"";
  2927.             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"falsefalsefalse1556)), "html"nulltrue);
  2928.             echo "\": \"";
  2929.             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"falsefalsefalse1556), "uriIdentity", [], "any"falsefalsefalse1556), "station" => twig_get_attribute($this->env$this->source$context["station"], "uriIdentity", [], "any"falsefalsefalse1556)]), "html"nulltrue);
  2930.             echo "\"";
  2931.             if ( !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse1556)) {
  2932.                 echo ",";
  2933.             }
  2934.             ++$context['loop']['index0'];
  2935.             ++$context['loop']['index'];
  2936.             $context['loop']['first'] = false;
  2937.             if (isset($context['loop']['length'])) {
  2938.                 --$context['loop']['revindex0'];
  2939.                 --$context['loop']['revindex'];
  2940.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  2941.             }
  2942.         }
  2943.         $_parent $context['_parent'];
  2944.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
  2945.         $context array_intersect_key($context$_parent) + $_parent;
  2946.         // line 1558
  2947.         echo "}
  2948.         };
  2949.         (function() {
  2950.             let isRenderRecommendationsWidget = false;
  2951.             let isRenderBotWidget = false;
  2952.             let isRenderRecentlyViewedWidget = false;
  2953.             function loadWidgets() {
  2954.                 if (!isRenderRecommendationsWidget) {
  2955.                     isRenderRecommendationsWidget = true;
  2956.                     console.log(window.Recommendation)
  2957.                     window.Recommendation.addViewedProfile(";
  2958.         // line 1569
  2959.         echo twig_escape_filter($this->envtwig_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.'1569$this->source); })()), "id", [], "any"falsefalsefalse1569), "html"nulltrue);
  2960.         echo ")
  2961.                 }
  2962.                 if (!isRenderBotWidget) {
  2963.                     isRenderBotWidget = true;
  2964.                     window.profileBotHelper.addViewedProfile(";
  2965.         // line 1573
  2966.         echo twig_escape_filter($this->envtwig_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.'1573$this->source); })()), "id", [], "any"falsefalsefalse1573), "html"nulltrue);
  2967.         echo ");
  2968.                 }
  2969.                 if (!isRenderRecentlyViewedWidget) {
  2970.                     isRenderRecentlyViewedWidget = true;
  2971.                     window.recentlyViewed.addViewedProfile(";
  2972.         // line 1577
  2973.         echo twig_escape_filter($this->envtwig_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.'1577$this->source); })()), "id", [], "any"falsefalsefalse1577), "html"nulltrue);
  2974.         echo ");
  2975.                 }
  2976.                 //const recentlyViewedProfiles = recentlyViewed.getViewedProfiles();
  2977.             }
  2978.             window.addEventListener('load', () => {
  2979.                 try {
  2980.                     loadWidgets();
  2981.                 } catch (error) {
  2982.                     console.error(error);
  2983.                 }
  2984.             })
  2985.             document.addEventListener('DOMContentLoaded', function() {
  2986.                 window.increase_views(";
  2987.         // line 1590
  2988.         echo twig_escape_filter($this->envtwig_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.'1590$this->source); })()), "id", [], "any"falsefalsefalse1590), "html"nulltrue);
  2989.         echo ");
  2990.             });
  2991.             document.addEventListener(\"recommendations:ready\", () => {
  2992.                 try {
  2993.                     loadWidgets();
  2994.                 } catch (error) {
  2995.                     console.error(error);
  2996.                 }
  2997.             });
  2998.         })();
  2999. \t</script>
  3000. ";
  3001.         
  3002.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  3003.         
  3004.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  3005.         
  3006.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  3007.     }
  3008.     // line 4
  3009.     public function macro__show_tabs($__photos__ null$__selfies__ null$__videos__ null$__hasDeleted__ null, ...$__varargs__)
  3010.     {
  3011.         $macros $this->macros;
  3012.         $context $this->env->mergeGlobals([
  3013.             "photos" => $__photos__,
  3014.             "selfies" => $__selfies__,
  3015.             "videos" => $__videos__,
  3016.             "hasDeleted" => $__hasDeleted__,
  3017.             "varargs" => $__varargs__,
  3018.         ]);
  3019.         $blocks = [];
  3020.         ob_start();
  3021.         try {
  3022.             $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  3023.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_show_tabs"));
  3024.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  3025.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_show_tabs"));
  3026.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  3027.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_show_tabs"));
  3028.             // line 5
  3029.             if ((isset($context["hasDeleted"]) || array_key_exists("hasDeleted"$context) ? $context["hasDeleted"] : (function () { throw new RuntimeError('Variable "hasDeleted" does not exist.'5$this->source); })())) {
  3030.                 echo "false
  3031.     ";
  3032.             } elseif ((((            // line 6
  3033. array_key_exists("photos"$context) && (twig_length_filter($this->env, (isset($context["photos"]) || array_key_exists("photos"$context) ? $context["photos"] : (function () { throw new RuntimeError('Variable "photos" does not exist.'6$this->source); })())) > 0)) || (            // line 7
  3034. array_key_exists("selfies"$context) && (twig_length_filter($this->env, (isset($context["selfies"]) || array_key_exists("selfies"$context) ? $context["selfies"] : (function () { throw new RuntimeError('Variable "selfies" does not exist.'7$this->source); })())) > 0))) || (            // line 8
  3035. array_key_exists("videos"$context) && (twig_length_filter($this->env, (isset($context["videos"]) || array_key_exists("videos"$context) ? $context["videos"] : (function () { throw new RuntimeError('Variable "videos" does not exist.'8$this->source); })())) > 0)))) {
  3036.                 // line 9
  3037.                 echo "true";
  3038.             } else {
  3039.                 echo "false";
  3040.             }
  3041.             
  3042.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  3043.             
  3044.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  3045.             
  3046.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  3047.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  3048.         } finally {
  3049.             ob_end_clean();
  3050.         }
  3051.     }
  3052.     // line 12
  3053.     public function macro__get_alt($__profile__ null$__servicesList__ null$__index__ null, ...$__varargs__)
  3054.     {
  3055.         $macros $this->macros;
  3056.         $context $this->env->mergeGlobals([
  3057.             "profile" => $__profile__,
  3058.             "servicesList" => $__servicesList__,
  3059.             "index" => $__index__,
  3060.             "varargs" => $__varargs__,
  3061.         ]);
  3062.         $blocks = [];
  3063.         ob_start();
  3064.         try {
  3065.             $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  3066.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_get_alt"));
  3067.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  3068.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_get_alt"));
  3069.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  3070.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_get_alt"));
  3071.             // line 13
  3072.             $context["station_alt"] = "";
  3073.             // line 14
  3074.             if (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.'14$this->source); })()), "primaryStation", [], "any"falsefalsefalse14)) {
  3075.                 // line 15
  3076.                 $context["station_alt"] = 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.'15$this->source); })()), "primaryStation", [], "any"falsefalsefalse15);
  3077.             }
  3078.             // line 17
  3079.             echo twig_escape_filter($this->env, ((((((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(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.'17$this->source); })()), "name", [], "any"falsefalsefalse17)) . ", возраст ") . 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.'17$this->source); })()), "personParameters", [], "any"falsefalsefalse17), "age", [], "any"falsefalsefalse17)) . (((isset($context["station_alt"]) || array_key_exists("station_alt"$context) ? $context["station_alt"] : (function () { throw new RuntimeError('Variable "station_alt" does not exist.'17$this->source); })())) ? ((", " $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source, (isset($context["station_alt"]) || array_key_exists("station_alt"$context) ? $context["station_alt"] : (function () { throw new RuntimeError('Variable "station_alt" does not exist.'17$this->source); })()), "name", [], "any"falsefalsefalse17)))) : (""))) . ", ") . twig_lower_filter($this->env$this->extensions['App\Twig\SeoExtension']->morphing((isset($context["servicesList"]) || array_key_exists("servicesList"$context) ? $context["servicesList"] : (function () { throw new RuntimeError('Variable "servicesList" does not exist.'17$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.'17$this->source); })()), "id", [], "any"falsefalsefalse17) + (13 * (isset($context["index"]) || array_key_exists("index"$context) ? $context["index"] : (function () { throw new RuntimeError('Variable "index" does not exist.'17$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.'17$this->source); })()), "id", [], "any"falsefalsefalse17)), "html"nulltrue);
  3080.             
  3081.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  3082.             
  3083.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  3084.             
  3085.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  3086.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  3087.         } finally {
  3088.             ob_end_clean();
  3089.         }
  3090.     }
  3091.     // line 20
  3092.     public function macro__data_wrapper($__text__ null$__value__ null$__shortText__ "", ...$__varargs__)
  3093.     {
  3094.         $macros $this->macros;
  3095.         $context $this->env->mergeGlobals([
  3096.             "text" => $__text__,
  3097.             "value" => $__value__,
  3098.             "shortText" => $__shortText__,
  3099.             "varargs" => $__varargs__,
  3100.         ]);
  3101.         $blocks = [];
  3102.         ob_start();
  3103.         try {
  3104.             $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  3105.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_data_wrapper"));
  3106.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  3107.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_data_wrapper"));
  3108.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  3109.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_data_wrapper"));
  3110.             // line 21
  3111.             echo "    ";
  3112.             $context["value"] = (((isset($context["value"]) || array_key_exists("value"$context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.'21$this->source); })())) ? ((isset($context["value"]) || array_key_exists("value"$context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.'21$this->source); })())) : ("-"));
  3113.             // line 22
  3114.             echo "    ";
  3115.             echo twig_escape_filter($this->env, (isset($context["value"]) || array_key_exists("value"$context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.'22$this->source); })()), "html"nulltrue);
  3116.             echo "
  3117. ";
  3118.             
  3119.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  3120.             
  3121.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  3122.             
  3123.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  3124.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  3125.         } finally {
  3126.             ob_end_clean();
  3127.         }
  3128.     }
  3129.     // line 25
  3130.     public function macro__time_to_work($__profile__ null, ...$__varargs__)
  3131.     {
  3132.         $macros $this->macros;
  3133.         $context $this->env->mergeGlobals([
  3134.             "profile" => $__profile__,
  3135.             "varargs" => $__varargs__,
  3136.         ]);
  3137.         $blocks = [];
  3138.         ob_start();
  3139.         try {
  3140.             $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  3141.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_time_to_work"));
  3142.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  3143.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_time_to_work"));
  3144.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  3145.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_time_to_work"));
  3146.             // line 26
  3147.             echo "    ";
  3148.             if ((((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.'26$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse26), "timeFrom", [], "any"falsefalsefalse26) == "") && (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.'26$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse26), "timeTo", [], "any"falsefalsefalse26) == "")) || (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 27
  3149. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'27$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse27), "timeFrom", [], "any"falsefalsefalse27) == 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.'27$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse27), "timeTo", [], "any"falsefalsefalse27)))) {
  3150.                 // line 28
  3151.                 echo "        ";
  3152.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Круглосуточно", [], "profile");
  3153.                 // line 29
  3154.                 echo "    ";
  3155.             } else {
  3156.                 // line 30
  3157.                 echo "        с
  3158.         ";
  3159.                 // line 31
  3160.                 (((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.'31$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse31), "timeFrom", [], "any"falsefalsefalse31) == "")) ? (print (0)) : (print (twig_escape_filter($this->envtwig_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.'31$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse31), "timeFrom", [], "any"falsefalsefalse31), "html"nulltrue))));
  3161.                 echo "
  3162.         до
  3163.         ";
  3164.                 // line 33
  3165.                 (((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); })()), "phoneCallRestrictions", [], "any"falsefalsefalse33), "timeTo", [], "any"falsefalsefalse33) == "")) ? (print (0)) : (print (twig_escape_filter($this->envtwig_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); })()), "phoneCallRestrictions", [], "any"falsefalsefalse33), "timeTo", [], "any"falsefalsefalse33), "html"nulltrue))));
  3166.                 echo "
  3167.     ";
  3168.             }
  3169.             
  3170.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  3171.             
  3172.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  3173.             
  3174.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  3175.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  3176.         } finally {
  3177.             ob_end_clean();
  3178.         }
  3179.     }
  3180.     /**
  3181.      * @codeCoverageIgnore
  3182.      */
  3183.     public function getTemplateName()
  3184.     {
  3185.         return "ProfilePreview/page.html.twig";
  3186.     }
  3187.     /**
  3188.      * @codeCoverageIgnore
  3189.      */
  3190.     public function isTraitable()
  3191.     {
  3192.         return false;
  3193.     }
  3194.     /**
  3195.      * @codeCoverageIgnore
  3196.      */
  3197.     public function getDebugInfo()
  3198.     {
  3199.         return array (  3290 => 33,  3285 => 31,  3282 => 30,  3279 => 29,  3276 => 28,  3274 => 27,  3272 => 26,  3250 => 25,  3229 => 22,  3226 => 21,  3202 => 20,  3184 => 17,  3181 => 15,  3179 => 14,  3177 => 13,  3153 => 12,  3132 => 9,  3130 => 8,  3129 => 7,  3128 => 6,  3124 => 5,  3099 => 4,  3073 => 1590,  3057 => 1577,  3050 => 1573,  3043 => 1569,  3030 => 1558,  3009 => 1556,  2992 => 1555,  2985 => 1551,  2983 => 1550,  2974 => 1544,  2970 => 1543,  2966 => 1542,  2877 => 1455,  2874 => 1454,  2865 => 1452,  2860 => 1451,  2857 => 1450,  2854 => 1449,  2845 => 1447,  2840 => 1446,  2837 => 1445,  2830 => 1444,  2828 => 1443,  2790 => 1407,  2785 => 1378,  2783 => 1377,  2781 => 1376,  2768 => 1375,  2749 => 1367,  2742 => 1363,  2736 => 1361,  2734 => 1360,  2727 => 1356,  2719 => 1354,  2717 => 1353,  2711 => 1350,  2706 => 1348,  2701 => 1346,  2694 => 1342,  2686 => 1336,  2684 => 1335,  2680 => 1333,  2675 => 1173,  2671 => 1171,  2669 => 1170,  2667 => 1169,  2665 => 1168,  2661 => 1165,  2657 => 1161,  2652 => 1158,  2647 => 1155,  2637 => 1151,  2630 => 1150,  2627 => 1149,  2623 => 1148,  2615 => 1146,  2612 => 1145,  2607 => 1142,  2593 => 1141,  2586 => 1137,  2582 => 1136,  2577 => 1134,  2568 => 1128,  2564 => 1127,  2560 => 1126,  2556 => 1125,  2551 => 1123,  2548 => 1122,  2545 => 1121,  2542 => 1120,  2525 => 1119,  2517 => 1117,  2514 => 1116,  2509 => 1113,  2495 => 1112,  2488 => 1108,  2483 => 1106,  2479 => 1105,  2470 => 1099,  2466 => 1098,  2462 => 1097,  2458 => 1096,  2453 => 1094,  2450 => 1093,  2447 => 1092,  2444 => 1091,  2427 => 1090,  2419 => 1088,  2417 => 1087,  2413 => 1085,  2404 => 1079,  2397 => 1077,  2394 => 1076,  2390 => 1075,  2381 => 1069,  2374 => 1067,  2371 => 1066,  2367 => 1065,  2358 => 1059,  2353 => 1056,  2349 => 1055,  2347 => 1054,  2343 => 1052,  2341 => 1051,  2338 => 1050,  2329 => 1043,  2325 => 1041,  2321 => 1039,  2319 => 1038,  2314 => 1036,  2310 => 1035,  2307 => 1034,  2304 => 1033,  2301 => 1032,  2298 => 1031,  2294 => 1029,  2286 => 1025,  2284 => 1024,  2282 => 1023,  2279 => 1021,  2277 => 1020,  2274 => 1019,  2271 => 1018,  2268 => 1017,  2261 => 1013,  2257 => 1012,  2252 => 1011,  2250 => 1010,  2244 => 1006,  2238 => 1002,  2211 => 977,  2208 => 975,  2206 => 974,  2202 => 972,  2179 => 951,  2174 => 948,  2160 => 947,  2157 => 946,  2140 => 945,  2136 => 943,  2134 => 942,  2127 => 937,  2116 => 935,  2112 => 934,  2108 => 932,  2100 => 931,  2094 => 928,  2089 => 927,  2084 => 925,  2080 => 924,  2075 => 923,  2073 => 922,  2066 => 921,  2061 => 919,  2056 => 917,  2053 => 916,  2051 => 915,  2043 => 914,  2039 => 913,  2035 => 911,  2032 => 910,  2030 => 909,  2024 => 906,  2020 => 905,  2016 => 904,  2008 => 898,  1976 => 785,  1970 => 784,  1967 => 783,  1965 => 782,  1960 => 780,  1955 => 778,  1951 => 776,  1948 => 775,  1942 => 774,  1939 => 773,  1936 => 772,  1933 => 771,  1928 => 770,  1923 => 769,  1920 => 768,  1918 => 767,  1913 => 764,  1907 => 763,  1904 => 762,  1902 => 761,  1897 => 759,  1891 => 756,  1887 => 754,  1884 => 753,  1878 => 752,  1875 => 751,  1872 => 750,  1869 => 749,  1864 => 748,  1859 => 747,  1856 => 746,  1854 => 745,  1847 => 740,  1841 => 739,  1838 => 738,  1835 => 737,  1833 => 735,  1830 => 734,  1824 => 733,  1820 => 731,  1814 => 729,  1811 => 728,  1805 => 727,  1800 => 725,  1795 => 724,  1789 => 721,  1786 => 720,  1784 => 719,  1779 => 717,  1776 => 716,  1774 => 715,  1769 => 713,  1766 => 712,  1764 => 711,  1757 => 710,  1754 => 709,  1751 => 708,  1747 => 707,  1743 => 706,  1736 => 705,  1733 => 704,  1730 => 702,  1726 => 700,  1720 => 699,  1716 => 697,  1713 => 696,  1707 => 694,  1704 => 693,  1698 => 692,  1693 => 690,  1687 => 689,  1684 => 688,  1678 => 685,  1675 => 684,  1673 => 683,  1668 => 681,  1665 => 680,  1663 => 679,  1658 => 677,  1655 => 676,  1652 => 675,  1650 => 674,  1643 => 673,  1640 => 672,  1637 => 671,  1633 => 670,  1627 => 669,  1623 => 667,  1617 => 666,  1613 => 664,  1607 => 662,  1604 => 661,  1598 => 660,  1593 => 658,  1586 => 657,  1583 => 656,  1577 => 653,  1574 => 652,  1572 => 651,  1567 => 649,  1564 => 648,  1562 => 647,  1557 => 645,  1554 => 644,  1551 => 643,  1549 => 642,  1542 => 641,  1539 => 640,  1536 => 639,  1532 => 638,  1527 => 635,  1521 => 634,  1517 => 632,  1511 => 630,  1508 => 629,  1502 => 628,  1497 => 626,  1490 => 625,  1484 => 622,  1481 => 621,  1479 => 620,  1474 => 618,  1471 => 617,  1469 => 616,  1464 => 614,  1461 => 613,  1459 => 612,  1452 => 611,  1449 => 610,  1446 => 609,  1442 => 608,  1438 => 606,  1435 => 605,  1433 => 604,  1430 => 603,  1424 => 602,  1421 => 601,  1418 => 600,  1415 => 599,  1412 => 598,  1409 => 597,  1404 => 596,  1402 => 595,  1399 => 594,  1394 => 593,  1390 => 592,  1387 => 591,  1384 => 590,  1382 => 589,  1368 => 588,  1363 => 585,  1356 => 575,  1347 => 569,  1338 => 563,  1329 => 556,  1324 => 553,  1319 => 550,  1309 => 546,  1302 => 545,  1299 => 544,  1295 => 543,  1287 => 541,  1284 => 540,  1279 => 537,  1265 => 536,  1258 => 532,  1254 => 531,  1249 => 529,  1240 => 523,  1236 => 522,  1232 => 521,  1228 => 520,  1223 => 518,  1220 => 517,  1217 => 516,  1214 => 515,  1197 => 514,  1189 => 512,  1186 => 511,  1181 => 508,  1167 => 507,  1160 => 503,  1156 => 502,  1151 => 500,  1142 => 494,  1138 => 493,  1134 => 492,  1130 => 491,  1125 => 489,  1122 => 488,  1119 => 487,  1116 => 486,  1099 => 485,  1091 => 483,  1089 => 482,  1085 => 480,  1076 => 474,  1069 => 472,  1066 => 471,  1062 => 470,  1053 => 464,  1046 => 462,  1043 => 461,  1039 => 460,  1030 => 454,  1025 => 451,  1021 => 450,  1019 => 449,  1015 => 447,  1013 => 446,  1003 => 439,  996 => 434,  987 => 428,  979 => 422,  977 => 421,  972 => 420,  967 => 418,  964 => 417,  961 => 416,  956 => 414,  953 => 413,  950 => 412,  947 => 411,  945 => 410,  941 => 408,  933 => 405,  929 => 403,  926 => 402,  918 => 399,  914 => 397,  911 => 396,  903 => 393,  899 => 391,  896 => 390,  888 => 387,  884 => 385,  882 => 384,  875 => 379,  871 => 377,  865 => 374,  862 => 373,  860 => 372,  853 => 367,  849 => 365,  843 => 362,  840 => 361,  838 => 360,  831 => 355,  829 => 354,  823 => 349,  821 => 348,  815 => 343,  813 => 342,  810 => 340,  806 => 339,  802 => 338,  798 => 337,  794 => 336,  790 => 335,  787 => 334,  784 => 333,  782 => 332,  775 => 327,  773 => 326,  767 => 321,  765 => 320,  759 => 315,  757 => 314,  749 => 307,  745 => 305,  742 => 304,  728 => 303,  725 => 302,  722 => 301,  716 => 297,  708 => 294,  702 => 293,  699 => 292,  696 => 291,  693 => 290,  690 => 289,  687 => 288,  684 => 287,  667 => 286,  662 => 284,  659 => 283,  637 => 280,  635 => 279,  632 => 278,  615 => 277,  610 => 274,  608 => 273,  605 => 272,  598 => 267,  595 => 265,  590 => 262,  586 => 261,  584 => 260,  574 => 252,  565 => 245,  561 => 243,  558 => 242,  544 => 241,  538 => 240,  520 => 239,  518 => 238,  508 => 230,  505 => 223,  501 => 221,  497 => 219,  490 => 215,  484 => 213,  482 => 212,  475 => 208,  467 => 206,  465 => 205,  459 => 202,  454 => 200,  449 => 198,  442 => 194,  437 => 191,  434 => 187,  431 => 186,  429 => 185,  424 => 182,  411 => 171,  409 => 170,  404 => 166,  401 => 165,  396 => 164,  394 => 163,  391 => 161,  388 => 160,  383 => 159,  381 => 158,  378 => 156,  375 => 155,  370 => 154,  368 => 153,  360 => 147,  352 => 141,  349 => 139,  345 => 136,  340 => 134,  338 => 133,  336 => 132,  333 => 130,  330 => 129,  325 => 128,  323 => 127,  320 => 125,  317 => 124,  312 => 123,  310 => 122,  307 => 120,  304 => 119,  299 => 118,  297 => 117,  289 => 111,  281 => 105,  272 => 98,  268 => 96,  264 => 94,  262 => 93,  257 => 91,  253 => 90,  250 => 89,  247 => 88,  244 => 87,  239 => 85,  231 => 81,  229 => 80,  226 => 77,  224 => 76,  222 => 75,  219 => 74,  216 => 73,  213 => 72,  207 => 69,  202 => 68,  200 => 67,  192 => 61,  185 => 57,  180 => 54,  178 => 53,  174 => 52,  168 => 50,  155 => 49,  137 => 44,  124 => 43,  97 => 41,  72 => 39,  58 => 1,  56 => 37,  40 => 1,);
  3200.     }
  3201.     public function getSourceContext()
  3202.     {
  3203.         return new Source("{% extends 'ProfilePreview/grid.html.twig' %}
  3204. {# Проверяем есть ли у нас вообще данные для табов #}
  3205. {%- macro _show_tabs(photos,selfies,videos,hasDeleted) -%}
  3206.     {% if (hasDeleted) %}false
  3207.     {% elseif (photos is defined and photos|length > 0) or
  3208.         (selfies is defined and selfies|length > 0) or
  3209.         (videos is defined and videos|length > 0)
  3210.     %}true{% else %}false{% endif %}
  3211. {%- endmacro -%}
  3212. {%- macro _get_alt(profile, servicesList, index) -%}
  3213.     {% set station_alt = '' -%}
  3214.     {% if profile.primaryStation -%}
  3215.         {% set station_alt = profile.primaryStation -%}
  3216.     {% endif -%}
  3217.  \t{{ profile.name|trans ~ ', возраст ' ~ profile.personParameters.age ~ (station_alt ? ', ' ~ station_alt.name|trans : '' ) ~ ', ' ~ servicesList|seo_morphing(profile.id + 13 * index)|lower ~ ', объявление ' ~ profile.id }}
  3218. {%- endmacro -%}
  3219. {% macro _data_wrapper(text, value, shortText = '') %}
  3220.     {% set value = value ? value : '-' %}
  3221.     {{ value }}
  3222. {% endmacro %}
  3223. {% macro _time_to_work(profile) %}
  3224.     {% if (profile.phoneCallRestrictions.timeFrom == '' and profile.phoneCallRestrictions.timeTo == '') or
  3225.         (profile.phoneCallRestrictions.timeFrom == profile.phoneCallRestrictions.timeTo) %}
  3226.         {% trans with {} from 'profile' %}Круглосуточно{% endtrans %}
  3227.     {% else %}
  3228.         с
  3229.         {{ profile.phoneCallRestrictions.timeFrom == '' ? 0 : profile.phoneCallRestrictions.timeFrom }}
  3230.         до
  3231.         {{ profile.phoneCallRestrictions.timeTo == '' ? 0 : profile.phoneCallRestrictions.timeTo }}
  3232.     {% endif %}
  3233. {% endmacro %}
  3234. {%- set servicesList = \"Секс классический|Секс анальный|Секс групповой|Секс лесбийский|Услуги семейной паре|Секс-игрушки|Минет в презервативе|Минет без резинки|Минет глубокий|Минет в машине|Куннилингус|Окончание на грудь|Окончание на лицо|Окончание в рот|Стриптиз профи|Стриптиз не профи|Лесби откровенное|Лесби-шоу легкое|Массаж классический|Массаж профессиональный|Массаж расслабляющий|Массаж тайский|Массаж урологический|Массаж точечный|Массаж эротический|Массаж ветка сакуры|Страпон|Анилингус делаю|Золотой дождь выдача|Золотой дождь прием|Копро выдача|Фистинг анальный|Фистинг классический|Фистинг Вам|Фистинг мне|Госпожа|Игры|Легкая доминация|Порка|Рабыня|Фетиш|Трамплинг|Бондаж|Ролевые игры|Фото/видео съемка|Эскорт|GFE|Целуюсь\" -%}
  3235. {% block name_page %}profile{% endblock %}
  3236. {% block metaRobots %}{% if profile.deleted %}<meta name=\"robots\" content=\"noindex,follow\" />{% endif %}{% endblock %}
  3237. {% block stylesheet %}
  3238.     {{ parent() }}
  3239.     <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css\">
  3240.     <link rel=\"stylesheet\" href=\"/assets/vendors/lightgallery/css/lightgallery.min.css\">
  3241. {% endblock %}
  3242. {% block mainContainer %}
  3243.     {{ knp_menu_render('breadcrumbs', {'template': '_menu/breadcrumbs.html.twig', profile: profile }) }}
  3244.     <div class=\"d-flex flex-fill model-header\">
  3245.         <h1 class=\"border-line\" id=\"profile-heading\">{{ seo_heading() }}</h1>
  3246.         {% if profile.approved %}
  3247.             <div class=\"model-header__verification\"
  3248.                  data-toggle=\"tooltip\" data-theme=\"verify\" data-tippy-content=\"Фото проверено\">
  3249.                     <svg class=\"icon\">
  3250.                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-verify-new\"></use>
  3251.                     </svg>
  3252.             </div>
  3253.         {% endif %}
  3254.     </div>
  3255.     <div class=\"d-lg-flex\">
  3256.         <div class=\"modal-main flex-fill order-lg-2\">
  3257.             <div class=\"modal-info d-xxl-flex rounding\">
  3258.                 <div class=\"modal-col modal-info__items first\">
  3259.                     <div class=\"modal-info__items-preview d-block d-lg-none float-left\" id=\"girl_avatar\">
  3260.                         {% if profile.deleted %}
  3261.                                 <img itemprop=\"contentUrl\" src=\"{{ asset(\"assets/images/deleted-profiles.svg\") }}\"
  3262.                                      alt=\"Анкета {{ profile.name|trans }} удалена\"
  3263.                                      class=\"img-fluid\">
  3264.                         {% else %}
  3265.                             {% set photo = profile|avatar %}
  3266.                             {% if photo %}
  3267.                                 {% set station_alt = '' -%}
  3268.                                 {% if profile.primaryStation -%}
  3269.                                     {% set station_alt = profile.primaryStation -%}
  3270.                                 {% endif -%}
  3271.                                 {% set alt = profile.name|trans ~ ', ' ~ 'год'|plural(profile.personParameters.age) ~ (station_alt ? ', метро ' ~ station_alt.name|trans : '' ) ~ ' в Москве, ' ~ (profile.seo.phone is defined ? \", тел. \" ~ profile.seo.phone : '') ~ ', объявление ' ~ profile.id %}
  3272.                                 <img itemprop=\"contentUrl\" src=\"{{ responsive_asset(photo.path, 'profile_media', \"357x500\", \"jpg\") }}\"
  3273.                                         class=\"img-fluid\"
  3274.                                         data-type=\"lg\"
  3275.                                         data-index-lg=\"0\"
  3276.                                         alt=\"{{ alt }}\">
  3277.                             {% endif %}
  3278.                         {% endif %}
  3279.                         {% if  is_user_customer(app.user) and not profile.deleted %}{#not app.user or#}
  3280.                             <button type=\"button\"
  3281.                                     data-url-add=\"{{ path('account.favourites.remove', {profile: profile.id}) }}\"
  3282.                                     data-url-remove=\"{{ path('account.favourites.add', {profile: profile.id}) }}\"
  3283.                                     title=\"Добавить в избранное\"
  3284.                                     {% if is_profile_in_favourites(profile) %}
  3285.                                     class=\"btn favorite like\" id=\"favorite2\">
  3286.                                 {% else %}
  3287.                                     class=\"btn favorite unlike\" id=\"favorite2\">
  3288.                                 {% endif %}
  3289.                                 <svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  3290.                                     <rect width=\"40\" height=\"40\" fill=\"#ED0C34\"/>
  3291.                                     <path d=\"M20 32L18.26 30.3455C12.08 24.4921 8 20.6316 8 15.8937C8 12.0332 10.904 9 14.6 9C16.688 9 18.692 10.0153 20 11.6196C21.308 10.0153 23.312 9 25.4 9C29.096 9 32 12.0332 32 15.8937C32 20.6316 27.92 24.4921 21.74 30.358L20 32Z\" fill=\"white\"/>
  3292.                                     <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M25.9134 15.317C26.2906 15.7204 26.2694 16.3532 25.866 16.7304L20.058 23C19.6736 23.3594 19.0764 23.3594 18.692 23L15.317 19.9091C14.9136 19.5319 14.8924 18.899 15.2696 18.4956C15.6468 18.0922 16.2796 18.071 16.683 18.4482L19.375 20.9005L24.5 15.2696C24.9034 14.8924 25.5362 14.9136 25.9134 15.317Z\" fill=\"#ED0C34\"/>
  3293.                                 </svg>
  3294.                             </button>
  3295.                         {% endif %}
  3296.                     </div>
  3297.                     <div>
  3298.                         <div class=\"modal-info__items-block first d-flex flex-column flex-md-row\">
  3299.                             <div class=\"block-item pb-2 pb-md-0 w-100\">
  3300.                                 <div class=\"block-item__title d-flex align-items-center mb-2 mb-md-3\">
  3301.                                     <svg class=\"icon mr-2 clr-1\">
  3302.                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-apartments\"></use>
  3303.                                     </svg>
  3304.                                     Апартаменты
  3305.                                 </div>
  3306.                                 <div class=\"block-item__description clr-1\">
  3307.                                     <p class=\"d-flex\">Час <span class=\"ml-auto\">
  3308.                                             {%- if profile.apartmentsPricing.oneHourPrice -%}
  3309.                                                 {{- profile.apartmentsPricing.oneHourPrice }} {{ profile.city.countryCode|country_currency -}}
  3310.                                             {%- else -%}-{%- endif -%}
  3311.                                         </span></p>
  3312.                                     <p class=\"d-flex\">2 часа <span class=\"ml-auto\">
  3313.                                             {%- if profile.apartmentsPricing.twoHoursPrice -%}
  3314.                                                 {{- profile.apartmentsPricing.twoHoursPrice }} {{ profile.city.countryCode|country_currency -}}
  3315.                                             {%- else -%}-{%- endif -%}
  3316.                                         </span></p>
  3317.                                     <p class=\"d-flex\">Ночь <span class=\"ml-auto\">
  3318.                                             {%- if profile.apartmentsPricing.nightPrice -%}
  3319.                                                 {{- profile.apartmentsPricing.nightPrice }} {{ profile.city.countryCode|country_currency -}}
  3320.                                             {%- else -%}-{%- endif -%}
  3321.                                         </span></p>
  3322.                                     <p class=\"d-flex\">Экспресс <span class=\"ml-auto\">
  3323.                                             {%- if profile.expressPricing.provided -%}
  3324.                                                 {%- if profile.expressPricing.price -%}
  3325.                                                     {{- profile.expressPricing.price }} {{ profile.city.countryCode|country_currency -}}
  3326.                                                 {%- else -%}
  3327.                                                     -
  3328.                                                 {%- endif -%}
  3329.                                             {%- else -%}
  3330.                                                 -
  3331.                                             {%- endif -%}
  3332.                                         </span></p>
  3333.                                 </div>
  3334.                             </div>
  3335.                             <div class=\"block-item pl-0 pl-md-3 pl-xl-5 w-100\">
  3336.                                 <div class=\"block-item__title d-flex align-items-center mb-2 mb-md-3\">
  3337.                                     <svg class=\"icon mr-2 clr-2\">
  3338.                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-car\"></use>
  3339.                                     </svg>
  3340.                                     Выезд
  3341.                                 </div>
  3342.                                 <div class=\"block-item__description clr-2\">
  3343.                                     <p class=\"d-flex\">Час <span class=\"ml-auto\">
  3344.                                             {%- if profile.takeOutPricing.oneHourPrice -%}
  3345.                                                 {{- profile.takeOutPricing.oneHourPrice }} {{ profile.city.countryCode|country_currency -}}
  3346.                                             {%- else -%}-{%- endif -%}
  3347.                                         </span></p>
  3348.                                     <p class=\"d-flex\">2 часа <span class=\"ml-auto\">
  3349.                                             {%- if profile.takeOutPricing.twoHoursPrice -%}
  3350.                                                 {{- profile.takeOutPricing.twoHoursPrice }} {{ profile.city.countryCode|country_currency -}}
  3351.                                             {%- else -%}-{%- endif -%}
  3352.                                         </span></p>
  3353.                                     <p class=\"d-flex\">Ночь <span class=\"ml-auto\">
  3354.                                             {%- if profile.takeOutPricing.nightPrice -%}
  3355.                                                 {{- profile.takeOutPricing.nightPrice }} {{ profile.city.countryCode|country_currency -}}
  3356.                                             {%- else -%}-{%- endif -%}
  3357.                                         </span></p>
  3358.                                 </div>
  3359.                             </div>
  3360.                         </div>
  3361.                         {%- if profile.deleted -%}
  3362.                             <div class=\"modal-info__items-block deleted\">
  3363.                                 <svg width=\"48\" height=\"48\" viewBox=\"0 0 48 48\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  3364.                                     <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M24 43.7647C34.9157 43.7647 43.7647 34.9157 43.7647 24C43.7647 13.0843 34.9157 4.23529 24 4.23529C13.0843 4.23529 4.23529 13.0843 4.23529 24C4.23529 34.9157 13.0843 43.7647 24 43.7647ZM24 48C37.2548 48 48 37.2548 48 24C48 10.7452 37.2548 0 24 0C10.7452 0 0 10.7452 0 24C0 37.2548 10.7452 48 24 48Z\" fill=\"#ED0C34\"/>
  3365.                                     <path d=\"M15.7647 18.3529V33.0353C15.7647 33.6344 16.0126 34.2089 16.4539 34.6325C16.8951 35.0561 17.4936 35.2941 18.1176 35.2941H29.8824C30.5064 35.2941 31.1049 35.0561 31.5461 34.6325C31.9874 34.2089 32.2353 33.6344 32.2353 33.0353V18.3529H15.7647ZM21.6471 31.9059H19.2941V21.7412H21.6471V31.9059ZM28.7059 31.9059H26.3529V21.7412H28.7059V31.9059ZM29.4329 14.9647L27.5294 12.7059H20.4706L18.5671 14.9647H13.4118V17.2235H34.5882V14.9647H29.4329Z\" fill=\"#ED0C34\"/>
  3366.                                 </svg>
  3367.                                 <p>
  3368.                                     <span class=\"title\">Девушка не работает</span>
  3369.                                     <span>Анкета доступна только по прямой ссылке и не показывается в результатах поиска.</span>
  3370.                                 </p>
  3371.                             </div>
  3372.                         {% else %}
  3373.                             <div class=\"modal-info__items-block second\">
  3374.                                 <div class=\"d-flex flex-wrap mb-2 mb-sm-3\">
  3375.                                     <div class=\"model-phone d-flex align-items-center\" id=\"phone-sticky-donor\">
  3376.                                         {% if profile.isActive or not profile.hidden %}
  3377.                                             {% set onlyPhoneNumber = profile.phoneNumber|replace({' ': '', '-': '', '+': '', '(': '', ')': ''}) %}
  3378.                                             <!--noindex-->
  3379.                                             {# <a class=\"model-phone__element model-phone__number\" href=\"tel:{{ profile.phoneNumber }}\" rel=\"nofollow\">
  3380.                                                {{ profile.phoneNumber }}
  3381.                                             </a> #}
  3382.                                             <div class=\"model-phone__element model-phone__number rounding\">
  3383.                                                 <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()\">
  3384.                                                     <svg class=\"models-item__phone-icon\">
  3385.                                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#phone\"></use>
  3386.                                                     </svg>
  3387.                                                     Показать телефон
  3388.                                                 </button>
  3389.                                                 <!--noindex--><a href=\"tel:{{ profile.phoneNumber|replace({' ':'', '-':''}) }}\" rel=\"nofollow\" class=\"models-item__phone-button btn btn-danger align-items-center justify-content-center d-none\">
  3390.                                                     <svg class=\"models-item__phone-icon\">
  3391.                                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#phone\"></use>
  3392.                                                     </svg>
  3393.                                                     {{ profile.phoneNumber }}
  3394.                                                 </a><!--/noindex-->
  3395.                                             </div>
  3396.                                             {% if profile.messengers.whatsApp %}
  3397.                                                 <a class=\"model-phone__element model-phone__whatsup\" target=\"_blank\" href=\"https://wa.me/{{ onlyPhoneNumber }}?text=Привет,%20{{ profile.name }}!%20Нашел%20твою%20анкету%20на%20МосПрос.\" title=\"WhatsApp\" rel=\"nofollow\">
  3398.                                                     <svg class=\"icon\">
  3399.                                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-viber\"></use>
  3400.                                                     </svg>
  3401.                                                 </a>
  3402.                                             {% endif %}
  3403.                                             {%- if profile.messengers.telegram and profile.messengers.telegramUsername -%}
  3404.                                                 <a class=\"model-phone__element model-phone__telegram\" target=\"_blank\" href=\"https://t.me/{{ profile.messengers.telegramUsername }}\" title=\"Telegram\" rel=\"nofollow\">
  3405.                                                     <svg class=\"icon\">
  3406.                                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-messager\"></use>
  3407.                                                     </svg>
  3408.                                                 </a>
  3409.                                             {% endif %}
  3410.                                             <!--/noindex-->
  3411.                                         {% else %}
  3412.                                             <p class=\"model-phone__arhive m-0 color-silver\">анкета в архиве</p>
  3413.                                         {% endif %}
  3414.                                     </div>
  3415.                                     {# <div class=\"model-warning d-flex align-items-center ml-md-auto pt-2 pt-md-0\">
  3416.                                         <svg class=\"icon mr-2\">
  3417.                                             <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-warning\"></use>
  3418.                                         </svg>
  3419.                                         Никогда не отправляйте предоплату!
  3420.                                     </div> #}
  3421.                                 </div>
  3422.                                 <p class=\"model-thank mb-2 mb-sm-3\">Скажите что звоните с МосПрос и я всё пойму</p>
  3423.                                 <div class=\"modal-info__block\">
  3424.                                     <div class=\"modal-info__element\">
  3425.                                         <div class=\"modal-info__label\">
  3426.                                             Отвечаю на
  3427.                                         </div>
  3428.                                         <div class=\"modal-info__value\">
  3429.                                             {% if profile.phoneCallRestrictions.answeringTo|length > 0 %}
  3430.                                                 {% for answeringTo in profile.phoneCallRestrictions.answeringTo %}
  3431.                                                     {{ answeringTo|answering_to|trans({}, 'phone_call_restrictions') }}{% if not loop.last %},{% endif %}
  3432.                                                 {% endfor %}
  3433.                                             {% else %}
  3434.                                                 Не указано
  3435.                                             {% endif %}
  3436.                                         </div>
  3437.                                     </div>
  3438.                                     <div class=\"modal-info__element\">
  3439.                                         <div class=\"modal-info__label\">
  3440.                                             Удобное время для звонка
  3441.                                         </div>
  3442.                                         <div class=\"modal-info__value\">
  3443.                                             {{ _self._time_to_work(profile) }}
  3444.                                         </div>
  3445.                                     </div>
  3446.                                     <div class=\"modal-info__element\">
  3447.                                         <div class=\"modal-info__label\">
  3448.                                             Ограничение по возрасту
  3449.                                         </div>
  3450.                                         <div class=\"modal-info__value\">
  3451.                                             {%- if profile.clientRestrictions.minAge or profile.clientRestrictions.maxAge -%}
  3452.                                                 {{ profile.clientRestrictions.minAge ? 'от ' ~ profile.clientRestrictions.minAge : '' }}
  3453.                                                 {{ profile.clientRestrictions.maxAge ? 'до ' ~ profile.clientRestrictions.maxAge : '' }}
  3454.                                                 лет
  3455.                                             {%- else -%}
  3456.                                                 Не указано
  3457.                                             {%- endif -%}
  3458.                                         </div>
  3459.                                     </div>
  3460.                                 </div>
  3461.                             </div>
  3462.                         {% endif %}
  3463.                         {% if profile.stationsSortedByPrimary|length > 0 %}
  3464.                             <div class=\"modal-info__items-block pb-0 pb-sm-3 d-flex d-sm-block\">
  3465.                                 <div class=\"metro-items metro-items--metro d-sm-flex w-100 align-items-center flex-wrap\">
  3466.                                     Метро
  3467.                                     {% for station in profile.stationsSortedByPrimary|slice(0,3) %}
  3468.                                         <div class=\"metro-item\">
  3469.                                             {% include 'components/metro/icon_generate.partial.twig' with {data: station.lines} %}
  3470.                                             <a href=\"{{ path('profile_list.list_by_station', {'city': city.uriIdentity, 'station': station.uriIdentity}) }}\" title=\"Метро {{ station.name|trans }}\">{{ station.name|trans }}</a>
  3471.                                         </div>
  3472.                                     {% endfor %}
  3473.                                 </div>
  3474.                                 {% if profile.stationsSortedByPrimary|length > 0 %}<div class=\"metro-items d-sm-flex w-100 align-items-center flex-wrap\">
  3475.                                     Район
  3476.                                     {% for station in profile.stationsSortedByPrimary %}
  3477.                                         {% set stationDistrict = station.district %}
  3478.                                         {% if stationDistrict %}
  3479.                                             {% if loop.first %}
  3480.                                                 {% set districtCounty = stationDistrict.county %}
  3481.                                                 {% if districtCounty %}
  3482.                                                     <div class=\"metro-item metro-item--district\">
  3483.                                                         <a href=\"{{ path('profile_list.list_by_county', {'city': districtCounty.city.uriIdentity, 'county': districtCounty.uriIdentity}) }}\">{{ districtCounty.name|trans }}</a>,
  3484.                                                         <a href=\"{{ path('profile_list.list_by_district', {'city': districtCounty.city.uriIdentity, 'district': stationDistrict.uriIdentity}) }}\">{{ stationDistrict.name|trans }}</a>
  3485.                                                     </div>
  3486.                                                 {% else %}
  3487.                                                     <div class=\"metro-item metro-item--district\">
  3488.                                                         Не указан
  3489.                                                     </div>
  3490.                                                 {% endif %}
  3491.                                             {% endif %}
  3492.                                         {% endif %}
  3493.                                     {% endfor %}
  3494.                                 </div>{% endif %}
  3495.                             </div>
  3496.                         {% endif %}
  3497.                     </div>
  3498.                 </div>
  3499.                 <div class=\"modal-col modal-info__items rounding\">
  3500.                     <div class=\"modal-info__items-row d-flex flex-wrap\">
  3501.                         <div class=\"box-col text-center\">
  3502.                             <div class=\"box-item\">
  3503.                                 <span class=\"d-block\">Возраст</span>
  3504.                                 {{- _self._data_wrapper('Возраст', profile.personParameters.age) -}}
  3505.                             </div>
  3506.                         </div>
  3507.                         <div class=\"box-col text-center\">
  3508.                             <div class=\"box-item\">
  3509.                                 <span class=\"d-block\">Рост</span>
  3510.                                 {{- _self._data_wrapper('Рост', profile.personParameters.height) -}}
  3511.                             </div>
  3512.                         </div>
  3513.                         <div class=\"box-col text-center\">
  3514.                             <div class=\"box-item\">
  3515.                                 <span class=\"d-block\">Вес</span>
  3516.                                 {{- _self._data_wrapper('Вес', profile.personParameters.weight) -}}
  3517.                             </div>
  3518.                         </div>
  3519.                         <div class=\"box-col text-center\">
  3520.                             <div class=\"box-item\">
  3521.                                 <span class=\"d-block\">Одежда</span>
  3522.                                 {% set cloth_size = 'XXS' %}
  3523.                                 {% if profile.personParameters.clothSize == '42' %}{% set cloth_size = 'XS' %}
  3524.                                 {% elseif profile.personParameters.clothSize == '44' %}{% set cloth_size = 'S' %}
  3525.                                 {% elseif profile.personParameters.clothSize == '46' %}{% set cloth_size = 'M' %}
  3526.                                 {% elseif profile.personParameters.clothSize == '48' %}{% set cloth_size = 'L' %}
  3527.                                 {% elseif profile.personParameters.clothSize == '50' %}{% set cloth_size = 'XL' %}
  3528.                                 {% elseif profile.personParameters.clothSize == '52' %}{% set cloth_size = 'XXL' %}
  3529.                                 {% endif %}
  3530.                                 {{- _self._data_wrapper('Размер одежды', cloth_size, 'Одежда') -}}
  3531.                             </div>
  3532.                         </div>
  3533.                         <div class=\"box-col text-center\">
  3534.                             <div class=\"box-item\">
  3535.                                 <span class=\"d-block\">Обувь</span>
  3536.                                 {{- _self._data_wrapper('Размер обуви', profile.personParameters.shoesSize, 'Обувь') -}}
  3537.                             </div>
  3538.                         </div>
  3539.                         <div class=\"box-col text-center\">
  3540.                             <div class=\"box-item\">
  3541.                                 <span class=\"d-block\">Грудь</span>
  3542.                                 {{- _self._data_wrapper('Размер груди', profile.personParameters.breastSize, 'Грудь') -}}
  3543.                             </div>
  3544.                         </div>
  3545.                         <div class=\"box-col text-center\">
  3546.                             <div class=\"box-item\">
  3547.                                 <span class=\"d-block\">Тату</span>
  3548.                                 {% if profile.personParameters.tattoo %}
  3549.                                     <svg class=\"icon mr-1\">
  3550.                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-check\"></use>
  3551.                                     </svg>
  3552.                                 {% else %}
  3553.                                     -
  3554.                                 {% endif %}
  3555.                             </div>
  3556.                         </div>
  3557.                         <div class=\"box-col text-center\">
  3558.                             <div class=\"box-item\">
  3559.                                 <span class=\"d-block\">Пирсинг</span>
  3560.                                 {% if profile.personParameters.piercing %}
  3561.                                     <svg class=\"icon mr-1\">
  3562.                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-check\"></use>
  3563.                                     </svg>
  3564.                                 {% else %}
  3565.                                     -
  3566.                                 {% endif %}
  3567.                             </div>
  3568.                         </div>
  3569.                     </div>
  3570.                     <div class=\"modal-info__items-block modal-info__items-block--basic d-sm-flex\">
  3571.                         <div class=\"description-items\" style=\"color:#b5b5b5\">
  3572.                             {% if profile.personParameters.bodyType %}
  3573.                                 <p class=\"description-item d-flex align-items-center\">
  3574.                                     <span>Телосложение</span>
  3575.                                     <a href=\"{{ path('profile_list.list_by_body_type', {'city': city.uriIdentity, 'bodyType': profile.personParameters.bodyType|body_type_uri}) }}\" target=\"_blank\">{{ profile.personParameters.bodyType|body_type|trans({}, 'body_types') }}</a>
  3576.                                 </p>
  3577.                             {% endif %}
  3578.                             {% if profile.personParameters.hairColor %}
  3579.                                 <p class=\"description-item d-flex align-items-center\">
  3580.                                     <span>Цвет волос</span>
  3581.                                     <a target=\"_blank\" href=\"{{ path('profile_list.list_by_hair_color', {'city': city.uriIdentity,'hairColor': profile.personParameters.hairColor|hair_color_uri|slugify}) }}\">{{ profile.personParameters.hairColor|hair_color|trans({}, 'hair_colors') }}</a>
  3582.                                 </p>
  3583.                             {% endif %}
  3584.                             {% if profile.personParameters.nationality %}
  3585.                                 <p class=\"description-item d-flex align-items-center\">
  3586.                                     <span>Национальность</span>
  3587.                                     <a target=\"_blank\" href=\"{{ path('profile_list.list_by_nationality', {'city': city.uriIdentity,'nationality': profile.personParameters.nationality|nationality_uri}) }}\">{{ profile.personParameters.nationality|nationality|trans({}, 'nationalities') }}</a>
  3588.                                 </p>
  3589.                             {% endif %}
  3590.                             {% if profile.personParameters.privateHaircut %}
  3591.                                 <p class=\"description-item d-flex align-items-center\">
  3592.                                     <span>Интимная стрижка</span>
  3593.                                     <a target=\"_blank\" href=\"{{ path('profile_list.list_by_private_haircut', {'city': city.uriIdentity,'privateHaircut': profile.personParameters.privateHaircut|private_haircut_uri}) }}\">{{ profile.personParameters.privateHaircut|private_haircut|trans({}, 'private_haircuts') }}</a>
  3594.                                 </p>
  3595.                             {% endif %}
  3596.                         </div>
  3597.                         <div class=\"description-items\">
  3598.                             {% set threshold = (\"now\"|date_modify(\"-14 days\")).getTimestamp() %}
  3599. \t\t\t\t\t\t    {% set updatedAtTs = profile.updatedAt ? profile.updatedAt.getTimestamp() : null %}
  3600.                             {% if profile.createdAt %}
  3601.                             <p class=\"description-item d-flex align-items-center\"><span>Дата регистрации</span> <span
  3602.                                 class=\"date\" data-template=\"dd авг. YYYY г. hh:ii\">{{ _self._data_wrapper('Дата регистрации', profile.createdAt|date(\"d\") ~ ' ' ~ profile.createdAt|date(\"m\")|trans({}, 'date') ~ ' ' ~ profile.createdAt|date(\"Y\") ~ ' ' ~ profile.createdAt|date(\"H:i\") ) }}</span></p>
  3603.                             {% endif %}
  3604.                             {% if updatedAtTs and updatedAtTs >= threshold %}
  3605.                                 <p class=\"description-item d-flex align-items-center\"><span>Дата обновления</span> <span
  3606.                                     class=\"date\">{{ _self._data_wrapper('Дата обновления', profile.updatedAt|date(\"d\") ~ ' ' ~ profile.updatedAt|date(\"m\")|trans({}, 'date') ~ ' ' ~ profile.updatedAt|date(\"Y\") ~ ' ' ~ profile.updatedAt|date(\"H:i\") ) }}</span></p>
  3607.                             {% endif %}
  3608.                             <p class=\"description-item d-flex align-items-center\"><span>ID</span><span class=\"date\">{{ profile.id }}</span></p>
  3609.                             {% if ( profile.approved ) %}
  3610.                                 <p class=\"description-item\">
  3611.                                     <strong class=\"d-flex align-items-center\">
  3612.                                         Фото проверено
  3613.                                         <span class=\"description-item__verify\"
  3614.                                             data-toggle=\"tooltip\" data-theme=\"verify\" data-tippy-content=\"Фото проверено\">
  3615.                                                 <svg class=\"icon\">
  3616.                                                     <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-verify-new\"></use>
  3617.                                                 </svg>
  3618.                                         </span>
  3619.                                     </strong>
  3620.                                 </p>
  3621.                             {% endif %}
  3622.                         </div>
  3623.                     </div>
  3624.                     <div class=\"modal-info__items-block mb-0\">
  3625.                         <div class=\"model-description\">
  3626.                             <h2 class=\"border-line\">О себе</h2>
  3627.                             <noindex><p class=\"m-0\" id=\"profile-about\">{{ profile.description|nl2br }}</p></noindex>
  3628.                         </div>
  3629.                     </div>
  3630.                 </div>
  3631.             </div>
  3632.             {% if _self._show_tabs(profile.photos,profile.selfies,profile.confirmedVideos,profile.deleted) == 'true' %}
  3633.                 <div class=\"model-aside__images model-aside__images--middle rounding\">
  3634.                     <ul class=\"nav nav-pills nav-pills--mobile list-unstyled m-0 p-0 d-flex\" id=\"model-tab_2\" role=\"tablist\">
  3635.                         {% set currentPage = '' %}
  3636.                         {% if profile.photos is defined and profile.photos|length > 0 %}{% set currentPage = 'photo' %}
  3637.                         <li class=\"nav-item flex-fill\">
  3638.                             <a class=\"active\" id=\"model-photo-tab_2\" data-toggle=\"pill\" href=\"#model-photo_2\" role=\"tab\" aria-controls=\"model-photo\" aria-selected=\"false\">
  3639.                                     <svg class=\"icon d-inline-block\">
  3640.                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-photo-thumb\"></use>
  3641.                                     </svg>
  3642.                                 Фото
  3643.                             </a>
  3644.                         </li>
  3645.                         {% endif %}
  3646.                         {% if profile.selfies is defined and profile.selfies|length > 0 %}{% set currentPage = currentPage == '' ? 'selfie' : currentPage %}
  3647.                         <li class=\"nav-item flex-fill\">
  3648.                             <a class=\"{% if currentPage == 'selfie' %}active{% endif %}\" id=\"model-selfie-tab_2\" data-toggle=\"pill\" href=\"#model-selfie_2\" role=\"tab\" aria-controls=\"model-selfie\" aria-selected=\"false\">
  3649.                                     <svg class=\"icon d-inline-block\">
  3650.                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-selfie-thumb\"></use>
  3651.                                     </svg>
  3652.                                 Селфи
  3653.                             </a>
  3654.                         </li>
  3655.                         {% endif %}
  3656.                         {% if profile.confirmedVideos is defined and profile.confirmedVideos|length > 0 %}{% set currentPage = currentPage == '' ? 'video' : currentPage %}
  3657.                         <li class=\"nav-item flex-fill\">
  3658.                             <a class=\"{% if currentPage == 'video' %}active{% endif %}\" id=\"model-video-tab_2\" data-toggle=\"pill\" href=\"#model-video_2\" role=\"tab\" aria-controls=\"model-video\" aria-selected=\"true\">
  3659.                                     <svg class=\"icon d-inline-block\">
  3660.                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-video-thumb\"></use>
  3661.                                     </svg>
  3662.                                 Видео
  3663.                             </a>
  3664.                         </li>
  3665.                         {% endif %}
  3666.                     </ul>
  3667.                     <div class=\"tab-content\" id=\"model-tabContent_2\">
  3668.                         {% if profile.photos is defined and profile.photos|length > 0 %}
  3669.                             <div class=\"tab-pane fade{% if currentPage == 'photo' %} show active{% endif %}\" id=\"model-photo_2\" role=\"tabpanel\" aria-labelledby=\"model-photo-tab_2\">
  3670.                                 <div class=\"model-aside-row d-flex flex-wrap\">
  3671.                                     {% for photo in profile.photos %}
  3672. \t\t\t\t\t\t\t\t\t    {% if photo.path %}
  3673. \t\t\t\t\t\t\t\t\t\t\t{% set alt = _self._get_alt(profile, servicesList, loop.index) %}
  3674.                                             <div class=\"model-aside-col rounding\">
  3675.                                                 <a class=\"nolink\" href=\"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\">
  3676.                                                     <img class=\"img-fluid lazy\"
  3677.                                                         data-srcset=\"{{ responsive_asset(photo.path, \"profile_media\", \"196x250\", \"jpg\") }} 196w,
  3678.                                                             {{ responsive_asset(photo.path, \"profile_media\", \"177x250\", \"jpg\") }} 177w,
  3679.                                                             {{ responsive_asset(photo.path, \"profile_media\", \"228x250\", \"jpg\") }} 228w,
  3680.                                                             {{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }} 260w\"
  3681.                                                         sizes=\"(max-width: 660px) 196px,
  3682.                                                             (max-width: 980px) 177px,
  3683.                                                             (max-width: 1125px) 228px,
  3684.                                                             260px\"
  3685.                                                         src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"
  3686.                                                         data-src=\"{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }}\"
  3687.                                                         data-type=\"lg\"
  3688.                                                         data-index-lg=\"{{loop.index}}\"
  3689. \t\t\t\t\t\t\t\t\t\t\t\t\t\talt=\"{{ alt }}\">
  3690.                                                 </a>
  3691.                                             </div>
  3692. \t\t\t\t\t\t\t\t\t    {% endif %}
  3693.                                     {% endfor %}
  3694.                                 </div>
  3695.                             </div>
  3696.                         {% endif %}
  3697.                         {% if profile.selfies is defined and profile.selfies|length > 0 %}
  3698.                             <div class=\"tab-pane fade{% if currentPage == 'selfie' %} show active{% endif %}\" id=\"model-selfie_2\" role=\"tabpanel\" aria-labelledby=\"model-selfie-tab_2\">
  3699.                                 <div class=\"model-aside-row d-flex flex-wrap\" id=\"model-selfies\">
  3700.                                     {% for photo in profile.selfies %}
  3701.                                         {% if photo.path %}
  3702. \t\t\t\t\t\t\t\t\t\t\t{% set alt = _self._get_alt(profile, servicesList, loop.index + profile.photos|length) %}
  3703.                                             <div class=\"model-aside-col rounding\">
  3704.                                                 <a class=\"nolink\" href=\"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\">
  3705.                                                     <img class=\"img-fluid lazy\"
  3706.                                                         data-srcset=\"{{ responsive_asset(photo.path, \"profile_media\", \"196x250\", \"jpg\") }} 196w,
  3707. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ responsive_asset(photo.path, \"profile_media\", \"177x250\", \"jpg\") }} 177w,
  3708. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ responsive_asset(photo.path, \"profile_media\", \"228x250\", \"jpg\") }} 228w,
  3709. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }} 260w\"
  3710.                                                         sizes=\"(max-width: 660px) 196px,
  3711. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 980px) 177px,
  3712. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 1125px) 228px,
  3713. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t260px\"
  3714.                                                         data-type=\"lg\"
  3715.                                                         data-index-lg=\"{{loop.index + profile.photos|length}}\"
  3716.                                                         src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"
  3717.                                                         data-src=\"{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }}\"
  3718. \t\t\t\t\t\t\t\t\t\t\t\t\t\talt=\"{{ alt }}\">
  3719.                                                 </a>
  3720.                                             </div>
  3721. \t\t\t\t\t\t\t\t\t    {% endif %}
  3722.                                     {% endfor %}
  3723.                                 </div>
  3724.                             </div>
  3725.                         {% endif %}
  3726.                         {% if profile.confirmedVideos is defined and profile.confirmedVideos|length > 0 %}
  3727.                             <div class=\"tab-pane fade{% if currentPage == 'video' %} show active{% endif %}\" id=\"model-video_2\" role=\"tabpanel\" aria-labelledby=\"model-video-tab_2\">
  3728.                                 <div class=\"model-aside-row d-flex flex-wrap\" id=\"model-video\">
  3729.                                     {% for video in profile.confirmedVideos %}
  3730.                                         <div class=\"model-video-container rounding\">
  3731.                                             <video class=\"model-video vlite-js\" controls preload=\"metadata\" width=\"341\" height=\"227\"{% if video.previewPath %} poster=\"{{ asset(video.previewPath, 'profile_media', 'fullsize') }}{% endif %}\">
  3732.                                                 <source src=\"{{ asset(video.path, 'profile_media') }}\" type='video/mp4'/>
  3733.                                             </video>
  3734.                                         </div>
  3735.                                     {% endfor %}
  3736.                                 </div>
  3737.                             </div>
  3738.                         {% endif %}
  3739.                     </div>
  3740.                 </div>
  3741.             {% endif %}
  3742.             <div class=\"modal-services mb-3 mb-lg-4 p-2 p-sm-3 p-lg-4 rounding\">
  3743.                 <div class=\"modal-services__header d-flex flex-wrap align-items-start\">
  3744.                     <h2 class=\"border-line\">Интим-услуги</h2>
  3745.                     <div class=\"modal-services__header-info d-flex flex-wrap align-items-center pb-2\">
  3746.                         <div class=\"header-item mr-3\">
  3747.                             <svg class=\"icon mr-1\">
  3748.                                 <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
  3749.                             </svg>
  3750.                             - включено в стоимость
  3751.                         </div>
  3752.                         <div class=\"header-item mr-3\">
  3753.                             <svg class=\"icon mr-1\">
  3754.                                 <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-liking\"></use>
  3755.                             </svg>
  3756.                             - по симпатии
  3757.                         </div>
  3758.                         <div class=\"header-item mr-3\">
  3759.                             <svg class=\"icon mr-1\">
  3760.                                 <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-charge\"></use>
  3761.                             </svg>
  3762.                             - за дополнительную плату
  3763.                         </div>
  3764.                         {# <div class=\"header-item provided\">
  3765.                             <svg class=\"icon mr-1\">
  3766.                                 <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-provided\"></use>
  3767.                             </svg>
  3768.                             - услуга не предоставляется
  3769.                         </div> #}
  3770.                     </div>
  3771.                 </div>
  3772.                 <div class=\"modal-services__main\">
  3773.                     <div class=\"modal-services__items {% if profile.masseur %}d-flex justify-content-between mr-xl-3 flex-wrap {% else %}column{% endif %} w-100\" id=\"services_items\" data-type=\"{% if profile.masseur %}masseur{%else%}profile{%endif%}\">
  3774.                         {% set initional_group_2 = 0 %}
  3775.                         {% set group_2_minet = [] %}
  3776.                         {% set group_2_okon = [] %}
  3777.                         {% set group_2_okon_trigger = ['Окончание на грудь','Окончание на лицо','Окончание в рот','На грудь','На лицо','В рот'] %} {# Слова триггеры в 2 категории для блока Окончание. Все остальные уйдут в минет #}
  3778.                         {% for group, servicesGroup in services | filter((servicesGroup, group) => not profile.masseur or group not in masseurExcludeServiceGroups) %}
  3779.                             {% if group == 2 %}
  3780.                                 {# Тут нам нужно запомнить данные и разбить их на 2 категории - Минет и Окончание#}
  3781.                                 {% for service in servicesGroup %}
  3782.                                     {% if service.name|trans() in group_2_okon_trigger %}
  3783.                                         {% set group_2_okon = group_2_okon|merge([service]) %}
  3784.                                     {% else %}
  3785.                                         {% set group_2_minet = group_2_minet|merge([service]) %}
  3786.                                     {% endif %}
  3787.                                 {% endfor %}
  3788.                             {% elseif group == 3 and initional_group_2 == 0 %}
  3789.                                 {# Т.к. выводить сразу не можем в виду перемешенного вывода, будем выводить 2ю категории перед третьей #}
  3790.                                 {% set initional_group_2 = 1 %}
  3791.                                 <div class=\"modal-services__item\">
  3792.                                     <p class=\"item-title\">Минет</p>
  3793.                                     {% for service in group_2_minet %}
  3794.                                         {% set providedService = profile.providedService(service) %}
  3795.                                         {% if providedService %}
  3796.                                             <div class=\"item{% if not providedService %} provided{% endif %}\">
  3797.                                                 {% if providedService.condition == 1 %}
  3798.                                                     <svg class=\"icon mr-1\">
  3799.                                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
  3800.                                                     </svg>
  3801.                                                 {% elseif providedService.condition == 2 %}
  3802.                                                     <svg class=\"icon mr-1\">
  3803.                                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-liking\"></use>
  3804.                                                     </svg>
  3805.                                                 {% elseif providedService.condition == 3 %}
  3806.                                                     <svg class=\"icon mr-1\">
  3807.                                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-charge\"></use>
  3808.                                                     </svg>
  3809.                                                 {% endif %}
  3810.                                                 <a href=\"{{ path('profile_list.list_by_provided_service', {'city': profile.city.uriIdentity, 'service': service.uriIdentity}) }}\" data-s=\"{{ service.name }}\">
  3811.                                                     {{ service.name|trans }}
  3812.                                                 </a>
  3813.                                                 {% if providedService and providedService.condition == 3 and providedService.extraCharge %}<span class=\"item__price\">+{{ providedService.extraCharge }} Р</span>{% endif %}
  3814.                                                 {% if providedService and providedService.comment %}
  3815.                                                     <div class=\"item__comment\">{{ providedService.comment }}</div>
  3816.                                                 {% endif %}
  3817.                                             </div>
  3818.                                         {% endif %}
  3819.                                     {% endfor %}
  3820.                                 </div>
  3821.                                 <div class=\"modal-services__item\">
  3822.                                     <p class=\"item-title\">Окончание</p>
  3823.                                     {% for service in group_2_okon %}
  3824.                                         {% set providedService = profile.providedService(service) %}
  3825.                                         {% if providedService %}
  3826.                                             <div class=\"item{% if not providedService %} provided{% endif %}\">
  3827.                                                 {% if providedService %}
  3828.                                                     {% if providedService.condition == 1 %}
  3829.                                                         <svg class=\"icon mr-1\">
  3830.                                                             <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
  3831.                                                         </svg>
  3832.                                                     {% elseif providedService.condition == 2 %}
  3833.                                                         <svg class=\"icon mr-1\">
  3834.                                                             <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-liking\"></use>
  3835.                                                         </svg>
  3836.                                                     {% elseif providedService.condition == 3 %}
  3837.                                                         <svg class=\"icon mr-1\">
  3838.                                                             <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-charge\"></use>
  3839.                                                         </svg>
  3840.                                                     {% endif %}
  3841.                                                 {% endif %}
  3842.                                                 <a href=\"{{ path('profile_list.list_by_provided_service', {'city': profile.city.uriIdentity, 'service': service.uriIdentity}) }}\" data-s=\"{{ service.name }}\">
  3843.                                                     {{ service.name|trans }}
  3844.                                                 </a>
  3845.                                                 {% if providedService and providedService.condition == 3 and providedService.extraCharge %}<span class=\"item__price\">+{{ providedService.extraCharge }} Р</span>{% endif %}
  3846.                                                 {% if providedService and providedService.comment %}
  3847.                                                     <div class=\"item__comment\">{{ providedService.comment }}</div>
  3848.                                                 {% endif %}
  3849.                                             </div>
  3850.                                         {% endif %}
  3851.                                     {% endfor %}
  3852.                                 </div>
  3853.                                 <div class=\"modal-services__item\">
  3854.                                     <p class=\"item-title\" data-group=\"{{ group }}\">{{ group|service_group|trans({}, 'service_groups') }}</p>
  3855.                                     {% for service in servicesGroup %}
  3856.                                         {% set providedService = profile.providedService(service) %}
  3857.                                         {% if providedService %}
  3858.                                             <div class=\"item{% if not providedService %} provided{% endif %}\">
  3859.                                                 {% if providedService %}
  3860.                                                     {% if providedService.condition == 1 %}
  3861.                                                         <svg class=\"icon mr-1\">
  3862.                                                             <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
  3863.                                                         </svg>
  3864.                                                     {% elseif providedService.condition == 2 %}
  3865.                                                         <svg class=\"icon mr-1\">
  3866.                                                             <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-liking\"></use>
  3867.                                                         </svg>
  3868.                                                     {% elseif providedService.condition == 3 %}
  3869.                                                         <svg class=\"icon mr-1\">
  3870.                                                             <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-charge\"></use>
  3871.                                                         </svg>
  3872.                                                     {% endif %}
  3873.                                                     <a href=\"{{ path('profile_list.list_by_provided_service', {'city': profile.city.uriIdentity, 'service': service.uriIdentity}) }}\" data-s=\"{{ service.name }}\">
  3874.                                                         {{ service.name|trans }}
  3875.                                                     </a>
  3876.                                                     {% if providedService and providedService.condition == 3 and providedService.extraCharge %}<span class=\"item__price\">+{{ providedService.extraCharge }} Р</span>{% endif %}
  3877.                                                     {% if providedService and providedService.comment %}
  3878.                                                         <div class=\"item__comment\">{{ providedService.comment }}</div>
  3879.                                                     {% endif %}
  3880.                                                 {% endif %}
  3881.                                             </div>
  3882.                                         {% endif %}
  3883.                                     {% endfor %}
  3884.                                 </div>
  3885.                             {% else %}
  3886.                                 {% if  group == 1 or group == 5 or group == 7 %}
  3887. {#                                    <div class=\"modal-services__column\">#}
  3888.                                 {% endif %}
  3889.                                 <div class=\"modal-services__item{% if profile.masseur %} modal-services__item--masseur{% endif %}\">
  3890.                                     <p class=\"item-title\">{{ group|service_group|trans({}, 'service_groups') }}</p>
  3891.                                     {% for service in servicesGroup %}
  3892.                                         {% set providedService = profile.providedService(service) %}
  3893.                                         {% if providedService %}
  3894.                                             <div class=\"item{% if not providedService %} provided{% endif %}\">
  3895.                                                 {% if providedService.condition == 1 %}
  3896.                                                     <svg class=\"icon mr-1\">
  3897.                                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
  3898.                                                     </svg>
  3899.                                                 {% elseif providedService.condition == 2 %}
  3900.                                                     <svg class=\"icon mr-1\">
  3901.                                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-liking\"></use>
  3902.                                                     </svg>
  3903.                                                 {% elseif providedService.condition == 3 %}
  3904.                                                     <svg class=\"icon mr-1\">
  3905.                                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-charge\"></use>
  3906.                                                     </svg>
  3907.                                                 {% endif %}
  3908.                                                 <a href=\"{{ path('profile_list.list_by_provided_service', {'city': profile.city.uriIdentity, 'service': service.uriIdentity}) }}\">
  3909.                                                     {{ service.name|trans }}
  3910.                                                 </a>
  3911.                                                 {% if providedService and providedService.condition == 3 and providedService.extraCharge %}<span class=\"item__price\">+{{ providedService.extraCharge }} Р</span>{% endif %}
  3912.                                                 {% if providedService and providedService.comment %}
  3913.                                                     <div class=\"item__comment\">{{ providedService.comment }}</div>
  3914.                                                 {% endif %}
  3915.                                             </div>
  3916.                                         {% endif %}
  3917.                                     {% endfor %}
  3918.                                 </div>
  3919.                                 {% if group == 4 or group == 6 or group == 7 %}
  3920. {#                                    </div>#}
  3921.                                 {% endif %}
  3922.                             {% endif %}
  3923.                         {% endfor %}
  3924.                     </div>
  3925.                     <div class=\"modal-services__extend__items rounding\">
  3926.                         <div class=\"modal-services__extend__box\">
  3927.                             <div class=\"modal-services__extend__item\">
  3928.                                 <h3 class=\"modal-services__extend__item__title\">Услуги для</h3>
  3929.                                 {% set client_types_text = ['1','2','3','4','5'] %}
  3930.                                 {% set includeService = false %}
  3931.                                 {% for clientTypeText in client_types_text %}
  3932.                                     {% for clientType in profile.clientTypes %}
  3933.                                         {% if (clientTypeText == clientType) %}
  3934.                                             {% set includeService = true %}
  3935.                                         {% endif %}
  3936.                                     {% endfor %}
  3937.                                     {% if includeService == true and clientTypeText|client_type != 'TRANS' %}
  3938.                                         <div class=\"item\">
  3939.                                             <svg class=\"icon mr-1\">
  3940.                                                 <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
  3941.                                             </svg>
  3942.                                             {{ clientTypeText|client_type|trans({}, 'client_types_f') }}
  3943.                                         </div>
  3944.                                         {% set includeService = false %}
  3945.                                     {% endif %}
  3946.                                 {% endfor %}
  3947.                             </div>
  3948.                             <div class=\"modal-services__extend__item\">
  3949.                                 <h3 class=\"modal-services__extend__item__title\">Выезд</h3>
  3950.                                 {% set locations_text = ['1','2','3','4','5','6'] %}
  3951.                                 {% set includeService = false %}
  3952.                                 {% for locationsText in locations_text %}
  3953.                                     {% for locations in profile.takeOutPricing.locations %}
  3954.                                         {% if (locationsText == locations) %}
  3955.                                             {% set includeService = true %}
  3956.                                         {% endif %}
  3957.                                     {% endfor %}
  3958.                                     {% if includeService == true %}
  3959.                                         <div class=\"item\">
  3960.                                             <svg class=\"icon mr-1\">
  3961.                                                 <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
  3962.                                             </svg>
  3963.                                         {{ locationsText|take_out_location|trans({}, 'take_out_location') }}
  3964.                                         </div>
  3965.                                         {% set includeService = false %}
  3966.                                     {% endif %}
  3967.                                 {% endfor %}
  3968.                             </div>
  3969.                         </div>
  3970.                     </div>
  3971.                     <script>
  3972.                     (function(){
  3973.                         var list = document.querySelectorAll('.modal-services__item');
  3974.                         Array.prototype.forEach.call(list, function(el) {
  3975.                             var elementOfList = el.querySelectorAll('.item');
  3976.                             if (elementOfList.length === 0){
  3977.                                 el.remove();
  3978.                             }
  3979.                         });
  3980.                         var listExt = document.querySelectorAll('.modal-services__extend__item');
  3981.                         var listExtCount = 0;
  3982.                         Array.prototype.forEach.call(listExt, function(el) {
  3983.                             var elementOfList = el.querySelectorAll('.item');
  3984.                             listExtCount++;
  3985.                             if (elementOfList.length === 0){
  3986.                                 el.remove();
  3987.                                 listExtCount--;
  3988.                             }
  3989.                         });
  3990.                         if (listExtCount === 0){
  3991.                             var block = document.querySelector('.modal-services__extend__items');
  3992.                             block.classList.add('d-none');
  3993.                         }
  3994.                     })()
  3995.                     </script>
  3996.                 </div>
  3997.                 {#<div class=\"modal-services__friends\">
  3998.                     <h2 class=\"border-line\">Есть подруги</h2>
  3999.                     <div class=\"friends-items d-flex\">
  4000.                         <a href=\"#\" class=\"friends-item\">
  4001.                             <div class=\"friends-item__images mb-2\">
  4002.                                 <img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
  4003.                             </div>
  4004.                             <p class=\"d-flex align-items-start m-0 friends-item__title\">
  4005.                                 <svg class=\"icon mr-2\">
  4006.                                     <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
  4007.                                 </svg>
  4008.                                 <strong>Марина, 21</strong>
  4009.                             </p>
  4010.                         </a>
  4011.                         <a href=\"#\" class=\"friends-item\">
  4012.                             <div class=\"friends-item__images mb-2\">
  4013.                                 <img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
  4014.                             </div>
  4015.                             <p class=\"d-flex align-items-start m-0 friends-item__title\">
  4016.                                 <svg class=\"icon mr-2\">
  4017.                                     <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
  4018.                                 </svg>
  4019.                                 <strong>Олеся и Алёна, 22</strong>
  4020.                             </p>
  4021.                         </a>
  4022.                         <a href=\"#\" class=\"friends-item\">
  4023.                             <div class=\"friends-item__images mb-2\">
  4024.                                 <img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
  4025.                             </div>
  4026.                             <p class=\"d-flex align-items-start m-0 friends-item__title\">
  4027.                                 <svg class=\"icon mr-2\">
  4028.                                     <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
  4029.                                 </svg>
  4030.                                 <strong>Вика, 20</strong>
  4031.                             </p>
  4032.                         </a>
  4033.                         <a href=\"#\" class=\"friends-item\">
  4034.                             <div class=\"friends-item__images mb-2\">
  4035.                                 <img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
  4036.                             </div>
  4037.                             <p class=\"d-flex align-items-start m-0 friends-item__title\">
  4038.                                 <svg class=\"icon mr-2\">
  4039.                                     <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
  4040.                                 </svg>
  4041.                                 <strong>Диана, 20</strong>
  4042.                             </p>
  4043.                         </a>
  4044.                         <a href=\"#\" class=\"friends-item\">
  4045.                             <div class=\"friends-item__images mb-2\">
  4046.                                 <img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
  4047.                             </div>
  4048.                             <p class=\"d-flex align-items-start m-0 friends-item__title\">
  4049.                                 <svg class=\"icon mr-2\">
  4050.                                     <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
  4051.                                 </svg>
  4052.                                 <strong>ПЫШКА ЛИЛЯ ЛИЛЯ ЛИЛЯ</strong>
  4053.                             </p>
  4054.                         </a>
  4055.                         <a href=\"#\" class=\"friends-item\">
  4056.                             <div class=\"friends-item__images mb-2\">
  4057.                                 <img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
  4058.                             </div>
  4059.                             <p class=\"d-flex align-items-start m-0 friends-item__title\">
  4060.                                 <svg class=\"icon mr-2\">
  4061.                                     <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
  4062.                                 </svg>
  4063.                                 <strong>Марина, 21</strong>
  4064.                             </p>
  4065.                         </a>
  4066.                         <a href=\"#\" class=\"friends-item\">
  4067.                             <div class=\"friends-item__images mb-2\">
  4068.                                 <img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
  4069.                             </div>
  4070.                             <p class=\"d-flex align-items-start m-0 friends-item__title\">
  4071.                                 <svg class=\"icon mr-2\">
  4072.                                     <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
  4073.                                 </svg>
  4074.                                 <strong>Марина, 21</strong>
  4075.                             </p>
  4076.                         </a>
  4077.                     </div>
  4078.                 </div>#}
  4079.             </div>
  4080.             <div class=\"modal-map mb-3 mb-lg-4 p-2 p-sm-3 p-lg-4 rounding\">
  4081.                 <h2 class=\"border-line\">
  4082.                     Расположение
  4083.                 </h2>
  4084.                 <div class=\"map-block rounding\" id=\"map\" style=\"width: 100%; height: 400px;\"
  4085.                      data-lat=\"{{ profile.mapCoordinate.latitude | default(profile.city.mapCoordinate.latitude) }}\"
  4086.                      data-lon=\"{{ profile.mapCoordinate.longitude | default(profile.city.mapCoordinate.longitude) }}\"
  4087.                      data-map-label=\"{{ asset('assets/images/icons/map-balloon.svg','basicConfig') }}\">
  4088.                 </div>
  4089.             </div>
  4090.             {% if feature('profile_comments') %}
  4091.                 {% set commentsCount = profile.comments|length %}
  4092.                 <section class=\"model-comments mb-3 mb-lg-4 p-2 p-sm-3 p-lg-4 rounding\">
  4093.                     <div class=\"d-flex align-items-start comments-header\">
  4094.                         <h2 class=\"border-line\">{% trans with {} from 'profile' %}Отзывы{% endtrans %} </h2>
  4095.                         <div class=\"rate d-flex align-items-center ml-auto\"{% if rating > 0 %} itemscope itemtype=\"https://schema.org/AggregateRating\"{% endif %} data-rating=\"{{ rating }}\">
  4096.                             {% if rating > 0 %}
  4097.                             <meta itemprop=\"worstRating\" content=\"1\">
  4098.                             <meta itemprop=\"ratingValue\" content=\"{{ rating }}\">
  4099.                             <meta itemprop=\"bestRating\" content=\"5\">
  4100.                             <meta itemprop=\"reviewCount\" content=\"{{ commentsCount }}\">
  4101.                             {% endif %}
  4102.                             <div class=\"rating-text d-flex level\"{% if rating > 0 %} itemprop=\"itemReviewed\" itemscope itemtype=\"https://schema.org/Organization\" {% endif %}>
  4103.                                 {% if rating > 0 %}
  4104.                                 <meta itemprop=\"address\" content=\"{{ profile.city.name }}\" />
  4105.                                 <meta itemprop=\"telephone\" content=\"{{ profile.phoneNumber }}\" />
  4106.                                 <meta itemprop=\"name\" content=\"Рейтинг анкеты {{ profile.name }}\">
  4107.                                 {% endif %}
  4108.                                 <span class=\"rating-text-value{{ commentsCount == 0 ? ' zero' : '' }} mr-1\">
  4109. \t\t\t\t\t\t\t        {{ rating }}
  4110.                                 </span>
  4111.                                 <span class=\"rating-text-count mr-2\">
  4112.                                     по {{ commentsCount }} {% if commentsCount == 1 %}отзыву{% else %}отзывам{% endif %}
  4113.                                 </span>
  4114.                             </div>
  4115.                             {% for i in 1..5 %}
  4116.                                 <div class=\"star{% if rating >= i %} mark{% endif %}\"></div>
  4117.                             {% endfor %}
  4118.                         </div>
  4119.                     </div>
  4120.                     <div class=\"row comments-main\">
  4121.                         <div class=\"col-12 col-lg-7 mb-2 mb-sm-3 mb-lg-0\">
  4122.                             {% if commentsCount > 0 %}
  4123.                                 <div class=\"items-comments\" id=\"review-block-list\">
  4124.                                     <ul>
  4125.                                         {% for comment in profile.comments %}
  4126.                                             {% include 'ProfilePreview/comment.html.twig' %}
  4127.                                         {% endfor %}
  4128.                                     </ul>
  4129.                                 </div>
  4130.                             {% else %}
  4131.                                 <div class=\"items-comments not-comments text-center empty\" id=\"review-block-list\">
  4132.                                     <div id=\"text-to-remove\">
  4133.                                         <svg width=\"100\" height=\"100\" viewBox=\"0 0 100 100\" fill=\"none\"
  4134.                                             xmlns=\"http://www.w3.org/2000/svg\">
  4135.                                             <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"
  4136.                                                 d=\"M20.8333 14.5C19.1536 14.5 17.5427 15.1673 16.355 16.355C15.1673 17.5427 14.5 19.1536 14.5 20.8333V82.6716L27.7525 69.4191C28.1275 69.044 28.6362 68.8333 29.1667 68.8333H79.1667C80.8464 68.8333 82.4573 68.1661 83.645 66.9783C84.8327 65.7906 85.5 64.1797 85.5 62.5V20.8333C85.5 19.1536 84.8327 17.5427 83.645 16.355C82.4573 15.1673 80.8464 14.5 79.1667 14.5H20.8333ZM13.5266 13.5266C15.4644 11.5887 18.0928 10.5 20.8333 10.5H79.1667C81.9072 10.5 84.5356 11.5887 86.4734 13.5266C88.4113 15.4644 89.5 18.0928 89.5 20.8333V62.5C89.5 65.2406 88.4113 67.8689 86.4734 69.8068C84.5356 71.7446 81.9072 72.8333 79.1667 72.8333H29.9951L13.9142 88.9142C13.3422 89.4862 12.482 89.6573 11.7346 89.3478C10.9873 89.0382 10.5 88.3089 10.5 87.5V20.8333C10.5 18.0928 11.5887 15.4644 13.5266 13.5266Z\"
  4137.                                                 fill=\"#595959\"/>
  4138.                                             <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"
  4139.                                                 d=\"M37.722 48.245C39.4121 46.7824 41.65 46 43.9333 46H56.0667C58.35 46 60.5879 46.7824 62.278 48.245C63.9773 49.7155 65 51.7773 65 54V57C65 58.1046 64.1046 59 63 59C61.8954 59 61 58.1046 61 57V54C61 53.0401 60.5618 52.0496 59.6605 51.2697C58.7502 50.4819 57.461 50 56.0667 50H43.9333C42.539 50 41.2498 50.4819 40.3395 51.2697C39.4382 52.0496 39 53.0401 39 54V57C39 58.1046 38.1046 59 37 59C35.8954 59 35 58.1046 35 57V54C35 51.7773 36.0227 49.7155 37.722 48.245Z\"
  4140.                                                 fill=\"#595959\"/>
  4141.                                             <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"
  4142.                                                 d=\"M50.5 29C47.4624 29 45 31.4624 45 34.5C45 37.5376 47.4624 40 50.5 40C53.5376 40 56 37.5376 56 34.5C56 31.4624 53.5376 29 50.5 29ZM41 34.5C41 29.2533 45.2533 25 50.5 25C55.7467 25 60 29.2533 60 34.5C60 39.7467 55.7467 44 50.5 44C45.2533 44 41 39.7467 41 34.5Z\"
  4143.                                                 fill=\"#595959\"/>
  4144.                                         </svg>
  4145.                                         <p id=\"text-to-remove\">К этой анкете ещё нет ни одного отзыва. Вы можете быть первым</p>
  4146.                                     </div>
  4147.                                     <ul>
  4148.                                     </ul>
  4149.                                 </div>
  4150.                             {% endif %}
  4151.                         </div>
  4152.                         <div class=\"col-12 col-lg-5\">
  4153.                             {% if not is_user_advertiser(app.user) %}
  4154.                                 <div class=\"review-form\" id=\"review-form-comment\">
  4155.                                     {# {% include 'ProfilePreview/form-comment.html.twig' %} #}
  4156.                                 </div>
  4157.                                 <div
  4158.                                         class=\"dialog-container\"
  4159.                                         id=\"form-dialog\"
  4160.                                         aria-hidden=\"true\"
  4161.                                         aria-labelledby=\"form-dialog-title\"
  4162.                                         aria-describedby=\"form-dialog-description\"
  4163.                                     >
  4164.                                     <div class=\"dialog-overlay\" data-a11y-dialog-hide></div>
  4165.                                     <div class=\"dialog-content\" role=\"document\">
  4166.                                         <div class=\"dialog-header\">
  4167.                                         <button
  4168.                                             data-a11y-dialog-hide
  4169.                                             class=\"dialog-close\"
  4170.                                             aria-label=\"Close this dialog window\"
  4171.                                         >
  4172.                                             <svg class=\"dialog-close__icon\" fill=\"none\" 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\"/></svg>
  4173.                                         </button>
  4174.                                         </div>
  4175.                                         <div class=\"dialog-body\">
  4176.                                         </div>
  4177.                                     </div>
  4178.                                 </div>
  4179.                             {% endif %}
  4180.                         </div>
  4181.                     </div>
  4182.                 </section>
  4183.             {% endif %}
  4184.         </div>
  4185.         <div class=\"model-aside order-lg-1 mb-3 pr-3 pr-xl-4\">
  4186.             <div class=\"model-aside__preview mb-1 d-none d-lg-block rounding\" id=\"girl-avatar__big\" style=\"--rounding:20px\">
  4187.                 {% if profile.deleted %}
  4188.                     <a href=\"{{ asset(\"assets/images/deleted-profiles.svg\", 'basicConfig') }}\" class=\"girl-avatar__small\">
  4189.                         <img itemprop=\"contentUrl\" src=\"{{ asset(\"assets/images/deleted-profiles.svg\") }}\"
  4190.                              alt=\"Анкета {{ profile.name|trans }} удалена\"
  4191.                              class=\"img-fluid\">
  4192.                     </a>
  4193.                 {% else %}
  4194.                     {% set photo = profile|avatar %}
  4195.                     {% if photo %}
  4196.                         {% set station_alt = '' -%}
  4197.                         {% if profile.primaryStation -%}
  4198.                             {% set station_alt = profile.primaryStation -%}
  4199.                         {% endif -%}
  4200.                         {% set alt = profile.name|trans ~ ', ' ~ 'год'|plural(profile.personParameters.age) ~ (station_alt ? ', метро ' ~ station_alt.name|trans : '' ) ~ ' в Москве' ~ (profile.seo.phone is defined ? \", тел. \" ~ profile.seo.phone : '') ~ ', объявление ' ~ profile.id %}
  4201.                         {# <a href=\"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\" class=\"girl-avatar__small\"> #}
  4202.                             <img itemprop=\"contentUrl\" src=\"{{ responsive_asset(photo.path, 'profile_media', \"357x500\", \"jpg\") }}\"
  4203.                                  class=\"img-fluid\"
  4204.                                 data-type=\"lg\"
  4205.                                 data-index-lg=\"0\"
  4206.                                 alt=\"{{ alt }}\">
  4207.                         {# </a> #}
  4208.                     {% endif %}
  4209.                 {% endif %}
  4210.                 {% if  is_user_customer(app.user) and not profile.deleted %}{#not app.user or#}
  4211.                     <button type=\"button\"
  4212.                             data-url-add=\"{{ path('account.favourites.remove', {profile: profile.id}) }}\"
  4213.                             data-url-remove=\"{{ path('account.favourites.add', {profile: profile.id}) }}\"
  4214.                             title=\"Добавить в избранное\"
  4215.                             {% if is_profile_in_favourites(profile) %}
  4216.                             class=\"btn favorite like\" id=\"favorite\">
  4217.                         {% else %}
  4218.                             class=\"btn favorite unlike\" id=\"favorite\">
  4219.                         {% endif %}
  4220.                         <svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  4221.                             <rect width=\"40\" height=\"40\" fill=\"#ED0C34\"/>
  4222.                             <path d=\"M20 32L18.26 30.3455C12.08 24.4921 8 20.6316 8 15.8937C8 12.0332 10.904 9 14.6 9C16.688 9 18.692 10.0153 20 11.6196C21.308 10.0153 23.312 9 25.4 9C29.096 9 32 12.0332 32 15.8937C32 20.6316 27.92 24.4921 21.74 30.358L20 32Z\" fill=\"white\"/>
  4223.                             <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M25.9134 15.317C26.2906 15.7204 26.2694 16.3532 25.866 16.7304L20.058 23C19.6736 23.3594 19.0764 23.3594 18.692 23L15.317 19.9091C14.9136 19.5319 14.8924 18.899 15.2696 18.4956C15.6468 18.0922 16.2796 18.071 16.683 18.4482L19.375 20.9005L24.5 15.2696C24.9034 14.8924 25.5362 14.9136 25.9134 15.317Z\" fill=\"#ED0C34\"/>
  4224.                         </svg>
  4225.                     </button>
  4226.                 {% endif %}
  4227.             </div>
  4228.             {% if _self._show_tabs(profile.photos,profile.selfies,profile.confirmedVideos,profile.deleted) == 'true' %}
  4229.                 <div class=\"model-aside__images model-aside__images--aside\">
  4230.                     <ul class=\"nav nav-pills list-unstyled m-0 p-0 d-flex\" id=\"model-tab\" role=\"tablist\">
  4231.                         {% set currentPage = '' %}
  4232.                         {% if profile.photos is defined and profile.photos|length > 0 %}{% set currentPage = 'photo' %}
  4233.                         <li class=\"nav-item flex-fill\">
  4234.                             <a class=\"active\" id=\"model-photo-tab\" data-toggle=\"pill\" href=\"#model-photo\" role=\"tab\" aria-controls=\"model-photo\" aria-selected=\"false\">
  4235.                                     <svg class=\"icon d-inline-block\">
  4236.                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-photo-thumb\"></use>
  4237.                                     </svg>
  4238.                                 Фото
  4239.                             </a>
  4240.                         </li>
  4241.                         {% endif %}
  4242.                         {% if profile.selfies is defined and profile.selfies|length > 0 %}{% set currentPage = currentPage == '' ? 'selfie' : currentPage %}
  4243.                         <li class=\"nav-item flex-fill\">
  4244.                             <a class=\"{% if currentPage == 'selfie' %}active{% endif %}\" id=\"model-selfie-tab\" data-toggle=\"pill\" href=\"#model-selfie\" role=\"tab\" aria-controls=\"model-selfie\" aria-selected=\"false\">
  4245.                                     <svg class=\"icon d-inline-block\">
  4246.                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-selfie-thumb\"></use>
  4247.                                     </svg>
  4248.                                 Селфи
  4249.                             </a>
  4250.                         </li>
  4251.                         {% endif %}
  4252.                         {% if false == profile.isModerationRejected and not profile.deleted and profile.confirmedVideos is defined and profile.confirmedVideos|length > 0 %}{% set currentPage = currentPage == '' ? 'video' : currentPage %}
  4253.                         <li class=\"nav-item flex-fill\">
  4254.                             <a class=\"{% if currentPage == 'video' %}active{% endif %}\" id=\"model-video-tab\" data-toggle=\"pill\" href=\"#model-video\" role=\"tab\" aria-controls=\"model-video\" aria-selected=\"true\">
  4255.                                     <svg class=\"icon d-inline-block\">
  4256.                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-video-thumb\"></use>
  4257.                                     </svg>
  4258.                                 Видео
  4259.                             </a>
  4260.                         </li>
  4261.                         {% endif %}
  4262.                     </ul>
  4263.                     <div class=\"tab-content\" id=\"model-tabContent\">
  4264.                         {% if profile.photos is defined and profile.photos|length > 0 %}
  4265.                             <div class=\"tab-pane fade{% if currentPage == 'photo' %} show active{% endif %}\" id=\"model-photo\" role=\"tabpanel\" aria-labelledby=\"model-photo-tab\">
  4266.                                 <div class=\"model-aside-row d-flex flex-wrap\">
  4267.                                     {% for photo in profile.photos %}
  4268. \t\t\t\t\t\t\t\t\t    {% if photo.path %}
  4269. \t\t\t\t\t\t\t\t\t\t\t{% set alt = _self._get_alt(profile, servicesList, loop.index) %}
  4270.                                             <div class=\"model-aside-col rounding\">
  4271.                                                 <a class=\"nolink\" href=\"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\">
  4272.                                                     <img class=\"img-fluid lazy\"
  4273.                                                         data-srcset=\"{{ responsive_asset(photo.path, \"profile_media\", \"196x250\", \"jpg\") }} 196w,
  4274.                                                             {{ responsive_asset(photo.path, \"profile_media\", \"177x250\", \"jpg\") }} 177w,
  4275.                                                             {{ responsive_asset(photo.path, \"profile_media\", \"228x250\", \"jpg\") }} 228w,
  4276.                                                             {{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }} 260w\"
  4277.                                                         sizes=\"(max-width: 660px) 196px,
  4278.                                                             (max-width: 980px) 177px,
  4279.                                                             (max-width: 1125px) 228px,
  4280.                                                             260px\"
  4281.                                                         src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"
  4282.                                                         data-src=\"{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }}\"
  4283.                                                         alt=\"{{ alt }}\"
  4284.                                                         data-type=\"lg\"
  4285.                                                         data-index-lg=\"{{loop.index}}\">
  4286.                                                 </a>
  4287.                                             </div>
  4288. \t\t\t\t\t\t\t\t\t    {% endif %}
  4289.                                     {% endfor %}
  4290.                                 </div>
  4291.                             </div>
  4292.                         {% endif %}
  4293.                         {% if profile.selfies is defined and profile.selfies|length > 0 %}
  4294.                             <div class=\"tab-pane fade{% if currentPage == 'selfie' %} show active{% endif %}\" id=\"model-selfie\" role=\"tabpanel\" aria-labelledby=\"model-selfie-tab\">
  4295.                                 <div class=\"model-aside-row d-flex flex-wrap\" id=\"model-selfies\">
  4296.                                     {% for photo in profile.selfies %}
  4297.                                         {% if photo.path %}
  4298. \t\t\t\t\t\t\t\t\t\t\t{% set alt = _self._get_alt(profile, servicesList, loop.index + profile.photos|length) %}
  4299.                                             <div class=\"model-aside-col rounding\">
  4300.                                                 <a class=\"nolink\" href=\"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\">
  4301.                                                     <img class=\"img-fluid lazy\"
  4302.                                                         data-srcset=\"{{ responsive_asset(photo.path, \"profile_media\", \"196x250\", \"jpg\") }} 196w,
  4303. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ responsive_asset(photo.path, \"profile_media\", \"177x250\", \"jpg\") }} 177w,
  4304. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ responsive_asset(photo.path, \"profile_media\", \"228x250\", \"jpg\") }} 228w,
  4305. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }} 260w\"
  4306.                                                         sizes=\"(max-width: 660px) 196px,
  4307. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 980px) 177px,
  4308. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 1125px) 228px,
  4309. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t260px\"
  4310.                                                         data-type=\"lg\"
  4311.                                                         data-index-lg=\"{{loop.index + profile.photos|length}}\"
  4312.                                                         src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"
  4313.                                                         data-src=\"{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }}\"
  4314.                                                         alt=\"{{ alt }}\">
  4315.                                                 </a>
  4316.                                             </div>
  4317. \t\t\t\t\t\t\t\t\t    {% endif %}
  4318.                                     {% endfor %}
  4319.                                 </div>
  4320.                             </div>
  4321.                         {% endif %}
  4322.                         {% if false == profile.isModerationRejected and not profile.deleted and profile.confirmedVideos is defined and profile.confirmedVideos|length > 0 %}
  4323.                             <div class=\"tab-pane fade{% if currentPage == 'video' %} show active{% endif %}\" id=\"model-video\" role=\"tabpanel\" aria-labelledby=\"model-video-tab\">
  4324.                                 <div class=\"model-aside-row d-flex flex-wrap\" id=\"model-video\">
  4325.                                     {% for video in profile.confirmedVideos %}
  4326.                                         <div class=\"model-video-container rounding\">
  4327.                                             <video class=\"model-video vlite-js\" controls preload=\"metadata\" width=\"341\" height=\"227\"{% if video.previewPath %} poster=\"{{ responsive_asset(video.previewPath, 'profile_media', 'fullsize') }}{% endif %}\">
  4328.                                                 <source src=\"{{ asset(video.path, 'profile_media') }}\" type='video/mp4'/>
  4329.                                             </video>
  4330.                                         </div>
  4331.                                     {% endfor %}
  4332.                                 </div>
  4333.                             </div>
  4334.                         {% endif %}
  4335.                     </div>
  4336.                 </div>
  4337.             {% endif %}
  4338.         </div>
  4339.     </div>
  4340.     {# {% set excludeRecommendationProfileIds = [profile.id] %}
  4341.     {{ include('components/_profile_recommendations.html.twig') }} #}
  4342. \t{# Реки #}
  4343.     <div id=\"recommendations\">
  4344.         {%- set excludeRecommendationProfileIds = [profile.id] -%}
  4345.         {%- include 'recommendations/_profile_recommendations.html.twig' with {componentClass: 'with-profile'} -%}
  4346.     </div>
  4347.     {{ include('ProfilePreview/nearest_profiles.html.twig') }}
  4348.     {# <div class=\"recommended-widget\">
  4349.         <h2 class=\"border-line\">Рекомендованные анкеты</h2>
  4350.         <div class=\"recommended-items-row flex-wrap\">
  4351.             <div class=\"recommended-item-col\">
  4352.                 <div class=\"recommended-model\">
  4353.                     <a href=\"#\" class=\"d-block recommended-model__url\">
  4354.                         <p class=\"recommended-model__name m-0\">
  4355.                             <span class=\"recommended-model__name__full\">
  4356.                                 Марина, 22
  4357.                             </span>
  4358.                             <svg class=\"icon ml-1\">
  4359.                                 <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verify-new') }}\"></use>
  4360.                             </svg>
  4361.                         </p>
  4362.                         <div class=\"recommended-model__images\">
  4363.                             <img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_recommended.jpg') }}\">
  4364.                         </div>
  4365.                     </a>
  4366.                     <p class=\"recommended-model__phone d-flex align-items-center flex-wrap flex-sm-nowrap mb-1\">
  4367.                         +79384382353
  4368.                         <span class=\"ml-sm-auto\">от 2500</span>
  4369.                     </p>
  4370.                     <div class=\"d-flex fr align-items-center recommended-model__metro\">
  4371.                         <svg class=\"icon mr-1\">
  4372.                             <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-metro') }}\"></use>
  4373.                         </svg>
  4374.                         <a href=\"#\" class=\"d-flex align-items-center\">Академическая</a>
  4375.                     </div>
  4376.                 </div>
  4377.             </div>
  4378.             <div class=\"recommended-item-col\">
  4379.                 <div class=\"recommended-model\">
  4380.                     <a href=\"#\" class=\"d-block recommended-model__url\">
  4381.                         <p class=\"recommended-model__name m-0\">
  4382.                             <svg class=\"icon mr-2\">
  4383.                                 <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
  4384.                             </svg>
  4385.                             Марина, 22
  4386.                         </p>
  4387.                         <div class=\"recommended-model__images\">
  4388.                             <img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_recommended.jpg') }}\">
  4389.                         </div>
  4390.                     </a>
  4391.                     <p class=\"recommended-model__phone d-flex align-items-center flex-wrap flex-sm-nowrap mb-1\">
  4392.                         +79384382353
  4393.                         <span class=\"ml-sm-auto\">от 2500</span>
  4394.                     </p>
  4395.                     <div class=\"d-flex align-items-center recommended-model__metro\">
  4396.                         <svg class=\"icon mr-1\">
  4397.                             <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-metro') }}\"></use>
  4398.                         </svg>
  4399.                         <a href=\"#\" class=\"d-flex align-items-center\">Академическая</a>
  4400.                     </div>
  4401.                 </div>
  4402.             </div>
  4403.             <div class=\"recommended-item-col\">
  4404.                 <div class=\"recommended-model\">
  4405.                     <a href=\"#\" class=\"d-block recommended-model__url\">
  4406.                         <p class=\"recommended-model__name m-0\">
  4407.                             <svg class=\"icon mr-2\">
  4408.                                 <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
  4409.                             </svg>
  4410.                             Марина, 22
  4411.                         </p>
  4412.                         <div class=\"recommended-model__images\">
  4413.                             <img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_recommended.jpg') }}\">
  4414.                         </div>
  4415.                     </a>
  4416.                     <p class=\"recommended-model__phone d-flex align-items-center flex-wrap flex-sm-nowrap mb-1\">
  4417.                         +79384382353
  4418.                         <span class=\"ml-sm-auto\">от 2500</span>
  4419.                     </p>
  4420.                     <div class=\"d-flex align-items-center recommended-model__metro\">
  4421.                         <svg class=\"icon mr-1\">
  4422.                             <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-metro') }}\"></use>
  4423.                         </svg>
  4424.                         <a href=\"#\" class=\"d-flex align-items-center\">Академическая</a>
  4425.                     </div>
  4426.                 </div>
  4427.             </div>
  4428.             <div class=\"recommended-item-col\">
  4429.                 <div class=\"recommended-model\">
  4430.                     <a href=\"#\" class=\"d-block recommended-model__url\">
  4431.                         <p class=\"recommended-model__name m-0\">
  4432.                             <svg class=\"icon mr-2\">
  4433.                                 <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
  4434.                             </svg>
  4435.                             Марина, 22
  4436.                         </p>
  4437.                         <div class=\"recommended-model__images\">
  4438.                             <img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_recommended.jpg') }}\">
  4439.                         </div>
  4440.                     </a>
  4441.                     <p class=\"recommended-model__phone d-flex align-items-center flex-wrap flex-sm-nowrap mb-1\">
  4442.                         +79384382353
  4443.                         <span class=\"ml-sm-auto\">от 2500</span>
  4444.                     </p>
  4445.                     <div class=\"d-flex align-items-center recommended-model__metro\">
  4446.                         <svg class=\"icon mr-1\">
  4447.                             <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-metro') }}\"></use>
  4448.                         </svg>
  4449.                         <a href=\"#\" class=\"d-flex align-items-center\">Академическая</a>
  4450.                     </div>
  4451.                 </div>
  4452.             </div>
  4453.             <div class=\"recommended-item-col\">
  4454.                 <div class=\"recommended-model\">
  4455.                     <a href=\"#\" class=\"d-block recommended-model__url\">
  4456.                         <p class=\"recommended-model__name m-0\">
  4457.                             <svg class=\"icon mr-2\">
  4458.                                 <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
  4459.                             </svg>
  4460.                             Марина, 22
  4461.                         </p>
  4462.                         <div class=\"recommended-model__images\">
  4463.                             <img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_recommended.jpg') }}\">
  4464.                         </div>
  4465.                     </a>
  4466.                     <p class=\"recommended-model__phone d-flex align-items-center flex-wrap flex-sm-nowrap mb-1\">
  4467.                         +79384382353
  4468.                         <span class=\"ml-sm-auto\">от 2500</span>
  4469.                     </p>
  4470.                     <div class=\"d-flex align-items-center recommended-model__metro\">
  4471.                         <svg class=\"icon mr-1\">
  4472.                             <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-metro') }}\"></use>
  4473.                         </svg>
  4474.                         <a href=\"#\" class=\"d-flex align-items-center\">Академическая</a>
  4475.                     </div>
  4476.                 </div>
  4477.             </div>
  4478.             <div class=\"recommended-item-col\">
  4479.                 <div class=\"recommended-model\">
  4480.                     <a href=\"#\" class=\"d-block recommended-model__url\">
  4481.                         <p class=\"recommended-model__name m-0\">
  4482.                             <svg class=\"icon mr-2\">
  4483.                                 <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
  4484.                             </svg>
  4485.                             Марина, 22
  4486.                         </p>
  4487.                         <div class=\"recommended-model__images\">
  4488.                             <img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_recommended.jpg') }}\">
  4489.                         </div>
  4490.                     </a>
  4491.                     <p class=\"recommended-model__phone d-flex align-items-center flex-wrap flex-sm-nowrap mb-1\">
  4492.                         +79384382353
  4493.                         <span class=\"ml-sm-auto\">от 2500</span>
  4494.                     </p>
  4495.                     <div class=\"d-flex align-items-center recommended-model__metro\">
  4496.                         <svg class=\"icon mr-1\">
  4497.                             <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-metro') }}\"></use>
  4498.                         </svg>
  4499.                         <a href=\"#\" class=\"d-flex align-items-center\">Академическая</a>
  4500.                     </div>
  4501.                 </div>
  4502.             </div>
  4503.         </div>
  4504.     </div> #}
  4505.     {% if profile.isActive or not profile.hidden %}
  4506.         <div class=\"sticky-phone sticky-phone--hide\" id=\"phone-sticky\">
  4507.             <div class=\"sticky-phone__mobile d-flex\" id=\"phone-sticky-donor\">
  4508.                 <div class=\"model-phone__element model-phone__number rounding\">
  4509.                     <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()\">
  4510.                         <svg class=\"models-item__phone-icon\">
  4511.                             <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#phone\"></use>
  4512.                         </svg>
  4513.                         Показать телефон
  4514.                     </button>
  4515.                     <a href=\"tel:{{ profile.phoneNumber|replace({' ':'', '-':''}) }}\" rel=\"nofollow\" class=\"models-item__phone-button btn btn-danger align-items-center justify-content-center d-none\">
  4516.                         <svg class=\"models-item__phone-icon\">
  4517.                             <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#phone\"></use>
  4518.                         </svg>
  4519.                         {{ profile.phoneNumber }}
  4520.                     </a>
  4521.                 </div>
  4522.                 {% if profile.messengers.whatsApp %}
  4523.                     <a class=\"sticky-phone__mobile__element sticky-phone__mobile__whatsup\" target=\"_blank\" href=\"https://wa.me/{{ onlyPhoneNumber }}?text=Привет,%20{{ profile.name }}!%20Нашел%20твою%20анкету%20на%20МосПрос.\" title=\"WhatsApp\" rel=\"nofollow\">
  4524.                         <svg class=\"icon\">
  4525.                             <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-viber\"></use>
  4526.                         </svg>
  4527.                     </a>
  4528.                 {% endif %}
  4529.                 {%- if profile.messengers.telegram and profile.messengers.telegramUsername -%}
  4530.                     <a  class=\"sticky-phone__mobile__element sticky-phone__mobile__telegram\" target=\"_blank\" href=\"https://t.me/+{{ profile.messengers.telegramUsername }}\" title=\"Telegram\">
  4531.                         <svg class=\"icon\">
  4532.                             <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-messager\"></use>
  4533.                         </svg>
  4534.                     </a>
  4535.                 {% endif %}
  4536.             </div>
  4537.             <p class=\"sticky-phone__text color-verify\">
  4538.                 Скажите что звоните с МосПрос и я всё пойму
  4539.             </p>
  4540.         </div>
  4541.     {% endif %}
  4542. {% endblock %}
  4543. {% block javascripts %}
  4544.     {#<script src=\"https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js\"></script>#}
  4545.     {#<script src=\"/assets/vendors/lightgallery/js/lightgallery.min.js\"></script>#}
  4546.     <script src=\"/assets/vendors/lightgallery_v2/lightgallery.min.js\"></script>
  4547.     <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/lightgallery@2.0.0-beta.3/css/lightgallery-bundle.css\">
  4548.     {#<script type=\"text/javascript\">
  4549.         // \$(document).ready(function() {
  4550.             const \$slider__images = \$('.friends-items');
  4551.             if (\$slider__images.length) {
  4552.                 \$slider__images.slick({
  4553.                     slidesToShow: 7,
  4554.                     slidesToScroll: 1,
  4555.                     dots: false,
  4556.                     centerMode: false,
  4557.                     focusOnSelect: true,
  4558.                     variableWidth: true,
  4559.                     responsive: [
  4560.                         {
  4561.                             breakpoint: 1680,
  4562.                             settings: {
  4563.                                 slidesToShow: 6
  4564.                             }
  4565.                         },
  4566.                     ]
  4567.                 });
  4568.             }
  4569.         // });
  4570.     </script>#}
  4571.     <script type=\"text/javascript\">
  4572.         document.addEventListener(\"DOMContentLoaded\", () => {
  4573.             function getWidthScrollbar() {
  4574.                 let div = document.createElement('div');
  4575.                 div.style.overflowY = 'scroll';
  4576.                 div.style.width = '50px';
  4577.                 div.style.height = '50px';
  4578.                 document.body.append(div);
  4579.                 let scrollWidth = div.offsetWidth - div.clientWidth;
  4580.                 div.remove();
  4581.                 return scrollWidth;
  4582.             }
  4583.             function galleryInit()  {
  4584.                 const dynamicGallery = document.getElementById('profile-heading');
  4585.                 dynamicGallery.addEventListener('lgAfterOpen', (event) => {
  4586.                     document.body.style.overflow = 'hidden'
  4587.                     document.body.style.paddingRight = getWidthScrollbar() + 'px'
  4588.                 });
  4589.                 dynamicGallery.addEventListener('lgAfterClose', (event) => {
  4590.                     document.body.style.overflow = ''
  4591.                     document.body.style.paddingRight = '0'
  4592.                 });
  4593.                 const dynamicLG = lightGallery(dynamicGallery, {
  4594.                     dynamic: true,
  4595.                     licenseKey: \"2564-4867-3007-0501\",
  4596.                     startClass:'',
  4597.                     dynamicEl: [
  4598.                         {% set photo = profile|avatar %}
  4599.                         {% if photo %}{ src: \"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\" },{% endif %}
  4600.                         {% if profile.photos is defined and profile.photos|length > 0 %}
  4601.                             {% for photo in profile.photos %}
  4602.                                 { src: \"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\" },
  4603.                             {% endfor %}
  4604.                         {% endif %}
  4605.                         {% if profile.selfies is defined and profile.selfies|length > 0 %}
  4606.                             {% for photo in profile.selfies %}
  4607.                                 { src: \"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\" },
  4608.                             {% endfor %}
  4609.                         {% endif %}
  4610.                         ]
  4611.                     });
  4612.                 document.addEventListener('click', function (event) {
  4613.                     const {target} = event;
  4614.                     if (target.closest('.tab-content')) {
  4615.                         event.preventDefault();
  4616.                     }
  4617.                     if (target.dataset && target.dataset.type === 'lg'){
  4618.                         const index = target.dataset.indexLg ? +target.dataset.indexLg  : 0;
  4619.                         dynamicLG.openGallery(index);
  4620.                     }
  4621.                 });
  4622.             }
  4623.             setTimeout(() => {
  4624.                 galleryInit();
  4625.             }, 600);
  4626.             //---------------------------------
  4627.             var allTabs = document.querySelectorAll('a[data-toggle=\"pill\"]');
  4628.             var contentBlock = document.getElementById('model-tabContent');
  4629.             var contentBlock2 = document.getElementById('model-tabContent_2');
  4630.             for (let i = 0; i < allTabs.length; i++) {
  4631.                 allTabs[i].addEventListener('click', clickToTab.bind(this, allTabs[i]));
  4632.             }
  4633.             function clickToTab(tab, event) {
  4634.                 event.preventDefault();
  4635.                 var id = tab.getAttribute('aria-controls');
  4636.                 setContent(id);
  4637.                 setTab(tab,id);
  4638.             }
  4639.             function setContent(id) {
  4640.                 for (let i = 0; i < contentBlock.children.length; i++) {
  4641.                     if (contentBlock.children[i].id === id){
  4642.                         contentBlock.children[i].classList.add('active')
  4643.                         contentBlock.children[i].classList.add('show')
  4644.                         contentBlock2.children[i].classList.add('active')
  4645.                         contentBlock2.children[i].classList.add('show')
  4646.                     } else {
  4647.                         contentBlock.children[i].classList.remove('active')
  4648.                         contentBlock.children[i].classList.remove('show')
  4649.                         contentBlock2.children[i].classList.remove('active')
  4650.                         contentBlock2.children[i].classList.remove('show')
  4651.                     }
  4652.                 }
  4653.             }
  4654.             function setTab(activeTab, id) {
  4655.                 for (let i = 0; i < allTabs.length; i++) {
  4656.                    allTabs[i].classList.remove('active')
  4657.                 }
  4658.                 activeTab.classList.add('active')
  4659.             }
  4660.             // ------------------------------------
  4661.             var servicesBlock = document.getElementById('services_items');
  4662.             if (!servicesBlock) return;
  4663.             var servicesExtendBlock = servicesBlock.nextElementSibling;
  4664.             var servicesType = servicesBlock.dataset.type;
  4665.             switch (servicesBlock.childElementCount) {
  4666.                 case 0:
  4667.                     servicesExtendBlock.classList.add('modal-services__extend__items--no-services')
  4668.                     break;
  4669.                 default:
  4670.                     servicesBlock.classList.add(`modal-services__items--count-\${servicesBlock.childElementCount}`)
  4671.                     break;
  4672.             }
  4673.             if (servicesExtendBlock.children[0].childElementCount === 0){
  4674.                 servicesExtendBlock.classList.add('modal-services__extend__items--no-extend-services')
  4675.                 if (servicesBlock.childElementCount === 0){
  4676.                     servicesExtendBlock.parentElement.parentElement.classList.add('d-none');
  4677.                 }
  4678.             }
  4679.         });
  4680. \t\twindow.comment_data = {
  4681. \t\t\t'urlCreate': '{{ path('profile.comment.create', {profile: profile.id}) }}',
  4682. \t\t\t'urlGet': '{{ path('profile.comment.comment_form', {profile: profile.id}) }}',
  4683. \t\t\t'sitekey': \"{{ ewz_recaptcha_site_key }}\",
  4684. \t\t\t'registrationUrl': \"/signup/\"
  4685. \t\t};
  4686. \t</script>
  4687. \t<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
  4688.     {% set excludeRecommendationProfileIds = [profile.id] %}
  4689. \t{{ parent() }}
  4690.     <script>
  4691.         window._mp = {
  4692.             stations: {
  4693.                 {%- for station in stations() -%}
  4694.                     \"{{ station.name|trans }}\": \"{{ path('profile_list.list_by_station', {'city': station.city.uriIdentity, 'station': station.uriIdentity}) }}\"{% if not loop.last %},{% endif %}
  4695.                 {%- endfor -%}
  4696.             }
  4697.         };
  4698.         (function() {
  4699.             let isRenderRecommendationsWidget = false;
  4700.             let isRenderBotWidget = false;
  4701.             let isRenderRecentlyViewedWidget = false;
  4702.             function loadWidgets() {
  4703.                 if (!isRenderRecommendationsWidget) {
  4704.                     isRenderRecommendationsWidget = true;
  4705.                     console.log(window.Recommendation)
  4706.                     window.Recommendation.addViewedProfile({{ profile.id }})
  4707.                 }
  4708.                 if (!isRenderBotWidget) {
  4709.                     isRenderBotWidget = true;
  4710.                     window.profileBotHelper.addViewedProfile({{ profile.id }});
  4711.                 }
  4712.                 if (!isRenderRecentlyViewedWidget) {
  4713.                     isRenderRecentlyViewedWidget = true;
  4714.                     window.recentlyViewed.addViewedProfile({{ profile.id }});
  4715.                 }
  4716.                 //const recentlyViewedProfiles = recentlyViewed.getViewedProfiles();
  4717.             }
  4718.             window.addEventListener('load', () => {
  4719.                 try {
  4720.                     loadWidgets();
  4721.                 } catch (error) {
  4722.                     console.error(error);
  4723.                 }
  4724.             })
  4725.             document.addEventListener('DOMContentLoaded', function() {
  4726.                 window.increase_views({{profile.id}});
  4727.             });
  4728.             document.addEventListener(\"recommendations:ready\", () => {
  4729.                 try {
  4730.                     loadWidgets();
  4731.                 } catch (error) {
  4732.                     console.error(error);
  4733.                 }
  4734.             });
  4735.         })();
  4736. \t</script>
  4737. {% endblock %}
  4738. ""ProfilePreview/page.html.twig""/app/templates/ProfilePreview/page.html.twig");
  4739.     }
  4740. }